@font-face {
  font-family: "Lilita One";
  src: url("/assets/lilita-one.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("/assets/nunito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111f36;
  --muted: #4b5a71;
  --cream: #fcf7ea;
  --white: #fffefa;
  --sand: #f4ebd8;
  --line: #ded5c2;
  --yellow: #ffd130;
  --yellow-soft: #fff3c4;
  --orange: #d03910;
  --orange-bright: #f04714;
  --blue: #225f9f;
  --green: #24653c;
  --hard-shadow: 0 5px 0 var(--ink);
  --display: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --body: Nunito, "Trebuchet MS", sans-serif;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  scroll-padding-top: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 300px; }
body, input, select, button { font-family: var(--body); }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; }
h1 { font-size: clamp(2.7rem, 4.7vw, 4.15rem); letter-spacing: -.027em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.018em; }
h3 { font-size: 1.4rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button, input, select { font-size: inherit; }
button { color: inherit; }
button:not(:disabled), select { cursor: pointer; }
img { display: block; max-width: 100%; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-weight: 850; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid #0670cc; outline-offset: 4px; }
#main:focus, #checkout-step-heading:focus { outline: none; }
::selection { color: var(--ink); background: var(--yellow); }
.icon { width: 1.22em; height: 1.22em; flex: 0 0 auto; display: inline-block; vertical-align: -.18em; fill: currentColor; }
.wrap { width: min(1136px, calc(100% - 72px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 10px; padding: 10px 14px; background: var(--yellow); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.noscript { padding-block: 32px; }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .65rem;
  min-height: 49px; padding: 11px 21px; border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 900; line-height: 1.2; text-align: center; box-shadow: 0 4px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.button--primary { background: var(--orange); color: var(--white); }
.button--primary:hover { background: #b8300c; }
.button--yellow { background: var(--yellow); color: var(--ink); }
.button--yellow:hover { background: #ffdc55; }
.button--outline { background: var(--white); color: var(--ink); }
.button--outline:hover { background: var(--yellow-soft); }
.icon-button {
  display: inline-grid; place-items: center; padding: 0; width: 42px; height: 42px;
  flex-shrink: 0; background: transparent; border: 1px solid transparent; border-radius: 50%;
}
.icon-button:hover { background: var(--sand); }
.icon-button:disabled { opacity: .38; }
.icon-button .icon { width: 21px; height: 21px; }
.text-link, .text-button {
  display: inline-flex; align-items: center; gap: .45rem; color: var(--orange);
  font-weight: 850; background: none; padding: 0; border: 0; text-align: start; line-height: 1.4;
}
.text-link:hover, .text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.kicker {
  display: inline-flex; align-items: center; gap: 7px; color: var(--orange);
  font-size: .77rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase;
}
.kicker--light { color: #ffde6b; }
.pill, .tag {
  display: inline-flex; align-items: center; gap: 7px; border: 2px solid var(--ink);
  border-radius: 999px; background: var(--white); color: var(--ink);
  padding: 6px 13px; font-size: .87rem; font-weight: 900; line-height: 1.25;
}
.tag { background: var(--yellow); font-size: .77rem; padding: 5px 11px; }
.round-icon {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 43px; height: 43px;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink);
}
.round-icon .icon { width: 22px; height: 22px; }

#header { position: sticky; top: 0; z-index: 10; }
.top-strip {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 30px; padding: 5px 14px; background: var(--ink); color: var(--cream);
  font-size: .77rem; line-height: 1.3; font-weight: 800; text-align: center;
}
.top-strip span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.top-strip .icon, .strip-dot { color: var(--yellow); }
.nav-shell { background: var(--cream); border-bottom: 2px solid var(--ink); }
.nav-bar { min-height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand img { width: 48px; height: 43px; object-fit: contain; }
.brand span { font: 400 1.65rem/1 var(--display); white-space: nowrap; letter-spacing: -.015em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3.1vw, 44px); }
.desktop-nav a { font-weight: 850; color: var(--muted); white-space: nowrap; padding-block: 12px; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--orange); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav-bar > [data-action="menu"] { display: none; }
.cart-button { position: relative; min-height: 42px; padding: 7px 13px; gap: 7px; box-shadow: 0 3px 0 var(--ink); }
.cart-count {
  position: absolute; right: -5px; top: -8px; min-width: 22px; height: 22px; display: inline-grid; place-items: center;
  background: var(--orange); color: var(--white); border: 1.5px solid var(--ink); border-radius: 50%;
  padding-inline: 4px; font-size: .73rem; line-height: 1;
}
.checkout-nav-label { color: var(--muted); font-size: .84rem; font-weight: 800; text-align: center; }

.hero {
  background: radial-gradient(ellipse at 82% 12%, #ffe08a 0, transparent 48%),
    radial-gradient(ellipse at 0% 98%, #ffd2bc 0, transparent 53%), var(--cream);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(35px, 5.15vw, 76px); padding-block: clamp(45px, 5.2vw, 76px) clamp(50px, 5.8vw, 83px);
}
.hero-copy { padding-block: 14px; }
.hero-label .icon { color: var(--orange); }
.hero h1 { margin-top: 22px; font-size: clamp(2.8rem, 5.22vw, 4.55rem); line-height: .99; letter-spacing: -.025em; }
.hero h1 span { display: inline-block; color: var(--orange-bright); margin-top: 3px; }
.hero-copy p { margin-top: 24px; max-width: 27rem; font-size: clamp(1.02rem, 1.36vw, 1.2rem); font-weight: 580; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.hero-media { position: relative; }
.hero-photo {
  display: block; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  border-radius: 25px; overflow: hidden; aspect-ratio: 1; background: #f0dfce;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker {
  position: absolute; width: clamp(88px, 10vw, 145px); height: auto; bottom: -14px; left: -22px;
  filter: drop-shadow(0 7px 8px #15223535); pointer-events: none; transform: rotate(-4deg);
}
.hero-caption {
  position: absolute; bottom: 11px; right: 12px; padding: 4px 9px; border-radius: 999px;
  font-size: .69rem; color: var(--ink); background: #fffef3e6; font-weight: 850; pointer-events: none;
}
.belt-stripe { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); height: 8px; border-top: 2px solid var(--ink); background: var(--ink); }
.belt-stripe i:nth-child(1) { background: #fff9eb; }
.belt-stripe i:nth-child(2) { background: var(--yellow); }
.belt-stripe i:nth-child(3) { background: #f77b24; }
.belt-stripe i:nth-child(4) { background: #338e53; }
.belt-stripe i:nth-child(5) { background: var(--blue); }
.belt-stripe i:nth-child(6) { background: #764725; }
.belt-stripe i:nth-child(7) { background: #171a1f; }

.home-content { padding-block: 28px 76px; }
.features { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.features li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: var(--sand); }
.features strong, .features li div span { display: block; }
.features strong { font-size: .94rem; font-weight: 900; line-height: 1.3; }
.features li div span { margin-top: 2px; color: var(--muted); font-size: .79rem; line-height: 1.3; }
.section { margin-top: 58px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title h2 { margin-top: 5px; }
.section-title > a { flex-shrink: 0; padding-bottom: 3px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.product-card {
  min-width: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 23px;
  box-shadow: var(--hard-shadow); transition: transform .16s ease, box-shadow .16s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.product-card-link { display: flex; flex-direction: column; height: 100%; border-radius: inherit; }
.card-photo {
  position: relative; display: grid; place-items: center; aspect-ratio: 1;
  overflow: hidden; border-radius: 21px 21px 0 0; border-bottom: 2px solid var(--ink);
}
.card-photo .tag { position: absolute; left: 12px; top: 12px; z-index: 1; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--book { background: #efe4d2; }
.photo--blush { background: #f2e0d7; }
.photo--sand { background: #efe2d2; }
.card-photo.photo--book img {
  width: 100%; height: 100%; padding: 10% 20%; object-fit: contain;
  filter: drop-shadow(8px 10px 7px #62402155);
}
.card-content { flex: 1; padding: 17px 19px 19px; display: flex; flex-direction: column; }
.card-category, .price-prefix { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.card-content h3 { margin: 6px 0 8px; font-size: clamp(1.24rem, 1.9vw, 1.6rem); }
.card-content p { font-size: .94rem; line-height: 1.45; }
.card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 15px; }
.card-bottom strong { display: block; color: var(--orange); font: 400 1.75rem/1 var(--display); }
.card-arrow {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto;
  border: 2px solid var(--ink); border-radius: 50%; color: var(--white); background: var(--orange);
}
.product-card:hover .card-arrow { background: var(--yellow); color: var(--ink); }
.sensei-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: 54px; border: 2px solid var(--ink); border-radius: 24px;
  padding: 32px 37px; background: var(--blue); color: var(--white); box-shadow: var(--hard-shadow);
}
.sensei-banner h2 { margin-top: 4px; }
.sensei-banner p { color: #f0f5ff; margin-top: 8px; max-width: 33rem; }
.sensei-banner .button { flex-shrink: 0; }

.site-footer { background: var(--ink); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 32px; padding-block: 45px 32px; }
.footer-brand p { max-width: 24rem; margin-top: 14px; color: #e0dfd9; }
.footer-grid nav { display: grid; align-content: start; gap: 9px; }
.footer-grid nav h2 { margin: 6px 0 4px; font-size: 1.35rem; color: var(--yellow); }
.footer-grid nav a { width: fit-content; font-size: .94rem; color: #f4eedf; }
.footer-grid nav a:hover { color: var(--yellow); text-decoration: underline; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: #c1cbdb; border-top: 1px solid #3e4b60; font-size: .81rem; padding-block: 17px 20px;
}
.footer-base .icon { margin-right: 3px; }

.page { min-height: 61vh; padding-block: 26px 72px; }
.crumbs {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  color: var(--muted); font-size: .84rem; font-weight: 750; margin-bottom: 25px;
}
.crumbs a:hover { color: var(--orange); text-decoration: underline; }
.crumbs .icon { width: 12px; height: 12px; }
.crumbs span { color: var(--ink); }
.page-intro { margin-bottom: 28px; }
.page-intro h1 { margin-block: 7px 12px; }
.page-intro p { max-width: 48rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px;
  padding-block: 15px; border-block: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { border-radius: 999px; border: 1.5px solid var(--ink); padding: 6px 14px; font-weight: 850; background: var(--white); }
.filter-pill:hover { background: var(--sand); }
.filter-pill[aria-current="page"] { background: var(--ink); color: var(--white); }
.sort-label { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 850; }
.sort-label select { border: 1px solid var(--line); padding: 7px 9px; background: var(--white); border-radius: 9px; color: var(--ink); }
.catalog-count { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); margin-block: 14px; font-size: .87rem; font-weight: 750; }
.empty-state {
  display: grid; justify-items: center; gap: 11px; text-align: center; padding: 42px 18px;
  border: 1.5px dashed #c2b299; border-radius: 23px; background: #fffaf1;
}
.empty-state p { max-width: 29rem; }
.empty-state .button { margin-top: 7px; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4.4vw, 65px); }
.gallery { position: sticky; top: 117px; min-width: 0; }
.gallery-stage {
  width: 100%; aspect-ratio: 1; display: grid; place-items: center; position: relative;
  border: 2px solid var(--ink); border-radius: 25px; box-shadow: var(--hard-shadow);
  overflow: hidden; padding: 0;
}
.gallery-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-stage.photo--book img { padding: 7% 17%; filter: drop-shadow(9px 10px 7px #62402150); }
.gallery-zoom {
  position: absolute; right: 13px; bottom: 13px; display: grid; place-items: center;
  width: 37px; height: 37px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--white);
}
.gallery-stage:hover .gallery-zoom { background: var(--yellow); }
.gallery-bottom { display: grid; gap: 10px; margin-top: 15px; }
.gallery-thumbs { display: flex; align-items: center; gap: 10px; }
.thumbnail { width: 72px; height: 72px; border: 2px solid var(--ink); padding: 0; border-radius: 14px; overflow: hidden; }
.thumbnail[aria-pressed="true"] { border-color: var(--orange); outline: 1px solid var(--orange); }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.thumbnail.photo--book img { padding: 4px; }
.gallery-caption { color: var(--muted); font-size: .79rem; }
.product-info .tag { margin-bottom: 11px; }
.product-info h1 { font-size: clamp(2.45rem, 4.36vw, 3.55rem); line-height: 1.02; text-wrap: pretty; overflow-wrap: break-word; }
.product-subtitle { font-size: 1.02rem; color: var(--muted); font-weight: 800; margin-top: 10px; }
.product-price { display: flex; align-items: baseline; gap: 9px; margin-top: 14px; }
.product-price span:first-child { color: var(--orange); font: 400 2.2rem/1 var(--display); }
.product-price span:last-child { font-size: .85rem; color: var(--muted); }
.product-description { margin-top: 17px; font-size: 1.01rem; }
#product-form { margin-top: 22px; }
#product-form legend { font-size: 1rem; margin-bottom: 7px; }
.product-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; margin-block: 17px; }
.product-options .option-picker:last-child:nth-child(odd) { grid-column: 1 / -1; }
.option-values { display: flex; flex-wrap: wrap; gap: 7px; }
.choice, .radio-card { position: relative; display: inline-block; cursor: pointer; }
.choice input, .radio-card input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.choice span {
  display: flex; align-items: center; gap: 6px; min-height: 41px; padding: 6px 12px;
  border: 1.6px solid var(--ink); border-radius: 999px; background: var(--white);
  font-size: .88rem; font-weight: 850;
}
.choice:hover span { background: var(--sand); }
.choice input:checked + span { color: var(--white); background: var(--ink); }
.choice input:focus-visible + span, .radio-card input:focus-visible + .radio-content { outline: 3px solid #0670cc; outline-offset: 3px; }
.swatch { width: 14px; height: 14px; border: 1px solid #2229; border-radius: 50%; background: var(--swatch); }
.choice input:checked + span .swatch { border-color: #fff9; }
.variant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.radio-content {
  display: flex; align-items: center; gap: 7px; min-height: 45px; padding: 8px 10px;
  border: 1.6px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink);
  font-size: .84rem; font-weight: 800;
}
.radio-content strong { margin-left: auto; white-space: nowrap; color: var(--orange); font-weight: 900; }
.radio-card:hover .radio-content { background: #fff8e4; }
.radio-card input:checked + .radio-content { background: var(--yellow-soft); }
.radio-dot { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); }
.radio-card input:checked + .radio-content .radio-dot { border: 4.5px solid var(--ink); }
.personalization-field { margin-top: 12px; }
.addon-list { display: grid; gap: 9px; }
.addon {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; cursor: pointer;
  border: 1.6px solid var(--ink); border-radius: 14px; background: var(--white);
}
.addon:has(:checked) { background: var(--yellow-soft); }
.addon input, .check-label input { width: 17px; height: 17px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--orange); }
.addon strong { display: block; font-size: .92rem; }
.addon em { margin-left: 4px; color: var(--orange); font-style: normal; }
.addon small { display: block; color: var(--muted); }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 900; }
.field input {
  width: 100%; min-height: 43px; border: 1.5px solid #6e7583; border-radius: 11px;
  padding: 8px 11px; background: var(--white); color: var(--ink);
}
.field input[readonly] { background: var(--sand); }
.field input::placeholder { color: #656b79; }
.field small { color: var(--muted); font-size: .79rem; }
.callout {
  display: flex; align-items: flex-start; gap: 9px; border: 1px solid #dec16e;
  background: #fff3cf; padding: 11px 12px; border-radius: 12px; font-size: .87rem;
}
.callout > .icon { margin-top: 2px; }
.callout p { color: var(--ink); }
.face-callout { margin-top: 13px; }
.purchase-row { display: flex; align-items: stretch; gap: 9px; margin-top: 18px; }
.quantity {
  display: inline-flex; align-items: center; justify-content: center; min-height: 43px;
  border: 1.7px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 900;
}
.quantity .icon-button { width: 35px; height: 37px; }
.quantity .icon { width: 16px; height: 16px; }
.quantity input, .quantity output { width: 31px; border: 0; background: transparent; text-align: center; color: var(--ink); padding: 0; font-weight: 900; }
.quantity input { appearance: textfield; }
.quantity input::-webkit-inner-spin-button, .quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.add-button { flex: 1; min-width: 0; }
.buy-button { width: 100%; margin-top: 10px; }
.pdp-shipping {
  display: flex; align-items: center; gap: 8px; margin-block: 19px 16px;
  color: var(--muted); font-size: .9rem; font-weight: 850;
}
.pdp-shipping .icon { color: var(--blue); }
.accordions { border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 13px; cursor: pointer; font-weight: 900; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions details[open] summary .icon { transform: rotate(45deg); }
.detail-content { padding-bottom: 13px; font-size: .91rem; }
.detail-content .text-link { margin-top: 8px; }
.facts { display: grid; gap: 7px; }
.facts div { display: grid; grid-template-columns: 1fr 1.7fr; gap: 9px; }
.facts dt { font-weight: 900; }
.facts dd { margin: 0; color: var(--muted); }
.related { padding-top: 25px; border-top: 1px solid var(--line); }

.story-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-block: 31px 38px; }
.story-steps li {
  padding: 23px; border: 2px solid var(--ink); border-radius: 20px;
  background: var(--white); box-shadow: var(--hard-shadow);
}
.story-steps li > span { font: 400 2.7rem/1 var(--display); color: var(--orange-bright); }
.story-steps h2 { font-size: 1.8rem; margin: 9px 0 5px; }
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.poster-card {
  display: block; overflow: hidden; border: 2px solid var(--ink); border-radius: 21px;
  background: var(--white); box-shadow: var(--hard-shadow);
}
.poster-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.poster-card div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; border-top: 2px solid var(--ink); }
.poster-card:hover div { background: var(--yellow-soft); }
.story-feature {
  margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border: 2px solid var(--ink); border-radius: 24px; background: #f9e6cf; box-shadow: var(--hard-shadow); overflow: hidden;
}
.story-feature img { width: 100%; height: 100%; max-height: 370px; object-fit: cover; object-position: center 43%; }
.story-feature > div { padding: clamp(19px, 4vw, 46px); align-self: center; }
.story-feature h2 { margin: 7px 0 12px; }
.story-feature .button { margin-top: 18px; }
.help-layout { display: grid; grid-template-columns: minmax(170px, .45fr) minmax(0, 1.6fr); gap: 32px; }
.help-nav { position: sticky; top: 117px; display: grid; align-self: start; gap: 5px; padding: 14px; background: var(--sand); border-radius: 15px; }
.help-nav a { padding: 5px 7px; font-weight: 850; }
.help-nav a:hover { color: var(--orange); text-decoration: underline; }
.help-section { padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.help-section:first-child { padding-top: 0; }
.help-section h2 { font-size: 1.85rem; }
.help-section p { margin-top: 8px; }
.help-section .button { margin-top: 14px; }
.not-found { text-align: center; padding-block: 85px; }
.not-found .page-intro p { margin-inline: auto; }

.commerce-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.panel { padding: 20px; border: 2px solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--hard-shadow); min-width: 0; }
.panel h2 { font-size: 1.65rem; margin-bottom: 10px; }
.summary-panel { position: sticky; top: 117px; }
.summary-panel > .button, .drawer-footer > .button { width: 100%; }
.summary-count { font-size: .82rem; margin-top: -6px; }
.cart-lines { list-style: none; display: grid; }
.cart-line {
  min-width: 0; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: start; gap: 12px;
  padding-block: 14px; border-bottom: 1px solid var(--line);
}
.cart-line:first-child { padding-top: 0; }
.cart-line:last-child { border-bottom: 0; }
.line-photo, .search-photo { display: grid; place-items: center; border-radius: 11px; overflow: hidden; aspect-ratio: 1; }
.line-photo img, .search-photo img { width: 100%; height: 100%; object-fit: cover; }
.line-photo.photo--book img, .search-photo.photo--book img { padding: 5px; object-fit: contain; }
.line-title { display: inline-block; font: 400 1.18rem/1.15 var(--display); }
.line-title:hover { color: var(--orange); }
.line-main { min-width: 0; }
.line-main p { color: var(--muted); font-size: .82rem; line-height: 1.38; margin-top: 4px; overflow-wrap: anywhere; }
.line-total { color: var(--orange); font: 400 1.15rem/1.25 var(--display); white-space: nowrap; }
.line-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin-top: 8px; }
.line-controls .quantity { min-height: 34px; }
.line-controls .quantity .icon-button { width: 29px; height: 32px; }
.line-controls .quantity output { width: 21px; font-size: .86rem; }
.remove-line { color: var(--muted); font-size: .77rem; min-height: 32px; }
.back-link { margin-top: 9px; }
.price-summary { display: grid; gap: 8px; margin: 14px 0 16px; }
.price-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .9rem; }
.price-summary dt { font-weight: 800; }
.price-summary dd { margin: 0; text-align: right; }
.price-summary .price-total { border-top: 1px solid var(--line); margin-top: 3px; padding-top: 11px; color: var(--ink); }
.price-total dt { font-weight: 900; }
.price-total dd { color: var(--orange); font: 400 1.55rem/1 var(--display); white-space: nowrap; }
.demo-note { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .77rem; text-align: center; margin-top: 14px; }

.demo-banner {
  display: flex; align-items: center; gap: 8px; padding: 9px 13px; margin: -8px 0 15px;
  border: 1px solid #dbc16a; border-radius: 12px; background: var(--yellow-soft); font-size: .87rem;
}
.checkout-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
.checkout-steps li {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 5px 9px;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; background: #fffbf3;
}
.checkout-steps li > span {
  display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 50%;
  color: var(--white); background: #59667a; font-size: .75rem; font-weight: 900;
}
.checkout-steps li[aria-current="step"] { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.checkout-steps li[aria-current="step"] > span, .checkout-steps li.is-complete > span { background: var(--ink); }
.checkout-steps li.is-complete { color: var(--ink); }
.checkout-panel { padding: clamp(15px, 2.15vw, 25px); }
.form-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.form-heading h2 { margin: 0; }
.sample-button { font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid legend { margin-bottom: 8px; }
.form-grid .field:first-of-type { grid-column: 1 / -1; }
.form-lead { margin-bottom: 13px; font-size: .93rem; }
.method-fieldset { display: grid; gap: 8px; margin-block: 16px; }
.method-fieldset legend { margin-bottom: 7px; }
.method-card { width: 100%; }
.method-card .radio-content { gap: 10px; min-height: 60px; padding: 9px 11px; }
.method-card .method-icon { display: grid; place-items: center; width: 31px; height: 31px; color: var(--blue); }
.method-icon .icon { width: 23px; height: 23px; }
.method-copy { display: grid; gap: 1px; }
.method-copy strong { color: var(--ink); margin: 0; white-space: normal; }
.method-copy small { color: var(--muted); font-weight: 700; font-size: .79rem; }
.checkout-photo, .payment-example { margin-top: 14px; }
.check-label { display: flex; align-items: flex-start; gap: 7px; font-weight: 850; margin-top: 8px; cursor: pointer; }
.check-label input { margin-top: 1px; }
.scenario { padding: 11px 12px; background: #f6f0e4; border-radius: 12px; }
.scenario legend { padding: 0 5px; }
.scenario p { font-size: .86rem; margin-bottom: 8px; }
.error-callout { margin-bottom: 13px; border-color: #d69585; background: #feece6; color: #8a2914; }
.form-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line);
}
.form-actions .text-link, .form-actions .text-button { font-size: .85rem; }
.checkout-layout .summary-panel .cart-lines { margin-top: 14px; }
.checkout-layout .cart-line { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; }
.checkout-layout .line-title { font-size: 1.03rem; }
.checkout-layout .line-total { font-size: 1rem; }
.review-block { padding: 13px 0; border-bottom: 1px solid var(--line); }
.review-block:last-of-type { border-bottom: 0; }
.review-block > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-block h3 { font-size: 1.2rem; }
.review-block p { margin-top: 8px; overflow-wrap: anywhere; font-size: .93rem; }
.review-block .text-button { font-size: .85rem; }
.review-photo { display: flex; align-items: center; gap: 6px; }
.confirmation-card {
  display: grid; justify-items: center; gap: 10px; text-align: center; margin-bottom: 22px; padding: 23px;
  background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--hard-shadow);
}
.confirmation-card h1 { font-size: clamp(2.3rem, 4.1vw, 3.65rem); }
.confirmation-icon { display: grid; place-items: center; width: 52px; height: 52px; background: #def3e3; color: var(--green); border: 2px solid var(--green); border-radius: 50%; }
.confirmation-icon .icon { width: 28px; height: 28px; }
.order-ref { font-variant-numeric: tabular-nums; }
.payment-status { display: inline-flex; align-items: center; gap: 6px; background: #e1f3e2; color: #205631; padding: 5px 8px; border-radius: 8px; font-weight: 900; font-size: .84rem; }
.payment-status.is-pending { background: var(--yellow-soft); color: #704808; }
.receipt-method { margin-top: 7px; font-size: .86rem; }

html:has(dialog[open]) { overflow: hidden; }
dialog { color: var(--ink); border: 2px solid var(--ink); padding: 0; background: var(--cream); border-radius: 20px; }
dialog::backdrop { background: #111f3685; }
.drawer { margin: 0 0 0 auto; inset: 0 0 0 auto; width: min(480px, 100vw); max-width: none; height: 100dvh; max-height: none; border: 0; border-left: 2px solid var(--ink); border-radius: 0; }
.drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 1.75rem; }
.dialog-header p { font-size: .83rem; margin-top: 3px; }
.dialog-header .icon-button { border-color: var(--line); background: var(--white); }
.dialog-header .icon-button:hover { background: var(--yellow-soft); }
.drawer-body { padding: 14px 18px; overflow: auto; }
.drawer-footer { padding: 9px 18px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-footer .price-summary { margin-top: 5px; }
.drawer-footer > .text-link { display: flex; justify-content: center; margin-top: 11px; }
.added-message {
  display: flex; align-items: center; gap: 7px; margin-bottom: 13px; padding: 9px 10px;
  border-radius: 10px; background: #def2df; color: #225834; font-size: .85rem; font-weight: 850;
}
.menu-dialog { width: min(350px, 100vw); border-left: 0; border-right: 2px solid var(--ink); margin: 0 auto 0 0; inset: 0 auto 0 0; }
.drawer-menu { overflow: auto; display: grid; align-content: start; padding: 10px 18px; }
.drawer-menu a { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--line); font-weight: 900; }
.drawer-menu a:hover { color: var(--orange); }
.search-dialog { width: min(570px, calc(100% - 30px)); max-height: calc(100dvh - 60px); margin: max(30px, 10vh) auto auto; }
.search-form { display: flex; align-items: center; gap: 7px; padding: 14px 18px; }
.search-form > .icon { color: var(--muted); }
.search-form input { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #6e7583; border-radius: 10px; background: var(--white); color: var(--ink); padding: 7px 10px; }
.search-form .button { min-height: 41px; padding-inline: 12px; }
.search-results { padding: 0 18px 15px; }
.search-results ul { margin-top: 5px; list-style: none; }
.search-results li a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.search-results li a:hover { color: var(--orange); }
.image-dialog { width: min(680px, calc(100% - 25px)); max-height: calc(100dvh - 32px); }
.zoomed-photo { display: grid; place-items: center; padding: 8px; }
.zoomed-photo img { max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features li { padding: 11px 13px; }
  .hero-grid { gap: 35px; }
  .product-grid { gap: 15px; }
  .product-options { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  :root { scroll-padding-top: 105px; }
  .nav-bar { min-height: 60px; gap: 7px; grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav-bar > [data-action="menu"] { display: grid; margin-left: -5px; }
  .desktop-nav, .checkout-nav-label { display: none; }
  .brand { gap: 5px; }
  .brand img { width: 39px; height: 36px; }
  .brand span { font-size: 1.33rem; }
  .nav-actions { gap: 2px; }
  .nav-actions .icon-button, .nav-bar > [data-action="menu"] { width: 36px; height: 36px; }
  .cart-button { min-height: 38px; min-width: 42px; padding: 5px 8px; gap: 3px; }
  .cart-word { display: none; }
  .cart-button .icon { width: 19px; height: 19px; }
  .cart-count { min-width: 18px; height: 18px; font-size: .69rem; }
  .nav-bar:has(.checkout-nav-label) { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; justify-items: center; gap: 23px; padding-block: 31px 35px; }
  .hero-copy { text-align: center; padding: 0; }
  .hero h1 { margin-top: 15px; font-size: clamp(2.4rem, 8.25vw, 3.8rem); }
  .hero-copy p { margin: 14px auto 0; line-height: 1.5; }
  .hero-actions { justify-content: center; margin-top: 17px; gap: 8px; }
  .hero-actions .button { min-height: 44px; padding-inline: 12px; font-size: .89rem; }
  .hero-media { width: min(100%, 444px); }
  .hero-sticker { left: -7px; bottom: -9px; }
  .hero-photo { border-radius: 20px; }
  .home-content { padding-block: 20px 50px; }
  .section { margin-top: 38px; }
  .section-title { margin-bottom: 16px; }
  .section-title > a { font-size: .86rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 11px; }
  .product-card { border-radius: 17px; }
  .card-photo { border-radius: 15px 15px 0 0; }
  .card-photo .tag { left: 6px; top: 6px; font-size: .66rem; padding: 4px 6px; }
  .card-content { padding: 10px 10px 12px; }
  .card-content h3 { font-size: 1.18rem; overflow-wrap: anywhere; }
  .card-content p { font-size: .82rem; }
  .card-category, .price-prefix { font-size: .63rem; }
  .card-bottom { gap: 4px; }
  .card-bottom strong { font-size: 1.32rem; }
  .card-arrow { width: 28px; height: 28px; }
  .sensei-banner { margin-top: 36px; padding: 20px; border-radius: 18px; flex-wrap: wrap; }
  .sensei-banner .button { flex-shrink: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 27px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { flex-wrap: wrap; }
  .page { padding-block: 17px 46px; }
  .crumbs { margin-bottom: 17px; }
  .page-intro { margin-bottom: 19px; }
  .product-layout { display: flex; flex-direction: column; gap: 22px; }
  .gallery { position: static; width: 100%; }
  .gallery-stage { border-radius: 19px; max-height: 560px; }
  .gallery-bottom { margin-top: 12px; }
  .thumbnail { width: 57px; height: 57px; border-radius: 11px; }
  .product-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .summary-panel { position: static; }
  .story-steps { grid-template-columns: 1fr; gap: 11px; }
  .story-steps li { padding: 16px; }
  .poster-grid { gap: 12px; }
  .poster-card div { padding: 9px; font-size: .8rem; }
  .story-feature { grid-template-columns: 1fr; margin-top: 27px; }
  .story-feature img { max-height: 280px; }
  .help-layout { grid-template-columns: 1fr; gap: 18px; }
  .help-nav { position: static; grid-template-columns: 1fr 1fr; }
  .not-found { padding-block: 49px; }
}

@media (max-width: 390px) {
  .top-strip > span:first-child, .top-strip .strip-dot { display: none; }
  .features { gap: 8px; }
  .features li { gap: 6px; padding: 9px; border-radius: 13px; }
  .features .round-icon { width: 30px; height: 30px; }
  .features .round-icon .icon { width: 16px; height: 16px; }
  .features strong { font-size: .83rem; }
  .features li div span { font-size: .72rem; }
  .product-options, .variant-grid { grid-template-columns: 1fr; }
  .product-options .option-picker:last-child:nth-child(odd) { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .checkout-steps li { min-height: 49px; padding-inline: 4px; gap: 4px; font-size: .72rem; line-height: 1.2; }
  .checkout-steps li > span { min-width: 18px; height: 18px; }
  .cart-line { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 7px; }
  .line-total { font-size: 1rem; }
  .drawer-body, .drawer-footer { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
