/**
 * Kolê Group 2.0 — surcharge visuelle (inspirée de kole-group-redesign.html)
 * Charge après style.css ; réutilise les classes Django existantes.
 */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap");

:root {
  --cream: #faf7f2;
  --cream-dark: #f0ebe1;
  --rust: #c8461a;
  --rust-hover: #a83814;
  --amber: #d4891a;
  --amber-light: #f5c96a;

  --primary: var(--rust);
  --primary-dark: var(--rust-hover);
  --primary-light: #e85d2c;
  --primary-50: #fff5f0;
  --primary-100: #fde8dc;
  --accent: var(--amber);
  --accent-dark: #b8720f;
  --accent-soft: var(--amber-light);
  --cream: #faf7f2;
  --cream-2: var(--cream-dark);
  --surface: #ffffff;
  --surface-alt: var(--cream-dark);
  --ink: #1a1310;
  --ink-soft: #4a3f38;
  --muted: #9c8f87;
  --line: #e8e0d5;
  --line-strong: rgba(26, 19, 16, 0.14);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ink-light: #4a3f38;
  --ink-muted: #9c8f87;
  --border: #e8e0d5;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26, 19, 16, 0.06);
  --shadow: 0 8px 32px rgba(26, 19, 16, 0.1);
  --shadow-lg: 0 20px 60px rgba(26, 19, 16, 0.14);
  --shadow-primary: 0 8px 28px rgba(200, 70, 26, 0.35);
}

body {
  background: var(--cream);
  color: var(--ink-light);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3:not(.product-card__name), .page-title h1, .flash__header h2,
.home-categories__intro h2, .category-strip__header h3,
.services h2, .section-title {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.muted,
.flash__header span,
.home-categories__intro p {
  color: var(--ink-muted);
}

/* ─── Annonce ─── */
.notice {
  background: linear-gradient(90deg, #1a1310 0%, #2c1f18 50%, #1a1310 100%);
  color: var(--amber-light);
  border: none;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.notice strong { color: #fff; }
.notice .container { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* ─── Header ─── */
.topbar {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { padding: 10px 0; gap: 20px; min-height: 68px; }
.logo__image { height: 48px; filter: none; }

.search {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  max-width: 520px;
}
.search:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212, 137, 26, 0.12);
}
.search button {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ink);
}
.search button:hover { background: var(--rust); transform: none; }

.topbar__item {
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
}
.topbar__item:hover {
  background: var(--cream-dark);
  color: var(--ink);
}
.topbar__item--culture {
  background: linear-gradient(135deg, #c8461a, #d4891a);
  color: #fff !important;
  border-color: transparent;
  font-weight: 600;
  box-shadow: none;
}
.topbar__item--culture:hover {
  background: linear-gradient(135deg, #a83814, #b8720f);
  box-shadow: 0 4px 16px rgba(200, 70, 26, 0.3);
  color: #fff !important;
}

.dropdown__menu {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ─── Boutons ─── */
.btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  background: var(--rust);
  box-shadow: var(--shadow-primary);
}
.btn:hover {
  background: var(--rust-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200, 70, 26, 0.45);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--small {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
}
.product-card__btn--filled {
  background: var(--rust);
  border-color: var(--rust);
}
.product-card__btn--filled:hover {
  background: var(--rust-hover);
  border-color: var(--rust-hover);
}

/* ─── Hero accueil ─── */
.hero {
  padding: 28px 0 40px;
  gap: 20px;
  align-items: start;
}
.categories {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.categories h3 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.categories h3::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--rust);
  border-radius: 2px;
}
.categories__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-light);
  transition: background 0.16s, color 0.16s;
}
.categories__list a::before {
  content: "◆";
  font-size: 8px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  border-radius: 8px;
  color: var(--rust);
  flex-shrink: 0;
}
.categories__list a:hover {
  background: var(--cream);
  color: var(--ink);
}

.hero__banner,
.hero-slider {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: clamp(460px, 46vw, 560px);
}
.hero-slide::before {
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
}
.hero-slide::after {
  background:
    radial-gradient(ellipse 520px 360px at 72% 48%, rgba(212, 137, 26, 0.18), transparent 68%),
    linear-gradient(100deg,
      rgba(26, 19, 16, 0.86) 0%,
      rgba(26, 19, 16, 0.68) 34%,
      rgba(26, 19, 16, 0.32) 62%,
      rgba(26, 19, 16, 0.06) 100%);
}
.hero-slide .hero__content {
  padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px) clamp(64px, 5vw, 80px);
  box-sizing: border-box;
  min-height: 100%;
  max-width: 58%;
}
.hero-slider__dots {
  bottom: 22px;
  z-index: 5;
}
.hero__eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 6px 14px;
}
.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero__content p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.hero__content h1 em,
.hero__content .hero-title-accent {
  font-style: normal;
  background: linear-gradient(90deg, var(--amber-light), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__stats strong {
  font-family: var(--font-serif);
  color: var(--amber-light);
  font-size: 1.5rem;
}
.hero-slider__dots button.is-active {
  background: var(--amber-light);
  width: 28px;
  border-radius: 2px;
}

/* ─── Feature row ─── */
.feature-row {
  gap: 14px;
  margin-bottom: 8px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 70, 26, 0.12);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ─── Culture promo ─── */
.culture-promo__card {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a1108 0%, #2a1b0e 60%, #1c2840 100%);
  box-shadow: var(--shadow-lg);
  padding: 40px 44px;
}
.culture-promo__pill {
  color: var(--amber);
  letter-spacing: 0.12em;
}
.culture-promo__title-accent,
.culture-promo h2 em {
  font-style: normal;
  color: var(--amber-light);
}
.culture-promo__cta {
  background: var(--rust);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(200, 70, 26, 0.35);
}
.culture-promo__cta-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}
.culture-promo__feature-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ─── Page d'accueil (structure kole-group-redesign.html) ─── */
.home-page {
  padding-bottom: 24px;
}
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.hero-section {
  padding: 32px 0 48px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}
.hero-section:not(:has(.categories-sidebar)) {
  grid-template-columns: 1fr;
}

.categories-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  align-self: start;
}
.categories-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-title::before {
  content: "";
  display: block;
  width: 3px;
  height: 14px;
  background: var(--rust);
  border-radius: 2px;
}
.cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-light);
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}
.cat-item:hover {
  background: var(--cream);
  color: var(--ink);
}
.cat-item--muted {
  opacity: 0.75;
  cursor: default;
}
.cat-icon {
  width: 30px;
  height: 30px;
  background: var(--cream-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.cat-item:hover .cat-icon {
  background: rgba(200, 70, 26, 0.1);
}

.hero-slide {
  background: linear-gradient(135deg, #1a1108 0%, #2a1b0e 40%, #1c2840 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 600px 400px at 70% 50%, rgba(212, 137, 26, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 20% 80%, rgba(200, 70, 26, 0.1) 0%, transparent 60%);
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}
.hero-cart-mockup {
  font-size: clamp(80px, 12vw, 140px);
  filter: drop-shadow(0 20px 60px rgba(212, 137, 26, 0.4));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-cta {
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 28px rgba(200, 70, 26, 0.4) !important;
  border: none !important;
}
.hero-cta svg {
  transition: transform 0.22s;
}
.hero-cta:hover svg {
  transform: translateX(4px);
}
.hero__stats .stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 3px;
}
.hero__stats .stat-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.slide-dots button {
  height: 3px;
  width: 16px;
  border-radius: 2px;
}
.slide-dots button.is-active {
  width: 28px;
  background: var(--amber-light);
}

.culture-banner {
  margin: 0 0 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a1108 0%, #2a1b0e 60%, #1c2840 100%);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.culture-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 80% 50%, rgba(212, 137, 26, 0.2), transparent);
  pointer-events: none;
}
.culture-banner__text,
.culture-cta-group {
  position: relative;
  z-index: 1;
}
.culture-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.culture-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
}
.culture-title em {
  font-style: normal;
  color: var(--amber-light);
}
.culture-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  line-height: 1.6;
  margin: 0;
}
.culture-tags {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.culture-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  text-decoration: none;
  transition: all 0.18s;
}
.culture-tag:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.culture-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}
.vip-badge {
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.culture-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(200, 70, 26, 0.35);
  transition: all 0.22s;
}
.culture-btn:hover {
  background: var(--rust-hover);
  color: #fff;
  transform: translateY(-2px);
}
.culture-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
.culture-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.home-section {
  padding: 48px 0;
}
.home-section--tight {
  padding-top: 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.section-title .fire {
  font-size: 20px;
}
.section-title__meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 4px;
}
.section-header__sub {
  font-size: 13px;
  color: var(--ink-muted);
}
.section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--rust);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover {
  color: var(--rust-hover);
}

.cards-grid,
.home-section .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 4px;
}
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.22s;
}
.cat-card:hover {
  border-color: var(--rust);
  box-shadow: 0 6px 24px rgba(200, 70, 26, 0.12);
  transform: translateY(-3px);
}
.cat-card-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background 0.2s;
}
.cat-card:hover .cat-card-icon {
  background: rgba(200, 70, 26, 0.08);
}
.cat-card-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.cat-card-count {
  font-size: 11px;
  color: var(--ink-muted);
}

/* ─── Ventes flash & grille produits (maquette kole-group-redesign) ─── */
.flash {
  margin: 0 auto !important;
  padding: 48px 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.flash__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 10px;
}
.flash__header h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flash__header h2.section-title::before,
.section-title::before {
  content: none;
}
.flash__header span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}
.flash__more {
  margin-top: 28px;
}
.flash__more .voir-plus {
  font-size: 13px;
  font-weight: 500;
  color: var(--rust);
}
.section-eyebrow,
.page-title .section-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-title h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.page-title p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-muted);
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--card-bg);
  border-color: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  box-shadow: var(--shadow);
}

.product-card__image {
  display: grid;
  grid-template: "stack" 1fr / "stack" 1fr;
}

.product-card__placeholder,
.product-card__photo,
.product-card__image-top {
  grid-area: stack;
}

.product-card__image-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  z-index: 3;
  pointer-events: none;
}

.product-card__image-top > * {
  pointer-events: auto;
}

.product-card__name,
.product-card__body h3 {
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
  margin: 0 0 8px !important;
  letter-spacing: 0 !important;
}

.product-card__demo {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: var(--cream-dark);
}

.product-card__category {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(250, 247, 242, 0.92);
  max-width: calc(100% - 42px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__wish.favorite-toggle {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border: none;
  background: rgba(250, 247, 242, 0.92);
  color: var(--ink-soft);
  font-size: 13px;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.product-card__price-old {
  font-size: 11px;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.product-card__promo {
  font-size: 10px;
  font-weight: 700;
  color: var(--success);
}
.product-card__price-unit {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-muted);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  border: none;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.product-card__btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.product-card__btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink-light);
}

.product-card__btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.product-card__btn--filled {
  background: var(--rust);
  color: #fff;
  border: 1.5px solid var(--rust);
}

.product-card__btn--filled:hover {
  background: var(--rust-hover);
  border-color: var(--rust-hover);
  color: #fff;
}

/* ─── Catégories accueil ─── */
.home-categories {
  margin: 48px auto 32px;
}
.home-categories__intro {
  align-items: baseline;
  margin-bottom: 28px;
}
.home-categories__intro h2 {
  font-size: 22px;
  font-weight: 700;
}
.home-categories__intro p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 4px 0 0;
}
.category-strip__header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.category-strip__link {
  color: var(--rust);
  font-weight: 500;
  font-size: 13px;
}

/* Grille type « cat-card » via feature + custom — cartes catégories nav */
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.filters__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filters input,
.filters select {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  background: var(--cream);
}
.filters input:focus,
.filters select:focus {
  border-color: var(--amber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 137, 26, 0.1);
}

.page-title {
  margin-bottom: 24px;
}
.page-title p {
  max-width: 560px;
}

/* ─── Auth / formulaires ─── */
.auth-page {
  padding: 40px 0 56px;
  max-width: 480px;
  margin: 0 auto;
}
.auth-card,
.profile-edit-card,
.culture-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
}
.auth-title,
.auth-card h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--ink);
  text-align: center;
}
.auth-subtitle { color: var(--muted); text-align: center; }
.auth-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-group input,
.form-group textarea,
.form-group select,
.auth-form input,
.culture-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.culture-form textarea,
.culture-form select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.auth-form input:focus {
  border-color: var(--amber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 137, 26, 0.1);
  background: #fff;
}
.auth-divider {
  color: var(--muted);
  font-size: 12px;
}
.auth-social__btn {
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  font-weight: 500;
}
.auth-social__btn:hover {
  border-color: var(--ink);
  background: var(--cream);
}
.alert {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.alert--error {
  background: #fff5f0;
  border-color: rgba(200, 70, 26, 0.25);
  color: var(--rust-hover);
}

/* ─── Détail produit ─── */
.product-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  gap: 32px;
}
.product-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  line-height: 1.2;
}
.product-detail__price,
.product-detail__price-row .price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}
.product-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-dark), var(--line));
}
.vendor-card,
.service-detail-prestataire {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.badge {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge--success { background: #e8f5e9; color: #2e7d32; }
.badge--info { background: var(--primary-100); color: var(--rust); }
.badge--contract { background: var(--cream-dark); color: var(--ink-soft); }

/* ─── Panier ─── */
.jumia-cart { padding: 32px 0 48px; }
.cart-panel,
.cart-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.cart-panel__header h1 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
}
.cart-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.cart-item__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-dark);
}
.cart-summary__total strong {
  font-family: var(--font-serif);
  color: var(--ink);
}

/* ─── Culture ─── */
.culture-hero {
  background: linear-gradient(135deg, #1a1108 0%, #2a1b0e 55%, #1c2840 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-bottom: 8px;
}
.culture-hero h1 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.culture-hero p { color: rgba(255, 255, 255, 0.75); }
.culture-hero__badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--amber-light);
  border-radius: 999px;
}
.culture-hero__stats strong {
  font-family: var(--font-serif);
  color: var(--amber-light);
}
.culture-section__head h2 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 1.35rem;
}
.culture-section__more { color: var(--rust); }
.event-card,
.song-card,
.artist-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.event-card:hover,
.song-card:hover,
.artist-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 70, 26, 0.15);
}
.culture-cta__card {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a1108, #2a1b0e 60%, #1c2840);
}
.culture-cta__card h2 { font-family: var(--font-serif); color: #fff; }

/* ─── Dashboard vendeur / prestataire / abonnements ─── */
.dashboard-hero {
  background: linear-gradient(135deg, #1a1310, #2c1f18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
}
.dashboard-hero h1,
.dashboard-hero h2 {
  font-family: var(--font-serif);
  color: #fff;
}
.dashboard-hero .section-eyebrow {
  color: var(--amber-light);
}
.dashboard-hero .section-eyebrow::before {
  background: var(--amber);
}
.dashboard-hero__tagline,
.dashboard-hero__meta,
.dashboard-hero__meta span,
.dashboard-hero__meta strong {
  color: rgba(255, 255, 255, 0.88);
}
.dashboard-hero__role {
  color: var(--amber-light) !important;
}
.dashboard-hero__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.dashboard-hero__actions .btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}
.dashboard-hero__actions .btn:not(.btn--ghost) {
  box-shadow: var(--shadow-primary);
}
.dashboard-card,
.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.dashboard-card h2,
.dashboard-card h3 {
  font-family: var(--font-serif);
  color: var(--ink);
}

/* ─── Catégories accueil (bandes) ─── */
.home-categories { margin: 48px auto 40px; }
.category-strip {
  margin-bottom: 32px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.category-strip__header h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.category-strip__grid .product-card--compact {
  min-width: 200px;
  flex-shrink: 0;
}

/* ─── Bannières & divers ─── */
.search-shop-banner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.muted { color: var(--muted) !important; }
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

/* ─── Splash première visite ─── */
.first-visit-splash {
  background: linear-gradient(160deg, #1a1310 0%, #2c1f18 50%, #1a1310 100%);
}
.first-visit-splash__brand {
  font-family: var(--font-serif);
  background: linear-gradient(90deg, var(--amber-light), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.first-visit-splash__btn {
  border-radius: 999px;
  background: var(--rust);
  box-shadow: var(--shadow-primary);
}

/* ─── Favoris toggle ─── */
.favorite-toggle {
  border-radius: 999px;
  border: 1.5px solid var(--line);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.favorite-toggle--active {
  background: #fff5f0;
  border-color: var(--rust);
  color: var(--rust);
}

/* ─── Footer ─── */
.footer {
  background: linear-gradient(180deg, #1a1310 0%, #120e0c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 48px;
}
.footer h4::after { background: var(--amber); }
.footer a:hover { color: var(--amber-light); }

/* ─── Badges & liens ─── */
.badge--danger { background: var(--rust); }
.link { color: var(--rust); font-weight: 500; }
.link:hover { color: var(--rust-hover); }

/* ─── Mobile bottom nav ─── */
.bottom-nav {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero,
  .hero-section { grid-template-columns: 1fr; }
  .categories,
  .categories-sidebar { display: none; }
  .product-grid,
  .cards-grid,
  .home-section .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .culture-banner { grid-template-columns: 1fr; }
  .culture-cta-group { align-items: flex-start; }
  .hero-visual { display: none; }
  .culture-promo__card { padding: 28px 24px; }
  .hero__banner,
  .hero-slider {
    min-height: min(78vh, 580px);
  }
  .hero-slide .hero__content {
    justify-content: flex-start;
    padding-top: max(24px, env(safe-area-inset-top, 0px));
    padding-bottom: 80px;
  }
  .hero__content h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.18;
  }
  .hero-slider__dots {
    bottom: 18px;
    left: 20px;
  }
}

/* ─── Services populaires ─── */
.services {
  padding: 48px 0;
}
.services h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: var(--ink);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 70, 26, 0.2);
  box-shadow: 0 6px 24px rgba(200, 70, 26, 0.1);
}
.service-card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 8px;
}
.service-card__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ─── Toast / messages ─── */
.toast-container .toast {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ─── Tableaux dashboard (commandes, demandes) ─── */
.table-card {
  border-radius: var(--radius-lg);
  overflow-x: auto;
  padding: 0;
}
.table-card .table-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}
.table-card .table-row:last-child {
  border-bottom: none;
}
.table-card .table-row--head {
  background: var(--cream-dark);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.orders-table .orders-table__head,
.orders-table .orders-table__row {
  grid-template-columns:
    minmax(140px, 1.5fr)
    minmax(88px, 0.65fr)
    minmax(120px, 1fr)
    minmax(130px, 1fr)
    minmax(100px, 0.75fr)
    minmax(300px, 1.8fr);
  gap: 14px;
  align-items: center;
}
.orders-table__product strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
}
.orders-table__order {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.orders-table__qty,
.orders-table__city,
.orders-table__payment,
.orders-table__muted {
  font-size: 12px;
  color: var(--ink-soft);
}
.orders-table__client {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.orders-table__client span:first-child {
  color: var(--ink);
  font-weight: 500;
}
.orders-table__status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.orders-table__price {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--rust);
  font-size: 15px;
  white-space: nowrap;
}
.orders-table__form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.orders-table__form select,
.orders-table__form input[type="text"] {
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
  background: #fff;
  min-height: 36px;
  color: var(--ink);
}
.orders-table__form select {
  min-width: 120px;
}
.orders-table__form input[type="text"] {
  flex: 1;
  min-width: 100px;
}
.orders-table__empty {
  padding: 32px 20px;
  text-align: center;
  margin: 0;
  color: var(--muted);
}
.orders-table__pagination,
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 0;
  font-size: 14px;
}
.pagination a {
  color: var(--rust);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.pagination a:hover {
  border-color: var(--rust);
  background: var(--primary-50);
}
.pagination .current {
  color: var(--ink-soft);
  font-weight: 500;
}
.pagination .disabled {
  color: var(--muted);
  padding: 8px 14px;
}
.orders-table__page-info {
  text-align: center;
  margin: 14px 0 0;
  font-size: 13px;
}

.service-requests-table .service-requests-table__head,
.service-requests-table .service-requests-table__row {
  grid-template-columns:
    minmax(140px, 1.2fr)
    minmax(100px, 0.8fr)
    minmax(160px, 1.4fr)
    minmax(100px, 0.7fr)
    minmax(180px, 1fr);
  gap: 14px;
  align-items: center;
}
.service-requests-table__comment {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.service-requests-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

@media (max-width: 900px) {
  .orders-table .orders-table__head {
    display: none;
  }
  .orders-table .orders-table__row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px;
  }
  .orders-table__manage .orders-table__form {
    width: 100%;
  }
  .service-requests-table .service-requests-table__head {
    display: none;
  }
  .service-requests-table .service-requests-table__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .topbar__inner { flex-wrap: wrap; }
  .search { order: 3; flex: 1 1 100%; max-width: none; }
}
