:root {
  color-scheme: light;
  --paper: #fffbf4;
  --ink: #232549;
  --muted: #494d66;
  --action: #3049ce;
  --lilac: #e9e4ff;
  --lilac-ink: #4c447a;
  --surface: #fffdf8;
  --error: #9c303b;
  --lavender: #f1f5ff;
  --pink: #ffe1ed;
  --mint: #d9f6e7;
  --butter: #ffedb8;
  --line: #dcdff0;
  --width: 1180px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
img { display: block; width: 100%; }
p { line-height: 1.58; margin: 0; }
h1, h2, h3, .wordmark {
  font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 0;
}
h2 { font-size: clamp(2.35rem, 5vw, 3.8rem); line-height: 1.04; }
h3 { font-size: 1.4rem; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.wrap { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.skip {
  position: fixed; z-index: 2; top: 10px; left: 10px; padding: 12px;
  background: white; transform: translateY(-160%);
}
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.header-actions { order: 2; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #000; font-weight: 600; }
.mobile-menu-toggle:hover { background: var(--lavender); }
.mobile-menu-toggle[hidden], #header-menu[hidden] { display: none; }
.menu-cross { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .menu-lines { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .menu-cross { display: block; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(1.55rem, 3.5vw, 2.15rem); text-decoration: none; white-space: nowrap; }
.header-nav { order: 1; margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-nav a, .footer a { text-decoration: none; }
.header-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border-radius: 8px; font-weight: 600; line-height: 1.25; }
.header-nav > a:hover { background: var(--lavender); text-decoration: none; }
.header-nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-account svg { display: none; }
.customer-nav { position: relative; min-width: 144px; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.customer-menu { position: relative; }
.customer-trigger { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #000; list-style: none; font-size: 1rem; line-height: 1.25; }
.customer-trigger::-webkit-details-marker { display: none; }
.customer-trigger::after { content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-left: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.customer-menu[open] > .customer-trigger::after { transform: rotate(225deg) translate(-2px, -1px); }
.customer-name { display: block; white-space: nowrap; font-weight: 600; line-height: 1.25; }
.customer-account-icon { display: inline-flex; flex: none; }
.customer-account-icon svg { width: 20px; height: 20px; }
.customer-trigger:hover, .customer-menu[open] > .customer-trigger { background: var(--lavender); }
.customer-menu-panel { position: absolute; z-index: 20; right: 0; top: calc(100% + 10px); width: 264px; max-width: calc(100vw - 32px); padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 32px #2325491a; }
.customer-menu-intro { display: grid; gap: 4px; padding: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.customer-menu-intro strong { font-weight: 700; }
.customer-menu-intro span { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.header-nav .customer-menu-panel a, .customer-menu-panel button { display: flex; justify-content: flex-start; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; font-weight: 600; font-size: 1rem; text-align: left; color: #000; text-decoration: none; }
.customer-menu-panel a:hover, .customer-menu-panel button:hover { background: var(--lavender); }
.customer-menu-panel form { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; min-height: 70px; gap: 0 12px; padding-block: 12px; }
  .header-inner > .wordmark { margin-right: auto; }
  .header-actions { order: 1; gap: 8px; }
  .mobile-menu-toggle:not([hidden]) { display: inline-flex; }
  .header-actions .bag-toggle { padding-inline: 10px; }
  .header-actions .bag-toggle svg { display: none; }
  .header-nav { order: 2; flex: 0 0 100%; margin: 12px 0 0; padding: 12px 0 4px; border-top: 1px solid var(--line); align-items: stretch; flex-direction: column; gap: 4px; }
  .header-nav > a { justify-content: flex-start; padding: 12px; }
  .header-nav .header-account span { display: inline; }
  .customer-nav { width: 100%; min-width: 0; margin: 4px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .customer-trigger { justify-content: flex-start; min-height: 44px; background: transparent; border: 0; padding: 10px 12px; }
  .customer-name { max-width: min(60vw, 320px); font-size: 1rem; }
  .customer-menu-panel { position: static; width: 100%; max-width: none; padding: 4px 0 0; border: 0; box-shadow: none; background: transparent; }
}
@media (max-width: 380px) {
  .mobile-menu-toggle span { display: none; }
}

.header-nav a[aria-current="page"] { color: #000; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 12px 24px; background: var(--action); color: white;
  border-radius: 9px; border: 0; text-decoration: none; font-weight: 800; font-size: 1rem;
  box-shadow: 0 2px #223492; transition: background .15s, transform .15s, box-shadow .15s;
}
.button:hover { background: #2439ac; }
.button:active { transform: translateY(3px); box-shadow: 0 1px #223492; }
.builder { background: var(--lavender); padding-block: 54px 65px; scroll-margin-top: 18px; }
.section-intro { text-align: center; margin-bottom: 25px; }
.section-intro p { color: var(--muted); margin: 10px auto 0; max-width: 56ch; }
.builder-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; background: #fffdfd; border-radius: 29px; padding: 24px; box-shadow: 0 8px 27px #38205a12; }
.preview {
  min-width: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 19px;
  border-radius: 22px; min-height: 280px; background-color: #f2e8f2;
  background-image: radial-gradient(#c5aac478 1.2px, transparent 1.2px);
  background-size: 17px 17px; text-align: center;
}
.preview p { font-size: .86rem; font-weight: 800; color: #594573; }
.preview-title { justify-self: center; border-radius: 30px; background: #fff9ff; padding: 5px 13px; }
.chain { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; align-items: center; gap: 11px 6px; padding: 18px 0 25px; }
.chain[data-orientation="vertical"] { flex-flow: column nowrap; gap: 5px; }
.chain[data-orientation="vertical"] .ring { width: 36px; height: 36px; flex: 0 0 36px; margin: 0 0 2px; }
.chain[data-orientation="vertical"] .key { width: var(--preview-key-size, 54px); height: var(--preview-key-size, 54px); flex: none; padding: 4px; }
.chain[data-orientation="vertical"] .key::before { width: 9px; height: 12px; left: calc(50% - 4px); top: -9px; }
.chain[data-orientation="vertical"] .key span { font-size: clamp(1.05rem, 2vw, 1.7rem); }
.chain[data-orientation="sideways"] { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; min-width: 0; }
.chain[data-orientation="sideways"] .key { flex: none; }
.ring { width: 46px; height: 46px; flex: 0 0 46px; margin-right: 4px; border: 5px solid #797684; border-top-color: #fff; border-left-color: #d3cdd8; border-radius: 50%; box-shadow: 0 2px 4px #32254448, inset 0 2px 3px #32254435; }
.key {
  position: relative; display: grid; place-items: center; isolation: isolate; border: 0;
  width: clamp(46px, 5vw, 63px); height: clamp(46px, 5vw, 63px); border-radius: 23%;
  background: var(--base, #a984df); padding: 5px; box-shadow: 0 6px color-mix(in srgb, var(--base, #a984df), #221b30 32%), 0 11px 10px #39264e29;
}
.key::before { content: ""; position: absolute; height: 9px; width: 12px; left: -9px; top: calc(50% - 4px); border-radius: 3px; z-index: -1; background: var(--base, #a984df); }
.key span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 21%;
  background: var(--cap); color: var(--letter, #000); font-family: Nunito, system-ui, sans-serif;
  font-size: clamp(1.24rem, 2.8vw, 2.2rem); line-height: 1; font-weight: 1000;
  box-shadow: inset 0 2px 0 #ffffff83, 0 3px color-mix(in srgb, var(--cap), #21192b 23%);
  transition: transform .12s, box-shadow .12s;
}
.key[data-font="comic"] span { font-family: "Comic Sans MS", cursive; font-style: italic; }
.key[data-font="clean"] span { font-family: "DM Sans", system-ui, sans-serif; }
.key:active span, .key.is-pressed span { transform: translateY(3px); box-shadow: inset 0 2px 0 #ffffff40; }
.design-form { min-width: 0; padding: 4px 6px 6px; display: grid; gap: 14px; align-content: start; }
.design-form label, .design-form legend { font-weight: 900; }
.orientation-picker { display: grid; gap: 9px; }
.orientation-picker .hint { line-height: 1.4; }
.orientation-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.orientation-option { position: relative; display: block; min-width: 0; cursor: pointer; }
.orientation-option input { position: absolute; opacity: 0; }
.orientation-option > span { min-height: 86px; display: flex; align-items: center; gap: 10px; padding: 10px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.orientation-option input:checked + span { border-color: var(--action); background: #f0f5ff; }
.orientation-option input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }
.orientation-option strong { display: block; font-size: .86rem; line-height: 1.2; }
.orientation-option small { display: block; margin-top: 3px; color: var(--muted); font-size: .73rem; font-weight: 500; line-height: 1.25; }
.orientation-example { display: flex; gap: 2px; flex: none; }
.orientation-example.vertical { flex-direction: column; }
.orientation-example i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 4px; background: #ffceda; color: #0a2989; font-size: .65rem; font-weight: 900; font-style: normal; }
@media (max-width: 420px) { .orientation-option > span { flex-direction: column; align-items: flex-start; } }
.design-form input[type="text"] { display: block; width: 100%; min-height: 48px; padding: 8px 12px; margin-top: 5px; border-radius: 10px; border: 1px solid #ac9bbd; background: white; color: var(--ink); font-weight: 800; }
.hint, .form-note, .status { font-size: .86rem; color: var(--muted); }
.field-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; }
.field-foot output { font-size: .82rem; flex-shrink: 0; }
.design-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.design-form legend { padding: 0; margin-bottom: 5px; }
.choices { display: flex; gap: 6px; flex-wrap: wrap; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span {
  min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  border: 1px solid #d9cce4; border-radius: 12px; background: #fff; cursor: pointer; font-size: .88rem;
}
.choice input:checked + span { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); background: #f6efff; }
.choice input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 3px; }
.choice i { width: 16px; height: 16px; display: inline-block; border-radius: 50%; background: var(--swatch); border: 1px solid #30204438; }
.choice b { font-size: 1.1rem; color: var(--action); }
.design-form .button { margin-top: 2px; }
.status:empty { display: none; }
.status { color: #5132a0; font-weight: 800; }
.section { padding-block: 68px; }
.faq { border-top: 1px solid var(--line); display: grid; grid-template-columns: .62fr 1.38fr; gap: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq details p { padding: 0 24px 16px 0; color: var(--muted); }
.faq summary, .design-options summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 16px; font-weight: 900; list-style: none; }
.faq summary::-webkit-details-marker, .design-options summary::-webkit-details-marker { display: none; }
.faq summary::after, .design-options summary::after { content: "+"; font-size: 1.5rem; color: var(--action); }
.faq details[open] summary::after, .design-options[open] summary::after { content: "−"; }
.footer { background: #232549; color: #fff7ff; padding-block: 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.footer p { font-size: .88rem; color: #f1efff; }
.footer p a { text-decoration: underline; text-underline-offset: 4px; }
.footer :focus-visible { outline-color: #dfc8ff; }

.brand-star { color: #776088; font-family: system-ui, sans-serif; font-size: .51em; align-self: flex-start; margin-top: .24em; }
.footer .brand-star { color: #dac6e3; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(12px, 2.4vw, 28px); }
.footer-links { display: grid; gap: 4px; max-width: min(100%, 640px); }
.bag-toggle, .bag-close { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; background: transparent; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; }
.bag-toggle svg { width: 19px; height: 19px; }
.bag-toggle span { min-width: 23px; min-height: 23px; display: grid; place-items: center; border-radius: 50%; background: #ecdfed; font-size: .78rem; }
.header-actions .bag-toggle { border: 0; border-radius: 8px; background: transparent; color: #000; font-weight: 600; }
.header-actions .bag-toggle svg { width: 20px; height: 20px; }
.header-actions .bag-toggle:hover { background: var(--lavender); }

.shop-hero { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 420px; gap: clamp(25px, 5vw, 68px); align-items: center; padding-block: 43px 48px; }
.shop-hero h1 { font-size: clamp(3.3rem, 6.25vw, 6.35rem); line-height: .96; }
.shop-hero h1 em { font-weight: 400; color: #59603a; }
.shop-hero-copy p { max-width: 34ch; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.2rem); margin: 23px 0 26px; }
.shop-hero-photo, .product-hero-photo { margin: 0; position: relative; aspect-ratio: 1.31; background: #dbeaff; isolation: isolate; border-radius: 12px; overflow: hidden; }
.shop-hero-photo img, .product-hero-photo img { height: 100%; object-fit: cover; object-position: bottom; transform: scale(1.29); transform-origin: 50% 100%; mix-blend-mode: multiply; }
.photo-star { position: absolute; top: 14px; right: 22px; line-height: 1; font-size: clamp(1.75rem, 3vw, 2.8rem); color: #6d4e76; }
.collection { padding-block: 8px 76px; }
.collection-heading { display: flex; align-items: center; gap: 26px; padding-bottom: 26px; }
.collection-heading::after { content: ""; height: 1px; background: #bcb397; flex: 1; }
.collection h2 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.product-card { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; overflow: hidden; }
.product-card-photo { display: block; background: #eee1c6; overflow: hidden; aspect-ratio: 1.6; }
.product-card-photo img { height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.product-card-body { padding: 18px; }
.product-card-body h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.product-card-body h3 a { text-decoration: none; }
.product-card-body p { color: var(--muted); margin: 6px 0 12px; }
.product-card-bottom { display: flex; align-items: center; gap: 9px 18px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--action); text-underline-offset: 4px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; min-height: 54px; font-size: .9rem; color: var(--muted); }
.breadcrumbs a { text-underline-offset: 3px; }
.builder { padding-block: 32px 54px; }
.builder h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1; }
.builder-card { gap: clamp(17px, 3vw, 38px); padding: clamp(16px, 2.5vw, 28px); border-radius: 17px; }
.product-visuals { display: grid; align-content: start; gap: 13px; min-width: 0; }
.product-hero-photo { aspect-ratio: 1; background: #f4f0f6; }
#listing-photo { transform: none; mix-blend-mode: normal; object-fit: contain; object-position: center; }
.product-hero-photo picture { display: block; height: 100%; }
.listing-motion, .listing-controls button { min-height: 44px; min-width: 44px; border-radius: 999px; border: 1px solid #aaa4bd; background: #fff; font-weight: 800; }
.listing-motion { position: absolute; right: 12px; bottom: 12px; padding-inline: 14px; }
.listing-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; font-size: .89rem; }
.listing-controls button { font-size: 1.6rem; line-height: 1; }
.listing-controls button:hover, .listing-motion:hover { background: #edf1ff; }
.listing-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(58px, 8vw, 82px); gap: 8px; min-width: 0; overflow-x: auto; padding: 4px 4px 8px; scroll-snap-type: x proximity; }
.listing-thumbs button { position: relative; display: block; min-width: 0; aspect-ratio: 1; padding: 3px; border: 2px solid var(--line); border-radius: 10px; background: #f4f0f6; cursor: pointer; scroll-snap-align: start; }
.listing-thumbs button[data-listing-photo="click-demo-mia"]::after { content: "▶"; position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #fffef3ec; color: var(--action); font-size: .75rem; box-shadow: 0 1px 5px #23254955; }
.listing-thumbs button[aria-pressed="true"] { border-color: var(--action); box-shadow: 0 0 0 2px color-mix(in srgb, var(--action), transparent 75%); }
.listing-thumbs button:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
.listing-thumbs img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.product-intro-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 16px; }
.product-intro-actions strong { font-size: 1.05rem; }
.product-intro-actions .button { min-height: 44px; padding-block: 8px; }
.section-intro .shop-availability { font-size: .9rem; }
#design-form { scroll-margin-top: 18px; }
.preview { min-height: 200px; border-radius: 12px; }
.preview-title { background: #fff9ff; }
.form-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 11px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.form-price strong { font-size: 1.3rem; }
.choice span { border-color: #ded5d2; }
.choice input:checked + span { background: #e9efff; }
.footer p { margin-top: 6px; }
.footer nav a { display: flex; align-items: center; min-height: 44px; font-size: .92rem; }
.bag { position: fixed; inset: 0 0 0 auto; width: min(100%, 480px); height: 100%; max-width: 100%; max-height: 100%; margin: 0; border: 0; color: var(--ink); background: var(--surface); padding: 24px; box-shadow: -6px 0 26px #2325492b; }
.bag::backdrop { background: #23254980; }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 2.4rem; }
.bag-close { min-width: 44px; font-size: 1.45rem; }
.bag-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 7px 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.bag-row h3 { font-size: 1.28rem; line-height: 1.25; }
.bag-row p { color: var(--muted); font-size: .87rem; margin-top: 5px; }
.row-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: .86rem; }
.row-actions select, .row-actions button { min-height: 44px; padding: 5px 8px; font: inherit; color: inherit; background: transparent; }
.row-actions select { border: 1px solid var(--line); border-radius: 5px; }
.row-actions button { border: 0; text-decoration: underline; text-underline-offset: 3px; }
.bag-subtotal { display: flex; justify-content: space-between; gap: 8px; padding: 18px 0 6px; }
#bag-summary p { color: var(--muted); font-size: .9rem; }
#checkout { width: 100%; margin: 15px 0 10px; }
.button:disabled { background: #dfdbd1; color: #49423d; box-shadow: none; cursor: default; transform: none; }
.checkout-return { border: 1px solid var(--line); border-radius: 8px; margin-top: 20px; padding: 12px 16px; background: #f1efdd; }

/* Shop and product pages use the same surfaces, focus and tap spacing. */
[hidden] { display: none !important; }
button, a, summary, label.choice { touch-action: manipulation; }
strong, #tile-count { font-variant-numeric: tabular-nums; }
.wordmark { min-height: 44px; align-items: center; }
.brand-star { align-self: center; margin-top: 0; margin-bottom: .8em; }
.photo-star { width: clamp(24px, 3vw, 36px); height: auto; color: var(--lilac-ink); }
.shop-hero-photo { border-radius: 12px 12px 34px 12px; }
.collection-heading::after { background: var(--line); }
.product-grid:has(> :only-child) { grid-template-columns: minmax(0, 650px); }
.product-card:only-child { display: grid; grid-template-columns: .92fr 1.08fr; }
.product-card .product-card-photo { height: 100%; min-height: 160px; object-fit: cover; object-position: 34% center; aspect-ratio: auto; }
.product-card-body { align-content: center; padding: clamp(16px, 3vw, 30px); }
.product-card-bottom { padding-top: 5px; }
.product-facts { padding: 10px 4px; color: var(--muted); }
.product-material-note { margin: 8px 0 0; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.product-material-note a { font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.product-facts .text-link { font-size: .9rem; }
.form-heading { font-size: clamp(1.8rem, 3vw, 2.25rem); }
.design-form { gap: 16px; }
.design-form input[type="text"] { font-size: 1rem; }
.field-error { margin-top: 6px; color: var(--error); font-size: .9rem; font-weight: 700; }
.field-error:empty { display: none; }
#clicker-name[aria-invalid="true"] { border-color: var(--error); }
.preview { min-height: 156px; background-color: var(--lilac); }
.preview p { color: var(--lilac-ink); }
.chain { gap: 12px 8px; padding-block: 14px 18px; }
.key::before { left: -10px; }
.choices { gap: 8px; }
.choice span { transition: background .15s ease, border-color .15s ease; }
.choice:hover span { border-color: var(--action); }
.choice input:checked + span { border-width: 1px; }
.design-options { border-block: 1px solid var(--line); }
.design-options summary { padding-block: 7px; }
.design-options summary small { display: block; color: var(--muted); font-size: .83rem; font-weight: 500; }
.extra-options { display: grid; gap: 14px; padding-block: 8px 16px; }
.design-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.design-total strong { display: block; font-size: 1.24rem; }
.design-total .button { flex: 1 1 145px; max-width: 230px; margin: 0; }
.bag-continue { margin-top: 12px; }
.bag { height: 100dvh; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 840px) {
  .wrap { width: calc(100% - 44px); }
  .shop-hero h1 { font-size: clamp(2.4rem, 5.8vw, 4rem); }
  .builder-card { gap: 15px; padding: 16px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .builder-card, .faq { grid-template-columns: minmax(0, 1fr); }
  .builder, .section { padding-block: 42px; }
  .builder-card { border-radius: 21px; padding: 12px; }
  .preview { min-height: 207px; border-radius: 15px; padding: 13px; }
  .design-form { padding: 4px; }
  .faq { gap: 20px; }
  .shop-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 32px 26px; gap: 22px; }
  .shop-hero h1 { font-size: clamp(3rem, 12vw, 4.55rem); }
  .shop-hero-copy p { margin: 15px 0 18px; }
  .shop-hero-photo { aspect-ratio: 1.42; }
  .collection { padding-block: 5px 45px; }
  .collection-heading { gap: 13px; padding-bottom: 15px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { max-width: 470px; }
  .product-card:only-child { grid-template-columns: 1fr; }
  .product-card .product-card-photo { height: auto; min-height: 0; aspect-ratio: 1.8; }
  .desktop-break { display: none; }
  .product-visuals { gap: 9px; }
  .product-facts { padding-block: 0; }
}
.wordmark { font-weight: 800; }
.brand-star { color: #3049ce; }
.bag-toggle span { background: #e6edff; }
.button { border-radius: 999px; box-shadow: none; }
.button:active { box-shadow: none; transform: translateY(2px); }
.shop-hero {
  display: block; min-height: 0; padding-block: clamp(28px, 4vw, 52px) clamp(26px, 3.6vw, 44px);
}
.shop-hero-copy { text-align: center; position: relative; padding-inline: 40px; }
.shop-hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.7rem); line-height: .98; }
.shop-hero-copy p { max-width: 46ch; margin: 14px auto 20px; }
.shop-hero-copy .button { min-height: 50px; }
.hero-sticker { position: absolute; width: clamp(26px, 5vw, 55px); pointer-events: none; }
.hero-sticker-star { left: 3%; top: 28%; color: #ffc547; transform: rotate(-14deg); }
.hero-sticker-heart { right: 4%; bottom: 7%; color: #f58178; transform: rotate(14deg); }
.mobile-break { display: none; }
.shop-hero-photo { margin-top: clamp(22px, 3vw, 38px); aspect-ratio: 2.45; border-radius: clamp(18px, 3vw, 30px); }
.shop-hero-photo img { transform: none; mix-blend-mode: normal; object-position: center; }
.collection { padding-bottom: clamp(32px, 6vw, 68px); }
.collection-heading::after { display: none; }
.collection h2 { font-size: clamp(2rem, 4.1vw, 3.4rem); }
.product-grid:has(> :only-child) { grid-template-columns: 1fr; }
.product-card { border-radius: 20px; }
.product-card:only-child { grid-template-columns: minmax(160px, .46fr) 1fr; max-width: none; }
.product-card .product-card-photo { object-position: center; max-height: 250px; }
.product-card-bottom { justify-content: flex-start; gap: 12px 20px; border-top: 0; }
.product-card-bottom .button { min-height: 44px; padding: 8px 18px; }
.faq-band { background: #eaf2ff; }
.faq { border-top: 0; grid-template-columns: .78fr 1.22fr; }
.faq h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.faq details { border-color: #bec9e5; }
.faq details:first-child { border-top-color: #bec9e5; }
.faq summary { min-height: 56px; }
.builder { padding-block: 24px 48px; }
.builder h1 { font-size: clamp(2.55rem, 5.6vw, 4.7rem); }
.builder-card { border-radius: 24px; box-shadow: 0 7px 25px #2325490c; }
.product-hero-photo { border-radius: 18px; }
.preview { background-color: #e5efff; background-image: none; border-radius: 16px; }
.preview-title { background: #f9fbff; }
.preview p { color: #37437a; }
.key span { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; }
.design-total { border-top: 1px solid var(--line); padding-top: 13px; }
.design-total strong { font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.15; }
.delivery-note, .edit-design { display: inline-flex; align-items: center; min-height: 44px; color: var(--action); text-underline-offset: 3px; font-weight: 700; font-size: .9rem; }
.row-actions { flex-wrap: wrap; }
.footer .brand-star { color: #ffdd82; }
@media (max-width: 650px) {
  .shop-hero-copy { padding-inline: 10px; }
  .shop-hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .mobile-break { display: inline; }
  .hero-sticker-star { left: -3px; top: 13%; }
  .hero-sticker-heart { right: 3px; top: 36%; }
  .shop-hero-photo { aspect-ratio: 1.65; }
  .shop-hero-photo img { object-position: 57% center; }
  .product-card:only-child { grid-template-columns: 1fr; }
  .product-card .product-card-photo { aspect-ratio: 1.85; max-height: none; }
  .faq { grid-template-columns: 1fr; }
  .design-total .button { max-width: none; flex-basis: 100%; }
  .preview { min-height: 155px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Yoursie storefront: real-scale bag photography and a direct route to the customiser. */
.eyebrow { display: inline-block; color: #4c55a7; font-size: .78rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; }
.wordmark { letter-spacing: -.065em; }
.yoursie-hero { display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: clamp(24px, 5vw, 70px); padding-block: clamp(28px, 4vw, 56px); }
.yoursie-hero .shop-hero-copy { text-align: left; padding-inline: 0; }
.yoursie-hero h1 { font-size: clamp(3.5rem, 6.2vw, 6.2rem); line-height: .97; }
.yoursie-hero h1 em { color: #bb355c; font-style: normal; }
.yoursie-hero .shop-hero-copy p { max-width: 30ch; margin: 25px 0 24px; font-size: clamp(1.04rem, 1.5vw, 1.22rem); }
.hero-under { display: block; color: var(--muted); font-size: .85rem; margin-top: 16px; }
.yoursie-hero .shop-hero-photo { margin: 0; height: auto; min-height: 0; aspect-ratio: 1; border-radius: 28px; background: #e6e9ec; }
.yoursie-hero .shop-hero-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center 57%; transform: none; mix-blend-mode: normal; }
.promise-strip { background: #e9efff; border-block: 1px solid #d7e0f7; }
.promise-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 15px 28px; padding-block: 16px; }
.promise-strip span { display: inline-flex; align-items: center; gap: 13px; font-size: .86rem; font-weight: 800; }
.promise-strip span::before { content: '✦'; color: #ef6688; font-size: .94rem; }
.idea-section { padding-block: clamp(54px, 7vw, 96px); }
.ideas-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.ideas-heading h2 { max-width: 13ch; }
.ideas-heading p { color: var(--muted); max-width: 54ch; margin-top: 14px; }
.ideas-heading .text-link { white-space: nowrap; }
.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.idea-card { position: relative; margin: 0; border-radius: 24px; overflow: hidden; min-height: 0; aspect-ratio: 1; background: #dce8f8; }
.idea-card img { width: 100%; height: 100%; object-fit: cover; }
.idea-card-wide img { object-position: 60% center; }
.idea-card figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: grid; gap: 1px; width: max-content; max-width: calc(100% - 32px); padding: 12px 17px; border-radius: 15px; background: #fffdf4ef; box-shadow: 0 4px 18px #20294124; }
.idea-card figcaption strong { font-size: 1rem; }
.idea-card figcaption span { color: var(--muted); font-size: .83rem; }
.collection { padding-block: clamp(26px, 4vw, 52px) clamp(54px, 7vw, 94px); }
.collection-heading { padding-bottom: 22px; }
.collection h2 { max-width: 17ch; }
.product-card:only-child { grid-template-columns: .95fr 1.05fr; }
.product-card .product-card-photo { max-height: none; height: auto; aspect-ratio: 1; align-self: center; object-fit: cover; object-position: center; }
.product-card-body { padding: clamp(22px, 4vw, 50px); }
.product-card-body h3 { font-size: clamp(1.7rem, 2.8vw, 2.55rem); line-height: 1.08; max-width: 18ch; }
.product-card-body p { max-width: 48ch; margin-block: 15px 26px; }
.product-card-bottom strong { font-size: 1.12rem; }
.how-band { background: #ffeddf; }
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 100px); align-items: center; padding-block: clamp(50px, 7vw, 84px); }
.how-grid h2 { max-width: 13ch; }
.how-grid p { max-width: 46ch; margin-block: 19px 24px; color: var(--muted); }
.how-grid img { max-height: 450px; object-fit: cover; border-radius: 24px; background: #fff; }
.product-hero-photo img { transform: none; mix-blend-mode: normal; object-fit: contain; object-position: center; }
.key { outline: 1px solid #26305328; }
.key:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
@media (max-width: 850px) {
  .yoursie-hero { gap: 20px; }
  .yoursie-hero h1 { font-size: clamp(3rem, 7vw, 5rem); }
  .yoursie-hero .shop-hero-photo { min-height: 0; }
  .promise-strip .wrap { flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .yoursie-hero { grid-template-columns: 1fr; gap: 26px; padding-block: 27px 35px; }
  .yoursie-hero .shop-hero-copy { padding: 0; }
  .yoursie-hero h1 { font-size: clamp(3.2rem, 12vw, 4.7rem); }
  .yoursie-hero .shop-hero-copy p { margin: 15px 0 19px; }
  .yoursie-hero .shop-hero-photo { min-height: 0; height: auto; aspect-ratio: 1; border-radius: 22px; }
  .promise-strip .wrap { display: grid; gap: 8px; padding-block: 13px; }
  .idea-section { padding-block: 48px; }
  .ideas-heading { display: block; }
  .ideas-heading .text-link { margin-top: 12px; }
  .idea-grid { grid-template-columns: 1fr; gap: 14px; }
  .idea-card { min-height: 0; height: auto; aspect-ratio: 1; }
  .collection { padding-block: 28px 48px; }
  .product-card:only-child { grid-template-columns: 1fr; }
  .product-card .product-card-photo { height: auto; aspect-ratio: 1; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .how-grid img { max-height: 290px; }
}

.tile-editor { display: grid; gap: 10px; min-width: 0; }
.tile-editor h3 { font-size: 1.35rem; }
.tile-editor-head p { color: var(--muted); font-size: .88rem; margin-top: 5px; }
.tile-rows { display: grid; gap: 9px; }
.tile-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: .9rem; }
.tile-row { display: grid; grid-template-columns: 18px 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px; border-radius: 13px; border: 1px solid #d7def0; background: #fafbff; }
.tile-number { color: var(--muted); font-size: .82rem; font-weight: 800; }
.tile-chip { width: 44px; height: 44px; display: grid; place-items: center; border: 4px solid #cbd3e9; border-radius: 11px; background: var(--cap); color: var(--letter); font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 1.4rem; font-weight: 800; box-shadow: 0 3px 0 #a8b3d4; }
.model-icon { display: block; flex: none; object-fit: contain; }
.model-icon-ink { background-color: var(--mark); mask-size: contain; mask-repeat: no-repeat; mask-position: center; mask-mode: alpha; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; }
.tile-moves { display: inline-flex; grid-column: 3 / -1; gap: 8px; }
.tile-moves button, .tile-remove { border: 1px solid #bfc8e3; border-radius: 9px; background: white; color: var(--ink); min-height: 44px; padding: 5px 10px; font-weight: 800; }
.tile-moves button { min-width: 44px; font-size: 1.15rem; }
.tile-moves button:disabled { opacity: .35; cursor: default; }
.tile-remove { grid-area: 2 / 4; align-self: end; color: #8d3442; border-color: #e7c5cb; }
.tile-colour { grid-row: 2; grid-column: 2 / -1; font-size: .78rem; color: var(--muted); }
.tile-row:has(.tile-remove) .tile-colour { grid-column: 2 / 4; }
.tile-colour select { display: block; width: 100%; min-height: 44px; margin-top: 3px; border: 1px solid #bfc8e3; border-radius: 8px; background: white; color: var(--ink); padding: 5px 8px; font-size: 1rem; font-weight: 700; }
.symbol-add { display: grid; gap: 9px; margin-top: 8px; }
.symbol-add h4 { font-size: 1rem; }
.symbol-categories { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 2px 8px; }
.symbol-categories button { flex: none; min-height: 44px; border: 1px solid #bfc8e3; border-radius: 999px; background: white; padding: 8px 12px; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 800; }
.symbol-categories button[aria-pressed="true"] { border-color: #473083; background: #473083; color: white; }
.symbol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 74px), 1fr)); gap: 8px; }
.symbol-choice { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 6px 3px 8px; border: 1px solid #d6daeb; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: .78rem; font-weight: 800; line-height: 1.2; text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.symbol-choice img { max-width: 100%; }
.symbol-choice:hover, .symbol-choice:focus-visible, .tile-moves button:not(:disabled):hover { border-color: var(--action); background: #eef2ff; }
.symbol-choice:focus-visible, .symbol-categories button:focus-visible { outline: 3px solid #8357e8; outline-offset: 2px; }
.tile-editor .hint { line-height: 1.4; }
.tile-editor .field-error:empty { display: none; }
.draft-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: .875rem; color: var(--muted); }
.draft-tools button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #000; text-decoration: underline; text-underline-offset: 3px; }
.draft-tools button:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
@media (max-width: 650px) {
  .tile-row { padding: 8px; }
}
