/* Threadzy design system: playful, sticker-style. Fonts self-hosted in /assets/fonts. */
/* latin-ext covers Estonian š and ž */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #FFF8EC;
  --ink: #1A1530;
  --text: #2A2540;
  --coral: #FF5A36;
  --coral-dark: #E0431F;
  --yellow: #FFD84D;
  --violet: #6C4DFF;
  --mint: #45D6A0;
  --c0: #FFC2D9; --c1: #FFE27A; --c2: #B7F0D2; --c3: #BFE0FF; --c4: #D9C9FF;
  --muted: #6a6483;
  --line: 2.5px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 20px;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --section-space: 3rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--violet); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; color: var(--ink); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
mark { background: var(--yellow); color: var(--ink); padding: 0 .18em; border-radius: .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.2rem; max-width: 56ch; }
.plain { list-style: none; padding: 0; margin: 0; }

/* Top bar + header */
.topbar { background: var(--ink); color: var(--yellow); text-align: center; font-size: .85rem; font-weight: 600; padding: .45rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand img { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav > a:not(.lang):not(.cart-link):hover, .nav a[aria-current] { color: var(--coral-dark); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; border-bottom: 3px dashed var(--coral); }
.nav .lang { border: var(--line); border-radius: 999px; padding: .1rem .65rem; font-size: .8rem; background: #fff; }
.cart-link { display: inline-flex; position: relative; background: var(--yellow); border: var(--line); border-radius: 50%; width: 42px; height: 42px; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.cart-link .count { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--coral); color: #fff; font-size: .72rem; display: grid; place-items: center; border: 2px solid var(--ink); padding: 0 4px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--ink); position: relative; content: ""; }
.burger span::before { position: absolute; top: -8px; }
.burger span::after { position: absolute; top: 8px; }

/* Buttons + stickers */
.btn { display: inline-block; background: var(--coral); color: #fff; font: 700 1rem var(--font-body); padding: .8rem 1.5rem; border-radius: 999px; border: var(--line); text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.consent { position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; background: var(--cream); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.25rem; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.15rem; margin-bottom: .3em; }
.consent p { margin: 0 0 .8rem; font-size: .92rem; }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent .btn { padding: .55rem 1.2rem; font-size: .95rem; }
@media (min-width: 40rem) { .consent { right: auto; } }
.btn-big { font-size: 1.1rem; padding: 1rem 1.9rem; }
.btn-small { padding: .4rem 1rem; font-size: .88rem; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.sticker { display: inline-block; background: var(--yellow); color: var(--ink); border: var(--line); border-radius: 999px; padding: .25rem .9rem; font: 700 .85rem var(--font-body); transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--ink); }
.sticker-pink { background: var(--c0); }
.sticker-yellow { background: var(--yellow); }
.eyebrow { display: inline-block; font-weight: 700; color: var(--coral-dark); margin-bottom: .75rem; }

/* Home hero */
.hero-home { background: var(--c1); border-bottom: var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding-block: 3.5rem 4rem; }
.hero-copy h1 { margin-top: 1rem; line-height: 1.25; letter-spacing: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 1.5rem; }
.perks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; }
.perks li::before { content: "✓ "; color: var(--coral-dark); }
.hero-art { position: relative; min-height: 440px; }
.blob { position: absolute; width: 58%; background: #fff; border: var(--line); border-radius: 28px; padding: 1rem; box-shadow: var(--shadow); }
.blob svg { width: 100%; height: auto; display: block; }
.b1 { left: 0; top: 4%; transform: rotate(-6deg); background: var(--c3); }
.b2 { right: 0; top: 0; width: 46%; transform: rotate(5deg); background: var(--c0); }
.b3 { right: 6%; bottom: 0; width: 50%; transform: rotate(-3deg); background: var(--c2); }
.patch { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; background: #fff; border: 2px dashed var(--ink); border-radius: 50%; font-size: 1rem; }
.p1 { left: 56%; top: 29%; } .p2 { left: 58%; top: 22%; } .p3 { left: 56%; top: 29%; }

.marquee { background: var(--ink); color: var(--cream); overflow: hidden; white-space: nowrap; border-bottom: var(--line); }
.marquee div { display: inline-flex; gap: 1.5rem; padding-block: .8rem; animation: slide 28s linear infinite; font: 700 1.15rem var(--font-display); }
.marquee i { color: var(--yellow); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.hero, .page-head { padding-block: 3rem 1rem; }
.hero { position: relative; }
.block { padding-block: var(--section-space); }
.block + .block { padding-top: 0; }
.hero > :last-child, .page-head > :last-child, .block > :last-child, .cta-band .wrap > :last-child { margin-bottom: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.sec-head a { font-weight: 700; color: var(--ink); }
.band { padding-block: 3.5rem; border-block: var(--line); }
.band-yellow { background: var(--yellow); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band { background: var(--violet); color: #fff; padding-block: 4rem; text-align: center; border-block: var(--line); }
.cta-band h2 { color: #fff; }

/* Cards */
.card { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.product-card { display: block; text-decoration: none; color: inherit; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.product-card:hover { transform: translate(-3px, -3px) rotate(var(--tilt)); box-shadow: 8px 8px 0 var(--ink); }
.card-art { display: block; position: relative; padding: 1.25rem 1.25rem .5rem; border-bottom: var(--line); }
.card-art svg { width: 100%; height: auto; display: block; }
.card-art .sticker { position: absolute; right: .75rem; top: .75rem; background: #fff; opacity: 0; transform: rotate(4deg) scale(.9); transition: .15s; }
.product-card:hover .sticker { opacity: 1; transform: rotate(4deg) scale(1); }
.card-body { display: grid; gap: .15rem; padding: .9rem 1.1rem 1.1rem; }
.card-body strong { font: 800 1.1rem var(--font-display); color: var(--ink); }
.dots { display: flex; gap: 5px; margin-top: .3rem; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }

.chips-nav, .chips, .filters, .view-tabs, .zone-btns { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.chip, .chips li { background: #fff; border: var(--line); border-radius: 999px; padding: .35rem 1rem; font: 600 .92rem var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer; }
.chips li { cursor: default; }
a.chip:hover, button.chip:hover { background: var(--yellow); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip.on { background: var(--ink); color: #fff; }
.chip:disabled { opacity: .4; cursor: not-allowed; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; padding: 0; margin: 1.5rem 0 0; }
.steps li { background: #fff; border: var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); color: var(--text); }
.steps li:nth-child(4n+1) { transform: rotate(-1.2deg); } .steps li:nth-child(4n+3) { transform: rotate(1.2deg); }
.steps h3 { color: var(--ink); }
.steps li > :last-child { margin-bottom: 0; }
.gift-roadmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 1.75rem 0 .25rem; padding: 0; }
.roadmap-stop { --stop-color: var(--c0); position: relative; display: grid; grid-template-rows: 52px 1fr; gap: 1rem; min-width: 0; }
.roadmap-stop:nth-child(2) { --stop-color: var(--c3); }
.roadmap-stop:nth-child(3) { --stop-color: var(--c1); }
.roadmap-stop:nth-child(4) { --stop-color: var(--c4); }
.roadmap-stop:nth-child(5) { --stop-color: var(--c2); }
.roadmap-stop:not(:last-child)::after { content: ''; position: absolute; left: calc(50% + 32px); top: 25px; width: calc(100% + 1.25rem - 64px); border-top: 2px dashed var(--ink); opacity: .55; }
.roadmap-number { display: grid; place-items: center; justify-self: center; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: var(--stop-color); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font: 800 1.35rem var(--font-display); }
.roadmap-copy { padding: 1rem; background: var(--stop-color); border: var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); }
.roadmap-copy h3 { font-size: 1.1rem; line-height: 1.3; letter-spacing: 0; margin-bottom: .6rem; overflow-wrap: anywhere; }
.roadmap-copy p { font-size: .92rem; line-height: 1.6; margin: 0; }
@media (max-width: 1050px) {
  .gift-roadmap { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: 660px; }
  .roadmap-stop { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto; gap: 1rem; align-items: start; }
  .roadmap-stop:not(:last-child)::after { left: 25px; top: 60px; bottom: -.75rem; width: 0; border-top: 0; border-left: 2px dashed var(--ink); }
  .roadmap-number { transform: rotate(-6deg); }
  .roadmap-stop:nth-child(even) .roadmap-number { transform: rotate(6deg); }
}
@media (max-width: 380px) {
  .roadmap-stop { gap: .75rem; }
  .roadmap-copy { padding: .85rem; }
}
.num { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--coral); color: #fff; border: var(--line); font: 800 1.05rem var(--font-display); margin-bottom: .75rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-block: var(--section-space); }
.duo-card { display: block; text-decoration: none; color: var(--ink); border: var(--line); border-radius: 28px; padding: 2rem; box-shadow: var(--shadow); transition: transform .15s; }
.duo-card:hover { transform: translate(-3px, -3px) rotate(-.5deg); }
.duo-biz { background: var(--c3); } .duo-gift { background: var(--c0); }
.duo-card h2 { margin-top: 1rem; }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; padding-block: 1rem var(--section-space); }
.trust p:last-child { margin-bottom: 0; }
.trust-item h3 { color: var(--coral-dark); }

.badge { display: inline-block; background: var(--coral); color: #fff; border: var(--line); padding: .35rem 1rem; border-radius: 999px; font-weight: 700; transform: rotate(-1.5deg); }
.table-scroll { overflow-x: auto; }
.table-scroll + p { margin-top: 1rem; }
.prices { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 640px; background: #fff; border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prices th, .prices td { text-align: left; padding: .8rem 1rem; border-bottom: 2px solid var(--cream); }
.prices thead th { background: var(--ink); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; padding-bottom: 4rem; }
.gallery figure { margin: 0; }
.gallery figure[hidden] { display: none; }
.ph { aspect-ratio: 4/5; border: var(--line); border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--c1), var(--c1) 12px, #ffeaa0 12px, #ffeaa0 24px); display: grid; place-items: center; font-weight: 600; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: var(--line); border-radius: var(--radius); }
figcaption { padding-top: .5rem; font-weight: 600; }

/* FAQ, contact, legal, notices */
.faq details { background: #fff; border: var(--line); border-radius: 16px; padding: 1rem 1.25rem; margin-bottom: .8rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font: 700 1.05rem var(--font-display); color: var(--ink); }
.faq details p { margin: .75rem 0 0; }
.faq + p { margin-top: 1.5rem; }
.contact { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 2rem 0; }
.contact dt { font-weight: 700; color: var(--ink); } .contact dd { margin: 0; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.notice { border: var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--c1); }
.notice.ok { background: var(--c2); } .notice.err { background: var(--c0); }

/* Forms */
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.card.form { padding: 1.5rem; align-content: start; margin-top: 0; }
.form label { display: grid; gap: .35rem; font-weight: 600; color: var(--ink); }
.form small { font-weight: 400; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea, input[type=file] {
  width: 100%; font: inherit; padding: .7rem .9rem; border: var(--line); border-radius: 12px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--violet); outline-offset: 1px; }
.field-err { color: #c0270f; font-weight: 600; font-size: .9rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.radios { display: flex; gap: 1rem; border: 0; padding: 0; margin: 0; }
.radios label, label.check { display: flex; gap: .5rem; align-items: center; font-weight: 600; }
.radios input, .check input { width: 1.2rem; height: 1.2rem; accent-color: var(--coral); }
.link-btn { background: none; border: 0; padding: 0; color: var(--coral-dark); text-decoration: underline; cursor: pointer; font: inherit; }

/* Designer */
.crumbs { padding-block: 1.2rem .5rem; font-weight: 600; }
.crumbs a { color: var(--ink); }
.about-social-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #dedce4; }
.about-social-section h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.about-social { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.about-social a { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.about-social a:hover { background: var(--c2); }
.designer-wrap { padding-top: 1rem; }
.designer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 2rem; align-items: start; padding-bottom: 2rem; }
.stage-col { position: sticky; top: 90px; }
.stage-box { position: relative; background: var(--c1); border: var(--line); border-radius: 28px; box-shadow: var(--shadow); margin-top: 1rem; overflow: hidden; }
.stage-box.over { background: var(--c2); outline: 4px dashed var(--ink); outline-offset: -12px; }
#stage { display: block; width: 100%; height: auto; touch-action: pan-y; outline-offset: -4px; }
#stage .hit, #stage .handle { touch-action: none; }
#stage .zone rect { fill: rgba(255,255,255,.08); stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 4 3; opacity: .45; }
#stage .zone text { font: 600 7px var(--font-body); fill: var(--ink); opacity: .55; }
#stage.dark .zone rect { stroke: #fff; opacity: .6; }
#stage.dark .zone text { fill: #fff; opacity: .85; }
#stage.dark .frame { stroke: #fff; }
#stage .zone.on rect { opacity: 1; stroke: var(--coral); stroke-width: 1.6; fill: rgba(255,90,54,.08); }
#stage .hit { fill: transparent; cursor: move; }
#stage .frame { fill: none; stroke: var(--violet); stroke-width: 1.2; stroke-dasharray: 3 2; }
#stage .handle { fill: #fff; stroke: var(--violet); stroke-width: 2; }
.drop-hint { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); background: #fff; border: var(--line); border-radius: 999px; padding: .45rem 1.1rem; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm); pointer-events: none; text-align: center; white-space: nowrap; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .9rem; flex-wrap: wrap; }
.switch { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; cursor: pointer; }
.switch input { accent-color: var(--coral); width: 1.1rem; height: 1.1rem; }

.panel { background: #fff; border: var(--line); border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow); }
.panel-title { font-size: 2rem; margin-bottom: .2em; letter-spacing: 0; }
.step { border-top: 2.5px dashed rgba(26,21,48,.25); padding-top: 1.1rem; margin-top: 1.1rem; }
.step h2 { font-size: 1.1rem; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: .8rem; letter-spacing: 0; }
.step .n { display: inline-grid; place-items: center; flex: 0 0 1.9rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--yellow); border: var(--line); font-size: .95rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch { width: 38px; height: 38px; border-radius: 50%; background: var(--sw); border: var(--line); cursor: pointer; padding: 0; }
.swatch[aria-checked="true"] { outline: 3px solid var(--coral); outline-offset: 3px; }
.dropzone { display: grid; gap: .15rem; text-align: center; border: 2.5px dashed var(--ink); border-radius: 18px; padding: 1.1rem; background: var(--c4); cursor: pointer; transition: background .15s; }
.dropzone:hover, input:focus-visible + .dropzone { background: var(--c3); }
.plist { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .5rem; }
.plist button { display: flex; gap: .7rem; align-items: center; width: 100%; text-align: left; background: #fff; border: var(--line); border-radius: 14px; padding: .4rem .7rem; font: inherit; cursor: pointer; }
.plist li.on button { background: var(--c1); }
.plist img { width: 42px; height: 42px; object-fit: contain; background: #eee; border-radius: 8px; }
.sel-panel { margin-top: .9rem; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .8rem; }
.num-grid label { display: grid; gap: .2rem; font-size: .78rem; font-weight: 600; }
.num-grid input { padding: .45rem .5rem; }
.sel-actions { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.warn { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .4rem; }
.warn li { background: var(--c1); border: 2px solid var(--ink); border-radius: 12px; padding: .4rem .7rem; font-size: .85rem; font-weight: 500; }
.warn li::before { content: "⚠ "; }
.size-guide { display: inline-flex; align-items: center; min-height: 44px; margin-top: -.6rem; }
.size-guide[hidden] { display: none; }
.size-grid { display: grid; gap: 0; }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem .5rem; border-bottom: 1px solid #dedce4; }
.size-row[hidden] { display: none; }
.size-row label { font-size: .95rem; font-weight: 700; }
.size-row.has-quantity { background: #eefaf3; }
.quantity-control { display: grid; grid-template-columns: 44px 56px 44px; align-items: center; }
.quantity-control button { width: 44px; height: 44px; background: #fff; border: 1px solid #a8a4b4; border-radius: 8px; font: 600 1.2rem var(--font-body); color: var(--ink); cursor: pointer; }
.quantity-control button:hover:not(:disabled) { background: var(--c1); }
.quantity-control button:disabled { opacity: .35; cursor: default; }
.quantity-control input { min-width: 0; height: 44px; padding: 0; text-align: center; border: 0; border-radius: 0; background: transparent; font-size: 16px; font-weight: 600; appearance: textfield; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.price-box { margin-top: 1.2rem; background: var(--c2); border: var(--line); border-radius: 8px; padding: .9rem 1rem; }
.price-row { display: flex; justify-content: space-between; gap: 1rem; }
.price-row > span { min-width: 0; }
.price-row > b { flex-shrink: 0; }
.price-row.total { font: 800 1.3rem var(--font-display); border-top: 2.5px dashed var(--ink); margin-top: .5rem; padding-top: .5rem; }
.price-row small { font: 500 .75rem var(--font-body); }
.price-fee-note { margin: .35rem 0 0; }
#p-hint { margin: .6rem 0 0; }
.designer-details { margin-top: .4rem; border-bottom: 1px solid #dedce4; }
.designer-details summary { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 44px; padding-block: .55rem; font-size: .875rem; font-weight: 600; cursor: pointer; list-style: none; }
.designer-details summary::-webkit-details-marker { display: none; }
.designer-details summary::after { content: '+'; flex-shrink: 0; font-size: 1.2rem; }
.designer-details[open] > summary::after { content: '\2212'; }
.designer-details p { margin: .4rem 0 .8rem; }
.designer-details .num-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: .8rem; }
.artwork-width { max-width: 180px; }
.designer-promise { margin: .6rem 0 0; text-align: center; }
.setup-row { position: relative; align-items: center; }
.setup-label { display: inline-flex; align-items: center; justify-content: flex-start; gap: .2rem; min-width: 0; }
.setup-info summary { display: grid; align-items: center; justify-items: start; width: 32px; height: 44px; cursor: pointer; list-style: none; }
.setup-info summary::-webkit-details-marker { display: none; }
.setup-info summary > span { display: grid; place-items: center; width: 23px; height: 23px; border: 1.5px solid currentColor; border-radius: 50%; font-weight: 700; font-family: Georgia, serif; }
.setup-info[open] summary > span { background: var(--ink); color: #fff; }
.setup-explanation { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; padding: 1rem; background: #fff; border: var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); font-size: .9rem; }
.setup-explanation p { margin: .5rem 0 0; }
.trust-section { padding-block: 2rem; scroll-margin-top: 100px; }
.trust-eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .5rem; }
.trust-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.trust-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.25rem; }
.trust-photo-grid figure { margin: 0; min-width: 0; }
.trust-photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--cream); }
.embroidery-photos img { aspect-ratio: 4 / 5; }
.embroidery-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 0; list-style: none; counter-reset: embroidery-step; margin-block: 1.5rem; }
.embroidery-process li { counter-increment: embroidery-step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.embroidery-process li::before { content: counter(embroidery-step, decimal-leading-zero); display: block; font-weight: 800; color: var(--coral-dark); margin-bottom: .75rem; }
.embroidery-process h3 { font-size: 1.05rem; }
.embroidery-process p { font-size: .95rem; margin-bottom: 0; }
.trust-reassurance { background: var(--c2); border-radius: 12px; padding: 1rem; }
.digitising-story { padding: clamp(1.1rem, 3vw, 2.5rem); background: #fff; border: 1px solid #dedce4; border-radius: 24px; }
.digitising-story-heading { max-width: 680px; margin-bottom: 1.75rem; }
.digitising-story-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.digitising-comparison { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 1rem; align-items: start; }
.digitising-image { margin: 0; min-width: 0; }
.digitising-image-frame { aspect-ratio: 6 / 5; border-radius: 16px; overflow: hidden; background: #f5f4f1; }
.digitising-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.digitising-result { background: #fff; }
.digitising-result img { object-fit: contain; padding: .75rem; }
.digitising-image figcaption { display: flex; align-items: start; gap: .7rem; margin-top: 1rem; }
.digitising-step { display: grid; place-items: center; flex: 0 0 32px; height: 32px; background: var(--c2); color: var(--ink); border-radius: 50%; font-size: .75rem; font-weight: 700; }
.digitising-image figcaption > span:last-child { display: grid; gap: .2rem; }
.digitising-image figcaption strong { font-size: 1rem; color: var(--ink); }
.digitising-image figcaption > span > span { font-size: .85rem; color: var(--muted); }
.digitising-arrow { align-self: start; margin-top: clamp(70px, 11vw, 170px); color: var(--violet); }
.digitising-arrow svg { display: block; width: 100%; height: 40px; }
.digitising-human-note { border-top: 1px solid #dedce4; margin: 1.75rem 0 0; padding-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.digitising-human-note strong { color: var(--ink); }
@media (max-width: 700px) {
  .digitising-comparison { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .digitising-arrow { width: 40px; height: 40px; justify-self: center; margin: 0; transform: rotate(90deg); }
  .digitising-story-heading { margin-bottom: 1.25rem; }
  .digitising-image figcaption { margin-top: .75rem; }
}
@media (max-width: 700px) {
  .trust-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .trust-photo-grid > :first-child { grid-column: 1 / -1; }
  .trust-photo-grid > :first-child img { aspect-ratio: 4 / 3; }
  .embroidery-process { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .trust-section { padding-block: 1.5rem; }
}
.breaks { width: 100%; font-size: .85rem; border-collapse: collapse; margin-top: .5rem; }
.breaks caption { text-align: left; font-weight: 600; margin-bottom: .3rem; }
.breaks tr { display: inline-flex; margin: .15rem .2rem 0 0; background: #fff; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.breaks th, .breaks td { padding: .1rem .6rem; text-align: left; font-weight: 600; }
.breaks tr.on { background: var(--ink); color: #fff; }
.note { display: grid; gap: .3rem; font-weight: 600; margin-block: 1rem .8rem; }
.panel .btn-big { width: 100%; margin-top: .5rem; }

/* Cart */
.cart-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; padding-bottom: 4rem; }
.cart-item { display: grid; grid-template-columns: 200px 1fr; gap: 1.2rem; padding: 1rem; margin-bottom: 1.2rem; align-items: start; }
.cart-item img { width: 100%; height: auto; border: var(--line); border-radius: 14px; background: var(--cream); }
.cart-item h2 { font-size: 1.3rem; }
.cart-item > div { min-width: 0; }
.cart-product-preview { margin: 0; }
.cart-product-preview > svg { display: block; width: 100%; max-height: 280px; background: var(--cream); border: var(--line); border-radius: 14px; }
.cart-product-preview figcaption, .cart-uploaded-images figcaption { margin-top: .4rem; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.cart-originals { margin-block: 1rem; }
.cart-originals h3 { font-size: .95rem; margin-bottom: .6rem; }
.cart-uploaded-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: .6rem; }
.cart-uploaded-images figure { margin: 0; max-width: 220px; }
.cart-uploaded-images img { display: block; width: 100%; height: 160px; object-fit: contain; background: #fff; border: 1px solid #dedce4; border-radius: 10px; }
.total-line { font: 800 1.4rem var(--font-display); text-align: right; }

/* Footer */
.site-footer { background: var(--ink); color: #d6d2e6; padding-top: var(--section-space); }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer .cols > div > :last-child { margin-bottom: 0; }
.foot-logo { height: 34px; width: auto; margin-bottom: .75rem; }
.h-small { font: 700 .85rem var(--font-body); color: var(--yellow); margin-bottom: .6rem; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .social { list-style: none; display: flex; gap: .6rem; margin: 1rem 0 0; padding: 0; }
.site-footer .social li { margin: 0; }
.site-footer .social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1.5px solid #3a3358; border-radius: 50%; transition: background .15s, color .15s, border-color .15s; }
.site-footer .social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.site-footer .social svg { width: 1.2rem; height: 1.2rem; }
.legal-line { padding-block: 2rem 1.5rem; margin-top: 2rem; border-top: 1px solid #3a3358; font-size: .85rem; }

@media (max-width: 900px) {
  .hero-grid, .designer, .cart-grid, .duo { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 360px; }
  .stage-col { position: static; }
  .cart-item { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem 1rem 1.5rem; background: var(--cream); border-bottom: var(--line); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, .marquee div { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Real product photos (optional) */
.card-art img { width: 100%; height: auto; display: block; aspect-ratio: 10/9; object-fit: cover; margin: -1.25rem -1.25rem -.5rem; width: calc(100% + 2.5rem); max-width: none; }

/* Photo gallery (masonry via CSS columns) */
.masonry { columns: 3 280px; column-gap: 1.25rem; padding-bottom: var(--section-space); }
.masonry figure { break-inside: avoid; margin: 0 0 1.25rem; }
.masonry figure[hidden] { display: none; }
.masonry img, .strip img, .hero-photo img { display: block; width: 100%; height: auto; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--sand, #eee); }
.masonry figcaption { padding: .5rem .25rem 0; font-weight: 600; font-size: .95rem; }

/* "Stitched lately" strip on the home page */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; align-items: start; }
.strip a { display: block; text-decoration: none; transition: transform .15s; }
.strip a:nth-child(odd) { transform: rotate(-1.2deg); } .strip a:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.strip a:hover { transform: rotate(0) scale(1.03); }
.strip img { aspect-ratio: 4/5; object-fit: cover; }

/* Photo beside text blocks (gifts / business) */
.split-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.hero-photo { position: relative; }
.hero-photo img { transform: rotate(2deg); box-shadow: var(--shadow); border-radius: 28px; }
.hero-photo .sticker { position: absolute; left: -.5rem; bottom: 1.5rem; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.photo-pair img { aspect-ratio: 4/5; object-fit: cover; width: 100%; height: auto; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.photo-pair img:nth-child(2) { transform: translateY(18px); }
@media (max-width: 900px) { .split-photo { grid-template-columns: minmax(0, 1fr); } }

/* Reviews: chat-bubble wall */
.reviews { background: var(--c4); border-block: var(--line); padding-block: 4rem; overflow: hidden; }
.reviews h2 { margin-top: .75rem; }
.bubbles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem 1.5rem; margin-top: 2.5rem; align-items: start; }
.bubble { position: relative; margin: 0; background: var(--bg); border: var(--line); border-radius: 26px 26px 26px 6px; padding: 1.4rem 1.4rem 1.1rem; box-shadow: var(--shadow); transform: rotate(var(--tilt)); transition: transform .2s; }
.bubble:hover { transform: rotate(0) translateY(-4px); }
.bubble::before { content: "“"; position: absolute; top: -1.35rem; left: 1rem; font: 800 4.5rem/1 var(--font-display); color: var(--ink); background: var(--yellow); border: var(--line); border-radius: 50%; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; padding-top: .9rem; box-shadow: 2px 2px 0 var(--ink); }
.bubble blockquote { margin: .9rem 0 0; }
.bubble blockquote p { font: 600 1.08rem/1.5 var(--font-display); color: var(--ink); margin: 0 0 1rem; }
.bubble figcaption { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; font-weight: 600; color: var(--ink); border-top: 2.5px dashed rgba(26,21,48,.35); padding-top: .7rem; }
.bubble .hearts { color: var(--coral-dark); letter-spacing: .2em; }
.bubble figcaption i { font-weight: 500; opacity: .7; }
.bubble-photo { display: block; width: 100%; height: 170px; object-fit: cover; object-position: center 55%; border: var(--line); border-radius: 16px; margin-top: .6rem; }
.reviews-note { margin: 2rem 0 0; }
.bubble:nth-child(even) { margin-top: 1.5rem; }
@media (max-width: 640px) { .bubble:nth-child(even) { margin-top: 0; } }

/* Product page: concise product overview */
.product-hero { padding-block: 1rem 2.5rem; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr); gap: 2rem; align-items: start; }
.product-hero-media { display: grid; gap: 1rem; }
.product-hero-copy { display: grid; gap: 1rem; align-content: start; padding-top: .5rem; }
.product-hero-copy h1 { margin-bottom: 0; }
.product-hero-copy .lead { margin-bottom: 0; }
.product-facts { list-style: none; padding: 0; margin: .25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.product-facts li { background: #fff; border: var(--line); border-radius: 16px; padding: .75rem .85rem; box-shadow: var(--shadow-sm); min-width: 0; }
.product-facts span { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.product-facts b { display: block; color: var(--ink); line-height: 1.25; overflow-wrap: anywhere; }
.product-swatches { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .1rem; }
.product-swatches span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sw); box-shadow: 1px 1px 0 var(--ink); }
.product-info { padding-block: 1rem 3rem; }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 .5rem; }
.jump a { background: #fff; border: var(--line); border-radius: 999px; padding: .3rem 1rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.jump a:hover { background: var(--yellow); }
.gallery-view { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 1rem; }
.gallery-main { margin: 0; }
.gallery-main img { display: block; width: 100%; height: auto; border: var(--line); border-radius: 24px; box-shadow: var(--shadow); background: #ddd; }
.gallery-main figcaption { padding: .6rem .3rem 0; font-weight: 600; }
.gallery-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.gallery-thumbs button { padding: 0; border: var(--line); border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; display: block; width: 100%; }
.gallery-thumbs button[aria-pressed="true"] { outline: 3px solid var(--coral); outline-offset: 2px; }
.gallery-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.info-card { padding: 1.4rem; }
.product-detail { padding: 0; overflow: hidden; }
.product-detail summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font: 800 1.2rem var(--font-display); color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-detail summary::-webkit-details-marker { display: none; }
.product-detail summary::after { content: "+"; display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 auto; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font: 800 1.1rem/1 var(--font-body); }
.product-detail[open] summary::after { content: "−"; }
.product-detail .kv-list, .product-detail .table-scroll, .product-detail p { margin-inline: 1.2rem; }
.product-detail > :last-child { margin-bottom: 1.2rem; }
.kv-list { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0 0 1rem; }
.kv-list dt { font-weight: 700; color: var(--ink); } .kv-list dd { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--coral-dark); font-weight: 800; }
.size-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.size-table th, .size-table td { padding: .55rem .6rem; border-bottom: 2px solid var(--cream); text-align: center; }
.size-table thead th { background: var(--ink); color: #fff; }
.size-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.product-credit { margin-top: 1rem; }
.card-art img.real { aspect-ratio: 10/9; object-fit: cover; object-position: center 25%; }
@media (max-width: 900px) { .product-hero-grid, .gallery-view, .info-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .product-facts { grid-template-columns: minmax(0, 1fr); } .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Gift designer: placeholder disclaimer, missing-photo hints */
.placeholder-note { margin: .8rem 0 0; padding: .7rem .9rem; border: 2px dashed #8A8798; border-radius: 14px; background: #efeef2; color: #4b475c; font-size: .9rem; }
.placeholder-note b { color: var(--ink); }
.plist .missing { color: var(--coral-dark); font-weight: 600; }
#need-photo[hidden] { display: none; }

/* Gift designer: garment tiles + portrait choice cards */
.garment-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.garment-tiles + p { margin-top: .75rem; }
.tile { display: grid; gap: .25rem; justify-items: center; padding: .5rem .4rem; background: #fff; border: var(--line); border-radius: 14px; cursor: pointer; font: 600 .78rem var(--font-body); color: var(--ink); }
.tile svg { width: 100%; height: auto; max-width: 84px; }
.tile:hover { background: var(--c1); }
.tile[aria-checked="true"] { background: var(--ink); color: #fff; }
.preview-note { margin: .8rem .2rem 0; font-size: .9rem; color: var(--muted); }
.portrait-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.portrait-card { display: grid; gap: .6rem; text-decoration: none; color: var(--ink); border: var(--line); border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow); transition: transform .15s; }
.portrait-card:hover { transform: translate(-3px, -3px) rotate(-.6deg); }
.portrait-card.pet { background: var(--c0); } .portrait-card.car { background: var(--c3); } .portrait-card.other { background: var(--c1); }
.portrait-card img { width: 100%; height: 220px; object-fit: cover; border: var(--line); border-radius: 18px; background: #fff; }
.portrait-card h3 { font-size: 1.6rem; margin: .3rem 0 0; }
.portrait-card p { margin-bottom: 0; }
@media (max-width: 700px) { .portrait-choice { grid-template-columns: minmax(0, 1fr); } }


/* seller details (legal pages, contact) */
dl.company { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.25rem; margin: .5rem 0 1rem; }
dl.company dt { font-weight: 700; }
dl.company dd { margin: 0; }
.contact + h2, dl.company + h2 { margin-top: 2rem; }
.legal ul { padding-left: 1.25rem; }
.cart-totals { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; max-width: 24rem; margin-left: auto; text-align: right; }
.cart-totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 2px solid currentColor; padding-top: .35rem; margin-top: .25rem; }

/* type selector (logo / pet / car / other) in the designer */
.type-tiles { display: flex; flex-wrap: wrap; gap: .5rem; }
.type-tile { background: #fff; border: var(--line); border-radius: 999px; padding: .45rem 1.1rem; font: 700 .95rem var(--font-body); color: var(--ink); text-decoration: none; }
.type-tile:hover { background: var(--yellow); }
.type-tile[aria-current="page"] { background: var(--ink); color: #fff; }

/* breathing room for plain content sections that follow a page head (cart, thank-you pages, empty states) */
.page-head + .wrap, .page-head + .wrap.narrow { padding-block: 1.5rem var(--section-space); }
.page-head + .wrap > :last-child { margin-bottom: 0; }
.page-head { padding-bottom: 1.5rem; }
.hero.narrow { padding-bottom: var(--section-space); }
.notice { margin-block: 1.5rem; }
.notice h2 { margin-top: 0; }
.notice > :last-child { margin-bottom: 0; }
.cart-item + .cart-item { margin-top: 1rem; }
.cart-totals { margin-top: 1.5rem; }

/* Portfolio: photos are plain buttons that open the lightbox (no visible titles) */
.masonry .lb-open, .embroidery-photos .lb-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.masonry .lb-open img, .embroidery-photos .lb-open img { transition: transform .15s; }
.masonry .lb-open:hover img, .embroidery-photos .lb-open:hover img { transform: scale(1.015); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(20, 16, 36, .88); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox .lb-img { max-width: min(92vw, 1100px); max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); background: #fff; }
.lightbox button { position: absolute; border: 2px solid #fff; background: rgba(20, 16, 36, .6); color: #fff; width: 3rem; height: 3rem; border-radius: 50%; font: 700 1.8rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1rem; transform: none; } .lightbox .lb-prev { left: 30%; } .lightbox .lb-next { right: 30%; } }

/* crawlable text under the designer */
.seo-text { padding-block: 0 2rem; max-width: 860px; }
.seo-text h2 { margin-bottom: 1rem; }
.seo-text h3 { margin: 1.5rem 0 .4rem; font-size: 1.15rem; }
.seo-text p { max-width: 70ch; }
.seo-text .small a + a::before { content: ' · '; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 900px) {
  .designer { display: block; }
  .designer > *, .cart-grid > *, .gallery-view > *, .info-cols > *, .hero-grid > *, .duo > * { min-width: 0; }
  .view-tabs { background: var(--cream); margin: 0; padding: 0; height: 3.4rem; box-sizing: border-box; align-items: center; flex-wrap: nowrap; }
  .stage-box { margin-top: 0; border-radius: 20px; }
  #stage { max-height: 32vh; }
  .stage-col .toolbar, .stage-col .placeholder-note { margin-top: .6rem; }
  .panel { margin-top: 1rem; padding: 1rem; border-radius: 22px; }
  .panel :is(button, input, textarea, summary, .step, .size-grid, .price-box) { scroll-margin-top: 5.25rem; }
}
@media (max-width: 820px) {
  .is-designer .nav { max-height: calc(100dvh - 8rem); overflow-y: auto; }
}
@media (max-width: 700px) {
  :root { --section-space: 2rem; }
  input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { font-size: 16px; } /* no zoom-in when a field is focused on iOS */
  .chip, .type-tile { min-height: 44px; display: inline-flex; align-items: center; }
  .swatch { width: 44px; height: 44px; }
  .num-grid input { padding: .7rem .5rem; }
  .garment-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .tile { font-size: .72rem; padding: .4rem .25rem; }
  .step h2 { font-size: 1.05rem; }
  .hero, .page-head { padding-block: 2rem .5rem; }
  .block { padding-bottom: var(--section-space); }
  .band, .cta-band, .reviews { padding-block: var(--section-space); }
  h1 { overflow-wrap: anywhere; }
  .table-scroll, .scroll { overflow-x: auto; }
  .band-in { flex-direction: column; align-items: flex-start; }
  .price-row { gap: .5rem; }
}
@media (pointer: coarse) { .drop-hint { display: none; } } /* nobody drags a file onto a phone */

/* visually hidden file inputs must stay 1px: the generic input[type=file] rule would make them 100% wide and push the page sideways */
input[type=file].sr { width: 1px; height: 1px; padding: 0; border: 0; }
@media (max-width: 700px) { .cart-item img { max-height: 280px; object-fit: contain; } }
.invoice-opt[hidden] { display: none; }

/* Parcel machine picker (cart) */
.combo { position: relative; }
.combo-btn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .7rem .9rem; font: inherit; text-align: left; background: #fff; color: var(--ink); border: var(--line); border-radius: var(--radius); cursor: pointer; }
.combo-btn[aria-expanded="true"] { background: var(--c1); }
.combo-value { display: grid; min-width: 0; }
.combo-value.is-placeholder { color: var(--muted); font-weight: 600; }
.combo-value small { font-weight: 400; color: var(--muted); }
.combo-chev { flex: none; font-size: 1.1rem; }
.combo-panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .35rem); padding: .6rem; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0, 0, 0, .15); }
.combo-panel[hidden] { display: none; }
.combo-search { width: 100%; }
.combo-count { margin: .4rem .2rem; }
.combo-list { max-height: 17rem; overflow-y: auto; margin: 0; padding: 0; list-style: none; overscroll-behavior: contain; }
.combo-list li { display: grid; padding: .5rem .6rem; border-radius: .5rem; cursor: pointer; font-weight: 400; }
.combo-list li b { font-weight: 600; }
.combo-list li small { color: var(--muted); }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--c1); }
.combo-list li.is-picked b::after { content: " ✓"; color: var(--coral); }
.combo-list .combo-group { position: sticky; top: 0; padding: .3rem .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: #fff; cursor: default; }
.combo-list .combo-group:hover { background: #fff; }
.combo-list .combo-empty { cursor: default; color: var(--muted); }
.company-field[hidden] { display: none; }
.form .field { display: grid; gap: .35rem; } .form .field > span { font-weight: 600; color: var(--ink); }

/* Halloween promo (seasonal; remove with the 'promo' block in config/pricing.php) */
:root { --pumpkin: #FF7A1A; --night: #2B1B4A; }
.topbar-halloween { background: var(--night); color: var(--pumpkin); }
.sticker-orange { background: var(--pumpkin); color: var(--ink); }
.sale-badge { position: absolute; left: .75rem; top: .75rem; background: var(--pumpkin); color: var(--ink); border: var(--line); border-radius: 999px; padding: .2rem .7rem; font: 800 .9rem var(--font-body); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-4deg); }
.was { color: var(--muted); font-weight: 500; margin-left: .35rem; }
.halloween-note { display: inline-block; background: var(--night); color: var(--pumpkin); border-radius: 12px; padding: .5rem .9rem; font-weight: 700; margin: 0 0 1rem; }
.halloween-deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; background: var(--night); color: var(--cream); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; text-decoration: none; }
.halloween-deal .hd-art { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--c4); }
.halloween-deal .hd-art img { display: block; width: 100%; height: auto; }
.halloween-deal h2 { color: var(--pumpkin); margin: .6rem 0 .4rem; }
.halloween-deal p { margin: 0 0 .8rem; }
.halloween-deal .hd-price b { font: 800 1.8rem var(--font-display); color: var(--yellow); }
.halloween-deal .was { color: #bdb4d8; }
.halloween-deal .btn { background: var(--pumpkin); color: var(--ink); }
@media (max-width: 720px) { .halloween-deal { grid-template-columns: 1fr; padding: 1rem; } }

/* Fathers' Day nametag sweatshirt: order form on the product page, the tag itself, the home banner */
.nametag { display: inline-grid; place-items: center; width: 15rem; max-width: 100%; aspect-ratio: 3 / 1; padding: .25rem .9rem; background: #1b3aa8; color: #fff; border: .2rem solid #fff; border-radius: .5rem; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 3px 8px rgba(0,0,0,.25); font: 700 1.35rem/1.1 Arial, Helvetica, sans-serif; letter-spacing: .02em; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.nametag-sm { width: 9rem; font-size: .8rem; border-width: .13rem; border-radius: .3rem; vertical-align: middle; margin-left: .35rem; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.nametag-sticker { justify-self: start; }
.nametag-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.nametag-price b { font: 800 2.4rem/1 var(--font-display); color: var(--ink); }
.nametag-price span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.nametag-form { display: grid; gap: 1rem; padding: 1.3rem; box-shadow: var(--shadow); }
.nametag-form h2 { font-size: 1.5rem; margin: 0; }
.nametag-preview { display: grid; place-items: center; padding: 1.6rem 1rem; border: var(--line); border-radius: 16px; background: var(--garment, #1E1B25); transition: background .2s; }
.nametag-note { margin: -.4rem 0 0; }
.nametag-help { margin: -.55rem 0 0; }
.nametag-field { display: grid; gap: .35rem; font-weight: 700; color: var(--ink); }
.nametag-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.nametag-field input { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.nametag-field input::placeholder { text-transform: none; font-weight: 500; }
.nametag-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.nametag-group legend { padding: 0; margin-bottom: .5rem; font-weight: 700; color: var(--ink); }
.nametag-colors, .nametag-sizes { display: flex; flex-wrap: wrap; gap: .55rem; }
.nt-swatch, .nt-size { position: relative; cursor: pointer; }
.nt-swatch input, .nt-size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nt-swatch > span:not(.sr) { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--sw); border: var(--line); }
.nt-swatch input:checked + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.nt-swatch input:focus-visible + span, .nt-size input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.nt-size span { display: grid; place-items: center; min-width: 3.1rem; height: 44px; padding-inline: .8rem; background: #fff; border: var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); }
.nt-size input:checked + span { background: var(--ink); color: #fff; }
.nametag-buy { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }
.nametag-buy .btn { flex: 1 1 14rem; }
.nametag-story-card { padding: 1.6rem; }
.nametag-story-card h2 { margin-bottom: .8rem; }
.nametag-story-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.nametag-story-grid p:last-child { margin-bottom: 0; }
.nametag-story-grid .ticks { background: var(--c1); border: var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; font-weight: 600; color: var(--ink); }
.fathers-day { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center; background: var(--c0); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 2rem; overflow: hidden; }
.fathers-day h2 { margin-top: .6rem; }
.fathers-day p { max-width: 46ch; }
.fd-art { display: block; max-height: 22rem; overflow: hidden; border: var(--line); border-radius: 16px; }
.fd-art img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .nametag-story-grid, .fathers-day { grid-template-columns: minmax(0, 1fr); } .fathers-day { padding: 1.2rem; } .fd-art { max-height: 16rem; } }
