/* =========================================================
   MAJIQ FASHION — Ladieswear E-commerce
   Color Palette inspired by brand logo
   ========================================================= */

:root {
  /* Brand colors */
  --green-deep: #0f2a1f;
  --green-rich: #1a3d2e;
  --green-mid:  #234d3c;
  --green-soft: #2e6149;

  --purple-deep:  #3b2a5e;
  --purple-mid:   #6b4d8f;
  --purple-bright:#8b5fbf;
  --purple-soft:  #b794d4;

  --rose-gold:      #d4a574;
  --rose-gold-soft: #e8c8a3;
  --rose-gold-deep: #b8895a;

  --cream:  #f8f3ec;
  --ivory:  #fbf8f3;
  --ink:    #1a1a1a;
  --muted:  #6b6b6b;
  --line:   rgba(212, 165, 116, 0.25);

  /* Type */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Inter', 'Helvetica Neue', system-ui, sans-serif;

  /* Layout */
  --max:    1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: opacity .25s var(--ease); }
a:hover { opacity: .7; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-gold-deep);
  font-weight: 500;
}

.gold-text {
  background: linear-gradient(135deg, var(--rose-gold-deep) 0%, var(--rose-gold) 50%, var(--rose-gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.purple-text {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-bright) 60%, var(--purple-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* ---------- Announcement Bar ---------- */

.announcement {
  background: var(--green-deep);
  color: var(--rose-gold-soft);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px var(--gutter);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.announcement span { opacity: .9; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green-deep);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--rose-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand .mark {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-bright) 60%, var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .tagline {
  font-size: 9px;
  letter-spacing: 0.45em;
  color: var(--rose-gold-deep);
  text-transform: uppercase;
  margin-top: 4px;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.brand .tagline::before,
.brand .tagline::after {
  content: '';
  width: 14px; height: 1px;
  background: var(--rose-gold);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  align-items: center;
}
.nav-actions button { padding: 6px; position: relative; }
.nav-actions svg { width: 20px; height: 20px; stroke: var(--green-deep); }
.cart-count {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--purple-bright);
  color: white;
  font-size: 10px;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
}
.cart-count:empty,
.cart-count[data-count="0"] { display: none; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 720px);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139, 95, 191, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 165, 116, 0.12), transparent 50%),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green-rich) 50%, var(--green-mid) 100%);
  color: var(--ivory);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(212,165,116,.5), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(212,165,116,.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(183,148,212,.5), transparent),
    radial-gradient(1px 1px at 85% 25%, rgba(212,165,116,.5), transparent),
    radial-gradient(2px 2px at 55% 15%, rgba(183,148,212,.4), transparent);
  opacity: .6;
  z-index: 0;
  animation: shimmer 8s ease-in-out infinite alternate;
}

@keyframes shimmer {
  from { opacity: .35; }
  to   { opacity: .8; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-block: 4rem;
}

.hero-text .eyebrow { color: var(--rose-gold); }

.hero-text h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin: 1.2rem 0 1.5rem;
  font-weight: 400;
}
.hero-text h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--rose-gold-soft), var(--rose-gold) 60%, var(--rose-gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 2.2rem;
  color: rgba(251, 248, 243, 0.78);
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--purple-deep), var(--purple-mid));
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(212,165,116,.25);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero-visual:hover img { transform: scale(1.04); }

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(212, 165, 116, 0.4);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: 2rem; left: -1.5rem;
  background: var(--ivory);
  color: var(--green-deep);
  padding: 1rem 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  border-left: 3px solid var(--rose-gold);
}
.hero-badge strong {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-gold-deep);
  font-weight: 600;
  margin-bottom: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all .3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-gold-deep), var(--rose-gold));
  color: var(--green-deep);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-soft));
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(212, 165, 116, 0.6);
}

.btn-ghost {
  border-color: rgba(251, 248, 243, 0.4);
  color: var(--ivory);
}
.btn-ghost:hover {
  background: rgba(251, 248, 243, 0.08);
  border-color: var(--rose-gold);
  color: var(--rose-gold-soft);
  opacity: 1;
}

.btn-dark {
  background: var(--green-deep);
  color: var(--ivory);
}
.btn-dark:hover {
  background: var(--purple-deep);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--green-deep);
  color: var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-deep);
  color: var(--ivory);
  opacity: 1;
}

.btn-block { width: 100%; justify-content: center; }

/* ---------- Section headers ---------- */

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: .8rem 0 .6rem;
}
.section-head p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--rose-gold);
  margin: 1rem auto;
  position: relative;
}
.divider::before, .divider::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rose-gold);
}
.divider::before { left: -10px; }
.divider::after  { right: -10px; }

/* ---------- Categories ---------- */

.categories {
  background: var(--cream);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--green-rich);
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .6s var(--ease);
  filter: brightness(.85);
}
.category-card:hover img { transform: scale(1.07); filter: brightness(1); }

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 42, 31, 0.85) 0%, transparent 50%);
  z-index: 1;
}

.category-card .label {
  position: absolute;
  left: 1.4rem; right: 1.4rem; bottom: 1.4rem;
  z-index: 2;
  color: var(--ivory);
}
.category-card .label h3 {
  font-size: 1.5rem;
  margin-bottom: .25rem;
}
.category-card .label span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.category-card .label span::after {
  content: '→';
  transition: transform .3s var(--ease);
}
.category-card:hover .label span::after { transform: translateX(4px); }

/* ---------- Product Grid ---------- */

.products {
  background: var(--ivory);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.product-card .media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.product-card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .4s var(--ease);
}
.product-card .media img.alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .media img.main { opacity: 0; }
.product-card:hover .media img.alt  { opacity: 1; transform: scale(1.04); }

.tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--green-deep);
  color: var(--rose-gold-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 2;
}
.tag.sale { background: var(--purple-bright); color: white; }
.tag.new  { background: var(--rose-gold); color: var(--green-deep); }

.quick-add {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 2;
  background: var(--ivory);
  color: var(--green-deep);
  padding: .8rem 1rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--green-deep); color: var(--ivory); opacity: 1; }

.product-info h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: var(--ink);
}
.product-info .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.product-info .price { font-weight: 600; color: var(--green-deep); }
.product-info .price-old { color: var(--muted); text-decoration: line-through; margin-right: .5rem; font-weight: 400; }
.product-info .swatches { display: flex; gap: 6px; }
.product-info .swatch {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
}

/* ---------- Featured banner ---------- */

.featured-banner {
  background:
    linear-gradient(120deg, rgba(15, 42, 31, 0.92) 0%, rgba(59, 42, 94, 0.85) 100%),
    var(--green-deep);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.featured-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 35%, rgba(212,165,116,.5), transparent),
    radial-gradient(1px 1px at 65% 70%, rgba(183,148,212,.6), transparent),
    radial-gradient(2px 2px at 85% 20%, rgba(212,165,116,.5), transparent);
  opacity: .7;
}

.featured-banner .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-banner h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin: 1rem 0 1.5rem;
}
.featured-banner h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--rose-gold-soft), var(--rose-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.featured-banner p {
  color: rgba(251,248,243,.78);
  margin-bottom: 2rem;
  max-width: 460px;
}

.banner-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
}
.banner-img::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212,165,116,.4);
  pointer-events: none;
}

/* ---------- Story / About strip ---------- */

.story {
  background: var(--cream);
  text-align: center;
}
.story-content {
  max-width: 720px;
  margin: 0 auto;
}
.story-content blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.45;
  color: var(--green-deep);
  margin: 1.5rem 0 2rem;
}
.story-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rose-gold-deep);
}

/* ---------- Features strip ---------- */

.features {
  background: var(--ivory);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.feature svg {
  width: 32px; height: 32px;
  stroke: var(--rose-gold-deep);
  margin: 0 auto .8rem;
}
.feature h4 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: .3rem;
}
.feature p { font-size: 13px; color: var(--muted); }

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--green-deep);
  color: var(--ivory);
  text-align: center;
}
.newsletter h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ivory);
  margin: .8rem 0 .6rem;
}
.newsletter p {
  color: rgba(251,248,243,.7);
  max-width: 500px;
  margin: 0 auto 2rem;
}
.newsletter form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: .5rem;
  border-bottom: 1px solid rgba(212,165,116,.4);
  padding-bottom: .5rem;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  padding: .8rem 0;
  outline: none;
}
.newsletter input::placeholder { color: rgba(251,248,243,.5); letter-spacing: 0.1em; }
.newsletter button {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose-gold);
  padding: .8rem 1rem;
}
.newsletter button:hover { color: var(--rose-gold-soft); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: rgba(251,248,243,.7);
  padding: 4rem 0 1.5rem;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .mark {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--purple-soft), var(--rose-gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: .8rem;
}
.footer-brand p { max-width: 320px; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose-gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a:hover { color: var(--rose-gold-soft); opacity: 1; }

.socials { display: flex; gap: .8rem; margin-top: 1.2rem; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(212,165,116,.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all .3s var(--ease);
}
.socials a:hover {
  border-color: var(--rose-gold);
  background: var(--rose-gold);
  color: var(--green-deep);
  opacity: 1;
}
.socials svg { width: 14px; height: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(212,165,116,.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(251,248,243,.5);
}

/* ---------- Page header (inner pages) ---------- */

.page-head {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139, 95, 191, 0.15), transparent 55%),
    linear-gradient(135deg, var(--green-deep), var(--green-rich));
  color: var(--ivory);
  text-align: center;
  padding: 5rem 0 4rem;
}
.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: .8rem 0 .6rem;
}
.crumbs {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251,248,243,.6);
}
.crumbs a:hover { color: var(--rose-gold-soft); opacity: 1; }
.crumbs span { margin: 0 .6rem; color: var(--rose-gold); }

/* ---------- Shop page ---------- */

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
}

.filters {
  position: sticky;
  top: 100px;
  align-self: start;
}
.filter-group {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: .9rem;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.filter-options label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.filter-options input[type=checkbox] { accent-color: var(--green-deep); }
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.color-swatches button {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.color-swatches button:hover,
.color-swatches button.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--rose-gold);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.shop-toolbar select {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  padding: .5rem .8rem;
  border-radius: 2px;
  color: var(--green-deep);
}

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

/* ---------- Product Detail ---------- */

.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
}
.thumbs {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.thumbs button {
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid transparent;
  padding: 0;
}
.thumbs button.active { border-color: var(--rose-gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.main-img {
  aspect-ratio: 3/4;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}
.main-img img { width: 100%; height: 100%; object-fit: cover; }

.product-detail .info h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin: .6rem 0;
}
.product-detail .price-row {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  margin: 1rem 0 1.5rem;
}
.product-detail .price-row .price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-deep);
}
.product-detail .price-row .price-old {
  text-decoration: line-through;
  color: var(--muted);
}
.product-detail .stars { color: var(--rose-gold); letter-spacing: 2px; }
.product-detail .description {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.option-group { margin-bottom: 1.5rem; }
.option-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: .6rem;
}
.option-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.option-pills button {
  min-width: 44px;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  font-size: 13px;
  border-radius: 2px;
  background: white;
  transition: all .2s var(--ease);
}
.option-pills button:hover { border-color: var(--green-deep); }
.option-pills button.active {
  background: var(--green-deep);
  color: var(--ivory);
  border-color: var(--green-deep);
}

.qty-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.qty button {
  width: 44px; height: 100%;
  font-size: 1.2rem;
  color: var(--green-deep);
}
.qty input {
  width: 50px;
  border: 0;
  text-align: center;
  background: transparent;
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
}

.product-meta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.product-meta div { margin-bottom: .5rem; }
.product-meta strong {
  color: var(--green-deep);
  font-weight: 600;
  margin-right: .5rem;
}

/* ---------- Cart ---------- */

.cart-page {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.cart-items { border-top: 1px solid var(--line); }

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.cart-empty h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.cart-empty p { color: var(--muted); margin-bottom: 1.5rem; }

.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-row .thumb {
  aspect-ratio: 3/4;
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
}
.cart-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .details h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.cart-row .details .opts {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.cart-row .price { font-weight: 600; color: var(--green-deep); }
.cart-row .qty { height: 36px; }
.cart-row .qty button { width: 32px; }
.cart-row .qty input { width: 36px; font-size: 13px; }
.cart-row .remove {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 50%;
}
.cart-row .remove:hover { color: var(--purple-bright); background: rgba(139,95,191,.08); }

.cart-summary {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius);
  height: fit-content;
  position: sticky;
  top: 100px;
}
.cart-summary h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 1.5rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  font-size: 14px;
}
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: .6rem;
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
}
.cart-summary .btn { margin-top: 1.5rem; }
.cart-summary .secure {
  margin-top: 1rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ---------- About page ---------- */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro img {
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-intro h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: .8rem 0 1.5rem;
}
.about-intro p { margin-bottom: 1rem; color: var(--muted); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border-top: 2px solid var(--rose-gold);
}
.value-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: .5rem 0 .8rem;
  color: var(--green-deep);
}
.value-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--rose-gold);
  line-height: 1;
}
.value-card p { color: var(--muted); font-size: 14px; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green-deep);
  color: var(--ivory);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--rose-gold);
  font-size: 13px;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  transform: translateX(120%);
  transition: transform .4s var(--ease);
  z-index: 200;
  max-width: 320px;
}
.toast.show { transform: translateX(0); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero .container { gap: 2rem; }
  .hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .shop .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 820px) {
  .product-grid,
  .shop .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

@media (max-width: 960px) {
  /* mobile nav kicks in */
  .nav { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: 1rem;
    z-index: 10;
  }
  .nav-links.open { display: flex; }
  .menu-toggle {
    display: block;
    padding: 6px;
  }
  .menu-toggle svg { width: 22px; height: 22px; stroke: var(--green-deep); }

  /* layout collapse */
  .hero { min-height: 0; padding-block: 1rem; }
  .hero .container,
  .featured-banner .container,
  .about-intro,
  .product-detail,
  .cart-page { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero-visual { max-width: 460px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 2rem; }
  .filters { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 70px; flex: 0 0 70px; }
}

@media (max-width: 640px) {
  .brand .mark { font-size: 1.3rem; }
  .brand .tagline { font-size: 8px; }

  .product-grid,
  .shop .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }

  .announcement { font-size: 10px; gap: .8rem; }
  .announcement span:nth-child(2),
  .announcement span:nth-child(3) { display: none; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  .cart-row {
    grid-template-columns: 80px 1fr auto;
    grid-template-rows: auto auto auto;
    gap: .6rem 1rem;
  }
  .cart-row .thumb { grid-row: span 3; }
  .cart-row .qty { grid-column: 2; grid-row: 2; }
  .cart-row .price { grid-column: 3; grid-row: 1; }
  .cart-row .remove { grid-column: 3; grid-row: 2; justify-self: end; }

  .qty-row { flex-direction: column; }
  .qty-row .qty { width: fit-content; }
}
