/* ============================================================
   AMSATOU STORE – Design System inspiré Alibaba
   Palette : Or (#d4af37) + Vert (#0f2813) sur blanc/gris clair
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --gold: #d4af37;
  --gold-dark: #b8860b;
  --gold-light: #f0c040;
  --green-dark: #0f2813;
  --green-mid: #16351c;
  --green-accent: #28a745;
  --orange: #f26b1f;       /* accent flash sale */
  --red-sale: #e62e2e;

  --bg-page: #f5f5f5;
  --bg-white: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #111111;

  --text-dark: #222222;
  --text-mid: #555555;
  --text-muted: #999999;
  --text-white: #ffffff;

  --border: #e8e8e8;
  --border-focus: var(--gold);

  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --header-h: 60px;
  --topbar-h: 34px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

a, button, [role="button"], .pill, input[type="submit"] {
  -webkit-tap-highlight-color: rgba(212,175,55,.2);
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ══════════════════════════════════════════════
   TOP META BAR (Style Alibaba – fond vert foncé)
   ══════════════════════════════════════════════ */
.top-meta-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.top-meta-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}
.top-meta-inner a {
  color: rgba(255,255,255,.78);
  transition: color .2s;
}
.top-meta-inner a:hover { color: var(--gold); }
.top-meta-inner .separator { color: rgba(255,255,255,.25); }

/* Promo bar */
.promo-bar {
  background: var(--gold);
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: .35rem 1rem;
}
.promo-bar a {
  background: var(--green-dark);
  color: var(--gold);
  padding: .2rem .75rem;
  border-radius: 20px;
  margin-left: .75rem;
  font-size: .75rem;
  transition: opacity .2s;
}
.promo-bar a:hover { opacity: .85; }

/* ══════════════════════════════════════════════
   MAIN HEADER – Style Alibaba
   ══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.header-main-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 16px;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img { width: 42px; height: 42px; border-radius: var(--radius); }
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  white-space: nowrap;
}
.logo-text span { color: var(--gold); }

/* Search bar – Alibaba style */
.header-search-wrap {
  flex: 1;
  max-width: 640px;
}
.ali-search-form {
  display: flex;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color .2s;
}
.ali-search-form:focus-within { border-color: var(--gold-dark); }

.ali-search-cat {
  background: #f5f5f5;
  border: none;
  border-right: 1px solid #ddd;
  padding: 0 10px;
  font-size: .82rem;
  color: var(--text-dark);
  cursor: pointer;
  min-width: 100px;
  flex-shrink: 0;
}
.ali-search-cat:focus { outline: none; }

.ali-search-input {
  flex: 1;
  border: none;
  padding: 0 12px;
  font-size: .95rem;
  color: var(--text-dark);
  background: transparent;
  outline: none;
  min-width: 0;
}
.ali-search-input::placeholder { color: #bbb; }

.ali-search-btn {
  background: var(--gold);
  border: none;
  padding: 0 18px;
  cursor: pointer;
  color: var(--green-dark);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background .2s;
  flex-shrink: 0;
}
.ali-search-btn:hover { background: var(--gold-dark); color: #fff; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  gap: 2px;
  text-decoration: none;
  color: var(--text-dark);
  transition: color .2s;
}
.header-action-item:hover { color: var(--gold-dark); }
.header-action-icon {
  font-size: 1.4rem;
  position: relative;
  line-height: 1;
}
.header-action-label {
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}
.cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--red-sale);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Expert phone – desktop only */
.header-expert {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
.expert-icon { font-size: 1.6rem; }
.expert-text { display: flex; flex-direction: column; line-height: 1.2; }
.expert-title { font-size: .72rem; color: var(--text-muted); }
.expert-phone { font-size: 1rem; font-weight: 700; color: var(--green-dark); }

/* ── Category Nav Bar ── */
.header-cat-nav {
  background: var(--green-dark);
  border-top: 1px solid rgba(212,175,55,.2);
}
.header-cat-nav .container {
  overflow-x: auto;
  scrollbar-width: none;
}
.header-cat-nav .container::-webkit-scrollbar { display: none; }

.cat-nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  white-space: nowrap;
  padding: 0;
}
.cat-nav-list li a,
.cat-nav-list li button {
  display: block;
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, background .2s;
  border-bottom: 2px solid transparent;
}
.cat-nav-list li a:hover,
.cat-nav-list li button:hover {
  color: var(--gold);
  background: rgba(255,255,255,.06);
}
.cat-nav-list li button.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   HERO SECTION – Layout Alibaba 2 colonnes
   ══════════════════════════════════════════════ */
.hero-section {
  background: var(--green-dark);
  padding: 12px 0;
}

.hero-layout {
  display: block;
  width: 100%;
}

/* Carousel principal */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  min-height: 320px;
  max-height: 380px;
}
.banner-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
}
.banner-slide {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.banner-slide.active { display: block; }
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 320px;
  max-height: 380px;
}
.banner-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.5rem;
  gap: .5rem;
}
.banner-kicker {
  background: var(--gold);
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 20px;
  width: fit-content;
}
.banner-title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.banner-sub { color: rgba(255,255,255,.8); font-size: .9rem; }
.banner-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .85rem;
  width: fit-content;
  margin-top: .25rem;
  transition: background .2s;
}
.banner-cta:hover { background: var(--gold-light); }

/* Carousel dots */
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.banner-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-arrow:hover { background: var(--gold); color: var(--green-dark); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

/* Mini-bannières latérales */
.hero-side-banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-banner {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--green-mid);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: transform .2s;
  border: 1px solid rgba(212,175,55,.2);
}
.side-banner:hover { transform: scale(1.01); }
.side-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.side-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: .75rem;
}
.side-banner-label {
  font-size: .7rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.side-banner-title {
  font-size: .85rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}

/* ══════════════════════════════════════════════
   CATEGORIES GRID – Style Alibaba icônes
   ══════════════════════════════════════════════ */
.section-categories {
  background: var(--bg-white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 32px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-link {
  font-size: .82rem;
  color: var(--gold-dark);
  font-weight: 600;
  transition: color .2s;
}
.section-link:hover { color: var(--green-dark); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text-dark);
  background: none;
}
.cat-item:hover {
  background: rgba(212,175,55,.08);
  border-color: rgba(212,175,55,.25);
  transform: translateY(-2px);
}
.cat-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,.15), rgba(15,40,19,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2px solid rgba(212,175,55,.2);
  transition: border-color .2s;
}
.cat-item:hover .cat-icon { border-color: var(--gold); }
.cat-label {
  font-size: .72rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-mid);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════
   FLASH SALE SECTION
   ══════════════════════════════════════════════ */
.section-flash-sale {
  background: var(--bg-white);
  padding: 20px 0;
  margin-top: 10px;
  border-top: 3px solid var(--red-sale);
}

.flash-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.flash-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--red-sale);
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-title .flash-icon { font-size: 1.4rem; }

.flash-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.flash-timer-label { font-size: .8rem; color: var(--text-muted); }
.timer-unit {
  background: var(--text-dark);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: var(--radius);
  min-width: 32px;
  text-align: center;
}
.timer-sep { color: var(--red-sale); font-weight: 700; }

.flash-products-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.flash-products-scroll::-webkit-scrollbar { height: 4px; }
.flash-products-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.flash-card {
  flex: 0 0 170px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.flash-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.flash-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.flash-card-body { padding: 8px; }
.flash-card-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 4px;
}
.flash-card-price {
  font-size: .95rem;
  font-weight: 800;
  color: var(--red-sale);
}
.flash-card-original {
  font-size: .75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 4px;
}
.flash-card-discount {
  background: var(--red-sale);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 3px;
  display: inline-block;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   TRUST BADGES BAR
   ══════════════════════════════════════════════ */
.trust-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-icon { font-size: 1.5rem; }
.trust-text strong { display: block; font-size: .85rem; color: var(--text-dark); }
.trust-text span { font-size: .75rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   MAIN SHOP SECTION – Full width 5 cols
   ══════════════════════════════════════════════ */
.shop-section {
  padding: 20px 0 40px;
}

/* Toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-bottom: 0;
}
.toolbar-left { font-size: .85rem; color: var(--text-mid); }
.results-count { font-weight: 700; color: var(--text-dark); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-label { font-size: .82rem; color: var(--text-muted); }
.bh-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .3rem .6rem;
  font-size: .82rem;
  color: var(--text-dark);
  background: #fff;
  cursor: pointer;
}

/* Product grid – Alibaba style 5 columns */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

/* Product card */
.product-card {
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow .2s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 0 0 2px var(--gold) inset;
  z-index: 1;
}
.product-card:nth-child(5n) { border-right: none; }

.product-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Square ratio */
  overflow: hidden;
  background: #f8f8f8;
}
.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.product-card:hover .product-image { transform: scale(1.05); }

.product-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  color: var(--text-muted);
}

.product-hq-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 3px;
  z-index: 1;
}

.product-card-body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card-body h2 {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-card-body h2:hover { color: var(--gold-dark); }

.product-catalog-number {
  display: none; /* hidden in Alibaba style */
}

.product-card-body .text-muted {
  display: none; /* Description hidden in compact card */
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--red-sale);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.product-badge {
  font-size: .68rem;
  font-weight: 600;
  padding: .15rem .4rem;
  border-radius: 3px;
  background: rgba(40,167,69,.12);
  color: var(--green-accent);
}
.product-badge.out { background: rgba(230,46,46,.1); color: var(--red-sale); }

.product-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: .68rem;
  color: var(--gold);
}

.product-card .btn-primary {
  margin: 0 10px 10px;
  width: calc(100% - 20px);
  padding: .45rem;
  font-size: .8rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--gold);
  color: var(--green-dark);
  transition: background .2s, opacity .2s;
}
.product-card .btn-primary:hover { background: var(--gold-dark); color: #fff; }
.product-card .btn-primary:disabled { opacity: .5; cursor: not-allowed; }

/* Empty grid message */
.grid-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: .95rem;
}

/* ══════════════════════════════════════════════
   PROMO BANNER STRIP (entre sections)
   ══════════════════════════════════════════════ */
.promo-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius-md);
  padding: 20px 32px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.promo-strip-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.promo-strip-text p { font-size: .85rem; color: rgba(255,255,255,.7); }
.promo-strip-btn {
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  padding: .6rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.promo-strip-btn:hover { background: var(--gold-light); }

/* ══════════════════════════════════════════════
   FOOTER – Multi-colonnes style Alibaba
   ══════════════════════════════════════════════ */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  margin-top: 0;
}

.footer-top {
  padding: 40px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: var(--gold); font-size: 1.1rem; }
.footer-brand p {
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.footer-brand .social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background .2s;
  text-decoration: none;
}
.social-link:hover { background: var(--gold); color: var(--green-dark); }

.footer-col h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul li a {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
}
.footer-contact-item .fc-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--gold); }

/* Payment badges */
.payment-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pay-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: .3rem .7rem;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 14px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
}
.footer-bottom-inner a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-bottom-inner a:hover { color: var(--gold); }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   PANIER PAGE
   ══════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 24px 0;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: .25rem;
}
.page-hero p { color: rgba(255,255,255,.7); font-size: .9rem; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  padding: 24px 0 40px;
  align-items: start;
}
.cart-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cart-box-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.cart-items { padding: 0; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-title { font-size: .9rem; font-weight: 600; color: var(--text-dark); }
.cart-item-meta { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--red-sale);
}
.cart-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}
.cart-empty.hidden { display: none; }

/* Summary panel */
.cart-summary-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.cart-summary-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  padding: .4rem 0;
  color: var(--text-mid);
}
.summary-line.total {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border);
  margin-top: .5rem;
  padding-top: .75rem;
}

/* Checkout Form */
.checkout-form-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.form-control {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem .8rem;
  font-size: .88rem;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.form-control:focus { border-color: var(--gold); }

/* Payment methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pay-method-label {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.pay-method-label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(212,175,55,.07);
}
.pay-method-label input { display: none; }
.pay-method-icon { font-size: 1.2rem; }

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-primary:hover { background: var(--gold-dark); color: #fff; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mid);
}
.btn-secondary:hover { border-color: var(--red-sale); color: var(--red-sale); }

.btn-danger {
  background: var(--red-sale);
  color: #fff;
}
.btn-danger:hover { background: #c02020; }

.btn-full { width: 100%; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .3rem .7rem; font-size: .78rem; }

/* ══════════════════════════════════════════════
   ALERTS
   ══════════════════════════════════════════════ */
.alert {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  margin-top: 10px;
}
.alert-success { background: #efffef; border: 1px solid #b2e2b2; color: #1a7a1a; }
.alert-warning { background: #fff9ea; border: 1px solid #f0d07a; color: #7a5a00; }
.alert-info    { background: #eaf4ff; border: 1px solid #90c8f0; color: #0055a5; }
.alert-danger  { background: #ffeaea; border: 1px solid #f0a0a0; color: #a00000; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ══════════════════════════════════════════════
   OTHER PAGES (contact, a-propos, etc.)
   ══════════════════════════════════════════════ */
.page-content {
  padding: 40px 0;
}
.page-content h1, .page-content h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.page-content p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.page-content a { color: var(--gold-dark); }
.page-content a:hover { text-decoration: underline; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.contact-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.ci-text strong { display: block; font-size: .9rem; color: var(--text-dark); }
.ci-text span { font-size: .85rem; color: var(--text-muted); }
.ci-text a { color: var(--gold-dark); }

/* Vendor page */
.vendor-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 40px 0;
  text-align: center;
}
.vendor-hero h1 { font-size: 2rem; color: var(--gold); margin-bottom: .5rem; }
.vendor-hero p { color: rgba(255,255,255,.75); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.vendor-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 32px 0;
}
.vendor-benefit-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.vb-icon { font-size: 2rem; margin-bottom: 10px; }
.vb-title { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
.vb-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* Admin / Dashboard */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--green-dark);
  padding: 20px 0;
  border-right: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar .logo { padding: 0 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .7rem 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  transition: all .2s;
  border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,.07);
  color: var(--gold);
  border-left-color: var(--gold);
}
.admin-main { background: var(--bg-page); padding: 24px; }

/* ══════════════════════════════════════════════
   PILLS (kept for JS compatibility)
   ══════════════════════════════════════════════ */
.pill-filters { display: flex; gap: .3rem; flex-wrap: wrap; }
.pill {
  padding: .38rem .85rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.pill:hover { background: rgba(255,255,255,.1); color: #fff; }
.pill.active {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-layout { grid-template-columns: 1fr 220px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .hide-on-mobile { display: none !important; }

  .header-main-bar { gap: 10px; padding: 8px 12px; }
  .logo-text { font-size: 1rem; }
  .ali-search-cat { display: none; }

  .hero-layout { grid-template-columns: 1fr; }
  .hero-side-banners { display: grid; grid-template-columns: repeat(3, 1fr); }

  .categories-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .cat-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .cat-label { font-size: .65rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:nth-child(5n) { border-right: 1px solid var(--border); }
  .product-card:nth-child(2n) { border-right: none; }

  .trust-bar-inner { gap: 10px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .trust-item { flex-shrink: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }

  .cart-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .vendor-benefits { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr; }

  .flash-card { flex: 0 0 140px; }

  .promo-strip { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-side-banners { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   ANIMATIONS & MICRO-INTERACTIONS
   ══════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card {
  animation: fadeInUp .3s ease both;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}
.flash-title .flash-icon { animation: pulse-gold 1.5s infinite; }

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 42px; height: 42px;
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 50;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: scale(1.1); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 4px;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
}

/* ── Lightbox (keep backward compat) ── */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#lightbox-overlay.active { display: flex; }
#lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0,0,0,.65);
}
#lightbox-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: .8;
  transition: opacity .2s;
}
#lightbox-close:hover { opacity: 1; }

/* Backward compat – sidebar (hidden in Alibaba layout) */
.sidebar-filters { display: none; }
.bh-layout { display: block; }
.main-content { width: 100%; }

/* ══════════════════════════════════════════════
   VLC-STYLE VIDEO PLAYER
   ══════════════════════════════════════════════ */
.video-player-section {
  background: #181818;
  padding: 14px 0;
  border-bottom: 2px solid var(--gold);
}

.vlc-player-wrap {
  background: #2b2b2b;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  border: 1px solid #444;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Titlebar VLC */
.vlc-titlebar {
  background: linear-gradient(180deg, #4a4a4a 0%, #333 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid #555;
}
.vlc-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vlc-icon {
  color: var(--orange);
  font-size: .85rem;
}
.vlc-title-text {
  font-size: .75rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.vlc-title-right { display: flex; gap: 4px; }
.vlc-ctrl-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  width: 20px; height: 20px;
  border-radius: 3px;
  font-size: .7rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.vlc-ctrl-btn:hover { background: #e44; color: #fff; }

/* Screen */
.vlc-screen {
  position: relative;
  background: #000;
  width: 100%;
  aspect-ratio: 16/7;
  min-height: 240px;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.vlc-video-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ══════════════════════════════════════════════
   PRODUITS EN ÉVIDENCE (FEATURED)
   ══════════════════════════════════════════════ */
.section-featured-products {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f2 100%);
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--border);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.featured-card {
  background: var(--bg-white);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.22);
  border-color: var(--gold);
}

.featured-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.featured-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f8f8;
  position: relative;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.featured-card:hover .featured-img-wrap img {
  transform: scale(1.06);
}

.featured-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.featured-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}

.featured-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--red-sale);
}

.featured-stars {
  font-size: 0.75rem;
  color: var(--gold);
}

@media (max-width: 992px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


/* Placeholder (avant chargement vidéo) */
.vlc-placeholder {
  position: absolute;
  inset: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.vlc-placeholder.hidden { display: none; }
.vlc-placeholder-inner {
  text-align: center;
  color: rgba(255,255,255,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.vlc-big-icon { font-size: 3rem; }
.vlc-placeholder-inner p { font-size: .88rem; margin: 0; }
.vlc-load-btn {
  background: var(--gold);
  color: var(--green-dark);
  padding: .5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s;
}
.vlc-load-btn:hover { background: var(--gold-light); }
.vlc-separator { font-size: .78rem; color: rgba(255,255,255,.35); }
.vlc-url-row {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 360px;
}
.vlc-url-field {
  flex: 1;
  background: #222;
  border: 1px solid #555;
  border-radius: 4px;
  padding: .35rem .7rem;
  color: #fff;
  font-size: .82rem;
  outline: none;
}
.vlc-url-field::placeholder { color: #666; }
.vlc-url-field:focus { border-color: var(--gold); }
.vlc-load-url-btn {
  background: #555;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .35rem .8rem;
  font-size: .82rem;
  cursor: pointer;
  transition: background .2s;
}
.vlc-load-url-btn:hover { background: var(--gold); color: var(--green-dark); }

/* Click overlay (play/pause on click) */
.vlc-click-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

/* Flash icon play/pause */
.vlc-flash-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  font-size: 2.5rem;
  color: rgba(255,255,255,.9);
  pointer-events: none;
  z-index: 10;
  transition: transform .12s, opacity .2s;
  opacity: 0;
  background: rgba(0,0,0,.45);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.vlc-flash-icon.show {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
}

/* Controls bar */
.vlc-controls {
  background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
  padding: 6px 10px 8px;
  border-top: 1px solid #444;
}

/* Seek bar */
.vlc-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.vlc-time {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
}
.vlc-seekbar-track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.vlc-seekbar-buf {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
}
.vlc-seekbar-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
  pointer-events: none;
}
.vlc-seekbar-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(212,175,55,.3);
  pointer-events: none;
  transition: transform .1s;
}
.vlc-seekbar-track:hover .vlc-seekbar-thumb { transform: translate(-50%,-50%) scale(1.2); }

/* Button row */
.vlc-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.vlc-btns-left, .vlc-btns-center, .vlc-btns-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vlc-btn {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  width: 30px; height: 28px;
  border-radius: 4px;
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.vlc-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.vlc-play-btn { width: 36px; background: var(--orange); border-color: var(--orange); color: #fff; }
.vlc-play-btn:hover { background: #e05800; }

/* Volume slider */
.vlc-volume-wrap { display: flex; align-items: center; }
.vlc-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.2);
  outline: none;
  cursor: pointer;
}
.vlc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}
.vlc-vol-label { font-size: .7rem; color: rgba(255,255,255,.45); min-width: 30px; }

/* Speed select */
.vlc-speed-select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  border-radius: 4px;
  padding: 0 4px;
  height: 28px;
  font-size: .78rem;
  cursor: pointer;
}
.vlc-speed-select:focus { outline: none; border-color: var(--gold); }

/* Status bar */
.vlc-statusbar {
  background: #1a1a1a;
  padding: 3px 10px;
  font-size: .7rem;
  color: rgba(255,255,255,.35);
  border-top: 1px solid #3a3a3a;
}

@media (max-width: 600px) {
  .vlc-url-row { flex-direction: column; }
  .vlc-volume { width: 50px; }
  .vlc-vol-label { display: none; }
  .vlc-speed-select { display: none; }
}

/* ══════════════════════════════════════════════
   HIGH-END DASHBOARD ADMIN STYLES
   ══════════════════════════════════════════════ */
.dashboard-page {
  background: #0d160f;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

.dashboard-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #18331d 0%, #070e0a 100%);
  padding: 20px;
}

.dashboard-login-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
  text-align: center;
}

.dashboard-login-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.dashboard-login-card h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.dashboard-login-card input[type="password"] {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dashboard-login-card input[type="password"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.4);
}

.dashboard-sidebar {
  background: #08110a;
  border-right: 1px solid rgba(212, 175, 55, 0.15);
}

.dashboard-nav-item {
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

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

.dashboard-nav-item.active {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: var(--green-dark);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}

.dashboard-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.dashboard-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.dashboard-stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
  display: block;
}

