:root {
  --red: #E5322D;
  --red-dark: #B8201C;
  --red-soft: #FDECEB;
  --ink: #141B2D;
  --ink-2: #3A4256;
  --muted: #6B7285;
  --gold: #FFB81C;
  --gold-soft: #FFF4D6;
  --green: #0F7B5F;
  --green-soft: #E3F4EE;
  --cream: #FFF8EE;
  --bg: #FFFFFF;
  --line: #E8E3DA;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 27, 45, .06), 0 8px 24px rgba(20, 27, 45, .08);
  --shadow-lg: 0 20px 50px rgba(20, 27, 45, .16);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* promo bar */
.promo { background: var(--ink); color: #fff; font-size: .86rem; text-align: center; padding: 8px 16px; }
.promo b { color: var(--gold); }
.promo a { color: #fff; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a.hot { color: var(--red); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff !important; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.cart-btn:hover { background: var(--red-dark) !important; }
.cart-count { background: var(--gold); color: var(--ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; cursor: pointer; padding: 8px; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .brand img { height: 36px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; font-size: 1rem; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(229,50,45,.35); }
.btn-red:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F2A900; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(229,50,45,.14), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(255,184,28,.18), transparent 60%), var(--cream); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--red); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 18px; }
.hero h1 span { color: var(--red); }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0; list-style: none; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.chips li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage img { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.hero-collage img:nth-child(2) { transform: translateY(28px); }
.hero-collage img:nth-child(3) { transform: translateY(-10px); }
.hero-badge { position: absolute; left: -18px; bottom: 26px; background: var(--red); color: #fff; padding: 14px 18px; border-radius: 18px; font-weight: 800; box-shadow: var(--shadow-lg); line-height: 1.2; transform: rotate(-4deg); }
.hero-badge small { display: block; font-weight: 600; opacity: .9; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; } .hero-badge { left: 8px; } }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 40em; }
.eyebrow { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 6px; display: block; }

/* cards grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 1; background: #F6F3EE; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1rem; margin: 0; }
.card-body p { font-size: .88rem; color: var(--muted); margin: 0; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--ink); margin-top: auto; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.tag-red { background: var(--red); color: #fff; }

.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; text-align: center; font-weight: 700; transition: .2s; }
.cat-tile:hover { border-color: var(--red); color: var(--red); }
.cat-tile img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 10px; width: 100%; }
@media (max-width: 800px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tier { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px; text-align: center; }
.tier b { display: block; font-size: 2.2rem; color: var(--gold); line-height: 1.1; }
@media (max-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }

.uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.use { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .2s; }
.use:hover { border-color: var(--red); box-shadow: var(--shadow); }
.use span { color: var(--red); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.use h3 { margin: 6px 0; }
.use p { font-size: .9rem; color: var(--muted); margin: 0; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

.cta-band { background: linear-gradient(120deg, var(--red), #F2542D); color: #fff; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .92; }

/* breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 24px 0 56px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.gallery { position: sticky; top: 90px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-main { position: relative; background: #F6F3EE; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 72px; height: 72px; flex: none; cursor: pointer; background: #F6F3EE; }
.gallery-thumbs button.active { border-color: var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.loading-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.8); display: none; place-items: center; text-align: center; font-weight: 700; padding: 20px; }
.loading-overlay.on { display: grid; }
.spinner { width: 42px; height: 42px; border: 4px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pdp h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pdp .big-price { font-size: 2rem; font-weight: 800; }
.pdp .big-price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.opt { margin: 18px 0; }
.opt-label { font-weight: 700; font-size: .92rem; margin-bottom: 8px; display: flex; justify-content: space-between; }
.opt-label span { font-weight: 500; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 3px #fff; }
.swatch.active { border-color: var(--red); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--red); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; font-size: .92rem; }
.pill.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill:hover:not(.active) { border-color: var(--ink); }

.personalizer { background: var(--cream); border-radius: var(--radius); padding: 20px; margin: 20px 0; border: 1px dashed #E5CFAE; }
.personalizer h3 { display: flex; align-items: center; gap: 8px; }
.dropzone { border: 2px dashed #D8C3A0; border-radius: 12px; padding: 18px; text-align: center; background: #fff; cursor: pointer; transition: .2s; display: block; }
.dropzone:hover, .dropzone.drag { border-color: var(--red); background: var(--red-soft); }
.dropzone input { display: none; }
.dropzone strong { color: var(--red); }
.logo-chip { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px; margin-top: 10px; font-size: .88rem; }
.logo-chip img { width: 48px; height: 48px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/12px 12px; border-radius: 6px; }
.design-preview { margin-top: 14px; border-radius: 12px; display: grid; place-items: center; padding: 16px; min-height: 160px; position: relative; transition: background .2s; }
.design-preview img { max-height: 260px; width: auto; }
.design-preview .label { position: absolute; top: 8px; left: 10px; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 999px; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.check { display: flex; gap: 8px; align-items: center; font-size: .9rem; cursor: pointer; margin-top: 10px; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.qty-row { display: flex; gap: 12px; align-items: stretch; margin-top: 16px; }
.qty { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: none; width: 42px; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 64px; text-align: center; border: 0; border-radius: 0; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 14px; font-size: .92rem; }
.price-box .row { display: flex; justify-content: space-between; }
.price-box .total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.saving { color: var(--green); font-weight: 700; }
.tier-hint { font-size: .85rem; background: var(--gold-soft); padding: 8px 12px; border-radius: 10px; margin-top: 10px; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; font-size: .85rem; }
.trust div { background: #F7F7F9; border-radius: 10px; padding: 10px 12px; }
.trust b { display: block; }
.bullets { padding-left: 0; list-style: none; }
.bullets li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.tier-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tier-table td, .tier-table th { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .9rem; margin-top: 10px; }
.alert-warn { background: var(--gold-soft); }
.alert-err { background: var(--red-soft); color: var(--red-dark); }
.alert-ok { background: var(--green-soft); color: var(--green); }

/* cart & checkout */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; padding: 24px 0 64px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; background: #F6F3EE; }
.cart-item h3 { font-size: 1rem; margin: 0 0 2px; }
.cart-item .meta { font-size: .85rem; color: var(--muted); }
.cart-item .remove { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font: inherit; font-size: .85rem; padding: 0; }
.summary { background: var(--cream); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.summary .total { font-size: 1.3rem; font-weight: 800; border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 12px; }
.ship-progress { background: #fff; border-radius: 999px; height: 10px; overflow: hidden; margin: 6px 0 14px; }
.ship-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-size: .85rem; font-weight: 600; display: block; }
.form-grid label input, .form-grid label select, .form-grid label textarea { margin-top: 4px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.fieldset { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.fieldset h2 { font-size: 1.2rem; }
.paym { display: grid; gap: 10px; }
.paym label { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.paym label:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.paym input { accent-color: var(--red); width: 18px; height: 18px; }
.paym small { display: block; color: var(--muted); }

.timeline { display: flex; gap: 0; margin: 24px 0; }
.timeline div { flex: 1; text-align: center; font-size: .82rem; font-weight: 600; color: var(--muted); position: relative; padding-top: 34px; }
.timeline div::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--line); z-index: 1; }
.timeline div::after { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.timeline div:first-child::after { display: none; }
.timeline div.done { color: var(--ink); }
.timeline div.done::before, .timeline div.done::after { background: var(--green); }

/* prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }

/* footer */
.footer { background: var(--ink); color: #C9CEDA; padding: 56px 0 28px; font-size: .9rem; }
.footer a { color: #C9CEDA; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.states-cloud { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25D366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 100; transition: transform .3s; display: flex; gap: 14px; align-items: center; font-weight: 600; max-width: calc(100% - 32px); }
.toast.on { transform: translateX(-50%) translateY(0); }
.toast a { color: var(--gold); }

.admin table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin td, .admin th { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.admin form { display: inline; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #eee; }
.badge.paid, .badge.in_production { background: var(--green-soft); color: var(--green); }
.badge.pending_payment { background: var(--gold-soft); }
.badge.shipped { background: #E0ECFF; color: #1E4FBF; }
.badge.cancelled { background: var(--red-soft); color: var(--red-dark); }
