/* ==========================================================================
   Modern Furniture — premium design system
   ========================================================================== */

:root {
  --c-gold: #C9A45C;
  --c-gold-dark: #A9823F;
  --c-bg: #F8F7F4;
  --c-beige: #F1EEE8;
  --c-charcoal: #242424;
  --c-dark: #292929;
  --c-muted: #6F6B63;
  --c-white: #FFFFFF;
  --c-border: #DED9D0;
  --c-sale: #A9432F;
  --c-success: #4C7A5A;

  --font-heading: 'Noto Kufi Arabic', 'Playfair Display', serif;
  --font-body: 'Noto Sans Arabic', 'Manrope', sans-serif;

  --container-w: 1240px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --shadow-card: 0 1px 2px rgba(36, 36, 36, 0.05), 0 2px 8px rgba(36, 36, 36, 0.04);
  --shadow-pop: 0 12px 32px rgba(36, 36, 36, 0.10);
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-charcoal);
  background: var(--c-bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
hr { border: none; border-top: 1px solid var(--c-border); }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; margin: 0; color: var(--c-charcoal); }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
@media (min-width: 992px) {
  h1 { font-size: 64px; }
  h2 { font-size: 42px; }
  h3 { font-size: 28px; }
}
p { margin: 0; }
small, .text-sm { font-size: 14px; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 480px) {
  .container { padding: 0 24px; }
}

.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;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--c-gold-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--c-gold); }

.gold { color: var(--c-gold); }
.text-muted { color: var(--c-muted); }

/* ---- reveal-on-scroll ---- */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-gold { background: var(--c-gold); color: var(--c-white); }
.btn-gold:hover { background: var(--c-gold-dark); }
.btn-navy, .btn-charcoal { background: var(--c-charcoal); color: var(--c-white); }
.btn-navy:hover, .btn-charcoal:hover { background: #000; }
.btn-outline { background: transparent; border-color: var(--c-charcoal); color: var(--c-charcoal); }
.btn-outline:hover { background: var(--c-charcoal); color: var(--c-white); }
.btn-ghost {
  height: auto; padding: 0; background: none; border: none; color: var(--c-charcoal);
  text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 14px;
  position: relative; padding-bottom: 3px;
}
.btn-ghost::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 1px;
  background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-whatsapp { background: #25D366; color: #fff; text-transform: none; letter-spacing: 0; }
.btn-whatsapp:hover { background: #1ebe57; }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 12.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: all .3s var(--ease);
  color: var(--c-charcoal);
}
.icon-btn:hover { border-color: var(--c-gold); color: var(--c-gold-dark); }

/* ---- header group (ticker + header + category nav, sticks together to the top on scroll) ----
   Written mobile-first: base rules below are the small-screen layout; min-width
   queries progressively restore the roomier desktop arrangement. */
.site-header-group {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

/* ---- top ticker ---- */
.top-ticker {
  background: var(--c-gold-dark);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 7px 0;
  position: relative;
}
.top-ticker__container { position: relative; padding-left: 30px; }
.top-ticker__viewport { overflow: hidden; white-space: nowrap; }
.top-ticker__track { display: inline-flex; animation: ticker-scroll 22s linear infinite; }
.top-ticker__item {
  display: inline-block;
  flex-shrink: 0;
  padding: 0 20px;
  unicode-bidi: isolate;
}
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.top-ticker__close {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  color: rgba(255,255,255,.8); opacity: .9; background: none; border: none; z-index: 2;
}
.top-ticker.is-hidden { display: none; }

/* ---- header ----
   Mobile: light bar — logo/name + burger clustered together, icon-only actions
   on the opposite side, no inline search field (just a search icon).
   Desktop (≥768px): restores the original dark charcoal/gold header with the
   full inline search bar and labelled action links. */
.site-header {
  background: var(--c-white);
  color: var(--c-charcoal);
  border-bottom: 1px solid var(--c-border);
  padding: 10px 0;
}
.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header-brand-group { display: flex; align-items: center; gap: 4px; flex-shrink: 0; min-width: 0; }

.burger-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: none; border: none; color: var(--c-charcoal); border-radius: var(--radius-sm);
  flex-shrink: 0; transition: background .2s var(--ease);
}
.burger-btn:hover, .burger-btn:active { background: var(--c-bg); }
@media (min-width: 400px) {
  .burger-btn { width: 38px; height: 38px; }
}

.brand { display: flex; align-items: center; gap: 6px; min-width: 0; }
.brand img { height: 22px; width: auto; flex-shrink: 0; }
.brand span { font-family: var(--font-heading); font-weight: 700; font-size: 12.5px; letter-spacing: .2px; color: var(--c-charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 400px) {
  .brand img { height: 30px; }
  .brand span { font-size: 15px; }
}

.search-bar { display: none; position: relative; }
.search-bar.is-open { display: block; flex: 1 1 100%; order: 10; margin-top: 8px; }
.search-bar input {
  width: 100%;
  padding: 10px 42px 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-charcoal);
  font-size: 13.5px;
}
.search-bar input::placeholder { color: var(--c-muted); }
.search-bar input:focus { outline: 2px solid var(--c-gold); background: var(--c-white); }
.search-bar__icon { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }

/* ---- live search suggestions dropdown ---- */
.search-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  z-index: 60;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px 0;
  color: var(--c-charcoal);
  text-align: right;
}
.search-suggest.is-open { display: block; }
.search-suggest__label { padding: 8px 16px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .3px; color: var(--c-muted); }
.search-suggest__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; font-size: 13px; color: var(--c-charcoal);
  transition: background .15s var(--ease);
}
.search-suggest__item:hover { background: var(--c-bg); }
.search-suggest__item-text { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.search-suggest__item-text strong { font-weight: 800; }
.search-suggest__item-meta { color: var(--c-muted); }
.search-suggest__item svg { flex-shrink: 0; color: var(--c-muted); }
.search-suggest__empty { padding: 14px 16px; text-align: center; font-size: 12.5px; color: var(--c-muted); }

.header-location { display: none; }

.header-actions { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.header-action {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  position: relative; color: var(--c-charcoal);
  background: none; border: none; padding: 0; cursor: pointer; font: inherit;
  transition: background .2s var(--ease), color .2s var(--ease);
}
@media (min-width: 400px) {
  .header-actions { gap: 2px; }
  .header-action { width: 38px; height: 38px; }
}
.header-action:hover, .header-action:active { background: var(--c-bg); color: var(--c-gold-dark); }
.header-action__label { display: none; }

.header-action--search__icon-close { display: none; }
.header-action--search.is-active { background: var(--c-bg); color: var(--c-gold-dark); }
.header-action--search.is-active .header-action--search__icon-search { display: none; }
.header-action--search.is-active .header-action--search__icon-close { display: flex; }
.header-action .badge-count {
  position: absolute; top: 1px; left: 3px;
  background: var(--c-gold); color: var(--c-dark);
  font-size: 9.5px; font-weight: 800; border-radius: 999px;
  min-width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; padding: 0 3px;
  border: 2px solid var(--c-white);
}

@media (min-width: 768px) {
  .top-ticker { font-size: 12.5px; padding: 9px 0; }
  .top-ticker__container { padding-left: 40px; }
  .top-ticker__item { padding: 0 36px; }

  .site-header {
    background: linear-gradient(180deg, var(--c-dark) 0%, var(--c-charcoal) 100%);
    color: var(--c-white);
    border-bottom: none;
    padding: 14px 0;
  }
  .site-header__row { justify-content: flex-start; gap: 20px; }
  .header-brand-group { gap: 8px; }
  .burger-btn { display: none; }
  .brand img { height: 42px; }
  .brand span { font-size: 18px; letter-spacing: .3px; color: var(--c-white); }
  .search-bar { display: block; flex: 1 1 auto; max-width: 420px; order: 0; margin-top: 0; }
  .search-bar input { border: none; background: rgba(255,255,255,.12); color: var(--c-white); }
  .search-bar input::placeholder { color: rgba(255,255,255,.6); }
  .search-bar input:focus { outline: 2px solid var(--c-gold); background: rgba(255,255,255,.18); }
  .search-bar__icon { color: rgba(255,255,255,.7); }
  .header-action--search { display: none; }

  .header-location { display: flex; align-items: center; gap: 8px; color: var(--c-white); flex-shrink: 0; }
  .header-location__flag { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }

  .header-actions { gap: 22px; }
  .header-action { width: auto; height: auto; border-radius: 0; gap: 8px; color: var(--c-white); }
  .header-action:hover { background: none; color: var(--c-gold); }
  .header-action__label { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .header-action__label small { display: block; font-size: 11px; font-weight: 400; opacity: .7; }
  .header-action .badge-count { top: -8px; left: -10px; border: none; }
}

@media (min-width: 1200px) {
  .search-bar { max-width: 560px; }
}

/* ---- category pill nav (secondary) ---- */
.category-nav { background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.category-nav__list { display: flex; justify-content: flex-start; gap: 20px; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 2px; }
.category-nav__list::-webkit-scrollbar { display: none; }
.category-nav__item {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 2px; font-weight: 700; font-size: 12px; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: all .25s var(--ease); color: var(--c-charcoal);
}
.category-nav__item:hover, .category-nav__item.is-active { color: var(--c-gold-dark); border-bottom-color: var(--c-gold); }
.category-nav__icon { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

@media (min-width: 768px) {
  .category-nav__list { gap: 36px; padding: 0; }
  .category-nav__item { padding: 14px 4px; font-size: 13.5px; gap: 10px; }
  .category-nav__icon { width: 30px; height: 30px; }
}

/* ---- mobile drawer ---- */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
.mobile-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(20,20,20,.55);
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; width: 86%; max-width: 340px; height: 100%;
  background: var(--c-white); overflow-y: auto;
  padding: 16px 18px 28px;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  box-shadow: -8px 0 28px rgba(0,0,0,.15);
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--c-border); }
.mobile-drawer__close {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-bg); border: none; color: var(--c-charcoal);
}
.mobile-drawer__section-label { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: var(--c-muted); text-transform: uppercase; padding: 16px 2px 4px; }
.mobile-drawer__link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 2px; border-bottom: 1px solid var(--c-border);
  font-weight: 600; font-size: 14px; color: var(--c-charcoal);
  transition: color .2s var(--ease);
}
.mobile-drawer__link svg { flex-shrink: 0; color: var(--c-muted); }
.mobile-drawer__link:hover, .mobile-drawer__link:active { color: var(--c-gold-dark); }
.mobile-drawer__link-icon { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mobile-drawer__link .badge-count {
  margin-right: auto;
  background: var(--c-gold); color: var(--c-dark);
  font-size: 10.5px; font-weight: 800; border-radius: 999px;
  min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---- section header ---- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section-header h2 { margin: 0; }
.section-header a { font-size: 13px; font-weight: 700; color: var(--c-gold-dark); display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

/* ---- sliders (swiper wrapper) ---- */
.slider-wrap { position: relative; }
.slider-nav-btn {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-white); border: 1px solid var(--c-border); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center; color: var(--c-charcoal);
  transition: all .25s var(--ease);
}
.slider-nav-btn:hover { border-color: var(--c-gold); color: var(--c-gold-dark); }
.slider-nav-btn.prev { right: -8px; }
.slider-nav-btn.next { left: -8px; }
.swiper-button-disabled { opacity: .3; pointer-events: none; }

/* ---- hero slider ---- */
.hero-slider { height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-beige); }
.hero-slider .swiper-slide { display: flex; align-items: center; justify-content: center; }
.hero-slider .swiper-slide a { display: flex; width: 100%; height: 100%; }
.hero-slider .swiper-slide img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; }
.hero-slider .swiper-pagination-bullet { background: var(--c-white); opacity: .6; }
.hero-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--c-gold); }
@media (max-width: 640px) { .hero-slider { height: 200px; } }

/* ---- category circles ---- */
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.cat-circle__img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 2px solid var(--c-border); }
.cat-circle__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle:hover .cat-circle__img { border-color: var(--c-gold); }
.cat-circle span { font-size: 12.5px; font-weight: 700; max-width: 92px; }

/* ---- category showcase (used on the Collections page) ---- */
.category-showcase { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.category-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; display: block; }
.category-card__image { position: absolute; inset: 0; }
.category-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.category-card:hover .category-card__image img { transform: scale(1.06); }
.category-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  background: linear-gradient(to top, rgba(36,36,36,.75) 0%, rgba(36,36,36,0) 55%);
}
.category-card__name { color: var(--c-white); font-family: var(--font-heading); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.category-card__arrow { color: var(--c-gold); display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; opacity: 0; transform: translateX(6px); transition: all .3s var(--ease); }
.category-card:hover .category-card__arrow { opacity: 1; transform: translateX(0); }

/* ---- banners ---- */
.banner-single { height: 360px; border-radius: var(--radius-lg); overflow: hidden; }
.banner-single a { display: block; width: 100%; height: 100%; }
.banner-single img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .banner-single { height: 200px; } }

/* ---- product card ---- */
.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.product-card__media { position: relative; aspect-ratio: 1/1; background: var(--c-beige); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__badge { position: absolute; top: 12px; right: 12px; background: var(--c-charcoal); color: var(--c-white); font-size: 10.5px; font-weight: 700; letter-spacing: .3px; padding: 4px 10px; border-radius: var(--radius-sm); }
.product-card__wish {
  position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; border: none; color: var(--c-charcoal);
  transition: color .25s var(--ease);
}
.product-card__wish.is-active { color: var(--c-sale); }
.product-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__name { font-size: 14.5px; font-weight: 700; line-height: 1.4; color: var(--c-charcoal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.product-card__rating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--c-muted); }
.product-card__rating strong { color: var(--c-charcoal); }
.product-card__rating .stars { color: var(--c-gold); display: flex; }
.product-card__price-row { margin-top: auto; padding-top: 4px; }
.product-card__from { font-size: 11px; color: var(--c-muted); }
.product-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-card__price .now { font-weight: 700; font-size: 17px; color: var(--c-gold-dark); font-family: var(--font-heading); }
.product-card__price .now small { font-size: 11px; font-weight: 600; }
.product-card__price .old { font-size: 12px; color: var(--c-muted); text-decoration: line-through; }
.product-card__price .off { font-size: 11px; font-weight: 800; color: var(--c-sale); }
.product-card__options { font-size: 11px; color: var(--c-muted); display: flex; gap: 10px; margin-top: 2px; }
.product-card__colors { display: flex; gap: 6px; margin-top: 2px; }
.product-card__color-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c-white); box-shadow: 0 0 0 1px var(--c-border); flex-shrink: 0; cursor: pointer; }
.product-card__color-dot[data-image] { cursor: pointer; }
.product-card__color-dot.is-selected { box-shadow: 0 0 0 2px var(--c-gold); }
.product-card__shipping { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--c-muted); margin-top: 2px; }
.product-card__shipping svg { width: 14px; height: 14px; }

/* ---- grids ---- */
.grid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-row-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ---- brand story ---- */
.brand-story { background: var(--c-beige); }
.brand-story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.brand-story__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.brand-story__image img { width: 100%; height: 100%; object-fit: cover; }
.brand-story__content h2 { margin-bottom: 18px; }
.brand-story__content p { color: var(--c-muted); font-size: 15.5px; line-height: 1.85; margin-bottom: 28px; max-width: 480px; }

/* ---- why choose us ---- */
.why-choose { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-choose__item { text-align: right; }
.why-choose__number { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--c-gold); margin-bottom: 14px; }
.why-choose__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--c-border); border-radius: 50%; color: var(--c-charcoal); margin-bottom: 16px; }
.why-choose__title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-choose__text { font-size: 13.5px; color: var(--c-muted); line-height: 1.7; }

/* ---- filters / listing ---- */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: flex-start; }
.filters-panel { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 22px; position: sticky; top: 20px; }
.filters-panel h3 { font-size: 15px; margin: 0 0 16px; font-family: var(--font-heading); }
.filter-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--c-border); }
.filter-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group__label { font-weight: 800; font-size: 11.5px; letter-spacing: .4px; color: var(--c-charcoal); margin-bottom: 12px; text-transform: uppercase; }
.filter-group__list { max-height: 210px; overflow-y: auto; }
.filter-check { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; cursor: pointer; transition: color .2s var(--ease); }
.filter-check:hover { color: var(--c-gold-dark); }
.filter-check input { accent-color: var(--c-gold); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.filter-check .stars { display: inline-flex; gap: 1px; color: var(--c-gold); }
.filter-check .stars svg { width: 13px; height: 13px; }
.price-range-inputs { display: flex; gap: 8px; align-items: center; }
.price-range-inputs input { width: 100%; padding: 9px 10px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-size: 13px; transition: border-color .2s var(--ease); }
.price-range-inputs input:focus { outline: none; border-color: var(--c-gold); }

.filter-color-grid { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.filter-color-swatch { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.filter-color-swatch input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.filter-color-swatch__dot {
  display: block; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--c-white); box-shadow: 0 0 0 1px var(--c-border);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.filter-color-swatch:hover .filter-color-swatch__dot { transform: scale(1.08); }
.filter-color-swatch input:checked + .filter-color-swatch__dot { box-shadow: 0 0 0 2px var(--c-gold); transform: scale(1.08); }
.filter-color-swatch__label { font-size: 10px; color: var(--c-muted); max-width: 46px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.listing-toolbar select { padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--c-border); font-size: 13px; background: var(--c-white); }
.breadcrumbs { font-size: 12.5px; color: var(--c-muted); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--c-gold-dark); }

/* ---- pagination ---- */
.pagination { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination__item, .pagination__nav {
  min-width: 42px; height: 42px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: 13.5px; font-weight: 700;
  transition: border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.pagination__item:hover, .pagination__nav:hover {
  border-color: var(--c-gold); color: var(--c-gold-dark);
  box-shadow: var(--shadow-card); transform: translateY(-1px);
}
.pagination__item.is-active {
  background: var(--c-charcoal); border-color: var(--c-charcoal); color: var(--c-white);
  box-shadow: var(--shadow-pop);
}
.pagination__item.is-active:hover { transform: none; }
.pagination__nav.is-disabled { opacity: .35; pointer-events: none; }
.pagination__nav svg { width: 15px; height: 15px; }
.pagination__dots {
  min-width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted); font-weight: 700; letter-spacing: 1px;
}

/* ---- product page ---- */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.product-layout > * { min-width: 0; }
@media (min-width: 992px) {
  .product-layout { grid-template-columns: 1.15fr 1fr 260px; gap: 28px; }
}
.product-gallery__main { position: relative; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; background: var(--c-beige); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.product-gallery__thumbs {
  display: flex; gap: 10px; margin-top: 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px;
}
.product-gallery__thumbs::-webkit-scrollbar { display: none; }
.product-gallery__thumbs img { width: 58px; height: 58px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--c-border); cursor: pointer; transition: border-color .25s var(--ease); flex-shrink: 0; }
@media (min-width: 640px) {
  .product-gallery__thumbs img { width: 74px; height: 74px; }
}
.product-gallery__thumbs img.is-active { border-color: var(--c-gold); border-width: 2px; }
.gallery-badge { position: absolute; top: 14px; right: 14px; background: var(--c-charcoal); color: var(--c-white); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-sm); }
.gallery-wish { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; border: none; color: var(--c-charcoal); }
.gallery-wish.is-active { color: var(--c-sale); }
.gallery-lightbox {
  position: fixed; inset: 0; margin: auto; padding: 0; border: none; background: transparent;
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
}
.gallery-lightbox::backdrop { background: rgba(20, 18, 14, .92); }
.gallery-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.gallery-lightbox img { max-width: min(90vw, 1000px); max-height: 86vh; object-fit: contain; border-radius: var(--radius-md); }
.gallery-lightbox__close, .gallery-lightbox__nav {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: var(--c-white); cursor: pointer;
  transition: background .2s var(--ease);
}
.gallery-lightbox__close:hover, .gallery-lightbox__nav:hover { background: rgba(255,255,255,.24); }
.gallery-lightbox__close { top: 18px; left: 18px; }
.gallery-lightbox__nav.prev { right: 18px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__nav.next { left: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .gallery-lightbox__nav { width: 38px; height: 38px; }
  .gallery-lightbox__nav.prev { right: 8px; }
  .gallery-lightbox__nav.next { left: 8px; }
  .gallery-lightbox__close { top: 10px; left: 10px; }
}

.product-info h1 { font-size: 26px; margin: 0 0 10px; }
@media (min-width: 992px) { .product-info h1 { font-size: 32px; } }
.rating-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.rating-row .stars { color: var(--c-gold); display: flex; }
.rating-row strong { color: var(--c-charcoal); }
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.product-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--c-charcoal); background: var(--c-beige); padding: 6px 12px; border-radius: 999px; }
.product-price-block { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 4px; flex-wrap: wrap; }
.product-price-block .now { font-size: 26px; font-weight: 700; color: var(--c-gold-dark); font-family: var(--font-heading); }
.product-price-block .old { font-size: 15px; color: var(--c-muted); text-decoration: line-through; }
.product-price-block .off { background: var(--c-charcoal); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); }
.savings-note { font-size: 12.5px; color: var(--c-success); margin-bottom: 18px; }
.variant-group { margin: 18px 0; }
.variant-group__label { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.variant-swatch { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: var(--radius-sm); border: 1px solid var(--c-border); font-size: 13px; margin: 0 6px 6px 0; cursor: pointer; transition: all .2s var(--ease); }
.variant-swatch.is-selected { border-color: var(--c-gold); background: var(--c-beige); font-weight: 700; }
.color-swatch {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 6px 6px 0;
  cursor: pointer;
  border: 2px solid var(--c-white);
  box-shadow: 0 0 0 1px var(--c-border);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.color-swatch:hover { transform: scale(1.08); }
.color-swatch.is-selected { box-shadow: 0 0 0 2px var(--c-gold); }
.delivery-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--c-muted); margin-top: 20px; }

.purchase-box { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 18px; }
@media (min-width: 992px) {
  .purchase-box { position: sticky; top: 100px; }
}
.purchase-box__banner { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; }
.purchase-box__banner img { width: 100%; display: block; }
.purchase-box .qty-stepper { width: 100%; justify-content: space-between; margin-bottom: 12px; }
.purchase-trust { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.purchase-trust span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-muted); }
.purchase-trust svg { width: 16px; height: 16px; flex-shrink: 0; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.qty-stepper button { background: none; border: none; width: 38px; height: 44px; font-size: 16px; }
.qty-stepper input { width: 44px; text-align: center; border: none; font-size: 14px; background: none; }

.product-section { margin-top: 40px; }
.product-section > h2 { font-size: 19px; margin-bottom: 18px; }
@media (min-width: 768px) {
  .product-section { margin-top: 56px; }
  .product-section > h2 { font-size: 22px; margin-bottom: 24px; }
}
.desc-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 992px) {
  .desc-layout { grid-template-columns: 280px 1fr; gap: 40px; }
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--c-border); }
.spec-table td { padding: 12px 0; }
.spec-table td:first-child { color: var(--c-muted); width: 40%; }

.desc-sections-table, .desc-sections-table tbody, .desc-sections-table tr, .desc-sections-table td { display: block; width: 100%; }
.desc-sections-table { margin-top: 20px; }
.desc-sections-table tr { border-top: 1px solid var(--c-border); padding: 12px 0; }
.desc-sections-table tr:first-child { border-top: none; }
.desc-sections-table td { padding: 0; vertical-align: top; }
.desc-sections-table__title { font-weight: 700; font-family: var(--font-heading); font-size: 14.5px; padding-bottom: 6px; }
.desc-sections-table__body { font-size: 14px; line-height: 1.85; color: var(--c-muted); white-space: pre-line; }
@media (min-width: 640px) {
  .desc-sections-table, .desc-sections-table tbody { display: table; width: 100%; }
  .desc-sections-table tr { display: table-row; border-top: 1px solid var(--c-border); padding: 0; }
  .desc-sections-table td { display: table-cell; width: auto; padding: 16px 0; }
  .desc-sections-table__title { width: 190px; padding-bottom: 0; padding-left: 24px; }
}

.reviews-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 992px) {
  .reviews-layout { grid-template-columns: 280px 1fr; gap: 40px; }
}
.rating-summary { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 22px; text-align: center; height: fit-content; }
.rating-summary__score { font-size: 36px; font-weight: 700; font-family: var(--font-heading); }
.rating-summary .stars { color: var(--c-gold); display: flex; justify-content: center; margin: 8px 0; }
.rating-summary__count { font-size: 12.5px; color: var(--c-muted); margin-bottom: 18px; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-muted); margin-bottom: 8px; }
.rating-bar-row .track { flex: 1; height: 6px; background: var(--c-beige); border-radius: 999px; overflow: hidden; }
.rating-bar-row .fill { height: 100%; background: var(--c-gold); }
.review-item { border-bottom: 1px solid var(--c-border); padding: 16px 0; }
.review-item .stars { color: var(--c-gold); }

.review-form { background: var(--c-beige); border-radius: var(--radius-md); padding: 18px; margin-bottom: 4px; }
.review-form__label { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.review-form__stars { display: flex; gap: 4px; margin-bottom: 12px; }
.review-form__star { background: none; border: none; padding: 2px; color: var(--c-border); transition: color .15s var(--ease); }
.review-form__star:hover, .review-form__star.is-active { color: var(--c-gold); }
.review-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-size: 13.5px; font-family: inherit; resize: vertical; background: var(--c-white); }
.review-status-note { display: flex; align-items: center; gap: 10px; background: var(--c-beige); border-radius: var(--radius-md); padding: 14px 18px; font-size: 13.5px; color: var(--c-charcoal); margin-bottom: 4px; }
.review-status-note.is-approved { background: #EAF2EC; color: var(--c-success); }

/* ---- cart ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: flex-start; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--c-border); }
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); background: var(--c-beige); }
.cart-summary { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 22px; position: sticky; top: 100px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; }
.cart-summary__row.total { font-weight: 700; font-size: 17px; border-top: 1px solid var(--c-border); margin-top: 8px; padding-top: 14px; }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }

/* ---- forms ---- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-size: 14px; background: var(--c-white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--c-gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: var(--c-sale); font-size: 12px; margin-top: 4px; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-method-card { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--c-border); border-radius: var(--radius-md); padding: 12px 14px; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.payment-method-card input[type="radio"] { width: auto; height: auto; margin: 0; padding: 0; border: none; background: none; accent-color: var(--c-gold); }
.payment-method-card__icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-beige); color: var(--c-gold-dark); flex-shrink: 0; }
.payment-method-card__text { display: flex; flex-direction: column; gap: 2px; }
.payment-method-card__text strong { font-size: 13.5px; }
.payment-method-card__text small { font-size: 11.5px; color: var(--c-muted); }
.payment-method-card:hover { border-color: var(--c-gold); }
.payment-method-card.is-selected { border-color: var(--c-gold); background: var(--c-beige); }
@media (max-width: 640px) { .payment-methods { grid-template-columns: 1fr; } }
.auth-card { max-width: 440px; margin: 60px auto; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 40px; }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 26px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--c-muted); font-size: 12.5px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.auth-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }

/* ---- account ---- */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: flex-start; }
.account-nav { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; }
.account-nav a { display: block; padding: 14px 18px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--c-border); }
.account-nav a.is-active, .account-nav a:hover { background: var(--c-beige); color: var(--c-gold-dark); }
.account-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 24px; }
.image-preview-grid { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.preview-item { width: 80px; height: 80px; flex-shrink: 0; }
.preview-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--c-border); display: block; }
/* ---- chunked image uploader ---- */
.chunk-upload__list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.chunk-upload__item { position: relative; width: 80px; height: 80px; border-radius: var(--radius-sm); border: 1px solid var(--c-border); overflow: hidden; background: var(--c-bg); }
.chunk-upload__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chunk-upload__item.is-uploading img { opacity: .35; }
.chunk-upload__progress {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px; background: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; color: var(--c-charcoal);
}
.chunk-upload__progress-bar { width: 60px; height: 4px; border-radius: 999px; background: var(--c-border); overflow: hidden; }
.chunk-upload__progress-bar span { display: block; height: 100%; background: var(--c-gold); transition: width .2s ease; }
.chunk-upload__remove {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: none; font-size: 12px; line-height: 1; cursor: pointer;
}
.chunk-upload__error { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #fef2f2; color: var(--c-sale); font-size: 10px; text-align: center; padding: 4px; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.status-pill { padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pending { background: #EFEDE7; color: var(--c-muted); }
.status-processing { background: #FBF1E1; color: var(--c-gold-dark); }
.status-ready_to_ship { background: #E8F0FE; color: #3B5BDB; }
.status-shipped { background: #FBF1E1; color: var(--c-gold-dark); }
.status-delivered { background: #E9F3EC; color: var(--c-success); }
.status-cancelled { background: #F7E9E6; color: var(--c-sale); }
.status-returned { background: #F3E8FF; color: #7C3AED; }
.status-repaired { background: #E6F7F5; color: #0F9488; }
.status-delivery_failed { background: #F7E9E6; color: var(--c-sale); }
.status-exchanged { background: #E7F0FE; color: #2563EB; }
.status-paid { background: #EAF2EC; color: var(--c-success); }

/* ---- footer (premium dark) ---- */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,.7); margin-top: 0; padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { color: var(--c-white); font-family: var(--font-heading); font-size: 14px; letter-spacing: .5px; margin-bottom: 18px; text-transform: uppercase; }
.footer-grid a { display: block; padding: 6px 0; font-size: 13.5px; color: #B9B5AD; transition: color .25s var(--ease); }
.footer-grid a:hover { color: var(--c-gold); }
.footer-logo { height: 52px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 13.5px; color: #B9B5AD; max-width: 240px; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: var(--c-white); }
.footer-social a:hover { border-color: var(--c-gold); color: var(--c-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: #948F86; }
.footer-bottom a { color: #948F86; }
.footer-bottom a:hover { color: var(--c-gold); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; }

/* ---- toasts ---- */
.toast-stack { position: fixed; bottom: 90px; left: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--c-charcoal); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 13.5px; box-shadow: var(--shadow-pop); animation: toast-in .2s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---- whatsapp confirmation ---- */
.confirm-box { max-width: 540px; margin: 60px auto; text-align: center; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 46px 34px; }
.confirm-box .icon-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--c-beige); color: var(--c-gold-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-order-summary { text-align: right; background: var(--c-bg); border-radius: var(--radius-md); padding: 18px; margin: 22px 0; font-size: 13.5px; }
.confirm-order-summary .row { display: flex; justify-content: space-between; padding: 5px 0; }

/* ---- static/content pages ---- */
.content-page { max-width: 780px; margin: 0 auto; }
.content-page h1 { margin-bottom: 20px; }
.content-page p { color: var(--c-muted); font-size: 15.5px; line-height: 1.9; margin-bottom: 18px; }
.content-page h3 { margin: 30px 0 12px; font-size: 20px; }
.faq-item { border-bottom: 1px solid var(--c-border); padding: 20px 0; }
.faq-item summary { font-weight: 700; font-size: 15px; cursor: pointer; }
.faq-item p { margin-top: 10px; }

/* ---- empty states ---- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--c-muted); }
.empty-state .icon-circle { width: 66px; height: 66px; border-radius: 50%; background: var(--c-beige); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--c-gold-dark); }

/* Grid items default to min-width:auto, which lets unbreakable content (long
   prices, buttons, swatch rows...) force a track wider than its container —
   the exact bug that blew out .product-layout on small screens. Neutralizing
   it here for every grid so a collapsed mobile column can't silently blow out. */
.grid-row > *, .grid-row-2 > *, .grid-row-3 > *, .grid-row-6 > *,
.category-showcase > *, .why-choose > *, .listing-layout > *,
.cart-layout > *, .cart-item > *, .form-row > *, .payment-methods > *,
.account-layout > *, .footer-grid > *, .desc-layout > *,
.reviews-layout > *, .brand-story .container > * {
  min-width: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .grid-row { grid-template-columns: repeat(3, 1fr); }
  .grid-row-6 { grid-template-columns: repeat(4, 1fr); }
  .category-showcase { grid-template-columns: repeat(3, 1fr); }
  .why-choose { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .filters-panel { display: none; }
  .filters-panel.is-open { display: block; }
  .product-page { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .brand-story .container { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .category-showcase { grid-template-columns: repeat(2, 1fr); }
  .why-choose { grid-template-columns: 1fr; }
  .grid-row { grid-template-columns: repeat(2, 1fr); }
  .grid-row-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-row-2, .grid-row-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-block-mobile { width: 100%; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
  .section { padding: 44px 0; }
}
