/* ===========================
   PRISWA JEWELLS – DESIGN SYSTEM
   =========================== */

:root {
  /* Palette */
  --cream:        #F8F2E9;
  --warm-white:   #FDFAF5;
  --parchment:    #EFE6D9;
  --border:       #DDD1C0;
  --border-soft:  #EDE5D8;

  /* Browns */
  --brown-dark:   #3A2010;
  --brown-mid:    #6B3F28;
  --brown-light:  #A0724E;
  --brown-muted:  #8C7060;

  /* Gold Accent */
  --gold:         #C4923A;
  --gold-light:   #F0D9A8;

  /* Functional */
  --ink:          #2A1A0E;
  --charcoal:     #1D1612;
  --white:        #FFFFFF;

  /* Shadows */
  --shadow-card:  0 2px 20px rgba(58, 32, 16, 0.08);
  --shadow-lift:  0 8px 40px rgba(58, 32, 16, 0.14);
  --shadow-nav:   0 12px 32px rgba(58, 32, 16, 0.10);

  /* Radius */
  --radius:       10px;
  --radius-sm:    6px;

  /* Layout */
  --content:      1220px;
  --header-h:     80px;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* ===========================
   RESET & BASE
   =========================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-dark);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.drawer-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }
button:disabled { cursor: not-allowed; opacity: 0.5; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }

/* ===========================
   LAYOUT UTILITIES
   =========================== */

.inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.page { min-height: 70vh; }

.section {
  padding: clamp(56px, 7vw, 100px) 0;
}

.section.alt {
  background: var(--warm-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section.parchment {
  background: var(--parchment);
}

/* ===========================
   TYPOGRAPHY
   =========================== */

.display-serif {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  color: var(--brown-dark);
}

/* ===========================
   ANNOUNCEMENT BAR
   =========================== */

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  padding: 8px 20px;
  background: var(--brown-dark);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
}

.ann-icon {
  color: var(--gold);
  font-size: 0.6rem;
}

/* ===========================
   SITE HEADER
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(248, 242, 233, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-lockup img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* ===========================
   PRIMARY NAVIGATION
   =========================== */

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 38px);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brown-mid);
}

.primary-nav > a {
  position: relative;
  padding: 6px 0;
  color: var(--brown-mid);
  transition: color 160ms ease;
}

.primary-nav > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav > a:hover,
.primary-nav > a.is-active { color: var(--brown-dark); }

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  color: var(--brown-mid);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms ease;
  background: none;
  border: none;
}

.nav-dropdown-trigger:hover { color: var(--brown-dark); }

.nav-chevron {
  font-size: 1rem;
  line-height: 1;
  transition: transform 200ms ease;
  display: inline-block;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-nav);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.84rem;
  color: var(--brown-mid);
  transition: background 140ms ease, color 140ms ease;
}

.nav-dropdown-menu a:hover {
  background: var(--parchment);
  color: var(--brown-dark);
}

.nav-dropdown-menu .dropdown-sale {
  color: #C0392B;
  font-weight: 500;
}

.nav-dropdown-menu .dropdown-sale:hover {
  background: #FDF2F2;
  color: #9B2226;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 6px 0;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--brown-dark);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

/* ===========================
   HEADER ACTIONS
   =========================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--brown-mid);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.icon-btn:hover {
  background: var(--parchment);
  border-color: var(--brown-light);
  color: var(--brown-dark);
}

.cart-btn .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  min-width: 140px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brown-dark);
  color: var(--warm-white);
  border-color: var(--brown-dark);
}

.btn-primary:hover {
  background: var(--brown-mid);
  border-color: var(--brown-mid);
}

.btn-outline {
  background: transparent;
  color: var(--brown-dark);
  border-color: var(--brown-dark);
}

.btn-outline:hover {
  background: var(--brown-dark);
  color: var(--warm-white);
}

.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: var(--warm-white);
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.8);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--brown-mid);
  border-color: var(--brown-mid);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  height: min(76vh, 720px);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(105deg, rgba(22, 12, 4, 0.72) 0%, rgba(22, 12, 4, 0.28) 55%, rgba(22, 12, 4, 0.06) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  color: var(--warm-white);
  isolation: isolate;
}

.hero-copy {
  width: min(700px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 100px);
  margin-bottom: clamp(48px, 8vw, 96px);
}

.hero-copy .eyebrow { color: var(--gold-light); }

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 8rem);
  font-weight: 400;
  color: var(--warm-white);
  line-height: 0.95;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero-copy p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(253, 250, 245, 0.86);
  max-width: 500px;
}

/* ===========================
   TRUST STRIP
   =========================== */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-soft);
}

.trust-item {
  padding: 26px 30px;
  border-right: 1px solid var(--border-soft);
  text-align: center;
}

.trust-item:last-child { border-right: 0; }

.trust-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--brown-muted);
  line-height: 1.4;
}

/* ===========================
   PRODUCT GRID
   =========================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ===========================
   PRODUCT CARD (Clean Design)
   =========================== */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 240ms ease, transform 240ms ease, border-color 240ms ease;
  text-align: center;
}

.product-card:hover {
  box-shadow: var(--shadow-lift);
  border-color: var(--border);
  transform: translateY(-3px);
}

.product-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}

/* Collection Badge on card */
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: var(--brown-dark);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 3px;
  text-transform: uppercase;
}

/* Quick Add Button */
.quick-add-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brown-dark);
  color: var(--warm-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 200ms ease, transform 200ms ease, background 160ms ease;
  box-shadow: 0 2px 10px rgba(58, 32, 16, 0.25);
}

.product-card:hover .quick-add-btn {
  opacity: 1;
  transform: scale(1);
}

.quick-add-btn:hover {
  background: var(--gold);
}

/* Product Media */
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  background: var(--parchment);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

/* Product Info */
.product-info-block {
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--brown-dark);
  line-height: 1.2;
  text-align: center;
}

.product-card-desc {
  font-size: 0.78rem;
  color: var(--brown-muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 2px;
}

.product-card-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.price-current {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.price-original {
  font-size: 0.82rem;
  color: var(--brown-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2E7D32;
  background: #E8F5E9;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ===========================
   EMPTY STATE
   =========================== */

.empty-state {
  grid-column: 1 / -1;
  padding: 80px 20px;
  text-align: center;
}

.empty-state h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.empty-state p { color: var(--brown-muted); }

/* ===========================
   COLLECTION GRID
   =========================== */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.collection-card:hover img { transform: scale(1.05); }

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22,12,4,0.72) 0%, rgba(22,12,4,0.08) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--warm-white);
}

.collection-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.collection-card-overlay p {
  font-size: 0.78rem;
  color: rgba(253,250,245,0.76);
  margin: 0;
}

/* ===========================
   HERO COLLECTION CARDS (2 across big)
   =========================== */

.collection-showcase {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  height: 440px;
}

.collection-showcase .collection-card:first-child {
  grid-row: 1;
  aspect-ratio: auto;
  height: 100%;
}

.collection-showcase .collection-card:not(:first-child) {
  aspect-ratio: auto;
  height: calc(50% - 9px);
}

.collection-showcase-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===========================
   PAGE TITLE SECTION
   =========================== */

.page-title {
  padding: clamp(44px, 6vw, 76px) 0 clamp(32px, 4vw, 52px);
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}

.page-title h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.page-title p {
  color: var(--brown-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===========================
   PRODUCT DETAIL PAGE
   =========================== */

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

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--parchment);
  aspect-ratio: 3/4;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs button {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 160ms ease;
  cursor: pointer;
  background: none;
  padding: 0;
}

.gallery-thumbs button:hover,
.gallery-thumbs button.is-active {
  border-color: var(--gold);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-info { padding-top: 16px; }

.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 14px;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.product-detail-price .price-current {
  font-size: 1.3rem;
  font-weight: 600;
}

.product-detail-desc {
  color: var(--brown-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.meta-chip {
  padding: 5px 14px;
  background: var(--parchment);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--brown-mid);
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.detail-list li {
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 0.88rem;
  color: var(--brown-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.55rem;
  flex-shrink: 0;
}

/* ===========================
   EDITORIAL / ABOUT BAND
   =========================== */

.editorial-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.editorial-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.editorial-copy p {
  color: var(--brown-muted);
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.feature-list div {
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brown-dark);
}

.feature-list span {
  font-size: 0.85rem;
  color: var(--brown-muted);
  line-height: 1.5;
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 32px;
  align-items: start;
}

.form-panel {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
}

.form-panel h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-mid);
}

.input, .textarea, .select {
  width: 100%;
  padding: 11px 14px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--brown-dark);
  font-size: 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  outline: none;
}

.input:focus, .textarea:focus, .select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 146, 58, 0.12);
}

.textarea { resize: vertical; min-height: 110px; }

.contact-info-panel {
  background: var(--brown-dark);
  color: var(--warm-white);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--gold-light);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(253,250,245,0.14);
}

.contact-detail:last-child { border-bottom: 0; }

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,146,58,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.contact-detail-text span {
  font-size: 0.94rem;
  color: rgba(253,250,245,0.82);
}

/* ===========================
   TRACK ORDER PAGE
   =========================== */

.track-order-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.track-card {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 50px);
}

.track-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.track-card > p {
  color: var(--brown-muted);
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.track-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 28px;
}

.track-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brown-muted);
  background: var(--cream);
  cursor: pointer;
  border: none;
  transition: background 160ms ease, color 160ms ease;
}

.track-tab.is-active {
  background: var(--brown-dark);
  color: var(--warm-white);
}

.track-form-group { display: flex; flex-direction: column; gap: 20px; }

.track-result {
  margin-top: 24px;
  padding: 20px;
  background: var(--parchment);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  display: none;
}

.track-result.visible { display: block; }

.track-result-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2E7D32;
  flex-shrink: 0;
}

.track-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-step {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.84rem;
  position: relative;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 32px;
  width: 2px;
  height: calc(100% - 12px);
  background: var(--border);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot.inactive {
  background: var(--border);
}

.timeline-content strong { display: block; color: var(--brown-dark); }
.timeline-content span { color: var(--brown-muted); font-size: 0.78rem; }

/* ===========================
   AUTH PAGES (Login / Register)
   =========================== */

.auth-wrapper {
  min-height: calc(100vh - var(--header-h) - 38px - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.auth-logo {
  width: 90px;
  margin: 0 auto 20px;
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.auth-card > p {
  color: var(--brown-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--brown-muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.auth-switch {
  margin-top: 20px;
  font-size: 0.84rem;
  color: var(--brown-muted);
}

.auth-switch a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ===========================
   PROFILE PAGE
   =========================== */

.profile-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.profile-sidebar {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-avatar-block {
  background: var(--brown-dark);
  padding: 28px 20px;
  text-align: center;
  color: var(--warm-white);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 12px;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 3px;
}

.profile-email {
  font-size: 0.78rem;
  color: rgba(253,250,245,0.7);
}

.profile-nav a {
  display: block;
  padding: 13px 20px;
  font-size: 0.86rem;
  color: var(--brown-mid);
  border-bottom: 1px solid var(--border-soft);
  transition: background 140ms ease, color 140ms ease;
}

.profile-nav a:hover,
.profile-nav a.is-active {
  background: var(--parchment);
  color: var(--brown-dark);
}

.profile-nav a:last-child { border-bottom: 0; }

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-section {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}

.profile-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.86rem;
}

.order-row:last-child { border-bottom: 0; }

.order-row .order-id { font-weight: 600; color: var(--brown-dark); }
.order-row .order-date { color: var(--brown-muted); }
.order-row .order-amount { font-weight: 500; }

.order-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #E8F5E9;
  color: #2E7D32;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: var(--brown-dark);
  color: var(--warm-white);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1) sepia(1) saturate(0.5) hue-rotate(10deg) brightness(1.4);
  opacity: 0.9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(253,250,245,0.62);
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.84rem;
  color: rgba(253,250,245,0.62);
  margin-bottom: 10px;
  transition: color 160ms ease;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-col a:last-child { margin-bottom: 0; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(253,250,245,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(253,250,245,0.44);
  margin: 0;
}

.footer-bottom a {
  color: rgba(253,250,245,0.44);
  transition: color 160ms ease;
}

.footer-bottom a:hover { color: var(--gold-light); }

/* ===========================
   CART DRAWER
   =========================== */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  width: min(440px, 100%);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--warm-white);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 40px rgba(58, 32, 16, 0.12);
  transform: translateX(105%);
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--border-soft);
}

.drawer-head h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin: 0;
}

.drawer-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brown-mid);
  cursor: pointer;
  transition: background 160ms ease;
}

.drawer-close:hover { background: var(--parchment); }

.drawer-body {
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

.cart-line img {
  width: 80px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--parchment);
}

.cart-line h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.cart-line .cart-price {
  font-size: 0.88rem;
  color: var(--brown-mid);
  margin-bottom: 8px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--brown-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 140ms ease;
}

.qty-btn:hover { background: var(--parchment); }

.qty-count {
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  font-size: 0.76rem;
  color: var(--brown-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 8px;
  background: none;
  border: none;
}

.drawer-foot {
  padding: 20px 24px;
  background: var(--cream);
  border-top: 1px solid var(--border-soft);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--brown-mid);
}

.cart-total-row.grand {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  border-top: 1.5px solid var(--border);
  margin-top: 6px;
  padding-top: 14px;
}

/* ===========================
   DRAWER SCRIM
   =========================== */

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(22, 12, 4, 0.4);
  backdrop-filter: blur(2px);
}

/* ===========================
   TOAST
   =========================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translate(-50%, 110px);
  opacity: 0;
  max-width: min(400px, calc(100% - 40px));
  padding: 12px 20px;
  background: var(--brown-dark);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 6px 28px rgba(22,12,4,0.24);
  text-align: center;
  transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), opacity 180ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ===========================
   CART / CHECKOUT SUMMARY
   =========================== */

.order-summary-panel {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
}

.order-summary-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

/* ===========================
   CHECKOUT PAGE
   =========================== */

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

/* ===========================
   SPLIT PANEL
   =========================== */

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-panel {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
}

.info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.info-panel p {
  color: var(--brown-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===========================
   JOURNAL / STORY CARDS
   =========================== */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.story-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}

.story-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.story-card:hover .story-card-img img { transform: scale(1.04); }

.story-card-body {
  padding: 20px;
  flex: 1;
}

.story-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 10px;
}

.story-card-body p {
  color: var(--brown-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ===========================
   SHIPPING STRIP
   =========================== */

.shipping-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--parchment);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  font-size: 0.84rem;
  color: var(--brown-mid);
}

.shipping-strip strong { color: var(--brown-dark); }
.shipping-strip .ship-icon { font-size: 1.1rem; }

/* ===========================
   TERMS PAGE
   =========================== */

.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 12px;
  margin-top: 36px;
}

.terms-content h2:first-child { margin-top: 0; }

.terms-content p, .terms-content li {
  color: var(--brown-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===========================
   NOT FOUND
   =========================== */

.not-found {
  text-align: center;
  padding: 100px 20px;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}

.not-found h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.not-found p { color: var(--brown-muted); }

/* ===========================
   SHOP COLLECTION PAGE
   =========================== */

.collection-header-strip {
  background: var(--brown-dark);
  color: var(--warm-white);
  padding: 48px 0;
  text-align: center;
}

.collection-header-strip h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 10px;
}

.collection-header-strip p {
  color: rgba(253,250,245,0.7);
  font-size: 0.96rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-band { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .split-grid { grid-template-columns: 1fr; }
  .nav-dropdown-menu { left: auto; right: 0; transform: translateY(-8px); }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu { transform: translateY(0); }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    top: calc(38px + var(--header-h));
    left: 0;
    right: 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-nav);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav > a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.9rem;
  }

  .primary-nav > a::after { display: none; }

  .nav-dropdown { width: 100%; }

  .nav-dropdown-trigger {
    width: 100%;
    padding: 14px 20px;
    justify-content: space-between;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--parchment);
    padding: 4px 0 8px 20px;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-dropdown:hover .nav-dropdown-menu { transform: none; }

  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .trust-item:last-child { border-bottom: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .journal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product-grid,
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .hero-copy h1 { font-size: clamp(2.8rem, 12vw, 5rem); }

  .footer-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }

  .checkout-grid { grid-template-columns: 1fr; }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn { width: 100%; }

  .auth-card { padding: 24px 20px; }
}

@media (max-width: 380px) {
  :root { --header-h: 64px; }
  .brand-lockup img { height: 48px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
