/* Bloom customer website */
body { background: var(--ivory); font-size: 16px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 26px; }
p { margin: 0; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green);
  margin-bottom: 18px;
}
.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; }
.muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; pointer-events: none; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-word { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.logo-sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--ink); }
.site-nav .btn { color: #fff; border-bottom: 0; padding: 0 22px; height: 42px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 16px 20px; background: var(--ivory); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; height: 48px; }
}

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); max-width: 460px; margin-top: 12px; }
.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--green); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { flex-direction: column; align-items: start; } }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 40px 0 80px; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-lg); }
.hero-note {
  position: absolute; left: -28px; bottom: 36px; background: var(--paper); padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: 14px; max-width: 240px;
}
.hero-note strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 16px 0 56px; }
  .hero-media img { aspect-ratio: 4 / 3.4; }
  .hero-note { left: 16px; bottom: 16px; }
}

.facts { border-block: 1px solid var(--line); background: var(--cream); }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts li { font-size: 14px; color: var(--ink-2); }
.facts strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
@media (max-width: 800px) { .facts ul { grid-template-columns: 1fr 1fr; } }

/* ---- About ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.split h2 { margin-bottom: 22px; }
.split p + p { margin-top: 14px; }
.split .prose { color: var(--ink-2); font-size: 17px; }
.signature { margin-top: 28px; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--ink); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Product cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; }
.product-grid.featured { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1050px) { .product-grid.featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid, .product-grid.featured { grid-template-columns: 1fr; } }

.product-card { display: flex; flex-direction: column; }
.product-media { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream); }
.product-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-media img { transform: scale(1.03); }
.avail {
  position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; padding: 5px 11px;
  border-radius: 999px; background: rgba(255, 253, 249, 0.94); color: var(--ink-2);
}
.avail-limited, .avail-preorder { color: var(--st-amber); }
.avail-sold_out { color: var(--st-red); }
.product-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-top h3 { font-size: 25px; }
.price { font-weight: 600; white-space: nowrap; font-size: 16px; }
.product-meta { font-size: 13px; color: var(--muted); margin: 4px 0 10px; letter-spacing: 0.02em; }
.product-desc { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; flex: 1; }
.product-card .btn { align-self: flex-start; }
.product-card.sold-out .product-media img { filter: grayscale(0.5); opacity: 0.8; }

/* ---- Categories ---- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; }
.category-tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.5s ease; }
.category-tile:hover img { transform: scale(1.04); }
.category-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 22, 18, 0.62), rgba(20, 22, 18, 0) 55%); }
.category-label { position: absolute; z-index: 1; left: 22px; bottom: 20px; right: 22px; }
.category-label strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.category-label span { font-size: 13px; opacity: 0.9; }
@media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Delivery ---- */
.delivery { background: var(--cream); }
.delivery-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 24px; color: var(--green); line-height: 1.2;
}
.steps strong { display: block; font-weight: 600; margin-bottom: 2px; }
.steps p { color: var(--ink-2); font-size: 15px; }
.info-card { background: var(--paper); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); }
.info-card h3 { margin-bottom: 18px; }
.zones { width: 100%; border-collapse: collapse; font-size: 15px; }
.zones td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.zones td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.info-card dl { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; }
@media (max-width: 900px) { .delivery-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- CTA band ---- */
.cta-band {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px;
  background: var(--green-dark); color: #fff; border-radius: var(--radius-lg); overflow: hidden;
}
.cta-band .cta-copy { padding: 56px; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { opacity: 0.85; margin-bottom: 28px; max-width: 460px; }
.cta-band img { height: 100%; width: 100%; object-fit: cover; min-height: 320px; }
.cta-band .btn-primary { background: var(--ivory); color: var(--green-dark); }
.cta-band .btn-primary:hover { background: #fff; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; gap: 0; } .cta-band .cta-copy { padding: 36px 28px; } .cta-band img { min-height: 220px; } }

/* ---- Page header ---- */
.page-head { padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 14px; }
.page-head p { color: var(--ink-2); font-size: 17px; max-width: 600px; }

/* ---- Catalog filters ---- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--green); }

/* ---- Forms ---- */
.form-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; padding-bottom: 96px; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; gap: 40px; } }
.card { scroll-margin-top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
@media (max-width: 600px) { .card { padding: 24px 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius);
  padding: 13px 14px; font-size: 16px; transition: border-color 0.15s;
}
.field textarea { min-height: 190px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field [aria-invalid='true'] { border-color: var(--st-red); }
.field-error { color: var(--st-red); font-size: 13px; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.selected-product { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--cream); margin-bottom: 22px; }
.selected-product img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.selected-product strong { display: block; font-size: 15px; }
.selected-product span { font-size: 13px; color: var(--muted); }

.aside h3 { margin-bottom: 14px; }
.aside .steps { margin-top: 8px; }
.example {
  margin-top: 28px; padding: 22px 24px; border-left: 2px solid var(--sage); background: var(--cream);
  font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink-2);
}
.example-label { display: block; font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.success { text-align: center; padding: 48px 32px; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.success h2 { font-size: 36px; margin-bottom: 12px; }
.ref { display: inline-block; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 22px; font-weight: 600; letter-spacing: 0.04em; padding: 10px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); margin: 18px 0; background: #fff; }
.success p { color: var(--ink-2); max-width: 440px; margin: 0 auto; }
.success .actions { justify-content: center; margin-top: 28px; }

/* ---- Tracking ---- */
.track-wrap { max-width: 760px; padding-bottom: 96px; }
.track-form { display: flex; gap: 12px; }
.track-form input {
  flex: 1; height: 54px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 22px; font-size: 17px;
  background: #fff; text-transform: uppercase; letter-spacing: 0.04em;
}
.track-form input::placeholder { text-transform: none; letter-spacing: 0; }
.track-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.track-form .btn { height: 54px; }
@media (max-width: 560px) { .track-form { flex-direction: column; } }
.track-result { margin-top: 36px; }
.track-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.track-head h2 { font-size: 34px; }
.track-head .muted { font-size: 14px; margin-top: 4px; }
.progress { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.progress li { font-size: 12px; color: var(--muted); }
.progress li::before { content: ''; display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 10px; }
.progress li.done { color: var(--ink); }
.progress li.done::before { background: var(--green); }
.progress li.current { font-weight: 700; }
@media (max-width: 600px) { .progress { grid-template-columns: repeat(3, 1fr); row-gap: 16px; } }
.facts-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 26px; }
.facts-list dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.facts-list dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 600px) { .facts-list { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 10px 0; font-size: 15px; }
.timeline time { color: var(--muted); font-size: 14px; }
.notice { padding: 16px 18px; border-radius: var(--radius); background: var(--cream); color: var(--ink-2); font-size: 15px; }
.notice.error { background: var(--st-red-bg); color: var(--st-red); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--ivory); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.footer-grid p, .footer-grid li { font-size: 15px; color: var(--ink-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.skeleton { background: var(--cream); border-radius: var(--radius-lg); aspect-ratio: 4 / 5; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* =====================================================================
   Shop: header cart, contact buttons, product page, cart, checkout
   ===================================================================== */
.header-actions { display: flex; align-items: center; gap: 6px; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 600; font-size: 14px;
}
.cart-link:hover, .cart-link.active { border-color: var(--ink); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--green); color: #fff;
  font-size: 12px; font-weight: 700; display: inline-grid; place-items: center;
}
.cart-count[hidden] { display: none; }
@media (max-width: 820px) { .cart-label { display: none; } .cart-link { padding: 0 12px; } }

.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-whatsapp { background: #25543a; color: #fff; }
.btn-whatsapp:hover { background: #1d4430; }
.btn-instagram { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-instagram:hover { border-color: var(--ink); }
.contact-buttons.compact .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.contact-buttons.on-dark .btn-whatsapp { background: var(--ivory); color: var(--green-dark); }
.contact-buttons.on-dark .btn-instagram { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.contact-buttons.on-dark .btn-instagram:hover { border-color: #fff; }
.demo-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.cta-band .demo-note.on-dark { color: rgba(255, 255, 255, 0.6); margin: 14px 0 0; }

.product-top h3 a { text-decoration: none; }
.product-top h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

.crumbs { font-size: 13px; color: var(--muted); padding: 24px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink-2); }
.page-head-sm { padding: 24px 0 28px; }
.page-head-sm .crumbs { padding: 0 0 12px; }
.req { color: var(--rose); }
.optional { font-weight: 500; font-size: 12px; color: var(--muted); margin-left: 4px; }
.field-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.btn-lg { height: 56px; font-size: 16px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: 14px; cursor: pointer; }
.link-btn:hover { color: var(--st-red); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; padding: 24px 0 72px; }
.pdp-media { margin: 0; position: sticky; top: 100px; }
.pdp-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--cream); }
.pdp-info h1 { font-size: clamp(38px, 4.4vw, 54px); margin-bottom: 14px; }
.pdp-info .eyebrow { margin-bottom: 10px; }
.pdp-price-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pdp-price { font-size: 24px; font-weight: 600; }
.avail-pill { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--st-green-bg); color: var(--st-green); }
.avail-pill.avail-limited, .avail-pill.avail-preorder { background: var(--st-amber-bg); color: var(--st-amber); }
.avail-pill.avail-sold_out { background: var(--st-red-bg); color: var(--st-red); }
.pdp-desc { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; }
.pdp-info > .notice { margin-bottom: 20px; }
.opt-group { border: 0; padding: 0; margin: 0 0 22px; }
.opt-group legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.opt-group legend .muted { font-weight: 500; font-size: 12px; margin-left: 4px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.opt-grid-1 { grid-template-columns: 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-body {
  display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; transition: border-color 0.12s, box-shadow 0.12s;
}
.opt-body strong { font-size: 14px; font-weight: 600; }
.opt-body small { font-size: 13px; color: var(--muted); }
.opt-body em { font-style: normal; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.opt:hover .opt-body { border-color: var(--ink-2); }
.opt input:checked + .opt-body { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #fbfdf9; }
.opt input:focus-visible + .opt-body { outline: 2px solid var(--green); outline-offset: 2px; }
.opt input:disabled + .opt-body { opacity: 0.5; cursor: not-allowed; }
.opt-wide .opt-body { grid-template-columns: 1fr auto; align-items: center; }
.opt-wide .opt-body small { grid-column: 1; }
.opt-wide .opt-body em { grid-row: 1 / span 2; grid-column: 2; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; height: 46px; }
.stepper button { width: 44px; height: 100%; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink-2); border-radius: 999px; }
.stepper button:hover { color: var(--ink); background: var(--cream); }
.stepper input { width: 44px; border: 0; text-align: center; font-size: 16px; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.pdp-buy { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); margin-top: 6px; margin-bottom: 16px; }
.pdp-total { text-align: right; }
.pdp-total strong { font-family: var(--font-display); font-size: 36px; font-weight: 600; line-height: 1; }
.added { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--green-soft); color: var(--green-dark); font-size: 15px; }
.added > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.added-actions { display: inline-flex; align-items: center; gap: 16px; }
.added-actions a:not(.btn) { color: var(--green-dark); font-weight: 600; font-size: 14px; }
.added[hidden] { display: none; }
.pdp-help { margin-top: 28px; padding: 20px; border-radius: var(--radius-lg); background: var(--cream); }
.pdp-help p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.pdp-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pdp-points li::before { content: '\2014'; color: var(--sage); margin-right: 10px; }
.pdp-loading { min-height: 60vh; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .pdp-media { position: static; }
  .pdp-media img { aspect-ratio: 4 / 3.6; }
}

/* Cart */
.cart-wrap { padding-bottom: 96px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-bottom: 96px; }
.cart-wrap .cart-layout { padding-bottom: 0; }
.cart-lines { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line .img-ph { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--cream); display: block; }
.cart-line.has-error img { opacity: 0.5; }
.cl-main { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-width: 0; }
.cl-top { display: flex; justify-content: space-between; gap: 16px; }
.cl-top h3 { font-size: 24px; }
.cl-top h3 a { text-decoration: none; }
.cl-opts { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.cl-unit { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cl-total { font-size: 17px; white-space: nowrap; }
.cl-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cl-actions .stepper { height: 40px; }
.cl-actions .stepper button { width: 38px; }
.summary { position: sticky; top: 100px; padding: 28px; }
.summary h2 { font-size: 28px; margin-bottom: 18px; }
.sum { margin: 0 0 20px; display: grid; }
.sum > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-weight: 600; text-align: right; }
.sum .sum-area { flex-direction: column; align-items: stretch; gap: 8px; }
.sum .sum-area dd { text-align: left; }
.sum select { width: 100%; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; padding: 0 10px; font-size: 14px; }
.sum .sum-total { border-bottom: 0; padding-top: 16px; }
.sum-total dt { color: var(--ink); font-weight: 600; }
.sum-total dd { font-family: var(--font-display); font-size: 30px; }
.empty-cart { text-align: center; padding: 64px 20px 96px; color: var(--ink-2); }
.empty-cart svg { color: var(--sage); margin: 0 auto 16px; }
.empty-cart h2 { margin-bottom: 8px; }
.empty-cart p { margin-bottom: 24px; }
@media (max-width: 960px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 28px; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 84px 1fr; gap: 14px; }
  .cart-line img, .cart-line .img-ph { width: 84px; }
  .cl-top { flex-direction: column; gap: 6px; }
  .cl-top h3 { font-size: 21px; }
}

/* Checkout */
.checkout-form { padding: 32px 36px; }
.step-no {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-right: 10px; vertical-align: 4px;
  background: var(--green-soft); color: var(--green-dark); font-family: var(--font-body); font-size: 14px; font-weight: 700;
}
.form-group { border: 0; margin: 0 0 8px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.form-group + .form-group { padding-top: 24px; }
.form-group legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.1; }
.form-group legend + * { clear: both; }
.form-row-wide { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 600px) { .form-row-wide { grid-template-columns: 1fr; } .checkout-form { padding: 24px 18px; } }
.field select {
  width: 100%; height: 50px; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius); padding: 0 12px; font-size: 16px;
}
.field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field textarea[rows] { min-height: 0; }
.check-row { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--green); }
#recipient-fields[hidden] { display: none; }
.checkout-form > .btn { margin-top: 18px; }
.sum-items { list-style: none; margin: 0 0 8px; padding: 0; }
.sum-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-items img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); }
.sum-items strong { display: block; font-size: 14px; font-weight: 600; }
.sum-items span { display: block; font-size: 12.5px; color: var(--muted); }
.sum-items em { font-style: normal; font-weight: 600; font-size: 14px; white-space: nowrap; }
.sum-items.plain li { grid-template-columns: 1fr auto; }
.small-link { font-size: 14px; }

.review { padding: 36px; }
.review h2 { font-size: 34px; margin-bottom: 6px; }
.review > .muted { margin-bottom: 24px; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; padding: 24px 0; border-block: 1px solid var(--line); margin-bottom: 8px; }
.review-grid h3 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.kv { margin: 0; display: grid; gap: 8px; }
.kv > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.sum-inline { max-width: 360px; margin-left: auto; }
.review-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 700px) {
  .review { padding: 24px 18px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-actions { flex-direction: column-reverse; }
  .review-actions .btn { width: 100%; }
}

/* Confirmation */
.confirm-wrap { padding: 48px 0 96px; }
.confirm-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.confirm-head h1 { font-size: clamp(40px, 5vw, 58px); margin-bottom: 10px; }
.confirm-head .lead { margin: 0 auto; }
.confirm-head .eyebrow { margin-bottom: 12px; }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.confirm-grid h2 { font-size: 30px; margin-bottom: 16px; }
.confirm-grid .steps { margin-top: 0; }
.confirm-grid .kv { margin: 16px 0; }
.confirm-grid .contact-buttons { margin-top: 10px; }
@media (max-width: 900px) { .confirm-grid { grid-template-columns: 1fr; } }
.track-result .sum-items { margin-bottom: 20px; }

/* ---------- character counter (greeting card) ---------- */
.char-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; justify-self: end; }
.char-count.is-over { color: var(--st-red); font-weight: 600; }
.field .hint-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.paid-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--st-green-bg); color: var(--st-green); font-size: 13px; font-weight: 600; }
.opt .demo-tag { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--st-amber); background: var(--st-amber-bg); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }

/* ---------- demo payment window ---------- */
.pay-overlay { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px;
  background: rgba(20, 24, 20, .48); animation: pay-fade .18s ease-out; }
.pay-modal { width: min(400px, 100%); background: var(--paper, #fff); border-radius: var(--radius-lg); padding: 26px 26px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25); text-align: center; animation: pay-rise .22s ease-out; }
.pay-demo-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--st-amber); background: var(--st-amber-bg);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.pay-merchant { color: var(--muted); font-size: 14px; margin: 0; }
.pay-amount { font-family: var(--font-display); font-size: 40px; margin: 4px 0 2px; color: var(--ink); }
.pay-desc { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.pay-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left;
  padding: 16px 18px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green)); margin-bottom: 14px; }
.pay-chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #e9d79b, #c8a95a); }
.pay-num { font-weight: 600; letter-spacing: .04em; }
.pay-exp { font-size: 12px; opacity: .8; }
.pay-status { min-height: 22px; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.pay-ok { color: var(--st-green); }
.pay-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
@keyframes pay-fade { from { opacity: 0; } }
@keyframes pay-rise { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .pay-overlay, .pay-modal { animation: none; } }

/* ---------- public demo ---------- */
.demo-bar { background: var(--st-amber-bg); color: var(--st-amber); text-align: center; font-size: 13.5px; padding: 7px 16px; line-height: 1.5; }
.demo-bar a { color: inherit; font-weight: 600; margin-left: 8px; white-space: nowrap; }
