/* ═══════════════════════════════════════════════════════════
   Kaidee.live — Main Stylesheet
   Color palette: Orange #F47920 | White #FFF | Gray | Dark
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --orange:      #F47920;
  --orange-dark: #D4630E;
  --orange-light:#FEF0E6;
  --white:       #FFFFFF;
  --gray-50:     #F9F9F9;
  --gray-100:    #F3F3F3;
  --gray-200:    #E8E8E8;
  --gray-400:    #BDBDBD;
  --gray-600:    #757575;
  --gray-800:    #424242;
  --dark:        #1A1A1A;
  --dark-2:      #2D2D2D;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.14);
  --transition:  .2s ease;
  --container:   1280px;
}

/* ── Fonts ──────────────────────────────────────────────── */
.font-th { font-family: 'Sarabun', sans-serif; }
.font-en { font-family: 'Inter', sans-serif; }
.font-zh { font-family: 'Noto Sans SC', sans-serif; }

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--gray-50);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════════ */
.topbar {
  background: var(--dark);
  color: var(--gray-400);
  font-size: .78rem;
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-switcher { display: flex; gap: 4px; flex-shrink: 0; }
.lang-btn {
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .78rem;
  color: var(--gray-400);
  transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--orange);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo img { width: 36px; height: 36px; border-radius: 8px; }
.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.logo-text span { color: var(--orange); }

/* Search */
.search-form { width: 100%; }
.search-wrap {
  display: flex;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.search-wrap:focus-within {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--orange-light);
}
.search-input {
  flex: 1;
  padding: 10px 16px;
  font-size: .95rem;
  border: none;
  background: transparent;
  outline: none;
  color: var(--dark);
}
.search-btn {
  padding: 0 18px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.search-btn:hover { background: var(--orange-dark); }

/* Mobile toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* NAV */
.main-nav {
  background: var(--dark);
  border-top: 3px solid var(--orange);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 20px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  border-bottom-color: var(--orange);
}
.nav-deals { color: #FFD54F !important; }
.nav-deals:hover { color: var(--orange) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 600px;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--gray-800);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
}
.dropdown-item small { color: var(--gray-600); }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #2D2D2D 50%, #3D2800 100%);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F47920' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
}
.hero-search {
  display: flex;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero-search input {
  flex: 1;
  padding: 14px 22px;
  font-size: 1rem;
  border: none;
  outline: none;
  color: var(--dark);
}
.hero-search button {
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.hero-search button:hover { background: var(--orange-dark); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stats span {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
  padding: 6px 16px;
  border-radius: 20px;
}

/* ══════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════ */
.section { padding: 48px 0; }
.section-alt { background: var(--white); }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.see-all {
  font-size: .88rem;
  color: var(--orange);
  font-weight: 500;
}
.see-all:hover { text-decoration: underline; }

/* ── Category grid ───────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--orange);
}
.cat-icon { font-size: 2rem; line-height: 1; }
.cat-card span { font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.cat-card small { font-size: .75rem; color: var(--gray-600); }

/* ── Product Grid ────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}
.product-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-title {
  font-size: .87rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.price-current { font-size: 1.05rem; font-weight: 700; color: var(--orange); }
.price-orig {
  font-size: .8rem;
  color: var(--gray-600);
  text-decoration: line-through;
}
.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.meta-rating { font-size: .78rem; color: #FF9800; }
.meta-sold { font-size: .78rem; color: var(--gray-600); }
.product-badges { display: flex; gap: 4px; flex-wrap: wrap; min-height: 18px; }
.btn-buy-sm {
  display: block;
  text-align: center;
  padding: 8px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: .82rem;
  font-weight: 600;
  border-top: 1px solid var(--gray-200);
  transition: var(--transition);
}
.btn-buy-sm:hover {
  background: var(--orange);
  color: var(--white);
}

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.5;
}
.badge-discount { background: var(--orange); color: var(--white); }
.badge-official { background: var(--orange-light); color: var(--orange-dark); }
.badge-preferred { background: #FFF8E1; color: #F57F17; }
.badge-verified  { background: #E8F5E9; color: #2E7D32; }
.badge-new    { background: #E3F2FD; color: #1565C0; }

/* Discount badge on thumb */
.product-thumb .badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: .72rem;
}

/* ── Brand Grid ──────────────────────────────────────────── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--orange);
}
.brand-initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-name { font-size: .88rem; font-weight: 600; color: var(--dark); }
.brand-card small { font-size: .75rem; color: var(--gray-600); }

/* ══════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════════════════════════ */
.product-page { padding: 24px 0 48px; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

/* Gallery */
.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
  padding: 0;
}
.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--orange);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Detail */
.product-h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 12px;
  color: var(--dark);
}
.product-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.stars .star-full  { color: #FF9800; }
.stars .star-half  { color: #FF9800; }
.stars .star-empty { color: var(--gray-400); }
.rating-val { font-size: .9rem; font-weight: 600; color: #FF9800; }
.sold-count, .like-count { font-size: .88rem; color: var(--gray-600); }
.divider { color: var(--gray-400); }

.product-price-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--orange-light);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.price-big {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}
.price-orig-big {
  font-size: 1rem;
  color: var(--gray-600);
  text-decoration: line-through;
}
.discount-tag {
  background: var(--orange);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .88rem;
  font-weight: 700;
}

.product-meta-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin-bottom: 20px;
  font-size: .9rem;
}
.product-meta-list dt { color: var(--gray-600); font-weight: 500; white-space: nowrap; }
.product-meta-list dd { color: var(--dark); }
.product-meta-list dd a { color: var(--orange); }
.product-meta-list dd a:hover { text-decoration: underline; }

.product-variants { margin-bottom: 20px; }
.variants-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.variants-label { font-size: .9rem; font-weight: 600; color: var(--gray-800); }
.variants-count {
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFF4EA;
  color: var(--orange-dark);
  font-size: .75rem;
  font-weight: 700;
}
.variant-picker-card {
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFDFB 0%, #FFF7F1 100%);
}
.variant-picker-label {
  display: block;
  margin-bottom: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
}
.variant-select-wrap {
  position: relative;
}
.variant-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.variant-select {
  width: 100%;
  appearance: none;
  border: 1.5px solid #F2D7C2;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 44px 14px 14px;
  font-size: .92rem;
  color: var(--dark);
  transition: var(--transition);
}
.variant-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244, 121, 32, .12);
}
.variant-preview {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(244, 121, 32, .12);
  display: grid;
  gap: 3px;
}
.variant-preview-kicker {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.variant-preview-name {
  color: var(--dark);
  font-size: .95rem;
}
.variant-preview-price {
  color: var(--orange-dark);
  font-size: .85rem;
  font-weight: 700;
}

.product-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-buy-main {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
}
.btn-buy-main:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(244,121,32,.4);
  color: var(--white);
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: .9rem;
  color: var(--gray-800);
  transition: var(--transition);
}
.btn-share:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.product-description {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}
.product-description h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange-light);
}
.description-body {
  font-size: .93rem;
  line-height: 1.8;
  color: var(--gray-800);
  max-height: 400px;
  overflow: hidden;
  position: relative;
}
.description-body.expanded { max-height: none; }

.related-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════
   LISTING PAGES (Search / Category / Brand)
   ══════════════════════════════════════════════════════════ */
.listing-page { padding: 24px 0 48px; }
.listing-header { margin-bottom: 20px; }
.listing-header h1 { font-size: 1.6rem; font-weight: 700; }
.result-count { font-size: .9rem; color: var(--gray-600); margin-top: 4px; }

.sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sort-bar > span { font-size: .88rem; color: var(--gray-600); font-weight: 500; margin-right: 4px; }
.sort-btn {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: var(--transition);
  white-space: nowrap;
}
.sort-btn:hover, .sort-btn.active {
  background: var(--orange);
  color: var(--white);
}

.sub-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.sub-cat-chip {
  padding: 6px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  font-size: .85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.sub-cat-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.sub-cat-chip span { color: var(--gray-600); font-size: .78rem; }

/* ── Brands Page ─────────────────────────────────────────── */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
}
.alpha-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: var(--transition);
}
.alpha-btn:hover { background: var(--orange); color: var(--white); }
.brand-section { margin-bottom: 36px; }
.brand-letter {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange-light);
}
.brand-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.brand-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.brand-list-item:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
}
.brand-initial-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-list-name { flex: 1; font-size: .88rem; font-weight: 500; }
.brand-list-count {
  font-size: .75rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 10px;
}
.brand-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: var(--radius-lg);
  color: var(--white);
}
.brand-hero-initial {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-hero h1 { font-size: 1.6rem; margin-bottom: 4px; }
.brand-hero p { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════ */
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .82rem;
}
.breadcrumb-item a { color: var(--gray-600); }
.breadcrumb-item a:hover { color: var(--orange); }
.breadcrumb-item.active { color: var(--gray-800); font-weight: 500; }
.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 6px;
  color: var(--gray-400);
}

/* ══════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.page-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-800);
  font-size: .88rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1.5px solid var(--gray-200);
}
.page-btn:hover { border-color: var(--orange); color: var(--orange); }
.page-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ══════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-600);
}
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h2 { font-size: 1.3rem; margin-bottom: 8px; color: var(--dark); }
.empty-state p { margin-bottom: 20px; }
.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 48px 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand .footer-logo span { color: var(--white); }
.footer-brand .footer-logo span span { color: var(--orange); }
.footer-brand p {
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--gray-600);
}
.social-links { display: flex; gap: 8px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-btn:hover { background: var(--orange); color: var(--white); }
.footer-links h4 {
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .85rem; color: var(--gray-600); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: var(--gray-600); }
.lang-footer { display: flex; gap: 10px; }
.lang-footer a { font-size: 1.2rem; opacity: .5; transition: var(--transition); }
.lang-footer a:hover, .lang-footer a.active { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 99;
}
.back-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-top:hover { background: var(--orange-dark); }

/* ══════════════════════════════════════════════════════════
   MISC UTILITIES
   ══════════════════════════════════════════════════════════ */
.section-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.text-center { text-align: center; }
.deals-section { background: linear-gradient(135deg, #FFF8F0, var(--white)); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery-main { max-width: 480px; }
}

@media (max-width: 768px) {
  .header-inner { grid-template-columns: auto auto 1fr; }
  .search-form { order: 3; grid-column: 1/-1; }
  .mobile-menu-btn { display: flex; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 8px 20px 12px; }
  .dropdown-menu { position: static; opacity: 1; pointer-events: all; transform: none; min-width: 0; box-shadow: none; padding: 8px 0; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 48px 0; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .variants-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-search { flex-direction: column; border-radius: var(--radius-lg); }
  .hero-search button { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 12px; }
  .hero-stats { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-text { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}
