/* ═══════════════════════════════════════════════════════════
   LoLo: The Local Loom — Global Design System
   Editorial Boutique · Indian Heritage Fashion
   Palette: Warm Earthy · Type: Cormorant Garamond + DM Sans
═══════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --bg:           #f4ece0;
  --bg-alt:       #ede0cc;
  --bg-card:      #f8f3ec;
  --bg-dark:      #1f170e;
  --fg:           #1a1208;
  --fg-muted:     #6b5740;
  --fg-light:     #9a8878;
  --accent:       #5a2a1e;
  --accent-warm:  #a8542f;
  --border:       rgba(26,18,8,0.1);
  --border-md:    rgba(26,18,8,0.2);
  --serif:        'Cormorant Garamond', 'Georgia', serif;
  --sans:         'DM Sans', -apple-system, sans-serif;
  --nav-h:        70px;
  --max-w:        1420px;
  --gutter:       clamp(24px, 4vw, 80px);
  --section-pad:  clamp(64px, 8vw, 140px);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font-family: inherit; color: inherit; }
ul { list-style: none; }
p { text-wrap: pretty; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100%);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.page-top { padding-top: var(--nav-h); }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }

/* ── Image Placeholders ──────────────────────────────────── */
.ph {
  width: 100%; height: 100%;
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,0.04) 0, rgba(0,0,0,0.04) 1px,
    transparent 0, transparent 50%
  );
  background-size: 8px 8px;
  display: flex; align-items: center; justify-content: center;
}
.ph span {
  font-family: 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(244,236,224,0.78);
  padding: 7px 11px;
  text-align: center; line-height: 1.65; max-width: 130px;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.nav.nav--hero {
  background: transparent;
  border-bottom-color: transparent;
}
.nav.stuck {
  background: var(--bg) !important;
  border-bottom-color: var(--border) !important;
  box-shadow: 0 2px 28px rgba(0,0,0,0.07);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding-inline: var(--gutter);
  gap: 20px;
}
.nav__logo { display: flex; flex-direction: column; gap: 2px; width: fit-content; }
.nav__logo-main {
  font-family: var(--serif); font-size: 1.9rem;
  font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--fg);
}
.nav__logo-sub {
  font-size: 7px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--fg-muted); font-weight: 400;
}
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 500; color: var(--fg); transition: color 0.2s;
  position: relative; white-space: nowrap;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.25s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--accent); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__actions {
  display: flex; gap: 18px; align-items: center; justify-content: flex-end;
}
.nav__actions a, .nav__actions button {
  display: flex; align-items: center; color: var(--fg); transition: color 0.2s;
}
.nav__actions a:hover, .nav__actions button:hover { color: var(--accent); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 4px 0; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--fg); display: block; transition: all 0.25s; }
.nav__mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); z-index: 199;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 400; padding: 16px 0;
  border-bottom: 1px solid var(--border); color: var(--fg); transition: color 0.2s;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--accent); }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee-strip { overflow: hidden; background: var(--bg-dark); padding-block: 13px; }
.marquee-track {
  display: flex; white-space: nowrap; width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track span {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(244,236,224,0.65); padding-inline: 36px;
  display: flex; align-items: center;
}
.marquee-track span::after { content: '·'; margin-left: 36px; opacity: 0.3; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 500; transition: all 0.22s; white-space: nowrap; cursor: pointer;
}
.btn-solid {
  background: var(--fg); color: var(--bg);
  padding: 14px 30px; border: 1px solid var(--fg);
}
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline {
  border: 1px solid var(--fg); color: var(--fg); padding: 13px 30px;
}
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-ghost { color: var(--accent-warm); font-size: 10.5px; letter-spacing: 2px; padding: 0; }
.btn-ghost:hover { color: var(--fg); }
.btn-ghost .arr { display: inline-block; transition: transform 0.22s; margin-left: 5px; }
.btn-ghost:hover .arr { transform: translateX(4px); }

/* ── Eyebrow Labels ──────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 9px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--fg-muted); font-weight: 500;
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--fg-muted); flex-shrink: 0;
}

/* ── Product Card ────────────────────────────────────────── */
.pcard { display: flex; flex-direction: column; cursor: pointer; }
.pcard__img {
  aspect-ratio: 3 / 4; overflow: hidden;
  margin-bottom: 16px; background: var(--bg-card);
}
.pcard__img .ph { transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.pcard:hover .pcard__img .ph { transform: scale(1.05); }
.pcard__cat {
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--fg-muted); margin-bottom: 5px;
}
.pcard__name {
  font-family: var(--serif); font-size: 1.15rem;
  font-weight: 400; line-height: 1.3; margin-bottom: 6px;
  transition: color 0.2s; color: var(--fg);
}
.pcard:hover .pcard__name { color: var(--accent); }
.pcard__weaver {
  font-family: var(--serif); font-style: italic;
  font-size: 11.5px; color: var(--fg-muted); margin-bottom: 8px;
}
.pcard__price { font-size: 13px; color: var(--fg-muted); }
.pcard__price strong { color: var(--fg); font-weight: 500; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(244,236,224,0.78);
  padding-top: var(--section-pad);
  margin-top: var(--section-pad);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
}
.footer__wordmark {
  font-family: var(--serif); font-size: 2.75rem; font-weight: 300;
  color: rgba(244,236,224,0.95); line-height: 1;
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.footer__tagline {
  font-size: 12px; color: rgba(244,236,224,0.38);
  line-height: 1.8; max-width: 210px; margin-bottom: 32px;
}
.footer__col h4 {
  font-size: 8px; letter-spacing: 3.5px; text-transform: uppercase;
  color: rgba(244,236,224,0.3); margin-bottom: 18px;
}
.footer__col > nav { display: flex; flex-direction: column; gap: 11px; }
.footer__col > nav a {
  font-size: 13px; color: rgba(244,236,224,0.6); transition: color 0.2s;
}
.footer__col > nav a:hover { color: rgba(244,236,224,1); }
.footer__nl-label {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(244,236,224,0.3); margin-bottom: 10px;
}
.footer__nl-row { display: flex; }
.footer__nl-input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,236,224,0.14); border-right: none;
  padding: 11px 14px; font-family: var(--sans); font-size: 12px;
  color: rgba(244,236,224,0.9); outline: none; min-width: 0;
}
.footer__nl-input::placeholder { color: rgba(244,236,224,0.25); }
.footer__nl-btn {
  background: rgba(244,236,224,0.9); color: var(--bg-dark);
  padding: 11px 16px; font-size: 9px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 500;
  font-family: var(--sans); cursor: pointer; transition: background 0.2s;
  white-space: nowrap;
}
.footer__nl-btn:hover { background: var(--accent-warm); color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(244,236,224,0.09);
  padding-block: 22px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer__bottom p { font-size: 10.5px; color: rgba(244,236,224,0.26); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 10.5px; color: var(--fg-muted);
  letter-spacing: 0.8px; margin-bottom: 36px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; font-size: 9px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; --gutter: 20px; }
  .nav__actions a:not(.cart-link) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: unset; }
}
