/* House of Elki: Design a Box page (bundles, box builder, enquiry form). Builds on styles.css, pages.css and shop.css.
   Bundle, builder and enquiry rules were moved here from the homepage stylesheet. */
[hidden] { display: none !important; }

/* the bundle / filter / results helpers below came from home.css */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
/* ---------- 7. Curated bundles ---------- */
.bundles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bundle { scroll-margin-top: 100px; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); color: var(--navy); }
.bundle-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--navy) 10%, var(--paper)); }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-price { position: absolute; left: 14px; bottom: 14px; padding: 6px 16px; border-radius: var(--r-pill); background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: lining-nums; }
.bundle-body { display: grid; gap: 14px; align-content: start; padding: 22px 22px 24px; }
.bundle-body h3 { font-size: 1.75rem; }
.bundle-body p { font-size: .9375rem; color: var(--text-muted); }
.bundle-items { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: .875rem; }
.bundle-items li { display: flex; gap: 10px; align-items: baseline; }
.bundle-items li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .45em; border-radius: 50%; background: var(--terracotta); }
.bundle-items small { color: var(--text-muted); }
.bundle .btn { width: 100%; margin-top: 4px; }
.bundles-note { margin-top: 22px; font-size: .875rem; color: var(--soft); }

/* ---------- 8. Build your box ---------- */
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--navy) 28%, transparent); background: var(--paper); font-size: .875rem; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pick { display: grid; gap: 10px; align-content: start; padding: 10px; border-radius: var(--r-md); border: 1px solid var(--hairline); background: var(--surface); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.pick.on { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.pick img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: color-mix(in srgb, var(--navy) 8%, var(--paper)); }
.pick b { display: block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.12; }
.pick small { display: block; font-size: .75rem; color: var(--text-muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pick > button { min-height: 44px; border-radius: var(--r-sm); border: 1px solid var(--navy); background: transparent; font-size: .8125rem; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.pick > button .icon { width: 16px; height: 16px; }
.pick > button:hover { background: color-mix(in srgb, var(--navy) 8%, transparent); }
.pick > button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.box-summary { position: sticky; top: 100px; padding: 24px; border-radius: var(--r-lg); background: var(--navy); color: var(--ink); display: grid; gap: 16px; }
.box-summary h3 { font-size: 1.75rem; color: var(--ink); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.box-summary h3 small { font-family: var(--font-body); font-size: .8125rem; font-weight: 400; color: var(--soft); }
.box-list { display: grid; gap: 4px; max-height: 340px; overflow: auto; }
.box-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(246, 241, 233, .14); font-size: .875rem; }
.box-list img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.box-list small { display: block; color: var(--soft); font-size: .75rem; }
.box-list button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--soft); display: grid; place-items: center; }
.box-list button:hover { background: rgba(246, 241, 233, .12); color: var(--ink); }
.box-list .icon { width: 16px; height: 16px; }
.box-empty { font-size: .9375rem; color: var(--soft); padding-block: 8px; line-height: 1.5; }
.box-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(246, 241, 233, .2); font-size: .875rem; color: var(--soft); }
.box-total b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--ink); font-variant-numeric: lining-nums; }
.box-summary .btn { width: 100%; }
.box-summary .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.box-note { font-size: .75rem; color: var(--muted); line-height: 1.45; }

/* ---------- 9. Enquiry box ---------- */
.enq-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); background: var(--surface); }
.enq-side { padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; align-content: start; }
.enq-side h2 { font-size: clamp(2rem, 3.4vw, 3rem); color: var(--ink); }
.enq-recap { display: grid; gap: 6px; font-size: .9375rem; }
.enq-recap h3 { font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.enq-recap li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); }
.enq-recap li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: .5em; }
.enq-recap p { color: var(--soft); font-size: .875rem; }
.enq-steps { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(246, 241, 233, .18); font-size: .875rem; color: var(--soft); }
.enq-steps b { color: var(--ink); font-weight: 500; }
.enq-form { padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; align-content: start; }
.err-summary { padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--terracotta); background: color-mix(in srgb, var(--terracotta) 8%, var(--paper)); font-size: .9375rem; }
.err-summary h3 { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; color: var(--terracotta); margin-bottom: 8px; }
.err-summary ul { padding-left: 18px; list-style: disc; display: grid; gap: 4px; }
.err-summary a { text-decoration: underline; text-underline-offset: 3px; }
.err-summary:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding: 0; }
.field label .req { color: var(--terracotta); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--navy) 30%, transparent); background: var(--paper); font: inherit; font-size: .9375rem; color: var(--navy);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--terracotta); background: color-mix(in srgb, var(--terracotta) 5%, var(--paper)); }
.field .err { font-size: .8125rem; color: var(--terracotta); min-height: 0; }
.field .hint { font-size: .75rem; color: var(--text-muted); }
fieldset.field { border: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; }
.check-chip input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--navy) 28%, transparent); font-size: .875rem; background: var(--paper); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.check-chip:hover span { border-color: var(--navy); }
.check-chip input:checked + span { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.check-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.form-actions small { font-size: .8125rem; color: var(--text-muted); }
.enq-done { padding: clamp(32px, 5vw, 64px); display: grid; gap: 18px; align-content: center; justify-items: start; }
.enq-done .tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); }
.enq-done .tick .icon { width: 28px; height: 28px; stroke-width: 2; }
.enq-done h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.enq-done ul { padding-left: 18px; list-style: disc; color: var(--text-muted); display: grid; gap: 4px; font-size: .9375rem; }
.enq-done .note { font-size: .8125rem; color: var(--text-muted); }



/* ==========================================================================
   Design a Box additions
   ========================================================================== */
.surface-sec { background: var(--surface); border-block: 1px solid var(--hairline); }
.design-hero { padding-block: clamp(32px, 5vw, 64px) clamp(36px, 5vw, 64px); }
.design-hero .container { max-width: 1240px; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.design-hero .container > * { min-width: 0; }
.design-hero h1 { max-width: 18ch; font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.design-hero .lead { max-width: 60ch; }
.design-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 10px; max-width: 1080px; }
.design-steps a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid rgba(246, 241, 233, .22); transition: background-color .2s var(--ease), border-color .2s var(--ease); min-height: 64px; }
.design-steps a:hover { background: rgba(246, 241, 233, .08); border-color: var(--gold); }
.design-steps b { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.design-steps span { font-weight: 500; font-size: .9375rem; color: var(--ink); line-height: 1.2; }
.design-steps small { font-size: .75rem; color: var(--muted); line-height: 1.3; }

/* bundles as starting points (light background now) */
.bundles-note { color: var(--text-muted); }
.bundles-note .link-arrow { display: inline-flex; min-height: 44px; color: var(--navy); border-bottom: 1px solid var(--ochre); margin-left: 6px; }
.bundle { border: 1px solid var(--hairline); }
.bundle-actions { display: grid; gap: 8px; margin-top: 4px; }
.bundle-actions .btn { width: 100%; margin: 0; }
.bundle .btn.is-in { background: var(--navy); }
.bundle .btn.is-in .icon { transform: none; }

/* picker */
.picker { min-width: 0; }
.pick-bar { display: grid; gap: 14px; margin-bottom: 8px; }
.pick-bar .filters { margin-bottom: 0; }
.pick-bar .results-count { font-size: .875rem; color: var(--text-muted); font-weight: 400; }
.pick-group { padding-top: 28px; }
.pick-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.pick-group-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pick-group-head p { font-size: .875rem; color: var(--text-muted); }
.pick-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.pick { gap: 8px; padding: 10px 10px 12px; }
.pick-media { display: block; border-radius: 10px; overflow: hidden; }
.pick-media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; transition: transform .6s var(--ease); }
.pick:hover .pick-media img { transform: scale(1.03); }
.pick .swatches { flex-wrap: wrap; gap: 6px; padding-block: 2px; }
.pick .swatch { width: 24px; height: 24px; }
.pick .swatch::after { inset: -4px; }
.pick .variant-label { font-size: .75rem; min-height: 1.2em; color: var(--text-muted); }
.pick { display: flex; flex-direction: column; }
.pick > button { margin-top: auto; }
.pick .variant-label { margin-bottom: 4px; }

/* your box */
.box-summary { top: 92px; max-height: calc(100vh - 112px); overflow: auto; scrollbar-width: thin; }
.box-list { max-height: none; overflow: visible; gap: 0; }
.box-list li { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "img main rm" "row row row"; gap: 6px 12px; align-items: start; padding: 12px 0; }
.box-list li > img { grid-area: img; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: rgba(246, 241, 233, .1); }
.bl-main { grid-area: main; min-width: 0; display: grid; gap: 6px; }
.bl-main b { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.bl-main select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 40px; padding: 0 30px 0 10px; border-radius: 8px; border: 1px solid rgba(246, 241, 233, .3); background: rgba(246, 241, 233, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F6F1E9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink); font: inherit; font-size: .8125rem; cursor: pointer; }
.bl-main select:hover { border-color: var(--gold); }
.bl-main select option { color: var(--navy); background: var(--paper); }
.bl-remove { grid-area: rm; }
.box-list .bl-remove { width: 44px; height: 44px; margin: -6px -8px 0 0; }
.bl-row { grid-area: row; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty { display: inline-flex; align-items: center; border-radius: 10px; border: 1px solid rgba(246, 241, 233, .3); }
.qty button { width: 44px; height: 40px; border: 0; background: none; border-radius: 0; display: grid; place-items: center; color: var(--ink); }
.qty button:first-child { border-radius: 9px 0 0 9px; }
.qty button:last-child { border-radius: 0 9px 9px 0; }
.qty button:disabled { opacity: .35; cursor: default; }
.qty button:not(:disabled):hover { background: rgba(246, 241, 233, .12); }
.qty > span { min-width: 36px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.bl-price { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.box-clear { justify-self: center; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--soft); font-size: .8125rem; text-decoration: underline; text-underline-offset: 3px; }
.box-clear:hover { color: var(--ink); }
.box-clear[hidden] { display: none; }
.qty .icon { width: 16px; height: 16px; }

/* mobile / tablet bar */
.box-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--navy); color: var(--ink); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .45); transform: translateY(110%); transition: transform .3s var(--ease); }
.box-bar.show { transform: none; }
.box-bar b { display: block; font-size: .9375rem; font-weight: 600; }
.box-bar small { display: block; font-size: .8125rem; color: var(--soft); }
.box-bar .btn { min-width: 132px; }
@media (min-width: 1200px) { .box-bar { display: none; } }

@media (max-width: 1199px) {
  .bundles-grid { grid-template-columns: repeat(2, 1fr); }
  .build-grid { grid-template-columns: minmax(0, 1fr); }
  .box-summary { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 1023px) { .enq-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) {
  .design-steps { grid-template-columns: minmax(0, 1fr); }
  .bundles-grid { grid-template-columns: minmax(0, 1fr); }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pick b { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) { .box-bar, .pick-field { transition: none; } .pick:hover .pick-media img { transform: none; } }

/* animated numbers: steady digit widths so totals do not jitter while they count */
#box-total, .bl-price, #bar-total-n { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Step 3 · Brand it (cards render from ELKI.branding / ELKI.packaging) ---------- */
.brand-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(32px, 6vw, 88px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.brand-head h2 { margin-top: 16px; color: var(--ink); max-width: 16ch; }
.brand-sub { font-family: var(--font-body); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.brand-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.brand-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-md); border: 1px solid rgba(246, 241, 233, .18); background: rgba(9, 14, 30, .32); }
.brand-card:first-child { border-color: rgba(214, 168, 90, .6); background: rgba(214, 168, 90, .1); }
.brand-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(214, 168, 90, .14); color: var(--gold); }
.brand-ico .icon { width: 22px; height: 22px; }
.brand-card h4 { font-size: 1.5rem; color: var(--ink); }
.brand-suits { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.brand-card > p:not([class]) { color: var(--soft); font-size: .9375rem; line-height: 1.6; }
.brand-best { padding-top: 10px; border-top: 1px solid rgba(246, 241, 233, .14); color: var(--soft); font-size: .8125rem; }
.brand-best span { display: block; margin-bottom: 2px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand-flag { justify-self: start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.brand-pack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.brand-pack li { padding: 18px 0; border-top: 1px solid rgba(246, 241, 233, .16); }
.brand-pack h4 { font-size: 1.3125rem; color: var(--ink); margin-bottom: 6px; }
.brand-pack p { color: var(--soft); font-size: .9375rem; line-height: 1.55; }
.brand-how { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(214, 168, 90, .35); }
.brand-steps ol { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: bstep; }
.brand-steps li { counter-increment: bstep; position: relative; display: grid; gap: 4px; padding: 14px 0 14px 56px; }
.brand-steps li + li { border-top: 1px dashed rgba(246, 241, 233, .18); }
.brand-steps li::before { content: counter(bstep); position: absolute; left: 0; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.brand-steps b { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--ink); }
.brand-steps span { color: var(--soft); font-size: .9375rem; line-height: 1.55; }
.brand-steps strong { color: var(--gold); font-weight: 600; }
.brand-artwork { align-self: start; padding: 24px; border-radius: var(--r-md); background: rgba(9, 14, 30, .38); border: 1px solid rgba(246, 241, 233, .16); }
.brand-artwork .ticks { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.brand-artwork .ticks li { position: relative; padding-left: 30px; color: var(--soft); font-size: .9375rem; line-height: 1.55; }
.brand-artwork .ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222F4D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.brand-fine { color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.legend-link { margin-left: 8px; font-weight: 400; font-size: .8125rem; letter-spacing: 0; text-transform: none; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.legend-link:hover { color: var(--navy); }
.field input[type="file"] { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px dashed color-mix(in srgb, var(--navy) 40%, transparent); background: var(--paper); font: inherit; font-size: .875rem; color: var(--navy); }

@media (max-width: 1023px) {
  .design-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-head, .brand-how { grid-template-columns: minmax(0, 1fr); }
  .brand-pack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .design-steps { grid-template-columns: minmax(0, 1fr); }
  .brand-pack { grid-template-columns: minmax(0, 1fr); }
  .brand-methods { grid-template-columns: minmax(0, 1fr); }
}
.box-summary .moq-note { color: var(--muted); font-size: .75rem; }

/* ---------- Try your logo (assets/js/logo-preview.js) ---------- */
.logo-try { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: rgba(9, 14, 30, .35); border: 1px solid rgba(246, 241, 233, .16); }
.lt-lead { color: var(--soft); font-size: .9375rem; line-height: 1.6; margin-bottom: 18px; }
.lt-controls { display: grid; gap: 16px; margin-bottom: 20px; }
.lt-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.lt-field label, .lt-field legend { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 2px; }
.lt-select select, .lt-field input[type="file"] { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid rgba(246, 241, 233, .3); background: rgba(9, 14, 30, .4); color: var(--ink); font: inherit; font-size: .9375rem; }
.lt-select select option { color: #111; }
.lt-hint { font-size: .8125rem; color: var(--muted); }
.lt-colours { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px; border-radius: var(--r-pill); border: 1px solid rgba(246, 241, 233, .28); cursor: pointer; font-size: .8125rem; color: var(--ink); }
.lt-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lt-chip span { width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 1px solid rgba(246, 241, 233, .5); }
.lt-chip--full span { background: conic-gradient(#AB3524, #C9A24D, #2D5B3C, #233E6B, #AB3524); }
.lt-chip b { font-weight: 500; }
.lt-chip:has(input:checked) { border-color: var(--gold); background: rgba(214, 168, 90, .14); }
.lt-chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.lt-chip--full { display: none; }
.logo-try.lt-full-ok .lt-chip--full { display: inline-flex; }
.lt-field input[type="range"] { width: 100%; height: 32px; accent-color: var(--gold); }
.lt-fine { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.lt-stage { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: #fff; touch-action: none; }
.lt-stage > img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.lt-mark { position: absolute; left: 50%; top: 52%; width: 34%; transform: translate(-50%, -50%); cursor: grab; touch-action: none; border-radius: 4px; }
.lt-mark:focus-visible { outline: 2px dashed var(--gold); outline-offset: 6px; }
.lt-mark.is-dragging { cursor: grabbing; }
.lt-shape { display: block; width: 100%; aspect-ratio: var(--ar, 2.5); background: var(--ink, #222F4D); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.lt-full { display: none; width: 100%; height: auto; }
.logo-try[data-full="1"] .lt-shape { display: none; }
.logo-try[data-full="1"] .lt-full { display: block; }
/* how each method reads on the piece (indicative) */
.logo-try[data-method="print"] .lt-mark { mix-blend-mode: multiply; opacity: .92; }
.logo-try[data-method="print"] .lt-shape { filter: contrast(1.05); }
.logo-try[data-method="stitch"] .lt-shape { background: repeating-linear-gradient(45deg, var(--ink) 0 2px, color-mix(in srgb, var(--ink) 65%, #000) 2px 3.5px); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .35)) drop-shadow(0 -0.5px 0 rgba(255, 255, 255, .25)); }
.logo-try[data-method="foil"] .lt-shape { background: linear-gradient(115deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 35%, #fff) 42%, var(--ink) 62%, color-mix(in srgb, var(--ink) 55%, #fff) 100%); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .3)); }
.logo-try[data-method="engrave"] .lt-shape { background: rgba(48, 30, 14, .82); mix-blend-mode: multiply; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .35)); }
.logo-try[data-method="patch"] .lt-mark { padding: calc(var(--mw, 34%) * .09) calc(var(--mw, 34%) * .11); background: radial-gradient(120% 120% at 30% 20%, #b07a4c, #8a5a33); border-radius: 12%; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); outline: 1.5px dashed rgba(255, 236, 210, .75); outline-offset: -7px; }
.logo-try[data-method="patch"] .lt-shape { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .25)) drop-shadow(0 -1px 0 rgba(0, 0, 0, .35)); }
.logo-try[data-method="label"] .lt-mark { padding: calc(var(--mw, 34%) * .07) calc(var(--mw, 34%) * .1); background: #F3EAD8; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); outline: 1px dashed rgba(34, 47, 77, .45); outline-offset: -5px; }
.logo-try[data-method="tag"] .lt-mark { padding: calc(var(--mw, 34%) * .2) calc(var(--mw, 34%) * .12) calc(var(--mw, 34%) * .12); background: #C8A77A; border-radius: 14px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.logo-try[data-method="tag"] .lt-mark::before { content: ""; position: absolute; top: 6%; left: 50%; width: 10%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
@media (max-width: 899px) {
  .logo-try { grid-template-columns: minmax(0, 1fr); }
  .lt-stage { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .lt-mark { transition: none; } }

/* ---- Touch targets (UI/UX pass, Nov 2026) ---- */
@media (pointer: coarse) {
  .qty button { height: 44px; }
}

/* ---- Bundles on phones: one swipeable row instead of four stacked cards (UI/UX pass, Nov 2026).
        The next card peeks in so the row reads as scrollable; scroll-snap keeps each card centred on release. ---- */
@media (max-width: 599px) {
  .bundles-grid {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 4px;
  }
  .bundles-grid::-webkit-scrollbar { display: none; }
  .bundle { scroll-snap-align: start; }
  .bundle-body { grid-template-rows: auto auto 1fr auto; }   /* buttons sit at the bottom of every card */
}

/* Bundle cards at every width: the buttons sit at the bottom of each card, so they line up across the row */
.bundle-body { grid-template-rows: auto auto 1fr auto; }
