:root {
  --maroon: #a00c0c;
  --maroon-deep: #860a0a;
  --maroon-ink: #5a0707;
  --gold: #fcec00;
  --gold-light: #fcec00;
  --cream: #f8efdf;
  --cream-deep: #f4e7cd;
  --ink: #2c1a14;
  --muted: #7a6458;
  --line: #e6d4b4;
  --white: #fffaf0;
  --wa: #1f8f4e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(74, 12, 14, 0.1);
  --script: 'Great Vibes', cursive;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-deep); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--maroon-ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.script { font-family: var(--script); font-weight: 400; }
.serif { font-family: var(--serif); }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .75rem; font-weight: 600; color: var(--gold); margin-bottom: .6em; }
.eyebrow-light { color: var(--gold-light); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.6em; border-radius: 999px; border: 1.5px solid var(--maroon); background: var(--maroon); color: #fff; font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .03em; cursor: pointer; transition: background .2s, color .2s, transform .15s; text-align: center; }
.btn:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .45em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-block { width: 100%; margin-top: .75rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--maroon-ink); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--maroon-ink); }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-outline-light { background: transparent; border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline-light:hover { background: var(--gold-light); color: var(--maroon-ink); border-color: var(--gold-light); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #18723e; border-color: #18723e; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 0; }

/* Header */
.topbar { background: var(--maroon); color: var(--gold-light); font-size: .78rem; letter-spacing: .08em; text-align: center; padding: .5em 16px; }
.site-header { background: var(--maroon); position: sticky; top: 0; z-index: 50; border-bottom: 2px solid var(--gold); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: #f8e9cf; font-size: .92rem; letter-spacing: .06em; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-color: var(--gold); }
.cart-link { position: relative; color: #fff; display: flex; padding: 8px; }
.cart-link:hover { color: var(--gold-light); }
.cart-count { position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: var(--maroon-ink); font-size: .72rem; font-weight: 600; display: grid; place-items: center; padding: 0 5px; opacity: .0; transform: scale(.6); transition: .2s; }
.cart-count.has-items { opacity: 1; transform: scale(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold-light); margin: 5px 0; transition: .2s; }

/* Sections */
.section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--maroon); margin: 0; }
.section-head h2::after { content: ''; display: block; width: 90px; height: 10px; margin: 6px auto 0; background: linear-gradient(var(--gold), var(--gold)) center/100% 1.5px no-repeat; }
.page-hero { background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); text-align: center; padding: 56px 0 50px; border-bottom: 2px solid var(--gold); }
.page-hero h1 { color: var(--gold-light); font-size: clamp(2.8rem, 7vw, 4.4rem); margin: 0; }
.page-hero-sm { padding: 36px 0 30px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.arch { border-radius: 999px 999px 12px 12px; overflow: hidden; border: 2px solid var(--gold); background: var(--cream); }
.arch-lg { border-radius: 400px 400px var(--radius) var(--radius); border-width: 3px; }
.card-media { display: block; aspect-ratio: 1 / 1.05; }
.card-media img, .arch > img { width: 100%; height: 100%; object-fit: cover; }
.card-body { text-align: center; padding: 14px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; align-self: center; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 2px 10px; margin-bottom: 8px; font-weight: 600; }
.card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.card h3 a { color: var(--maroon-ink); }
.card-desc { font-size: .86rem; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.price { font-family: var(--serif); font-size: 1.3rem; color: var(--maroon); font-weight: 600; }
.price small { font-family: var(--sans); font-size: .72rem; color: var(--muted); font-weight: 400; letter-spacing: .05em; }

.placeholder { width: 100%; height: 100%; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(circle at 50% 35%, #b02a2c, var(--maroon-deep)); color: var(--gold-light); text-align: center; padding: 20px; aspect-ratio: inherit; }
.placeholder img { width: 38%; opacity: .55; }
.placeholder .script { font-size: 2rem; line-height: 1.1; }
.placeholder small { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.placeholder.mini { padding: 8px; }
.placeholder.mini img { width: 70%; }

/* Shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .45em 1.2em; border: 1.5px solid var(--line); border-radius: 999px; color: var(--maroon-ink); font-size: .9rem; background: #fff; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
select, input, textarea { font: inherit; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: .65em .8em; background: #fff; width: 100%; }
.sort select { width: auto; padding: .45em .8em; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(252, 236, 0, .2); }

/* Product page */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-media { aspect-ratio: 4 / 4.6; position: sticky; top: 100px; }
.pdp-media .placeholder .script { font-size: 3.4rem; }
.pdp-info .tag { margin-bottom: 14px; }
.pdp-info { text-align: left; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.pdp-price { font-family: var(--serif); font-size: 2rem; color: var(--maroon); font-weight: 600; margin-bottom: .4em; }
.pdp-price small { font-family: var(--sans); font-size: .95rem; color: var(--muted); font-weight: 400; }
.lead-dark { font-size: 1.08rem; color: #5a4339; }
.weights { border: 0; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.weights legend { font-weight: 600; margin-bottom: 10px; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon-ink); }
.weight input, .pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.weight span { display: flex; flex-direction: column; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; cursor: pointer; transition: .2s; background: #fff; }
.weight em { font-style: normal; color: var(--muted); font-size: .88rem; }
.weight input:checked + span { border-color: var(--maroon); background: var(--cream); box-shadow: inset 0 0 0 1px var(--maroon); }
.weight input:focus-visible + span, .pay-option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 48px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--maroon); }
.qty input { width: 44px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 32px; height: 34px; }
.qty-sm input { width: 32px; }
.assurances { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.assurances li { padding-left: 22px; position: relative; margin-bottom: 8px; color: #5a4339; font-size: .95rem; }
.assurances li::before { content: ''; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { aspect-ratio: 4 / 4.4; }
.split h2.script { font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--maroon); }
.band { background: linear-gradient(120deg, var(--maroon-deep), var(--maroon)); color: #f3dcc0; padding: 56px 0; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.band-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.band h2 { color: var(--gold-light); font-size: clamp(2.2rem, 4.5vw, 3rem); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Cart & checkout */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.line { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 90px; height: 90px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--gold); display: block; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.line-info strong { color: var(--maroon-ink); }
.line-info .muted { font-size: .88rem; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.summary { background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; }
.sum-total { border-top: 1px solid var(--gold); margin-top: 8px; padding-top: 12px; font-family: var(--serif); font-size: 1.25rem; color: var(--maroon); font-weight: 600; }
.empty { text-align: center; padding: 40px 0; }
.empty .script { font-size: 2.6rem; color: var(--maroon); margin-bottom: 0; }
.checkout-form h3 { margin-top: 1.4em; font-size: 1.2rem; }
.checkout-form h3:first-of-type { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--maroon-ink); }
.span-2 { grid-column: span 2; }
.pay-options { display: grid; gap: 10px; }
.pay-option span { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 46px; cursor: pointer; position: relative; background: #fff; }
.pay-option span::before { content: ''; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.pay-option em { font-style: normal; color: var(--muted); font-size: .88rem; }
.pay-option input:checked + span { border-color: var(--maroon); background: var(--cream); }
.pay-option input:checked + span::before { border-color: var(--maroon); background: radial-gradient(var(--maroon) 45%, transparent 50%); }
.test-note { background: #fff7e0; border: 1px dashed var(--gold); border-radius: 10px; padding: 10px 14px; font-size: .88rem; margin: 14px 0 0; }
.alert { background: #fdecec; border: 1px solid #e3a5a5; color: #7a1c1c; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

/* Order confirmation */
.confirm { text-align: center; border: 2px solid var(--gold); border-radius: var(--radius); padding: 36px 24px; background: var(--cream); }
.confirm h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--maroon); margin: 0; }
.confirm-warn { background: #fff7ef; }
.confirm-seal { width: 90px; margin: 0 auto 10px; }
.order-box { margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.order-table .r { text-align: right; white-space: nowrap; padding-left: 12px; }
.order-table .total td { font-family: var(--serif); font-weight: 600; color: var(--maroon); font-size: 1.15rem; border-bottom: 0; }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.order-meta h4 { font-size: .95rem; margin-bottom: .3em; }
.order-meta p { font-size: .92rem; color: #5a4339; }

/* Gifting & about */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { border: 1.5px solid var(--gold); border-top: 5px solid var(--maroon); border-radius: var(--radius); padding: 28px 22px; text-align: center; background: #fff; }
.service h3 { color: var(--maroon); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 58px; color: #5a4339; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--maroon); color: var(--gold-light); display: grid; place-items: center; font-family: var(--serif); border: 2px solid var(--gold); }
.steps strong { display: block; color: var(--maroon-ink); }
.registered { display: flex; gap: 14px; align-items: center; background: var(--maroon); color: #f3dcc0; border-radius: var(--radius); padding: 14px 18px; margin-top: 18px; }
.registered img { width: 54px; }
.registered strong { color: var(--gold-light); display: block; font-family: var(--serif); }
.registered span { font-size: .85rem; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trio .arch { aspect-ratio: 3 / 4.4; }
.about-promises { margin-top: 0; }

/* Footer */
.site-footer { background: var(--maroon); color: #e8cfb0; padding: 56px 0 24px; margin-top: 0; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: var(--gold-light); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--sans); }
.site-footer a { display: block; color: #e8cfb0; margin-bottom: 8px; font-size: .93rem; }
.site-footer a:hover { color: var(--gold-light); }
.muted-light { color: #f3e2cb; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(252, 236, 0, .2); margin-top: 32px; padding-top: 20px; font-size: .85rem; }
.script-sm { font-family: var(--script); font-size: 1.5rem; color: var(--gold-light); }

/* Floating WhatsApp + toast */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); z-index: 60; transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s; background: var(--maroon); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .92rem; z-index: 70; border: 1px solid var(--gold); max-width: calc(100% - 120px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: var(--gold-light); margin-left: 8px; text-decoration: underline; }

/* Simulator */
.sim-body { background: #eef0f3; }
.sim { max-width: 560px; margin: 48px auto; background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 8px 30px rgba(0, 0, 0, .08); font-family: var(--sans); }
.sim h1 { font-family: var(--sans); color: #1d2b3a; }
.sim-badge { display: inline-block; background: #fff3c4; color: #7a5b00; font-size: .75rem; font-weight: 600; letter-spacing: .1em; padding: 4px 10px; border-radius: 6px; }
.sim-actions { display: grid; gap: 10px; margin-top: 22px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { gap: 18px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-inner { height: 66px; justify-content: space-between; }
  .brand img { height: 44px; }
  .main-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(300px, 82vw); flex-direction: column; gap: 0; background: var(--maroon-deep); padding: 130px 24px 24px; transform: translateX(-100%); transition: transform .3s; z-index: 1; border-right: 2px solid var(--gold); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(252, 236, 0, .2); font-size: 1rem; }
  .nav-open .main-nav { transform: none; box-shadow: 0 0 0 100vmax rgba(30, 6, 6, .45); }
  .nav-toggle, .brand, .cart-link { position: relative; z-index: 2; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; text-align: center; }
  .hero-actions { justify-content: center; }
  .lead { margin: 0 auto; }
  .hero-media { width: min(340px, 86%); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .pdp, .split, .cart-layout, .band-inner { grid-template-columns: 1fr; gap: 32px; }
  .pdp-media { position: static; max-width: 460px; margin: 0 auto; width: 100%; }
  .band-actions { justify-content: flex-start; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 8px; }
  .card h3 { font-size: 1rem; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; }
  .card-foot .btn { width: 100%; }
  .price { font-size: 1.1rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { aspect-ratio: 16 / 11; border-radius: var(--radius); }
  .form-grid, .order-meta { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .line { grid-template-columns: 70px 1fr; }
  .line-img { width: 70px; height: 70px; }
  .line-end { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .topbar { font-size: .68rem; }
  .placeholder .script { font-size: 1.5rem; }
}
