/* ==========================================================================
  Dynasty8 — Design tokens
  Identité : toit vert + soleil jaune (logo), encre sombre, fond clair ou forêt
  Display : "Bricolage Grotesque"  ·  Corps : "Instrument Sans"
  ========================================================================== */

:root {
  --charcoal: #0b120f;
  --charcoal-2: #121c17;
  --surface-sunken: #0e1713;
  --cream: #eaf1ec;
  --cream-rgb: 234, 241, 236;
  --tomato: #1c8a4b;
  --tomato-bright: #36c277;
  --cheese: #f2c230;
  --basil: #2fb36d;
  --basil-bright: #52d98f;
  --sun: #f2c230;
  --roof: #127a3d;
  --roof-deep: #0c5a2c;
  --line: rgba(170, 210, 186, 0.16);
  --shadow: rgba(0, 0, 0, 0.5);
  --tag-text-accent: #bdf0d3;
  --brand-muted: #8fbea5;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-script: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 8% 8%, var(--bg-accent-1) 0, transparent 32%),
    radial-gradient(circle at 92% 0, var(--bg-accent-2) 0, transparent 28%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2) 42%, var(--bg-grad-3) 100%);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.2s;
}

main { flex: 1; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.table-section .wrap {
  max-width: 1360px;
}

.wrap-narrow { max-width: 560px; }
.wrap-legal { max-width: 760px; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cheese);
  font-size: 0.85rem;
  margin: 0 0 0.6em;
}
.eyebrow.center { text-align: center; }
h2.center { text-align: center; margin-bottom: 0.8em; }

.script { font-family: var(--font-script); color: var(--basil-bright); font-weight: 700; }

.center { text-align: center; }
.muted { color: rgba(var(--cream-rgb), 0.45); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 15, 13, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.03em; color: var(--cream); }
.brand-mark { filter: drop-shadow(0 8px 14px rgba(13, 111, 65, 0.42)); }
.brand-mark-logo {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-sunken);
  border: 1px solid rgba(13, 111, 65, 0.16);
  overflow: hidden;
}
.brand-logo { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-text em { font-style: normal; color: var(--cheese); }
.brand-text small { font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-muted); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 0.95rem; flex-wrap: nowrap; }
.main-nav a { opacity: 0.85; transition: opacity 0.2s, color 0.2s; white-space: nowrap; flex-shrink: 0; }
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--basil-bright); }
.nav-login { border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.nav-logout {
  background: none; border: 1px solid var(--line); color: var(--cream);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.nav-logout:hover { border-color: var(--tomato-bright); color: var(--tomato-bright); }
.inline-form { display: inline; flex-shrink: 0; }
.theme-toggle { flex-shrink: 0; }

/* ---------- Menu compte (dropdown) ---------- */
.account-menu { position: relative; flex-shrink: 0; }
.account-menu-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; cursor: pointer; font-family: var(--font-body);
  color: var(--cream); font-weight: 600; font-size: 0.85rem; white-space: nowrap;
  transition: border-color 0.2s;
}
.account-menu-trigger:hover { border-color: var(--cheese); }
.account-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--tomato), var(--tomato-bright)); color: #062018;
  font-size: 0.8rem; font-weight: 700; font-family: var(--font-body);
}
.account-menu-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.account-menu-caret { font-size: 0.7rem; opacity: 0.7; transition: transform 0.2s; }
.account-menu.is-open .account-menu-caret { transform: rotate(180deg); }
.account-menu-dropdown .inline-form { display: block; width: 100%; }
.account-menu-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 90;
  min-width: 190px; background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 20px 40px -12px var(--shadow);
  display: flex; flex-direction: column; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.account-menu.is-open .account-menu-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.account-menu-dropdown a,
.account-menu-logout {
  display: block; width: 100%; text-align: left; background: none; border: none;
  color: var(--cream); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  padding: 10px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap;
}
.account-menu-dropdown a:hover,
.account-menu-logout:hover { background: rgba(20, 161, 98, 0.14); color: var(--basil-bright); }
.account-menu-logout:hover { color: var(--tomato-bright); background: rgba(20, 161, 98, 0.1); }

/* ---------- Sélecteur de thème ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--cream); cursor: pointer; font-size: 1rem;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.theme-toggle:hover { border-color: var(--cheese); transform: translateY(-1px); }
.theme-toggle .icon-moon { display: inline; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: inline; }

/* ---------- Recherche globale (header) + autocomplete ---------- */
.header-search { position: relative; flex-shrink: 1; min-width: 100px; }
.header-search-form {
  display: flex; align-items: center; gap: 6px; height: 38px; box-sizing: border-box;
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 0 5px 0 12px; width: 180px; max-width: 100%;
  transition: border-color 0.2s;
}
.header-search-form:focus-within { border-color: var(--basil-bright); }
.header-search-form input {
  border: none; background: transparent; color: var(--cream);
  font-family: var(--font-body); font-size: 0.85rem; line-height: 1; flex: 1; outline: none;
  min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.header-search-form input::placeholder { color: rgba(var(--cream-rgb), 0.4); }
.header-search-form button {
  border: none; background: transparent; color: var(--cheese); cursor: pointer;
  font-size: 1rem; padding: 4px 8px; display: flex; align-items: center; line-height: 1;
}
/* La liste de suggestions est ancrée à droite et a sa propre largeur minimale :
   avec `left:0; right:0` elle héritait des ~148px du champ de recherche, ce qui
   tronquait les noms de biens et masquait les prix. */
.search-suggestions {
  position: absolute; top: calc(100% + 8px); right: 0; left: auto;
  width: max(320px, 100%); max-width: min(360px, 92vw);
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 40px -12px var(--shadow); overflow: hidden; z-index: 95;
  display: none;
}
.search-suggestions.is-open { display: block; }
.search-suggestion-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  text-decoration: none; color: var(--cream); border-bottom: 1px solid var(--line);
}
.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover, .search-suggestion-item.is-active { background: rgba(20, 161, 98, 0.12); }
.search-suggestion-item img { width: 40px; height: 30px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.search-suggestion-name {
  font-weight: 600; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; min-width: 0;
}
.search-suggestion-price { font-size: 0.78rem; opacity: 0.6; margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.search-suggestion-empty { padding: 14px; font-size: 0.85rem; opacity: 0.6; }

@media (max-width: 640px) {
  .search-suggestions { right: -12px; max-width: 88vw; }
}

/* ---------- Favoris (localStorage) ---------- */
.nav-favoris { position: relative; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-favoris .fav-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--cheese); color: #1c1400; font-size: 0.68rem; font-weight: 700;
}
.fav-toggle {
  position: absolute; bottom: 12px; right: 12px; z-index: 5;
  width: 36px; height: 36px; border-radius: 999px; border: none;
  background: rgba(9, 15, 13, 0.55); color: #fff; font-size: 1.05rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}
.fav-toggle:hover { transform: scale(1.08); }
.fav-toggle.is-active { color: #ff5d7a; }
.fav-toggle.is-active .fav-toggle-icon::before { content: '♥'; }
.fav-toggle-icon::before { content: '♡'; }
.fav-toggle-btn.is-active { border-color: #ff5d7a; color: #ff5d7a; }

/* ==========================================================================
   Skeleton loading — placeholders animés pendant le chargement des images
   ========================================================================== */
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.featured-card-image,
.menu-card-image,
.carousel-main,
.thumb-btn {
  background-image: linear-gradient(100deg, var(--charcoal-2) 30%, var(--line) 50%, var(--charcoal-2) 70%);
  background-size: 250% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}
.featured-card-image.img-loaded,
.menu-card-image.img-loaded,
.carousel-main.img-loaded,
.thumb-btn.img-loaded {
  animation: none;
  background-image: none;
}
.featured-card-image img,
.menu-card-image img,
.carousel-main img,
.thumb-btn img {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.featured-card-image img.img-visible,
.menu-card-image img.img-visible,
.carousel-main img.img-visible,
.thumb-btn img.img-visible {
  opacity: 1;
}

/* ==========================================================================
   Thème clair — activé via [data-theme="light"] sur <html>
   ========================================================================== */
html[data-theme="light"] {
  --charcoal: #f1f5f2;
  --charcoal-2: #ffffff;
  --surface-sunken: #e9f0ec;
  --cream: #0f1d16;
  --cream-rgb: 15, 29, 22;
  --line: rgba(15, 40, 28, 0.12);
  --shadow: rgba(15, 40, 28, 0.16);
  --tomato: #0e6b35;
  --tomato-bright: #0e7a3c;
  --basil: #0e6b35;
  --basil-bright: #0e6b35;
  --cheese: #7d5800;
  --tag-text-accent: #0e6b35;
  --brand-muted: #3f7a5b;
}
html[data-theme="light"] .btn-primary { color: #fff; }
html[data-theme="light"] .muted { color: rgba(16, 32, 26, 0.5); }
html[data-theme="light"] .featured-card-image,
html[data-theme="light"] .menu-card-image,
html[data-theme="light"] .carousel-main,
html[data-theme="light"] .thumb-btn { background: #e7efe9; }
html[data-theme="light"] ::selection { background: rgba(20, 161, 98, 0.25); }

@media (max-width: 860px) {
  .header-search-form { min-width: 0; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; cursor: pointer; border: none; transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn-primary { background: linear-gradient(135deg, #0f8c53, #0d7042); color: #ffffff; box-shadow: 0 10px 24px -8px rgba(15, 140, 83, 0.54); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(15, 140, 83, 0.6); }
.btn-ghost { background: var(--charcoal-2); border: 1px solid rgba(126, 183, 152, 0.35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--basil-bright); color: var(--basil-bright); }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.btn-small {
  padding: 7px 12px;
  font-size: 0.76rem;
  min-height: 34px;
  line-height: 1;
}
.btn-danger { background: rgba(193, 68, 14, 0.15); color: #e8836a; border: 1px solid rgba(193, 68, 14, 0.4); }
.btn-danger:hover { background: rgba(193, 68, 14, 0.3); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 70px);
  display: flex; align-items: center;
  padding: 100px 0;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-title { margin-bottom: 0.5em; }
.hero-sub { font-size: 1.1rem; color: rgba(var(--cream-rgb), 0.75); max-width: 560px; }
.hero-sub.small { font-size: 0.95rem; }
.hero-cta { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }


/* Reveal animations (JS toggles .is-visible) */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s ease forwards; }
.hero-title.reveal { animation-delay: 0.05s; }
.hero-sub.reveal { animation-delay: 0.2s;  }
.hero-cta.reveal { animation-delay: 0.35s; }
.eyebrow.reveal { animation-delay: 0s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Story section ---------- */
.section { padding: 90px 0; }
.story { background: linear-gradient(180deg, var(--story-grad-1), var(--story-grad-2)); }
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.story-text p { color: rgba(var(--cream-rgb), 0.78); }

.story-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line);
}
.story-stat { display: flex; flex-direction: column; gap: 2px; }
.story-stat-value { font-family: var(--font-display); font-size: 2.1rem; color: var(--cheese); line-height: 1; }
.story-stat-label { font-size: 0.82rem; color: rgba(var(--cream-rgb), 0.6); }

.story-art {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 20px 50px var(--shadow);
}
.story-art svg { width: 100%; height: 100%; display: block; }

/* ---------- Localisation ---------- */
.location-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.location-map {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 20px 50px var(--shadow);
}
.location-map img { width: 100%; height: 100%; object-fit: cover; }
.location-info p { color: rgba(var(--cream-rgb), 0.78); }
.location-list { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.location-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.location-icon { display: inline-flex; width: 28px; justify-content: center; }

/* ---------- Highlights ---------- */
.highlights {
  background: repeating-linear-gradient(
    135deg,
    var(--highlights-stripe-1) 0px,
    var(--highlights-stripe-1) 90px,
    var(--highlights-stripe-2) 90px,
    var(--highlights-stripe-2) 180px
  );
}
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.highlight-card {
  background: var(--charcoal-2); border: 1px solid rgba(126, 183, 152, 0.22); border-radius: var(--radius);
  padding: 32px 26px; text-align: center;
}
.highlight-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--tomato);
  background: rgba(20, 161, 98, 0.15);
  font-weight: 800;
}
.highlight-card p { color: rgba(var(--cream-rgb), 0.7); font-size: 0.95rem; }

.cta-band { background: linear-gradient(130deg, #0f7a4a, #12a15f); text-align: center; color: #ffffff; }
.cta-band-inner p { color: rgba(255, 255, 255, 0.86); margin-bottom: 24px; }

@media (max-width: 860px) {
  .story-grid, .location-grid { grid-template-columns: 1fr; }
  .story-art, .location-map { max-width: 420px; margin: 0 auto; }
  .location-grid .location-map { order: -1; }
}

/* ---------- Homepage selections ---------- */
.featured-section {
  padding-top: 0;
}
.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.featured-kicker {
  margin: 0 0 0.4em;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--charcoal-2);
  border: 1px solid rgba(126, 183, 152, 0.24);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 122, 74, 0.5);
}
.featured-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-sunken);
}
.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
}
.featured-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.featured-ref {
  color: var(--cheese);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.featured-price {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.featured-desc {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.72);
  font-size: 0.92rem;
}
.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(15, 122, 74, 0.18);
  color: var(--tag-text-accent);
}
.feature-tag.dim {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(var(--cream-rgb), 0.7);
}
.featured-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.featured-card:focus-visible {
  outline: 2px solid var(--cheese);
  outline-offset: 3px;
}
.featured-empty {
  grid-column: 1 / -1;
  background: var(--charcoal-2);
  border: 1px solid rgba(126, 183, 152, 0.24);
  border-radius: var(--radius);
  padding: 28px;
  color: rgba(var(--cream-rgb), 0.68);
}

/* ---------- Menu / Carte ---------- */
.menu-hero { padding: 80px 0 40px; text-align: center; }
.menu-meta { margin: 8px 0 0; color: rgba(var(--cream-rgb), 0.72); font-size: 0.92rem; }
.filters-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.filters-bar.categories { margin-bottom: 26px; }
.filter-chip {
  border: 1px solid rgba(15, 122, 74, 0.26);
  background: #ffffff;
  color: #0f6b3f;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-chip.is-active { background: #0f7a4a; color: #ffffff; border-color: #0f7a4a; }
.menu-section { padding-top: 20px; }
.menu-category { margin-bottom: 56px; }
.menu-category-title {
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 28px;
  color: var(--cheese);
}
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.menu-card {
  background: var(--charcoal-2); border: 1px solid rgba(126, 183, 152, 0.24); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s, border-color 0.2s;
}
.menu-card:hover { transform: translateY(-4px); border-color: rgba(15, 122, 74, 0.5); }
.menu-card-image { position: relative; aspect-ratio: 4 / 3; background: var(--surface-sunken); }
.menu-card-image img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; opacity: 0.7; letter-spacing: 0.1em; }
.menu-card-body { padding: 18px 20px 22px; }
.menu-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-card-top h3 { margin: 0; font-size: 1.15rem; }
.menu-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--cheese); white-space: nowrap; }
.menu-desc { font-size: 0.9rem; color: rgba(var(--cream-rgb), 0.75); margin: 8px 0 12px; }
.property-pricing {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 122, 74, 0.2);
  border-radius: 10px;
  background: var(--surface-sunken);
}
.property-pricing p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(var(--cream-rgb), 0.82);
}
.property-pricing p + p { margin-top: 6px; }
.property-pricing strong { color: var(--cheese); font-weight: 700; }
.menu-composition-line { font-size: 0.85rem; color: var(--tag-text-accent); font-style: italic; }
.menu-stock { font-size: 0.85rem; display: flex; align-items: center; gap: 8px; margin: 0; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.stock-dot.ok { background: var(--basil); }
.stock-dot.ko { background: #b15f18; }

.badge { position: absolute; top: 10px; left: 10px; font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.badge-out { background: rgba(177, 95, 24, 0.9); color: #fff; }
.badge-low { background: rgba(224, 190, 54, 0.95); color: #2f2504; }
.badge-ref { top: 10px; right: 10px; left: auto; background: rgba(10, 30, 20, 0.74); color: #d8f8e8; border: 1px solid rgba(126, 183, 152, 0.35); }
.badge-protected { background: rgba(90, 125, 84, 0.25); color: var(--basil); font-size: 0.7rem; padding: 3px 9px; border-radius: 999px; margin-left: 8px; }
.badge-promo { background: rgba(193, 68, 14, 0.95); color: #fff; top: 10px; right: 10px; left: auto; }

/* ---------- Promotions ---------- */
.price-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.price-original { font-size: 0.85rem; color: rgba(var(--cream-rgb), 0.45); text-decoration: line-through; }
.price-promo { color: var(--tomato-bright); }
.promo-badge-inline {
  display: inline-block; font-size: 0.7rem; font-weight: 700; color: #fff;
  background: rgba(193, 68, 14, 0.95); padding: 3px 8px; border-radius: 999px; margin-left: 8px;
}

.empty-state { text-align: center; color: rgba(var(--cream-rgb), 0.5); padding: 40px 0; }

/* ---------- Auth ---------- */
.auth-section { padding: 100px 0; min-height: 60vh; display: flex; align-items: center; }
.auth-wrap { display: flex; justify-content: center; }
.auth-card {
  background: var(--charcoal-2); border: 1px solid rgba(126, 183, 152, 0.24); border-radius: var(--radius);
  padding: 42px; width: 100%; max-width: 420px;
  box-shadow: 0 20px 45px rgba(10, 40, 24, 0.08);
}
.auth-form { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }

/* ---------- Forms ---------- */
label { font-size: 0.85rem; font-weight: 600; color: rgba(var(--cream-rgb), 0.8); margin-top: 14px; display: block; }
input, select, textarea {
  width: 100%; background: var(--surface-sunken); border: 1px solid rgba(126, 183, 152, 0.28); border-radius: 10px;
  padding: 12px 14px; color: var(--cream); font-family: var(--font-body); font-size: 0.95rem; margin-top: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(20, 149, 90, 0.2); outline-offset: 1px; border-color: var(--tomato-bright); }
.checkbox-label { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.checkbox-label input { width: auto; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr auto; }
.form-row-btn { grid-template-columns: 1fr 1fr auto; }
.stack-form, .line-form { display: flex; flex-direction: column; }
.current-image-preview { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; margin-top: 10px; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 0.9rem; }
.alert-error { background: rgba(193, 68, 14, 0.15); border: 1px solid rgba(193, 68, 14, 0.4); color: #f0a98a; }
.alert-success { background: rgba(90, 125, 84, 0.15); border: 1px solid rgba(90, 125, 84, 0.4); color: #a9c7a3; }
.form-hint { margin: 6px 0 0; font-size: 0.82rem; color: rgba(var(--cream-rgb), 0.55); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: start;
}
.contact-form,
.contact-sidebar {
  width: 100%;
}
.contact-sidebar {
  position: sticky;
  top: 92px;
}
.contact-points {
  margin-top: 16px;
}
.contact-head {
  align-items: end;
}
.contact-head .hero-sub {
  max-width: 700px;
}

/* ---------- Dashboard ---------- */
.dash-section { padding-top: 60px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 30px 0 40px; }
.stat-card { background: var(--charcoal-2); border: 1px solid rgba(126, 183, 152, 0.24); border-radius: var(--radius); padding: 22px 24px; min-height: 160px; }
.stat-label { display: block; font-size: 0.8rem; color: rgba(var(--cream-rgb), 0.64); margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-size: 2rem; color: var(--cheese); }
.stat-inline { color: rgba(var(--cream-rgb), 0.7); }
.menu-composition { color: rgba(var(--cream-rgb), 0.7); white-space: nowrap; display: inline-flex; gap: 6px; font-size: 0.85rem; }

.dash-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.action-card {
  background: var(--charcoal-2); border: 1px solid rgba(126, 183, 152, 0.24); border-radius: var(--radius);
  padding: 26px; transition: transform 0.2s, border-color 0.2s; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%;
}
.action-card:hover { transform: translateY(-3px); border-color: rgba(15, 122, 74, 0.5); }
.action-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.action-card p { color: rgba(var(--cream-rgb), 0.65); font-size: 0.9rem; margin: 6px 0 0; }
.dash-actions { grid-auto-rows: 1fr; }

.panel { background: var(--charcoal-2); border: 1px solid rgba(126, 183, 152, 0.24); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 24px; }
.low-stock-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.low-stock-list li { font-size: 0.9rem; color: rgba(var(--cream-rgb), 0.82); border-bottom: 1px dashed rgba(15, 122, 74, 0.25); padding-bottom: 8px; }

.bulk-actions-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: rgba(16, 25, 22, 0.92);
  border: 1px solid rgba(126, 183, 152, 0.24);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.bulk-actions-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
}
.bulk-actions-subtitle {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: rgba(var(--cream-rgb), 0.62);
}
.bulk-actions-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.bulk-vehicle-form { display: none; }
.select-col {
  width: 44px;
}
.select-col input,
.vehicle-select {
  width: 18px;
  height: 18px;
  accent-color: var(--basil);
  margin: 0;
}

/* ---------- Tables ---------- */
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 16px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th { text-align: left; padding: 12px 14px; color: var(--cheese); border-bottom: 1px solid var(--line); font-weight: 600; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid rgba(126, 183, 152, 0.2); vertical-align: middle; }
.row-inactive { opacity: 0.45; }
.text-warn { color: var(--tomato-bright); font-weight: 700; }
.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  min-width: 0;
}
.table-actions form {
  display: inline-flex;
  margin: 0;
}
.table-actions .btn {
  white-space: nowrap;
}
.admin-table td:last-child {
  min-width: 0;
  width: 1%;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}
.admin-table th:last-child {
  width: 1%;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}
.thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.thumb-placeholder { display: flex; align-items: center; justify-content: center; background: var(--charcoal); font-size: 1.3rem; }
.pw-reset-form { display: flex; gap: 8px; align-items: center; }
.pw-reset-form input { width: 170px; margin-top: 0; padding: 8px 10px; font-size: 0.85rem; }
.user-name-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 260px; }
.user-name-form input { width: 120px; margin-top: 0; padding: 8px 10px; font-size: 0.85rem; }

/* ---------- Line items (stock / sale forms) ---------- */
.line-items { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; }
.line-item { display: grid; grid-template-columns: 2fr 1fr auto; gap: 10px; align-items: center; }
.line-item.no-remove { grid-template-columns: 2fr 1fr; }
.sale-line { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.sale-line .line-item { grid-template-columns: 2fr 1fr 90px auto; }
.line-item select, .line-item input { margin-top: 0; }
.line-subtotal { text-align: right; font-weight: 700; color: var(--cheese); font-size: 0.9rem; }
.remove-line {
  background: none; border: 1px solid var(--line); color: rgba(var(--cream-rgb), 0.6);
  border-radius: 8px; width: 38px; height: 38px; cursor: pointer;
}
.remove-line:hover { border-color: var(--tomato-bright); color: var(--tomato-bright); }

/* ---------- Composition des menus (choix des produits inclus) ---------- */
.menu-choices:empty { display: none; }
.menu-choices { display: flex; flex-direction: column; gap: 10px; background: var(--charcoal-2); border-radius: 10px; padding: 14px 16px; }
.menu-choice-group { display: flex; flex-direction: column; gap: 6px; }
.menu-choice-label { margin: 0; font-size: 0.78rem; font-weight: 600; color: var(--cheese); text-transform: uppercase; letter-spacing: 0.03em; }
.menu-choice-select { margin-top: 0 !important; }
.menu-choice-empty { margin: 0; font-size: 0.85rem; color: rgba(var(--cream-rgb), 0.5); font-style: italic; }
.total-bar {
  display: flex; justify-content: space-between; align-items: center; margin: 10px 0 6px;
  padding: 16px 20px; background: var(--charcoal-2); border-radius: 10px; font-size: 1.05rem;
}
.total-bar strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--cheese); }
.total-bar.subtotal-bar { font-size: 0.9rem; color: rgba(var(--cream-rgb), 0.7); background: transparent; padding: 6px 20px; margin: 24px 0 0; }
.total-bar.subtotal-bar strong { font-size: 1rem; color: var(--cream); font-family: var(--font-body); }
.total-bar.discount-bar { font-size: 0.9rem; color: rgba(var(--cream-rgb), 0.7); background: transparent; padding: 0 20px; margin: 4px 0 0; }
.total-bar.discount-bar strong { font-size: 1rem; color: var(--basil); font-family: var(--font-body); }

.discount-field {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px;
}
.discount-field label { margin: 0; white-space: nowrap; }
.discount-field input { margin: 0; max-width: 110px; }
.discount-field .discount-suffix { color: rgba(var(--cream-rgb), 0.6); font-size: 0.9rem; }

/* ---------- Ancienne fidélité / clients ---------- */
.customer-field {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px;
  background: var(--charcoal-2); border: 1px solid rgba(15, 122, 74, 0.2); border-radius: 10px; padding: 16px 18px;
}
.customer-field label { margin: 0; }
.customer-field select { margin-top: 4px; }
.new-customer-fields { display: flex; gap: 12px; flex-wrap: wrap; }
.new-customer-fields input { margin-top: 0; flex: 1; min-width: 160px; }
.loyalty-summary p { margin: 4px 0; }
.points-gain { color: var(--basil-bright); font-weight: 700; }
.points-loss { color: var(--tomato-bright); font-weight: 700; }
.link-loyalty { display: inline-block; margin-top: 10px; color: var(--cheese); font-size: 0.9rem; }

.tier-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.tier-bronze { background: rgba(193, 120, 60, 0.2); color: #d99a63; }
.tier-argent { background: rgba(200, 200, 210, 0.18); color: #d7d7de; }
.tier-or { background: rgba(226, 168, 63, 0.22); color: var(--cheese); }
.tier-platine { background: rgba(150, 190, 220, 0.22); color: #b8dcf0; }

.new-customer-panel summary { cursor: pointer; font-weight: 600; color: var(--cheese); margin-bottom: 4px; }
.new-customer-panel[open] summary { margin-bottom: 16px; }
.small-text { font-size: 0.8rem; }
.eyebrow-link { color: inherit; text-decoration: none; }
.eyebrow-link:hover { text-decoration: underline; }

/* ---------- Receipt ---------- */
.receipt-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.receipt-table th, .receipt-table td { padding: 10px 8px; border-bottom: 1px dashed var(--line); text-align: left; }
.receipt-table tfoot td { border-top: 1px solid var(--line); border-bottom: none; font-weight: 700; padding-top: 14px; }
.receipt-choices { list-style: none; margin: 6px 0 0; padding: 0; font-size: 0.8rem; color: rgba(var(--cream-rgb), 0.6); }
.receipt-choices li { padding: 1px 0; }

/* ---------- Pages légales ---------- */
.legal-content { line-height: 1.75; }
.legal-content h2 { font-family: var(--font-display); letter-spacing: 0.02em; font-size: 1.4rem; color: var(--cheese); margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 14px; color: rgba(var(--cream-rgb), 0.85); }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; color: rgba(var(--cream-rgb), 0.85); }
.legal-content li { margin-bottom: 6px; }
.legal-content .updated-at { color: rgba(var(--cream-rgb), 0.5); font-size: 0.85rem; margin-bottom: 34px; }
.legal-placeholder { background: rgba(232, 163, 61, 0.12); border: 1px dashed rgba(232, 163, 61, 0.5); border-radius: 8px; padding: 2px 8px; color: var(--cheese); font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; text-align: center; margin-top: auto; }
.footer-sub { font-size: 0.8rem; color: rgba(var(--cream-rgb), 0.6); margin-top: 6px; }
.footer-legal-links { margin-top: 14px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.82rem; color: rgba(var(--cream-rgb), 0.74); }
.footer-legal-links a:hover { color: var(--cream); text-decoration: underline; }

.catalog-search {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) repeat(3, minmax(170px, 1fr)) auto;
  gap: 12px;
  margin: 0 0 22px;
  align-items: center;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap input {
  padding-left: 40px;
}
.search-icon {
  position: absolute;
  left: 14px;
  color: #8bbfa3;
  font-size: 1rem;
  pointer-events: none;
}
.catalog-search.is-typing .search-icon {
  animation: pulse-search 0.5s ease;
}
@keyframes pulse-search {
  0% { transform: scale(1); color: #8bbfa3; }
  50% { transform: scale(1.2); color: #f0c53f; }
  100% { transform: scale(1); color: #8bbfa3; }
}

.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.page-btn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 183, 152, 0.3);
  color: var(--cream);
  background: var(--surface-sunken);
  font-size: 0.84rem;
  font-weight: 700;
}
.page-btn.is-active {
  background: #0f7a4a;
  border-color: #0f7a4a;
  color: #fff;
}

.menu-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.property-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 22px;
  margin-bottom: 24px;
}
.carousel-panel {
  background: var(--charcoal-2);
  border: 1px solid rgba(126, 183, 152, 0.24);
  border-radius: var(--radius);
  padding: 14px;
}
.carousel-main {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-sunken);
  aspect-ratio: 16 / 9;
}
.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-thumbs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.thumb-btn {
  border: 1px solid rgba(126, 183, 152, 0.24);
  border-radius: 8px;
  padding: 0;
  background: var(--surface-sunken);
  cursor: pointer;
  overflow: hidden;
}
.thumb-btn img {
  width: 100%;
  height: 68px;
  object-fit: cover;
}
.thumb-btn.is-active {
  border-color: #f0c53f;
}
.property-long-description {
  white-space: pre-wrap;
}
.table-actions-inline {
  justify-content: flex-start;
  margin-top: 8px;
}
.status-actions-cell {
  vertical-align: top;
  white-space: nowrap;
}
.status-actions-cell .feature-tag,
.status-actions-cell .promo-badge-inline {
  margin-left: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
}
.gallery-item img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(126, 183, 152, 0.24);
}

@media (max-width: 1320px) {
  .admin-table th,
  .admin-table td {
    padding: 10px 10px;
    font-size: 0.84rem;
  }
  .admin-table td:last-child {
    min-width: 0;
    width: auto;
  }
  .table-actions {
    gap: 6px;
  }
  .bulk-actions-panel {
    align-items: flex-start;
  }
  .table-actions-inline {
    margin-top: 6px;
  }
}

@media (max-width: 1180px) {
  .wrap {
    padding: 0 16px;
  }
  .catalog-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-search .search-input-wrap {
    grid-column: 1 / -1;
  }
  .catalog-search button {
    width: 100%;
  }
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    position: static;
  }
}

@media (max-width: 1120px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1440px) {
  .table-wrap {
    overflow: visible;
  }
  .properties-table,
  .properties-table thead,
  .properties-table tbody,
  .properties-table tr,
  .properties-table th,
  .properties-table td {
    display: block;
    width: 100%;
  }
  .properties-table thead {
    display: none;
  }
  .properties-table tbody {
    display: grid;
    gap: 14px;
  }
  .properties-table tr {
    border: 1px solid rgba(126, 183, 152, 0.24);
    border-radius: 12px;
    padding: 12px;
    background: var(--charcoal-2);
  }
  .properties-table td {
    border-bottom: 1px dashed rgba(126, 183, 152, 0.2);
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: right;
  }
  .properties-table td:last-child {
    border-bottom: none;
    min-width: 0;
    padding-bottom: 0;
  }
  .properties-table td::before {
    content: attr(data-label);
    color: rgba(var(--cream-rgb), 0.65);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    flex: 0 0 42%;
  }
  .properties-table td[data-label="Image"] {
    align-items: flex-start;
  }
  .properties-table td[data-label="Image"]::before {
    margin-top: 14px;
  }
  .properties-table td[data-label="Selection"] {
    align-items: center;
  }
  .properties-table td[data-label="Selection"]::before {
    margin-top: 2px;
  }
  .properties-table .thumb {
    width: 74px;
    height: 74px;
  }
  .properties-table .table-actions {
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    min-width: 0;
  }
  .properties-table .table-actions::before {
    content: none;
  }
  .properties-table .table-actions form {
    margin: 0;
  }
}

@media (max-width: 1080px) {
  .properties-table td::before {
    flex: 0 0 46%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 12px; padding: 16px; }
  .main-nav { flex-wrap: wrap; justify-content: center; }
  .hero { min-height: calc(100svh - 130px); padding: 60px 0; }
  .catalog-search { grid-template-columns: 1fr; }
  .property-detail-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .dash-actions { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
  .bulk-actions-panel { align-items: stretch; }
  .bulk-actions-buttons { justify-content: stretch; }
  .bulk-actions-buttons .btn { width: 100%; }
  .featured-header { align-items: flex-start; }
  .featured-grid { grid-template-columns: 1fr; }
  .contact-head { align-items: flex-start; }
  .form-row, .form-row-3, .form-row-btn { grid-template-columns: 1fr; }
  .line-item, .line-item.no-remove, .sale-line .line-item { grid-template-columns: 1fr; }
  .pw-reset-form { flex-direction: column; align-items: stretch; }
  .pw-reset-form input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Refonte UI Dynasty8 — surcharges (chargées après les règles de base)
   ========================================================================== */
body { background: var(--charcoal); font-size: 16px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }
.eyebrow { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--basil-bright); margin: 0 0 0.5em; }
.reveal-on-scroll { opacity: 1; transform: none; transition: none; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
strong { color: inherit; }

/* ---------- Header : capsule flottante ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: none; border: 0; backdrop-filter: none; padding: 12px 12px 0; }
.header-inner {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 8px 10px 8px 14px; gap: 16px;
  background: color-mix(in srgb, var(--charcoal-2) 82%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 34px -20px var(--shadow);
}
.brand { gap: 10px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark-logo { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.brand-logo { object-fit: contain; }
.brand-text em { color: var(--cream); }
.brand-text small { font-size: 0.72rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--brand-muted); margin-top: 3px; }
.main-nav { gap: 4px; font-size: 0.92rem; }
.main-nav > a { padding: 8px 12px; border-radius: 999px; opacity: 1; color: rgba(var(--cream-rgb), 0.72); }
.main-nav > a:hover { background: var(--surface-sunken); color: var(--cream); }
.main-nav > a.active { background: rgba(var(--cream-rgb), 0.09); color: var(--cream); }
.nav-favoris svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-favoris .fav-count { background: var(--sun); color: #1b1500; }
.nav-login { background: var(--roof); color: #fff !important; border: 0; padding: 9px 16px; margin-left: 4px; }
.nav-login:hover { background: var(--roof-deep) !important; }
.header-search-form { width: 150px; background: var(--surface-sunken); transition: width 0.2s, border-color 0.2s; }
.header-search-form:focus-within { width: 230px; border-color: var(--roof); }
.header-search-form button { color: var(--cream); opacity: 0.7; }
.theme-toggle { color: var(--cream); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.account-menu-trigger { background: var(--surface-sunken); }
.account-avatar { background: var(--roof); color: #fff; }
.account-menu-dropdown a:hover, .account-menu-logout:hover { background: var(--surface-sunken); color: var(--cream); }
.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: auto; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-sunken); color: var(--cream); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

/* ---------- Boutons ---------- */
.btn { padding: 13px 24px; border-radius: 999px; font-weight: 700; }
.btn-primary { background: var(--roof); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--roof-deep); transform: translateY(-1px); box-shadow: none; }
html[data-theme="dark"] .btn-primary { background: var(--tomato); }
html[data-theme="dark"] .btn-primary:hover { background: var(--roof); }
.btn-sun { background: var(--sun); color: #1b1500; }
.btn-sun:hover { filter: brightness(0.94); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }

/* ---------- Hero : la façade de la maison ---------- */
.hero { --h: clamp(44px, 8vw, 110px); --sun-d: clamp(92px, 15vw, 172px); display: block; min-height: 0; padding: 0 12px; overflow: visible; }
.hero-frame { position: relative; max-width: 1180px; margin: 30px auto 0; }
.hero-sun {
  position: absolute; z-index: 0; width: var(--sun-d); aspect-ratio: 1; border-radius: 50%; background: var(--sun);
  right: calc(10% - var(--sun-d) / 2); top: calc(var(--h) * 0.72 - var(--sun-d) / 2);
  animation: sun-rise 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes sun-rise { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-house {
  position: relative; z-index: 1; text-align: center; color: #fff; border-radius: 0 0 30px 30px;
  background: linear-gradient(180deg, var(--roof), var(--roof-deep));
  padding: calc(var(--h) + 52px) 24px 60px;
  clip-path: polygon(0 var(--h), 50% 0, 78% calc(var(--h) * 0.56), 78% calc(var(--h) * 0.08), 85% calc(var(--h) * 0.08), 85% calc(var(--h) * 0.7), 100% var(--h), 100% 100%, 0 100%);
}
.hero-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.88rem; font-weight: 600;
}
.hero-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #5ff0a2; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 240, 162, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(95, 240, 162, 0); } }
.hero-title { max-width: 15ch; margin: 0 auto 0.45em; font-size: clamp(2.3rem, 5.6vw, 4.2rem); text-wrap: balance; }
.hero-sub { max-width: 54ch; margin: 0 auto; color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; }
.hero-search {
  max-width: 760px; margin: 34px auto 0; display: flex; gap: 8px; padding: 8px; text-align: left;
  background: var(--charcoal-2); color: var(--cream); border-radius: 20px; box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.6);
}
.seg { display: flex; flex-shrink: 0; background: var(--surface-sunken); border-radius: 13px; padding: 4px; }
.seg label { position: relative; margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: auto; margin: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 14px; border-radius: 10px; font-size: 0.88rem; font-weight: 700; color: rgba(var(--cream-rgb), 0.62); }
.seg input:checked + span { background: var(--charcoal-2); color: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 2px solid var(--sun); }
.hero-search input[type="search"] { flex: 1; min-width: 0; margin: 0; border: 0; background: transparent; padding: 0 12px; font-size: 1rem; }
.hero-search input[type="search"]:focus { box-shadow: none; outline: none; }
.hero-search .btn { border-radius: 13px; }
.hero-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-weight: 600; font-size: 0.92rem; }
.hero-links a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.hero-links a:hover { text-decoration-color: var(--sun); }
.hero-house > * { animation: hero-in 0.7s ease both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }
.hero-house > :nth-child(2) { animation-delay: 0.1s; } .hero-house > :nth-child(3) { animation-delay: 0.2s; }
.hero-house > :nth-child(4) { animation-delay: 0.3s; } .hero-house > :nth-child(5) { animation-delay: 0.4s; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.featured-section { padding: 72px 0 40px; }
.featured-kicker { display: none; }
.story { background: none; }
.story-stats { border-top: 1px solid var(--line); }
.story-stat-value { color: var(--cream); font-weight: 700; letter-spacing: -0.03em; }
.story-art, .location-map { border-radius: 24px; box-shadow: none; }
.location-icon { color: var(--basil-bright); }
.location-icon svg, .highlight-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.highlights { background: none; }
.highlight-grid { gap: 40px; }
.highlight-card { background: none; border: 0; border-top: 1px solid var(--cream); border-radius: 0; padding: 22px 0 0; text-align: left; }
.highlight-icon { width: 44px; height: 44px; margin: 0 0 16px; border-radius: 12px; background: rgba(var(--cream-rgb), 0.07); color: var(--basil-bright); }
.highlight-icon svg { width: 22px; height: 22px; }
.cta-band { background: none; padding: 30px 0 90px; }
.cta-band-inner { position: relative; overflow: hidden; background: var(--roof); border-radius: 30px; padding: 60px 28px; }
.cta-band-inner::after { content: ""; position: absolute; right: -50px; bottom: -100px; width: 250px; height: 250px; border-radius: 50%; background: var(--sun); }
.cta-band-inner > * { position: relative; z-index: 1; }
.cta-band-inner .btn-primary { background: var(--sun); color: #1b1500; }

/* ---------- Fiches biens ---------- */
.featured-card, .menu-card { border: 1px solid var(--line); border-radius: 22px; background: var(--charcoal-2); }
.featured-card:hover, .menu-card:hover { transform: translateY(-3px); border-color: var(--roof); box-shadow: 0 22px 40px -26px var(--roof); }
.featured-card-image, .menu-card-image { aspect-ratio: 4 / 3; }
.featured-card-body, .menu-card-body { padding: 18px 20px 22px; }
.featured-price, .menu-price { font-family: var(--font-display); font-weight: 700; color: var(--cream); letter-spacing: -0.02em; }
.featured-ref { text-transform: none; letter-spacing: 0; font-size: 0.86rem; font-weight: 500; color: rgba(var(--cream-rgb), 0.6); }
.feature-tag { background: var(--surface-sunken); color: var(--cream); border: 1px solid var(--line); font-weight: 600; }
.feature-tag.dim { color: rgba(var(--cream-rgb), 0.65); }
.badge-ref { background: rgba(255, 255, 255, 0.94); color: #10201a; border: 0; font-weight: 700; }
.menu-category-title { color: var(--cream); }
.menu-desc { color: rgba(var(--cream-rgb), 0.7); }
.menu-composition-line { color: rgba(var(--cream-rgb), 0.55); font-style: normal; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.is-ok { background: rgba(47, 179, 109, 0.15); color: var(--basil-bright); }
.status-pill.is-ko { background: rgba(232, 140, 40, 0.16); color: #e8a24a; }
html[data-theme="light"] .status-pill.is-ko { color: #965a08; }
.property-pricing { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-sunken); }
.property-pricing p { align-items: baseline; }
.property-pricing strong { color: rgba(var(--cream-rgb), 0.6); font-weight: 600; font-size: 0.84rem; }
.pp { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--cream); letter-spacing: -0.02em; }
.fav-toggle { background: rgba(255, 255, 255, 0.92); color: #10201a; }
.fav-toggle.is-active { color: #e0365a; }

/* ---------- Catalogue ---------- */
.menu-hero { text-align: left; padding: 56px 0 14px; }
.menu-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3.1rem); text-wrap: balance; }
.menu-meta { color: rgba(var(--cream-rgb), 0.6); }
.catalog-search { padding: 10px; gap: 8px; background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 22px; }
.catalog-search input, .catalog-search select { margin: 0; }
.search-icon { color: rgba(var(--cream-rgb), 0.5); }
.page-btn { background: var(--charcoal-2); border-color: var(--line); }
.page-btn.is-active { background: var(--roof); border-color: var(--roof); }
.carousel-panel, .panel, .auth-card, .stat-card, .action-card { border-color: var(--line); border-radius: 22px; }
.carousel-main { border-radius: 16px; }
.thumb-btn.is-active { border-color: var(--sun); }

/* ---------- Formulaires ---------- */
input, select, textarea { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-sunken); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--roof); box-shadow: 0 0 0 3px rgba(28, 160, 90, 0.25); }
label { color: rgba(var(--cream-rgb), 0.85); }
.form-hint { color: rgba(var(--cream-rgb), 0.55); }
.auth-card { box-shadow: none; }

/* ---------- Espaces agence / admin ---------- */
.stat-card { min-height: 0; }
.stat-value { color: var(--cream); font-weight: 700; letter-spacing: -0.03em; }
.action-card:hover { border-color: var(--roof); background: color-mix(in srgb, var(--roof) 8%, var(--charcoal-2)); transform: none; }
.admin-table th { color: rgba(var(--cream-rgb), 0.6); font-size: 0.78rem; font-weight: 600; background: var(--surface-sunken); }
.admin-table th:first-child { border-radius: 12px 0 0 12px; } .admin-table th:last-child { border-radius: 0 12px 12px 0; }
.admin-table tbody tr:hover { background: rgba(var(--cream-rgb), 0.035); }
.link-loyalty, .new-customer-panel summary, .line-subtotal, .menu-choice-label { color: var(--basil-bright); }
.legal-content h2 { color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 60px; padding: 56px 0 28px; text-align: left; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 14px 0 0; max-width: 32ch; color: rgba(var(--cream-rgb), 0.62); font-size: 0.94rem; }
.footer-col h4 { margin: 0 0 14px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.92rem; color: rgba(var(--cream-rgb), 0.66); }
.footer-col a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.84rem; color: rgba(var(--cream-rgb), 0.55); }
.footer-bottom a:hover { color: var(--cream); text-decoration: underline; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .header-inner { flex-direction: row; padding: 8px 8px 8px 12px; border-radius: 28px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; flex-wrap: nowrap;
    align-items: stretch; justify-content: flex-start; gap: 2px; padding: 10px; background: var(--charcoal-2);
    border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 26px 50px -22px var(--shadow);
  }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav > a { padding: 12px 14px; }
  .nav-login { margin: 6px 0 0; text-align: center; }
  .header-search { min-width: 0; margin: 6px 0; }
  .header-search-form, .header-search-form:focus-within { width: 100%; }
  .search-suggestions { position: static; width: 100%; max-width: none; margin-top: 6px; }
  .theme-toggle { align-self: flex-start; }
  .account-menu-dropdown { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 6px; }
  .account-menu.is-open .account-menu-dropdown { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hero-house { padding: calc(var(--h) + 36px) 18px 44px; }
  .hero-search { flex-direction: column; }
  .hero-search input[type="search"] { padding: 12px; }
  .seg span { padding: 9px 12px; }
  .section { padding: 56px 0; }
}

/* ==========================================================================
   Animations (désactivées par prefers-reduced-motion, voir règle globale)
   ========================================================================== */
/* Apparition au défilement, décalée d'une carte à l'autre */
.reveal-on-scroll { opacity: 0; transform: translateY(26px) scale(0.985); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

/* Soleil : halo qui respire une fois levé, léger flottement */
.hero-sun { animation: sun-rise 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) both, sun-glow 5s ease-in-out 1.5s infinite; translate: 0 var(--py, 0px); }
@keyframes sun-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 194, 48, 0.35), 0 0 60px 10px rgba(242, 194, 48, 0.25); } 50% { box-shadow: 0 0 0 22px rgba(242, 194, 48, 0), 0 0 110px 26px rgba(242, 194, 48, 0.4); } }
/* Façade : légère montée au chargement */
.hero-house { animation: house-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes house-in { from { opacity: 0; transform: translateY(36px); } }
/* Titre : les mots arrivent un par un */
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(0.5em); animation: word-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(0.35s + var(--w) * 70ms); }
@keyframes word-in { to { opacity: 1; transform: none; } }

/* Header compact quand on défile */
.header-inner { transition: padding 0.25s, box-shadow 0.25s, background 0.25s; }
.site-header.is-scrolled .header-inner { padding-top: 5px; padding-bottom: 5px; box-shadow: 0 18px 40px -18px var(--shadow); }
/* Soulignement animé des liens du footer et du hero */
.hero-links a, .footer-col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; text-decoration: none; transition: background-size 0.3s; }
.hero-links a { padding-bottom: 3px; background-image: linear-gradient(var(--sun), var(--sun)); background-size: 100% 1.5px; opacity: 0.92; }
.hero-links a:hover, .footer-col a:hover { background-size: 100% 1.5px; text-decoration: none; }

/* Boutons : reflet qui traverse au survol */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); transition: transform 0.6s; }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn:active { transform: scale(0.97); }

/* Cartes : zoom de l'image, prix qui se détache */
.featured-card-image img, .menu-card-image img { transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.featured-card:hover .featured-card-image img, .menu-card:hover .menu-card-image img { transform: scale(1.06); }
.featured-card, .menu-card { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s, box-shadow 0.35s; }
.featured-card:active, .menu-card:active { transform: translateY(-1px) scale(0.99); }
.status-pill.is-ok::before { animation: ping-ok 2.4s ease-out infinite; }
@keyframes ping-ok { 0% { box-shadow: 0 0 0 0 rgba(82, 217, 143, 0.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(82, 217, 143, 0); } }

/* Favori : petit « pop » du cœur */
.fav-toggle.is-active .fav-toggle-icon { animation: heart-pop 0.45s cubic-bezier(0.3, 1.8, 0.5, 1); }
@keyframes heart-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* Icônes des promesses et menu déroulant */
.highlight-icon { transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.25s; }
.highlight-card:hover .highlight-icon { transform: translateY(-4px) rotate(-6deg); background: var(--sun); color: #1b1500; }
.theme-toggle:active svg { transform: rotate(40deg) scale(0.8); }
.theme-toggle svg { transition: transform 0.3s; }

/* Bande finale : le soleil monte quand elle apparaît */
.cta-band-inner::after { transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); transform: translateY(70px); }
.cta-band-inner.is-visible::after { transform: none; }

/* ---- Ventes / locations ---- */
.deal-toggle { display: inline-flex; gap: 8px; margin-top: 6px; }
.deal-option { cursor: pointer; }
.deal-option input { position: absolute; opacity: 0; pointer-events: none; }
.deal-option span {
  display: inline-block; padding: 9px 22px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  border: 1px solid var(--line); background: var(--surface-sunken); color: var(--cream);
}
.deal-option input:checked + span { background: rgba(15, 122, 74, 0.25); border-color: var(--tomato-bright); }
.deal-option input:focus-visible + span { outline: 2px solid var(--tomato-bright); outline-offset: 2px; }
[hidden] { display: none !important; }

.state-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; border: 1px solid var(--line); background: var(--surface-sunken); color: var(--cream); white-space: nowrap; }
.state-tag.is-expiring { background: rgba(224, 190, 54, 0.2); border-color: rgba(224, 190, 54, 0.6); color: #e0be36; }
.state-tag.is-expired { background: rgba(193, 68, 14, 0.2); border-color: rgba(193, 68, 14, 0.55); color: #f0a98a; }
.state-tag.is-active, .state-tag.is-sale { background: rgba(15, 122, 74, 0.18); }
.state-tag.is-closed, .state-tag.is-canceled { opacity: 0.7; }

.proof-form { display: flex; flex-direction: column; gap: 10px; }
.proof-form input[type="file"] { padding: 10px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form select { width: auto; min-width: 150px; }
