/* ---------- Print shop storefront ---------- */
:root {
  --brand: #C8009E;
  --brand-ink: #fff;
  --dark: #0A1A45;
  --ink: #1b2436;
  --muted: #5e6b80;
  --line: #dfe5ee;
  --bg: #f7f9fc;
  --card: #ffffff;
  --soft: #edf2f9;
  --ok: #2f8a4e;
  --warn: #b8741a;
  --bad: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 6px 22px rgba(10, 31, 68, .07);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
}
* { 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.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; color: var(--dark); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* announcement + header */
.announce { background: var(--dark); color: #e6edf8; font-size: .85rem; text-align: center; padding: 8px 12px; }
.site-header { background: var(--card); border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, #00E5E8, #1A3A9A 50%, #FF10C8) 1; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--dark); white-space: nowrap; }
.logo img { height: 56px; width: auto; }
@media (max-width: 820px) { .logo img { height: 40px; } }
.logo .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 1rem; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 9px; font-weight: 550; color: var(--ink); font-size: .95rem; }
.nav a:hover, .nav a.active { background: var(--soft); }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cart-count { background: var(--brand); color: #fff; border-radius: 999px; font-size: .72rem; min-width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0 5px; font-weight: 700; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; font-size: 1.5rem; cursor: pointer; padding: 6px; color: var(--dark); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--card); flex-direction: column; align-items: stretch; padding: 10px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 11px; padding: 12px 20px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; transition: transform .05s, filter .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(.95); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
input:not([type]), input[type=text], input[type=password], input[type=color], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); border-color: var(--brand); }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; }

/* cards + layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head a { font-weight: 600; color: var(--brand); text-decoration: none; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* hero */
.hero { background: linear-gradient(135deg, var(--soft), #fff 70%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--dark); aspect-ratio: 16 / 11; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; } }
.trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: .9rem; }
.trust b { color: var(--dark); display: block; font-size: 1rem; }

/* product cards */
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; 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(--soft); position: relative; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard .name { font-weight: 700; color: var(--dark); }
.pcard .sum { color: var(--muted); font-size: .88rem; flex: 1; }
.price { font-weight: 750; color: var(--dark); }
.price s { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: .9em; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--dark); }
.pcard .badge { position: absolute; top: 10px; left: 10px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.badge.sale { background: var(--brand); color: #fff; }
.badge.out { background: #444; color: #fff; }

/* chips / filters */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer; text-decoration: none; color: var(--ink); }
.chip.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.toolbar input[type=search] { max-width: 260px; }
.toolbar select { width: auto; }

/* product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 36px 0 56px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 24px; } }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 1; border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--soft); }
.thumbs button.active { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo .price { font-size: 1.6rem; margin: 6px 0 16px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; margin: 18px 0; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 40px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; }
.qty input { width: 52px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; padding: 10px 0; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-top: 8px; }
.buy-row .btn { flex: 1; }
.desc { white-space: pre-line; }
.stock-note { font-size: .9rem; margin-top: 10px; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; padding: 30px 0 60px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--soft); }
.line .opts { font-size: .85rem; color: var(--muted); }
.line .remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 0; }
.summary .r { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { font-weight: 800; font-size: 1.2rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; color: var(--dark); }
.ship-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; margin-bottom: 8px; cursor: pointer; font-weight: 500; }
.ship-opt.sel { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.ship-opt .p { margin-left: auto; font-weight: 700; }
.progress { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.progress span { display: block; height: 100%; background: var(--brand); }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; }

/* alerts */
.alert { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: .93rem; }
.alert.err { background: #fdecea; color: #8a2318; }
.alert.ok { background: #e8f5ec; color: #1d5e33; }
.alert.info { background: var(--soft); color: var(--dark); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--dark); color: #fff; padding: 12px 18px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 200; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast a { color: #9fd0ff; font-weight: 700; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.band { background: var(--dark); color: #e6edf8; }
.band h2 { color: #fff; }
.band .muted { color: #b6c3d8; }

/* custom quote */
.custom-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; padding: 30px 0 60px; align-items: start; }
@media (max-width: 960px) { .custom-layout { grid-template-columns: 1fr; } }
.drop { border: 2px dashed color-mix(in srgb, var(--brand) 55%, var(--line)); border-radius: var(--radius); background: #fff; padding: 34px 20px; text-align: center; cursor: pointer; transition: background .15s; }
.drop.over { background: color-mix(in srgb, var(--brand) 8%, #fff); }
.drop .big { font-size: 2.2rem; }
.model { display: grid; grid-template-columns: 220px 1fr; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px; margin-top: 14px; }
@media (max-width: 600px) { .model { grid-template-columns: 1fr; } }
.viewer { width: 100%; aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #fff, #e7edf5); overflow: hidden; cursor: grab; touch-action: none; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; }
.model .stats { font-size: .9rem; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-content: start; }
.model .stats dt { color: var(--muted); }
.model .stats dd { margin: 0; font-weight: 600; }
.estimate { position: sticky; top: 90px; }
.estimate .big { font-size: 2.2rem; font-weight: 800; color: var(--dark); font-family: var(--display); }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; accent-color: var(--brand); }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.seg button { flex: 1; border: 0; background: none; padding: 10px 6px; font: inherit; font-size: .88rem; cursor: pointer; }
.seg button.active { background: var(--dark); color: #fff; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; display: inline-flex; gap: 7px; align-items: center; background: #fff; cursor: pointer; font: inherit; font-size: .85rem; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatch.active { border-color: var(--dark); box-shadow: 0 0 0 1px var(--dark); }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.timeline li::after { content: ""; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.status-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--soft); }
.status-pill.paid, .status-pill.printing, .status-pill.ready { background: #fff1e5; color: #9a4a12; }
.status-pill.shipped, .status-pill.delivered, .status-pill.quoted { background: #e8f5ec; color: #1d5e33; }
.status-pill.cancelled, .status-pill.refunded, .status-pill.declined, .status-pill.expired { background: #eee; color: #555; }

/* prose pages */
.prose { max-width: 760px; padding: 36px 0 60px; }
.prose p { white-space: pre-line; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 650; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--dark); color: #c5d1e3; margin-top: 40px; padding: 44px 0 26px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-footer a { color: #c5d1e3; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8c9bb3; }
.skeleton { background: linear-gradient(90deg, var(--soft), #fff, var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 2.6rem; }
.band .step .muted { color: var(--muted); }
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard .body { padding: 10px 12px 14px; }
  .pcard .sum { display: none; }
  .hero .cta .btn { flex: 1; }
}
