/* Krystle's Krap storefront and admin. Design notes: docs/DESIGN.md.

   Order: fonts, color and font tokens (:root), base elements, then shop and admin components,
   and last one block per breakpoint, widest first: 1000px (tablet), 760px (small tablet and
   large phone), 600px (phone), 420px (small phone), 360px (smallest phone), then touch screens,
   reduced motion and print (plus a tablet-only band for the home hero and one wide-screen rule).
   Outside the breakpoint blocks, each selector is defined once. */
/* The site's own fonts, served from /fonts so every device shows the same brand. Latin letters
   only; any other character falls back to the next font in the stack. Licenses: fonts/LICENSES.md. */
@font-face {
  font-family: Caprasimo;
  src: url('/fonts/caprasimo.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Patrick Hand';
  src: url('/fonts/patrick-hand.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Playful pink boutique on a deep plum page. Every color and font is a token here. */
:root {
  --color-text: #f9eaf2;
  --color-page: #20151e;
  --color-border: #59404f;
  --color-action: #f39bc6;
  --color-text-muted: #ceb5c5;
  --color-surface: #2c1f29;
  /* The surface color at 80%, for the see-through site menu. */
  --color-surface-glass: rgb(44 31 41 / 0.8);
  --color-action-ink: #321b2a;
  --color-action-hover: #ffc0df;
  --color-disabled-surface: #483d44;
  --color-disabled-border: #6f5e69;
  --color-disabled-text: #d5c9d1;
  --color-secondary-text: #f4c2dc;
  --color-secondary-hover: #49313f;
  --color-notice-surface: #35222f;
  --color-notice-text: #e1c5d5;
  --color-badge-surface: #543747;
  --color-heading-accent: #f4a3ca;
  --color-hero-description: #e0c3d3;
  --color-handwriting: #eab1ce;
  --color-placeholder: #d2d0d2;
  --color-placeholder-ink: #514c51;
  --color-placeholder-caption: #5e585d;
  --color-strip-text: #f5b4d4;
  --color-input-border: #806675;
  --color-input-surface: #30232c;
  --color-input-placeholder: #c4acba;
  --color-product-action: #f7b9d9;
  --color-product-border: #886477;
  --color-product-disabled-surface: #382e35;
  --color-product-disabled-text: #beacb7;
  --color-product-disabled-border: #65535e;
  --color-error: #ffadb5;
  --color-favorite-text: #f0b1d0;
  --color-favorite-hover: #ffc8e3;
  --color-favorite-surface: #291522;
  --color-favorite-border: #937084;
  --color-dialog-surface: #251b22;
  --color-focus: #ffd0e7;
  --color-dialog-backdrop: rgb(14 8 13 / 0.8);
  --color-gallery-text: #f5c8df;
  --color-sparkle: #ffe0ef;
  --color-hero-action-border: #806075;
  --color-hero-action-text: #f5bfdb;
  --color-display-light: rgb(211 91 158 / 0.23);
  --color-display-light-clear: rgb(211 91 158 / 0);
  --color-placeholder-back: #c4c1c5;
  --color-placeholder-tall: #dad7da;
  --color-placeholder-front: #bcb9be;
  --color-note-surface: #ecacd0;
  --color-note-ink: #442236;
  --color-note-shadow: rgb(10 4 8 / 0.18);
  --color-shelf-border: #765263;
  --color-shelf-shadow: #4b3442;
  --color-hero-surface: #21151f;
  --color-hero-text: #ead1df;
  --color-hero-button-surface: rgba(34, 18, 29, 0.75);
  --color-hero-button-border: #bd8da7;
  --color-arrival-border: #98647f;
  --color-arrival-link: #f4b1d2;
  --color-hero-blend-start: rgba(32, 21, 30, 0.82);
  --color-hero-blend-middle: rgba(32, 21, 30, 0.48);
  --color-hero-blend-end: rgba(32, 21, 30, 0.12);
  --color-hero-mobile-blend-start: rgba(32, 21, 30, 0.9);
  --color-hero-mobile-blend-middle: rgba(32, 21, 30, 0.58);
  --color-hero-mobile-blend-low: rgba(32, 21, 30, 0.16);
  --color-hero-mobile-blend-end: rgba(32, 21, 30, 0.3);
  --color-product-frame: #392732;
  --color-sticker: #f5bdd8;
  --color-sticker-ink: #422536;
  --color-toast-surface: #30212ceb;
  --color-toast-border: #976c83;
  --color-photo-frame: #493440;
  --color-shelf-selected: #f3b5d2;
  --color-editor-input: #251b23;
  --color-skip-surface: #f19ac7;
  --color-skip-ink: #241821;
  --color-draft-surface: #33232e;
  --color-draft-border: #b9809f;
  --color-upload-border: #ba83a0;
  --color-upload-surface: #2d2029;
  --color-upload-drag-surface: #493043;
  --color-upload-drag-border: #f3afd3;
  --color-upload-caption: #dec5d5;
  --color-photo-placeholder: #d2cfd1;
  /* Product photos sit on a soft blush surface; their white backgrounds blend into it. */
  --color-photo-surface: #fbeef4;
  --color-photo-surface-deep: #f1d6e3;
  /* The light blush band on the home page, and the text and doodles that sit on it. */
  --color-band: #f8e2ed;
  --color-band-ink: #321b2a;
  --color-band-muted: #6a4659;
  --color-band-link: #9b2d66;
  --color-band-doodle: #d77aa8;
  --color-doodle: #f0a8cb;
  /* Faint background doodles (Doodle Pink at about a quarter strength) for the quieter pages. */
  --doodle-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23f0a8cb' stroke-opacity='0.26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='rotate(12 20 20)' d='M20 33.5C9.4 26.4 4.6 20.7 5.3 14.2c.6-5.1 5.3-8.2 9.9-6.6 2.2.8 3.8 2.6 4.8 4.9 1.1-2.4 2.9-4.2 5.3-4.8 4.8-1.3 9.3 2.3 9.1 7.6-.2 6.3-5.5 11.9-14.4 18.2Z'/%3E%3C/svg%3E");
  --doodle-heart-tilt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23f0a8cb' stroke-opacity='0.26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='rotate(-16 20 20)' d='M20 33.5C9.4 26.4 4.6 20.7 5.3 14.2c.6-5.1 5.3-8.2 9.9-6.6 2.2.8 3.8 2.6 4.8 4.9 1.1-2.4 2.9-4.2 5.3-4.8 4.8-1.3 9.3 2.3 9.1 7.6-.2 6.3-5.5 11.9-14.4 18.2Z'/%3E%3C/svg%3E");
  --doodle-sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23f0a8cb' stroke-opacity='0.26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='rotate(8 20 20)' d='M20 3.5c1.3 8.4 4.6 12.6 15.8 16.2-11 2.7-14.4 7.3-15.8 16.8-1.7-9.9-5.2-14.4-16.3-16.6C14.9 16.3 18.5 12 20 3.5Z'/%3E%3C/svg%3E");
  --doodle-twinkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23f0a8cb' stroke-opacity='0.26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='rotate(0 20 20)' d='M20 7.5c.4 4.4.3 8.6 0 12.7-.3 4.1-.2 8.2.3 12.3M7.8 20.4c4.1-.6 8.2-.6 12.3-.3 4.1.3 8.1.1 12.1-.6'/%3E%3C/svg%3E");
  --color-stage-glow: rgb(243 155 198 / 0.2);
  --color-shadow: rgb(9 3 8 / 0.6);
  --color-shadow-soft: rgb(9 3 8 / 0.35);
  --color-save-error: #ffc5d5;
  --color-dialog-text: #faeaf2;
  --color-leave-backdrop: rgb(15 8 13 / 0.75);
  /* Type scale. Every fixed text size uses one of these steps; nothing is smaller than 13px.
     Hierarchy comes from weight and color first, size second. The hero and page titles use
     their own responsive clamp() sizes. */
  --text-caption: 13px;
  --text-small: 15px;
  --text-body: 16px;
  --text-title: 18px;
  --text-subhead: 22px;
  --text-heading: 30px;
  --font-ui: 'Source Sans 3', 'Trebuchet MS', Arial, sans-serif;
  --font-display: Caprasimo, Georgia, serif;
  /* Patrick Hand runs small, so handwritten sizes are about 20% larger than for the old Segoe Print. */
  --font-handwritten: 'Patrick Hand', 'Segoe Print', 'Bradley Hand', cursive;
  font-family: var(--font-ui);
  color: var(--color-text);
  background: var(--color-page);
  --accent: var(--color-action);
  --muted: var(--color-text-muted);
  --ink: var(--color-action-ink);
}
/* Anything marked hidden stays hidden, whatever layout style it would otherwise get. */
[hidden] {
  display: none !important;
}
/* The ribbon and the full-width bands reach the screen edges; nothing scrolls sideways. This
   has to sit on the root element: browsers do not carry clip over from body to the window. */
html {
  overflow-x: clip;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button:hover,
.button:hover {
  background: var(--color-action-hover);
  border-color: var(--color-action-hover);
}
button:disabled {
  background: var(--color-disabled-surface);
  border-color: var(--color-disabled-border);
  color: var(--color-disabled-text);
  cursor: not-allowed;
}
.notice {
  background: var(--color-notice-surface);
  color: var(--color-notice-text);
  text-align: center;
  padding: 9px 16px;
  font-size: var(--text-caption);
  letter-spacing: 0.02em;
}
.brand em {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-size: var(--text-small);
  text-decoration: none;
}
nav a:hover {
  color: var(--accent);
}
main {
  position: relative;
  isolation: isolate;
  max-width: 1440px;
  margin: auto;
  padding: 40px 48px 64px;
  min-height: 65vh;
}
/* Shopper pages other than home (which has its own) and product pages carry a few faint doodles
   in the empty top right, and help pages a few more down their right side. The admin stays plain.
   interactions.js sets data-doodles for each page. */
main[data-doodles='on']::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 26px;
  right: 40px;
  width: 400px;
  height: 130px;
  pointer-events: none;
  background:
    var(--doodle-heart) right 0 top 0 / 96px no-repeat,
    var(--doodle-sparkle) right 200px top 20px / 46px no-repeat,
    var(--doodle-twinkle) right 116px top 92px / 30px no-repeat,
    var(--doodle-heart-tilt) right 300px top 84px / 34px no-repeat;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-heading);
  margin: 0 0 16px;
  text-wrap: balance;
}
/* Caprasimo has a single weight, so the browser must never fake a bolder one where a rule asks
   for more (the footer brand is a <strong>, for example). */
h1,
h2,
footer strong,
.brand,
.hero-display h1 span,
.today-tile strong {
  font-synthesis-weight: none;
}
h3 {
  font-size: var(--text-title);
  margin: 16px 0 8px;
}
p {
  line-height: 1.65;
  max-width: 70ch;
}
.muted {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  align-items: center;
  gap: 28px;
  padding: 34px 0 46px;
}
.hero-copy {
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.hero h1 span {
  display: block;
  font-family: var(--font-handwritten);
  font-size: 0.92em;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.hero h1 em {
  display: block;
  color: var(--color-heading-accent);
  margin-top: 8px;
}
.hero-copy > p {
  margin: 22px auto;
  color: var(--color-hero-description);
  font-size: var(--text-small);
}
.hero-copy button {
  padding: 14px 34px;
  text-transform: uppercase;
  font-size: var(--text-caption);
  letter-spacing: 0.09em;
}
.hero-copy .handwritten {
  font-family: var(--font-handwritten);
  font-size: var(--text-subhead);
  color: var(--color-handwriting);
  margin-bottom: 0;
}
.placeholder {
  aspect-ratio: 4/3;
  background: var(--color-placeholder);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-ink);
  font-size: var(--text-small);
  border-radius: 3px;
  gap: 8px;
}
.placeholder small {
  font-size: var(--text-caption);
  color: var(--color-placeholder-caption);
}
.hero-photo {
  aspect-ratio: 3/4;
  max-height: 280px;
  width: 100%;
  border-radius: 3px;
}
.hero-photo:first-child {
  transform: rotate(-4deg);
}
.hero-photo:last-child {
  transform: rotate(4deg);
}
.collection-strip {
  display: flex;
  justify-content: center;
  gap: 52px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 17px 0;
  color: var(--color-strip-text);
  text-transform: uppercase;
  font-size: var(--text-caption);
  letter-spacing: 0.18em;
}
.catalog-heading {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  scroll-margin-top: 24px;
}
.catalog-heading h2 {
  font-size: var(--text-heading);
  margin-bottom: 8px;
}
.catalog-heading p {
  font-size: var(--text-caption);
}
.sample-note {
  font-size: var(--text-caption);
  color: var(--muted);
  margin: 0;
}
.toolbar label {
  flex: 1;
  min-width: 180px;
}
.toolbar label:last-child {
  flex: 0.55;
}
label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  font-size: max(1rem, 16px);
  border: 1px solid var(--color-input-border);
  border-radius: 5px;
  background: var(--color-input-surface);
  padding: 12px;
  margin-top: 7px;
  color: var(--color-text);
  caret-color: var(--color-action);
  color-scheme: dark;
}
input::placeholder {
  color: var(--color-input-placeholder);
}
/* Checkboxes are 22px, big enough to tap on a phone, and tinted to the brand pink. */
input[type='checkbox'] {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0 8px 0 0;
  accent-color: var(--accent);
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.product h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
  min-height: 2.6em;
}
.product > .row {
  margin-bottom: auto;
}
.product h3 a {
  text-decoration: none;
}
.product h3 a:hover {
  text-decoration: underline;
}
/* The name's link also covers the square photo, so tapping the photo opens the product. The
   heart and Quick View sit above it. */
.product h3 a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  aspect-ratio: 1;
}
.product p {
  margin: 6px 0;
}
.product button {
  width: 100%;
  margin-top: 14px;
  background: transparent;
  color: var(--color-product-action);
  border-color: var(--color-product-border);
  border-radius: 5px;
  font-size: var(--text-caption);
}
.product button:hover {
  background: var(--color-secondary-hover);
}
.product button:disabled {
  background: var(--color-product-disabled-surface);
  color: var(--color-product-disabled-text);
  border-color: var(--color-product-disabled-border);
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tag {
  font-size: var(--text-caption);
  color: var(--muted);
}
.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 26px;
  border-radius: 12px;
  margin: 24px 0;
}
.empty {
  padding: 48px 0;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* Shop: "Show More" spans the whole product grid. */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 8px;
}
.pager[hidden] {
  display: none;
}
/* Site Menu: one button at the top right opens Shop, Cart, Wishlist and (when signed in)
   Sign Out. The header stays one row at every width. */
.show-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 8px 0 24px;
}
/* header.header outranks the older phone rules that stacked the logo above the links. */
/* Header right side: Shop (wide screens), the cart icon with its count, then Menu. The cart
   stays visible at every width so shoppers never have to open a menu to find it. */
/* Small moments: the heart pops when something is saved, and the cart hops (with its count) when
   something lands in it. Reduced motion turns both off. */
header.header {
  flex-direction: row;
  flex-wrap: nowrap;
}
.site-menu {
  position: relative;
  flex: 0 0 auto;
}
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--text-small);
  list-style: none;
}
.site-menu > summary::-webkit-details-marker {
  display: none;
}
.site-menu > summary::marker {
  content: '';
}
.site-menu > summary:hover,
.site-menu[open] > summary {
  border-color: var(--color-action);
}
.site-menu-icon {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 -5px 0 currentColor,
    0 5px 0 currentColor;
}
/* Order status in plain words. Pink means the order is waiting on the shop owner. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-link {
  padding: 10px 14px;
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
}
.header-link:hover {
  color: var(--accent);
}
.header-cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-text);
}
.header-cart:hover {
  color: var(--accent);
}
/* The one thing to do now on an order, set apart from everything else. */
.favorite.pop svg {
  animation: heart-save-pop 380ms cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes heart-save-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.32);
  }
  100% {
    transform: scale(1);
  }
}
.header-cart.bump svg {
  animation: cart-hop 440ms cubic-bezier(0.25, 1, 0.5, 1);
}
.header-cart.bump .menu-count {
  animation: count-pop 440ms ease-out;
}
@keyframes cart-hop {
  0% {
    transform: none;
  }
  35% {
    transform: translateY(-4px) rotate(-8deg);
  }
  70% {
    transform: translateY(0) rotate(4deg);
  }
  100% {
    transform: none;
  }
}
@keyframes count-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}
.menu-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--color-action);
  color: var(--color-action-ink);
  font-size: var(--text-caption);
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.site-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 2px;
  /* As wide as the longest item, so there is no empty band beside the labels. */
  width: max-content;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  /* See-through, with what is behind softly blurred so the menu stays easy to read. */
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-menu nav a,
.site-menu nav button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--color-text);
  font: inherit;
  font-size: var(--text-small);
  text-align: left;
  text-decoration: none;
}
.site-menu nav a:hover,
.site-menu nav button:hover {
  background: var(--color-secondary-hover);
  color: var(--color-text);
}
.site-menu nav button {
  margin-top: 4px;
  border-top: 1px solid var(--color-border);
  border-radius: 0 0 8px 8px;
  cursor: pointer;
}
.page-help {
  display: block;
  width: fit-content;
  margin: 0 0 10px auto;
  font-size: var(--text-small);
}
.page-help::before {
  content: '?';
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: var(--text-caption);
  font-weight: 700;
}
.back-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.back-row .page-help {
  margin: 0;
}
.owner-guide ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  line-height: 1.5;
}
/* The site credit: no underline, it lights up pink on hover. */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-badge-surface);
  font-size: var(--text-caption);
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.needs-action {
  background: var(--color-action);
  color: var(--color-action-ink);
}
.status-badge.is-live {
  background: transparent;
  border: 1px solid var(--color-action);
  color: var(--color-action);
}
/* Collector interactions */
.inventory-panel-heading,
.product-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.inventory-panel-heading h2,
.product-entry .breadcrumbs {
  margin: 0;
}
.product-entry {
  margin-bottom: 24px;
}
/* Product cards lead with the product. Save is a heart on the photo; Quick View fades in over
   the photo when the card is hovered or holds keyboard focus. The tools sit in a square layer
   the size of the (square) photo. */
.next-step {
  border-color: var(--color-action);
}
.next-step h2 {
  margin-top: 0;
}
.next-step #packing-checks label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  font-size: var(--text-body);
}
.next-step #packing-checks input {
  width: 22px;
  height: 22px;
}
.more-options > summary,
.follow-up > summary {
  font-size: var(--text-title);
}
.more-options[open] > summary,
.follow-up[open] > summary {
  margin-bottom: 12px;
}
th,
td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-small);
}
th {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.wide {
  grid-column: 1/-1;
}
.error {
  color: var(--color-error);
}
.tabs {
  display: flex;
  gap: 22px;
  margin: 30px 0;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.detail .placeholder {
  aspect-ratio: 1;
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 48px 48px 28px;
  font-size: var(--text-small);
  background: var(--color-surface);
  box-shadow: 0 0 0 100vmax var(--color-surface);
  clip-path: inset(0 -100vmax);
  color: var(--muted);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 28px 40px;
}
.footer-brand p {
  max-width: 34ch;
  margin: 8px 0 0;
}
footer h2 {
  margin: 0 0 4px;
  color: var(--color-text);
  font: 600 var(--text-small) var(--font-ui);
}
footer strong {
  font-family: var(--font-display);
  color: var(--color-favorite-text);
  font-size: var(--text-subhead);
}
.footer-note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-caption);
}
.footer-note small {
  font-size: inherit;
}
/* Thumbnails under the main product photo; the current one has a pink ring. */
.footer-note a {
  text-decoration: none;
}
.footer-note a:hover {
  color: var(--color-action);
}
:focus-visible {
  outline: 3px solid var(--color-favorite-hover);
  outline-offset: 4px;
}
::selection {
  background: var(--color-action);
  color: var(--color-favorite-surface);
}
* {
  box-sizing: border-box;
  scrollbar-color: var(--color-favorite-border) var(--color-dialog-surface);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
/* Under Add To Cart once the store is open. */
.discovery-actions,
.category-shortcuts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.category-shortcuts {
  gap: 8px;
}
.category-shortcuts button {
  font-size: var(--text-caption);
  padding: 9px 14px;
}
.category-shortcuts [aria-pressed='true'] {
  background: var(--accent);
  color: var(--ink);
}
/* Secondary buttons come after the shared button rule so their outline style wins. */
.product .card-tools {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  aspect-ratio: 1;
  margin: 0;
  pointer-events: none;
}
.product .card-tools button {
  pointer-events: auto;
  margin: 0;
}
.product .card-tools button.favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--color-favorite-surface);
}
.product .card-tools .favorite span {
  display: none;
}
.product .card-tools [data-quick] {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: auto;
  min-height: 36px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-caption);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition:
    opacity 160ms ease-out,
    transform 160ms ease-out;
}
.product:hover .card-tools [data-quick],
.product:focus-within .card-tools [data-quick] {
  opacity: 1;
  transform: translate(-50%, 0);
}
.favorite.is-saved svg path {
  fill: currentColor;
}
.favorite.is-saved {
  color: var(--color-focus);
}
.quick-view {
  width: min(960px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}
.quick-view::backdrop {
  background: var(--color-dialog-backdrop);
}
.quick-view .detail {
  margin-top: 18px;
  gap: 28px;
}
.quick-view h2 {
  font-size: var(--text-heading);
}
/* Compact catalog toolbar: one desktop row, natural wrapping on small screens. */
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-photo-surface);
}
.gallery-thumb:hover,
.gallery-thumb[aria-current='true'] {
  border-color: var(--color-action);
  background: var(--color-photo-surface);
}
.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 240ms ease-out;
}
/* A brief sparkle burst for discovery; no continuous animation. */
.purchase-note {
  margin: 10px 0 0;
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}
.gallery-note {
  font-size: var(--text-caption);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.reveal-pick {
  animation: reveal-pick 180ms ease-out;
}
@keyframes reveal-pick {
  from {
    opacity: 0.7;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
button,
.button {
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 24px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out;
}
/* Approved Option A wordmark. Preserve the original artwork and aspect ratio. */
.secondary {
  background: transparent;
  color: var(--color-secondary-text);
}
.secondary:hover {
  background: var(--color-secondary-hover);
}
.opening-box {
  vertical-align: middle;
  color: var(--accent);
  margin-right: 8px;
}
.box-lid {
  transform-origin: 4px 13px;
  animation: open-lid 180ms ease-out both;
}
@keyframes open-lid {
  to {
    transform: translateY(-2px) rotate(-12deg);
  }
}
.favorite.is-saved svg {
  animation: heart-pop 160ms ease-out;
}
@keyframes heart-pop {
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
/* Home hero: headline, handwritten tagline and actions. */
.toolbar {
  flex-wrap: wrap;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(180px, 280px) auto;
  align-items: end;
  gap: 14px;
  margin: 24px 0 12px;
}
.toolbar label,
.toolbar label:last-child {
  min-width: 0;
}
.toolbar input,
.toolbar select {
  height: 46px;
}
#results-count {
  font-size: var(--text-caption);
  margin: 10px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 22px;
  margin-top: 20px;
}
/* Four products, two by two. The rows share the panel's height, so photos fill what is left
   after the name and price. */
.toolbar-surprise {
  height: 44px;
  white-space: nowrap;
  padding: 10px 22px;
  position: relative;
  isolation: isolate;
}
.toolbar-surprise::before,
.toolbar-surprise::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--color-sparkle);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  pointer-events: none;
  opacity: 0;
}
.toolbar-surprise::before {
  left: -5px;
  top: 3px;
}
.toolbar-surprise::after {
  right: -5px;
  bottom: 3px;
  width: 11px;
  height: 11px;
}
.toolbar-surprise:is(:hover, :focus-visible)::before {
  animation: discovery-sparkle 3s ease-out both;
}
.toolbar-surprise:is(:hover, :focus-visible)::after {
  animation: discovery-sparkle 3s 150ms ease-out both;
}
@keyframes discovery-sparkle {
  0% {
    opacity: 0;
    transform: translateY(5px) scale(0.35) rotate(-20deg);
  }
  12% {
    opacity: 1;
    transform: translateY(-2px) scale(1.15) rotate(8deg);
  }
  32% {
    opacity: 0.65;
    transform: translateY(-3px) scale(0.85) rotate(12deg);
  }
  48% {
    opacity: 1;
    transform: translateY(-4px) scale(1.1) rotate(18deg);
  }
  65% {
    opacity: 0.75;
    transform: translateY(-5px) scale(0.9) rotate(22deg);
  }
  75% {
    opacity: 1;
    transform: translateY(-6px) scale(1) rotate(25deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-9px) scale(0.65) rotate(30deg);
  }
}
/* Names get exactly two lines, like the shop cards, so the four tiles line up. */
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-heading);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
}
.brand-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}
.brand span {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-caption);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.07em;
  text-align: center;
  margin-top: 0;
}
.header {
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 48px;
  border-bottom: 1px solid var(--color-border);
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
/* Decorative boutique scene: typography and actions remain live HTML. */
.hero-display {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 18px 0 30px;
  min-height: 400px;
  border-bottom: 1px solid var(--color-border);
}
.hero-display .hero-copy {
  text-align: left;
  grid-column: auto;
  grid-row: auto;
}
.hero-display h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  margin: 0;
}
.hero-display h1 span {
  font-family: var(--font-display);
  font-size: 1em;
  letter-spacing: -0.035em;
}
.hero-display h1 em {
  font-family: var(--font-handwritten);
  font-size: 0.78em;
  line-height: 1.45;
  font-style: normal;
  margin-top: 12px;
  letter-spacing: -0.04em;
}
.hero-display .hero-copy > p {
  margin: 20px 0;
  color: var(--muted);
  font-size: var(--text-small);
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-display .hero-actions button {
  padding: 13px 22px;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--text-small);
}
.hero-display .hero-actions .secondary {
  background: transparent;
  border-color: var(--color-hero-action-border);
  color: var(--color-hero-action-text);
}
.hero-display .hero-actions .secondary:hover {
  background: var(--color-secondary-hover);
}
.collector-display {
  position: relative;
  isolation: isolate;
  height: 350px;
  max-width: 560px;
  width: 100%;
  justify-self: center;
  animation: shelf-arrive 300ms ease-out both;
}
.collector-display::before {
  content: '';
  position: absolute;
  inset: -20px -12px 0;
  background: radial-gradient(
    ellipse at 55% 60%,
    var(--color-display-light),
    var(--color-display-light-clear) 70%
  );
  z-index: -1;
  pointer-events: none;
}
.display-photo {
  position: absolute;
  border-radius: 3px;
  aspect-ratio: auto;
  text-align: center;
  padding: 12px;
}
.display-photo-back {
  width: 35%;
  height: 65%;
  left: 4%;
  bottom: 40px;
  transform: rotate(-9deg);
  background: var(--color-placeholder-back);
}
.display-photo-tall {
  width: 39%;
  height: 82%;
  left: 39%;
  bottom: 40px;
  transform: rotate(5deg);
  background: var(--color-placeholder-tall);
}
.display-photo-front {
  width: 33%;
  height: 41%;
  left: 26%;
  bottom: 29px;
  transform: rotate(-3deg);
  background: var(--color-placeholder-front);
}
.display-note {
  position: absolute;
  right: 0;
  bottom: 61px;
  transform: rotate(8deg);
  padding: 16px 13px;
  background: var(--color-note-surface);
  color: var(--color-note-ink);
  font-family: var(--font-handwritten);
  font-size: var(--text-subhead);
  line-height: 1.5;
  box-shadow: 0 8px 18px var(--color-note-shadow);
}
.shelf-edge {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--color-shelf-border);
  border-bottom: 3px solid var(--color-shelf-shadow);
}
.hero-display + .catalog-heading {
  margin-top: 32px;
}
@keyframes shelf-arrive {
  from {
    opacity: 0.6;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-scene-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: -2;
}
.hero-scene .hero-copy > p {
  color: var(--color-hero-text);
}
.hero-scene-note {
  position: absolute;
  bottom: 22px;
  right: 30px;
  font-family: var(--font-handwritten);
  color: var(--color-sparkle);
  font-size: var(--text-subhead);
  margin: 0;
  text-shadow: 0 2px 8px var(--color-hero-surface);
}
.hero-scene .hero-actions .secondary {
  background: var(--color-hero-button-surface);
  border-color: var(--color-hero-button-border);
}
.hero-scene + .catalog-heading {
  margin-top: 38px;
}
.hero-scene .hero-copy {
  max-width: 610px;
  width: 47%;
}
.arrival-heading a {
  color: var(--color-arrival-link);
  font-size: var(--text-caption);
  white-space: nowrap;
}
/* Large featured-product display sits in the cleared right-hand hero area. */
.arrival-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px 12px;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arrival-grid li {
  min-width: 0;
  min-height: 0;
}
.arrival-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text);
  text-decoration: none;
}
.arrival-tile:focus-visible {
  outline-offset: 3px;
}
/* Blend only the scenery into the page; foreground content stays crisp. */
.arrival-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 2.6em;
  margin-top: 8px;
  overflow: hidden;
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.3;
}
.arrival-tile:hover .arrival-name {
  text-decoration: underline;
}
.arrival-price {
  color: var(--color-arrival-link);
  font-size: var(--text-small);
}
/* Cards in a grid are always the same size: names get exactly two lines (longer names are
   shortened with an ellipsis) and the cart button sits at the bottom. */
/* Small collector delights, with clear shopping controls. */
/* The hero's product panel sits in the cleared right-hand side of the scene. */
.hero-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 0 -20px;
  padding: 48px 40px;
  border: 0;
  min-height: 580px;
  padding-right: 48px;
  border-radius: 0;
  background: var(--color-page);
}
.hero-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      var(--color-page) 0%,
      transparent 14%,
      transparent 72%,
      var(--color-page) 100%
    ),
    linear-gradient(
      90deg,
      var(--color-page) 0%,
      var(--color-hero-blend-start) 15%,
      var(--color-hero-blend-middle) 37%,
      var(--color-hero-blend-end) 62%,
      var(--color-hero-blend-end) 86%,
      var(--color-page) 100%
    );
}
/* A small "New" tag on arrivals shown among featured products. */
/* The lid pops up, hangs for a beat, then spins up and shrinks away. It never turns see-through.
   It turns around its own middle (the lid spans y 19 to 28 in the drawing). */
.product {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
  position: relative;
  border-radius: 8px 8px 0 0;
  transition:
    border-color 160ms ease-out,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product:hover,
.product:focus-within {
  border-color: var(--color-action);
}
.product > .placeholder {
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid var(--color-product-frame);
  border-radius: 10px;
}
.new-sticker {
  position: absolute;
  top: 14px;
  left: 12px;
  z-index: 1;
  background: var(--color-sticker);
  color: var(--color-sticker-ink);
  padding: 7px 11px;
  font-size: var(--text-caption);
  font-weight: 700;
  border-radius: 3px;
  box-shadow: 0 4px 10px -4px var(--color-shadow-soft);
  transform: rotate(-4deg);
  transition: transform 160ms ease-out;
  pointer-events: none;
}
.product:hover .new-sticker {
  transform: rotate(1deg);
}
.product:hover img {
  transform: scale(1.04);
}
.product:has([data-add]:disabled) .product-photo img {
  filter: grayscale(0.8) opacity(0.6);
}
/* Hidden confirmations must not leave an invisible keyboard link behind. */
.hero-arrivals {
  position: absolute;
  border: 1px solid var(--color-arrival-border);
  border-radius: 12px;
  top: 30px;
  bottom: 30px;
  right: 32px;
  width: 40%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  background: var(--color-toast-surface);
  border-color: var(--color-toast-border);
  padding: 22px;
}
.arrival-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.arrival-heading h2 {
  margin: 0;
  font: 600 var(--text-title) var(--font-ui);
}
/* Shared boutique page styling. Text displays exactly as written: headings, buttons and
   navigation are authored in Title Case, prose in sentence case, and product text as entered. */
.arrival-sticker {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--color-sticker);
  color: var(--color-sticker-ink);
  font-size: var(--text-caption);
  font-weight: 700;
  transform: rotate(-3deg);
}
.arrival-photo {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-photo-surface);
  color: var(--color-placeholder-ink);
}
.arrival-tile:hover .arrival-photo img {
  transform: scale(1.03);
}
.parcel-pal {
  flex: none;
  display: block;
}
.cute-empty .parcel-pal {
  margin-bottom: 16px;
}
.cute-empty h2 {
  margin-bottom: 8px;
}
.surprise-unboxing {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 36px 16px;
}
.surprise-unboxing .parcel-pal {
  width: 112px;
  height: 112px;
  animation: parcel-bounce 650ms ease-out;
}
/* A round button about as tall as Add To Cart. */
.surprise-unboxing .parcel-lid {
  transform-origin: 32px 23.5px;
  animation: parcel-open 800ms ease-in-out forwards;
}
@keyframes parcel-bounce {
  0% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-8px) rotate(-4deg);
  }
  65% {
    transform: translateY(0) rotate(3deg);
  }
  100% {
    transform: none;
  }
}
@keyframes parcel-open {
  0%,
  35% {
    transform: none;
  }
  55% {
    transform: translateY(-10px) rotate(-8deg);
  }
  72% {
    transform: translateY(-12px) rotate(-10deg);
  }
  100% {
    transform: translateY(-26px) rotate(-40deg) scale(0);
  }
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast .parcel-pal {
  width: 38px;
  height: 38px;
}
.toast small {
  display: block;
  margin-top: 4px;
  font-size: var(--text-caption);
}
.toast a {
  font-weight: 700;
  white-space: nowrap;
  padding: 10px 0;
}
.toast:focus-within {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
/* Fold-out headings get 10px above and below, so each is a comfortable 44px or more to tap. */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  width: max-content;
  background: var(--color-gallery-text);
  color: var(--color-action-ink);
  padding: 14px 20px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  font-size: var(--text-small);
  transition:
    opacity 140ms ease-out,
    transform 140ms ease-out;
  visibility: hidden;
}
.toast.visible,
.toast:focus-within {
  visibility: visible;
}
/* A small spinner beside a "working on it" message, such as the return page after PayPal.
   Reduced motion stops the spin; the ring stays as a still marker. */
.page-heading {
  margin-bottom: 30px;
}
.page-heading h1 {
  margin-bottom: 8px;
}
.page-heading p {
  margin: 8px 0 12px;
}
.breadcrumbs {
  font-size: var(--text-caption);
  color: var(--muted);
  margin: 0 0 30px;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--color-action);
}
.product-detail {
  align-items: start;
  gap: 52px;
}
.product-detail .gallery-image {
  aspect-ratio: 1;
  border: 8px solid var(--color-photo-frame);
  border-radius: 12px;
}
.product-detail h1 {
  font-size: clamp(28px, 3.4vw, 42px);
}
.detail-price {
  font-size: var(--text-heading);
  font-weight: 600;
  margin: 16px 0 8px;
}
.stock-status {
  color: var(--color-shelf-selected);
  font-size: var(--text-caption);
}
.product-facts {
  margin: 26px 0;
}
.product-facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
}
dt {
  color: var(--muted);
  font-size: var(--text-caption);
}
dd {
  margin: 0;
  font-size: var(--text-small);
  overflow-wrap: anywhere;
}
.purchase-row {
  display: flex;
  gap: 12px;
  margin: 0 0 12px;
}
.purchase-action {
  flex: 1;
  min-width: 0;
  margin: 0;
}
/* Orders list: the option to include orders from Test Checkout. */
.purchase-row .favorite {
  flex: none;
  align-self: center;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
}
.purchase-row .favorite span {
  display: none;
}
.shop-disclosure {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
/* Three short promises close the home page, each with a small drawn icon. */
summary {
  padding-block: 10px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
}
summary::marker {
  color: var(--accent);
}
.shop-disclosure p {
  color: var(--muted);
  font-size: var(--text-small);
}
.related-products {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 32px;
}
.cart-item {
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 20px;
  padding: 24px 0;
}
.cart-item:first-child {
  padding-top: 0;
}
.cart-photo {
  flex: 0 0 112px;
  text-decoration: none;
}
.cart-photo .placeholder {
  aspect-ratio: 1;
  border-radius: 8px;
  font-size: var(--text-caption);
}
.cart-photo small {
  display: none;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item h2 {
  font: 600 18px var(--font-ui);
  margin: 0 0 8px;
}
.cart-item h2 a {
  text-decoration: none;
}
.cart-item p {
  font-size: var(--text-caption);
  margin: 0 0 14px;
}
.cart-item .actions {
  gap: 12px;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  gap: 8px;
}
.quantity button {
  min-width: 44px;
  padding: 10px;
  border: 0;
}
.cart-summary {
  margin: 0;
  position: sticky;
  top: 24px;
}
.cart-summary h2 {
  margin-bottom: 4px;
}
.cart-summary .sample-note {
  margin-top: 14px;
}
.cart-summary > button,
.cart-summary > .button {
  width: 100%;
  margin-top: 20px;
}
.cart-summary > p:not(.sample-note) {
  font-size: var(--text-caption);
  color: var(--muted);
  line-height: 1.55;
  margin: 16px 0 6px;
}
.cart-summary > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-action);
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
}
.cart-summary > a:not(.button):hover {
  color: var(--color-favorite-hover);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-small);
}
.summary-line strong {
  font-size: var(--text-subhead);
}
.cute-empty {
  padding: 36px 0;
}
/* The help text needs the room beside it, so the extra doodles only show on wide screens. */
.working-note {
  display: flex;
  align-items: center;
  gap: 10px;
}
.working-note::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: working-spin 800ms linear infinite;
}
@keyframes working-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Until Krystle sends her photo, the parcel mascot greets visitors on the About page. */
.show-test-orders {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
}
.not-found-links {
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}
.not-found-links a,
.home-category-row nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}
.not-found-links a:hover,
.home-category-row nav a:hover {
  border-color: var(--accent);
}
/* The Shop list runs in two columns of four, so it is no taller than Help. */
.shop-promises {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.shop-promises ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shop-promises li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: start;
}
.shop-promises svg {
  grid-row: span 2;
  color: var(--accent);
}
.shop-promises strong {
  font-size: var(--text-body);
}
.shop-promises span {
  color: var(--muted);
  font-size: var(--text-small);
}
.help-layout {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 740px);
  gap: 56px;
  padding: 16px 0 40px;
}
.help-layout::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 400px;
  right: 0;
  width: 240px;
  height: 460px;
  pointer-events: none;
  background:
    var(--doodle-sparkle) right 36px top 0 / 54px no-repeat,
    var(--doodle-heart-tilt) right 150px top 180px / 66px no-repeat,
    var(--doodle-twinkle) right 24px top 380px / 28px no-repeat;
}
/* Narrower screens: the brand takes its own row above the two lists; phones go back to one
   column of shop links. */
.help-layout aside nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.help-layout aside a {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  font-size: var(--text-small);
}
.help-layout [aria-current='page'] {
  color: var(--accent);
}
.help-content h1 {
  max-width: 18ch;
}
.help-intro {
  font-size: var(--text-title);
  color: var(--muted);
  margin-bottom: 36px;
}
.help-content h2 {
  margin-top: 32px;
}
.help-content p {
  line-height: 1.8;
}
/* Dedicated discovery catalog and lighter boutique landing page. */
.about-mascot {
  margin: 20px 0;
}
.about-mascot .parcel-pal {
  width: 120px;
  height: 120px;
}
.policy-pending {
  padding: 4px 24px 18px;
  background: var(--color-surface);
  border-radius: 12px;
}
.help-content .shop-disclosure {
  padding: 22px 0;
}
.payment-preview {
  max-width: 760px;
  margin: 32px auto;
}
.payment-preview .actions {
  margin-top: 28px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
thead {
  background: var(--color-surface);
}
tbody tr:hover {
  background: var(--color-input-surface);
}
td:first-child {
  min-width: 180px;
}
.preview-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
footer nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
/* One handwritten line per page, used as a signature under a page title. */
footer nav[aria-labelledby='footer-shop'] {
  display: grid;
  grid-template-rows: auto repeat(4, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  column-gap: 40px;
  align-content: start;
}
footer nav[aria-labelledby='footer-shop'] h2 {
  grid-column: 1 / 3;
  grid-row: 1;
}
/* Below the filters: the product count on the left, Surprise Me on the right. */
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
}
footer nav a:hover {
  color: var(--color-text);
  text-decoration: underline;
}
button,
.button,
.hero-display .hero-actions button {
  text-transform: capitalize;
}
/* In Stock Only and Clear Filters sit at the bottom of More Filters. */
.shop-heading {
  margin: 4px 0 24px;
}
/* Every category tile is the same size and together they fill the row. When the row is too
   narrow for that, it scrolls sideways instead of wrapping into uneven rows. */
.handwritten-note {
  margin: 6px 0 0;
  font-family: var(--font-handwritten);
  font-size: var(--text-subhead);
  line-height: 1.3;
  color: var(--color-handwriting);
}
.shop-heading h1 {
  font-size: clamp(32px, 4vw, 48px);
}
.shop-heading p {
  margin-bottom: 0;
}
.shop-toolbar {
  grid-template-columns: minmax(200px, 1.6fr) minmax(180px, 1fr) minmax(180px, 1fr);
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
/* When the tiles do not all fit, the row fades at the right edge to show it scrolls. */
.catalog-options {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 16px 0 24px;
}
.catalog-options #results-count {
  margin: 0;
}
/* Krystle photographs products square on white, so photo frames are square and white: no bars. */
.shop-facet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 0 12px;
}
.shop-facet-actions label {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.catalog-options button {
  font-size: var(--text-caption);
  min-height: 44px;
  padding: 10px 18px;
}
.catalog-empty {
  grid-column: 1/-1;
  padding: 36px 0;
}
.home-categories {
  margin-top: 42px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
/* Every photo gets the same breathing room inside its frame, so products that were shot close
   up and ones shot from further away sit at a similar size. */
.home-categories nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(136px, 1fr);
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
/* Photos fade in as they arrive instead of popping in (interactions.js marks each one loaded).
   Without that script, photos simply show. */
.home-categories nav.has-more {
  mask-image: linear-gradient(to right, #000 82%, transparent);
}
.home-categories nav a {
  scroll-snap-align: start;
}
.home-categories a:hover {
  background: var(--color-surface);
  border-color: var(--accent);
}
.home-categories a:hover .product-photo img {
  transform: scale(1.03);
}
.category-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-photo-surface);
}
.category-photo .product-photo {
  height: 100%;
}
.category-empty {
  display: grid;
  place-items: center;
}
.category-name {
  padding: 0 4px;
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.3;
}
.hero-actions .button {
  font-size: var(--text-small);
  text-transform: capitalize;
}
.login-panel {
  max-width: 520px;
  margin: 30px auto;
}
.login-panel label {
  margin: 18px 0;
}
.login-panel button {
  margin-top: 12px;
}
/* In the small tiles the placeholder shows only its short second line. */
.product-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(170deg, var(--color-photo-surface), var(--color-photo-surface-deep));
  isolation: isolate;
  transition: box-shadow 220ms ease-out;
}
/* Keyboard navigation without changing the boutique layout. */
.product-photo img {
  width: 100%;
  height: 100%;
  padding: 7%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  transition:
    opacity 240ms ease-out,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Tables: tabular numerals so prices and counts line up. */
.photos-fade .product-photo img:not(.is-loaded),
.photos-fade .gallery-image img:not(.is-loaded),
.photos-fade .gallery-thumb img:not(.is-loaded) {
  opacity: 0;
}
.arrival-photo > .product-photo,
.arrival-photo > .placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
/* Commerce extends the stockroom typography, surfaces, and controls. */
.arrival-photo > .placeholder span {
  display: none;
}
.cart-photo .product-photo {
  aspect-ratio: 1;
}
.editor-photos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.editor-photos img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: var(--color-placeholder);
  border-radius: 8px;
}
.editor-photos label {
  max-width: 130px;
}
.gallery-image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-image img {
  width: 100%;
  height: 100%;
  padding: 5%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 240ms ease-out;
}
.gallery-image {
  touch-action: pan-y;
  overflow: hidden;
}
.gallery-image:has(img) {
  background: linear-gradient(170deg, var(--color-photo-surface), var(--color-photo-surface-deep));
  isolation: isolate;
}
/* The Cloudflare check gets room above and below, clear of the fields around it. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: var(--color-skip-surface);
  color: var(--color-skip-ink);
  border-radius: 8px;
}
.skip-link:focus {
  transform: translateY(0);
}
main:focus {
  outline: none;
}
/* Everyday owner tools follow the existing stockroom palette. */
/* Daily admin tasks, grouped without a wall of links. */
.more-details {
  margin: 20px 0;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.more-details[open] > summary {
  margin-bottom: 14px;
}
.more-details > label {
  display: grid;
  gap: 6px;
  max-width: 360px;
}
.publish-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}
.managed-photo {
  min-width: 0;
  max-width: 320px;
}
.managed-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--color-photo-placeholder);
  border-radius: 8px;
}
.managed-photo strong {
  display: block;
  margin: 8px 0;
}
.managed-photo .actions {
  gap: 8px;
  flex-wrap: wrap;
}
.managed-photo button {
  font-size: var(--text-caption);
  padding: 8px 12px;
}
.checkout-price {
  display: block;
  font-variant-numeric: tabular-nums;
}
#guest-details .form-grid {
  margin-bottom: 24px;
}
#checkout-review {
  margin-top: 28px;
}
#save-error {
  color: var(--color-save-error);
}
.leave-dialog {
  max-width: 480px;
  width: calc(100% - 40px);
  background: var(--color-upload-surface);
  color: var(--color-dialog-text);
  border: 1px solid var(--color-upload-border);
  border-radius: 14px;
  padding: 28px;
}
.leave-dialog::backdrop {
  background: var(--color-leave-backdrop);
}
/* Keep existing forms and product layouts usable with long content and touch input. */
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
/* Collection checklist on product pages */
.launch-list {
  max-width: 850px;
}
.launch-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.launch-list dt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-weight: bold;
}
.launch-list dd {
  margin: 6px 0 0;
  color: var(--muted);
}
.checkout-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Back-in-stock signup */
#checkout-challenge {
  margin: 20px 0 8px;
  min-height: 65px;
}
/* Unused photo cleanup */
.stock-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.stock-row h2 {
  font-size: var(--text-subhead);
  margin: 0 0 8px;
}
.stock-row p {
  margin: 8px 0;
}
.stock-row .actions {
  margin-top: 16px;
}
.batch-photos {
  margin-block: 24px;
}
.batch-photo {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.batch-photo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  background: var(--color-surface);
}
.batch-photo p {
  overflow-wrap: anywhere;
}
.stock-history {
  padding-left: 24px;
}
.stock-history li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.stock-history p {
  margin: 8px 0;
}
.owner-guide {
  max-width: 75ch;
}
.owner-guide details {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.owner-guide summary {
  font-size: var(--text-title);
  cursor: pointer;
}
.owner-guide p {
  line-height: 1.7;
}
#packing-checks label {
  display: block;
  margin-block: 12px;
}
#packing-checks input {
  width: auto;
}
.product-preview-dialog {
  width: min(1100px, 95vw);
  max-height: 92vh;
  overflow: auto;
  background: var(--color-page);
  color: var(--color-text);
  border: 1px solid currentColor;
  border-radius: 14px;
  padding: 20px;
}
.product-preview-dialog iframe {
  display: block;
  width: 100%;
  height: 65vh;
  border: 0;
  margin: 16px auto;
  background: transparent;
}
.product-preview-dialog iframe.phone-preview {
  width: min(390px, 100%);
}
.shipping-quote label,
.return-editor > label {
  display: block;
  margin: 20px 0;
}
.shipping-quote {
  margin-top: 28px;
  max-width: 760px;
}
#shipping-zones fieldset,
#shipping-groups fieldset {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
/* Store mode: STORE_OPEN=true adds data-store-open to <html> at build time (scripts/store-mode.cjs). */
.home-categories a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
}
.home-categories small {
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: var(--text-caption);
  font-weight: 400;
}
.shop-filter-details {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 8px 0;
  margin-top: 16px;
}
.shop-filter-details summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-weight: 700;
}
.shop-filter-details summary span {
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 12px;
  font-size: var(--text-caption);
}
.shop-facets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 12px 0;
}
.shop-facets label {
  min-width: 0;
}
.shop-filter-details p {
  font-size: var(--text-caption);
  max-width: 70ch;
}
.catalog-editor-fields {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.catalog-editor-fields fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.catalog-editor-fields fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.catalog-editor-fields input[type='checkbox'] {
  margin: 0;
}
/* Curated boutique homepage: one daily product, then one large find and two smaller ones. */
/* The spotlight card sits in front on the left; two more products fan out behind it on the
   right, far enough that their products show, and a few doodles float around the edges. On
   load the back two slide out from behind the front card. */
.form-grid > *,
.cart-item-info,
.detail > section,
.product,
.toolbar > label {
  min-width: 0;
}
.product h3,
.cart-item h2,
.detail h1,
address,
.literal {
  overflow-wrap: anywhere;
}
.filename {
  white-space: nowrap;
}
input[aria-invalid='true'],
select[aria-invalid='true'],
textarea[aria-invalid='true'] {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.field-error {
  display: block;
  margin-top: 6px;
  font-size: var(--text-small);
  line-height: 1.5;
}
/* Krystle's photos are mostly wide boxes, so the spotlight frame is 4:3 and the photo fills it
   (the square photo's white margins above and below are what gets trimmed). */
.series-set {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.series-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.series-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.series-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
}
.series-list li[aria-current] {
  border-color: var(--color-action);
}
.series-list li span {
  color: var(--color-text-muted);
  white-space: nowrap;
}
.series-list .series-sold-out a {
  color: var(--color-text-muted);
}
/* Links that stand on their own (not inside a sentence) are pink without an underline; the arrow
   steps forward on hover. Links inside sentences keep their underline, so they never rely on
   color alone. */
.restock-panel {
  margin: 16px 0;
  padding: 20px;
}
.restock-panel h2 {
  margin-top: 0;
}
.restock-panel form {
  display: grid;
  gap: 12px;
  max-width: 420px;
}
.restock-consent {
  display: flex;
  gap: 8px;
  align-items: center;
}
/* The ribbon spans the screen exactly (so phones never widen the page to fit it), and the tilted
   pink band inside is a little wider, its ends clipped at the screen edges. */
/* The track holds the categories twice over; sliding it left by half loops without a seam. */
/* One large favorite beside a 2x2 grid of smaller ones, both starting at the top. */
.when-open {
  display: none;
}
[data-store-open] .while-preview {
  display: none;
}
[data-store-open] .when-open {
  display: revert;
}
/* The large favorite uses a 4:3 frame (Krystle's photos are mostly wide boxes) so it never fills
   a whole screen, and it stays in view while the four smaller cards scroll past. */
.home-boutique {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 65px;
  min-height: 650px;
  padding: 30px 0 62px;
}
.home-boutique.without-spotlight {
  grid-template-columns: 1fr;
  min-height: 430px;
}
.home-scenery {
  position: absolute;
  z-index: -2;
  top: 0;
  left: -48px;
  width: calc(100% + 96px);
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 78%, transparent);
}
.home-boutique::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -48px;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--color-page),
      var(--color-hero-blend-middle) 34%,
      transparent 70%,
      var(--color-hero-blend-start)
    ),
    linear-gradient(0deg, var(--color-page), transparent 28%);
}
.home-copy {
  min-width: 0;
  max-width: 580px;
  padding-bottom: 14px;
}
.home-copy h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
  margin: 0;
}
.home-copy h1 em {
  font-style: normal;
  color: var(--color-action);
}
.home-signature {
  font-family: var(--font-handwritten);
  font-size: 36px;
  color: var(--color-action);
  margin: 15px 0 22px;
}
.home-description {
  color: var(--color-text-muted);
  max-width: 370px;
  font-size: var(--text-title);
}
.home-copy .actions {
  margin-top: 28px;
  gap: 14px;
}
.daily-spotlight {
  width: 100%;
  max-width: 470px;
  min-width: 0;
  justify-self: center;
}
.spotlight-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.spotlight-heading h2 {
  font: 400 var(--text-heading) / 1.1 var(--font-display);
  color: var(--color-action);
  margin: 0;
}
/* A full-width blush band: the box-shadow paints the color out to the screen edges and the
   clip-path keeps it to the band's own height. */
.spotlight-stage {
  position: relative;
  padding: 34px 0 22px;
}
.spotlight-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  /* Stays inside the page gutter, so it never pushes past the screen edge on phones. */
  inset: -14% -5%;
  background: radial-gradient(closest-side, var(--color-stage-glow), transparent);
  pointer-events: none;
}
.shelf-tile {
  position: absolute;
  right: 0;
  border-radius: 12px;
  box-shadow: 0 16px 30px -14px var(--color-shadow);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.shelf-tile .product-photo {
  border-radius: 12px;
}
.shelf-tile .product-photo img {
  padding: 5%;
}
.shelf-tile-1 {
  top: 0;
  width: 47%;
  transform: rotate(6deg);
}
.shelf-tile-2 {
  bottom: 0;
  right: 2%;
  width: 41%;
  transform: rotate(-5deg);
}
.spotlight-frame {
  position: relative;
  z-index: 1;
  width: 70%;
  transform: rotate(-1.5deg);
}
.spotlight-frame > a {
  display: block;
  border-radius: 12px;
  box-shadow: 0 24px 44px -18px var(--color-shadow);
}
.spotlight-frame .product-photo {
  border-radius: 12px;
  aspect-ratio: 4 / 3;
}
.spotlight-frame .product-photo img {
  object-fit: cover;
  padding: 0;
  scale: 1.04;
}
.spotlight-stage .doodle {
  position: absolute;
  z-index: 2;
  color: var(--color-doodle);
  pointer-events: none;
}
.stage-sparkle {
  width: 40px;
  top: 0;
  left: -14px;
  rotate: -12deg;
}
.stage-twinkle {
  width: 24px;
  top: -6px;
  right: 46%;
}
.stage-heart {
  width: 28px;
  bottom: 0;
  left: 30%;
  rotate: 14deg;
}
@keyframes shelf-slide-1 {
  from {
    opacity: 0;
    transform: rotate(-1.5deg) translate(-55%, 20%);
  }
}
@keyframes shelf-slide-2 {
  from {
    opacity: 0;
    transform: rotate(-1.5deg) translate(-55%, -15%);
  }
}
@keyframes doodle-pop {
  from {
    opacity: 0;
    scale: 0.4;
  }
}
.spotlight-tab {
  position: absolute;
  right: 12px;
  top: 18px;
  background: var(--color-action);
  color: var(--color-action-ink);
  padding: 8px 14px;
  font: 700 var(--text-caption) var(--font-ui);
  border-radius: 3px;
  box-shadow: 0 6px 14px -6px var(--color-shadow);
  transform: rotate(4deg);
  pointer-events: none;
  z-index: 2;
}
.spotlight-details {
  padding-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 20px;
}
.spotlight-details h3 {
  font: 600 var(--text-subhead)/1.3 var(--font-ui);
  margin: 0;
  overflow-wrap: anywhere;
}
.spotlight-details h3 a {
  text-decoration: none;
}
.spotlight-details h3 a:hover {
  color: var(--color-action);
}
.spotlight-details > p {
  margin: 0;
  font-size: var(--text-subhead);
  white-space: nowrap;
}
.spotlight-link {
  grid-column: 1 / -1;
  margin-top: 6px;
  width: fit-content;
}
.spotlight-link,
.home-section-heading > a,
.home-shop-note > a,
.page-heading > a {
  color: var(--color-action);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
}
.spotlight-link:hover,
.home-section-heading > a:hover,
.home-shop-note > a:hover,
.page-heading > a:hover {
  color: var(--color-favorite-hover);
}
.home-ribbon {
  position: relative;
  margin: 0 calc(50% - 50vw);
  padding: 18px 0;
  overflow: hidden;
}
.ribbon-tools {
  display: flex;
  justify-content: flex-end;
  max-width: 1400px;
  margin: 10px auto 0;
  padding-inline: 24px;
}
.ribbon-control {
  background: transparent;
  color: var(--color-text-muted);
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 6px 10px;
  gap: 6px;
  font-size: var(--text-caption);
  font-weight: 600;
}
.ribbon-control:hover {
  background: var(--color-secondary-hover);
  color: var(--color-text);
}
.ribbon-control svg {
  flex: none;
}
.ribbon-band {
  margin: 0 -24px;
  padding: 14px 0;
  overflow: hidden;
  background: var(--color-action);
  color: var(--color-action-ink);
  rotate: -1.5deg;
  box-shadow: 0 12px 26px -16px var(--color-shadow);
}
.ribbon-track {
  display: flex;
  align-items: center;
  width: max-content;
}
.ribbon-track > * {
  flex: none;
  margin-right: 26px;
}
.ribbon-track span {
  font: 400 var(--text-title) / 1 var(--font-display);
  white-space: nowrap;
}
.ribbon-track .doodle {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}
@keyframes ribbon-slide {
  to {
    transform: translateX(-50%);
  }
}
.home-category-row {
  padding: 56px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.home-category-row h2 {
  margin: 0;
  flex: none;
}
.home-category-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.home-category-row nav a {
  color: var(--color-text);
  text-decoration: none;
}
.home-favorites {
  padding-top: 62px;
}
.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.home-section-heading h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}
.home-section-heading > a {
  color: var(--color-action);
  flex: none;
}
.home-finds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}
.product.home-find-large {
  position: sticky;
  top: 24px;
}
.home-find-large .product-photo {
  aspect-ratio: 4 / 3;
}
.product.home-find-large h3 a::after {
  aspect-ratio: 4 / 3;
}
.home-find-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 22px;
  min-width: 0;
}
.home-find {
  border: 0;
  padding: 0;
}
.product.home-find-large h3 {
  min-height: 0;
  margin: 16px 0 0;
  font-size: var(--text-subhead);
}
.product.home-find-large > .row {
  margin-bottom: 0;
}
@keyframes rise-in {
  from {
    translate: 0 12px;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
  to {
    translate: 0 0;
  }
}
.home-shop-note + .shop-promises {
  border-top: 0;
  margin-top: 0;
  padding-top: 52px;
}
.home-shop-note {
  position: relative;
  display: flex;
  gap: 34px;
  align-items: center;
  margin-top: 88px;
  padding: 60px 0;
  background: var(--color-band);
  color: var(--color-band-ink);
  box-shadow: 0 0 0 100vmax var(--color-band);
  clip-path: inset(0 -100vmax);
}
.home-shop-note .parcel-pal {
  width: 96px;
  height: 96px;
}
.home-shop-note h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}
.home-shop-note p {
  color: var(--color-band-muted);
  font-size: var(--text-title);
  margin: 12px 0 0;
  max-width: 600px;
}
.home-shop-note > a {
  margin-left: auto;
  white-space: nowrap;
}
.home-shop-note > a,
.home-shop-note > a:hover {
  color: var(--color-band-link);
}
.home-shop-note .doodle {
  position: absolute;
  color: var(--color-band-doodle);
  pointer-events: none;
}
.note-sparkle {
  width: 40px;
  top: 22px;
  right: 18%;
  rotate: 10deg;
}
.note-heart {
  width: 30px;
  bottom: 20px;
  left: 44%;
  rotate: -12deg;
}
@media (prefers-reduced-motion: no-preference) {
  button,
  .button {
    transition:
      background-color 120ms ease-out,
      border-color 120ms ease-out,
      scale 120ms ease-out;
  }
  button:active:not(:disabled),
  .button:active {
    scale: 0.97;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product:hover {
    transform: translateY(-4px);
  }
  .product:hover .product-photo {
    box-shadow: 0 18px 30px -16px var(--color-shadow);
  }
}
@media (max-width: 1180px) {
  .help-layout::after {
    display: none;
  }
}
@media (max-width: 900px) {
  footer {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  footer nav[aria-labelledby='footer-shop'] {
    display: flex;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .spotlight-stage:hover .shelf-tile-1 {
    transform: rotate(9deg) translate(12px, -8px);
  }
  .spotlight-stage:hover .shelf-tile-2 {
    transform: rotate(-8deg) translate(10px, 8px);
  }
  .shelf-tile-1 {
    animation: shelf-slide-1 900ms cubic-bezier(0.22, 1, 0.36, 1) 200ms backwards;
  }
  .shelf-tile-2 {
    animation: shelf-slide-2 900ms cubic-bezier(0.22, 1, 0.36, 1) 340ms backwards;
  }
  .spotlight-stage .doodle {
    animation: doodle-pop 700ms cubic-bezier(0.16, 1, 0.3, 1) 760ms backwards;
  }
  .spotlight-stage .stage-twinkle {
    animation-delay: 880ms;
  }
  .spotlight-stage .stage-heart {
    animation-delay: 1000ms;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .spotlight-link span,
  .home-section-heading > a span,
  .home-shop-note > a span {
    transition: transform 160ms ease-out;
  }
  .spotlight-link:hover span,
  .home-section-heading > a:hover span,
  .home-shop-note > a:hover span {
    transform: translateX(4px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track {
    animation: ribbon-slide 70s linear infinite;
  }
  .home-ribbon.is-paused .ribbon-track,
  .ribbon-band:hover .ribbon-track {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .home-favorites .product,
    .shop-promises li {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
@media (max-width: 1000px) {
  .home-boutique {
    gap: 32px;
    min-height: 580px;
  }
  .home-copy h1 {
    font-size: 54px;
  }
  .home-scenery {
    left: -28px;
    width: calc(100% + 56px);
  }
  .home-boutique::before {
    inset-inline: -28px;
  }
  .home-category-row {
    flex-direction: column;
    gap: 18px;
  }
  .home-category-row nav {
    justify-content: flex-start;
  }
  .home-finds {
    gap: 28px;
  }
  .home-shop-note {
    gap: 24px;
  }
  .home-shop-note .parcel-pal {
    width: 80px;
    height: 80px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero {
    gap: 18px;
  }
  .header,
  main,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-display {
    gap: 24px;
  }
  .collector-display {
    height: 310px;
  }
  .display-note {
    font-size: var(--text-small);
    padding: 12px;
  }
  .hero-display .hero-actions button {
    padding: 12px 16px;
  }
}
@media (min-width: 1001px) {
  /* Center the featured card further inward on wide hero layouts. */
  .hero-arrivals {
    right: clamp(32px, calc((100% - 900px) * 0.6 - 68px), 232px);
  }
}
@media (max-width: 760px) {
  .home-scenery {
    left: -20px;
    width: calc(100% + 40px);
  }
  .home-boutique::before {
    inset-inline: -20px;
  }
  .home-boutique {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 20px 0 38px;
  }
  .home-copy {
    padding-bottom: 0;
  }
  .home-copy h1 {
    font-size: 40px;
  }
  .home-signature {
    font-size: 30px;
    margin: 12px 0 18px;
  }
  .daily-spotlight {
    max-width: 400px;
  }
  .home-section-heading {
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }
  .home-section-heading h2 {
    font-size: 30px;
  }
  .home-favorites {
    padding-top: 38px;
  }
  .home-finds {
    grid-template-columns: 1fr;
  }
  .product.home-find-large {
    position: relative;
    top: auto;
  }
  .home-find-grid {
    gap: 22px 14px;
  }
  .home-shop-note {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 44px 0;
  }
  .home-shop-note .parcel-pal {
    width: 64px;
    height: 64px;
  }
  .note-sparkle {
    top: 14px;
    right: 4px;
    width: 30px;
  }
  .note-heart {
    display: none;
  }
  .spotlight-stage {
    padding-top: 28px;
  }
  .ribbon-band {
    padding: 11px 0;
  }
  .ribbon-track span {
    font-size: var(--text-title);
  }
  .ribbon-track > * {
    margin-right: 18px;
  }
  .home-category-row {
    padding-top: 44px;
  }
  .home-shop-note > a {
    grid-column: 2;
    margin: 0;
    justify-self: start;
  }
  .header-link {
    display: none;
  }
  /* Mobile keeps the collectible faces below the text instead of behind it. */
  nav {
    gap: 16px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: var(--text-heading);
  }
  main {
    padding: 24px 20px 44px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 16px;
  }
  .hero-copy {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .hero h1 {
    font-size: clamp(32px, 7vw, 48px);
  }
  .hero-photo {
    aspect-ratio: 16/9;
    max-height: 150px;
  }
  .hero-photo:first-child {
    transform: rotate(-2deg);
  }
  .hero-photo:last-child {
    transform: rotate(2deg);
  }
  .hero-copy > p {
    margin: 18px auto;
  }
  .collection-strip {
    gap: 24px;
    font-size: var(--text-caption);
    letter-spacing: 0.1em;
  }
  .catalog-heading {
    display: block;
    margin-top: 32px;
  }
  .catalog-heading h2 {
    font-size: var(--text-heading);
  }
  .catalog-heading p {
    margin: 0 0 10px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .cart-layout,
  .detail {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .row {
    flex-wrap: wrap;
    gap: 8px;
  }
  footer {
    padding: 24px 20px;
  }
  .toolbar label:last-child {
    flex: 1;
  }
  .quick-view {
    padding: 18px;
  }
  .quick-view .detail {
    grid-template-columns: 1fr;
  }
  .quick-view .gallery-image {
    aspect-ratio: 16/9;
  }
  .header {
    padding: 16px 20px;
    align-items: start;
    flex-wrap: wrap;
  }
  .toast {
    bottom: 12px;
  }
  .brand-logo {
    width: 240px;
  }
  .hero-display {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 6px 0 22px;
    min-height: 0;
  }
  .hero-display .hero-copy {
    text-align: left;
  }
  .hero-display h1 {
    font-size: clamp(40px, 8vw, 56px);
  }
  .hero-display h1 span {
    max-width: 12ch;
  }
  .hero-display h1 em {
    font-size: 0.63em;
  }
  .collector-display {
    height: 255px;
    max-width: 410px;
  }
  .hero-display .hero-copy > p {
    margin: 14px 0 18px;
  }
  .display-note {
    font-size: var(--text-small);
  }
  .display-photo small {
    font-size: var(--text-caption);
  }
  .display-photo {
    font-size: var(--text-caption);
  }
  .hero-display + .catalog-heading {
    margin-top: 26px;
  }
  .hero-display h1 span br {
    display: initial;
  }
  .hero-display h1 span br::after {
    content: none;
  }
  .hero-scene h1 {
    font-size: 42px;
  }
  .hero-scene .hero-actions {
    gap: 8px;
  }
  .hero-scene .hero-actions button {
    padding: 12px 15px;
  }
  /* On phones the panel grows to fit, so each photo is simply square. */
  .hero-scene {
    margin: 0 -8px;
    align-items: flex-start;
    display: block;
    padding-bottom: 22px;
    padding: 28px 20px 24px;
    min-height: 0;
  }
  .hero-scene .hero-copy {
    width: 100%;
  }
  /* The sticker wraps rather than running under the heart in the photo's top right corner. */
  .arrival-grid {
    grid-template-rows: auto;
  }
  .arrival-photo {
    flex: none;
    aspect-ratio: 1;
  }
  .hero-scene-image {
    top: auto;
    bottom: 0;
    height: 100%;
    object-position: 75% bottom;
  }
  .hero-scene::after {
    background:
      linear-gradient(
        90deg,
        var(--color-page) 0%,
        transparent 12%,
        transparent 88%,
        var(--color-page) 100%
      ),
      linear-gradient(
        180deg,
        var(--color-page) 0%,
        var(--color-hero-mobile-blend-start) 20%,
        var(--color-hero-mobile-blend-middle) 42%,
        var(--color-hero-mobile-blend-low) 65%,
        var(--color-hero-mobile-blend-end) 85%,
        var(--color-page) 100%
      );
  }
  .hero-arrivals {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: none;
    margin-top: 32px;
    padding: 16px;
  }
  .new-sticker {
    font-size: var(--text-caption);
    padding: 6px 8px;
    left: 8px;
    top: 10px;
    max-width: calc(100% - 68px);
    line-height: 1.2;
  }
  .toast.visible {
    flex-wrap: wrap;
  }
  .toast .parcel-pal {
    display: none;
  }
  .product-detail {
    gap: 24px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .cart-photo {
    flex-basis: 80px;
  }
  .cart-item {
    gap: 12px;
  }
  .cart-item h2 {
    font-size: var(--text-body);
  }
  .cart-item .row {
    align-items: start;
    display: block;
  }
  .cart-item .row > .price {
    display: block;
    margin-bottom: 12px;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 0;
  }
  main[data-doodles='on']::before {
    top: 14px;
    right: 8px;
    width: 64px;
    height: 64px;
    background: var(--doodle-heart) center / 64px no-repeat;
  }
  .help-layout aside nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .help-layout aside a {
    padding: 10px 0;
  }
  .help-content h1 {
    font-size: 36px;
  }
  .help-intro {
    font-size: var(--text-body);
  }
  .product-facts > div {
    grid-template-columns: 100px 1fr;
  }
  .related-products {
    margin-top: 36px;
  }
  .shop-toolbar {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .shop-toolbar label:first-child {
    grid-column: 1/-1;
  }
  .home-categories nav {
    gap: 8px;
    grid-auto-columns: minmax(136px, 1fr);
  }
  .home-categories a {
    padding: 6px 6px 10px;
  }
  .catalog-heading > a {
    display: inline-block;
    margin: 8px 0;
  }
  .hero-scene-note {
    right: 18px;
    font-size: var(--text-caption);
    bottom: 12px;
    position: static;
    margin: 20px 0 0;
    text-align: right;
  }
  input,
  select,
  textarea {
    font-size: var(--text-body);
  }
  .card-tools button,
  .quantity button {
    min-height: 44px;
    min-width: 44px;
  }
  .quick-view .actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .spotlight-heading {
    gap: 10px;
  }
  .spotlight-details {
    gap: 6px 14px;
  }
  .spotlight-details h3,
  .spotlight-details > p {
    font-size: var(--text-title);
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .shop-promises ul {
    grid-template-columns: 1fr;
  }
  /* Phones: a slightly smaller logo and gap keep the logo, cart and Menu on one row. */
  .header {
    gap: 12px;
  }
  .brand-logo {
    width: 220px;
  }
  .product h3 {
    margin-top: 10px;
  }
  .shop-heading h1 {
    font-size: var(--text-heading);
  }
  .toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  /* The shop filters keep their own two equal columns on phones. */
  .shop-toolbar {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .toolbar label:first-child {
    grid-column: 1/-1;
  }
  .toolbar label,
  .toolbar label:last-child {
    min-width: 0;
  }
  .toolbar-surprise {
    padding: 10px 14px;
  }
  .photo-drop {
    padding: 16px;
  }
  .managed-photo button {
    min-height: 44px;
  }
  .photo-manager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stock-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .batch-photo {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
  }
  .batch-photo img {
    width: 80px;
    height: 100px;
  }
  .shop-facets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-filter-details summary span {
    display: block;
    margin: 4px 0 0;
  }
  /* Phones: the Products page keeps its buttons, Today tiles and filters compact, so the first
     products show on the first screen. Today tiles scroll sideways as one short row. */
  .page-heading + .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .page-heading + .actions > * {
    padding: 10px;
    font-size: var(--text-caption);
    text-align: center;
  }
  .today-panel {
    margin: 20px 0;
  }
  .today-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 128px;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .today-tile {
    padding: 10px 12px;
  }
  .today-tile strong {
    font-size: var(--text-subhead);
  }
  .today-tile span {
    font-size: var(--text-caption);
  }
}
@media (max-width: 420px) {
  .header {
    flex-direction: column;
    gap: 20px;
  }
  .toolbar label {
    min-width: 100%;
  }
  .grid {
    gap: 24px 12px;
  }
  .product h3 {
    font-size: var(--text-small);
  }
  .product .placeholder {
    aspect-ratio: 1;
  }
  .placeholder small {
    font-size: var(--text-caption);
  }
  .product .row {
    display: block;
  }
  .brand-logo {
    width: 200px;
  }
  /* Small phones: Menu shows only its icon (the word stays for screen readers) so the logo, cart
     and Menu fit on one row. */
  .site-menu > summary {
    justify-content: center;
    width: 44px;
    padding: 0;
  }
  .site-menu > summary > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .header .brand {
    flex: 1 1 0;
    min-width: 0;
  }
  .header-actions {
    flex: 0 0 auto;
  }
  .home-copy h1 {
    font-size: 36px;
  }
  .spotlight-heading h2 {
    font-size: var(--text-title);
  }
  .toolbar {
    grid-template-columns: 1fr;
  }
  .toolbar label:first-child {
    grid-column: auto;
  }
  .shop-toolbar {
    grid-template-columns: 1fr;
  }
  .shop-facets {
    grid-template-columns: 1fr;
  }
}
@media (pointer: coarse) {
  footer nav a {
    min-height: 44px;
  }
  .product .card-tools [data-quick] {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-tools {
    display: none;
  }
  /* Reduced motion: nothing moves, slides or bounces, but short fades stay so a change (a toast
     appearing, a menu opening) is still noticeable. */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-property: opacity, color, background-color, border-color !important;
    transition-duration: 120ms !important;
    scroll-behavior: auto !important;
  }
  .toolbar-surprise:is(:hover, :focus-visible)::before,
  .toolbar-surprise:is(:hover, :focus-visible)::after {
    opacity: 1;
  }
  .product:hover img,
  .product:hover .new-sticker {
    transform: none;
  }
  .surprise-unboxing .parcel-pal,
  .surprise-unboxing .parcel-lid {
    animation: none;
  }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .hero-arrivals {
    right: 24px;
    width: 43%;
    padding: 14px;
  }
  .hero-scene .hero-copy {
    width: 46%;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  body > header,
  body > footer,
  .announcement,
  .notice,
  .no-print,
  main > nav,
  .skip-link {
    display: none !important;
  }
}
