:root {
  /* Palette inspirée du logo Amsatou : or + vert sur fond sombre */
  --color-primary: #d4af37; /* or doré */
  --color-primary-dark: #b8860b;
  --color-secondary: #28a745; /* vert gazon */
  --color-bg: #0f2813;        /* fond vert gazon foncé */
  --color-bg-alt: #16351c;    /* variante légèrement plus claire */
  --color-surface: #1b3f23;
  --color-surface-soft: #204827;
  --color-text: #f5f5f5;
  --color-muted: #b0b0b0;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  position: relative;
  overflow-x: hidden;
}

/* Animations d'univers retirées pour le style pro statique (B&H) */


/* Android / tactile : zone de touche visible, pas de surbrillance grise agressive */
a,
button,
[role="button"],
input[type="submit"],
.pill,
.nav-toggle {
  -webkit-tap-highlight-color: rgba(240, 192, 64, 0.22);
}

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 192, 64, 0.25);
}

.ad-banner {
  background: linear-gradient(180deg, #060806 0%, #0b0f0c 40%, #0f2813 100%);
  padding: 0.75rem 0 0.9rem;
}

.ad-banner .container {
  max-width: min(1320px, 96vw);
}

.ad-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 1.1rem;
}

.ad-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: clamp(180px, 30vw, 320px);
  aspect-ratio: 2.2 / 1;
  max-height: 350px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(240, 192, 64, 0.22);
}

.ad-slide {
  display: none;
  position: relative;
  min-height: 100%;
}

.ad-slide.active {
  display: block;
  height: 100%;
}

.ad-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.06);
}

.ad-overlay {
  position: absolute;
  inset: 0;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  color: #ffffff;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.ad-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(40, 167, 69, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ad-kicker-hot {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #1a1406;
  font-weight: 900;
}

.ad-title {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  max-width: 22ch;
}

.ad-subtitle {
  font-size: clamp(0.85rem, 1.9vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.98;
  max-width: min(520px, 90%);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.ad-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 800;
  background: var(--color-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(240, 192, 64, 0.35);
}

.ad-nav {
  display: inline-flex;
  gap: 0.4rem;
}

.ad-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.ad-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.site-tagline {
  text-align: center;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 0.5rem;
  color: #1b3f23;
  background: linear-gradient(90deg, #d4af37, #f9d66e, #d4af37);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-search {
  display: inline-flex;
  align-items: center;
}

.header-search input {
  width: min(240px, 32vw);
  min-width: 150px;
  border-radius: 999px;
  border: 1px solid rgba(240, 192, 64, 0.35);
  background: #111310;
  color: #f7f7f7;
  padding: 0.42rem 0.8rem;
  outline: none;
}

.header-search input::placeholder {
  color: #bfc4c1;
}

.header-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(240, 192, 64, 0.2);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.6rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.25rem 0;
  position: relative;
  color: var(--color-muted);
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-text);
  font-weight: 800;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 192, 64, 0.3);
  background: #111310;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
}

.cart-count {
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: 0 0.4rem;
  min-width: 20px;
  text-align: center;
}

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(
    135deg,
    #0b0f0c 0%,
    #0b0f0c 20%,
    #d4af37 55%,
    #28a745 100%
  );
  color: #ffffff;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  max-width: none;
  width: 100%;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-subtext {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge {
  position: absolute;
  top: -0.75rem;
  right: 0.25rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-card {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.hero-card-main ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
  color: var(--color-muted);
}

.hero-card-secondary {
  background: linear-gradient(135deg, #fff2e5, #ffecef);
}

.hero-card-secondary h3 {
  margin-top: 0;
}

/* Bloc accueil : texte en gras noir (catégories + paiement) */
.hero-highlight-black {
  background: #f5e6b8;
  border: 2px solid #0a0a0a;
}

.hero-highlight-black h2,
.hero-highlight-black h3 {
  color: #000000;
  font-weight: 900;
}

.hero-highlight-black ul {
  color: #000000;
  font-weight: 800;
}

.hero-highlight-black li {
  margin-bottom: 0.35rem;
}

.hero-highlight-black p {
  color: #000000;
  font-weight: 800;
  margin: 0;
}

.hero-card-delivery {
  background: #e8f5e9;
  border: 2px solid #0a0a0a;
}

.hero-card-delivery h3 {
  color: #000000;
  font-weight: 900;
  margin-top: 0;
}

.hero-card-delivery ul {
  color: #000000;
  font-weight: 700;
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.hero-card-delivery li {
  margin-bottom: 0.4rem;
}

.delivery-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: #111111;
  margin-top: 0.65rem !important;
}

.cart-delivery-box {
  margin-top: 1rem;
  text-align: left;
}

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 520px;
  color: var(--color-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.info-card,
.category-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.info-card h3,
.category-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.info-card p,
.category-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.category-card {
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: var(--shadow-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.35rem 1.4rem;
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.04);
}

.step-number {
  position: absolute;
  top: -0.8rem;
  left: 1.4rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.step h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.seller-block {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
}

.seller-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

.testimonials-placeholder {
  text-align: center;
}

.testimonials-placeholder p {
  max-width: 520px;
  margin: 0.5rem auto 0;
  color: var(--color-muted);
}

.video-wrapper {
  max-width: 720px;
  margin: 1.5rem auto 0;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.video-btn {
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.video-btn:hover {
  background: #f7f7f7;
}

.video-progress {
  flex: 1;
  min-width: 180px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.video-logo-overlay {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  pointer-events: none;
  padding: 0.3rem;
  background: rgba(15, 40, 19, 0.65);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(240, 192, 64, 0.35);
}

.video-logo-overlay img {
  width: clamp(40px, 10vw, 56px);
  height: clamp(40px, 10vw, 56px);
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.video-frame video,
.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

/* Redesigned Welcome Hero Banner using original green & gold standards */
.welcome-hero {
  position: relative;
  background: url("assets/images/welcome_hero_bg.png") center/cover no-repeat;
  padding: 5rem 0;
  min-height: 460px;
  display: flex;
  align-items: center;
  margin: 1.5rem auto;
  max-width: 1080px;
  width: calc(100% - 3rem);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 192, 64, 0.2);
}

.welcome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 40, 19, 0.85) 0%, rgba(15, 40, 19, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.welcome-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem;
}

.welcome-card {
  background: rgba(27, 63, 35, 0.85); /* transparent green surface */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 192, 64, 0.35); /* gold border */
  padding: 2rem;
  border-radius: 14px;
  max-width: 520px;
  color: var(--color-text);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.welcome-card h1 {
  font-size: 1.8rem;
  color: var(--color-primary); /* gold */
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.welcome-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #f0f0f0;
}

.welcome-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

/* Widget chat flottant (WhatsApp + téléphone) */
.chat-widget {
  position: fixed;
  left: 1rem;
  right: auto;
  bottom: 1rem;
  z-index: 100;
  font-family: "Poppins", system-ui, sans-serif;
}

.chat-widget-panel {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 0.65rem);
  width: min(300px, calc(100vw - 2rem));
  padding: 1rem 1rem 1.1rem;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid rgba(240, 192, 64, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: var(--color-text);
}

.chat-widget-panel[hidden] {
  display: none !important;
}

.chat-widget-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.chat-widget-title {
  display: block;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.chat-widget-sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.chat-widget-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-widget-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.chat-widget-intro {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #e0e0e0;
}

.chat-widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.chat-widget-btn:last-of-type {
  margin-bottom: 0;
}

.chat-widget-wa {
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.chat-widget-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.chat-widget-btn-icon {
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.chat-widget-phone {
  background: rgba(40, 167, 69, 0.25);
  border: 1px solid rgba(40, 167, 69, 0.55);
  color: #e8ffe8 !important;
}

.chat-widget-phone:hover {
  background: rgba(40, 167, 69, 0.4);
}

.chat-widget-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.65rem;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.55);
  background: linear-gradient(145deg, #128c7e, #075e54);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(7, 94, 84, 0.45);
  text-align: left;
}

.chat-widget-fab:hover {
  filter: brightness(1.08);
}

.chat-widget-wa-fab-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}

.chat-widget-fab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1.15;
}

.chat-widget-fab-label {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.chat-widget-fab-number {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.95;
}

@media (max-width: 480px) {
  .chat-widget-fab {
    padding: 0.5rem 0.75rem 0.5rem 0.55rem;
    gap: 0.45rem;
  }

  .chat-widget-wa-fab-icon {
    width: 32px;
    height: 32px;
  }

  .chat-widget-fab-label {
    font-size: 0.85rem;
  }

  .chat-widget-fab-number {
    font-size: 0.72rem;
  }
}

/* Assistant IA (chatbot FAQ) — bas à droite */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ai-chatbot {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: auto;
  z-index: 101;
  font-family: "Poppins", system-ui, sans-serif;
}

.ai-chatbot-window {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(520px, 70vh);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--color-surface);
  border: 1px solid rgba(240, 192, 64, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.ai-chatbot-window[hidden] {
  display: none !important;
}

.ai-chatbot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #1b3f23, #0f2813);
  border-bottom: 1px solid rgba(240, 192, 64, 0.25);
}

.ai-chatbot-head-text {
  min-width: 0;
}

.ai-chatbot-title {
  color: var(--color-primary);
  font-size: 1.05rem;
}

.ai-chatbot-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(240, 192, 64, 0.2);
  color: var(--color-primary);
  vertical-align: middle;
}

.ai-chatbot-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.35;
}

.ai-chatbot-help-banner {
  padding: 0.55rem 0.75rem;
  background: rgba(240, 192, 64, 0.12);
  border-bottom: 1px solid rgba(240, 192, 64, 0.2);
  font-size: 0.8rem;
  line-height: 1.4;
  color: #f0e8d8;
}

.ai-chatbot-help-banner p {
  margin: 0;
}

.ai-chatbot-help-banner strong {
  color: var(--color-primary);
}

.ai-chatbot-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.ai-chatbot-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.ai-chatbot-messages {
  flex: 1;
  min-height: 200px;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
}

.ai-msg {
  display: flex;
  width: 100%;
}

.ai-msg-user {
  justify-content: flex-end;
}

.ai-msg-bot {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.ai-msg-bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #1a1203;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.ai-msg-bot .ai-msg-bubble {
  background: var(--color-surface-soft);
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
}

.ai-msg-tools {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.25rem;
  padding-left: 0.15rem;
}

.ai-msg-speak {
  border: 1px solid rgba(240, 192, 64, 0.4);
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.ai-msg-speak:hover {
  background: rgba(240, 192, 64, 0.12);
}

.ai-typing-dots {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.85rem !important;
}

.ai-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
  animation: aiTyping 1.2s ease-in-out infinite;
}

.ai-typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.ai-typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes aiTyping {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.ai-chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem 0.55rem;
  background: rgba(0, 0, 0, 0.12);
}

.ai-chip {
  border: 1px solid rgba(240, 192, 64, 0.35);
  background: rgba(27, 63, 35, 0.6);
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}

.ai-chip-lg {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}

.ai-chip-link {
  text-decoration: none;
  color: inherit;
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(7, 94, 84, 0.35);
}

.ai-chip-link:hover {
  background: rgba(37, 211, 102, 0.22);
}

.ai-chip:hover {
  background: rgba(240, 192, 64, 0.15);
}

.ai-chatbot-form {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--color-bg-alt);
}

.ai-chatbot-mic {
  flex-shrink: 0;
  width: 46px;
  min-height: 46px;
  border-radius: 12px;
  border: 2px solid rgba(240, 192, 64, 0.5);
  background: rgba(27, 63, 35, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.ai-chatbot-mic:hover:not(:disabled) {
  background: rgba(240, 192, 64, 0.15);
}

.ai-chatbot-mic-active {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.35);
  animation: aiMicPulse 1s ease-in-out infinite;
}

.ai-chatbot-mic-off {
  opacity: 0.45;
  cursor: not-allowed;
}

@keyframes aiMicPulse {
  50% {
    opacity: 0.85;
  }
}

.ai-chatbot-form input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-text);
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
}

.ai-chatbot-form input::placeholder {
  color: #888;
}

.ai-chatbot-send {
  border: none;
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--color-secondary);
  color: #fff;
  font-family: inherit;
}

.ai-chatbot-send:hover {
  filter: brightness(1.08);
}

.ai-chatbot-foot {
  margin: 0;
  padding: 0.45rem 0.75rem 0.65rem;
  font-size: 0.68rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.35;
}

.ai-chatbot-foot a {
  color: var(--color-primary);
  font-weight: 600;
}

.ai-chatbot-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(240, 192, 64, 0.45);
  background: linear-gradient(145deg, #204827, #16351c);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  font-family: inherit;
}

.ai-chatbot-fab:hover {
  filter: brightness(1.08);
}

.ai-chatbot-fab-icon {
  font-size: 1.15rem;
}

@media (max-width: 480px) {
  .ai-chatbot-fab .ai-chatbot-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .ai-chatbot-fab {
    padding: 0.65rem;
  }

  .ai-chatbot-window {
    width: calc(100vw - 1.25rem);
  }
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.45);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(240, 192, 64, 0.4);
}

.btn-secondary:hover {
  background: rgba(240, 192, 64, 0.1);
}

.site-footer {
  background: #111111;
  color: #f5f5f5;
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-content h3,
.footer-content h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.footer-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-content li + li {
  margin-top: 0.3rem;
}

.footer-content a {
  color: #f5f5f5;
  opacity: 0.85;
}

/* Liens du même type que le menu (colonne « Liens utiles ») : gras */
.footer-content > div:nth-child(2) ul a {
  font-weight: 700;
}

.footer-content a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  font-size: 0.8rem;
  text-align: center;
  color: #bbbbbb;
}

.page-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, #fff6f2, #ffeef7);
  border-bottom: 1px solid #ffe2d3;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.2;
}

.page-hero p {
  margin-top: 0.75rem;
  max-width: none;
  width: 100%;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  line-height: 1.65;
}

.page-hero p.hero-intro-black {
  color: #000000;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

/* Titres + intro en vert « gazon » (même famille que le fond du site) */
.page-hero-brand {
  background: linear-gradient(135deg, #f0faf1, #e8f5e9);
  border-bottom: 1px solid rgba(22, 53, 28, 0.15);
}

.page-hero-brand h1 {
  color: var(--color-bg);
}

.page-hero-brand p {
  color: var(--color-bg-alt);
  font-weight: 600;
}

.page-section {
  padding: 2rem 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card h2 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  font-family: inherit;
  font-size: 0.9rem;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.3);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-card {
  background: var(--color-surface);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.product-card h2 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.product-card .text-muted {
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d2123, #252b30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price {
  font-weight: 600;
  display: none;
}

.show-prices .product-price {
  display: inline;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.product-catalog-number {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.2rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.1rem 0;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.section-badge {
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.product-badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #f1f1f1;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.filters-bar select {
  max-width: 220px;
}

.pill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  font-size: 0.8rem;
  cursor: pointer;
  background: #fff;
}

.pill.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff6f5;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
}

.cart-summary-total {
  font-weight: 600;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed #eee;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.cart-item-actions {
  text-align: right;
}

.cart-empty {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.payment-option {
  border-radius: 12px;
  border: 1px solid #e2e2e2;
  padding: 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.payment-option input {
  width: auto;
}

.payment-option span {
  font-weight: 500;
}

.payment-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  background: #050608;
}

.payment-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.alert {
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  margin-top: 0.8rem;
}

.alert-info {
  background: #e7f5ff;
  color: #1c7ed6;
}

.alert-success {
  background: #e6fcf5;
  color: #0ca678;
}

.alert-warning {
  background: #fff3bf;
  color: #f08c00;
}

.text-muted {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

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

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .seller-block {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-search {
    display: none;
  }

  .header-content {
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    right: 1.5rem;
    flex-direction: column;
    background: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .ad-banner-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ad-slider {
    aspect-ratio: 16 / 10;
    min-height: 200px;
    max-height: none;
  }

  .ad-actions {
    justify-content: space-between;
  }
}

/* ── Tableau de bord admin ── */
.dashboard-page {
  min-height: 100vh;
}

.dashboard-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.dashboard-login-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.dashboard-login-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.dashboard-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.dashboard-sidebar {
  background: var(--color-surface);
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
}

.dashboard-sidebar-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.dashboard-sidebar-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.dashboard-sidebar-sub {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-primary);
}

.dashboard-badge {
  background: var(--color-primary);
  color: #0f2813;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  min-width: 1.25rem;
  text-align: center;
}

.dashboard-sidebar-foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 40, 19, 0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.dashboard-topbar h2 {
  margin: 0;
  flex: 1;
  font-size: 1.15rem;
}

.dashboard-topbar-date {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.dashboard-menu-toggle {
  display: none;
  background: var(--color-surface);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--color-text);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.dashboard-content {
  padding: 1.25rem 1.5rem 2rem;
}

.dashboard-panel {
  display: none;
}

.dashboard-panel.active {
  display: block;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-stat-card {
  background: var(--color-surface);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dashboard-stat-label {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.dashboard-stat-value {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.dashboard-stat-warn {
  color: #f59f00;
}

.dashboard-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-list-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.dashboard-list-item:last-child {
  border-bottom: none;
}

.dashboard-list-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dashboard-toolbar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.dashboard-toolbar select {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
}

.dashboard-table-wrap {
  overflow-x: auto;
  padding: 0;
}

.dashboard-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.dashboard-table th,
.dashboard-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.dashboard-table th {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dashboard-status-select {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font: inherit;
  font-size: 0.82rem;
}

.dashboard-status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.dashboard-status-pending { background: rgba(245, 159, 0, 0.2); color: #f59f00; }
.dashboard-status-paid { background: rgba(12, 166, 120, 0.2); color: #0ca678; }
.dashboard-status-shipped { background: rgba(28, 126, 214, 0.2); color: #74c0fc; }
.dashboard-status-delivered { background: rgba(40, 167, 69, 0.25); color: #69db7c; }
.dashboard-status-cancelled { background: rgba(224, 49, 49, 0.2); color: #ff6b6b; }

.dashboard-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-message-card {
  margin: 0;
}

.dashboard-message-unread {
  border-left: 3px solid var(--color-primary);
}

.dashboard-message-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.dashboard-message-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .dashboard-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    width: 260px;
    box-shadow: var(--shadow-soft);
  }

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

  .dashboard-menu-toggle {
    display: inline-block;
  }

  .dashboard-topbar-date {
    display: none;
  }

  .dashboard-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-table table,
  .dashboard-table thead,
  .dashboard-table tbody,
  .dashboard-table th,
  .dashboard-table td,
  .dashboard-table tr {
    display: block;
  }

  .dashboard-table thead {
    display: none;
  }

  .dashboard-table tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem;
  }

  .dashboard-table td {
    border: none;
    padding: 0.4rem 0.5rem;
  }

  .dashboard-table td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--color-muted);
  }
}

/* ===================================================
   PANNEAU GESTION PRODUITS – ADMIN
   =================================================== */

/* Grille des cartes produits admin */
.products-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.product-admin-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.product-admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
}

.product-admin-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: var(--color-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

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

.product-admin-card-body {
  padding: .85rem 1rem .7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.product-admin-card-title {
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-admin-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product-admin-card-meta {
  font-size: .75rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.product-admin-card-badge {
  background: rgba(212,175,55,.15);
  color: var(--color-primary);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .7rem;
  font-weight: 600;
}

.product-admin-card-stock {
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .7rem;
  font-weight: 600;
}

.product-admin-card-stock.in-stock {
  background: rgba(40,167,69,.18);
  color: #5ce87a;
  border: 1px solid rgba(40,167,69,.35);
}

.product-admin-card-stock.out-of-stock {
  background: rgba(220,53,69,.18);
  color: #f07585;
  border: 1px solid rgba(220,53,69,.35);
}

.product-admin-card-actions {
  display: flex;
  gap: .5rem;
  padding: .6rem 1rem .85rem;
}

.product-admin-card-actions .btn {
  flex: 1;
  font-size: .78rem;
  padding: .35rem .5rem;
}

/* ===================================================
   MODALE AJOUT / ÉDITION PRODUIT
   =================================================== */

.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  animation: fadeInOverlay .18s ease;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.product-modal-overlay.hidden {
  display: none;
}

.product-modal-box {
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 24px 64px rgba(0,0,0,.7);
  animation: slideUpModal .22s ease;
  scroll-behavior: smooth;
}

@keyframes slideUpModal {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.product-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.product-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.product-modal-close {
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: .2rem .4rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.product-modal-close:hover {
  color: var(--color-text);
  background: rgba(255,255,255,.08);
}

.product-modal-box .form-grid {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Prévisualisation image dans la modale */
.product-modal-preview {
  margin-top: .75rem;
  border-radius: 12px;
  overflow: hidden;
  max-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-soft);
}

.product-modal-preview img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

/* Responsive modale */
@media (max-width: 480px) {
  .product-modal-box {
    max-height: 98vh;
  }
  .products-admin-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================================================
   DIAPORAMA DE PRODUITS & LECTEUR AUDIO
   =================================================== */

.slideshow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  gap: 1rem;
}

.slideshow-track {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 192, 64, 0.25);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-loading {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Custom product slide design */
.product-slide {
  width: 100%;
  padding: 2.2rem;
  display: none;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 2.2rem;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.product-slide.active {
  display: grid;
  opacity: 1;
}

.product-slide-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-bg-alt);
  aspect-ratio: 1;
}

.product-slide-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-slide:hover .product-slide-image-container img {
  transform: scale(1.05);
}

.product-slide-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #121212;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.product-slide-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.product-slide-category {
  font-size: 0.8rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.product-slide-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  line-height: 1.25;
}

.product-slide-description {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.product-slide-price-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.product-slide-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary);
}

.product-slide-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.slideshow-arrow {
  background: rgba(27, 63, 35, 0.8);
  border: 1px solid rgba(240, 192, 64, 0.35);
  color: var(--color-primary);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  user-select: none;
  z-index: 5;
}

.slideshow-arrow:hover {
  background: var(--color-primary);
  color: #121212;
  border-color: var(--color-primary);
  transform: scale(1.08);
}

.slideshow-arrow:active {
  transform: scale(0.95);
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  margin-bottom: 2.2rem;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.slideshow-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Custom sound player styling */
.music-player-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.music-player-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(27, 63, 35, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 192, 64, 0.3);
  padding: 0.75rem 1.35rem;
  border-radius: 50px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-width: 420px;
  width: 100%;
  transition: border-color 0.3s;
}

.music-player-card:hover {
  border-color: var(--color-primary);
}

.music-disk-wrapper {
  flex-shrink: 0;
}

.music-disk {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  animation: diskSpin 3s linear infinite paused;
}

.music-disk.playing {
  animation-play-state: running;
}

@keyframes diskSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.music-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.music-status {
  font-size: 0.65rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.music-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-artist {
  font-size: 0.78rem;
  color: var(--color-primary);
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.music-btn {
  background: var(--color-primary);
  color: #121212;
  border: none;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.25);
  font-family: inherit;
}

.music-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

.music-btn:active {
  transform: translateY(0);
}

.music-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 22px;
  height: 18px;
}

.music-equalizer .bar {
  width: 3px;
  background-color: var(--color-primary);
  border-radius: 3px 3px 0 0;
  height: 3px;
  transition: height 0.2s ease;
}

.music-equalizer.playing .bar {
  animation: eqBounce 0.8s ease infinite alternate;
}

.music-equalizer.playing .bar-1 { animation-duration: 0.6s; }
.music-equalizer.playing .bar-2 { animation-duration: 0.9s; animation-delay: 0.15s; }
.music-equalizer.playing .bar-3 { animation-duration: 0.7s; animation-delay: 0.3s; }
.music-equalizer.playing .bar-4 { animation-duration: 0.8s; animation-delay: 0.05s; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 16px; }
}

/* Slideshow Responsive */
@media (max-width: 768px) {
  .product-slide {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .product-slide-image-container {
    max-width: 220px;
    margin: 0 auto;
  }
  
  .product-slide-title {
    font-size: 1.35rem;
  }
  
  .slideshow-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}

/* --- B&H STYLE OVERRIDES --- */

/* Header Redesign */
.header-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}
.header-search-container {
  flex: 1;
  max-width: 600px;
  display: flex;
}
.bh-search-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--color-primary);
  background: #ffffff;
  color: #111;
  font-size: 1rem;
  outline: none;
}
.bh-search-input:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}
.header-actions {
  display: flex;
  align-items: center;
}
.bh-cart {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.bh-cart .cart-icon {
  font-size: 1.8rem;
}
.cart-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.cart-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.bh-cart .cart-count {
  font-size: 1rem;
  font-weight: 700;
  background: none;
  color: var(--color-primary);
  padding: 0;
  text-align: left;
}

.header-nav-bar {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-primary-dark);
}
.bh-nav {
  padding: 0;
}
.bh-nav .nav-links {
  gap: 2rem;
}
.bh-nav .nav-links a {
  padding: 0.75rem 0;
  color: #fff;
}
.bh-nav .nav-links a:hover,
.bh-nav .nav-links a.active {
  color: var(--color-primary);
}

/* Shop Layout Redesign */
.shop-section {
  padding: 2rem 0;
}
.bh-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .bh-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Filters */
.sidebar-filters {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.filter-group {
  background: var(--color-surface);
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.filter-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}
.vertical-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.vertical-list .pill {
  background: transparent;
  border: none;
  text-align: left;
  padding: 0.4rem 0.5rem;
  color: var(--color-text);
  border-radius: 4px;
  font-size: 0.95rem;
  justify-content: flex-start;
  box-shadow: none;
}
.vertical-list .pill:hover {
  background: rgba(255,255,255,0.05);
}
.vertical-list .pill.active {
  background: var(--color-primary);
  color: #111;
  font-weight: 700;
}

.mock-filter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--color-muted);
}
.filter-label input[type="checkbox"] {
  accent-color: var(--color-primary);
}

/* Main Content Toolbar */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-surface);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.toolbar-left .results-info {
  font-size: 1.1rem;
  font-weight: 700;
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sort-label {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.bh-select {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #111;
  color: #fff;
}

/* Redesigned Product Grid & Cards */
.bh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.bh-grid .product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  color: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bh-grid .product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}
.bh-grid .product-image-wrap {
  aspect-ratio: 1;
  margin-bottom: 1rem;
  background: #f8f8f8;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bh-grid .product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bh-grid .product-hq-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--color-primary);
  color: #111;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}
.bh-grid h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  color: #111;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bh-grid .text-muted {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bh-grid .product-meta {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.bh-grid .product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #b8860b;
}
.bh-grid .product-badge {
  font-size: 0.75rem;
  color: var(--color-secondary);
  font-weight: 700;
  background: rgba(40,167,69,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.bh-grid .btn-primary {
  width: 100%;
  padding: 0.75rem;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: none;
}
.bh-grid .btn-primary:hover {
  background: #218838;
}
.bh-grid .product-catalog-number {
  display: none;
}

/* --- Lightbox Styles --- */
.product-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}
.product-lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.product-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.product-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.product-lightbox-overlay.active .product-lightbox-img {
  transform: scale(1);
}
.product-lightbox-close {
  position: absolute;
  top: -40px;
  right: -10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.2s;
  line-height: 1;
}
.product-lightbox-close:hover {
  transform: scale(1.1);
}
.product-card {
  cursor: pointer;
}
