/* ============================================================
   ZARA AL-NOOR — Islamic Modest Fashion E-Commerce
   Design System & Global Styles
   ============================================================ */

/* ── Custom Properties ── */
:root {
  /* Core brand palette */
  --gold:        #C5A46D;
  --gold-dark:   #a8894f;
  --gold-light:  #dfc9a0;

  /* Feminine accents — dusty rose & blush */
  --rose:        #C08897;
  --rose-dark:   #a56f7c;
  --rose-light:  #EDD5DB;
  --blush:       #FAF0F2;

  /* Deep plum — Islamic depth, replaces plain charcoal in dark sections */
  --plum:        #3D1F2B;
  --plum-lt:     #5c3347;
  --plum-dk:     #25101c;

  /* Islamic sage green — subtle nature accent */
  --sage:        #7A9E8E;
  --sage-light:  #D4E8E0;

  /* Neutral base */
  --cream:       #FAF7F4;
  --cream-dark:  #ede8e0;
  --charcoal:    #2B2B2B;
  --charcoal-lt: #4a4a4a;
  --white:       #ffffff;
  --muted:       #8a8278;
  --border:      #e4ddd4;
  --success:     #6b8f71;
  --error:       #b85c5c;

  /* Fonts */
  --font-serif:  'Cormorant Garamond', 'Georgia', serif;
  --font-sans:   'Jost', 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;

  /* Islamic geometric 8-pointed star tile (Rub el Hizb-inspired) */
  --pattern-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpolygon fill='%23C5A46D' fill-opacity='0.07' points='30,5 34,20 48,12 40,26 55,30 40,34 48,48 34,40 30,55 26,40 12,48 20,34 5,30 20,26 12,12 26,20'/%3E%3C/svg%3E");
  --pattern-star-dim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpolygon fill='%23C5A46D' fill-opacity='0.05' points='30,5 34,20 48,12 40,26 55,30 40,34 48,48 34,40 30,55 26,40 12,48 20,34 5,30 20,26 12,12 26,20'/%3E%3C/svg%3E");

  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-pill: 50px;

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

  --transition:  all .3s cubic-bezier(.4,0,.2,1);

  --spacing-xs:  .5rem;
  --spacing-sm:  1rem;
  --spacing-md:  2rem;
  --spacing-lg:  4rem;
  --spacing-xl:  6rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: var(--transition); }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { color: var(--charcoal-lt); }

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted); }
.text-serif   { font-family: var(--font-serif); }

/* ── Section Helpers ── */
.section { padding: var(--spacing-xl) 0; }
.section-sm { padding: var(--spacing-lg) 0; }

.section-header { text-align: center; margin-bottom: var(--spacing-lg); }
.section-header p { max-width: 540px; margin: .75rem auto 0; font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .25rem;
  line-height: 1.2;
}

.divider-gold {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  margin: .5rem auto 1.1rem;
  position: relative;
}
.divider-gold::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 2px var(--cream);
}

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  background: var(--gold);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  background: transparent;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid var(--gold);
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  background: var(--charcoal);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid var(--charcoal);
  transition: var(--transition);
}
.btn-dark-pill:hover {
  background: transparent;
  color: var(--charcoal);
  transform: translateY(-2px);
}

/* ── Navbar ── */
.navbar-main {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: box-shadow .3s ease;
}
.navbar-main.scrolled { box-shadow: var(--shadow-sm); }

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.navbar-brand-wrap .brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(192,136,151,.3);
}
.navbar-brand-wrap .brand-mark svg { width: 20px; height: 20px; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
}
.brand-sub {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: -2px;
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0 auto;
}
.nav-links .nav-item > a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links .nav-item > a:hover,
.nav-links .nav-item > a.active {
  color: var(--gold);
  background: rgba(197,164,109,.08);
}

/* ── Mega Menu ── */
.mega-menu-wrapper { position: relative; }

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 700px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 200;
}
.mega-menu-wrapper:hover .mega-menu,
.mega-menu-wrapper:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col h6 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.mega-col ul li a {
  display: block;
  font-size: .875rem;
  color: var(--charcoal-lt);
  padding: .3rem 0;
  transition: color .2s;
}
.mega-col ul li a:hover { color: var(--gold); padding-left: .25rem; }

/* ── Nav Actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: var(--transition);
  position: relative;
  background: transparent;
}
.nav-icon-btn:hover { background: var(--cream); color: var(--gold); }
.nav-icon-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.user-dropdown-wrap { position: relative; }
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 200;
}
.user-dropdown-wrap:hover .user-dropdown,
.user-dropdown-wrap:focus-within .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1.2rem;
  font-size: .875rem;
  color: var(--charcoal-lt);
  transition: background .2s;
}
.user-dropdown a:hover { background: var(--cream); color: var(--charcoal); }
.user-dropdown a svg { width: 16px; height: 16px; }
.user-dropdown .dropdown-divider { height: 1px; background: var(--border); margin: .4rem 0; }

/* ── Mobile Nav ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transition: left .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { left: 0; }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,43,43,.4);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--charcoal);
}
.mobile-nav .nav-section-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.5rem 0 .5rem;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .5rem;
  font-size: .9rem;
  color: var(--charcoal-lt);
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.mobile-nav a:hover { background: var(--cream); color: var(--charcoal); }

/* ── Hero Slider ── */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { position: relative; opacity: 1; }

.hero-slide-inner {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61,31,43,.82) 0%, rgba(61,31,43,.28) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 3rem 0;
}
.hero-tag {
  display: inline-block;
  padding: .3rem 1rem;
  background: rgba(197,164,109,.2);
  border: 1px solid rgba(197,164,109,.4);
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.hero-content p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  transition: var(--transition);
  cursor: pointer;
}
.hero-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold);
}
.hero-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.hero-nav-btn:hover { background: var(--gold); border-color: var(--gold); }
.hero-nav-btn svg { width: 18px; height: 18px; }

/* ── Category Cards ── */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.category-card-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.category-card:hover .category-card-img { transform: scale(1.06); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(61,31,43,.45) 70%, rgba(45,18,36,.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.category-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .3rem;
}
.category-card-count {
  font-size: .8rem;
  color: var(--gold-light);
  letter-spacing: .08em;
}
.category-card-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: scale(.8);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.category-card:hover .category-card-btn { opacity: 1; transform: scale(1); }

/* ── Product Card ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream);
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .75rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.badge-new    { background: var(--plum); color: var(--white); }
.badge-sale   { background: var(--error); color: var(--white); }
.badge-hot    { background: var(--gold); color: var(--white); }

.product-actions {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  gap: .5rem;
  opacity: 0;
  transition: var(--transition);
  white-space: nowrap;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(-50%) translateY(0); }

.product-action-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  background: var(--white);
  color: var(--charcoal);
  font-size: .78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-action-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.product-action-btn svg { width: 14px; height: 14px; }

.product-wishlist-btn {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
}
.product-card:hover .product-wishlist-btn { opacity: 1; }
.product-wishlist-btn:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }
.product-wishlist-btn svg { width: 16px; height: 16px; }

.product-card-body {
  padding: 1.1rem;
}
.product-vendor {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .2rem;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-bottom: .5rem;
}
.stars { color: var(--gold); font-size: .8rem; }
.rating-count { font-size: .75rem; color: var(--muted); }
.product-price {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.price-current {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
}
.price-original {
  font-size: .85rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-save {
  font-size: .72rem;
  font-weight: 700;
  color: var(--success);
}

/* ── Vendor Card ── */
.vendor-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.vendor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.vendor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--cream-dark);
  overflow: hidden;
  transition: border-color .3s;
}
.vendor-card:hover .vendor-avatar { border-color: var(--gold); }
.vendor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vendor-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .25rem;
}
.vendor-location {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .75rem;
}
.vendor-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: .75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vendor-stat span:first-child {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
}
.vendor-stat span:last-child {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.vendor-tags { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1rem; }
.vendor-tag {
  padding: .2rem .65rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  font-size: .7rem;
  color: var(--charcoal-lt);
}

/* ── Shop Sidebar ── */
.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-section {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child { border-bottom: none; }
.sidebar-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.sidebar-title svg { width: 14px; height: 14px; transition: transform .3s; }
.sidebar-title.collapsed svg { transform: rotate(-90deg); }

.filter-list { display: flex; flex-direction: column; gap: .4rem; }
.filter-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--charcoal-lt);
  cursor: pointer;
}
.filter-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.filter-count {
  margin-left: auto;
  font-size: .72rem;
  color: var(--muted);
}

.color-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.color-dot-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
  font-size: .65rem;
  color: var(--muted);
}
.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color .2s;
}
input[type="radio"]:checked + .color-dot,
.color-dot-label:hover .color-dot {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold);
}
input[type="radio"] { display: none; }

.price-range-wrap { padding: .5rem 0; }
.range-slider {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .4rem;
}

/* ── Sort / Filter Bar ── */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.result-count { font-size: .875rem; color: var(--muted); }
.result-count strong { color: var(--charcoal); font-weight: 600; }
.sort-select {
  padding: .4rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  cursor: pointer;
  outline: none;
}
.view-toggle { display: flex; gap: .3rem; }
.view-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
  background: transparent;
  border: 1px solid transparent;
}
.view-btn.active, .view-btn:hover {
  background: var(--cream);
  color: var(--gold);
  border-color: var(--border);
}

/* ── Quick View Modal ── */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(43,43,43,.6);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.modal-backdrop-custom.open { opacity: 1; visibility: visible; }

.modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(920px, 95vw);
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
}
.modal-backdrop-custom.open .modal-box {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  z-index: 10;
  transition: var(--transition);
}
.modal-close:hover { background: var(--charcoal); color: var(--white); }

.modal-gallery {
  width: 45%;
  flex-shrink: 0;
  background: var(--cream);
}
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
.modal-info {
  flex: 1;
  padding: 2.5rem 2rem;
  overflow-y: auto;
}

/* ── Product Page ── */
.gallery-main {
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: .75rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-vendor {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.vendor-detail-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.vendor-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.size-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 .8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}
.size-btn:hover, .size-btn.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}
.size-btn.unavailable {
  opacity: .4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .25rem .5rem;
  width: fit-content;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 1.1rem;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--gold); color: var(--white); }
.qty-val {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
}

.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.size-guide-table th {
  background: var(--cream);
  padding: .6rem .8rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--charcoal);
}
.size-guide-table td {
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  color: var(--charcoal-lt);
}
.size-guide-table tr:nth-child(even) td { background: var(--cream); }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: .5rem;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.1rem;
  background: var(--white);
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: background .2s;
}
.accordion-trigger:hover { background: var(--cream); }
.accordion-trigger svg { width: 16px; height: 16px; transition: transform .3s; }
.accordion-trigger.open svg { transform: rotate(180deg); }
.accordion-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.accordion-body.open {
  max-height: 400px;
  padding: .9rem 1.1rem;
}
.accordion-body p { font-size: .875rem; }

/* ── Dashboard ── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
}

.dash-sidebar {
  background: var(--pattern-star-dim), linear-gradient(180deg, var(--plum) 0%, var(--plum-dk) 100%);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}
.dash-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.dash-brand span { color: var(--gold); }

.dash-nav { display: flex; flex-direction: column; gap: .25rem; }
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.dash-nav-item:hover, .dash-nav-item.active {
  background: rgba(197,164,109,.15);
  color: var(--gold);
}
.dash-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.dash-nav-section {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin: 1.5rem 0 .5rem .5rem;
}

.dash-main { background: var(--cream); padding: 2.5rem; }
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dash-welcome h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.dash-welcome p { font-size: .875rem; color: var(--muted); }

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon-gold { background: rgba(197,164,109,.15); color: var(--gold); }
.stat-icon-green { background: rgba(107,143,113,.15); color: var(--success); }
.stat-icon-blue  { background: rgba(90,120,160,.15); color: #5a78a0; }
.stat-icon-red   { background: rgba(184,92,92,.15); color: var(--error); }
.stat-icon svg { width: 22px; height: 22px; }
.stat-trend {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
}
.trend-up   { color: var(--success); }
.trend-down { color: var(--error); }
.stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label { font-size: .8rem; color: var(--muted); }

.chart-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
}
.chart-card h5 {
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.mini-chart { display: flex; align-items: flex-end; gap: .4rem; height: 80px; }
.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gold);
  opacity: .4;
  transition: opacity .2s;
  cursor: pointer;
}
.bar:hover, .bar.active { opacity: 1; }

.form-field {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .4rem;
  letter-spacing: .04em;
}
.form-control-custom {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control-custom:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,164,109,.15);
}
textarea.form-control-custom { resize: vertical; min-height: 110px; }
select.form-control-custom { cursor: pointer; }

.form-hint { font-size: .75rem; color: var(--muted); margin-top: .3rem; }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload-zone:hover {
  border-color: var(--gold);
  background: rgba(197,164,109,.04);
}
.upload-zone svg { width: 40px; height: 40px; color: var(--muted); margin-bottom: .75rem; }
.upload-zone p { font-size: .875rem; color: var(--muted); }
.upload-zone span { color: var(--gold); text-decoration: underline; }

/* ── Cart Page ── */
.cart-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  align-items: center;
  transition: var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-xs); }
.cart-item-img {
  width: 90px;
  height: 112px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .2rem;
}
.cart-item-vendor { font-size: .75rem; color: var(--gold); margin-bottom: .5rem; }
.cart-item-attrs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.cart-attr {
  padding: .2rem .6rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  font-size: .72rem;
  color: var(--charcoal-lt);
}
.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.cart-remove {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .25rem;
  transition: color .2s;
}
.cart-remove:hover { color: var(--error); }

.order-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
}
.order-summary h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  margin-bottom: .6rem;
  color: var(--charcoal-lt);
}
.summary-row.total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  margin-top: .75rem;
}
.summary-row.total .price-current { font-size: 1.1rem; }

.promo-input-wrap {
  display: flex;
  gap: .5rem;
  margin: 1rem 0;
}
.promo-input-wrap input {
  flex: 1;
  padding: .6rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-family: var(--font-sans);
  outline: none;
}
.promo-input-wrap input:focus { border-color: var(--gold); }

.shipping-options { display: flex; flex-direction: column; gap: .6rem; }
.shipping-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s;
}
.shipping-option:has(input:checked) { border-color: var(--gold); background: rgba(197,164,109,.04); }
.shipping-option input[type="radio"] { accent-color: var(--gold); }
.shipping-option-name { font-size: .875rem; font-weight: 500; flex: 1; }
.shipping-option-price { font-size: .875rem; font-weight: 700; color: var(--gold); }
.shipping-option-days { font-size: .75rem; color: var(--muted); }

.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.checkout-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem;
  font-size: .8rem;
  color: var(--muted);
  position: relative;
}
.checkout-step::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 12px solid var(--border);
  z-index: 2;
}
.checkout-step:last-child::after { display: none; }
.checkout-step.active {
  background: rgba(197,164,109,.08);
  color: var(--charcoal);
  font-weight: 600;
}
.checkout-step.done { color: var(--success); }
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  background: var(--cream);
  color: var(--muted);
  flex-shrink: 0;
}
.checkout-step.active .step-num { background: var(--gold); color: var(--white); }
.checkout-step.done .step-num { background: var(--success); color: var(--white); }

/* ── Trust Badges ── */
.trust-bar {
  background: linear-gradient(90deg, var(--plum) 0%, var(--plum-dk) 100%);
  padding: .9rem 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
}
.trust-item svg { width: 18px; height: 18px; color: var(--gold); }

/* ── Newsletter ── */
.newsletter-section {
  background: var(--pattern-star-dim), linear-gradient(135deg, var(--plum) 0%, var(--plum-dk) 100%);
  padding: var(--spacing-lg) 0;
  position: relative;
}
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.newsletter-inner h2 { color: var(--white); font-size: 2rem; margin-bottom: .5rem; }
.newsletter-inner p { color: rgba(255,255,255,.65); margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: .5rem;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: .8rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { border-color: var(--gold); }

/* ── Footer ── */
.site-footer {
  background: var(--pattern-star-dim), #160c11;
  padding: 5rem 0 0;
  color: rgba(255,255,255,.6);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.footer-logo span { color: var(--gold); }
.footer-tagline {
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 240px;
  color: rgba(255,255,255,.5);
}
.footer-socials { display: flex; gap: .6rem; margin-bottom: 1.75rem; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.social-btn svg { width: 16px; height: 16px; }

/* Newsletter */
.footer-nl-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .6rem;
}
.footer-nl-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.footer-nl-form input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: none;
  padding: .6rem .9rem;
  font-size: .85rem;
  color: var(--white);
  outline: none;
  min-width: 0;
}
.footer-nl-form input::placeholder { color: rgba(255,255,255,.3); }
.footer-nl-form button {
  background: var(--gold);
  border: none;
  padding: .6rem .85rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .2s;
}
.footer-nl-form button:hover { background: var(--gold-dark); }
.footer-nl-form button svg { width: 16px; height: 16px; }

.footer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }

/* Trust strip */
.footer-trust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.footer-bottom {
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* Dashboard compact footer */
.dash-footer {
  text-align: center;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
}
.dash-footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.dash-footer a:hover { color: var(--gold); }

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb-nav a { color: var(--muted); transition: color .2s; }
.breadcrumb-nav a:hover { color: var(--gold); }
.breadcrumb-nav span.sep { color: var(--border); }
.breadcrumb-nav span.current { color: var(--charcoal); font-weight: 500; }

/* ── Toast ── */
.toast-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.toast {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.2rem;
  background: var(--plum);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: .875rem;
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast-icon { color: var(--gold); flex-shrink: 0; }
.toast-icon svg { width: 18px; height: 18px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--pattern-star-dim), linear-gradient(135deg, var(--plum) 0%, var(--plum-dk) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,136,151,.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.65); }

/* ── Utilities ── */
.bg-cream    { background: var(--cream); }
.bg-white    { background: var(--white); }
.bg-charcoal { background: var(--charcoal); }
.rounded-custom { border-radius: var(--radius-md); }
.gold-line { width: 40px; height: 2px; background: var(--gold); }
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  background: rgba(107,143,113,.12);
  color: var(--success);
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 600;
}
.badge-verified svg { width: 12px; height: 12px; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .nav-links, .mega-menu-wrapper { display: none; }
  .hamburger { display: flex; }

  /* Space logo to the left, icons to the right */
  .nav-inner { justify-content: space-between; }

  /* User dropdown is already in the mobile side-nav — hide the icon here */
  .user-dropdown-wrap { display: none; }

  /* Tighter icon gap so three icons + hamburger stay comfortable */
  .nav-actions { gap: .3rem; }

  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: static;
    height: auto;
    width: 100%;
    padding: 1rem 1.5rem;
  }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav-section { display: none; }
  .modal-box { flex-direction: column; }
  .modal-gallery { width: 100%; height: 250px; }
}

@media (max-width: 767.98px) {
  .hero-slide-inner { min-height: 70vh; }
  .hero-content { max-width: 100%; }
  .category-card-img { height: 300px; }
  .shop-sidebar { margin-bottom: 1.5rem; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-img { width: 70px; height: 88px; }
  .order-summary { position: static; }
  .checkout-step { padding: .6rem .5rem; }
  .checkout-step span:not(.step-num) { display: none; }
  .trust-items { gap: 1.2rem; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-trust { justify-content: center; }
  .footer-nl-form { max-width: 320px; }
  .footer-tagline { max-width: 100%; }
  .dash-main { padding: 1.5rem 1rem; }
}

@media (max-width: 575.98px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 2.5rem;
  }
  .hero-slide-inner { min-height: 60vh; }
  .mega-menu { width: 95vw; }
}

/* ================================================================
   MOBILE-FIRST IMPROVEMENTS & UX ENHANCEMENTS
   ================================================================ */

/* ── Touch devices: product card hover actions are invisible —
   reveal wishlist button and Quick View / Add to Cart permanently
   on any device that doesn't support true hover (touchscreen). ── */
@media (hover: none) {
  .product-wishlist-btn { opacity: 1; }
  .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
/* Belt-and-suspenders: also force-show on narrow screens regardless */
@media (max-width: 767.98px) {
  .product-wishlist-btn { opacity: 1; }
  .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    gap: .35rem;
    bottom: .75rem;
  }
  .product-action-btn { padding: .4rem .7rem; font-size: .72rem; }
}

/* ── Search Overlay ──────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37, 16, 28, .96);
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  padding: 5rem 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: .6rem .6rem .6rem 1.4rem;
  gap: .5rem;
  box-shadow: var(--shadow-lg);
}
.search-input-wrap > svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-sans);
  background: transparent;
  color: var(--charcoal);
  min-width: 0;
}
.search-input-wrap input::placeholder { color: var(--muted); }
.search-submit-btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: .55rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.search-submit-btn:hover { background: var(--gold-dark); }
.search-close-btn {
  position: absolute;
  top: -3.5rem;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.search-close-btn:hover { background: rgba(255, 255, 255, .25); }
.search-close-btn svg { width: 18px; height: 18px; }
.search-suggestions { margin-top: 1.25rem; }
.search-suggestions-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: .6rem;
}
.search-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.search-chip {
  padding: .35rem .9rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill);
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background .2s, color .2s, border-color .2s;
}
.search-chip:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ── Back to Top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
  z-index: 900;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--rose); border-color: transparent; transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; }

/* ── Mobile: Category horizontal scroll ─────────────────────── */
/* Wrapping .row with .category-scroll-wrap turns the Bootstrap grid
   into a swipeable carousel on small screens. */
@media (max-width: 767.98px) {
  .category-scroll-wrap {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1rem;
    margin-left: -.5rem;
    margin-right: -.5rem;
    padding-left: .5rem;
    padding-right: .5rem;
  }
  .category-scroll-wrap::-webkit-scrollbar { display: none; }
  .category-scroll-wrap > [class*="col-"] {
    flex: 0 0 80vw !important;
    max-width: 80vw !important;
    scroll-snap-align: start;
  }
  .category-card-img { height: 320px; }
}

/* ── Mobile: Vendor horizontal scroll ───────────────────────── */
@media (max-width: 575.98px) {
  .vendor-scroll-wrap {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .75rem;
  }
  .vendor-scroll-wrap::-webkit-scrollbar { display: none; }
  .vendor-scroll-wrap > [class*="col-"] {
    flex: 0 0 78vw !important;
    max-width: 78vw !important;
    scroll-snap-align: start;
  }
}

/* ── Mobile: Hero improvements ───────────────────────────────── */
/* Stack CTA buttons vertically on very small screens */
@media (max-width: 575.98px) {
  .hero-slide-inner { min-height: min(85vh, 85svh); }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; gap: .6rem; }
  .hero-actions .btn-gold,
  .hero-actions .btn-outline-gold {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: .7rem 1.4rem;
  }
  .hero-controls { bottom: 1.25rem; gap: .5rem; }
  .hero-nav-btn { width: 36px; height: 36px; }
  .hero-nav-btn svg { width: 16px; height: 16px; }
}

/* ── Mobile: Touch-friendly sizes ────────────────────────────── */
@media (max-width: 767.98px) {
  /* nav-icon-btn stays at its default 40px — that's enough for touch
     and avoids overflow when three icons + hamburger share the navbar */
  .qty-btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .size-btn { min-width: 48px; height: 48px; }
  .sort-select { padding: .6rem 1rem; font-size: .9rem; }
  /* Quick view modal: reduce gallery height so info is reachable */
  .modal-gallery { height: 220px; }
  .modal-info { padding: 1.25rem; }
}

/* ── Mobile: Brand name scaling ─────────────────────────────── */
@media (max-width: 575.98px) {
  .brand-name { font-size: 1.15rem; }
}
@media (max-width: 360px) {
  /* On the smallest phones hide the tagline to keep the logo compact */
  .brand-sub { display: none; }
  .brand-name { font-size: 1.05rem; }
  .navbar-brand-wrap .brand-mark { width: 32px; height: 32px; }
}

/* ── Mobile: Trust bar — horizontal scroll on tiny screens ───── */
@media (max-width: 575.98px) {
  .trust-bar { overflow-x: auto; }
  .trust-items {
    gap: 1.25rem;
    padding: .25rem 1rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: max-content;
  }
  .trust-item { flex-shrink: 0; }
}

/* ── Mobile: Newsletter ──────────────────────────────────────── */
@media (max-width: 575.98px) {
  .newsletter-inner { padding: 0 .5rem; }
  .newsletter-form .btn-gold { width: 100%; justify-content: center; }
}

.brand-powered {
  font-size: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* ================================================================
   FEMININE + ISLAMIC THEME LAYER
   Girly aesthetics woven with Islamic cultural motifs
   ================================================================ */

/* ── Arabesque pattern utility ── */
.arabesque-bg {
  background-image: var(--pattern-star);
  background-repeat: repeat;
}

/* ── Islamic ornament divider ── */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: .5rem auto;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament-divider::after {
  background: linear-gradient(270deg, transparent, var(--gold));
}
.ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Script accent text (use for taglines, pull quotes) ── */
.script-accent {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.2;
  display: block;
}

/* ── Vendor card — rose shimmer on hover ── */
.vendor-card:hover {
  box-shadow: 0 8px 32px rgba(192, 136, 151, .18);
  border-color: var(--rose-light);
}
.vendor-card:hover .vendor-avatar { border-color: var(--rose); }

/* ── Product card — blush background on hover ── */
.product-card:hover {
  box-shadow: 0 8px 32px rgba(192, 136, 151, .14);
}

/* ── Feminine badge variant (wishlisted/sale) ── */
.badge-rose { background: var(--rose); color: var(--white); }
.badge-sage  { background: var(--sage); color: var(--white); }

/* ── Sage accent elements ── */
.text-rose   { color: var(--rose); }
.text-sage   { color: var(--sage); }
.bg-blush    { background-color: var(--blush); }
.bg-rose-light { background-color: var(--rose-light); }
.bg-sage-light { background-color: var(--sage-light); }

/* ── Sidebar dash-nav rose hover ── */
.dash-nav-item:hover, .dash-nav-item.active {
  background: rgba(192,136,151,.18);
  color: var(--gold);
}

/* ── Hero tag — rose-gold gradient tint ── */
.hero-tag {
  background: rgba(192,136,151,.22);
  border-color: rgba(192,136,151,.4);
  color: var(--rose-light);
}

/* ── Mobile-nav overlay — plum tint ── */
.mobile-nav-overlay {
  background: rgba(61,31,43,.5);
}

/* ── Form focus — rose ring option ── */
.form-control-custom:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(192,136,151,.15);
}

/* ── Checkout step active — rose-gold gradient ── */
.checkout-step.active {
  background: linear-gradient(90deg, rgba(192,136,151,.08) 0%, rgba(197,164,109,.06) 100%);
}
.checkout-step.active .step-num {
  background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 100%);
  color: var(--white);
}

/* ── Shipping option checked — rose border ── */
.shipping-option:has(input:checked) {
  border-color: var(--rose);
  background: rgba(192,136,151,.04);
}

/* ── Search chip hover — rose ── */
.search-chip:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

/* ── Stat icon — rose variant ── */
.stat-icon-rose { background: rgba(192,136,151,.15); color: var(--rose); }

/* ── Promo input focus ── */
.promo-input-wrap input:focus { border-color: var(--rose); }

/* ── Section header with bg-white — fix divider shimmer ── */
.bg-white .divider-gold::after { box-shadow: 0 0 0 2px var(--white); }

/* ── Islamic pattern on newsletter section label ── */
.newsletter-inner .section-label { color: var(--rose-light); }

/* ── Footer social hover — rose warmth ── */
.social-btn:hover {
  background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 100%);
  border-color: var(--rose);
}

/* ── Gallery thumb active — rose accent ── */
.gallery-thumb:hover, .gallery-thumb.active {
  border-color: var(--rose);
}

/* ── Vendor tag hover ── */
.vendor-tag {
  transition: background .2s, color .2s;
}
.vendor-tag:hover {
  background: var(--rose-light);
  color: var(--rose-dark);
}

/* ── Product action btn rose fill on hover ── */
.product-action-btn:hover {
  background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 100%);
  border-color: var(--rose);
}

/* ── Star rating — gold + rose warmth ── */
.stars { color: var(--gold); }

/* ── Islamic geometric border accent on cards ── */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  transition: border-color .3s;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover::before {
  border-color: rgba(192,136,151,.25);
}

/* ── Divider in dark sections ── */
.newsletter-section .divider-gold::after,
.site-footer .divider-gold::after {
  box-shadow: 0 0 0 2px transparent;
  background: var(--rose-light);
}
.newsletter-section .divider-gold,
.site-footer .divider-gold {
  background: linear-gradient(90deg, transparent, var(--rose-light) 20%, var(--rose-light) 80%, transparent);
}

/* ── Responsive: keep ornament-divider centered ── */
@media (max-width: 575.98px) {
  .ornament-divider::before,
  .ornament-divider::after { width: 30px; }
}

/* ================================================================
   PREMIUM ENHANCEMENTS — CART DRAWER · WISHLIST · CAROUSEL · EDITORIAL
   ================================================================ */

/* ── Arabic Font Variable ── */
:root {
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--plum-dk) 0%, var(--plum) 50%, var(--plum-dk) 100%);
  color: rgba(255,255,255,.78);
  text-align: center;
  padding: .6rem 3rem;
  font-size: .76rem;
  letter-spacing: .05em;
  position: relative;
  z-index: 1060;
  overflow: hidden;
}
.announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pattern-star-dim);
  pointer-events: none;
}
.announcement-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.announcement-inner strong { color: var(--gold-light); font-weight: 700; }
.announcement-sep { color: rgba(255,255,255,.3); }
.announcement-close {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  padding: .3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
  line-height: 1;
}
.announcement-close:hover { color: var(--white); }
.announcement-bar.hidden { display: none; }

/* ── Shared Drawer ── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37,16,28,.55);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer,
.wishlist-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 430px;
  max-width: 100vw;
  height: 100dvh;
  background: var(--white);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transition: right .38s cubic-bezier(.4,0,.2,1);
  box-shadow: -6px 0 48px rgba(37,16,28,.2);
}
.cart-drawer.open,
.wishlist-drawer.open { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-header h5 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--charcoal);
}
.cart-count-label {
  color: var(--muted);
  font-weight: 400;
  font-size: .82rem;
  font-family: var(--font-sans);
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: var(--transition);
  flex-shrink: 0;
}
.drawer-close:hover { background: var(--charcoal); color: var(--white); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-cart-item {
  display: flex;
  gap: .9rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(228,221,212,.6);
  transition: background .2s;
}
.drawer-cart-item:last-child { border-bottom: none; }
.drawer-cart-item:hover { background: rgba(250,247,244,.6); }

.drawer-item-img {
  width: 76px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}
.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }

.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-vendor {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .2rem;
}
.drawer-item-name {
  font-family: var(--font-serif);
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .2rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-item-attrs { font-size: .72rem; color: var(--muted); margin-bottom: .5rem; }
.drawer-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.drawer-item-price {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--charcoal);
}
.drawer-item-remove {
  font-size: .72rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-sans);
  text-decoration: underline;
  transition: color .2s;
}
.drawer-item-remove:hover { color: var(--error); }

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
}
.drawer-subtotal > span:first-child { font-size: .875rem; color: var(--muted); }
.drawer-subtotal .price-current { font-size: 1.15rem; }
.drawer-shipping-note {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: var(--success);
  margin-bottom: 1rem;
}
.drawer-cta { display: flex; flex-direction: column; gap: .5rem; }
.drawer-cta .btn-gold,
.drawer-cta .btn-outline-gold { justify-content: center; width: 100%; }

@media (max-width: 479.98px) {
  .cart-drawer,
  .wishlist-drawer { width: 100vw; right: -100vw; }
}

/* ── Abaya Category Pills ── */
.abaya-cats-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  padding: .9rem 0;
}
.abaya-cats-section::-webkit-scrollbar { display: none; }
.abaya-cats-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0 1rem;
  min-width: max-content;
  margin: 0 auto;
}
.abaya-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .48rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1.5px solid var(--border);
  color: var(--charcoal-lt);
  background: var(--white);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.abaya-cat-pill:hover,
.abaya-cat-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197,164,109,.25);
}
.abaya-cat-pill svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── New Arrivals Carousel ── */
.carousel-wrapper { position: relative; }
.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: .25rem .1rem 1rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 calc(25% - .95rem);
  scroll-snap-align: start;
  min-width: 0;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
}
.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.carousel-btn svg { width: 18px; height: 18px; }
@media (max-width: 1199.98px) { .carousel-item { flex: 0 0 calc(33.333% - .85rem); } }
@media (max-width: 767.98px)  { .carousel-item { flex: 0 0 calc(50% - .65rem); } }
@media (max-width: 479.98px)  { .carousel-item { flex: 0 0 78vw; } }

/* ── Editorial / Lookbook ── */
.editorial-section { overflow: hidden; }
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.editorial-image { position: relative; overflow: hidden; }
.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.4,0,.2,1);
}
.editorial-section:hover .editorial-image img { transform: scale(1.04); }
.editorial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 4rem;
  background: var(--cream);
  position: relative;
}
.editorial-content::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 110px;
  height: 110px;
  background: var(--pattern-star);
  opacity: .5;
  pointer-events: none;
}
.editorial-arabic {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: .2rem;
  direction: rtl;
  text-align: left;
  line-height: 1.4;
}
.editorial-content h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); margin-bottom: 1.1rem; }
.editorial-content > p {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 400px;
  margin-bottom: 2rem;
}
@media (max-width: 991.98px) {
  .editorial-split { grid-template-columns: 1fr; }
  .editorial-image { min-height: 360px; }
  .editorial-content { padding: 3rem 2rem; }
  .editorial-arabic { font-size: 1.3rem; }
}
@media (max-width: 575.98px) {
  .editorial-image { min-height: 260px; }
  .editorial-content { padding: 2rem 1.25rem; }
  .editorial-content > p { max-width: 100%; }
}

/* ── Vendor Store Page ── */
.vendor-store-banner {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--plum);
}
.vendor-store-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
  transition: transform 8s ease;
}
.vendor-store-banner:hover img { transform: scale(1.03); }
.vendor-store-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,31,43,.15) 0%, rgba(37,16,28,.7) 100%);
}
.vendor-store-banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 0;
  z-index: 2;
}
.vendor-store-banner-content h1 { color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom: .3rem; }
.vendor-store-banner-content p { color: rgba(255,255,255,.65); font-size: .95rem; }

.vendor-store-meta {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.vendor-store-meta-inner {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.vendor-store-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  flex-shrink: 0;
  margin-top: -2.5rem;
  background: var(--cream);
}
.vendor-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.vendor-store-details { flex: 1; min-width: 200px; }
.vendor-store-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .2rem;
}
.vendor-store-tagline { font-size: .875rem; color: var(--muted); margin-bottom: .6rem; }
.vendor-store-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.vendor-store-stat { font-size: .82rem; color: var(--charcoal-lt); }
.vendor-store-stat strong { color: var(--charcoal); font-weight: 700; }
.vendor-store-actions { display: flex; gap: .75rem; margin-left: auto; align-items: center; }

.store-tabs-bar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 100;
}
.store-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.store-tabs::-webkit-scrollbar { display: none; }
.store-tab-btn {
  padding: 1rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.store-tab-btn:hover { color: var(--charcoal); }
.store-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.vendor-about-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.vendor-about-card h4 { font-size: 1.05rem; margin-bottom: .75rem; }
.vendor-about-card p { font-size: .9rem; color: var(--charcoal-lt); line-height: 1.8; margin-bottom: .75rem; }
.vendor-about-card p:last-child { margin-bottom: 0; }

@media (max-width: 767.98px) {
  .vendor-store-banner { height: 220px; }
  .vendor-store-logo { width: 68px; height: 68px; margin-top: -1.75rem; border-width: 3px; }
  .vendor-store-actions { margin-left: 0; }
  .store-tabs-bar { top: 0; }
}
