/* ============================================================
   AI CANDLE — premium storefront prototype
   Palette drawn from the product photography:
   warm ivory, ceramic cream, brass gold, soft charcoal.
   ============================================================ */

:root {
  --ivory: #faf7f1;
  --cream: #f1ebe0;
  --sand: #e7dfd0;
  --gold: #b3925a;
  --gold-light: #d3b986;
  --gold-faint: rgba(179, 146, 90, 0.14);
  --ink: #1e1b16;
  --ink-soft: #57503f;
  --dark: #16130f;
  --dark-2: #201c16;
  --white: #fffdf9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --shadow-soft: 0 20px 60px rgba(30, 27, 22, 0.10);
  --shadow-lift: 0 30px 80px rgba(30, 27, 22, 0.18);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 760px; }

/* ---------- Announcement ---------- */
.announcement {
  background: var(--dark);
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  background: transparent;
}
.nav.is-scrolled {
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(30, 27, 22, 0.07);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav__flame { color: var(--gold); }
.nav__links {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; gap: 6px; }
.nav__icon-btn {
  background: none;
  border: none;
  padding: 9px;
  border-radius: 50%;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.25s;
  position: relative;
}
.nav__icon-btn:hover { background: var(--gold-faint); }
.nav__cart-badge {
  position: absolute;
  top: 2px; right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 99px;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}
.nav__cart-badge.pop { animation: badgePop 0.45s var(--ease); }
@keyframes badgePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.55); }
  100% { transform: scale(1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  gap: 40px;
}
.hero__glow {
  position: absolute;
  top: 8%;
  right: -6%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle at center,
    rgba(211, 185, 134, 0.35) 0%,
    rgba(211, 185, 134, 0.12) 38%,
    transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero__eyebrow, .section-eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--gold) 10%, #8a6b34 55%, var(--gold-light) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual { position: relative; z-index: 1; }
.hero__img {
  border-radius: 28px;
  box-shadow: var(--shadow-lift);
  transition: transform 0.2s linear;
  will-change: transform;
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(30, 27, 22, 0.25);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 99px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 27, 22, 0.28);
}
.btn--ghost {
  border-color: rgba(30, 27, 22, 0.25);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(120deg, var(--gold), #9a7b45);
  color: var(--white);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(179, 146, 90, 0.4); }
.btn--outline {
  border-color: rgba(30, 27, 22, 0.3);
  background: transparent;
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); }
.btn--small { padding: 10px 22px; font-size: 13.5px; }
.btn--full { width: 100%; }

/* ---------- Press marquee ---------- */
.press {
  border-top: 1px solid rgba(30, 27, 22, 0.08);
  border-bottom: 1px solid rgba(30, 27, 22, 0.08);
  padding: 22px 0;
  overflow: hidden;
  background: var(--cream);
}
.press__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.press:hover .press__track { animation-play-state: paused; }
.press__group { display: flex; gap: 72px; padding-right: 72px; }
.press__group span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Manifesto ---------- */
.manifesto { padding: 140px 32px; text-align: center; }
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto;
}
.manifesto__text em { font-style: italic; }
.manifesto__accent {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-style: italic;
}

/* ---------- Sections ---------- */
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.section-title--light { color: var(--white); }
.section-sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ---------- Features (dark) ---------- */
.features {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(179, 146, 90, 0.16), transparent 60%),
    var(--dark);
  color: rgba(255, 253, 249, 0.75);
  padding: 130px 0 110px;
}
.features .section-eyebrow { color: var(--gold-light); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 64px;
}
.feature-card {
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.055), rgba(255, 253, 249, 0.02));
  border: 1px solid rgba(211, 185, 134, 0.16);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(211, 185, 134, 0.45);
  background: linear-gradient(160deg, rgba(211, 185, 134, 0.10), rgba(255, 253, 249, 0.03));
}
.feature-card__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: rgba(211, 185, 134, 0.10);
  border: 1px solid rgba(211, 185, 134, 0.22);
  margin-bottom: 24px;
}
.feature-card__icon svg { width: 30px; height: 30px; }
.feature-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--white);
  margin-bottom: 12px;
}
.feature-card p { font-size: 14.5px; font-weight: 300; line-height: 1.65; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid rgba(211, 185, 134, 0.18);
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.5);
}

/* ---------- Products ---------- */
.products { padding: 130px 0; }
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid rgba(30, 27, 22, 0.07);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lift);
}
.product-card__badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 99px;
}
.product-card__media {
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream);
  aspect-ratio: 1;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__tag {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 10px;
}
.product-card__desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}
.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.product-card__price {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.product-card__price-note { font-size: 12.5px; color: var(--ink-soft); }
.product-card__actions { display: flex; gap: 10px; }
.product-card__actions .btn--primary { flex: 1; }

/* ---------- Compare ---------- */
.compare { padding: 40px 0 130px; }
.compare__wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 27, 22, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  margin-top: 48px;
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14.5px;
}
.compare__table th, .compare__table td {
  padding: 16px 22px;
  text-align: center;
  border-bottom: 1px solid rgba(30, 27, 22, 0.06);
}
.compare__table td:first-child {
  text-align: left;
  color: var(--ink-soft);
  font-weight: 500;
}
.compare__table thead th {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  padding-top: 26px;
}
.compare__hl { background: var(--gold-faint); position: relative; }
thead .compare__hl::before {
  content: "Mest populær";
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.compare__price-row td {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}
.compare__cta-row td { border-bottom: none; padding-bottom: 26px; }

/* ---------- Showcase ---------- */
.showcase {
  background: var(--dark-2);
  overflow: hidden;
}
.showcase__sticky {
  max-width: 1280px;
  margin: 0 auto;
  padding: 130px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.showcase__sticky img {
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 1.2s var(--ease);
}
.showcase.in-view img { transform: scale(1); }
.showcase__caption { color: rgba(255, 253, 249, 0.7); }
.showcase__caption .section-eyebrow { color: var(--gold-light); }
.showcase__caption p:last-child { font-size: 16.5px; font-weight: 300; line-height: 1.75; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 130px 0 110px; background: var(--cream); }
.testimonials__carousel { position: relative; margin-top: 30px; }
.testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 4px 30px;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 min(430px, 85vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid rgba(30, 27, 22, 0.07);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-soft);
}
.testimonial__stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 18px; }
.testimonial p {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 22px;
}
.testimonial footer { font-size: 13.5px; color: var(--ink-soft); }
.testimonials__nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.testimonials__nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(30, 27, 22, 0.2);
  background: transparent;
  font-size: 17px;
  transition: all 0.25s;
}
.testimonials__nav button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Cases ---------- */
.cases { padding: 130px 0; }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.case-card {
  border: 1px solid rgba(30, 27, 22, 0.09);
  border-radius: var(--radius);
  padding: 38px 32px;
  background: linear-gradient(170deg, var(--white), var(--ivory));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.case-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  border-radius: 99px;
  padding: 5px 13px;
  margin-bottom: 20px;
}
.case-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}
.case-card p { font-size: 14.5px; color: var(--ink-soft); }
.case-card__result {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 27, 22, 0.08);
  font-weight: 600;
  color: var(--ink) !important;
  font-size: 15px !important;
}

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 130px; }
.faq__list { margin-top: 40px; }
.faq__item {
  border-bottom: 1px solid rgba(30, 27, 22, 0.1);
}
.faq__item summary {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  padding: 26px 40px 26px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--gold); }
.faq__item p {
  padding: 0 40px 28px 4px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(179, 146, 90, 0.25), transparent 65%),
    var(--dark);
  color: rgba(255, 253, 249, 0.7);
  padding: 110px 0;
  text-align: center;
}
.newsletter p { max-width: 520px; margin: 0 auto 36px; font-weight: 300; }
.newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter__form input {
  flex: 1;
  padding: 15px 24px;
  border-radius: 99px;
  border: 1px solid rgba(211, 185, 134, 0.35);
  background: rgba(255, 253, 249, 0.06);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.newsletter__form input::placeholder { color: rgba(255, 253, 249, 0.4); }
.newsletter__form input:focus { border-color: var(--gold-light); background: rgba(255, 253, 249, 0.1); }
.newsletter__done { color: var(--gold-light) !important; margin-top: 24px !important; font-weight: 500; }

/* ---------- Footer ---------- */
.footer {
  background: #100e0b;
  color: rgba(255, 253, 249, 0.55);
  padding: 80px 0 40px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.nav__logo--footer { color: var(--white); margin-bottom: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.footer__col a { text-decoration: none; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-light); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 253, 249, 0.08);
  font-size: 12.5px;
}
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--gold-light); }
.footer__proto {
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 253, 249, 0.06);
  font-size: 12px;
  color: rgba(255, 253, 249, 0.35);
  text-align: center;
}
.footer__proto a { color: var(--gold-light); text-decoration: none; white-space: nowrap; }
.footer__proto a:hover { text-decoration: underline; }

/* ---------- Scrim ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(22, 19, 15, 0.5);
  backdrop-filter: blur(3px);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.35s;
}
.scrim.is-open { opacity: 1; }

/* ---------- Cart drawer ---------- */
.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--ivory);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.45s var(--ease);
  box-shadow: -30px 0 80px rgba(30, 27, 22, 0.25);
}
.cart.is-open { transform: translateX(0); }
.cart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 28px 20px;
  border-bottom: 1px solid rgba(30, 27, 22, 0.08);
}
.cart__header h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.cart__header span { color: var(--ink-soft); font-family: var(--sans); font-size: 15px; }
.cart__close {
  background: none;
  border: none;
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}
.cart__close:hover { background: var(--gold-faint); }
.cart__shipping { padding: 18px 28px 0; font-size: 13px; color: var(--ink-soft); }
.cart__shipping p strong { color: var(--gold); }
.cart__shipping-track {
  height: 5px;
  background: var(--sand);
  border-radius: 99px;
  margin-top: 10px;
  overflow: hidden;
}
.cart__shipping-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  transition: width 0.6s var(--ease);
}
.cart__items { flex: 1; overflow-y: auto; padding: 20px 28px; display: flex; flex-direction: column; gap: 18px; }
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  align-items: center;
  animation: itemIn 0.4s var(--ease);
}
@keyframes itemIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.cart-item.removing { opacity: 0; transform: translateX(30px); transition: all 0.3s; }
.cart-item__img {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(30, 27, 22, 0.08);
}
.cart-item__name { font-family: var(--serif); font-weight: 500; font-size: 16.5px; }
.cart-item__meta { font-size: 12.5px; color: var(--ink-soft); margin: 2px 0 8px; }
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(30, 27, 22, 0.15);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 600;
}
.cart-item__qty button {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--ink-soft);
  padding: 2px 4px;
  transition: color 0.2s;
}
.cart-item__qty button:hover { color: var(--ink); }
.cart-item__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item__price { font-family: var(--serif); font-weight: 500; font-size: 17px; }
.cart-item__remove {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: underline;
  transition: color 0.2s;
}
.cart-item__remove:hover { color: #a33; }
.cart__empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  color: var(--ink-soft);
  padding: 40px;
}
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__items,
.cart.is-empty .cart__footer,
.cart.is-empty .cart__shipping { display: none; }
.cart__footer {
  padding: 20px 28px 26px;
  border-top: 1px solid rgba(30, 27, 22, 0.08);
  background: var(--white);
}
.cart__row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin-bottom: 8px;
}
.cart__row--muted { color: var(--ink-soft); font-size: 13px; }
.cart__row--total {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 14px 0 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(30, 27, 22, 0.15);
}
.cart__note {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 19, 15, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; }
.modal__box {
  background: var(--ivory);
  border-radius: 26px;
  max-width: 1000px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lift);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
  margin: auto;
}
.modal.is-open .modal__box { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(30, 27, 22, 0.15);
  font-size: 15px;
  transition: transform 0.2s;
}
.modal__close:hover { transform: rotate(90deg); }

.modal__box--product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.modal__zoom {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  background: var(--cream);
  min-height: 420px;
}
.modal__zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.modal__zoom:hover img { transform: scale(2); }
.modal__zoom-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 19, 15, 0.65);
  color: var(--white);
  font-size: 11.5px;
  padding: 6px 16px;
  border-radius: 99px;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.modal__zoom:hover .modal__zoom-hint { opacity: 0; }
.modal__info { padding: 48px 44px; }
.modal__info h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin-bottom: 6px; }
.modal__price {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 18px;
}
.modal__info > p:not(.modal__price):not(.modal__stock):not(.section-eyebrow) {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 22px;
}
.modal__features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.modal__features li {
  font-size: 14px;
  padding-left: 26px;
  position: relative;
}
.modal__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.modal__qty {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 1.5px solid rgba(30, 27, 22, 0.15);
  border-radius: 99px;
  padding: 8px 18px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 16px;
}
.modal__qty button {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.modal__qty button:hover { color: var(--ink); }
.modal__stock {
  margin-top: 14px;
  font-size: 13px;
  color: #3d7a3d;
  font-weight: 500;
}

/* ---------- Checkout ---------- */
.modal__box--checkout { max-width: 560px; padding: 44px 44px 40px; }
.checkout__steps {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.checkout__step {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  border-bottom: 2.5px solid rgba(30, 27, 22, 0.12);
  color: var(--ink-soft);
  transition: all 0.3s;
  white-space: nowrap;
}
.checkout__step.is-active { border-color: var(--gold); color: var(--ink); }
.checkout__step.is-done { border-color: var(--gold); color: var(--gold); }
.checkout__pane { display: none; }
.checkout__pane.is-active { display: block; animation: paneIn 0.4s var(--ease); }
@keyframes paneIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.checkout__pane h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  margin-bottom: 24px;
}
.checkout__form { display: flex; flex-direction: column; gap: 16px; }
.checkout__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.checkout__form input {
  padding: 13px 18px;
  border-radius: 13px;
  border: 1.5px solid rgba(30, 27, 22, 0.14);
  background: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.checkout__form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-faint);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout__pay-options { display: flex; gap: 10px; margin-bottom: 22px; }
.pay-option {
  flex: 1;
  padding: 13px 8px;
  border-radius: 13px;
  border: 1.5px solid rgba(30, 27, 22, 0.14);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.pay-option:hover { border-color: var(--gold-light); }
.pay-option.is-selected {
  border-color: var(--gold);
  background: var(--gold-faint);
  box-shadow: 0 0 0 3px var(--gold-faint);
}
.checkout__summary {
  background: var(--cream);
  border-radius: 13px;
  padding: 16px 20px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout__summary .sum-row { display: flex; justify-content: space-between; }
.checkout__summary .sum-row--total {
  font-weight: 700;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px dashed rgba(30, 27, 22, 0.2);
}
.checkout__pane--confirm { text-align: center; padding: 20px 0 8px; }
.checkout__pane--confirm p { color: var(--ink-soft); margin-bottom: 14px; }
.checkout__pane--confirm p strong { color: var(--ink); font-family: var(--serif); font-size: 18px; }
.checkout__pane--confirm .btn { margin-top: 18px; }
.checkout__check { margin: 0 auto 26px; width: 88px; height: 88px; }
.checkout__check svg { width: 100%; height: 100%; }
.checkout__check circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 155;
  stroke-dashoffset: 155;
  animation: drawCircle 0.7s var(--ease) forwards;
}
.checkout__check path {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.45s 0.55s var(--ease) forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--ink);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast em { color: var(--gold-light); font-style: normal; }

/* ---------- Fly to cart ---------- */
.fly-img {
  position: fixed;
  z-index: 400;
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: var(--shadow-lift);
  transition: all 0.8s cubic-bezier(0.5, -0.1, 0.6, 1);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 24px;
    min-height: auto;
  }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__scroll { display: none; }
  .showcase__sticky { grid-template-columns: 1fr; gap: 44px; padding: 90px 32px; }
  .modal__box--product { grid-template-columns: 1fr; }
  .modal__zoom { min-height: 320px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .manifesto { padding: 100px 24px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .modal__box--checkout { padding: 36px 24px 30px; }
  .modal__info { padding: 34px 26px; }
  .checkout__step { font-size: 10.5px; }
  .newsletter__form { flex-direction: column; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
