:root {
  --primary: #890007;
  --primary-dark: #5e0005;
  --primary-soft: #f8eceb;
  --accent: #012FFF;
  --accent-soft: #e9edff;
  --ink: #1d1a1a;
  --muted: #6d6666;
  --line: #ece6e4;
  --bg: #ffffff;
  --bg-soft: #faf7f6;
  --ok: #157a3e;
  --warn: #b26a00;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(60, 10, 10, .08);
  --script: 'Great Vibes', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Poppins', system-ui, sans-serif; color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
main { min-height: 60vh; padding-top: 22px; padding-bottom: 60px; outline: none; }
.script { font-family: var(--script); font-weight: 400; color: var(--primary); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.demo-bar { background: var(--accent); color: #fff; text-align: center; font-size: 12.5px; font-weight: 600; padding: 6px 12px; }

/* top bar + header */
.top-bar { background: var(--primary); color: #fff; font-size: 12.5px; }
.top-bar-row { display: flex; justify-content: center; gap: 34px; padding-top: 7px; padding-bottom: 7px; }
.top-bar b { font-weight: 700; }
@media (max-width: 720px) { .tb-hide { display: none; } }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 14px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); flex: none; }
.brand img { height: 62px; width: auto; }
.brand-name { font-family: var(--script); font-size: 28px; white-space: nowrap; }
.main-nav { display: flex; gap: 2px; margin-left: 10px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: var(--primary-soft); color: var(--primary); }
.main-nav .nav-account-m { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 999px; padding-left: 14px; }
.search input { border: 0 !important; background: transparent; padding: 9px 4px; width: 170px; box-shadow: none !important; font-size: 14px; }
.search button { border: 0; background: none; cursor: pointer; padding: 8px 12px 8px 6px; color: var(--muted); display: grid; place-items: center; }
.account-btn { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; padding: 9px 12px; border-radius: 999px; border: 1.5px solid var(--line); white-space: nowrap; max-width: 150px; }
.account-btn span { overflow: hidden; text-overflow: ellipsis; }
.account-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn { border: 0; background: none; cursor: pointer; color: var(--ink); padding: 6px; border-radius: 10px; }
.menu-btn { display: none; }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; flex: none; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
@media (max-width: 1180px) { .search { display: none; } }
@media (max-width: 980px) {
  .header-row { height: 66px; gap: 8px; }
  .brand img { height: 50px; }
  .menu-btn { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 10px 16px 16px; margin: 0; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .menu-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 12px; font-size: 16px; border-radius: 12px; }
  .main-nav .nav-account-m { display: block; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0; padding-top: 16px; }
  .account-btn span { display: none; }
  .account-btn { border: 0; padding: 8px; }
}

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 13px 22px; border-radius: 999px; text-decoration: none; transition: transform .08s, background .15s, box-shadow .15s; font-size: 15px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(137,0,7,.25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(1,47,255,.22); }
.btn-accent:hover { filter: brightness(.92); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-lg { padding: 16px 26px; font-size: 16px; }

label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], textarea, select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; min-height: 80px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* hero */
.hero { position: relative; border-radius: 26px; overflow: hidden; background: var(--bg-soft); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px; padding: 46px 44px; border: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; border: 26px solid var(--primary); border-radius: 50%; right: -160px; top: -150px; opacity: .08; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); }
.hero h1 .script { font-size: 1.25em; display: inline-block; }
.hero p { font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 380px; margin: 0 auto; border-radius: 22px; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: 0; bottom: 16px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.hero-badge b { color: var(--accent); }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 28px 20px; text-align: left; }
  .hero-art img { max-width: 300px; }
}

/* sections */
.section { margin-top: 56px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; text-decoration: none; }

.cat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); padding: 28px; text-decoration: none; color: #fff; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.cat-card.c1 { background: linear-gradient(135deg, var(--primary), #b3121b); }
.cat-card.c2 { background: linear-gradient(135deg, var(--accent), #3d63ff); }
.cat-card h3 { font-size: 26px; margin: 0 0 6px; }
.cat-card p { margin: 0; opacity: .92; max-width: 340px; }
.cat-card .arrow { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 20px; }
@media (max-width: 640px) { .cat-cards { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.step-n { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.step:nth-child(even) .step-n { background: var(--accent); }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* product grid */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pcard { text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard-img { aspect-ratio: 1; background: var(--bg-soft); position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.pcard-tags { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.pcard-tag { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.pcard-tag.sale { background: #e53935; }
.pcard-tag.alt { background: #fff; color: var(--primary); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.pcard.is-custom .pcard-tag:not(.sale):not(.alt) { background: var(--primary); }
.pcard-body { padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-foot { padding: 0 16px 16px; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.btn.added { background: var(--ok); }
.btn-wa { background: #25d366; color: #fff; }
.pcard-body h3 { font-size: 15px; margin: 0; font-weight: 700; }
.pcard-body p { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }
.price { font-weight: 800; color: var(--primary); font-size: 17px; }
.price s { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 6px; }
.pcard-cta { font-size: 13px; font-weight: 700; color: var(--accent); }

.page-title { margin-bottom: 6px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); padding: 0; cursor: pointer; background: #fff; }
.thumbs button.on { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info .price { font-size: 26px; margin: 4px 0 16px; display: block; }
.product-desc { color: #4a4444; white-space: pre-line; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; gap: 20px; } }

.opt-group { margin: 18px 0; }
.opt-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; }
.opt-label em { font-style: normal; font-weight: 500; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); }
.pill:hover { border-color: var(--primary); }
.pill.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pill small { font-weight: 500; opacity: .8; }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.swatch.on { box-shadow: 0 0 0 2.5px var(--primary); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.qty input { width: 46px; text-align: center; border: 0; padding: 0; font-weight: 700; box-shadow: none !important; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.buy-row .btn { flex: 1; }
.stock-note { font-size: 13px; margin-top: 10px; }
.stock-note.ok { color: var(--ok); } .stock-note.low { color: var(--warn); }

/* customizer */
.cz { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start; }
.cz-preview { position: sticky; top: 92px; }
.cz-canvas-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); position: relative; }
.cz-canvas-wrap canvas { width: 100%; height: auto; display: block; }
.cz-view-label { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 5px 12px; }
.cz-price-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.cz-price-bar .price { font-size: 26px; }
.cz-gallery { display: flex; gap: 8px; margin-top: 12px; }
.cz-gallery button { width: 64px; height: 64px; border-radius: 10px; border: 2px solid var(--line); overflow: hidden; padding: 0; background: #fff; cursor: pointer; }
.cz-gallery button.on { border-color: var(--primary); }
.cz-gallery img { width: 100%; height: 100%; object-fit: cover; }
.flow { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.flow span { font-size: 12px; font-weight: 700; background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.flow span b { color: var(--primary); }
.cz-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; background: #fff; }
.cz-step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.cz-step-h .n { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; flex: none; }
.cz-step-h h3 { margin: 0; font-size: 16px; }
.tabs { display: flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; margin: 12px 0; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.font-pills .pill { font-size: 17px; }
.dropzone { border: 2px dashed #d8cfcc; border-radius: 14px; padding: 22px; text-align: center; cursor: pointer; background: var(--bg-soft); display: block; }
.dropzone:hover { border-color: var(--accent); }
.dropzone input { display: none; }
.dropzone b { color: var(--accent); }
.photo-chip { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.photo-chip img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.photo-chip .grow { flex: 1; font-size: 13px; }
.info-box { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; font-size: 14px; display: flex; gap: 10px; }
.info-box.red { background: var(--primary-soft); }
.counter { text-align: right; font-size: 12px; color: var(--muted); margin-top: -10px; margin-bottom: 8px; }
.link-btn { background: none; border: 0; color: var(--primary); font: inherit; font-weight: 700; cursor: pointer; padding: 4px; }
@media (max-width: 860px) {
  .cz { grid-template-columns: 1fr; gap: 18px; }
  .cz-preview { position: relative; top: 0; }
}

/* cart */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; background: var(--bg-soft); border: 1px solid var(--line); }
.cart-line h3 { font-size: 15px; margin: 0 0 4px; }
.cart-line .meta { font-size: 13px; color: var(--muted); }
.cart-line .meta b { color: var(--ink); font-weight: 600; }
.cart-line .right { text-align: right; display: flex; flex-direction: column; align-items: end; gap: 8px; }
.summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 92px; }
.summary h3 { margin-top: 0; }
.sum-row { display: flex; justify-content: space-between; margin: 8px 0; }
.sum-row.total { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.ship-hint { font-size: 13px; background: #fff; border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.ship-bar { height: 6px; background: var(--line); border-radius: 9px; margin-top: 6px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--accent); }
.empty { text-align: center; padding: 60px 20px; }
.empty .big { font-family: var(--script); font-size: 54px; color: var(--primary); }
@media (max-width: 860px) {
  .cart { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; height: 72px; }
  .cart-line .right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* checkout */
.pay-methods { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: #fff; }
.pay-opt:hover { border-color: var(--accent); }
.pay-opt.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pay-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.pay-opt .t { flex: 1; }
.pay-opt .t b { display: block; }
.pay-opt .t span { font-size: 13px; color: var(--muted); }
.pay-logos { display: flex; gap: 6px; }
.pay-logos i { font-style: normal; font-size: 10px; font-weight: 800; border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 12px 0; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); }
.co-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.co-box h3 { margin-top: 0; font-size: 17px; }
.mini-line { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 10px; }
.mini-line img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.mini-line .grow { flex: 1; }
.form-error { background: #fdecea; color: #a01818; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px; }

/* simulated payment */
.pay-sim { max-width: 460px; margin: 10px auto; }
.pay-card { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.pay-card-h { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.pay-card-b { padding: 22px; }
.paypal-h { background: #ffc439; }
.paypal-logo { font-weight: 800; font-size: 24px; font-style: italic; }
.paypal-logo .p1 { color: #003087; } .paypal-logo .p2 { color: #009cde; }
.paypal-btn { background: #ffc439; color: #111; }
.paypal-btn:hover { background: #f2b500; }
.demo-note { font-size: 12px; text-align: center; color: var(--muted); margin-top: 12px; }
.card-visual { background: linear-gradient(135deg, var(--primary), #2a0003 60%, var(--accent)); color: #fff; border-radius: 16px; padding: 20px; height: 170px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 18px; font-family: ui-monospace, monospace; }
.card-visual .num { font-size: 19px; letter-spacing: 2px; }
.spinner { width: 46px; height: 46px; border: 4px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* order page */
.order-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--bg-soft); }
.badge.blue { background: var(--accent-soft); color: var(--accent); }
.badge.red { background: var(--primary-soft); color: var(--primary); }
.badge.green { background: #e6f5ec; color: var(--ok); }
.badge.orange { background: #fff3e0; color: var(--warn); }
.tracker { display: flex; margin: 24px 0; position: relative; }
.tracker .t-step { flex: 1; text-align: center; position: relative; font-size: 12px; font-weight: 600; color: var(--muted); }
.tracker .t-step::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.tracker .t-step:first-child::before { display: none; }
.tracker .dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 6px; position: relative; z-index: 1; display: grid; place-items: center; font-size: 14px; }
.tracker .done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.tracker .done::before { background: var(--primary); }
.tracker .current .dot { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 5px var(--accent-soft); }
.tracker .current { color: var(--ink); }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } .tracker .t-step span { display: none; } }
.proof-card { border: 2px solid var(--accent); border-radius: 20px; padding: 20px; margin-bottom: 20px; background: linear-gradient(180deg, var(--accent-soft), #fff 140px); }
.proof-card.done { border-color: var(--line); background: #fff; }
.proof-img { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; margin: 14px 0; }
.proof-img img { width: 100%; max-height: 560px; object-fit: contain; }
.proof-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .proof-actions { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.timeline li::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-size: 12px; color: var(--muted); }
.success-hero { text-align: center; background: var(--bg-soft); border-radius: 22px; padding: 30px 20px; margin-bottom: 24px; border: 1px solid var(--line); }
.success-hero .script { font-size: 48px; display: block; line-height: 1; }

/* footer */
.site-footer { background: #1b0a0b; color: #e7dcdb; padding: 46px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 26px; }
.footer-addr { font-size: 14px; }
.site-footer p a { display: block; }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-icons i { font-style: normal; font-size: 10.5px; font-weight: 800; background: rgba(255,255,255,.1); border-radius: 5px; padding: 3px 7px; color: #fff; }
@media (max-width: 900px) and (min-width: 721px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--script); font-size: 32px; color: #fff; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { display: block; color: #e7dcdb; text-decoration: none; margin-bottom: 6px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; font-size: 12.5px; color: #b9aaa9; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 100; transition: transform .25s, opacity .25s; opacity: 0; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.loading { padding: 80px 0; }
.mobile-buy { display: none; }
@media (max-width: 860px) {
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; z-index: 40; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .mobile-buy .price { font-size: 19px; }
  .mobile-buy .btn { flex: 1; }
  body.has-mobile-buy main { padding-bottom: 100px; }
}

/* ===== home ===== */
.welcome { text-align: center; padding: 6px 0 18px; }
.welcome .script { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; display: block; }
.welcome p { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo-card { position: relative; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 30px 0; isolation: isolate; transition: transform .2s, box-shadow .2s; }
.duo-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.duo-custom { background: linear-gradient(150deg, var(--primary) 0%, #b3121b 60%, #d33a3f 100%); }
.duo-casa { background: linear-gradient(150deg, var(--accent) 0%, #2b55ff 60%, #5f84ff 100%); }
.duo-card::after { content: ''; position: absolute; width: 380px; height: 380px; border: 22px solid rgba(255,255,255,.12); border-radius: 50%; right: -120px; top: -120px; z-index: -1; }
.duo-text { max-width: 440px; position: relative; z-index: 1; }
.duo-kicker { display: inline-block; background: rgba(255,255,255,.18); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.duo-card h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.duo-card p { opacity: .93; margin: 0 0 18px; font-size: 15px; }
.duo-card img { width: 62%; max-width: 300px; align-self: flex-end; margin-top: 14px; border-radius: 18px 18px 0 0; box-shadow: 0 -6px 30px rgba(0,0,0,.25); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .duo-card { min-height: 0; padding: 24px 22px 0; } .duo-card img { width: 55%; } }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.trust > div { display: flex; gap: 12px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.trust .ti { font-size: 26px; }
.trust b { display: block; font-size: 14px; }
.trust span:not(.ti) { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .trust > div { padding: 12px; } .trust .ti { font-size: 22px; } }

.kicker { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 4px; }
.kicker.blue { color: var(--accent); }
.kicker.light { color: rgba(255,255,255,.85); }
.band-casa, .band-custom { padding: 26px; border-radius: 26px; }
.band-casa { background: linear-gradient(180deg, var(--accent-soft), #fff 70%); }
.band-custom { background: linear-gradient(180deg, var(--primary-soft), #fff 70%); }
@media (max-width: 560px) { .band-casa, .band-custom { padding: 18px 12px; border-radius: 18px; } }
.promo-tile { border-radius: var(--radius); background: linear-gradient(160deg, var(--accent), #5f84ff); color: #fff; text-decoration: none; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 260px; }
.promo-tile.red { background: linear-gradient(160deg, var(--primary), #d33a3f); }
.promo-tile .script { color: #fff; font-size: 36px; line-height: 1; }
.promo-tile b { font-size: 20px; line-height: 1.2; }
.promo-tile .btn { align-self: flex-start; margin-top: 8px; }
.how-band .steps { margin-top: 4px; }
.about-teaser { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 26px; padding: 34px; }
.about-img img { width: 100%; max-width: 260px; margin: 0 auto; }
@media (max-width: 760px) { .about-teaser { grid-template-columns: 1fr; padding: 24px; } .about-img img { max-width: 160px; } }

/* categoria */
.cat-hero { border-radius: 24px; color: #fff; padding: 30px; margin-bottom: 18px; position: relative; overflow: hidden; }
.cat-hero.red { background: linear-gradient(140deg, var(--primary), #c22027); }
.cat-hero.blue { background: linear-gradient(140deg, var(--accent), #5f84ff); }
.cat-hero::after { content: ''; position: absolute; width: 300px; height: 300px; border: 20px solid rgba(255,255,255,.12); border-radius: 50%; right: -90px; top: -110px; }
.cat-hero h1 { margin-bottom: 6px; }
.cat-hero p { margin: 0 0 14px; opacity: .92; max-width: 640px; }
.flow.light span { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.25); color: #fff; }
.flow.light span b { color: #fff; }
.list-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sort select { width: auto; padding: 8px 12px; }
.cross { margin-top: 30px; }
.cross-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; border-radius: 18px; padding: 20px 22px; color: #fff; }
.cross-card.red { background: linear-gradient(140deg, var(--primary), #c22027); }
.cross-card.blue { background: linear-gradient(140deg, var(--accent), #5f84ff); }
.cross-card b { font-size: 17px; }
.cross-card span { opacity: .9; font-size: 14px; }
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .split-cta { grid-template-columns: 1fr; } }

/* chi siamo */
.about-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 26px; padding: 40px; }
.about-hero .lead { font-size: 18px; color: #3d3636; margin: 0; }
.about-logo img { max-width: 280px; width: 100%; margin: 0 auto; }
.about-body { max-width: 760px; margin: 28px auto 0; font-size: 16.5px; color: #3d3636; }
.about-body p { margin: 0 0 16px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; }
.value > span { font-size: 30px; }
.value h3 { font-size: 16px; margin: 10px 0 6px; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }
.visit { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: stretch; }
.visit .map { width: 100%; min-height: 280px; border: 0; border-radius: 20px; background: var(--bg-soft); }
@media (max-width: 860px) { .about-hero, .visit { grid-template-columns: 1fr; padding: 24px; } .visit { padding: 0; } .values { grid-template-columns: 1fr 1fr; } .about-logo img { max-width: 170px; } }
@media (max-width: 460px) { .values { grid-template-columns: 1fr; } }

/* contatti */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; margin-top: 18px; }
.contact-card p { margin: 0 0 10px; }
.sent { text-align: center; padding: 30px 10px; }
.sent .script { font-size: 48px; display: block; line-height: 1; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* accedi */
.auth { display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); max-width: 940px; margin: 10px auto; box-shadow: var(--shadow); }
.auth-side { background: linear-gradient(150deg, var(--primary), #c22027); color: #fff; padding: 40px; }
.auth-side .script { color: #fff; font-size: 46px; display: block; line-height: 1; margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { padding: 8px 0 8px 30px; position: relative; font-weight: 600; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 12px; }
.auth-box { padding: 30px; background: #fff; }
.auth-box .tabs { margin-top: 0; }
@media (max-width: 760px) { .auth { grid-template-columns: 1fr; } .auth-side { padding: 26px; } .auth-side h2 { font-size: 20px; } .ticks { margin-top: 10px; } .auth-box { padding: 22px 18px; } }

/* account */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.account-head h1 { margin: 2px 0; }
.account-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
.account-grid h2 { font-size: 20px; }
.order-row { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; text-decoration: none; color: inherit; background: #fff; }
.order-row:hover { border-color: var(--primary); }
.order-row img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: var(--bg-soft); border: 1px solid var(--line); }
.order-row .grow { flex: 1; }
.proof-alert { display: flex; gap: 12px; background: var(--accent-soft); border: 2px solid var(--accent); border-radius: 16px; padding: 14px 16px; margin-bottom: 20px; font-size: 14px; }
.proof-alert a { font-weight: 700; }
.ok-msg { background: #e6f5ec; color: var(--ok); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.empty-sm { text-align: center; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }

/* newsletter + whatsapp */
.newsletter { background: var(--primary-soft); margin-top: 50px; padding: 30px 0; }
.nl-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.nl-row h3 { margin: 0 0 4px; font-size: 20px; color: var(--primary); }
.nl-row p { margin: 0; color: #5a4c4c; font-size: 14px; max-width: 520px; }
.nl-form { display: flex; gap: 8px; flex: 1; max-width: 440px; min-width: 260px; }
.nl-form input { border-radius: 999px; }
.nl-ok { font-weight: 700; color: var(--ok); margin: 0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); z-index: 45; }
.wa-float[hidden] { display: none; }
body.has-mobile-buy .wa-float { bottom: 86px; }

/* mobile: 2 prodotti per riga */
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-body { padding: 10px 10px 8px; gap: 4px; }
  .pcard-body h3 { font-size: 13.5px; }
  .pcard-body p { display: none; }
  .pcard-foot { padding: 0 10px 10px; }
  .pcard-foot .btn { padding: 9px 8px; font-size: 12.5px; }
  .pcard-tag { font-size: 9.5px; padding: 3px 7px; }
  .pcard-tags { top: 7px; left: 7px; gap: 4px; }
  .price { font-size: 15px; }
  .promo-tile { grid-column: 1 / -1; min-height: 0; padding: 18px; }
  .promo-tile .script { font-size: 30px; }
  .footer-brand { font-size: 28px; }
  .welcome .script { font-size: 34px; }
}
@media (max-width: 560px) {
  .order-row { flex-wrap: wrap; gap: 10px; }
  .order-row .grow { min-width: 0; }
  .order-row > div:last-child { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left !important; }
  .order-row > div:last-child br { display: none; }
}
