:root {
  color-scheme: dark;
  --color-bg: #000000;
  --color-surface: #111111;
  --color-surface-alt: #1a1a1a;
  --color-text: #ffffff;
  --color-muted: #b3b3b3;
  --color-border: #2a2a2a;
  --color-accent: #2dd4bf;
  --color-accent-soft: #0f2e2b;
  --color-header: #0a0a0a;
  --color-sidebar: #0a0a0a;
  --color-sidebar-text: #ffffff;
  --color-highlight: #fb923c;
  --color-input-bg: #1a1a1a;
  --color-overlay: rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --max-width: 1120px;
  --sidebar-width: 280px;
  --context-sidebar-width: 260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.site-sidebar {
  background: linear-gradient(180deg, var(--color-sidebar) 0%, #000000 100%);
  color: var(--color-sidebar-text);
  padding: 0.2em 0 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  z-index: 60;
}

.site-brand {
  padding: 0 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0;
}

.site-brand a,
.site-brand-link {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.site-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo {
  flex: 0 0 auto;
  height: 3.5rem;
  width: auto;
  display: block;
}

.site-logo--compact {
  height: 2.25rem;
}

.site-brand-text {
  line-height: 1.2;
}

.site-brand .tld {
  color: #9fb3c8;
  font-weight: 500;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-group {
  border-top: 0;
}

.site-nav .nav-group details {
  margin: 0;
}

.site-nav .nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1.25rem;
  cursor: pointer;
  color: #f0f4f8;
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.site-nav .nav-group-link,
.site-nav .nav-group-label {
  flex: 1;
  min-width: 0;
}

.site-nav .nav-group-link {
  color: inherit;
  text-decoration: none;
}

.site-nav .nav-group-link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-nav .nav-group-link.is-active {
  color: #fff;
  text-decoration: underline;
}

.site-nav .nav-group-toggle::-webkit-details-marker {
  display: none;
}

.site-nav .nav-group-toggle::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9e2ec;
  font-size: 1rem;
  line-height: 1.15rem;
  text-align: center;
}

.site-nav details[open] > .nav-group-toggle::after {
  content: "−";
}

.site-nav .nav-group-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}

.site-nav .nav-group-items {
  padding: 0;
}

.site-nav li a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: #d9e2ec;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.site-nav .nav-group-items a {
  padding-left: 1.75rem;
  font-size: 0.92rem;
}

.site-nav .nav-group-items .nav-all {
  margin-top: 0.15rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
  color: #9fb3c8;
}

.site-nav li a:hover,
.site-nav li a.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-left-color: var(--color-highlight);
  text-decoration: none;
}

.site-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-body {
  flex: 1 1 auto;
  min-width: 0;
}

.site-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--color-header);
  color: #fff;
}

.site-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.site-topbar-brand strong {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-toggle {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.site-search {
  width: 100%;
  display: flex;
  justify-content: center;
}

.site-search-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.site-search-field {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--color-surface-alt);
}

.site-search-field:focus-within {
  box-shadow: inset 0 0 0 1px var(--color-accent);
  background: var(--color-surface);
}

.site-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: var(--color-muted);
  pointer-events: none;
}

.site-search-input {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 0.85rem 0.62rem 2.35rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  appearance: none;
  box-shadow: none;
}

.site-search-input::placeholder {
  color: var(--color-muted);
}

.site-search-input:focus {
  outline: none;
}

.site-search--sidebar {
  padding: 0 1rem 1rem;
}

.site-search--sidebar .site-search-row {
  max-width: 100%;
}

.site-search--sidebar .site-search-field {
  background: rgba(240, 242, 245, 0.14);
}

.site-search--sidebar .site-search-field:focus-within {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

.site-search--sidebar .site-search-icon {
  color: rgba(255, 255, 255, 0.75);
}

.site-search--sidebar .site-search-field:focus-within .site-search-icon {
  color: var(--color-muted);
}

.site-search--sidebar .site-search-input {
  color: #fff;
}

.site-search--sidebar .site-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.site-search--sidebar .site-search-field:focus-within .site-search-input {
  color: var(--color-text);
}

.site-search--sidebar .site-search-field:focus-within .site-search-input::placeholder {
  color: var(--color-muted);
}

.site-search--topbar {
  display: none;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.site-search--topbar .site-search-row {
  max-width: 28rem;
}

.site-search--topbar .site-search-field {
  background: rgba(240, 242, 245, 0.14);
}

.site-search--topbar .site-search-icon {
  color: rgba(255, 255, 255, 0.85);
}

.site-search--topbar .site-search-input {
  color: #fff;
}

.site-search--topbar .site-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.site-search--inline {
  max-width: 36rem;
}

.page-hero--search {
  text-align: center;
}

.page-hero--search .stats-row {
  justify-content: center;
}

.search-results-body.is-loading,
.search-results-overlay.is-loading .search-results-overlay-panel {
  opacity: 0.65;
  pointer-events: none;
}

.search-results-overlay {
  position: fixed;
  inset: 0;
  z-index: 13000;
  background: rgba(0, 0, 0, 0.75);
  padding: 1rem;
  overflow-y: auto;
}

.search-results-overlay-panel {
  position: relative;
  max-width: var(--max-width);
  margin: 2rem auto;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1rem 1.5rem;
}

.search-results-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

body.search-overlay-open {
  overflow: hidden;
}

#search-overlay-stats .stats-row {
  justify-content: center;
  margin-bottom: 1rem;
}

.site-content {
  padding: 1.5rem;
  min-width: 0;
}

.content-main {
  max-width: var(--max-width);
  margin: 0 auto;
  min-width: 0;
}

.context-sidebar {
  min-width: 0;
}

@media (min-width: 961px) {
  .site-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--context-sidebar-width);
    align-items: start;
  }

  .site-body:not(:has(.context-sidebar)) {
    grid-template-columns: minmax(0, 1fr);
  }

  .context-sidebar {
    padding: 1.5rem 1.5rem 2rem 1rem;
    border-left: 1px solid var(--color-border);
    background: var(--color-bg);
    box-sizing: border-box;
  }
}

.context-sidebar-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.context-sidebar-block:last-child {
  margin-bottom: 0;
}

.context-sidebar-block h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.context-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.context-sidebar-list li + li {
  border-top: 1px solid var(--color-border);
}

.context-sidebar-list a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  text-decoration: none;
}

.context-sidebar-list a:hover,
.context-sidebar-list a.is-active {
  color: var(--color-accent);
  font-weight: 600;
}

.context-sidebar-auth {
  padding: 0.85rem 1.1rem;
}

.context-sidebar-auth-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.context-sidebar-auth-link:hover {
  text-decoration: underline;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-muted);
}

.page-hero,
.page-intro {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-hero h1,
.page-intro h1,
.section-heading h2 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: var(--color-text);
}

.page-intro h1 {
  padding-left: 0;
}

.page-hero--with-thumb {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.page-hero--with-thumb .page-hero-main {
  position: relative;
  z-index: 100;
  width: 100%;
  flex: 1;
  min-width: 0;
}

.page-hero--with-thumb .page-hero-main h1 {
  margin-bottom: 0.75rem;
}

.page-hero--with-thumb .stats-row {
  margin-top: 0;
}

.page-hero-thumb {
  flex: 0 0 auto;
  width: 160px;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 0;
}

.page-hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero--product {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.page-hero--product .page-hero-main {
  flex: 1;
  min-width: 0;
}

.product-favorite {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff7d6;
  box-shadow: inset 0 0 0 1px #f0d58a;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.product-favorite:hover {
  transform: scale(1.05);
}

.product-favorite:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 2px;
}

.product-favorite img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.15s ease;
}

.product-favorite.is-active {
  background: #ffe08a;
  box-shadow: inset 0 0 0 1px #e3b400;
}

.product-favorite.is-active img {
  filter: none;
}

.product-favorite-toast {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 2;
  min-width: 11rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.product-favorite-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.account-favoris-list {
  margin-top: 1rem;
}

.page-hero .lead {
  margin: 0;
  color: var(--color-muted);
}

.page-intro p,
.page-intro-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.page-intro-text {
  text-align: justify;
}

.legal-page h1 {
  margin-bottom: 1.25rem;
}

.legal-section {
  margin-top: 1.5rem;
}

.legal-section:first-of-type {
  margin-top: 0;
}

.legal-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--color-text);
}

.legal-section p {
  margin: 0;
  line-height: 1.65;
  color: var(--color-text);
}

.legal-section a {
  color: var(--color-primary);
}

.legal-section a:hover {
  text-decoration: underline;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

a.stat-pill:hover {
  background: var(--color-accent);
  color: #fff;
}

.product-description {
  margin-bottom: 1.5rem;
}

.product-geoloc {
  margin-top: 1.5rem;
}

.product-geoloc .geoloc-heading {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.15rem;
}

.product-geoloc .geoloc-island {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.product-geoloc .geoloc-item {
  margin: 1.5rem 0;
  overflow: hidden;
}

.product-geoloc .geoloc-item-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.product-geoloc .geoloc-item-photo {
  max-width: min(257px, 46%);
  height: auto;
  margin: 0.35rem 0 0.75rem;
}

.product-geoloc .geoloc-item-photo--left {
  float: left;
  margin-right: 1rem;
}

.product-geoloc .geoloc-item-photo--right {
  float: right;
  margin-left: 1rem;
}

.product-geoloc .geoloc-item-description {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.product-geoloc .geoloc-item-description p {
  margin: 0 0 0.75rem;
}

.home-section,
.category-section {
  margin-bottom: 2rem;
}

.category-commune-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  text-align: center;
}

.category-commune-filter-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

.category-commune-filter {
  width: min(100%, 22rem);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-input-bg);
  color: var(--color-text);
  font: inherit;
  text-align: center;
  color-scheme: dark;
  cursor: pointer;
}

.category-commune-filter:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-soft);
}

.category-commune-filter option {
  background: var(--color-surface);
  color: var(--color-text);
}

.category-list-body.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.category-commune-map-wrap {
  margin: 0 0 1.5rem;
}

.category-commune-map-wrap[hidden] {
  display: none;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: 1.35rem;
}

.section-heading a {
  font-weight: 600;
  white-space: nowrap;
}

.home-section-more {
  margin: 1rem 0 0;
  text-align: right;
}

.home-section-more a {
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: none;
}

.card-media {
  aspect-ratio: 16 / 10;
  background: var(--color-surface-alt);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subcategory-grid-section {
  margin-bottom: 1.5rem;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}

.subcategory-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.subcategory-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.subcategory-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--color-surface-alt);
  overflow: hidden;
}

.subcategory-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subcategory-card-title {
  display: block;
  padding: 0 0.65rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.card-meta {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.list-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

@media (min-width: 961px) {
  .list-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.list-item-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 8em minmax(0, 1fr);
  gap: 0;
  height: 12em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.list-item-card .photo {
  position: relative;
  min-height: 0;
  height: 100%;
  background: var(--color-surface-alt);
}

.list-item-card .photo .list-item-distance {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}

.product-nearby-more {
  margin: 1.25rem 0 0;
  text-align: center;
}

.product-nearby-more a {
  display: inline-block;
  font-weight: 600;
}

.page-hero--nearby-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.page-hero--nearby-meta .stats-row {
  margin-top: 0;
}

.page-hero--nearby .nearby-geoloc {
  margin-top: 0;
  margin-left: auto;
}

.nearby-geoloc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nearby-geoloc-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nearby-geoloc-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.nearby-geoloc-btn img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.nearby-geoloc-status {
  margin: 0.55rem 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.nearby-map-section {
  margin: 0 0 1.5rem;
}

.nearby-map-shell {
  position: relative;
  isolation: isolate;
  z-index: 1;
}

.nearby-map-shell.is-fullscreen,
.nearby-map-shell:fullscreen {
  position: fixed;
  inset: 0;
  z-index: 12000;
  width: 100%;
  height: 100%;
  background: #dbeafe;
}

.nearby-map {
  width: 100%;
  height: min(62vh, 520px);
  min-height: 360px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #dbeafe;
  box-shadow: var(--shadow-sm);
}

.nearby-map-shell.is-fullscreen .nearby-map,
.nearby-map-shell:fullscreen .nearby-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.nearby-map-fullscreen-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: #5f6368;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.nearby-map-fullscreen-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
}

.nearby-map-fullscreen-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nearby-map-fullscreen-icon {
  display: block;
}

.nearby-map-fullscreen-icon--exit {
  display: none;
}

.nearby-map-shell.is-fullscreen .nearby-map-fullscreen-icon--enter,
.nearby-map-shell:fullscreen .nearby-map-fullscreen-icon--enter {
  display: none;
}

.nearby-map-shell.is-fullscreen .nearby-map-fullscreen-icon--exit,
.nearby-map-shell:fullscreen .nearby-map-fullscreen-icon--exit {
  display: block;
}

.nearby-map.is-loading {
  opacity: 0.72;
  cursor: progress;
}

.nearby-map-popup {
  display: grid;
  gap: 0.35rem;
  min-width: 10rem;
}

.nearby-map-popup-distance {
  color: #475569;
  font-size: 0.88rem;
}

.nearby-map-popup a {
  font-weight: 600;
}

.list-item-card .photo .list-item-rating {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.12rem;
  margin: 0;
  padding: 0.2rem 0.45rem;
  pointer-events: none;
}

.list-item-card .photo .list-item-rating-count {
  font-size: calc(0.62rem + 1px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.75);
}

.list-item-card .photo .list-item-rating ul.vote {
  gap: 1px;
  padding: 0.1rem 0.25rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.list-item-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-item-card .content {
  padding: 0.45rem 0.6rem;
  min-height: 0;
  overflow: hidden;
}

.list-item-card h2 {
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-closed-notice {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #fff3cd;
  border: 1px solid #f0d58a;
  border-radius: var(--radius);
  color: #7a5b00;
  font-weight: 600;
  text-align: center;
}

.list-item-card .list-item-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.45rem;
  margin: 0 0 0.35rem;
}

.list-item-card .list-item-rating-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-highlight);
}

.category-section .list-item-card h2 {
  padding: 0;
}

.list-item-card .intro {
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-gallery {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-gallery-item {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.product-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-description,
.category-description {
  color: var(--color-text);
}

.category-description {
  font-size: 0.88rem;
  line-height: 1.55;
}

.category-description-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.category-description-text {
  flex: 1;
  min-width: 0;
}

.category-description-short {
  display: none;
}

.category-description-text.is-collapsed .category-description-body {
  display: none;
}

@media (max-width: 960px) {
  .category-description-wrap.has-mobile-excerpt .category-description-text.is-collapsed .category-description-short--mobile {
    display: block;
  }

  .category-description-wrap.has-mobile-excerpt .category-description-expand-btn {
    display: block;
  }
}

@media (min-width: 961px) {
  .category-description-wrap.has-desktop-excerpt .category-description-text.is-collapsed .category-description-short--desktop {
    display: block;
  }

  .category-description-wrap:not(.has-desktop-excerpt) .category-description-text.is-collapsed .category-description-body {
    display: block;
  }

  .category-description-wrap.has-desktop-excerpt .category-description-expand-btn {
    display: block;
  }
}

.category-description-expand-btn {
  display: none;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.category-description-expand-btn:hover {
  background: var(--color-surface-alt);
}

.product-description :where(h2, h3, h4, h5, h6),
.category-description :where(h2, h3, h4, h5, h6) {
  color: var(--color-text);
  margin: 1.25rem 0 0.75rem;
  line-height: 1.3;
}

.product-description :where(p, ul, ol),
.category-description :where(p, ul, ol) {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.product-description a,
.category-description a,
.product-tel-link,
.detail-row a[href^="tel:"] {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.product-tel-link:hover,
.detail-row a[href^="tel:"]:hover {
  text-decoration: underline;
}

.detail-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.detail-row strong {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.detail-row--horaires ul.horaires-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-row--horaires .horaires-status {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.horaires-status--open {
  background: #e8f5e9;
  color: #2e7d32;
}

.horaires-status--closed {
  background: #ffebee;
  color: #c62828;
}

.horaires-list li {
  padding: 0.15rem 0;
}

.detail-row--map {
  align-items: start;
}

.detail-row--map .product-map {
  width: 100%;
  height: 280px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #dbeafe;
}

.product-map-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.product-map-links-label {
  line-height: 1.4;
}

.product-map-links-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.product-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-map-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.product-map-link img {
  display: block;
  width: 28px;
  height: 28px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.partners-grid a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem 4rem;
}

.not-found-logo {
  display: block;
  margin: 0 auto 1.25rem;
  height: auto;
}

.not-found-code {
  margin: 0;
  font-size: clamp(4rem, 22vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-accent, #0b5cab);
}

.not-found h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.not-found .lead,
.not-found p {
  text-align: center;
  width: 100%;
}

.not-found .button-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--color-accent, #0b5cab);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.not-found .button-link:hover {
  filter: brightness(1.05);
}

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.pagination {
  margin-top: 1.5rem;
}

.pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.pagination-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}

.pagination-link.is-current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.pagination-ellipsis {
  color: var(--color-muted);
  padding: 0 0.25rem;
}

.pub-block {
  margin: 1.5rem 0;
  text-align: center;
}

.list-ad-card {
  height: 12em;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.list-ad-card__slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.list-ad-card__unit {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
}

.site-content {
  color: var(--color-text);
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4 {
  color: var(--color-text);
}

.site-content .list-item-card h2 a {
  color: var(--color-text);
  text-decoration: none;
}

.site-content .list-item-card h2 a:hover {
  color: var(--color-accent);
}

.site-content .list-item-card .intro {
  height: auto;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.site-content .list-item-card .intro :where(h2, h3, h4, p, ul, ol) {
  margin: 0 0 0.5rem;
  font-size: inherit;
  font-weight: normal;
  color: inherit;
}

.site-content .section-heading h2 {
  color: var(--color-text);
}

@media (max-width: 960px) {
  .context-sidebar {
    border-left: 0;
    padding: 0 1.5rem 1.5rem;
  }
}

@media (max-width: 960px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .site-topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
    --topbar-control-height: 2.5rem;
    --topbar-control-bg: rgba(240, 242, 245, 0.14);
    position: sticky;
    top: 0;
    z-index: 60;
  }

  .site-topbar .menu-toggle {
    height: var(--topbar-control-height);
    min-height: var(--topbar-control-height);
    max-height: var(--topbar-control-height);
    padding: 0 1rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: var(--topbar-control-bg);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  .site-search--topbar {
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  .site-search--topbar .site-search-row {
    width: 100%;
    max-width: none;
    align-items: stretch;
  }

  .site-search--topbar .site-search-field {
    height: var(--topbar-control-height);
    min-height: var(--topbar-control-height);
    max-height: var(--topbar-control-height);
    border-radius: 999px;
    background: var(--topbar-control-bg);
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .site-search--topbar .site-search-input {
    height: var(--topbar-control-height);
    min-height: var(--topbar-control-height);
    max-height: var(--topbar-control-height);
    padding: 0 0.85rem 0 2.35rem;
    border-radius: 0;
    font-size: 1rem;
    line-height: 1;
    background: transparent;
  }

  .site-search--sidebar {
    display: block;
    flex-shrink: 0;
  }

  .site-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(var(--sidebar-width), 88vw);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    z-index: 200;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    padding-bottom: 0;
  }

  .site-sidebar .site-brand,
  .site-sidebar .site-search--sidebar {
    flex-shrink: 0;
  }

  .site-sidebar .site-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }

  .site-sidebar-auth {
    flex-shrink: 0;
    margin-top: auto;
    padding: 1rem 1.25rem 1.25rem;
  }

  .site-topbar-brand {
    display: none;
  }

  .site-topbar-auth {
    display: flex;
    margin-left: auto;
    flex: 0 0 auto;
    gap: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  .site-topbar-auth .site-auth-link {
    color: #fff;
    white-space: nowrap;
  }

  .site-topbar-auth .site-auth-link:hover {
    color: #fff;
    opacity: 0.9;
  }

  .site-topbar-auth--member {
    gap: 0.5rem;
  }

  .site-topbar-auth--member .site-auth-name,
  .site-sidebar-auth .site-auth-name {
    display: none;
  }

  .site-topbar-auth--member .site-auth-avatar,
  .site-sidebar-auth .site-auth-avatar {
    width: var(--topbar-control-height);
    height: var(--topbar-control-height);
  }

  .site-topbar-auth--member .site-auth-profile-link {
    color: #fff;
  }

  .site-topbar-auth--member .site-auth-avatar--placeholder {
    background: var(--topbar-control-bg);
    color: #fff;
  }

  .site-sidebar.is-open {
    transform: translateX(0);
  }

  .site-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 199;
  }

  .site-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .list-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-item-card .content {
    padding: 0.65rem;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.product-avis {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  line-height: 1.45;
}

.product-avis-title,
.product-avis-form-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--color-header);
}

.product-avis-flash {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0 0 1rem;
}

.product-avis-flash--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.product-avis-flash--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.product-avis-summary {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.product-avis-average {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.product-avis-average-label {
  font-weight: 700;
  color: var(--color-highlight);
}

.product-avis-count {
  margin: 0;
  color: var(--color-muted);
}

.product-avis ul.vote,
.account-page ul.vote,
.list-item-card ul.vote {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  vertical-align: middle;
}

.product-avis ul.vote > li,
.account-page ul.vote > li {
  display: block;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  padding: 0;
  margin: 0;
  border: 0;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  list-style: none;
  float: none;
  background-color: transparent;
  background-image: url('vote.gif');
  background-repeat: no-repeat;
  background-position: 0 0;
  cursor: default;
}

.list-item-card ul.vote > li {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  margin: 0;
  border: 0;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  list-style: none;
  float: none;
  background-color: transparent;
  background-image: url('vote.gif');
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 16px auto;
  cursor: default;
}

.product-avis ul.vote > li.is-filled,
.account-page ul.vote > li.is-filled {
  background-position: 0 -25px;
}

.list-item-card ul.vote > li.is-filled,
.account-ami-reviews ul.vote > li.is-filled,
.account-activite-item-avis ul.vote > li.is-filled {
  background-position: 0 -16px;
}

.product-avis ul.vote > li span,
.account-page ul.vote > li span {
  display: none;
}

.list-item-card ul.vote > li span {
  display: none;
}

.product-avis ul.vote.avis-vote--interactive > li,
.account-page ul.vote.avis-vote--interactive > li {
  cursor: pointer;
}

.product-avis-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-avis-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.product-avis-item:last-child {
  border-bottom: 0;
}

.product-avis-item-head {
  margin-bottom: 0.5rem;
}

.product-avis-item-date {
  color: var(--color-muted);
  font-weight: 400;
}

.product-avis-item-text {
  margin-bottom: 0.75rem;
  line-height: 1.55;
  font-family: inherit, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.product-avis-form textarea {
  font-family: inherit, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.product-avis-item-ratings,
.product-avis-form-ratings {
  display: grid;
  gap: 0.5rem;
}

.product-avis-response {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0 8px 8px 0;
}

.product-avis-response-text {
  margin-top: 0.35rem;
  line-height: 1.5;
}

.product-avis-response-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.account-entreprise-avis-item.is-highlighted {
  box-shadow: 0 0 0 2px var(--color-accent);
}

.account-contacter-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.account-contacter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
}

.account-contacter-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--color-accent);
  color: #fff;
}

.product-avis-rating-row,
.product-avis-form-row {
  display: grid;
  grid-template-columns: 9rem auto;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
}

.product-avis-rating-label {
  grid-column: 1;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
}

.product-avis-rating-row > ul.vote {
  grid-column: 2;
  justify-self: start;
  align-self: center;
  line-height: 0;
}

.product-avis-form-label {
  grid-column: 1;
  grid-row: 1;
  font-weight: 600;
  font-size: 0.85rem;
}

.product-avis-form-row > ul.vote {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: start;
}

.product-avis-form-label .product-avis-help-text {
  grid-column: 1;
}

.product-avis-help {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-accent);
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}

.product-avis-help-text {
  display: none;
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.product-avis-help-text:not([hidden]) {
  display: block;
}

.product-avis-form-wrap {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.product-avis-field {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
}

.product-avis-field span {
  font-weight: 600;
}

.product-avis-field input,
.product-avis-field textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
}

.product-avis-field textarea {
  min-height: 120px;
  resize: vertical;
}

.product-avis-email-note {
  margin: -0.5rem 0 1rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.product-avis-form-actions {
  text-align: center;
}

.product-avis-submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.product-avis-submit:hover {
  filter: brightness(1.05);
}

.product-avis-auth-note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-topbar-auth,
.site-sidebar-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.site-topbar-auth {
  margin-left: auto;
}

.site-sidebar-auth {
  margin-top: 1rem;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-auth-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.site-auth-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.site-auth-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.site-auth-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.site-sidebar-auth .site-auth-profile-link {
  color: #fff;
}

.site-sidebar-auth .site-auth-avatar--placeholder {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.site-sidebar-auth .site-auth-link {
  color: #fff;
  opacity: 0.92;
  display: block;
  padding: 0.35rem 0;
}

.site-sidebar-auth .site-auth-link:hover {
  color: #fff;
  opacity: 1;
}

.site-auth-link:hover {
  text-decoration: underline;
}

@media (min-width: 961px) {
  .site-auth-avatar,
  .site-auth-avatar--placeholder {
    display: none;
  }
}

.auth-page {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.auth-page.account-page {
  max-width: none;
  margin: 0;
  width: 100%;
}

.account-nav-mobile-bar {
  display: block;
  margin: 0 0 0.85rem;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}

.account-nav-mobile-bar::-webkit-scrollbar {
  display: none;
}

.account-nav-mobile-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.15rem;
  width: max-content;
  min-width: 100%;
}

.account-nav-mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.account-nav-mobile-link:hover {
  background: var(--color-surface-alt);
}

.account-nav-mobile-link.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.account-nav-mobile-link .account-nav-badge {
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  font-size: 0.65rem;
}

@media (max-width: 960px) {
  .account-sidebar {
    display: none !important;
  }
}

@media (min-width: 961px) {
  .account-nav-mobile-bar {
    display: none !important;
  }
}

.account-nav-dropdown {
  margin: 0;
  max-width: 420px;
}

.account-nav-dropdown-heading {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--color-header, var(--color-text));
}

.account-nav-dropdown-panel {
  position: relative;
}

.account-nav-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  user-select: none;
}

.account-nav-dropdown-trigger::-webkit-details-marker {
  display: none;
}

.account-nav-dropdown-trigger:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.account-nav-dropdown-panel[open] > .account-nav-dropdown-trigger {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-soft);
}

.account-nav-dropdown-current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-nav-dropdown-chevron {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.15rem);
  transition: transform 0.15s ease;
}

.account-nav-dropdown-panel[open] .account-nav-dropdown-chevron {
  transform: rotate(-135deg) translateY(0.1rem);
}

.account-nav-dropdown-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-md, 0 10px 24px rgba(15, 23, 42, 0.12));
  max-height: min(70vh, 420px);
  overflow-y: auto;
}

.account-nav-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
}

.account-nav-dropdown-list li + li {
  margin-top: 0.15rem;
}

.account-nav-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.account-nav-dropdown-link:hover {
  background: var(--color-surface-alt);
  color: var(--color-accent);
}

.account-nav-dropdown-link.is-active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.account-sidebar .context-sidebar-block h3 {
  color: var(--color-header);
}

.account-nav-promotions-block {
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #dbeafe;
}

.account-nav-promotions-list {
  margin: 0;
  padding: 0;
  border: 0;
}

.account-nav-promotions-list li + li {
  margin-top: 0.15rem;
}

.account-nav-promotions-link {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  color: #1d4ed8;
  font-weight: 700;
}

.account-nav-promotions-link:hover,
.account-nav-promotions-link.is-active {
  background: #bfdbfe;
  color: #1e3a8a;
}

.account-nav-mobile-link--promotions {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.account-nav-mobile-link--promotions:hover {
  background: #dbeafe;
  color: #1e40af;
}

.account-nav-mobile-link--promotions.is-active {
  border-color: #3b82f6;
  background: #dbeafe;
  color: #1e3a8a;
}

.account-avis-list {
  margin-top: 1.25rem;
}

.account-avis-item {
  position: relative;
}

.account-avis-item--hidden {
  opacity: 0.82;
}

.account-avis-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.account-avis-item-head-main {
  min-width: 0;
  flex: 1 1 auto;
}

.account-avis-item-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.account-avis-toggle-form,
.account-avis-delete-form {
  margin: 0;
}

.account-avis-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.account-avis-toggle-btn:hover {
  background: var(--color-surface-alt);
}

.account-avis-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #fed7d7;
  border-radius: var(--radius);
  background: #fff5f5;
  color: #c53030;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.account-avis-delete-btn:hover {
  background: #fed7d7;
}

.account-avis-status {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

.account-avis-status--pending,
.account-avis-status--paused {
  color: var(--color-muted);
}

.account-avis-item-text-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.account-avis-item-text,
.product-avis-item-text.account-avis-item-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.account-avis-expand-btn {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.account-avis-expand-btn:hover {
  background: var(--color-surface-alt);
}

.account-avis-item-ratings {
  margin-top: 0.5rem;
}

.account-avis-item-head a {
  color: var(--color-header);
  text-decoration: none;
}

.account-avis-item-head a:hover {
  text-decoration: underline;
}

.account-avis-item-score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0.75rem;
  line-height: 1;
}

.account-avis-item-score ul.vote {
  line-height: 0;
}

.auth-page h1,
.auth-panel h2 {
  margin: 0 0 1rem;
  color: var(--color-header);
}

.auth-page h1 {
  font-size: 1.35rem;
}

.auth-panel {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.auth-panel h2 {
  font-size: 1.05rem;
}

.auth-lead {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.auth-field {
  display: grid;
  gap: 0.35rem;
}

.auth-field span {
  font-weight: 600;
  font-size: 0.9rem;
}

.auth-field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
}

.auth-field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.auth-field--checkbox input {
  width: auto;
  margin: 0;
}

.auth-field--checkbox span {
  font-weight: 500;
}

.auth-field textarea,
.auth-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
}

.auth-readonly {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-actions {
  margin-top: 0.25rem;
}

.auth-submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-submit--danger {
  background: #b91c1c;
}

.auth-submit--secondary {
  background: var(--color-surface-alt);
  color: var(--color-text, #1a202c);
  border: 1px solid var(--color-border, var(--color-border));
}

.auth-submit--secondary:hover {
  background: var(--color-border);
}

.auth-flash {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.auth-flash--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.auth-flash--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.auth-flash--info {
  background: #ebf8ff;
  color: #2c5282;
  border: 1px solid #90cdf4;
}

.auth-oauth-block {
  margin: 0 0 1.25rem;
}

.auth-oauth-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.auth-oauth-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.auth-oauth-btn {
  display: block;
  text-align: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  background: var(--color-bg);
}

.auth-oauth-btn:hover {
  border-color: var(--color-accent);
}

.auth-links {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.auth-links a {
  color: var(--color-accent);
}

.auth-account-summary {
  margin-bottom: 1rem;
}

.account-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.account-notifications-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.account-notifications-head .auth-lead {
  margin: 0;
}

.account-notifications-read-all {
  margin: 0;
}

.account-notifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.account-notification-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border, var(--color-border));
  border-radius: 0.75rem;
  background: var(--color-surface, #fff);
}

.account-notification-item--unread {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.account-notification-icon {
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1.2;
}

.account-notification-body {
  flex: 1 1 auto;
  min-width: 0;
}

.account-notification-link {
  color: inherit;
  text-decoration: none;
}

.account-notification-link:hover .account-notification-message {
  color: var(--color-accent);
}

.account-notification-message {
  margin: 0;
  line-height: 1.45;
  font-family: inherit, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.account-notification-meta {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.account-notification-unread-dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.account-amis-section {
  margin-top: 1.75rem;
}

.account-amis-section-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.account-amis-panel.is-loading,
.account-amis-results.is-loading {
  opacity: 0.55;
}

.account-amis-search-wrap {
  margin-top: 1.25rem;
}

.account-amis-search-field {
  max-width: 520px;
}

.account-amis-search-input {
  width: 100%;
}

.account-amis-stats {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.account-amis-results.is-loading {
  opacity: 0.55;
}

.account-amis-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.account-amis-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.account-amis-item-main {
  min-width: 0;
  flex: 1 1 auto;
}

.account-amis-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.account-amis-action-form {
  display: inline;
  margin: 0;
}

.account-amis-btn {
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.2;
}

.account-amis-btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.account-amis-btn--ghost:hover {
  background: var(--color-surface-alt);
}

.account-amis-badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--color-surface-alt);
  color: var(--color-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.account-amis-badge--friend {
  background: #e6fffa;
  color: #234e52;
}

.account-amis-badge--refused {
  background: #fff5f5;
  color: #9b2c2c;
}

.account-amis-badge--sent-temp {
  animation: account-amis-badge-sent-fade 3.5s ease forwards;
}

@keyframes account-amis-badge-sent-fade {
  0%, 72% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.account-entreprise-create {
  margin-top: 1.5rem;
}

.account-entreprise-create h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.account-entreprise-badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}

.account-entreprise-badge--draft {
  background: #fefcbf;
  color: #744210;
}

.account-entreprise-badge--published {
  background: #e6fffa;
  color: #234e52;
}

.account-entreprise-badge--closed {
  background: var(--color-surface-alt);
  color: #4a5568;
}

.account-entreprise-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.account-entreprise-section-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.account-entreprise-section-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.account-entreprise-category-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.account-entreprise-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border, var(--color-border));
  border-radius: 8px;
  margin-bottom: 0.45rem;
  background: var(--color-surface);
}

.account-entreprise-inline-form {
  margin: 0;
}

.account-entreprise-btn-remove {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 999px;
  background: #fff5f5;
  color: #9b2c2c;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.account-entreprise-btn-remove:hover {
  background: #fed7d7;
}

.account-entreprise-category-add {
  margin-top: 0.5rem;
}

.account-entreprise-vignette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--color-surface-alt);
}

.account-entreprise-vignette img {
  max-width: 180px;
  max-height: 90px;
  border-radius: 6px;
  border: 1px solid var(--color-border, var(--color-border));
}

.account-entreprise-vignette-label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.account-entreprise-vignette-regen {
  font-size: 0.85rem;
}

.account-entreprise-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.account-entreprise-photo-slot {
  border: 1px solid var(--color-border, var(--color-border));
  border-radius: 10px;
  padding: 0.85rem;
  background: var(--color-surface);
}

.account-entreprise-photo-slot h3 {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
}

.account-entreprise-photo-preview {
  display: block;
  margin-bottom: 0.45rem;
}

.account-entreprise-photo-preview img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--color-border, var(--color-border));
}

.account-entreprise-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 0.65rem;
  border: 1px dashed var(--color-border);
  border-radius: 6px;
  color: var(--color-muted);
  font-size: 0.85rem;
  background: var(--color-surface-alt);
}

.account-entreprise-photo-meta {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.account-entreprise-photo-upload {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.account-entreprise-photo-upload input[type="file"] {
  font-size: 0.82rem;
}

.account-amis-item-name {
  display: block;
  font-size: 1rem;
}

.account-amis-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.35rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.account-amis-empty {
  margin: 1rem 0 0;
  color: var(--color-muted);
}

.account-amis-invite {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border, var(--color-border));
  border-radius: 0.75rem;
  background: var(--color-surface-alt, var(--color-surface-alt));
}

.account-amis-invite-lead {
  margin: 0 0 1rem;
  color: var(--color-text, inherit);
}

.account-amis-invite-field {
  margin-bottom: 1rem;
}

.account-amis-invite-form .account-amis-btn {
  margin-top: 0.25rem;
}

.account-amis-item-link {
  color: inherit;
  text-decoration: none;
}

.account-amis-item-link:hover .account-amis-item-name {
  color: var(--color-primary);
  text-decoration: underline;
}

.account-ami-back {
  margin-bottom: 0.5rem;
}

.account-ami-header {
  margin-bottom: 0.5rem;
}

.account-ami-header h1 {
  margin: 0 0 0.35rem;
}

.account-ami-section {
  margin-top: 2rem;
}

.account-ami-section:first-of-type {
  margin-top: 1.25rem;
}

.account-ami-favorites,
.account-ami-entreprises,
.account-ami-reviews,
.account-ami-friends-list {
  margin-top: 0.5rem;
}

.account-ami-friends-list {
  display: grid;
  gap: 0.65rem;
}

.account-ami-friend-item {
  align-items: center;
}

.account-ami-friend-main {
  min-width: 0;
}

.account-ami-friend-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.account-ami-friend-link:hover .account-ami-friend-name {
  color: var(--color-accent);
}

.account-ami-friend-avatar {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.account-ami-friend-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}

.account-ami-friend-name {
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
}

.account-ami-favorites .list-item-card h3,
.account-ami-entreprises .list-item-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-content .account-ami-favorites .list-item-card h3 a,
.site-content .account-ami-entreprises .list-item-card h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.site-content .account-ami-favorites .list-item-card h3 a:hover,
.site-content .account-ami-entreprises .list-item-card h3 a:hover {
  color: var(--color-accent);
}

.account-ami-reviews .product-avis-item {
  padding: 0.55rem 0;
}

.account-ami-reviews .product-avis-item-head {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.account-ami-reviews .product-avis-item-date {
  font-size: 0.75rem;
}

.account-ami-reviews .account-avis-item-score {
  margin: 0.3rem 0 0.45rem;
  gap: 0.35rem;
}

.account-ami-reviews .product-avis-average-label {
  font-size: 0.75rem;
}

.account-ami-reviews .product-avis-item-text {
  font-size: 0.78rem;
  line-height: 1.4;
  margin-bottom: 0.45rem;
  color: var(--color-muted);
}

.account-ami-reviews .product-avis-item-ratings {
  gap: 0.3rem;
}

.account-ami-reviews .product-avis-rating-row {
  grid-template-columns: 7rem auto;
}

.account-ami-reviews .product-avis-rating-label {
  font-size: 0.75rem;
}

.account-ami-reviews ul.vote > li {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  background-size: 16px auto;
}

.account-ami-profile {
  margin-bottom: 0;
}

.account-ami-stats-bar {
  display: flex;
  margin: 1em 0 1.75rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent) 0%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.22);
}

.account-ami-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  text-align: center;
}

.account-ami-stat + .account-ami-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.account-ami-stat-value {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.account-ami-stat-label {
  font-size: 0.78rem;
  line-height: 1.25;
  opacity: 0.94;
}

.account-ami-cover {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface-alt);
  aspect-ratio: 3 / 1;
}

.account-ami-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-ami-identity {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.account-ami-identity--overlap {
  margin-top: -3rem;
  padding: 0 0.5rem;
  position: relative;
}

.account-ami-avatar-wrap {
  flex: 0 0 auto;
}

.account-ami-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-surface);
  background: var(--color-surface-alt);
}

.account-ami-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-muted);
}

.account-ami-identity-text {
  flex: 1;
  min-width: 0;
  padding-bottom: 0.25rem;
}

.account-ami-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.account-ami-actions .account-amis-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.account-ami-pseudo-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.account-ami-pseudo-row .account-ami-pseudo,
.account-ami-pseudo-row .account-ami-display-name {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.account-ami-pseudo {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.account-ami-pseudo a {
  color: var(--color-header);
  text-decoration: none;
}

.account-ami-pseudo a:hover {
  color: var(--color-accent);
}

.account-ami-display-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
}

.account-ami-pseudo-row + .account-ami-display-name {
  margin: 0.15rem 0 0;
}

.account-ami-status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.account-ami-status-row .account-ami-online {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.account-ami-registered {
  margin: 0;
  flex: 0 0 auto;
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.account-ami-online {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.3;
}

.account-ami-online--live {
  color: #276749;
  font-weight: 600;
}

.account-ami-online--live::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #38a169;
  vertical-align: 0.05em;
}

.account-photo-panel .account-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.account-photo-slot h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.account-photo-preview {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  margin-bottom: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-photo-preview:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-soft);
}

.account-photo-form.is-uploading .account-photo-preview {
  opacity: 0.7;
  pointer-events: none;
  cursor: wait;
}

.account-photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-photo-preview--avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}

.account-photo-preview--cover {
  aspect-ratio: 3 / 1;
  max-width: 480px;
}

.account-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.account-photo-preview--avatar .account-photo-placeholder {
  width: 160px;
  height: 160px;
  min-height: 0;
  border-radius: 50%;
}

.account-photo-form {
  margin-top: 0;
}

.account-photo-form .account-photo-input {
  display: none;
}

.account-photo-form .account-photo-submit {
  cursor: pointer;
  margin: 0;
}

.account-photo-form .account-photo-submit.is-uploading,
.account-photo-form.is-uploading .account-photo-submit.auth-submit {
  opacity: 0.7;
  pointer-events: none;
}

.account-photo-form .auth-actions {
  margin-top: 0.75rem;
}

.account-photo-pseudo-hint {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.auth-secret code {
  word-break: break-all;
  font-size: 0.85rem;
}

.account-activite-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

.account-activite-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.account-activite-tab:hover {
  background: var(--color-surface-alt);
}

.account-activite-tab.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.account-activite-lead {
  margin-top: 0.5rem;
}

.account-activite-publish-wrap {
  margin: 1.25rem 0;
}

.account-activite-publish-toggle {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-header);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.account-activite-publish-toggle:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-border);
}

.account-activite-publish-wrap.is-open .account-activite-publish-toggle {
  display: none;
}

.account-activite-publish-wrap:not(.is-open) .account-activite-publish {
  display: none;
}

.account-activite-publish {
  margin: 0;
}

.account-activite-photo-add {
  margin: 0.5rem 0 1rem;
  position: relative;
}

.account-activite-photo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.account-activite-photo-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.account-activite-photo-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.account-activite-photo-icon-btn:hover {
  background: #e8f5ec;
}

.account-activite-photo-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text, #111);
}

.account-activite-photo-icon {
  display: inline-flex;
  color: #45bd62;
  flex: 0 0 auto;
}

.account-activite-photo-preview {
  margin-top: 0.75rem;
}

.account-activite-photo-preview img,
.account-activite-photo-preview video {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.account-activite-photo-preview video {
  object-fit: contain;
  background: #000;
}

.account-activite-upload-progress {
  margin-top: 0.75rem;
}

.account-activite-upload-progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--color-border);
  overflow: hidden;
}

.account-activite-upload-progress-bar {
  height: 100%;
  width: 0;
  background: #45bd62;
  transition: width 0.15s ease;
}

.account-activite-upload-progress-label {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.account-activite-photo-remove {
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
}

.account-activite-photo-remove:hover {
  color: var(--color-text, #111);
}

.account-activite-feed {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.account-activite-item {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.account-activite-item-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.account-activite-item-meta {
  min-width: 0;
  flex: 1 1 auto;
}

.account-activite-item-menu {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
}

.account-activite-item-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.account-activite-item-menu-btn:hover,
.account-activite-item-menu-btn[aria-expanded="true"] {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.account-activite-item-menu-panel {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  z-index: 20;
  min-width: 230px;
  padding: 0.35rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.account-activite-item-menu-form {
  margin: 0;
}

.account-activite-item-menu-action,
.account-activite-item-menu-link {
  display: block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 0;
  background: none;
  color: var(--color-text);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-activite-item-menu-action:hover,
.account-activite-item-menu-link:hover {
  background: var(--color-surface-alt);
}

.account-activite-item-menu-action--danger {
  color: #c53030;
}

.account-activite-item-menu-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.account-activite-item--hidden {
  opacity: 0.82;
}

.account-activite-item--highlight {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-soft);
}

.account-activite-promote-hint {
  margin: 0.35rem 0 0 3.35rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.account-activite-avatar {
  flex: 0 0 auto;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.account-activite-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-activite-avatar--company {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.account-activite-avatar--company img {
  object-fit: contain;
  padding: 2px;
  background: var(--color-surface);
}

.account-activite-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-header);
}

.account-activite-item-title {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.account-activite-item-title a {
  color: var(--color-header);
  font-weight: 700;
  text-decoration: none;
}

.account-activite-item-title a:hover {
  color: var(--color-accent);
}

.account-activite-item-date {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.account-activite-item-body {
  margin: 0.65rem 0 0 3.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text);
}

.account-activite-item-quote {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-left: 3px solid var(--color-border);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.account-activite-item-avis {
  margin: 0.65rem 0 0 3.35rem;
}

.account-activite-item-avis .account-avis-item-score {
  margin: 0 0 0.45rem;
  gap: 0.35rem;
  line-height: 1;
}

.account-activite-item-avis .account-avis-item-score ul.vote {
  line-height: 0;
}

.account-activite-item-avis .product-avis-average-label {
  font-size: 0.75rem;
}

.account-activite-item-avis .account-activite-item-quote {
  margin: 0 0 0.45rem;
}

.account-activite-item-avis-ratings {
  gap: 0.3rem;
}

.account-activite-item-avis .product-avis-rating-row {
  grid-template-columns: 7rem auto;
}

.account-activite-item-avis .product-avis-rating-label {
  font-size: 0.75rem;
}

.account-activite-item-avis ul.vote > li {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  background-size: 16px auto;
}

.account-activite-item-avis .product-avis-rating-row > ul.vote {
  line-height: 0;
}

.account-activite-item-thumb {
  display: block;
  width: 120px;
  margin: 0.65rem 0 0 3.35rem;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}

.account-activite-item-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.account-activite-item-photo {
  margin: 0.65rem 0 0 3.35rem;
  max-width: 420px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}

.account-activite-item-photo--cover {
  max-width: 100%;
}

.account-activite-item-photo--avatar {
  max-width: 320px;
}

.account-activite-item-photo--avatar img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.account-activite-item-photo--cover img {
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.account-activite-photo-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}

.account-activite-photo-open:hover img {
  opacity: 0.92;
}

.account-activite-item-photo img,
.account-activite-item-photo video {
  display: block;
  width: 100%;
  height: auto;
}

.account-activite-item-photo video {
  background: #000;
}

.account-activite-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 1rem;
}

.account-activite-lightbox[hidden] {
  display: none !important;
}

.account-activite-lightbox-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
}

.account-activite-lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1200px);
  max-height: calc(100vh - 3rem);
  pointer-events: none;
}

.account-activite-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  user-select: none;
}

.account-activite-lightbox-close {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.account-activite-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.account-activite-lightbox-open {
  overflow: hidden;
}

.account-activite-social {
  margin: 0.65rem 0 0 3.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--color-border);
}

.account-activite-social-stats[hidden],
.account-activite-comments[hidden],
.account-activite-comment-form[hidden],
.account-activite-com-reactions[hidden],
.account-activite-com-reply-form[hidden] {
  display: none !important;
}

.account-activite-social.is-comments-open .account-activite-comments,
.account-activite-social.is-comments-open .account-activite-comment-form {
  display: grid;
}

.account-activite-social.is-comments-open .account-activite-comment-form {
  display: grid;
}

.account-activite-social.is-comments-open .account-activite-comments {
  display: grid;
}

.account-activite-social-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.account-activite-social-reactions,
.account-activite-com-reactions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.account-activite-react-summary-icons {
  display: inline-flex;
  align-items: center;
}

.account-activite-react-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: -0.2rem;
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 0.72rem;
  line-height: 1;
  box-shadow: 0 0 0 1px var(--color-border);
}

.account-activite-react-summary-icon:first-child {
  margin-left: 0;
}

.account-activite-social-comments-count {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.account-activite-social-comments-count:hover {
  text-decoration: underline;
}

.account-activite-social-actions {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem 0 0.55rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.account-activite-social-action {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.account-activite-social-action:hover,
.account-activite-react-btn.is-active {
  background: var(--color-surface-alt);
  color: var(--color-text, #111);
}

.account-activite-social-action-icon {
  font-size: 1rem;
  line-height: 1;
}

.account-activite-react-wrap {
  position: relative;
  display: inline-flex;
}

.account-activite-react-wrap--post {
  flex: 1 1 0;
}

.account-activite-react-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.account-activite-react-picker {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.35rem);
  z-index: 20;
  display: flex;
  gap: 0.2rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.account-activite-react-picker[hidden] {
  display: none !important;
}

.account-activite-react-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.account-activite-react-option:hover {
  transform: scale(1.25);
}

.account-activite-react-option.is-selected {
  background: #e8f5ec;
  box-shadow: inset 0 0 0 2px #45bd62;
}

.account-activite-comments {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.account-activite-com-layout {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
}

.account-activite-com--reply .account-activite-com-layout {
  margin-left: calc(var(--com-depth, 1) * 1.4rem);
}

.account-activite-com-replies {
  margin-top: 0.45rem;
}

.account-activite-com-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-border);
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.account-activite-com-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-activite-com-bubble {
  display: inline-block;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border-radius: 1rem;
  background: var(--color-surface-alt);
}

.account-activite-com-author {
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.account-activite-com-author a {
  color: inherit;
  text-decoration: none;
}

.account-activite-com-author a:hover {
  text-decoration: underline;
}

.account-activite-com-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  word-break: break-word;
}

.account-activite-com-mention {
  color: var(--color-accent);
}

.account-activite-com-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
  padding-left: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.account-activite-com-meta .account-activite-react-wrap {
  position: relative;
}

.account-activite-com-meta .account-activite-react-btn.is-active {
  color: var(--color-accent);
  background: transparent;
}

.account-activite-com-reply-btn,
.account-activite-com-delete-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.account-activite-com-reply-btn:hover,
.account-activite-com-delete-btn:hover {
  text-decoration: underline;
}

.account-activite-com-reply-form {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.account-activite-com-reply-form textarea,
.account-activite-comment-form textarea {
  width: 100%;
  min-height: 2.2rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface-alt);
  font: inherit;
  font-size: 0.88rem;
  resize: vertical;
}

.account-activite-com-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.account-activite-com-reply-cancel,
.account-activite-com-reply-submit {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  background: var(--color-border);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.account-activite-com-reply-submit {
  background: var(--color-accent);
  color: #fff;
}

.account-activite-comment-form {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  margin-top: 0.65rem;
}

.account-activite-comment-form-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-border);
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.account-activite-comment-form-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-activite-comment-form-field {
  position: relative;
}

.account-activite-comment-submit {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.account-activite-comment-form textarea {
  padding-right: 2.4rem;
}

.account-activite-item-comment .account-activite-item-quote {
  margin: 0;
}

.account-activite-item-reaction {
  margin: 0.65rem 0 0 3.35rem;
}

.account-activite-reaction-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--color-surface-alt);
  font-size: 0.88rem;
  font-weight: 600;
}

.account-activite-reaction-badge-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

.account-activite-source-preview {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  margin: 0.65rem 0 0 3.35rem;
  max-width: 420px;
  padding: 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) - 4px);
  background: var(--color-surface-alt);
  color: inherit;
  text-decoration: none;
}

.account-activite-source-preview:hover {
  background: var(--color-surface-alt);
}

.account-activite-source-preview-media {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  background: var(--color-border);
}

.account-activite-source-preview-media img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.account-activite-source-preview-text {
  display: grid;
  gap: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--color-muted);
}

.account-activite-source-preview-text strong {
  color: var(--color-text, #111);
  font-size: 0.86rem;
}

.page-account-messagerie .site-main {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.page-account-messagerie .site-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 961px) {
  .page-account-messagerie .site-body {
    align-items: stretch;
  }
}

.page-account-messagerie .site-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 0.75rem;
  overflow: hidden;
}

.page-account-messagerie .content-main {
  flex: 1 1 auto;
  min-height: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-account-messagerie .account-nav-mobile-bar {
  flex: 0 0 auto;
  margin-bottom: 0.65rem;
}

.page-account-messagerie .auth-page.account-page {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.page-account-messagerie .auth-page.account-page h1 {
  flex: 0 0 auto;
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.page-account-messagerie .account-messagerie-flash {
  flex: 0 0 auto;
}

.page-account-messagerie .site-footer {
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.account-messagerie {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface, #fff);
}

.page-account-messagerie .account-messagerie {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  margin-top: 0;
}

.account-messagerie-sidebar {
  border-right: 1px solid var(--color-border, #ddd);
  background: var(--color-bg);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.account-messagerie-sidebar-head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border, #ddd);
}

.account-messagerie-sidebar-title {
  margin: 0;
  font-size: 0.95rem;
}

.account-messagerie-conversations {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

.account-messagerie-conv-item.has-unread .account-messagerie-conv-preview {
  font-weight: 600;
}

.account-messagerie-conv-item.is-active .account-messagerie-conv-link {
  background: rgba(255, 102, 0, 0.08);
}

.account-messagerie-conv-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.account-messagerie-conv-link:hover {
  background: rgba(0, 0, 0, 0.03);
}

.account-messagerie-conv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 42px;
}

.account-messagerie-conv-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-alt);
  font-size: 1.1rem;
}

.account-messagerie-conv-body {
  min-width: 0;
  flex: 1;
}

.account-messagerie-conv-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.account-messagerie-conv-top strong {
  font-size: 0.9rem;
}

.account-messagerie-conv-date {
  font-size: 0.72rem;
  color: var(--color-muted, #666);
  white-space: nowrap;
}

.account-messagerie-conv-preview {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted, #666);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-messagerie-unread-badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ff6600;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-messagerie-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.account-messagerie-empty,
.account-messagerie-loading,
.account-messagerie-empty-item {
  padding: 2rem 1.25rem;
  color: var(--color-muted, #666);
}

.account-messagerie-thread {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.account-messagerie-thread-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border, #ddd);
}

.account-messagerie-back {
  display: none;
  color: inherit;
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
}

.account-messagerie-thread-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.account-messagerie-thread-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-alt);
}

.account-messagerie-thread-meta {
  display: grid;
  gap: 0.15rem;
}

.account-messagerie-thread-name {
  font-size: 0.95rem;
}

.account-messagerie-thread-profile {
  font-size: 0.78rem;
  color: var(--color-muted, #666);
}

.account-messagerie-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-bg) 100%);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.06);
}

.account-messagerie-conversations::-webkit-scrollbar,
.account-messagerie-messages::-webkit-scrollbar {
  width: 8px;
}

.account-messagerie-conversations::-webkit-scrollbar-track,
.account-messagerie-messages::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.account-messagerie-conversations::-webkit-scrollbar-thumb,
.account-messagerie-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
}

.account-messagerie-conversations::-webkit-scrollbar-thumb:hover,
.account-messagerie-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.32);
}

.account-messagerie-messages-end {
  width: 100%;
  height: 0;
  flex: 0 0 auto;
}

.account-messagerie-thread-empty {
  margin: 0;
  color: var(--color-muted, #666);
  text-align: center;
  padding: 2rem 0;
}

.account-messagerie-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.account-messagerie-msg--mine {
  justify-content: flex-end;
}

.account-messagerie-msg-bubble {
  max-width: min(85%, 520px);
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: #eef1f4;
  position: relative;
}

.account-messagerie-msg--mine .account-messagerie-msg-bubble {
  background: #ffe8d6;
}

.account-messagerie-msg-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.45;
}

.account-messagerie-msg-image-btn {
  display: block;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.account-messagerie-msg-image {
  display: block;
  max-width: 100%;
  max-height: 280px;
  border-radius: 10px;
}

.account-messagerie-msg-time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: var(--color-muted, #666);
}

.account-messagerie-msg-delete {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #666;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.account-messagerie-msg--mine:hover .account-messagerie-msg-delete,
.account-messagerie-msg-delete:focus {
  opacity: 1;
}

.account-messagerie-msg-delete:hover {
  background: rgba(200, 0, 0, 0.12);
  color: #a00;
}

.account-messagerie-compose {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border, #ddd);
  background: var(--color-surface);
}

.account-messagerie-add-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-border, #ccc);
  background: var(--color-surface);
  color: #666;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 300;
}

.account-messagerie-add-btn:hover {
  border-color: #ff6600;
  color: #ff6600;
}

.account-messagerie-input {
  flex: 1;
  min-width: 0;
  resize: none;
  min-height: 2.25rem;
  max-height: 6rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-border, #ccc);
  border-radius: 18px;
  font: inherit;
}

.account-messagerie-send-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ff6600;
  color: #fff;
  cursor: pointer;
}

.account-messagerie-send-btn:hover {
  background: #e55a00;
}

.account-messagerie-send-btn svg {
  display: block;
  margin-left: 2px;
}

.account-messagerie-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.account-messagerie-lightbox[hidden] {
  display: none !important;
}

.account-messagerie-lightbox img {
  max-width: min(96vw, 900px);
  max-height: 90vh;
  border-radius: 8px;
}

.account-messagerie-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.account-messagerie-lightbox-open {
  overflow: hidden;
}

.account-messagerie-flash {
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .account-messagerie {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 34%) minmax(0, 1fr);
  }

  .account-messagerie-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--color-border, #ddd);
    min-height: 0;
  }

  .account-messagerie-main {
    min-height: 0;
  }

  .account-messagerie-back {
    display: inline-block;
  }
}

/* Night mode — composants encore en clair */
.site-search-field {
  background: var(--color-input-bg);
}

.site-search-field:focus-within {
  background: var(--color-surface);
}

.site-search--sidebar .site-search-field:focus-within {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.site-search--sidebar .site-search-field:focus-within .site-search-input,
.site-search--sidebar .site-search-field:focus-within .site-search-input::placeholder {
  color: #fff;
}

.site-search--sidebar .site-search-field:focus-within .site-search-icon {
  color: rgba(255, 255, 255, 0.75);
}

.auth-field input,
.auth-field textarea,
.auth-field select {
  background: var(--color-input-bg);
  color: var(--color-text);
}

.auth-flash--ok,
.product-avis-flash--ok {
  background: #0d3328;
  color: #6ee7b7;
  border: 1px solid #134e4a;
}

.auth-flash--error,
.product-avis-flash--error {
  background: #3b1212;
  color: #fca5a5;
  border: 1px solid #7f1d1d;
}

.auth-flash--info {
  background: #0c2d48;
  color: #7dd3fc;
  border: 1px solid #155e75;
}

.auth-submit--secondary {
  background: var(--color-surface-alt);
  color: var(--color-text);
  border-color: var(--color-border);
}

.auth-submit--secondary:hover {
  background: var(--color-border);
}

.product-closed-notice {
  background: #3d3000;
  border-color: #6b5600;
  color: #fde68a;
}

.horaires-status--open {
  background: #0d3328;
  color: #6ee7b7;
}

.horaires-status--closed {
  background: #3b1212;
  color: #fca5a5;
}

.detail-row--map .product-map {
  background: var(--color-surface-alt);
}

.list-item-card .photo .list-item-rating ul.vote {
  background: rgba(0, 0, 0, 0.72);
}

.product-favorite {
  background: #3d3000;
  box-shadow: inset 0 0 0 1px #6b5600;
}

.product-favorite.is-active {
  background: #6b5600;
  box-shadow: inset 0 0 0 1px #a88600;
}

.account-entreprise-badge--draft {
  background: #3d3000;
  color: #fde68a;
}

.account-entreprise-badge--published {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.account-entreprise-badge--closed {
  background: var(--color-surface-alt);
  color: var(--color-muted);
}

.account-nav-promotions-block {
  background: #0c2d48;
}

.account-nav-promotions-link {
  color: #93c5fd;
}

.account-nav-promotions-link:hover,
.account-nav-promotions-link.is-active {
  background: #1e3a5f;
  color: #bfdbfe;
}

.account-nav-mobile-link--promotions {
  border-color: #2563eb;
  background: #0c2d48;
  color: #93c5fd;
}

.account-nav-mobile-link--promotions:hover,
.account-nav-mobile-link--promotions.is-active {
  background: #1e3a5f;
  color: #bfdbfe;
}

.account-avis-btn-pause,
.account-amis-btn--danger {
  background: #3b1212;
  color: #fca5a5;
  border-color: #7f1d1d;
}

.account-avis-btn-pause:hover,
.account-amis-btn--danger:hover {
  background: #7f1d1d;
}

.account-notification-item--unread {
  background: var(--color-surface-alt);
}

.account-activite-react-summary,
.account-activite-com {
  border-color: var(--color-border);
}

.account-messagerie-thread--unread {
  background: var(--color-surface-alt);
}

.account-messagerie-bubble--mine {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.account-messagerie-bubble--theirs {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.product-description,
.page-intro-text,
.product-geoloc,
.legal-page {
  color: var(--color-text);
}

.product-description :where(p, li, h2, h3, h4, strong, em, span, div),
.page-intro-text :where(p, li, h2, h3, h4, strong, em, span, div) {
  color: inherit;
}

a {
  color: var(--color-accent);
}

a:hover {
  color: #5eead4;
}

.stat-pill {
  color: var(--color-accent);
}

a.stat-pill:hover {
  color: #000;
}

.card-link,
.subcategory-card,
.list-item-card h2 a {
  color: var(--color-text);
}

.list-item-card .intro {
  color: var(--color-muted);
}

.site-nav .nav-group-toggle,
.site-nav li a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav li a:hover,
.site-nav .nav-group-link.is-active {
  color: #fff;
}

.site-brand .tld {
  color: rgba(255, 255, 255, 0.55);
}

.site-nav .nav-group-toggle::after {
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.leaflet-container {
  background: var(--color-surface-alt);
}

.leaflet-bar a,
.leaflet-control-layers,
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.account-messagerie-messages {
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.06);
}

.account-messagerie-conversations::-webkit-scrollbar-track,
.account-messagerie-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.account-messagerie-conversations::-webkit-scrollbar-thumb,
.account-messagerie-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
}

.account-messagerie-conversations::-webkit-scrollbar-thumb:hover,
.account-messagerie-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

.leaflet-bar a:hover {
  background: var(--color-surface-alt);
}
