/* ═══════════════════════════════════════════════════════════════
   Asmaa Store — Complete Design System
   Fonts: IBM Plex Sans Arabic + Marhey
   Colors: Ink (#1a1a1a) + White + Rose (#EA5E78) accent
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  /* Rose accent */
  --rose:       #EA5E78;
  --rose-dark:  #c94d62;
  --rose-light: #f5a0b0;
  --rose-faint: rgba(234,94,120,0.08);
  --rose-glow:  0 8px 28px rgba(234,94,120,0.22);

  /* Neutrals */
  --ink:        #1a1a1a;
  --ink-soft:   #2e2e2e;
  --text:       #333333;
  --muted:      #767676;
  --faint:      #aaaaaa;

  /* Surfaces */
  --white:      #ffffff;
  --off-white:  #f9f9f9;
  --gray-light: #f2f2f2;
  --gray-mid:   #e0e0e0;
  --border:     rgba(0,0,0,0.09);

  /* Topbar (dark) */
  --topbar-bg:  #1a1a1a;

  /* Gold for men */
  --gold:       #C9A84C;
  --gold-dark:  #a8882f;
  --gold-faint: rgba(201,168,76,0.1);
  --gold-glow:  0 8px 28px rgba(201,168,76,0.22);

  /* Shadows */
  --sh-xs:  0 1px 6px rgba(0,0,0,0.06);
  --sh-sm:  0 2px 14px rgba(0,0,0,0.07);
  --sh-md:  0 8px 32px rgba(0,0,0,0.09);
  --sh-lg:  0 20px 64px rgba(0,0,0,0.11);

  /* Radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Fonts */
  --font-body:    'IBM Plex Sans Arabic', sans-serif;
  --font-display: 'Marhey', cursive;

  /* Transitions */
  --t: 220ms ease;
  --t-slow: 480ms cubic-bezier(.16,1,.3,1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  direction: rtl;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font-family: var(--font-body); outline: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Catalog / product pages use a slightly gray bg */
.catalog-page { background: var(--off-white); }

/* ── SCROLL PROGRESS ─────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  z-index: 9999; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--rose), var(--rose-light));
  transition: transform 0.1s linear;
}

/* ── NOTIFICATION ─────────────────────────────────────────────── */
.notification {
  position: fixed; top: -60px; right: 50%; transform: translateX(50%);
  padding: 12px 26px; border-radius: var(--r-full); z-index: 10000;
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--ink);
  box-shadow: var(--sh-lg);
  transition: top .42s cubic-bezier(.34,1.56,.64,1);
}
.notification.show { top: 18px; }

/* ══════════════════════════════════════════════════════════════
   TOPBAR — Dark, professional
   ══════════════════════════════════════════════════════════════ */
.site-header {}

.topbar {
  background: var(--topbar-bg);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
.topbar-inner {
  min-height: 42px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-inner p { margin: 0; }
.topbar-meta {
  display: flex; gap: 16px;
}
.topbar-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55);
}
.topbar-meta i { color: var(--rose); font-size: 12px; }

/* ══════════════════════════════════════════════════════════════
   NAVBAR — Pure white, clean
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-xs);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}

/* Brand Mark — logo + text side by side */
.brand-mark {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  height: 44px; width: auto; max-width: 140px;
  object-fit: contain; transition: transform var(--t);
}
.brand-mark:hover .logo-img { transform: scale(1.03); }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong {
  font-family: var(--font-display); font-size: 18px; line-height: 1.1;
  color: var(--ink); letter-spacing: 0.01em;
}
.brand-copy span { font-size: 11px; color: var(--muted); }

/* Nav links — center */
.nav-links {
  display: flex; gap: 2px; flex: 1; justify-content: center;
}
.nav-link {
  padding: 7px 16px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: var(--t); display: flex; align-items: center; gap: 6px;
}
.nav-link:hover, .nav-link.active { color: var(--rose); background: var(--rose-faint); }

/* Nav actions */
.nav-actions {
  display: flex; gap: 8px; align-items: center; flex-shrink: 0;
}
.nav-btn {
  width: 40px; height: 40px; border-radius: var(--r-md);
  border: 1px solid var(--border); cursor: pointer;
  font-size: 15px; background: var(--white); color: var(--ink);
  position: relative; display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.nav-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.nav-dash { display: none; }

.badge {
  position: absolute; top: -5px; left: -5px;
  min-width: 17px; height: 17px; border-radius: var(--r-full);
  background: var(--rose); color: #fff;
  font-size: 9px; font-weight: 800; display: none;
  align-items: center; justify-content: center; padding: 0 3px;
  border: 2px solid #fff;
}
.badge.show { display: flex; }

.mobile-menu-btn { display: none !important; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex !important; }
}

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  background: #fff; padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.show { display: flex; }
.mobile-menu a {
  padding: 10px 14px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: var(--t);
}
.mobile-menu a:hover { background: var(--gray-light); color: var(--rose); }

/* ── MOBILE DOCK ─────────────────────────────────────────────── */
.mobile-dock {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: #fff; border-top: 1px solid var(--border);
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
  justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
@media (max-width: 640px) { .mobile-dock { display: flex; } }

.mobile-dock-link {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; font-size: 10px; font-weight: 600; color: var(--muted);
  padding: 6px 10px; border: none; background: transparent; cursor: pointer;
  position: relative; transition: var(--t);
}
.mobile-dock-link i { font-size: 18px; }
.mobile-dock-link.active { color: var(--rose); }
.mobile-dock-link:hover { color: var(--rose); }
.mobile-dock-btn.is-accent { color: var(--rose); }
.dock-badge { position: absolute; top: 2px; left: 6px; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  padding: 12px 24px; border-radius: var(--r-full); font-size: 14px;
  font-weight: 700; cursor: pointer; border: none; font-family: var(--font-body);
  transition: var(--t); display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: var(--rose-glow); }
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--gray-light); color: var(--ink); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-icon { padding: 12px; border-radius: 50%; }

@keyframes btn-ripple { to { transform: scale(4); opacity: 0; } }
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25); transform: scale(0);
  animation: btn-ripple 0.5s linear; pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   DRAWERS
   ══════════════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.38);
  backdrop-filter: blur(4px); z-index: 3000;
  opacity: 0; pointer-events: none; transition: opacity 0.28s;
}
.drawer-overlay.show { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed; top: 0; left: -390px; bottom: 0; width: 370px;
  background: #fff; z-index: 3001;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  transition: left 0.36s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
}
.drawer.show { left: 0; }

.drawer-header {
  padding: 20px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.drawer-header h3 { font-size: 16px; font-weight: 700; color: var(--ink); }
.drawer-header p  { font-size: 12px; color: var(--muted); margin-top: 2px; }

.drawer-close {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--gray-light);
  color: var(--muted); font-size: 13px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.drawer-close:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

.drawer-body { flex: 1; overflow-y: auto; padding: 12px; }
.drawer-footer { padding: 16px; border-top: 1px solid var(--border); background: var(--off-white); }

.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 160px; gap: 8px; color: var(--faint); font-size: 14px;
}
.cart-empty i { font-size: 32px; }

.cart-item {
  display: flex; align-items: center; gap: 11px; padding: 11px;
  border-radius: var(--r-md); margin-bottom: 7px;
  background: #fff; border: 1px solid var(--border); transition: var(--t);
}
.cart-item:hover { border-color: rgba(234,94,120,0.2); }
.cart-item-img {
  width: 48px; height: 48px; border-radius: var(--r-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; color: #fff;
}
.cart-item-info { flex: 1; }
.cart-item-name  { font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.cart-item-price { font-weight: 700; font-size: 13px; color: var(--rose); }

.cart-qty { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.cart-qty button {
  width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--border);
  background: var(--gray-light); font-size: 13px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.cart-qty button:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.cart-qty span { font-weight: 700; min-width: 18px; text-align: center; font-size: 13px; }
.cart-remove { background: transparent !important; border: none !important; color: var(--gray-mid) !important; }
.cart-remove:hover { color: #e53935 !important; }

.cart-total-row {
  display: flex; justify-content: space-between;
  padding: 4px 0; font-size: 13px; color: var(--muted);
}
.cart-total-main {
  font-size: 16px; font-weight: 800; color: var(--ink);
  border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px); z-index: 4000;
  opacity: 0; pointer-events: none; transition: opacity 0.26s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }

.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -44%) scale(0.93);
  background: #fff; border-radius: var(--r-xl);
  width: min(520px, 95vw); max-height: 90vh; overflow-y: auto;
  z-index: 4001; opacity: 0; pointer-events: none;
  transition: all 0.34s cubic-bezier(.16,1,.3,1);
  box-shadow: var(--sh-lg);
}
.modal.show { transform: translate(-50%,-50%) scale(1); opacity: 1; pointer-events: all; }

.modal-header {
  padding: 22px 22px 16px; display: flex; align-items: flex-start; justify-content: space-between;
  border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 1;
}
.modal-header h2 { font-size: 18px; font-weight: 800; color: var(--ink); }
.modal-header p  { font-size: 12px; color: var(--muted); margin-top: 2px; }

.modal-close {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--gray-light);
  color: var(--muted); cursor: pointer; font-size: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.modal-close:hover { background: var(--rose); color: #fff; }

.modal-body { padding: 20px 22px; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--r-md);
  border: 1.5px solid var(--border); font-size: 14px; color: var(--ink);
  background: var(--off-white); transition: var(--t);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--rose); background: #fff;
  box-shadow: 0 0 0 3px rgba(234,94,120,0.08);
}
.form-group textarea { resize: vertical; min-height: 72px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.payment-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.payment-option {
  padding: 11px 8px; border-radius: var(--r-md); border: 1.5px solid var(--border);
  cursor: pointer; text-align: center; font-size: 12px; font-weight: 600;
  transition: var(--t); color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.payment-option input { display: none; }
.payment-option.active { border-color: var(--rose); background: var(--rose-faint); color: var(--rose); }
.payment-option:hover { border-color: var(--rose-light); }

.checkout-summary {
  background: var(--off-white); border-radius: var(--r-md); padding: 14px;
  margin: 16px 0; border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS & UTILITIES
   ══════════════════════════════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.16,1,.3,1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: .05s; }
.stagger-2 { transition-delay: .10s; }
.stagger-3 { transition-delay: .15s; }
.stagger-4 { transition-delay: .20s; }
.stagger-5 { transition-delay: .25s; }
.stagger-6 { transition-delay: .30s; }

@keyframes float3d {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--rose-faint); color: var(--rose); border: 1px solid rgba(234,94,120,0.15);
}

.glass-panel {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--sh-md);
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION — Split layout
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  padding: 56px 0 72px;
  background: linear-gradient(160deg, #fff8f9 0%, #fff4f6 40%, #fdf2f4 100%);
  overflow: hidden; position: relative;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 85% 30%, rgba(234,94,120,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(234,94,120,0.04) 0%, transparent 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(28px,4vw,52px); font-weight: 700; line-height: 1.25;
  color: var(--ink); margin: 14px 0 16px;
}
.hero-copy p { color: var(--muted); font-size: 16px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px; }

.hero-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-notes span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--border);
  color: var(--text); font-size: 13px; box-shadow: var(--sh-xs);
}
.hero-notes i { color: var(--rose); font-size: 13px; }

.hero-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric-card {
  padding: 14px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
}
.metric-card strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.metric-card span   { font-size: 12px; color: var(--muted); }

/* Hero Visual */
.hero-visual { position: relative; min-height: 580px; }
.hero-floating-card {
  position: absolute; z-index: 4; max-width: 200px;
  padding: 14px 16px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--sh-md); backdrop-filter: blur(12px);
}
.hero-floating-card strong { display: block; margin-bottom: 3px; font-size: 14px; color: var(--ink); }
.hero-floating-card span   { font-size: 12px; color: var(--muted); }
.hero-floating-card-top    { top: 80px; left: 0; }
.hero-floating-card-bottom { right: 10px; bottom: 40px; }

.hero-logo-stage {
  position: absolute; top: 8px; right: 16px; z-index: 3;
  width: 180px; height: 180px; display: grid; place-items: center;
}
.hero-logo-halo {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.1) 60%, transparent 78%);
  filter: blur(6px);
}
.hero-logo-badge {
  position: relative; width: 140px; height: 140px;
  object-fit: contain; padding: 16px; border-radius: 32px;
  background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--sh-md);
}
.hero-frame {
  overflow: hidden; border-radius: var(--r-xl);
  box-shadow: var(--sh-md); border: 1px solid rgba(255,255,255,0.6);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame-main {
  position: absolute; inset: 100px 45px 80px 65px;
  background: var(--gray-light);
}
.hero-frame-small { position: absolute; }
.hero-frame-top    { top: 0; left: 8px; width: 200px; height: 165px; }
.hero-frame-bottom { bottom: 10px; right: 0; width: 200px; height: 175px; }

.hero-brand-chip {
  position: absolute; right: 36px; top: 195px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.hero-brand-chip img { width: 28px; height: 28px; object-fit: contain; border-radius: 8px; }
.hero-brand-chip span { font-size: 12px; color: var(--muted); }

/* ══════════════════════════════════════════════════════════════
   VALUE STRIP — Feature icons row
   ══════════════════════════════════════════════════════════════ */
.value-strip { padding: 40px 0; background: var(--white); border-top: 1px solid var(--border); }
.value-strip-heading { text-align: center; margin-bottom: 28px; }
.value-strip-heading h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); margin-top: 10px;
}
.value-strip-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.value-strip-grid > div {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--white);
  font-size: 14px; font-weight: 600; color: var(--text);
  box-shadow: var(--sh-xs); transition: var(--t);
}
.value-strip-grid > div:hover { border-color: rgba(234,94,120,0.25); box-shadow: var(--sh-sm); }
.value-strip-grid i { color: var(--rose); font-size: 15px; }

/* ══════════════════════════════════════════════════════════════
   SECTION HEADINGS
   ══════════════════════════════════════════════════════════════ */
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h2 {
  font-family: var(--font-display); font-size: clamp(24px,3vw,36px);
  font-weight: 700; color: var(--ink); margin-top: 10px; line-height: 1.2;
}
.section-heading p { font-size: 15px; color: var(--muted); margin-top: 8px; }

.section-heading-inline {
  text-align: right; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.section-heading-inline .eyebrow { margin-bottom: 0; }
.section-link {
  font-size: 13px; font-weight: 700; color: var(--rose);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 7px 14px; border-radius: var(--r-full);
  border: 1px solid rgba(234,94,120,0.2); transition: var(--t);
}
.section-link:hover { background: var(--rose-faint); }

/* ══════════════════════════════════════════════════════════════
   COLLECTIONS — Full cover cards
   ══════════════════════════════════════════════════════════════ */
.collections-section { padding: 64px 0; background: var(--off-white); }
.collections-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.collection-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  min-height: 400px; display: block; transition: var(--t-slow);
}
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection-card:hover img { transform: scale(1.04); }

.collection-overlay {
  position: absolute; inset: 0; padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.collection-tag {
  display: inline-block; padding: 4px 14px; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.5); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin-bottom: 10px; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px); align-self: flex-start;
}
.collection-overlay h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.collection-overlay p  { font-size: 13px; opacity: 0.75; margin-bottom: 16px; }
.collection-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #fff;
  padding: 8px 18px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px); transition: var(--t); align-self: flex-start;
}
.collection-link:hover { background: var(--rose); border-color: var(--rose); }

/* ══════════════════════════════════════════════════════════════
   EDITORIAL SECTION — Split text + image
   ══════════════════════════════════════════════════════════════ */
.editorial-section { padding: 72px 0; background: var(--white); }
.editorial-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.editorial-copy h2 {
  font-family: var(--font-display); font-size: clamp(24px,3vw,36px);
  font-weight: 700; color: var(--ink); margin: 14px 0 16px;
}
.editorial-copy p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); padding: 12px 14px;
  background: var(--off-white); border-radius: var(--r-md); border: 1px solid var(--border);
}
.feature-list li::before {
  content: ''; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--rose); flex-shrink: 0; margin-top: 7px;
}
.editorial-panel { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); }
.editorial-panel img { width: 100%; height: 460px; object-fit: cover; }

/* ══════════════════════════════════════════════════════════════
   FEATURED SECTIONS
   ══════════════════════════════════════════════════════════════ */
.featured-section { padding: 64px 0; background: var(--white); }
.featured-section.alt { background: var(--off-white); }

/* ══════════════════════════════════════════════════════════════
   PRODUCTS GRID & CARDS
   ══════════════════════════════════════════════════════════════ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px,1fr)); gap: 20px; }

.product-card {
  border-radius: var(--r-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  transition: var(--t-slow); position: relative;
  box-shadow: var(--sh-xs);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(234,94,120,0.18); }

/* Shimmer */
@keyframes holo-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(280%); } }
.product-card::before {
  content: ''; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  border-radius: var(--r-xl); pointer-events: none; opacity: 0;
}
.product-card:hover::before { opacity: 1; animation: holo-sweep 0.65s ease forwards; }

/* Product image area */
.product-media {
  display: block; height: 230px; overflow: hidden;
  background: var(--gray-light); position: relative;
}
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.05); }

.product-image-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 32px; font-weight: 700; color: #fff;
}

.product-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 3px 11px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700; color: #fff;
  background: var(--rose); z-index: 2;
}

.product-wishlist {
  position: absolute; top: 12px; left: 12px;
  width: 34px; height: 34px; border-radius: 11px; border: none; cursor: pointer;
  font-size: 14px; z-index: 4;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t); color: var(--muted);
  box-shadow: var(--sh-xs);
}
.product-wishlist:hover { background: var(--rose); color: #fff; transform: scale(1.08); }
.product-wishlist.active { color: #e53935; background: rgba(229,57,53,0.08); }

.product-info { padding: 18px; }

.product-name {
  display: block; font-weight: 700; font-size: 15px; color: var(--ink);
  margin-bottom: 6px; transition: var(--t); line-height: 1.35;
}
.product-name:hover { color: var(--rose); }

.product-meta-line {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted); margin-bottom: 6px;
}
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.stars { color: #f5a623; font-size: 12px; direction: ltr; }
.product-excerpt { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }

.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--rose); }
.product-old-price { font-size: 12px; color: var(--faint); text-decoration: line-through; margin-right: 5px; }

.empty-state {
  text-align: center; padding: 64px 0; color: var(--muted);
}
.empty-state i { font-size: 44px; margin-bottom: 14px; display: block; opacity: 0.3; }
.empty-state h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   CATALOG HERO
   ══════════════════════════════════════════════════════════════ */
.catalog-hero {
  padding: 48px 0 0;
  background: linear-gradient(155deg, #0a0306 0%, #160b11 40%, #1e0e18 70%, #160b11 100%);
  overflow: hidden;
}
.catalog-hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center;
  padding-bottom: 40px;
}
.catalog-copy .eyebrow { border-color: rgba(234,94,120,0.3); background: rgba(234,94,120,0.12); }
.catalog-copy h1 {
  font-family: var(--font-display); font-size: clamp(26px,3.5vw,44px);
  font-weight: 700; color: #fff; margin: 14px 0 12px;
}
.catalog-copy p { color: rgba(255,215,225,0.65); font-size: 15px; }
.catalog-hero-art {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); height: 320px;
}
.catalog-hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* Toolbar below catalog hero */
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-xl);
  margin: 0 0 6px; position: relative; z-index: 2;
}
.search-box { position: relative; flex: 1 1 240px; max-width: 340px; }
.search-box input {
  width: 100%; padding: 11px 42px 11px 14px; border-radius: var(--r-full);
  font-size: 14px; border: 1.5px solid var(--border); background: #fff; color: var(--ink);
  transition: var(--t);
}
.search-box input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(234,94,120,0.08); }
.search-box i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--rose); font-size: 14px; }

.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: var(--r-full); font-size: 13px;
  font-weight: 600; border: 1.5px solid var(--border); cursor: pointer;
  background: #fff; color: var(--muted); transition: var(--t);
}
.chip:hover { border-color: var(--rose); color: var(--rose); }
.chip.active { background: var(--rose); color: #fff; border-color: var(--rose); box-shadow: var(--rose-glow); }

.sort-select {
  padding: 9px 16px; border-radius: var(--r-full); font-size: 13px;
  border: 1.5px solid var(--border); background: #fff; color: var(--muted);
  cursor: pointer; font-family: var(--font-body); font-weight: 600; transition: var(--t);
}
.sort-select:focus { border-color: var(--rose); }

/* Catalog Results */
.catalog-results { padding: 24px 0 76px; }
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; gap: 8px;
}
.results-bar strong { color: var(--ink); font-weight: 800; }
.results-link {
  font-size: 13px; color: var(--rose); font-weight: 600;
  padding: 5px 12px; border-radius: var(--r-full);
  border: 1px solid rgba(234,94,120,0.2); transition: var(--t);
}
.results-link:hover { background: var(--rose-faint); }

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════════ */
.newsletter { padding: 64px 0; background: var(--off-white); border-top: 1px solid var(--border); }
.newsletter-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.newsletter-shell h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  padding: 11px 18px; border-radius: var(--r-full);
  border: 1.5px solid var(--border); font-size: 14px; font-family: var(--font-body);
  background: #fff; color: var(--ink); min-width: 240px;
}
.newsletter-form input:focus { border-color: var(--rose); outline: none; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */
.product-detail-section { padding: 40px 0 80px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
}
.breadcrumb a { transition: var(--t); }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb span { opacity: 0.4; }
.breadcrumb strong { color: var(--ink); }

.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.product-gallery-frame {
  border-radius: var(--r-xl); overflow: hidden; cursor: zoom-in;
  height: 460px; background: var(--gray-light);
  position: relative; border: 1px solid var(--border); box-shadow: var(--sh-sm);
  transition: var(--t);
}
.product-gallery-frame:hover { box-shadow: var(--sh-md); }
.detail-product-img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }

.product-image-fallback.large {
  width: 100%; height: 100%; font-size: 56px;
}
.gallery-note {
  text-align: center; font-size: 12px; color: var(--faint);
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px;
}

.detail-panel { position: sticky; top: 84px; align-self: flex-start; }
.detail-panel h1 {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  color: var(--ink); margin: 12px 0 14px;
}
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.detail-rating .stars { color: #f5a623; font-size: 15px; direction: ltr; }
.detail-rating span { font-size: 13px; color: var(--muted); }

.detail-prices { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.detail-price { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--rose); }
.detail-old-price { font-size: 16px; text-decoration: line-through; color: var(--faint); }
.detail-save {
  padding: 3px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  background: rgba(234,94,120,0.08); color: var(--rose);
}
.detail-desc { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 22px; }

.detail-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.detail-feature {
  display: flex; align-items: center; gap: 8px; padding: 11px 13px;
  border-radius: var(--r-md); background: var(--off-white); border: 1px solid var(--border);
  font-size: 13px; color: var(--text);
}
.detail-feature i { color: var(--rose); font-size: 14px; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.qty-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.qty-selector {
  display: inline-flex; align-items: center;
  border-radius: var(--r-md); border: 1.5px solid var(--border); overflow: hidden;
}
.qty-btn {
  width: 36px; height: 38px; border: none; cursor: pointer; font-size: 15px; font-weight: 700;
  background: var(--gray-light); color: var(--ink); transition: var(--t);
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--rose); color: #fff; }
.qty-num {
  width: 44px; text-align: center; font-size: 14px; font-weight: 700;
  border: none; border-right: 1.5px solid var(--border); border-left: 1.5px solid var(--border);
  background: transparent; color: var(--ink); font-family: var(--font-body); line-height: 38px;
}
.detail-actions { display: flex; gap: 10px; }
.detail-actions .btn { flex: 1; padding: 14px; font-size: 15px; }

.related-section { padding: 48px 0 64px; border-top: 1px solid var(--border); margin-top: 48px; }
.related-section .section-heading { text-align: right; }

/* ══════════════════════════════════════════════════════════════
   IMAGE ZOOM
   ══════════════════════════════════════════════════════════════ */
.img-zoom-overlay {
  position: fixed; inset: 0; background: rgba(5,2,4,0.95);
  z-index: 9500; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.26s; cursor: zoom-out;
}
.img-zoom-overlay.show { opacity: 1; pointer-events: all; }
.img-zoom-overlay img {
  max-width: 85vw; max-height: 85vh; border-radius: var(--r-xl);
  object-fit: contain; box-shadow: var(--sh-lg);
  transform: scale(0.92); transition: transform 0.34s cubic-bezier(.16,1,.3,1);
}
.img-zoom-overlay.show img { transform: scale(1); }
.img-zoom-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: var(--t); z-index: 2;
}
.img-zoom-close:hover { background: var(--rose); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.55);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-brand {}
.footer-brand > img {
  height: 44px; width: auto; max-width: 150px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.8; margin-bottom: 12px;
}
.footer-brand-heading strong { display: block; font-size: 16px; color: #fff; font-weight: 700; }
.footer-brand-heading span   { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-brand p { font-size: 13px; line-height: 1.75; margin-top: 12px; color: rgba(255,255,255,0.4); }

.footer-grid h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.footer-grid a {
  display: block; font-size: 13px; margin-bottom: 8px;
  color: rgba(255,255,255,0.42); transition: var(--t);
}
.footer-grid a:hover { color: rgba(255,255,255,0.9); padding-right: 4px; }
.footer-grid div:not(.footer-brand) { }

.footer-socials { display: flex; gap: 8px; margin-top: 18px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.45); transition: var(--t);
  margin-bottom: 0; padding: 0;
}
.footer-socials a:hover { background: var(--rose); color: #fff; transform: translateY(-2px); padding-right: 0; }

.contact-item { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,0.4); }
.contact-item i { color: var(--rose); width: 14px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.footer-bottom p { text-align: center; font-size: 12px; color: rgba(255,255,255,0.22); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-visual        { display: none; }
  .catalog-hero-grid  { grid-template-columns: 1fr; }
  .catalog-hero-art   { display: none; }
  .editorial-grid     { grid-template-columns: 1fr; }
  .editorial-panel    { height: 280px; }
  .editorial-panel img{ height: 280px; }
  .collections-grid   { grid-template-columns: 1fr; }
  .product-detail-grid{ grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .payment-methods    { grid-template-columns: 1fr; }
  .newsletter-shell   { flex-direction: column; }
}

@media (max-width: 600px) {
  .products-grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-media  { height: 165px; }
  .product-info   { padding: 12px; }
  .product-name   { font-size: 13px; }
  .product-price  { font-size: 16px; }
  .footer-grid    { grid-template-columns: 1fr; }
  .hero-metrics   { grid-template-columns: 1fr; }
  .detail-features{ grid-template-columns: 1fr; }
  .nav-container  { height: 60px; }
  .logo-img       { height: 36px; }
  .brand-copy     { display: none; }
  .topbar-meta    { display: none; }
  body { padding-bottom: 68px; }
}
