/* ═══════════════════════════════════════════════════════
   RANG — Pakistani Traditional Suits
   public/css/app.css
   Dynamic CSS Variables Design System
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:wght@300;400;500;600&family=Noto+Nastaliq+Urdu:wght@400;500&display=swap');

/* ── DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* Brand Palette — Dusty Rose + Deep Teal + Warm Ivory */
  --ivory:        #FAF7F2;
  --ivory-2:      #F3EDE3;
  --ivory-3:      #E8DFCF;
  --rose:         #C4785A;
  --rose-lt:      #E8C4B4;
  --rose-dk:      #9A5840;
  --rose-bg:      rgba(196,120,90,.09);
  --rose-bg2:     rgba(196,120,90,.16);
  --teal:         #2D6B6B;
  --teal-lt:      #4A9494;
  --teal-dk:      #1E4A4A;
  --teal-bg:      rgba(45,107,107,.08);
  --teal-bg2:     rgba(45,107,107,.15);
  --gold:         #B8933A;
  --gold-lt:      #D4AF5A;
  --gold-bg:      rgba(184,147,58,.10);
  --plum:         #6B3D5A;
  --plum-lt:      #9B5D82;
  --plum-bg:      rgba(107,61,90,.09);

  /* Neutrals */
  --text-1:       #1C1410;
  --text-2:       #5C4A3A;
  --text-3:       #9C8A7A;
  --text-4:       #BCA99A;
  --surface:      #FFFFFF;
  --border:       #E4D9CC;
  --border-2:     #CBBFB0;

  /* Semantic */
  --success:      #2D7A4A;
  --success-bg:   rgba(45,122,74,.10);
  --error:        #B54040;
  --error-bg:     rgba(181,64,64,.10);
  --warning:      #A06820;
  --warning-bg:   rgba(160,104,32,.10);

  /* Typography */
  --font:         'DM Sans', sans-serif;
  --serif:        'Playfair Display', serif;
  --urdu:         'Noto Nastaliq Urdu', serif;

  /* Layout */
  --nav-h:        64px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    22px;
  --radius-pill:  100px;

  /* Motion */
  --t:            0.2s cubic-bezier(.4,0,.2,1);
  --t-spring:     0.3s cubic-bezier(.34,1.56,.64,1);

  /* Shadows */
  --shadow-sm:    0 1px 4px rgba(28,20,16,.08);
  --shadow-md:    0 4px 20px rgba(28,20,16,.10);
  --shadow-lg:    0 8px 40px rgba(28,20,16,.12);
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--ivory);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }
ul { list-style: none; }

::selection { background: var(--rose-bg2); color: var(--rose-dk); }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--ivory-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.t-display { font-family: var(--serif); font-size: clamp(28px,4vw,48px); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; color: var(--text-1); }
.t-display-italic { font-family: var(--serif); font-style: italic; }
.t-heading { font-family: var(--serif); font-size: clamp(20px,2.5vw,28px); font-weight: 500; color: var(--text-1); }
.t-subheading { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--rose); }
.t-body { font-size: 15px; color: var(--text-2); line-height: 1.7; }
.t-small { font-size: 13px; color: var(--text-3); }
.t-price { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--teal-dk); }

/* ── UTILITIES ───────────────────────────────────────── */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-muted { color: var(--text-3) !important; }
.fw-bold { font-weight: 700 !important; }
.fw-medium { font-weight: 500 !important; }
.small { font-size: 13px !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }

/* ── LAYOUT UTILS ───────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  border: 1.5px solid transparent; transition: all var(--t); white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-primary:hover { background: var(--rose-dk); border-color: var(--rose-dk); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dk); border-color: var(--teal-dk); }
.btn-outline { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn-outline:hover { background: var(--rose-bg); }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal-bg); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--ivory-2); border-color: var(--border-2); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: 50%; }

/* ── BADGE ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 600; letter-spacing: .03em;
}
.badge-rose   { background: var(--rose-bg2);  color: var(--rose-dk); }
.badge-teal   { background: var(--teal-bg2);  color: var(--teal-dk); }
.badge-gold   { background: var(--gold-bg);   color: #7A5A18; }
.badge-plum   { background: var(--plum-bg);   color: var(--plum); }
.badge-new    { background: var(--success-bg);color: var(--success); }

/* ── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); }

/* ── FORM ELEMENTS ──────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-2); margin-bottom: 6px;
}
.form-label .req { color: var(--rose); }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text-1); background: var(--surface);
  outline: none; transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,107,107,.12);
}
.form-control::placeholder { color: var(--text-4); }
.form-control.error { border-color: var(--error); }
.form-control.error:focus { box-shadow: 0 0 0 3px var(--error-bg); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239C8A7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 5px; display: none; }
.form-control.error ~ .form-error { display: block; }

/* Size toggle group */
.size-group { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pill {
  padding: 7px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); font-size: 13px; font-weight: 500;
  color: var(--text-2); background: var(--surface); cursor: pointer;
  transition: all var(--t);
}
.size-pill:hover { border-color: var(--teal); color: var(--teal); }
.size-pill.active { border-color: var(--teal); background: var(--teal-bg2); color: var(--teal-dk); }
.size-pill.unavailable { opacity: .35; pointer-events: none; text-decoration: line-through; }

/* Measurement grid */
.measure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

/* ── PRODUCT CARD (new) ─────────────────────────────── */
.pc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}
.pc:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Image wrapper */
.pc-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  background: var(--ivory-2);
  overflow: hidden;
}
.pc-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  display: block;
}
.pc:hover .pc-photo { transform: scale(1.06); }
.pc-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 68px;
  background: var(--ivory-2);
}

/* Badges */
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }

/* Wishlist */
.pc-wl-form { position: absolute; top: 10px; right: 10px; z-index: 3; }
.pc-wl {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  cursor: pointer; transition: all var(--t);
  box-shadow: var(--shadow-sm);
}
.pc-wl:hover { background: var(--rose-bg2); border-color: var(--rose-lt); transform: scale(1.1); }
.pc-wl.active { background: var(--rose-bg2); border-color: var(--rose-lt); }

/* Quick view overlay */
.pc-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 18px;
  background: linear-gradient(to top, rgba(28,20,16,.45) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.pc:hover .pc-overlay { opacity: 1; }
.pc-overlay-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  color: var(--teal-dk); font-size: 12.5px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius-pill);
  letter-spacing: .02em;
  transform: translateY(6px);
  transition: transform var(--t);
  pointer-events: none;
}
.pc:hover .pc-overlay-btn { transform: translateY(0); }

/* Card body */
.pc-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pc-cat { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin: 0; }
.pc-name {
  font-family: var(--serif); font-size: 15.5px; font-weight: 400;
  color: var(--text-1); line-height: 1.35; margin: 0;
  flex: 1;
}
.pc-name a { color: inherit; transition: color var(--t); }
.pc-name a:hover { color: var(--teal-dk); }

/* Footer row */
.pc-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.pc-pricing { display: flex; align-items: baseline; gap: 6px; }
.pc-price { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--teal-dk); }
.pc-price-old { font-size: 12.5px; color: var(--text-4); text-decoration: line-through; }

/* Arrow CTA */
.pc-cta {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-bg); color: var(--teal-dk);
  border: 1.5px solid var(--teal-lt);
  transition: all var(--t);
}
.pc-cta:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateX(2px); }

/* Color swatches */
.pc-swatches { display: flex; gap: 5px; margin-top: 10px; }
.swatch {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer; transition: all var(--t);
}
.swatch:hover, .swatch.active { border-color: var(--text-1); box-shadow: 0 0 0 2px var(--surface); }

/* ── FILTER BAR ──────────────────────────────────────── */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.filter-chip {
  padding: 6px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); font-size: 13px; font-weight: 500;
  color: var(--text-2); background: var(--surface); cursor: pointer;
  transition: all var(--t);
}
.filter-chip:hover { border-color: var(--teal-lt); color: var(--teal); }
.filter-chip.active { border-color: var(--teal); background: var(--teal-bg2); color: var(--teal-dk); }

/* ── SHOP PAGE — HERO ───────────────────────────────── */
.shop-hero {
  position: relative;
  background: var(--ivory-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.shop-hero-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    repeating-linear-gradient(45deg, var(--rose-bg) 0, var(--rose-bg) 1px, transparent 0, transparent 40%),
    repeating-linear-gradient(-45deg, var(--teal-bg) 0, var(--teal-bg) 1px, transparent 0, transparent 40%);
  background-size: 20px 20px;
}
.shop-hero-inner { position: relative; padding: 44px 0 36px; text-align: center; }
.shop-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--text-3); margin-bottom: 14px; }
.shop-breadcrumb a { color: var(--text-3); transition: color var(--t); }
.shop-breadcrumb a:hover { color: var(--teal); }
.shop-breadcrumb-sep { font-size: 10px; color: var(--text-4); }
.shop-hero-title { font-family: var(--serif); font-size: clamp(28px,4vw,44px); font-weight: 400; color: var(--text-1); margin: 0 0 10px; line-height: 1.15; }
.shop-hero-title em { font-style: italic; color: var(--teal-dk); }
.shop-hero-sub { font-size: 15px; color: var(--text-3); margin: 0 0 20px; }
.shop-hero-stats { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.shop-hero-stat { font-size: 13px; color: var(--text-3); }
.shop-hero-stat strong { color: var(--text-1); font-weight: 600; }
.shop-hero-divider { color: var(--text-4); font-size: 12px; }

/* ── SHOP — CATEGORY STRIP ──────────────────────────── */
.shop-cat-strip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 20px 0 4px;
  border-bottom: 1px solid var(--border);
}
.shop-cat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--text-2);
  transition: all var(--t); white-space: nowrap;
}
.shop-cat-pill:hover { border-color: var(--teal-lt); color: var(--teal); background: var(--teal-bg); }
.shop-cat-pill.active { border-color: var(--teal); background: var(--teal-bg2); color: var(--teal-dk); font-weight: 600; }
.shop-cat-icon { font-size: 14px; }

/* ── SHOP — ACTIVE FILTER CHIPS ─────────────────────── */
.shop-active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 0 0; }
.shop-af-label { font-size: 12.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.shop-af-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-bg); color: var(--teal-dk);
  border: 1px solid var(--teal-lt); border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 500; padding: 4px 12px;
}
.shop-af-remove { color: var(--teal-dk); font-weight: 700; font-size: 11px; opacity: .7; transition: opacity var(--t); }
.shop-af-remove:hover { opacity: 1; }
.shop-af-clear { font-size: 12.5px; color: var(--error); font-weight: 500; transition: opacity var(--t); }
.shop-af-clear:hover { opacity: .75; }

/* ── SHOP — TOOLBAR ─────────────────────────────────── */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.shop-toolbar-left { display: flex; align-items: center; gap: 12px; }
.shop-toolbar-right { display: flex; align-items: center; gap: 10px; }

.shop-filter-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--surface);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: all var(--t); position: relative;
}
.shop-filter-btn:hover { border-color: var(--teal-lt); color: var(--teal); background: var(--teal-bg); }
.shop-filter-dot {
  position: absolute; top: -3px; right: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose); border: 2px solid var(--surface);
}
.shop-result-count { font-size: 13px; color: var(--text-3); margin: 0; }
.shop-result-count strong { color: var(--text-2); font-weight: 600; }

.shop-sort-label { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.shop-sort-select {
  padding: 8px 32px 8px 12px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--surface);
  font-size: 13.5px; color: var(--text-1); font-family: var(--font);
  appearance: none; cursor: pointer; outline: none; transition: border-color var(--t);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239C8A7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.shop-sort-select:focus { border-color: var(--teal); }

.shop-view-toggle { display: flex; gap: 2px; background: var(--ivory-2); border-radius: var(--radius); padding: 3px; border: 1px solid var(--border); }
.shop-view-btn {
  width: 30px; height: 30px; border-radius: 7px; border: none;
  background: transparent; color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t);
}
.shop-view-btn:hover { background: var(--surface); color: var(--text-2); }
.shop-view-btn.active { background: var(--surface); color: var(--teal-dk); box-shadow: var(--shadow-sm); }

/* ── SHOP — MAIN LAYOUT ─────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 72px;
}

/* ── SHOP — SIDEBAR ─────────────────────────────────── */
.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex; flex-direction: column; gap: 12px;
}
.sidebar-mobile-header {
  display: none;
  align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.sidebar-mobile-title { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 18px; color: var(--text-1); }
.sidebar-close-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent; display: flex; align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer; transition: all var(--t);
}
.sidebar-close-btn:hover { background: var(--ivory-2); }

.sidebar-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.sidebar-section-header {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-3);
  margin-bottom: 12px;
}
.sidebar-filter-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-filter-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px; border-radius: var(--radius);
  font-size: 13.5px; color: var(--text-2);
  transition: background var(--t), color var(--t);
}
.sidebar-filter-item:hover { background: var(--ivory-2); color: var(--teal-dk); }
.sidebar-filter-item.active { background: var(--teal-bg); color: var(--teal-dk); font-weight: 600; }
.sidebar-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* Price inputs */
.sidebar-price-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.sidebar-price-field { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sidebar-price-label { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; }
.sidebar-price-input-wrap { position: relative; }
.sidebar-price-currency { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--text-3); font-weight: 600; pointer-events: none; }
.sidebar-price-input {
  width: 100%; padding: 9px 8px 9px 26px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 13px; color: var(--text-1); background: var(--ivory);
  outline: none; transition: border-color var(--t);
  -moz-appearance: textfield;
  appearance: textfield;
}
.sidebar-price-input::-webkit-outer-spin-button,
.sidebar-price-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sidebar-price-input:focus { border-color: var(--teal); }
.sidebar-price-dash { color: var(--text-4); font-size: 16px; padding-bottom: 8px; flex-shrink: 0; }
.sidebar-apply-btn {
  width: 100%; padding: 10px;
  background: var(--teal); color: #fff;
  border: none; border-radius: var(--radius); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background var(--t);
}
.sidebar-apply-btn:hover { background: var(--teal-dk); }

/* Clear section */
.sidebar-clear-section { background: transparent; border-color: transparent; padding: 0; }
.sidebar-clear-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--error); font-weight: 500;
  transition: opacity var(--t);
}
.sidebar-clear-btn:hover { opacity: .75; }

/* Backdrop */
.shop-sidebar-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(28,20,16,.45); z-index: 290;
  transition: opacity .25s;
}
.shop-sidebar-backdrop.visible { display: block; animation: fadeIn .2s ease; }

/* ── SHOP — EMPTY STATE ─────────────────────────────── */
.shop-empty-state { grid-column: 1/-1; padding: 80px 24px; text-align: center; }
.shop-empty-icon { color: var(--text-4); margin-bottom: 16px; }
.shop-empty-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--text-2); margin-bottom: 8px; }
.shop-empty-desc { font-size: 14px; color: var(--text-3); }

/* ── SHOP — PAGINATION ──────────────────────────────── */
.shop-pagination { padding: 40px 0 0; display: flex; justify-content: center; }

/* ── NAV ────────────────────────────────────────────── */
.site-nav {
  height: var(--nav-h); background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  position: sticky; top: 0; z-index: 200;
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; gap: 32px; width: 100%; }
.nav-brand { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--teal-dk); letter-spacing: .02em; white-space: nowrap; }
.nav-brand span { color: var(--rose); font-style: italic; }
.nav-links { display: flex; gap: 24px; margin: 0 auto; }
.nav-link { font-size: 14px; color: var(--text-2); font-weight: 400; transition: color var(--t); position: relative; }
.nav-link:hover { color: var(--teal); }
.nav-link.active { color: var(--teal-dk); font-weight: 500; }
.nav-link.active::after { content:''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--teal); border-radius: 1px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border); background: transparent; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--text-2); transition: all var(--t); position: relative; }
.nav-icon-btn:hover { background: var(--ivory-2); color: var(--teal); border-color: var(--border-2); }
.nav-cart-count { position: absolute; top: -4px; right: -4px; background: var(--rose); color: #fff; font-size: 9.5px; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }

/* ── ANNOUNCEMENT BAR ───────────────────────────────── */
.ann-bar { background: var(--teal-dk); color: #fff; text-align: center; padding: 9px 16px; font-size: 13px; letter-spacing: .02em; }
.ann-bar strong { font-weight: 600; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  background: var(--ivory-2);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--rose); margin-bottom: 14px; }
.hero-title { font-family: var(--serif); font-size: clamp(32px,4vw,52px); line-height: 1.12; font-weight: 400; color: var(--text-1); margin-bottom: 18px; }
.hero-title em { font-style: italic; color: var(--teal-dk); }
.hero-desc { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 28px; max-width: 440px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4/5;
  background: var(--ivory-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.hero-visual-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-pattern {
  width: 100%; height: 100%;
  background-image:
    repeating-linear-gradient(45deg, var(--rose-bg) 0, var(--rose-bg) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, var(--teal-bg) 0, var(--teal-bg) 1px, transparent 0, transparent 50%);
  background-size: 16px 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}

/* ── CATEGORY TABS ──────────────────────────────────── */
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-tab {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); background: var(--surface);
  cursor: pointer; transition: all var(--t); min-width: 100px; text-align: center;
}
.cat-tab:hover { border-color: var(--rose-lt); background: var(--rose-bg); }
.cat-tab.active { border-color: var(--rose); background: var(--rose-bg2); }
.cat-tab-icon { font-size: 26px; }
.cat-tab-label { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.cat-tab.active .cat-tab-label { color: var(--rose-dk); font-weight: 600; }

/* ── SECTION HEADERS ────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .t-subheading { margin-bottom: 8px; }
.section-header .t-heading { margin-bottom: 12px; }
.section-header .t-body { max-width: 520px; margin: 0 auto; }

/* ── PRODUCT GRID ────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

/* ── MEASUREMENT SECTION ─────────────────────────────── */
.measure-info {
  background: var(--teal-bg);
  border: 1.5px solid rgba(45,107,107,.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.measure-info-title { font-weight: 600; color: var(--teal-dk); margin-bottom: 6px; font-size: 14px; }
.measure-info p { font-size: 13px; color: var(--teal-dk); line-height: 1.6; opacity: .85; }

.measure-unit { display: flex; gap: 6px; margin-bottom: 14px; }
.unit-btn { padding: 5px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); font-size: 12.5px; font-weight: 500; color: var(--text-2); background: var(--surface); cursor: pointer; transition: all var(--t); }
.unit-btn.active { border-color: var(--teal); background: var(--teal-bg2); color: var(--teal-dk); }

.measure-field { position: relative; }
.measure-field input { padding-right: 46px; }
.measure-field .unit-label { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--text-3); font-weight: 500; pointer-events: none; }

/* ── ORDER TYPE TOGGLE ──────────────────────────────── */
.order-type-toggle { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.ot-btn { flex: 1; padding: 11px 16px; font-size: 14px; font-weight: 500; color: var(--text-2); background: var(--surface); border: none; cursor: pointer; transition: all var(--t); display: flex; align-items: center; justify-content: center; gap: 7px; }
.ot-btn + .ot-btn { border-left: 1.5px solid var(--border); }
.ot-btn:hover { background: var(--ivory-2); }
.ot-btn.active { background: var(--teal); color: #fff; }

/* ── SIZE GUIDE TABLE ─────────────────────────────────── */
.size-guide { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-guide th { background: var(--teal); color: #fff; padding: 10px 14px; text-align: left; font-weight: 500; font-size: 12.5px; }
.size-guide td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.size-guide tbody tr:hover { background: var(--teal-bg); }
.size-guide tbody tr:last-child td { border-bottom: none; }

/* ── TOAST ──────────────────────────────────────────── */
.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--text-1); color: #fff; padding: 12px 18px; border-radius: var(--radius-lg); font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); min-width: 240px; max-width: 360px; animation: toastIn .25s ease both; pointer-events: all; }
.toast.success { background: var(--success); }
.toast.warning { background: var(--warning); }
.toast.error   { background: var(--error); }
@keyframes toastIn { from { opacity:0; transform: translateX(16px); } to { opacity:1; transform: translateX(0); } }

/* ── BREADCRUMB ─────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-3); transition: color var(--t); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-sep { font-size: 10px; color: var(--text-4); }
.breadcrumb-cur { color: var(--text-2); font-weight: 500; }

/* ── MODAL ──────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(28,20,16,.5); z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.modal-box { background: var(--surface); border-radius: var(--radius-xl); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; animation: slideUp .25s ease; box-shadow: var(--shadow-lg); }
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-head { display: flex; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-title { font-family: var(--serif); font-size: 20px; flex: 1; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); background: transparent; font-size: 18px; color: var(--text-3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--t); }
.modal-close:hover { background: var(--ivory-2); color: var(--text-1); }
.modal-body { padding: 24px; }

/* ── CART SIDEBAR ───────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(28,20,16,.4); z-index: 400; display: none; }
.cart-overlay.open { display: block; animation: fadeIn .2s ease; }
.cart-panel { position: fixed; top: 0; right: -420px; width: 420px; height: 100%; background: var(--surface); box-shadow: var(--shadow-lg); z-index: 450; display: flex; flex-direction: column; transition: right var(--t); }
.cart-panel.open { right: 0; }
.cart-head { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.cart-title { font-family: var(--serif); font-size: 20px; flex: 1; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--border); }

/* Cart item */
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.ci-thumb { width: 72px; height: 90px; border-radius: 8px; background: var(--ivory-2); overflow: hidden; flex-shrink: 0; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-body { flex: 1; min-width: 0; }
.ci-name { font-size: 14px; font-weight: 500; color: var(--text-1); margin-bottom: 3px; }
.ci-meta { font-size: 12.5px; color: var(--text-3); margin-bottom: 8px; line-height: 1.5; }
.ci-price { font-family: var(--serif); font-size: 15px; color: var(--teal-dk); font-weight: 500; }
.ci-remove { font-size: 12px; color: var(--error); cursor: pointer; margin-top: 4px; display: inline-block; }
.ci-remove:hover { text-decoration: underline; }

/* Cart totals */
.cart-totals { margin-bottom: 16px; }
.cart-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--text-2); }
.cart-row.total { border-top: 1.5px solid var(--border); margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 16px; color: var(--text-1); font-family: var(--serif); }

/* ── FEATURE BANNER ─────────────────────────────────── */
.features-strip { background: var(--ivory-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.feature-item { padding: 20px 24px; text-align: center; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 24px; margin-bottom: 8px; }
.feature-title { font-size: 13.5px; font-weight: 600; color: var(--text-1); margin-bottom: 3px; }
.feature-desc { font-size: 12px; color: var(--text-3); }

/* ── TESTIMONIAL ─────────────────────────────────────── */
.testimonial-card { background: var(--ivory-2); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }
.testi-stars { color: var(--gold); font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.testi-text { font-size: 14.5px; color: var(--text-2); line-height: 1.7; font-style: italic; margin-bottom: 14px; }
.testi-author { font-size: 13px; font-weight: 600; color: var(--text-1); }
.testi-location { font-size: 12px; color: var(--text-3); }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer { background: var(--teal-dk); color: rgba(255,255,255,.85); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-brand-name { font-family: var(--serif); font-size: 24px; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; opacity: .75; margin-bottom: 20px; }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 13.5px; color: rgba(255,255,255,.75); transition: color var(--t); }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }
.anim-fade-up { animation: fadeUp .4s ease both; }
.anim-delay-1 { animation-delay: .08s; }
.anim-delay-2 { animation-delay: .16s; }
.anim-delay-3 { animation-delay: .24s; }
.anim-delay-4 { animation-delay: .32s; }

/* ── STICKY ORDER SUMMARY ───────────────────────────── */
.order-sticky { position: sticky; top: calc(var(--nav-h) + 16px); }

/* ── PROGRESS STEPS ─────────────────────────────────── */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-3); transition: all var(--t); z-index: 1; }
.step.done .step-circle { border-color: var(--teal); background: var(--teal); color: #fff; }
.step.active .step-circle { border-color: var(--rose); background: var(--rose); color: #fff; }
.step-label { font-size: 12px; color: var(--text-3); font-weight: 500; white-space: nowrap; }
.step.done .step-label, .step.active .step-label { color: var(--text-2); }
.step::before { content:''; position: absolute; top: 16px; left: calc(-50% + 16px); right: calc(50% + 16px); height: 2px; background: var(--border); }
.step:first-child::before { display: none; }
.step.done::before { background: var(--teal); }

/* ── MOBILE NAV HEADER (inside drawer, hidden on desktop) ── */
.mobile-nav-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ── MOBILE SEARCH BAR (hidden on desktop) ─────────── */
.mobile-search-bar {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: relative;
  z-index: 150;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding-top: 0;
  padding-bottom: 0;
}
.mobile-search-bar.open {
  max-height: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .features-inner { grid-template-columns: 1fr 1fr; }
  .feature-item { border-bottom: 1px solid var(--border); }
  /* Tablet: narrower sidebar */
  .shop-layout { grid-template-columns: 200px 1fr; gap: 24px; }
}
body.nav-drawer-open { overflow: hidden; }

@media (max-width: 960px) {
  .shop-layout { display: flex; flex-direction: column; gap: 20px; padding-bottom: 48px; }
  .shop-sidebar {
    position: fixed; left: 0; top: 0;
    width: min(300px, 88vw); height: 100vh;
    background: var(--surface); z-index: 300;
    transform: translateX(-110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    padding: 24px 20px; box-shadow: var(--shadow-lg);
    overflow-y: auto; display: flex; flex-direction: column; gap: 16px;
  }
  .shop-sidebar.open { transform: translateX(0); }
  .sidebar-mobile-header { display: flex; }
  .shop-main { width: 100%; }
  .shop-filter-btn { display: inline-flex; }
}

@media (max-width: 768px) {
  /* Show hamburger & search toggle on mobile */
  #mobileNavToggle { display: flex !important; }
  .mobile-search-toggle { display: flex !important; }
  /* Hide desktop nav search bar */
  .nav-search { display: none !important; }
  /* Show mobile search bar container */
  .mobile-search-bar { display: block; }
  /* Mobile nav header inside drawer */
  .mobile-nav-header { display: flex; }
  /* Announcement bar smaller on mobile */
  .ann-bar { font-size: 11.5px; padding: 7px 12px; }
  /* Nav: remove gap so brand + actions stay compact */
  .nav-inner { gap: 12px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/9; max-height: 280px; }
  .hero-desc { max-width: 100%; }
  /* Footer bottom stack */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }
  /* Mobile nav: slide-in panel (was display:none + .open with no visible rules — menu never appeared) */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 20, 16, 0.45);
    z-index: 190;
  }
  .nav-backdrop.open { display: block; }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100vh;
    margin: 0;
    padding: calc(var(--nav-h) + 20px) 20px 24px;
    gap: 0;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    z-index: 195;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links .nav-link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .nav-links .nav-link.active::after { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cart-panel { width: 100%; }
  .shop-cat-strip { padding: 14px 0 0; gap: 6px; }
  .shop-cat-pill { padding: 6px 12px; font-size: 12.5px; }
  .shop-toolbar { padding: 10px 0 12px; }
  .shop-sort-label { display: none; }
  /* Contact & Home story grids */
  .resp-grid-2 { grid-template-columns: 1fr !important; }
  .resp-grid-3 { grid-template-columns: 1fr !important; }
  /* Banner slider height */
  .banner-slider { height: 220px !important; }
  /* Hero banner overlay text */
  .banner-overlay { bottom: 16px !important; left: 16px !important; }
  .banner-overlay h2 { font-size: 22px !important; }
  /* Middle banners wrap */
  .middle-banners-row { flex-direction: column !important; }
  .middle-banners-row > div { min-width: unset !important; }
  /* Newsletter input full width */
  .newsletter-form input[type=email] { max-width: 100% !important; width: 100% !important; }
  /* Footer social row wrap */
  .footer-social { gap: 8px !important; }
  /* Section padding */
  .section { padding: 40px 0; }
  .section-sm { padding: 28px 0; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shop-hero-inner { padding: 32px 0 24px; }
  .shop-hero-stats { gap: 6px; flex-direction: column; align-items: center; }
  .shop-hero-divider { display: none; }
  .features-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .measure-grid { grid-template-columns: 1fr 1fr; }
  /* Contact form box padding */
  .resp-grid-2 { gap: 14px !important; }
  .resp-grid-3 { gap: 16px !important; }
  /* Announcement bar scroll */
  .ann-bar { overflow-x: auto; white-space: nowrap; text-align: left; -webkit-overflow-scrolling: touch; }
  /* Hero title on tiny screens */
  .hero-title { font-size: clamp(26px,8vw,42px); }
  /* Cart panel full height adjustment */
  .cart-panel { border-radius: 0; }
  /* Nav brand smaller */
  .nav-brand { font-size: 18px; }
}

/* ══════════════════════════════════════════
   PAGE LOADER
══════════════════════════════════════════ */
#rang-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--ivory);
  transition: opacity 0.38s ease, visibility 0.38s ease;
}
#rang-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.rang-loader-brand {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--teal-dk);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  animation: loaderBrandPulse 1.4s ease-in-out infinite;
}
.rang-loader-brand span {
  color: var(--rose);
  font-style: italic;
}
@keyframes loaderBrandPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.rang-loader-bar {
  width: 120px;
  height: 3px;
  background: var(--ivory-3);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.rang-loader-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--teal));
  border-radius: 99px;
  animation: loaderBarSlide 1.1s ease-in-out infinite;
}
@keyframes loaderBarSlide {
  0%   { left: -50%; }
  100% { left: 150%; }
}
.rang-loader-dots {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}
.rang-loader-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-lt);
  animation: loaderDot 1.2s ease-in-out infinite;
}
.rang-loader-dots span:nth-child(2) { animation-delay: 0.15s; background: var(--rose); }
.rang-loader-dots span:nth-child(3) { animation-delay: 0.3s; background: var(--gold); }
@keyframes loaderDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ══════════════════════════════════════════
   PAGE TRANSITION — top progress bar (NProgress style)
══════════════════════════════════════════ */
#page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  z-index: 99998;
  background: linear-gradient(90deg, var(--rose), var(--teal-lt), var(--gold));
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 0 8px rgba(196, 120, 90, 0.5);
}
#page-transition.out {
  opacity: 1;
  width: 85%;
  transition: width 0.6s cubic-bezier(0.1, 0.45, 0.1, 1), opacity 0.1s ease;
}
#page-transition.done {
  opacity: 0;
  width: 100% !important;
  transition: width 0.15s ease, opacity 0.3s ease 0.1s;
}
main {
  animation: pageContentIn 0.28s ease both;
}
@keyframes pageContentIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   SKELETON LOADERS
══════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--ivory-2) 25%, var(--ivory-3) 50%, var(--ivory-2) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.3s ease-in-out infinite;
  border-radius: var(--radius);
}
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.skeleton-card .sk-img {
  height: 260px;
  background: linear-gradient(90deg, var(--ivory-2) 25%, var(--ivory-3) 50%, var(--ivory-2) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.3s ease-in-out infinite;
}
.skeleton-card .sk-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skeleton-card .sk-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--ivory-2) 25%, var(--ivory-3) 50%, var(--ivory-2) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.3s ease-in-out infinite;
}
.skeleton-card .sk-line.short { width: 55%; }
.skeleton-card .sk-line.med   { width: 75%; }

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ══════════════════════════════════════════
   AJAX SHOP LOADING STATE
══════════════════════════════════════════ */
#shopMain.ajax-loading {
  pointer-events: none;
  position: relative;
}
#shopMain.ajax-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 242, 0.7);
  z-index: 10;
  border-radius: var(--radius);
}
.shop-ajax-spinner {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.shop-ajax-spinner.visible { opacity: 1; }
.shop-ajax-spinner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: spinnerDot 0.9s ease-in-out infinite alternate;
}
@keyframes spinnerDot {
  from { transform: scale(0.5); opacity: 0.4; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ══════════════════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
  z-index: 500;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--teal-dk); }
@media (max-width: 480px) {
  #back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════════════════
   NEW FEATURES: MARQUEE, PAGE LAYOUT, CONTACT, OFFERS
═══════════════════════════════════════════════════════ */

/* ── MARQUEE ANNOUNCEMENT BAR ───────────────────────── */
.marquee-bar {
  background: linear-gradient(90deg, var(--teal-dk), var(--teal));
  color: #fff;
  overflow: hidden;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.marquee-item {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.marquee-item strong {
  font-weight: 600;
  color: var(--gold-lt);
}

.marquee-sep {
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hide static bar on desktop, show on mobile */
.ann-bar--static {
  display: none;
}

@media (max-width: 768px) {
  .marquee-bar { display: none; }
  .ann-bar--static { display: block; }
}

/* ── PAGE LAYOUT COMPONENT ─────────────────────────── */
.page-hero {
  background: var(--ivory-2);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero--gradient {
  background: linear-gradient(135deg, var(--teal-dk) 0%, var(--teal) 50%, var(--teal-lt) 100%);
  color: #fff;
}

.page-hero--gradient .page-breadcrumb__link,
.page-hero--gradient .page-breadcrumb__current {
  color: rgba(255,255,255,0.8);
}

.page-hero--gradient .page-breadcrumb__sep {
  color: rgba(255,255,255,0.4);
}

.page-hero--gradient .page-hero__title {
  color: #fff;
}

.page-hero--gradient .page-hero__subtitle {
  color: rgba(255,255,255,0.85);
}

.page-hero--gradient .page-hero__wave {
  color: var(--ivory);
}

.page-hero__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-breadcrumb__link {
  color: var(--text-3);
  transition: color 0.2s;
}

.page-breadcrumb__link:hover {
  color: var(--teal);
}

.page-breadcrumb__current {
  color: var(--text-2);
  font-weight: 500;
}

.page-breadcrumb__sep {
  color: var(--text-4);
  display: flex;
  align-items: center;
}

.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  color: var(--text-1);
  margin: 0 0 12px;
  line-height: 1.15;
}

.page-hero__subtitle {
  font-size: 16px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-hero__decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.page-hero__wave {
  width: 100%;
  height: 60px;
  color: var(--ivory);
}

.page-content {
  padding: 48px 0 72px;
}

.page-content__wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.page-section {
  margin-bottom: 40px;
}

.page-section__title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--teal-dk);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-bg);
}

.page-section__content {
  color: var(--text-2);
  line-height: 1.8;
  font-size: 15px;
}

.page-paragraph {
  margin-bottom: 16px;
  color: var(--text-2);
  line-height: 1.8;
}

.page-heading-h2 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--teal-dk);
  margin: 32px 0 16px;
}

.page-heading-h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text-1);
  margin: 24px 0 12px;
}

.prose-content h2 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--teal-dk);
  margin: 32px 0 16px;
}

.prose-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-2);
}

/* ── CONTACT PAGE STYLES ───────────────────────────── */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-lt);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-bg);
  color: var(--teal-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 8px;
}

.contact-card__text {
  font-size: 14px;
  color: var(--text-3);
  margin: 0 0 16px;
}

.contact-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card__link:hover {
  color: var(--teal-dk);
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
}

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-form__header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-form__title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text-1);
  margin: 0 0 8px;
}

.contact-form__desc {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
}

.contact-form .form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-actions {
  margin-top: 28px;
}

.contact-faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-faq__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.contact-faq__list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-faq__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}

.contact-faq__item:last-child {
  border-bottom: none;
}

.contact-faq__item:hover {
  background: var(--ivory-1);
  color: var(--teal);
}

.contact-faq__item svg {
  color: var(--teal);
  flex-shrink: 0;
}

.contact-whatsapp-box {
  background: linear-gradient(135deg, #25d36615, #128c7e15);
  border: 1px solid #25d36640;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.contact-whatsapp__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-whatsapp__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 4px;
}

.contact-whatsapp__text {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 16px;
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
}

.alert--success {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btnSpin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .contact-info-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-form-section {
    grid-template-columns: 1fr;
  }
  
  .contact-faq-sidebar {
    order: -1;
  }
  
  .contact-form .form-row--2 {
    grid-template-columns: 1fr;
  }
}

/* ── OFFERS POPUP ──────────────────────────────────── */
.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.offer-popup--visible {
  opacity: 1;
  visibility: visible;
}

.offer-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 16, 0.6);
  backdrop-filter: blur(4px);
}

.offer-popup__content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.offer-popup--visible .offer-popup__content {
  transform: scale(1) translateY(0);
}

.offer-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.offer-popup__close:hover {
  background: #fff;
  color: var(--text-1);
  transform: rotate(90deg);
}

.offer-popup__visual {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dk) 100%);
  padding: 40px 24px;
  text-align: center;
  position: relative;
}

.offer-popup__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.offer-popup__emoji {
  font-size: 72px;
  line-height: 1;
  animation: offerEmoji 2s ease-in-out infinite;
}

@keyframes offerEmoji {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(-5deg); }
}

.offer-popup__body {
  padding: 28px 32px 32px;
  text-align: center;
}

.offer-popup__title {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--text-1);
  margin: 0 0 8px;
}

.offer-popup__subtitle {
  font-size: 16px;
  color: var(--text-2);
  margin: 0 0 24px;
}

.offer-popup__code-box {
  background: var(--ivory-2);
  border: 2px dashed var(--border-2);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.offer-popup__code-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.offer-popup__code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Courier New', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--teal-dk);
  letter-spacing: 0.1em;
}

.offer-popup__copy {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.offer-popup__copy:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.offer-popup__terms {
  font-size: 12px;
  color: var(--text-3);
  margin: 0 0 20px;
}

@media (max-width: 480px) {
  .offer-popup__content {
    margin: 12px;
  }
  
  .offer-popup__visual {
    padding: 32px 20px;
  }
  
  .offer-popup__emoji {
    font-size: 56px;
  }
  
  .offer-popup__body {
    padding: 24px 20px 28px;
  }
  
  .offer-popup__title {
    font-size: 22px;
  }
  
  .offer-popup__code {
    font-size: 20px;
  }
}

/* ── HOME PAGE ENHANCEMENTS ─────────────────────────── */

/* Flash Sale Banner */
.flash-sale-banner {
  background: linear-gradient(90deg, var(--rose-dk), var(--rose));
  color: #fff;
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
}

.flash-sale-banner a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-3);
}

.trust-badge svg {
  color: var(--teal);
}

/* Newsletter Enhancements */
.newsletter-section {
  background: linear-gradient(135deg, var(--teal-bg) 0%, var(--rose-bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}

.newsletter-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text-1);
  margin: 0 0 12px;
}

.newsletter-content p {
  color: var(--text-2);
  font-size: 15px;
  margin: 0;
}

.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.newsletter-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.newsletter-benefits li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

@media (max-width: 768px) {
  .newsletter-box {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .newsletter-benefits {
    display: inline-block;
    text-align: left;
  }
}

/* ── FLASH SALE BANNER ──────────────────────────────── */
.flash-sale-banner {
  background: linear-gradient(90deg, var(--rose-dk), var(--rose));
  color: #fff;
  padding: 14px 0;
  position: relative;
  overflow: hidden;
}

.flash-sale-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: flashShimmer 3s infinite;
}

@keyframes flashShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.flash-sale-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.flash-sale__label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
}

.flash-sale__text {
  opacity: 0.95;
}

.flash-sale__link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}

.flash-sale__link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .flash-sale-banner .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 13px;
  }
}
