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

:root {
  --navy:       #1e3a5f;
  --navy-dark:  #0f2240;
  --navy-mid:   #2a4f7c;
  --navy-light: #eef2f7;
  --gold:       #b8966e;
  --gold-light: #d4b896;
  --ivory:      #f5f0e8;
  --ivory-dark: #ede7da;
  --white:      #ffffff;
  --gray-100:   #f7f5f2;
  --gray-200:   #e8e4de;
  --gray-500:   #9a9590;
  --gray-700:   #5a5550;
  --text:       #1a1714;
  --text-light: #6b6560;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 2px 16px rgba(30,58,95,0.08);
  --shadow-lg:  0 8px 40px rgba(30,58,95,0.14);
  --nav-h:      72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.02em;
  line-height: 1;
}
.nav-logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,240,232,0.75);
  transition: color 0.15s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--ivory); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cart {
  position: relative;
  color: rgba(245,240,232,0.75);
  transition: color 0.15s;
  margin-left: 4px;
}
.nav-cart:hover { color: var(--ivory); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  background: var(--navy-dark);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,150,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: 16px;
  color: rgba(245,240,232,0.65);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(245,240,232,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badge svg { color: var(--gold); flex-shrink: 0; }
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--ivory);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* ── SECTIONS ── */
.section { padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-ivory { background: var(--ivory); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy-dark); }

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title-light { color: var(--ivory); }
.section-sub {
  font-size: 15px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section-sub-light { color: rgba(245,240,232,0.6); }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.product-card-img {
  aspect-ratio: 4/3;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.product-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.product-card-price {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.product-card-price strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 700;
}
.product-card-btn {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--ivory);
  padding: 11px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.product-card-btn:hover { background: var(--navy-mid); }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step { text-align: center; }
.step-num {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: rgba(245,240,232,0.6);
  line-height: 1.65;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--ivory-dark);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px;
}
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── TEMPLATE CARDS ── */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.template-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  background: var(--white);
}
.template-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.template-card-img {
  aspect-ratio: 3/4;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.template-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.template-card-body { padding: 14px; }
.template-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.template-card-btn {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--ivory);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s;
}
.template-card-btn:hover { background: var(--navy-mid); }

/* ── PRODUCT PAGE ── */
.prod-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.prod-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.prod-breadcrumb a { color: var(--navy); }
.prod-breadcrumb span { color: var(--gray-500); }
.prod-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 10px;
}
.prod-subtitle {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-weight: 500;
}
.prod-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}
.prod-specs {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 32px;
}
.prod-specs-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.prod-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prod-spec {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prod-spec strong { color: var(--text); font-weight: 600; font-size: 12px; }

/* ── ORDER BOX ── */
.order-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  box-shadow: var(--shadow);
}
.order-box-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
  display: block;
}
.opts-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.opt-btn {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.opt-btn:hover { border-color: var(--gold); }
.opt-btn.active {
  border-color: var(--navy);
  background: var(--navy-light);
  color: var(--navy);
  font-weight: 600;
}
.opt-btn .opt-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.qty-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.qty-input:focus { outline: none; border-color: var(--navy); }
.price-display {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--ivory-dark);
}
.price-breakdown {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.price-total {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-per {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
.atc-btn {
  width: 100%;
  background: var(--navy);
  color: var(--ivory);
  border: none;
  border-radius: var(--radius);
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.atc-btn:hover { background: var(--navy-mid); }
.order-note {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.free-shipping-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f7f0;
  border: 1px solid #c3e0c3;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #2d6b2d;
  margin-bottom: 16px;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 24px 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-about {
  font-size: 13px;
  color: rgba(245,240,232,0.5);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(245,240,232,0.55);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-size: 12px;
  color: rgba(245,240,232,0.35);
}
.footer-bottom a {
  font-size: 12px;
  color: rgba(245,240,232,0.35);
  margin-left: 16px;
  transition: color 0.15s;
}
.footer-bottom a:hover { color: rgba(245,240,232,0.65); }

/* ── CHECKOUT ── */
.checkout-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px;
}
.checkout-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.form-input, .form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.section-divider {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 24px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.shipping-opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.shipping-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
}
.shipping-opt:hover { border-color: var(--navy); }
.shipping-opt.selected { border-color: var(--navy); background: var(--navy-light); }
.shipping-opt input[type="radio"] { accent-color: var(--navy); }
.shipping-opt-label { flex: 1; font-size: 14px; font-weight: 500; color: var(--text); }
.shipping-opt-desc { font-size: 12px; color: var(--text-light); }
.shipping-opt-price { font-size: 14px; font-weight: 700; color: var(--navy); }
.order-summary {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.order-summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.summary-line.total {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
  margin-top: 8px;
}
#card-element {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 16px;
}
.pay-btn {
  width: 100%;
  background: var(--navy);
  color: var(--ivory);
  border: none;
  border-radius: var(--radius);
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.pay-btn:hover { background: var(--navy-mid); }
#pay-error { color: #c0392b; font-size: 13px; margin-top: 10px; }

/* ── MOBILE ── */
@media (max-width: 860px) {
  .prod-layout { grid-template-columns: 1fr; }
  .order-box { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
  }
  .nav-hamburger { display: flex; }
  .hero { padding: 52px 24px 60px; }
  .section { padding: 48px 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
}
