@font-face {
  font-family: "Playfair Ters";
  src: url("/assets/fonts/PlayfairDisplay-Italic.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #f2f2ee;
  --white: #ffffff;
  --ink: #191919;
  --muted: #686963;
  --line: #d7d8d2;
  --coral: #ff6047;
  --yellow: #ffd84d;
  --green: #216e4e;
  --radius: 18px;
  --sans: "Avenir Next", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.drawer-open { overflow: hidden; }
button, input, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.test-ribbon { padding: 8px 14px; background: repeating-linear-gradient(45deg, var(--yellow) 0 18px, #f2c832 18px 36px); border-bottom: 1px solid var(--ink); text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.sandbox-note { display: block; margin-top: 6px; color: #7a5b00; font-weight: 750; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  min-height: 80px; padding: 0 max(22px, calc((100vw - 1280px) / 2));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 13px; width: max-content; font-size: 19px; font-weight: 820; letter-spacing: -.04em; }
.brand img { width: 40px; height: 40px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 800; letter-spacing: -.015em; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--coral); transition: right 160ms ease; }
.site-header nav a:hover::after { right: 0; }
.cart-button { justify-self: end; min-width: 102px; padding: 10px 10px 10px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 780; transition: background 160ms ease, color 160ms ease; }
.cart-button:hover { background: var(--ink); color: var(--white); }
.cart-button span { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 11px; transition: background 160ms ease, color 160ms ease; }
.cart-button:hover span { background: var(--yellow); color: var(--ink); }

.hero { width: min(1280px, calc(100% - 44px)); margin: 0 auto; padding: 58px 0 38px; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.eyebrow.light { color: #b9b9b2; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(52px, 7.1vw, 102px); line-height: .9; letter-spacing: -.075em; font-weight: 820; }
h1 em { color: var(--coral); font-family: "Playfair Ters", Georgia, serif; font-weight: 400; }
.hero-copy { max-width: 1100px; margin: 0 auto 34px; text-align: center; }
.hero-copy .eyebrow { justify-content: center; }
.hero-intro { max-width: 670px; margin: 0 auto 17px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.shop-shortcut { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.shop-shortcut span { color: var(--coral); }
.creator-console { overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--ink); border-radius: 28px; background: var(--white); box-shadow: 0 28px 80px rgba(25, 25, 25, .10); }
.maker { min-width: 0; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.maker-head { margin-bottom: 23px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.maker-head strong { display: block; max-width: 340px; font-size: 22px; line-height: 1.08; font-weight: 820; letter-spacing: -.04em; }
.maker-head div > span { display: block; margin-bottom: 7px; color: var(--coral); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.maker-time { flex-shrink: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.maker-time i { width: 7px; height: 7px; border-radius: 50%; background: #34aa63; box-shadow: 0 0 0 4px rgba(52, 170, 99, .12); }
.surprise-button { flex-shrink: 0; height: 27px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--yellow); font-size: 10px; font-weight: 850; transition: transform 150ms ease; }
.surprise-button:hover { transform: rotate(-2deg) scale(1.04); }
.pair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pair-chip { min-height: 58px; padding: 9px 11px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; border: 1.5px solid var(--line); border-radius: 11px; background: #fafaf8; text-align: left; transition: border-color 140ms, background 140ms; }
.pair-chip:hover { border-color: var(--ink); }
.pair-chip strong { font-size: 13px; font-weight: 780; letter-spacing: -.02em; }
.pair-chip span { color: var(--muted); font-size: 11px; }
.pair-chip span::before { content: "× "; color: var(--coral); font-weight: 800; }
.pair-chip.is-selected { border-color: var(--ink); background: var(--ink); }
.pair-chip.is-selected strong { color: var(--white); }
.pair-chip.is-selected span { color: #b9b9b2; }
.pair-chip.is-selected span::before { color: var(--yellow); }
.custom-pair { margin-top: 4px; }
.custom-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding-bottom: 2px; }
.custom-fields label { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: center; color: var(--muted); font-size: 11px; font-weight: 750; }
.custom-fields label > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 9px; }
.maker input { grid-column: 1 / -1; width: 100%; height: 54px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fafaf8; outline: none; font-size: 16px; transition: border-color 140ms, box-shadow 140ms; }
.maker input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(25, 25, 25, .07); }
.generate-button, .primary-button, .secondary-button, .coral-button { min-height: 49px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 11px; font-weight: 780; transition: transform 150ms ease, background 150ms ease; }
.generate-button { width: 100%; min-height: 56px; margin-top: 16px; justify-content: space-between; border: 0; background: var(--ink); color: var(--white); }
.generate-button:hover, .primary-button:hover, .coral-button:hover { transform: translateY(-2px); }
.generate-button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-status { min-height: 16px; margin: 10px 2px 0; color: var(--coral); font-size: 12px; line-height: 1.4; }
.quick-ideas { margin: 17px 0 9px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quick-ideas::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.service-notes { margin: 20px 0 0; padding: 15px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 10px; font-weight: 650; }
.service-notes li::before { content: "✓"; margin-right: 6px; color: var(--green); }

.live-product { min-width: 0; padding: 20px; border-left: 1px solid var(--ink); background: #e9e9e4; }
.live-head { padding: 2px 6px 16px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.live-head span:first-child { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.live-head i { width: 7px; height: 7px; border-radius: 50%; background: #34aa63; box-shadow: 0 0 0 4px rgba(52, 170, 99, .13); }
.shirt-stage { position: relative; overflow: hidden; aspect-ratio: 1.16; border-radius: 17px; background: #deded8; }
.shirt-stage > img { width: 100%; height: 100%; object-fit: cover; }
.edition-tag { position: absolute; right: 13px; bottom: 13px; padding: 7px 9px; border-radius: 6px; background: rgba(25,25,25,.86); color: white; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.loading-card { position: absolute; inset: 0; z-index: 2; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(242,242,238,.95); text-align: center; }
.loading-card strong { margin-top: 14px; font-size: 18px; }
.loading-card p { max-width: 330px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.print-loader { width: 60px; height: 60px; display: grid; place-items: center; border: 9px solid var(--ink); border-right-color: transparent; border-radius: 50%; animation: spin 1.1s linear infinite; }
.print-loader span { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); transform: translate(22px, -22px); }
@keyframes spin { to { transform: rotate(360deg); } }
.live-meta { padding: 18px 6px 15px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.live-meta div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.live-meta div span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.live-meta div span::after { content: "×"; margin-left: 8px; color: var(--coral); }
.live-meta div strong { overflow: hidden; font: 21px/1.1 "Playfair Ters", serif; text-overflow: ellipsis; white-space: nowrap; }
.hero-price { font-size: 17px; font-weight: 800; white-space: nowrap; }
.live-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.live-actions .primary-button, .live-actions .secondary-button { min-height: 52px; }
.primary-button { border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.secondary-button { border: 1px solid var(--line); background: var(--white); }
.coral-button { border: 0; background: var(--coral); color: var(--ink); }

.campaign-bar { width: min(1280px, calc(100% - 44px)); min-height: 64px; margin: 0 auto; padding: 11px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--ink); border-radius: 16px; background: var(--yellow); }
.campaign-bar > div { display: flex; align-items: center; gap: 12px; }
.campaign-bar p { margin: 0; font-size: 13px; }
.campaign-gift { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); font-size: 17px; }
.campaign-bar code { padding: 8px 11px; border: 1px dashed var(--ink); border-radius: 7px; background: rgba(255,255,255,.38); font-family: var(--sans); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
#campaign-countdown { min-width: 122px; font-size: 10px; font-weight: 800; text-align: right; }

.shop-section, .how-section, .quality-section, .faq-section, footer { width: min(1280px, calc(100% - 44px)); margin-inline: auto; }
.shop-section { padding: 58px 0 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 50px; }
.section-heading h2, .how-title h2, .quality-copy h2, .sell-section h2, .faq-section h2 { margin-bottom: 0; font-size: clamp(44px, 5.2vw, 72px); line-height: .95; letter-spacing: -.065em; }
.section-heading > p { margin-bottom: 4px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.shop-toolbar { margin: 42px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
.filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
#product-count { color: var(--muted); font-size: 11px; font-weight: 650; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 14px; }
.product-card { min-width: 0; position: relative; }
.product-image { position: relative; overflow: hidden; aspect-ratio: .82; border-radius: 15px; background: #e4e5e0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 380ms cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-badge { position: absolute; left: 10px; top: 10px; padding: 6px 8px; border-radius: 6px; background: var(--white); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.upvote-button { position: absolute; right: 10px; top: 10px; min-width: 51px; height: 32px; padding: 0 9px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(25,25,25,.1); border-radius: 999px; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.upvote-button.is-voted { background: var(--coral); border-color: var(--coral); }
.product-info { padding: 12px 3px 0; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
.product-info button { padding: 0; border: 0; background: transparent; text-align: left; font-weight: 780; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-info > strong { font-size: 13px; }
.product-creator { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.product-creator span:first-child::before { content: "C·"; margin-right: 4px; color: var(--coral); font-weight: 850; }
.empty-products { grid-column: 1 / -1; padding: 70px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }

.how-section { padding: 105px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; border-top: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.how-grid article { min-height: 330px; padding: 25px 23px; display: flex; flex-direction: column; background: var(--paper); }
.how-grid article > span { margin-bottom: auto; color: var(--coral); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.how-grid h3 { margin-bottom: 10px; font-size: 25px; letter-spacing: -.045em; }
.how-grid p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.how-grid a, .how-grid button { width: max-content; margin-top: 16px; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 12px; font-weight: 800; }

.quality-section { padding: 100px 0 120px; display: grid; grid-template-columns: 1fr .82fr; gap: clamp(55px, 8vw, 120px); align-items: center; }
.quality-image { position: relative; overflow: hidden; aspect-ratio: .9; border-radius: 24px; background: var(--white); }
.quality-image::before { content: "THE BASE / 001"; position: absolute; z-index: 1; left: 18px; top: 18px; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.quality-image img { width: 100%; height: 100%; object-fit: cover; }
.quality-copy > p:not(.eyebrow) { margin: 27px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.quality-copy dl { margin: 0 0 24px; border-top: 1px solid var(--line); }
.quality-copy dl div { padding: 13px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 12px; }
.quality-copy dt { color: var(--muted); }
.quality-copy dd { margin: 0; font-weight: 750; }
.quality-copy small { color: var(--muted); font-size: 10px; line-height: 1.5; }

.sell-section { width: min(1380px, calc(100% - 24px)); margin: 0 auto; padding: clamp(55px, 8vw, 105px); display: grid; grid-template-columns: 80px 1fr .75fr; gap: clamp(30px, 5vw, 80px); align-items: center; border-radius: 28px; background: var(--ink); color: var(--white); }
.sell-section > img { width: 80px; filter: none; background: white; border-radius: 50%; }
.sell-section h2 { font-size: clamp(48px, 6vw, 86px); }
.sell-copy p { color: #b9b9b2; font-size: 15px; line-height: 1.65; }
.sell-copy button { margin-top: 15px; }

.faq-section { padding: 120px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 23px 35px 23px 0; position: relative; cursor: pointer; font-size: 15px; font-weight: 750; list-style: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 620px; margin: -5px 0 23px; color: var(--muted); font-size: 13px; line-height: 1.6; }

footer { padding: 55px 0 70px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; border-top: 1px solid var(--ink); }
footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 11px; }
footer strong { font-size: 12px; }
footer a, footer p { margin: 0; color: var(--muted); line-height: 1.5; }
.footer-brand img { width: 40px; height: 40px; margin-bottom: 8px; }
.footer-brand strong { font-size: 18px; letter-spacing: -.04em; }

.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(25,25,25,.42); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 100; right: 0; top: 0; bottom: 0; width: min(460px, 100%); padding: 22px; display: flex; flex-direction: column; background: var(--white); box-shadow: -20px 0 70px rgba(25,25,25,.2); transform: translateX(105%); transition: transform 260ms cubic-bezier(.2,.8,.2,1); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer header { padding-bottom: 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.cart-drawer header span, .cart-drawer header h2 { margin: 0; }
.cart-drawer header span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.cart-drawer header h2 { margin-top: 5px; font-size: 34px; letter-spacing: -.055em; }
.cart-drawer header button, .dialog-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 0; }
.cart-empty { padding: 70px 20px; text-align: center; color: var(--muted); }
.cart-item { padding: 12px 0; display: grid; grid-template-columns: 88px 1fr auto; gap: 13px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 104px; object-fit: cover; border-radius: 9px; background: var(--paper); }
.cart-item h3 { margin: 4px 0 5px; font-size: 13px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 10px; }
.cart-item .gift-note { color: var(--coral); font-weight: 750; }
.cart-item strong { font-size: 12px; }
.cart-item button { align-self: end; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; text-decoration: underline; }
.cart-footer { padding-top: 18px; border-top: 1px solid var(--ink); }
.shipping-progress { margin: 0 0 18px; padding: 13px; border-radius: 11px; background: var(--paper); transition: background 220ms ease; }
.shipping-progress > div:first-child { display: flex; align-items: center; gap: 8px; }
.shipping-progress > div:first-child > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 12px; font-weight: 900; transition: background 220ms ease, color 220ms ease; }
.shipping-progress p { margin: 0; font-size: 11px; font-weight: 780; }
.shipping-track { height: 7px; margin: 10px 0 7px; overflow: hidden; border-radius: 999px; background: #d9dad4; }
.shipping-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--yellow); transition: width 650ms cubic-bezier(.2,.8,.2,1), background 220ms ease; }
.shipping-progress small { margin: 0; }
.shipping-progress.is-free { background: #e2f2e8; }
.shipping-progress.is-free > div:first-child > span, .shipping-progress.is-free .shipping-track i { background: var(--green); color: var(--white); }
.cart-footer p { display: flex; justify-content: space-between; }
.coupon-saving { color: var(--green); font-weight: 800; }
.cart-footer small { display: block; margin-bottom: 16px; color: var(--muted); font-size: 10px; }
.cart-footer .primary-button { width: 100%; }

dialog { width: min(1080px, calc(100% - 30px)); max-height: calc(100svh - 30px); padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 100px rgba(25,25,25,.32); }
dialog::backdrop { background: rgba(25,25,25,.58); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; z-index: 4; right: 16px; top: 16px; background: var(--white); }
.product-dialog-grid { display: grid; grid-template-columns: 1.08fr .92fr; }
.dialog-product-image { min-height: 660px; background: #e5e6e2; }
.dialog-product-image img { width: 100%; height: 100%; object-fit: cover; }
.dialog-product-copy { padding: 65px 50px 45px; }
.dialog-product-copy h2 { margin-bottom: 4px; font-size: clamp(38px, 4.5vw, 62px); line-height: .95; letter-spacing: -.06em; }
.dialog-subtitle { color: var(--muted); font-family: "Playfair Ters", serif; font-size: 24px; }
.creator-line { margin: 18px 0; padding-block: 12px; display: flex; align-items: center; justify-content: space-between; border-block: 1px solid var(--line); }
.creator-line div { display: flex; flex-direction: column; gap: 2px; }
.creator-line span { font-size: 12px; font-weight: 800; }
.creator-line small { color: var(--muted); font-size: 10px; }
.creator-line button { min-height: 32px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-size: 10px; font-weight: 800; }
.creator-line button.is-subscribed { background: var(--ink); color: var(--white); }
.dialog-price { display: block; margin: 19px 0 14px; font-size: 19px; }
.dialog-product-copy > p:not(.eyebrow):not(.dialog-subtitle) { color: var(--muted); font-size: 13px; line-height: 1.6; }
.size-picker { margin: 22px 0 16px; padding: 0; border: 0; }
.size-picker legend { margin-bottom: 9px; font-size: 11px; font-weight: 800; }
.size-picker div { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.size-picker button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: 10px; font-weight: 750; }
.size-picker button.is-selected { border-color: var(--ink); background: var(--ink); color: var(--white); }
.gift-option { margin: 12px 0 15px; padding: 12px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.gift-option input { margin-top: 3px; accent-color: var(--coral); }
.gift-option span { display: flex; flex-direction: column; gap: 2px; }
.gift-option strong { font-size: 11px; }
.gift-option small { color: var(--muted); font-size: 9px; }
.dialog-product-copy > .primary-button { width: 100%; }
.upvote-dialog { width: 100%; min-height: 42px; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: transparent; font-size: 11px; font-weight: 800; }
.upvote-dialog.is-voted { border-color: var(--coral); background: var(--coral); }
.dialog-product-copy > ul { margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 9px; list-style: none; }
.dialog-product-copy > ul li::before { content: "✓"; margin-right: 4px; color: var(--green); }
.similar-products { padding: 25px; border-top: 1px solid var(--line); }
.similar-products > span { display: block; margin-bottom: 12px; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.similar-products > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.similar-card { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; border: 0; background: transparent; text-align: left; }
.similar-card img { width: 58px; height: 68px; object-fit: cover; border-radius: 7px; }
.similar-card strong { display: block; font-size: 10px; }
.similar-card span { color: var(--muted); font-size: 9px; }

.checkout-dialog { width: min(1120px, calc(100% - 30px)); }
.checkout-layout { display: grid; grid-template-columns: 1.15fr .85fr; }
.checkout-layout form { padding: 55px; background: var(--white); }
.checkout-layout form h2, .seller-dialog h2, .order-success h2 { margin-bottom: 30px; font-size: 52px; line-height: .95; letter-spacing: -.06em; }
.checkout-layout form section { margin: 25px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.checkout-layout form h3 { margin-bottom: 14px; font-size: 13px; }
.checkout-layout label, .seller-dialog label { margin-bottom: 10px; display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 750; }
.checkout-layout input, .seller-dialog input, .seller-dialog textarea { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); outline: none; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-layout form small { color: var(--coral); font-size: 9px; }
.checkout-layout form > .primary-button { width: 100%; }
.checkout-layout > aside { padding: 65px 40px; background: var(--paper); }
.checkout-layout > aside > span { font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.checkout-item { padding: 13px 0; display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.checkout-item img { width: 60px; height: 70px; object-fit: cover; border-radius: 7px; }
.checkout-item strong { font-size: 10px; }
.checkout-item small { display: block; color: var(--muted); font-size: 9px; }
.checkout-layout > aside > p { display: flex; justify-content: space-between; font-size: 11px; }
.checkout-total { padding-top: 15px; border-top: 1px solid var(--ink); font-size: 16px !important; }
.order-success { min-height: 620px; padding: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.order-success img { width: 65px; margin-bottom: 30px; }
.order-success p:not(.eyebrow) { max-width: 520px; color: var(--muted); line-height: 1.6; }
.order-success .primary-button { margin-top: 20px; }

.pay-secure { padding: 14px 15px; border: 1px solid #dfe7e2; border-radius: 11px; background: #eef6f0; color: #2c4a3a; font-size: 12px; line-height: 1.55; }
.pay-secure b { color: var(--green); }
.pay-button { position: relative; overflow: hidden; }
.pay-button:not(:disabled):hover { transform: translateY(-2px) scale(1.01); }
.pay-button:disabled { opacity: .7; cursor: wait; }
#checkout-status { margin-top: 10px; }

.celebration { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(25,25,25,.6); backdrop-filter: blur(8px); }
#confetti-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.celebration-card { position: relative; width: min(460px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: 34px 30px 26px; border-radius: 24px; background: var(--paper); text-align: center; box-shadow: 0 40px 120px rgba(25,25,25,.4); animation: card-pop 520ms cubic-bezier(.2,1.4,.3,1) both; }
@keyframes card-pop { from { opacity: 0; transform: translateY(26px) scale(.92); } to { opacity: 1; transform: none; } }
.celebration-card .eyebrow { justify-content: center; }
.celebration-check { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--white); font-size: 30px; font-weight: 800; animation: check-burst 700ms cubic-bezier(.2,1.6,.3,1) both 120ms; }
@keyframes check-burst { 0% { opacity: 0; transform: scale(.2) rotate(-30deg); } 60% { transform: scale(1.15); } 100% { opacity: 1; transform: none; } }
.celebration-card h2 { margin-bottom: 6px; font-size: 34px; letter-spacing: -.05em; }
.celebration-order { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.celebration-order strong { color: var(--ink); }
.celebration-product { margin: 0 0 18px; padding: 10px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: left; }
.celebration-product img { width: 62px; height: 74px; object-fit: cover; border-radius: 8px; background: var(--paper); }
.celebration-product strong { display: block; font-size: 13px; }
.celebration-product span { color: var(--muted); font-size: 11px; }
.journey-steps { margin: 0 0 20px; padding: 0; list-style: none; text-align: left; }
.journey-steps li { padding: 9px 2px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 650; opacity: 0; transform: translateX(-8px); transition: opacity 400ms ease, transform 400ms ease; }
.journey-steps li i { width: 21px; height: 21px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--line); color: var(--white); font-size: 11px; font-style: normal; font-weight: 800; transition: background 300ms ease; }
.journey-steps li.is-done { opacity: 1; transform: none; }
.journey-steps li.is-done i { background: var(--green); }
.legal-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted, #6b6b66); }
.legal-consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.legal-consent a { color: inherit; font-weight: 700; }
.celebration-card .primary-button { width: 100%; }
.celebration-card .celebration-track { text-decoration: none; margin-bottom: 10px; }
.celebration-card .secondary-button { width: 100%; }

.seller-dialog { width: min(600px, calc(100% - 30px)); padding: 55px; }
.seller-dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.seller-dialog textarea { resize: vertical; }
.seller-dialog .primary-button { width: 100%; }
.seller-status { min-height: 18px; margin: 12px 0 0; color: var(--green); font-size: 11px; }

.privacy-link { padding: 0; border: 0; background: transparent; color: var(--muted); text-align: left; }
.consent-bar {
  position: fixed; z-index: 500; left: 50%; bottom: 18px; width: min(760px, calc(100% - 28px));
  padding: 14px 14px 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 14px; background: var(--ink); color: var(--white); box-shadow: 0 18px 60px rgba(25,25,25,.28);
  transform: translateX(-50%);
}
.consent-bar p { margin: 0; font-size: 13px; line-height: 1.4; }
.consent-bar div { display: flex; gap: 7px; flex-shrink: 0; }
.consent-bar button { min-height: 38px; padding: 0 15px; border: 1px solid #666; border-radius: 999px; background: transparent; color: var(--white); font-size: 11px; font-weight: 800; }
.consent-bar #consent-accept { border-color: var(--coral); background: var(--coral); color: var(--ink); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .creator-console { grid-template-columns: 1fr 1fr; }
  .custom-fields { grid-template-columns: 1fr; }
  .pair-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .how-section, .faq-section { grid-template-columns: 1fr; gap: 45px; }
  .sell-section { grid-template-columns: 60px 1fr; }
  .sell-section > img { width: 60px; }
  .sell-copy { grid-column: 2; }
}

@media (max-width: 760px) {
  .site-header { min-height: 64px; padding-inline: 16px; }
  .brand span { font-size: 14px; }
  .hero, .shop-section, .how-section, .quality-section, .faq-section, footer { width: min(100% - 28px, 680px); }
  .hero { padding: 38px 0 28px; }
  h1 { font-size: clamp(46px, 14vw, 70px); }
  .hero-copy { margin-bottom: 27px; }
  .hero-intro { font-size: 15px; }
  .creator-console { grid-template-columns: 1fr; border-radius: 20px; }
  .maker { padding: 27px 20px; }
  .custom-fields { grid-template-columns: 1fr 1fr; }
  .pair-grid { grid-template-columns: repeat(3, 1fr); }
  .live-product { border-top: 1px solid var(--ink); border-left: 0; }
  .shirt-stage { aspect-ratio: 1.12; }
  .campaign-bar { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; gap: 8px; }
  .campaign-bar > div:last-child { width: 100%; justify-content: space-between; }
  #campaign-countdown { min-width: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .shop-section { padding: 75px 0; }
  .shop-toolbar { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 9px; }
  .how-section { padding: 75px 0; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { min-height: 250px; }
  .quality-section { padding: 70px 0; grid-template-columns: 1fr; gap: 45px; }
  .sell-section { width: calc(100% - 18px); padding: 45px 28px; grid-template-columns: 44px 1fr; border-radius: 20px; }
  .sell-section > img { width: 44px; }
  .sell-copy { grid-column: 1 / -1; }
  .faq-section { padding: 80px 0; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-dialog-grid, .checkout-layout { grid-template-columns: 1fr; }
  .dialog-product-image { min-height: auto; aspect-ratio: .9; }
  .dialog-product-copy, .checkout-layout form, .checkout-layout > aside, .seller-dialog { padding: 45px 22px 28px; }
  .similar-products > div { grid-template-columns: 1fr; }
  .checkout-layout > aside { order: -1; padding-top: 45px; }
  .consent-bar { align-items: stretch; flex-direction: column; gap: 12px; }
  .consent-bar div, .consent-bar button { flex: 1; }
}

@media (max-width: 450px) {
  .brand span { display: none; }
  .pair-grid { grid-template-columns: 1fr; }
  .custom-fields { grid-template-columns: 1fr; }
  .idea-strip { justify-content: flex-start; }
  .product-info { grid-template-columns: 1fr; }
  .product-info > strong { grid-row: 2; }
  .product-creator { grid-column: 1; }
  footer { grid-template-columns: 1fr; }
  .two-fields { grid-template-columns: 1fr; gap: 0; }
  .size-picker div { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
