/* The Cookie Club: site styles. Brand: black & white logo, warm cookie-dough cream, royal-icing pink. */
:root {
  --ink: #111;
  --ink-soft: #3b3530;
  --muted: #6b625a;
  --cream: #fdf6ec;
  --cream-2: #f7ead8;
  --dough: #d9a066;
  --pink: #f6b8c8;
  --pink-deep: #c94f72;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 2px 0 var(--ink), 0 10px 24px rgba(17, 17, 17, 0.08);
  --font-display: 'Bowlby One', 'Arial Black', Impact, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); background: var(--cream); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--pink-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--pink-deep); }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .h3, .cta-title { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 400; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.sub { max-width: 640px; margin: -0.25rem auto 2rem; color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.tm { font-size: 0.55em; vertical-align: super; line-height: 0; }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--pink-deep); margin-bottom: 0.75rem; }
.lead { font-size: 1.2rem; max-width: 60ch; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 800; font-size: 1rem; background: var(--ink); color: #fff; border: 2px solid var(--ink); padding: 0.8em 1.5em; border-radius: 999px; text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; box-shadow: 0 4px 0 var(--pink-deep); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 var(--pink-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--pink-deep); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--white); box-shadow: 0 6px 0 var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 4px 0 var(--pink); }
.btn-light:hover { color: var(--ink); box-shadow: 0 6px 0 var(--pink); }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.95rem; box-shadow: 0 3px 0 var(--pink-deep); }
.btn-block { display: block; text-align: center; margin-top: 1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link { font-weight: 800; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 246, 236, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 2px solid var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo img { width: 150px; height: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 0.5em 0.8em; font-weight: 800; text-decoration: none; border-radius: 999px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current='page'] { background: var(--cream-2); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 12px; width: 46px; height: 42px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: transform 0.2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 100% 0 auto; background: var(--cream); border-bottom: 2px solid var(--ink); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 16px 1.25rem; }
  .site-nav a:not(.btn) { padding: 0.75em 0.5em; }
  .site-nav .btn { text-align: center; margin-top: 0.5rem; }
  .logo img { width: 128px; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 1rem 0 0; margin: 0; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.6; }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.hero-sub { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.hero-slim { padding-bottom: 1rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero-art { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-art > img { width: 100%; animation: wobble 6s ease-in-out infinite; transform-origin: 40% 60%; }
.product-art svg { width: 100%; filter: drop-shadow(0 12px 18px rgba(17, 17, 17, 0.15)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.center-actions { justify-content: center; }
@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art > img { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }
.est-badge { position: absolute; right: -6px; bottom: -6px; width: 128px; height: 128px; border-radius: 50%; background: var(--pink); border: 3px solid var(--ink); display: grid; place-content: center; text-align: center; transform: rotate(10deg); box-shadow: 4px 4px 0 var(--ink); }
.hero-sub .hero-art .est-badge { position: static; margin: auto; width: 180px; height: 180px; }
.est-badge span { font-weight: 800; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink); }
.est-badge strong { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 1.4rem; line-height: 1; margin: 0.2rem 0; }
.hero-sub .est-badge strong { font-size: 2rem; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(300px, 80%); order: -1; }
  .product-art { width: min(220px, 60%); }
  .est-badge { width: 104px; height: 104px; }
  .est-badge strong { font-size: 1.15rem; }
}

/* Sections */
.section { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.alt { background: var(--white); border-block: 2px solid var(--ink); }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.2s; }
.card:hover { transform: translateY(-4px) rotate(-0.4deg); }
.card-link { display: block; padding: 1.5rem; text-decoration: none; color: inherit; height: 100%; }
.card-link:hover { color: inherit; }
.card-art { background: var(--cream); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.card-art svg, .card-art img { max-height: 180px; width: auto; }
.card-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.card .more { font-weight: 800; color: var(--pink-deep); }

/* Facts */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts li { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.facts span { font-size: 0.92rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; padding: 0; margin: 2rem 0 0; }
.steps li { counter-increment: s; position: relative; padding: 2.25rem 1.25rem 1.25rem; background: var(--white); border: 2px dashed var(--ink); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; top: -20px; left: 1.25rem; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); display: grid; place-items: center; font-size: 1.1rem; }

/* Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; padding: 0; margin: 1.5rem 0 0; }
.chips li { background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 0.5em 1.1em; font-weight: 800; color: var(--ink); }
.chips li:nth-child(3n + 1) { background: var(--pink); }

/* FAQ */
.faq details { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; margin-bottom: 0.85rem; }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 800; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 1.4rem; }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 1.25rem 0.5rem; }
.faq + .faq { padding-top: 0; }

/* Prose & panels */
.prose h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.prose h1 + p, .prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }
.panel { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; position: sticky; top: 100px; }
.panel .h3 { margin-top: 0.5rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); }
.big-address { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 1rem; }
.sister { background: var(--pink); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.5rem; box-shadow: 4px 4px 0 var(--ink); }

/* CTA band */
.cta-band { background-color: var(--pink); background-image: radial-gradient(rgba(255, 255, 255, 0.55) 3px, transparent 3.5px); background-size: 28px 28px; color: var(--ink); border-top: 2px solid var(--ink); padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.cta-band a:not(.btn) { color: var(--ink); }
.cta-title { color: var(--ink); font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-inner { background: rgba(255, 255, 255, 0.55); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); max-width: 760px; box-shadow: 4px 4px 0 var(--ink); }
.cta-inner p { max-width: 620px; margin-inline: auto; margin-bottom: 1.5rem; }

/* Form */
.enquiry { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 0.35rem; font-size: 0.95rem; }
.req { color: var(--pink-deep); } .opt { font-weight: 600; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 12px; padding: 0.7em 0.85em; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink-deep); box-shadow: 0 0 0 3px rgba(201, 79, 114, 0.25); background: #fff; }
[aria-invalid='true'] { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 800; }
.form-status.error { color: #b3261e; }
.cf-turnstile { margin-bottom: 1rem; }
.form-split .panel { top: 100px; }
.thanks-img { width: 140px; margin: 0 auto 1.5rem; }

/* Footer */
.site-footer { background: var(--cream-2); border-top: 2px solid var(--ink); padding: 3rem 0 1.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 84px; margin-bottom: 0.5rem; }
.est { font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; margin-bottom: 0.4rem; }
.h-foot { font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 0.45rem; }
.legal { border-top: 1px solid rgba(17, 17, 17, 0.2); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.82rem; color: var(--muted); }
.legal p { margin-bottom: 0.4rem; }

/* Founder (Kate) */
.kate-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; max-width: 980px; }
.kate-photo { width: 100%; aspect-ratio: 438 / 560; object-fit: cover; object-position: top; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--pink); transform: rotate(-2deg); }
.kate-compact .kate-grid { grid-template-columns: 180px 1fr; }
@media (max-width: 640px) { .kate-grid, .kate-compact .kate-grid { grid-template-columns: 1fr; } .kate-photo { width: min(240px, 70%); } }
.kate-hero { width: min(340px, 100%); }
.kate-hero > img { animation: none; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--pink); }
.hero-sub .kate-hero .est-badge { position: absolute; width: 128px; height: 128px; right: -24px; bottom: -24px; }
.hero-sub .kate-hero .est-badge strong { font-size: 1.4rem; }
.shopfront { width: 100%; border: 2px solid var(--ink); border-radius: 12px; margin-bottom: 1rem; }
.story-photo { margin: 2rem 0; }
.story-photo img { width: 100%; max-width: 460px; border: 3px solid var(--ink); border-radius: var(--radius); }
.story-photo figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.signoff { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); transform: rotate(-2deg); display: inline-block; }
.aussie { display: inline-block; font-weight: 800; font-size: 0.85rem; color: var(--ink); background: var(--pink); border: 2px solid var(--ink); border-radius: 999px; padding: 0.25em 0.8em; margin-bottom: 0.75rem; }

/* Photos */
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 12px; }
.product-photo { width: min(400px, 100%); }
.product-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--pink); transform: rotate(1.5deg); }
.photo-grid { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 45%), 1fr)); gap: 1rem; }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--white); transition: transform 0.2s, box-shadow 0.2s; }
.photo-grid a:hover { transform: translateY(-3px) rotate(-0.5deg); box-shadow: 4px 4px 0 var(--pink); }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-grid figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.45; }
.gallery-section + .gallery-section { padding-top: 0; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; }
.gallery-head h2 { margin: 0; }
.lightbox-dialog { border: 3px solid var(--ink); border-radius: var(--radius); padding: 0; max-width: min(92vw, 900px); max-height: 92vh; background: var(--white); }
.lightbox-dialog::backdrop { background: rgba(17, 17, 17, 0.8); }
.lightbox-dialog img { max-width: 100%; max-height: calc(92vh - 5rem); width: auto; margin: auto; }
.lightbox-dialog p { margin: 0; padding: 0.75rem 3.5rem 0.9rem 1rem; font-size: 0.9rem; }
.lightbox-close { position: absolute; top: 0.6rem; right: 0.6rem; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); font: 800 1.4rem/1 var(--font-body); cursor: pointer; }
.fresh .photo-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .fresh .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Shop ---------- */
.preview-banner { background: var(--ink); color: #fff; font-weight: 800; font-size: 0.9rem; padding: 0.6rem 0; text-align: center; }
.preview-banner a { color: var(--pink); }
.sub-left { color: var(--muted); max-width: 60ch; margin-top: -0.25rem; }
.shop-cats { justify-content: flex-start; margin-top: 1.25rem; }
.shop-cats a { text-decoration: none; color: inherit; }
.shop-section + .shop-section { padding-top: 0; }
.product-cards { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.product-card .card-art { aspect-ratio: 1; }
.product-card h3 { font-size: 1.1rem; }
.product-card p { font-size: 0.95rem; }
.price-from { font-weight: 800; color: var(--ink); margin-bottom: 0.5rem; }
.price-from strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15em; }
.img-missing { width: 100%; aspect-ratio: 1; background: var(--cream-2); border-radius: 8px; }

.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .pp-grid { grid-template-columns: 1fr; } }
.pp-media { position: sticky; top: 96px; display: grid; gap: 1rem; }
@media (max-width: 900px) { .pp-media { position: static; } }
.pp-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.3rem; }
.pp-info .eyebrow a { color: inherit; text-decoration: none; }
.cookie-preview-wrap { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.cookie-preview { width: min(380px, 100%); margin: auto; }
.cookie-preview svg { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(17, 17, 17, 0.15)); }
.pg-main img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.pg-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.pg-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; overflow: hidden; width: 72px; height: 72px; }
.pg-thumbs button[aria-current='true'] { border-color: var(--ink); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.configurator { margin: 1.5rem 0; }
.opt-group { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.opt-group[hidden] { display: none; }
.opt-group legend { font-weight: 800; color: var(--ink); margin-bottom: 0.5rem; padding: 0; }
.opt-group .help { font-size: 0.88rem; color: var(--muted); margin: -0.2rem 0 0.6rem; }
.tiles { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tile { position: relative; cursor: pointer; margin: 0; font-weight: 600; }
.tile > input, .swatch > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile-body { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; min-width: 92px; padding: 0.55rem 0.8rem; border: 2px solid rgba(17, 17, 17, 0.25); border-radius: 12px; background: var(--white); text-align: center; line-height: 1.25; transition: border-color 0.15s, box-shadow 0.15s; }
.tile-body strong { font-size: 0.95rem; color: var(--ink); }
.tile-body span, .tile-body small { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.tile:hover .tile-body { border-color: var(--ink); }
.tile input:checked + .tile-body { border-color: var(--ink); box-shadow: 3px 3px 0 var(--pink-deep); background: #fff7fa; }
.tile input:focus-visible + .tile-body, .swatch input:focus-visible + .dot { outline: 3px solid var(--pink-deep); outline-offset: 2px; }
.tile .dot { width: 20px; height: 20px; }
.qty-custom input[type='number'] { width: 90px; padding: 0.3em 0.4em; margin-top: 0.2rem; text-align: center; background: var(--cream); }
.swatches { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.swatch { position: relative; cursor: pointer; margin: 0; }
.dot { display: block; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(17, 17, 17, 0.25); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08); }
.swatch input:checked + .dot { border-color: var(--ink); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.counter { display: block; text-align: right; font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }
.upload-note { font-size: 0.92rem; background: var(--cream-2); border-radius: 10px; padding: 0.7rem 0.9rem; }
.tier-table { margin-top: 0.75rem; font-size: 0.92rem; }
.tier-table summary { cursor: pointer; font-weight: 800; color: var(--pink-deep); }
.tier-table table { border-collapse: collapse; margin-top: 0.5rem; min-width: 260px; }
.tier-table th, .tier-table td { text-align: left; padding: 0.3rem 0.8rem 0.3rem 0; border-bottom: 1px solid rgba(17, 17, 17, 0.12); }

.price-box { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.pb-row, .pb-lines li, .pb-total { display: flex; justify-content: space-between; gap: 1rem; }
.pb-lines { list-style: none; margin: 0.4rem 0; padding: 0; font-size: 0.92rem; color: var(--muted); }
.pb-lines li { padding: 0.15rem 0; }
.pb-total { border-top: 2px dashed rgba(17, 17, 17, 0.2); margin-top: 0.5rem; padding-top: 0.6rem; align-items: baseline; font-weight: 800; color: var(--ink); }
.pb-total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; }
.pb-per { color: var(--muted); font-size: 0.92rem; margin: 0; text-align: right; }
.pb-save, .pb-nudge { margin: 0.35rem 0 0; font-size: 0.92rem; font-weight: 800; }
.pb-save { color: #2f7d4f; }
.pb-nudge { color: var(--pink-deep); }
.pb-save:empty, .pb-nudge:empty, .pb-per:empty { display: none; }
.pb-errors { margin: 0.8rem 0 0; padding: 0.7rem 0.9rem 0.7rem 1.6rem; background: #fdecea; border-radius: 10px; color: #8a1c14; font-weight: 700; font-size: 0.92rem; }
.price-box .btn { margin-top: 1rem; }
.price-box .small { margin: 0.7rem 0 0; }
