/* ═══════════════════════════════════════════════════════════════════
   LYKKEH — BRAND DESIGN SYSTEM v5.0
   Based on: Aesop · Anomalia · Above · Apple · Bellroy principles
   Typography: Cormorant Garamond + DM Sans + DM Mono
   ═══════════════════════════════════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
  /* Identity core */
  --white:       #FFFFFF;
  --black:       #1D1D1F;
  --amber:       #C46020;

  /* Amber family */
  --amber-mist:  #F0C878;
  --amber-light: #E08830;
  --amber-rustic:#B04818;
  --terracotta:  #7A2E20;

  /* Blue family — white ground only */
  --cobalt:      #3A90C0;
  --cobalt-dark: #1E6A96;
  --cobalt-ice:  #D6E8F2;
  --horizon:     #7FBCD8;
  --powder:      #A8C4CC;

  /* Product palette */
  --spice:       #CC6428;
  --marigold:    #D4AC3A;
  --teal:        #3C8C8C;
  --sand:        #D4C8B0;

  /* Neutral system — Apple precision */
  --n900:        #1D1D1F;
  --n800:        #3A3A3C;
  --n600:        #636366;
  --n500:        #8E8E93;
  --n300:        #C7C7CC;
  --n200:        #E5E5EA;
  --n100:        #F5F5F7;
  --n000:        #FFFFFF;

  /* Typography */
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:        'DM Mono', 'Courier New', monospace;

  /* Spacing */
  --s4:  4px;
  --s8:  8px;
  --s12: 12px;
  --s16: 16px;
  --s20: 20px;
  --s24: 24px;
  --s32: 32px;
  --s40: 40px;
  --s48: 48px;
  --s56: 56px;
  --s64: 64px;
  --s80: 80px;
  --s96: 96px;
  --s120:120px;

  /* Layout */
  --max: 1200px;
  --nav-h: 60px;
}

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

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--s40); }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 var(--s40); }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 0.5px solid #EBEBEB;
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s40);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s40);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--black);
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.nav-logo .dot { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s32);
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n600);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--black); }

.nav-links a.active {
  color: var(--black);
  border-bottom: 0.5px solid var(--black);
  padding-bottom: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s20);
  flex-shrink: 0;
}

.nav-icon {
  color: var(--n600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  position: relative;
}

.nav-icon:hover { color: var(--black); }

.nav-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--amber);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: var(--n300);
  padding: var(--s80) 0 var(--s40);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--s64);
  padding-bottom: var(--s56);
  border-bottom: 0.5px solid #3A3A3C;
  margin-bottom: var(--s32);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--n100);
  margin-bottom: var(--s16);
  display: flex;
  align-items: baseline;
}

.footer-logo .dot { color: var(--amber); }

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--n500);
  margin-bottom: var(--s24);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: var(--s12);
}

.footer-social {
  width: 32px;
  height: 32px;
  border: 0.5px solid #3A3A3C;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n500);
  transition: all 0.2s;
}

.footer-social:hover {
  border-color: var(--n300);
  color: var(--n100);
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--n100);
  margin-bottom: var(--s20);
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--s12);
}

.footer-col-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--n500);
  transition: color 0.2s;
}

.footer-col-links a:hover { color: var(--n100); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-legal {
  font-size: 11px;
  font-weight: 300;
  color: #3A3A3C;
  letter-spacing: 0.04em;
}

.footer-certifications {
  display: flex;
  gap: var(--s8);
}

.footer-cert {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 0.5px solid #3C8C8C;
  padding: 3px 9px;
  opacity: 0.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  padding: 0 var(--s32);
  height: 44px;
}

.btn-amber:hover { background: var(--amber-rustic); }

.btn-black {
  background: var(--black);
  color: var(--white);
  padding: 0 var(--s32);
  height: 44px;
}

.btn-black:hover { background: var(--n800); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 0.5px solid var(--black);
  padding: 0 var(--s32);
  height: 44px;
}

.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--n500);
  border: 0.5px solid var(--n200);
  padding: 0 var(--s20);
  height: 38px;
  font-size: 10px;
}

.btn-ghost:hover { border-color: var(--black); color: var(--black); }

.btn-sm { height: 36px; padding: 0 var(--s20); font-size: 10px; }
.btn-full { width: 100%; }
.btn-lg { height: 52px; font-size: 12px; padding: 0 var(--s40); }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 0;
}

.badge-amber { background: #FDF0E6; color: var(--amber); border: 0.5px solid #F0C878; }
.badge-cobalt { background: var(--cobalt-ice); color: var(--cobalt-dark); border: 0.5px solid #B0D4E8; }
.badge-teal { background: #E8F5F5; color: var(--teal); border: 0.5px solid #A0D0D0; }
.badge-dark { background: var(--black); color: var(--white); }
.badge-neutral { background: var(--n100); color: var(--n600); border: 0.5px solid var(--n200); }

/* ── FORM ELEMENTS ── */
.field { margin-bottom: var(--s20); }

.field-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: var(--s8);
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: var(--white);
  border: 0.5px solid var(--n200);
  padding: 0 var(--s16);
  height: 44px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
  appearance: none;
}

.field-textarea {
  height: auto;
  padding: var(--s12) var(--s16);
  resize: vertical;
  min-height: 100px;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus { border-color: var(--black); }

.field-input::placeholder,
.field-textarea::placeholder { color: var(--n300); }

.field-hint {
  font-size: 11px;
  font-weight: 300;
  color: var(--n500);
  margin-top: 5px;
}

/* ── EYEBROW ── */
.eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--n500);
}

.eyebrow-amber { color: var(--amber); }
.eyebrow-cobalt { color: var(--cobalt); }

/* ── SECTION UTILITY ── */
.section { padding: var(--s96) 0; }
.section-sm { padding: var(--s56) 0; }
.section-lg { padding: var(--s120) 0; }

.section-white { background: var(--white); }
.section-offwhite { background: var(--n100); }
.section-black { background: var(--black); color: var(--n100); }

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-card:hover { transform: translateY(-4px); }

.product-card-media {
  aspect-ratio: 1;
  background: var(--n100);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--s16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-media:hover .product-card-actions { opacity: 1; }

.product-card-actions {
  position: absolute;
  bottom: var(--s12);
  left: var(--s12);
  right: var(--s12);
  opacity: 0;
  transition: opacity 0.25s;
}

.product-card-badge {
  position: absolute;
  top: var(--s12);
  left: var(--s12);
}

.product-shape {
  border-radius: 50%;
  flex-shrink: 0;
}

/* Product shapes — one color per SKU */
.ps-cobalt   { background: radial-gradient(circle at 35% 35%, #7FBCD8, #3A90C0); }
.ps-amber    { background: radial-gradient(circle at 35% 35%, #E08830, #C46020); }
.ps-marigold { background: radial-gradient(circle at 35% 35%, #E8D048, #D4AC3A); }
.ps-teal     { background: radial-gradient(circle at 35% 35%, #60AAAA, #3C8C8C); }
.ps-sand     { background: radial-gradient(circle at 35% 35%, #E8E0CC, #D4C8B0); }
.ps-spice    { background: radial-gradient(circle at 35% 35%, #E07840, #CC6428); }
.ps-terracotta { background: radial-gradient(circle at 35% 35%, #A04840, #7A2E20); }

.product-card-age {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 5px;
}

.product-card-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.2;
}

.product-card-price {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: var(--s8);
}

.product-card-price .mrp {
  color: var(--n300);
  text-decoration: line-through;
  font-weight: 300;
  font-size: 12px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s8);
  font-size: 12px;
  font-weight: 300;
  color: var(--n500);
  margin-bottom: var(--s32);
}

.breadcrumb a { color: var(--n500); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb .sep { color: var(--n300); }
.breadcrumb .current { color: var(--black); }

/* ── PAGE HEADER ── */
.page-header {
  padding: var(--s64) 0 var(--s48);
  border-bottom: 0.5px solid #EBEBEB;
  margin-bottom: var(--s48);
}

.page-header-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: var(--s12);
}

.page-header-title em { font-style: italic; }

.page-header-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--n500);
  max-width: 520px;
  line-height: 1.65;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement {
  background: var(--black);
  padding: var(--s8) var(--s16);
  text-align: center;
}

.announcement span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n300);
}

.announcement span strong {
  color: var(--amber);
  font-weight: 500;
}

/* ── DIVIDER ── */
.divider {
  height: 0.5px;
  background: #EBEBEB;
  border: none;
  margin: 0;
}

/* ── TAG LINE ── */
.tagline-amber {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── SECTION TITLES ── */
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: var(--s16);
}

.section-title em { font-style: italic; }

.section-title-on-dark {
  color: var(--n100);
}

.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--n500);
  line-height: 1.65;
}

/* ── LINK UNDERLINE ── */
.link-underline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  border-bottom: 0.5px solid var(--black);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.link-underline:hover { color: var(--amber); border-color: var(--amber); }

/* ── ACCORDION ── */
.accordion-item {
  border-bottom: 0.5px solid #EBEBEB;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s16) 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  user-select: none;
}

.accordion-icon {
  color: var(--n500);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--n600);
  padding-bottom: var(--s16);
}

.accordion-item.open .accordion-body {
  display: block;
}

/* ── QUANTITY CONTROL ── */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid var(--n200);
  height: 44px;
}

.qty-btn {
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--n600);
  transition: background 0.15s, color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
}

.qty-btn:hover { background: var(--n100); color: var(--black); }

.qty-val {
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  border-left: 0.5px solid var(--n200);
  border-right: 0.5px solid var(--n200);
  font-family: var(--mono);
}

/* ── TOAST / NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: var(--s32);
  right: var(--s32);
  background: var(--black);
  color: var(--n100);
  font-size: 13px;
  font-weight: 300;
  padding: var(--s12) var(--s20);
  display: flex;
  align-items: center;
  gap: var(--s8);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast .toast-dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; flex-shrink: 0; }

/* ── SCROLL INDICATOR ── */
.progress-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  background: var(--amber);
  z-index: 199;
  transition: width 0.1s;
}

/* ── UTILITY ── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.text-cobalt { color: var(--cobalt); }
.text-muted { color: var(--n500); }
.font-serif { font-family: var(--serif); }
.weight-300 { font-weight: 300; }
.italic { font-style: italic; }
.mt-8  { margin-top: var(--s8); }
.mt-16 { margin-top: var(--s16); }
.mt-24 { margin-top: var(--s24); }
.mt-32 { margin-top: var(--s32); }
.mt-40 { margin-top: var(--s40); }
.mt-48 { margin-top: var(--s48); }
.gap-8  { gap: var(--s8); }
.gap-12 { gap: var(--s12); }
.gap-16 { gap: var(--s16); }
.gap-24 { gap: var(--s24); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s32); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s24); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s20); }

/* ── JS ACCORDION ── */

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  /* Containers */
  .container { padding: 0 var(--s20); }
  .container-sm { padding: 0 var(--s20); }

  /* Navigation */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--s20) var(--s24);
    border-bottom: 0.5px solid #EBEBEB;
    z-index: 200;
    gap: var(--s20);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { font-size: 14px; }
  .nav-inner { gap: var(--s12); }
  .nav-actions { gap: var(--s16); }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s32);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--s12);
    align-items: flex-start;
  }
  .footer-desc { max-width: 100%; }

  /* Grid utilities */
  .grid-2 { grid-template-columns: 1fr; gap: var(--s24); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--s20); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--s16); }

  /* Sections */
  .section { padding: var(--s64) 0; }
  .section-sm { padding: var(--s40) 0; }
  .section-lg { padding: var(--s80) 0; }

  /* Page header */
  .page-header { padding: var(--s40) 0 var(--s32); margin-bottom: var(--s32); }

  /* Toast */
  .toast { right: var(--s16); left: var(--s16); bottom: var(--s16); }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s24); }
}
