/* ==========================================================================
   Rizovit — shop & checkout
   Products sit on tinted "stages" like objects on a field; everything else
   stays quiet on the rice-white ground with paddy-row lines.
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Shared: film grain over the low-resolution husk photos ---------- */
.sh-src__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .28;
  mix-blend-mode: overlay;
}
.arr { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }

/* ---------- 1. Header: full-bleed photo; the type stays, the photo drifts ---------- */
/* While the page slides in, what shows above it matches the dark header */
body[data-page="shop"] { background-color: var(--paddy-deep); }
.sh-head {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  background: var(--paddy-deep);
  color: var(--on-dark);
}
.sh-head__bg { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.sh-head__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  animation: sh-push 18s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes sh-push { from { scale: 1.16; } to { scale: 1.02; } }
.sh-head__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 26, 8, .62) 0%, rgba(20, 26, 8, .12) 30%, rgba(20, 26, 8, .22) 55%, rgba(20, 26, 8, .82) 100%),
    linear-gradient(90deg, rgba(20, 26, 8, .35) 0%, rgba(20, 26, 8, 0) 60%);
}
.sh-head__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas: "top top" ". ways" "title title" "foot foot";
  gap: 20px clamp(32px, 5vw, 96px);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(20px, 3vw, 44px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(clamp(20px, 3vh, 36px) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.sh-head__top { grid-area: top; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px 48px; }
.sh-head__kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark-2); }
.sh-head__lead { max-width: 25em; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.45; color: var(--on-dark); text-wrap: pretty; }
.sh-head__title {
  grid-area: title;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  /* "Продавница" is the longest title (≈4.5em wide in the display face); it spans the width at every size */
  font-size: min(21rem, calc((100vw - 2 * var(--gutter)) / 4.62));
  line-height: .8;
  letter-spacing: -.035em;
  min-width: 0;
}
.sh-head__foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; border-top: 1px solid rgba(243, 238, 226, .28); }
.sh-head__scroll { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; color: var(--on-dark); }
.sh-head__drip { position: relative; width: 1px; height: 26px; overflow: hidden; background: rgba(243, 238, 226, .3); }
.sh-head__drip::after { content: ""; position: absolute; inset: 0; background: var(--straw); animation: sh-drip 1.8s var(--ease) infinite; }
@keyframes sh-drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.sh-head__place { color: var(--on-dark-2); text-align: right; }

/* The ways in: one row per category */
.sh-ways { grid-area: ways; align-self: end; display: grid; gap: 12px; min-width: 0; }
.sh-ways__label { color: var(--on-dark-2); }
.sh-ways__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--on-dark); }
.sh-way {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr) auto 22px;
  align-items: baseline;
  gap: 12px;
  padding: clamp(12px, 1.6vh, 18px) 0;
  border-bottom: 1px solid rgba(243, 238, 226, .26);
  transition: padding .5s var(--ease-out), color .35s;
}
.sh-way::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 4px;
  background: var(--rice);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .5s var(--ease-out);
}
.sh-way:hover, .sh-way:focus-visible { color: var(--paddy-deep); padding-inline: 14px; }
.sh-way:hover::before, .sh-way:focus-visible::before { transform: scaleY(1); }
.sh-way:hover .arr { transform: rotate(90deg); }
.sh-way__n { font-family: var(--f-cond); font-weight: 600; font-size: var(--t-xs); letter-spacing: .08em; color: var(--straw); }
.sh-way:hover .sh-way__n { color: var(--husk); }
.sh-way__name { font-size: clamp(1.2rem, .9rem + .8vw, 1.7rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.sh-way__meta { font-family: var(--f-cond); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.sh-way .arr { align-self: center; }

@media (max-width: 900px) {
  .sh-head__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto auto; grid-template-areas: "top" "." "title" "ways" "foot"; }
  .sh-head__place { display: none; }
}

/* Render that follows the cursor over the rows (fine pointers only) */
.sh-float {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  scale: .6;
  filter: drop-shadow(0 26px 24px rgba(10, 14, 4, .45));
  transition: opacity .3s, scale .5s var(--ease-out);
}
.sh-float.is-on { opacity: 1; scale: 1; }
.sh-float:not([src]) { display: none; }

/* ---------- 2. Catalog ---------- */
.sh-catalog { position: relative; padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(88px, 11vw, 180px); }
.sh-bar__sentinel { display: block; height: 1px; }
.sh-bar {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px);
  z-index: 20;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(36px, 5vw, 80px);
  padding: 0 var(--gutter);
  pointer-events: none;
  transition: top .6s var(--ease);
}
body:has(.site-header.is-hidden) .sh-bar { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.sh-bar__inner {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px 18px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(243, 238, 226, .6);
  pointer-events: auto;
  transition: background-color .4s, box-shadow .4s, border-color .4s;
}
.sh-bar.is-stuck .sh-bar__inner {
  border-color: var(--line);
  background: rgba(243, 238, 226, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 14px 34px -18px rgba(31, 37, 16, .45);
}
.chips { position: relative; isolation: isolate; display: flex; gap: 2px; }
.chips__pill {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .6s var(--ease-out), width .6s var(--ease-out);
}
.chips__pill.is-instant { transition: none; }
.chip {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  color: var(--ink);
  transition: color .35s, background-color .3s;
}
.chip:hover:not([aria-pressed="true"]) { background: rgba(67, 82, 36, .09); }
.chip[aria-pressed="true"] { color: var(--rice); }
.shop-count { padding-right: 14px; white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .shop-count { display: none; }
  .chip { padding: 0 10px; font-size: .86rem; }
  /* Five chips don't always fit a phone: the bar scrolls sideways instead */
  .sh-bar__inner { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .sh-bar__inner::-webkit-scrollbar { display: none; }
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(64px, 8vw, 140px) clamp(16px, 2.4vw, 40px);
  align-items: start;
}
.pcard { position: relative; min-width: 0; grid-column: span 3; }
/* Hash links land with the card clear of the header and the sticky bar */
.pcard__anchor { position: absolute; left: 0; top: calc(-1 * (var(--header-h) + 88px)); width: 1px; height: 1px; pointer-events: none; }

.pcard__stage {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  place-items: center;
  aspect-ratio: 6 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  perspective: 1100px;
  --rx: 0deg;
  --ry: 0deg;
}
.pcard--panel .pcard__stage {
  background:
    radial-gradient(110% 80% at 50% 28%, rgba(169, 188, 85, .35), transparent 60%),
    linear-gradient(180deg, var(--paddy-2), var(--paddy) 55%, var(--paddy-deep));
  color: var(--on-dark);
}
.pcard--tile .pcard__stage {
  background:
    radial-gradient(110% 80% at 50% 25%, var(--rice), transparent 65%),
    linear-gradient(180deg, var(--straw), var(--rice-2));
  color: var(--ink);
}
.pcard--extra .pcard__stage { aspect-ratio: 1; background: radial-gradient(90% 80% at 50% 30%, #F8F4EA, var(--rice-2)); color: var(--ink); }

/* Product name in giant type behind the render; it drifts with the scroll */
.pcard__ghost {
  position: absolute;
  left: -3%;
  bottom: 3%;
  z-index: -1;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 800;
  /* Each letter is about .43em wide: fit the whole name in the stage, in any language */
  font-size: min(15rem, calc(224cqw / var(--chars, 12)));
  line-height: .8;
  letter-spacing: -.03em;
  opacity: .13;
  pointer-events: none;
}
.pcard__no { position: absolute; left: 22px; top: 18px; font-family: var(--f-cond); font-weight: 600; font-size: var(--t-xs); letter-spacing: .08em; opacity: .75; }
.pcard__made { position: absolute; right: 22px; top: 18px; opacity: .8; }

/* The chosen size: a measuring line drawn to scale against the largest size */
.pcard__measure {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 4%, 30px);
  z-index: 2;
  width: 70%;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}
.pcard__mline {
  display: block;
  position: relative;
  width: calc(var(--mw, 1) * 100%);
  height: 1px;
  background: currentColor;
  opacity: .75;
  transition: width .8s var(--ease-out);
}
.pcard__mline::before, .pcard__mline::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; }
.pcard__mline::before { left: 0; }
.pcard__mline::after { right: 0; }
.pcard__mval {
  display: grid;
  overflow: hidden;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(20, 26, 8, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.pcard__mval > span { grid-area: 1 / 1; }
.pcard--tile .pcard__mval { background: rgba(243, 238, 226, .55); }

/* Placeholder in the finish color until the 3D render arrives */
.pcard__ph {
  grid-area: 1 / 1;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 10px;
  background:
    radial-gradient(circle at 20% 30%, rgba(31, 37, 16, .18) 0 1px, transparent 1.6px) 0 0 / 9px 11px,
    radial-gradient(circle at 70% 60%, rgba(181, 131, 58, .45) 0 1.2px, transparent 1.8px) 0 0 / 13px 7px,
    var(--sw, var(--fin-natural));
  transform: perspective(700px) rotateY(-24deg) rotateX(6deg);
  transition: opacity .5s, background-color .4s;
}
.pcard--tile .pcard__ph, .pcard__ph--samples {
  border-radius: 0;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
  transform: perspective(700px) rotateX(52deg) rotateZ(-18deg);
}
.pcard__ph--samples { width: 34%; background-color: var(--fin-natural); }
.pcard__ph--kit {
  width: 32%;
  aspect-ratio: 1 / 1.1;
  border-radius: 14px 14px 22px 22px;
  background: linear-gradient(180deg, var(--rice) 0 18%, var(--paddy) 18% 46%, var(--rice-2) 46%);
  transform: none;
}
.pcard.has-render .pcard__ph { opacity: 0; }

.pcard__tilt {
  grid-area: 1 / 1;
  width: 84%;
  height: 84%;
  display: grid;
  place-items: center;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease-out);
}
.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 34px 30px rgba(20, 26, 8, .34)) drop-shadow(0 6px 8px rgba(20, 26, 8, .16));
  transition: opacity .6s var(--ease-out), scale 1s var(--ease-out);
}
.pcard__img.is-loaded { opacity: 1; }
.pcard__stage:hover .pcard__img { scale: 1.04; }

.pcard__body { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.pcard__cat { color: var(--husk); }
.pcard__name {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(2.2rem, 1rem + 3.2vw, 4.4rem);
  line-height: .94;
  letter-spacing: -.045em;
}
.pcard__name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease-out); }
.pcard__name a:hover { background-size: 100% 2px; }
.pcard__kind { max-width: 32em; color: var(--ink-2); }
.pcard__meta { font-variant-numeric: tabular-nums; }
.pcard__opt { display: grid; gap: 10px; }
.pcard__opt > .label { display: flex; gap: 8px; color: var(--ink-2); }
.pcard__finishName { color: var(--ink); }
.opt__price { margin-left: 4px; opacity: .6; }
.pcard__opt .opt input:checked + span .opt__price { opacity: .8; }

.sws { display: flex; gap: 6px; }
.sw { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; transition: border-color .25s, transform .4s var(--ease-out); }
.sw::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(31, 37, 16, .25); }
.sw:hover { border-color: var(--line-2); transform: scale(1.08); }
.sw[aria-checked="true"] { border-color: var(--ink); }

.pcard__buy {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.pcard__price { display: grid; gap: 2px; }
.pcard__price strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 1.4vw, 2.7rem); line-height: 1; letter-spacing: -.01em; }
.pcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pcard__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-cond); font-weight: 600; }
.pcard__more .arr { width: 18px; height: 18px; }
.pcard__more:hover .arr { transform: translateX(5px); }

/* Main products: big alternating rows */
.pcard--main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4.5vw, 80px);
  align-items: center;
}
.pcard--tile { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pcard--tile .pcard__stage { order: 2; }

/* Extras: side by side */
.pcard--extra {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--ink);
}
.pcard--extra .pcard__name { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.2rem); line-height: 1.02; letter-spacing: -.03em; }
.pcard--extra .pcard__price strong { font-size: clamp(1.5rem, 1.1rem + .8vw, 1.9rem); }
.pcard--extra .pcard__tilt { width: 78%; height: 78%; }

@media (max-width: 900px) {
  .pcard--main, .pcard--tile { grid-template-columns: 1fr; }
  .pcard--tile .pcard__stage { order: 0; }
  .pcard__stage { aspect-ratio: 5 / 4; }
}
@media (max-width: 860px) {
  .pcard, .pcard--extra { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .pcard--extra { grid-template-columns: 1fr; }
  .pcard--extra .pcard__stage { aspect-ratio: 4 / 3; }
  .pcard__actions { width: 100%; }
  .pcard__actions .btn { flex: 1 1 auto; }
}

/* ---------- Coming soon: drawn, never sold ---------- */
.pgrid__soon {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px clamp(32px, 5vw, 96px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--ink);
}
.pgrid__soonKicker { grid-column: 1 / -1; color: var(--husk); }
.pgrid__soonTitle { font-family: var(--f-sans); font-weight: 500; font-size: clamp(2.2rem, 1rem + 3.4vw, 4.6rem); line-height: .94; letter-spacing: -.045em; text-wrap: balance; }
.pgrid__soon .lead { max-width: 26em; }
.pcard--soon { grid-column: span 2; display: grid; gap: 10px; align-content: start; margin-top: calc(-1 * clamp(24px, 4vw, 72px)); }
.soon__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(90% 80% at 50% 30%, #F8F4EA, var(--rice-2));
}
.soon__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paddy-deep);
  color: var(--straw);
}
.soon__fig { width: 100%; height: 100%; display: block; transition: transform .9s var(--ease-out); }
.soon__name { margin-top: 6px; font-size: clamp(1.3rem, 1rem + .7vw, 1.7rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.soon__desc { max-width: 30em; color: var(--ink-2); }
.soon__when { color: var(--husk); }
/* Kept under wraps for now: the drawing and the name are blurred; badge and season stay readable */
.soon__fig { filter: blur(16px) saturate(.9); transform: scale(1.12); }
.pcard--soon:hover .soon__fig { transform: scale(1.16) translateY(-4px); }
.soon__name, .soon__desc { filter: blur(6px); user-select: none; }

/* Drawing palette (js/shop-soon.js) */
.soon__fig .f-n { fill: var(--fin-natural); }
.soon__fig .f-s { fill: var(--fin-straw); }
.soon__fig .f-c { fill: var(--fin-charcoal); }
.soon__fig .f-e { fill: #9C8350; }
.soon__fig .f-g { fill: var(--paddy-2); }
.soon__fig .f-k { fill: var(--husk); stroke: var(--husk); stroke-width: 1; }
.soon__fig .ln { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.soon__fig .relief, .soon__fig .relief * { fill: none; stroke: rgba(31, 37, 16, .26); stroke-width: 1.2; stroke-linecap: round; }
.soon__fig .groove { stroke: rgba(243, 238, 226, .14); stroke-width: 1.2; }
.soon__fig .wall { fill: rgba(233, 225, 205, .0); }
.soon__fig .floor { fill: rgba(67, 82, 36, .08); }
.soon__fig .ceil { fill: rgba(67, 82, 36, .12); }
.soon__fig .shadow { fill: rgba(31, 37, 16, .12); }
.soon__fig .wave { stroke: var(--husk); opacity: .5; }
/* A little life on hover */
.soon__fig .float, .soon__fig .lean, .soon__fig .ripe { transform-box: fill-box; transform-origin: 50% 0; transition: transform 1s var(--ease-out); }
.pcard--soon:hover .soon__fig .float { transform: translateY(-5px); }
.pcard--soon:hover .soon__fig .lean { transform: rotate(-6deg); }
.pcard--soon:hover .soon__fig .ripe { transform: rotate(4deg); }
@media (max-width: 860px) {
  .pcard--soon { grid-column: span 3; margin-top: 0; }
  .pgrid__soon { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pcard--soon { grid-column: 1 / -1; }
}

/* ---------- 3. Bundle ---------- */
.sh-bundle { padding-block: clamp(96px, 12vw, 180px); overflow: clip; }
.sh-bundle__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "copy set" "list set";
  gap: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 96px);
  align-items: center;
}
.sh-bundle__copy { grid-area: copy; display: grid; gap: 22px; justify-items: start; }
.sh-bundle__kicker { color: var(--straw); }
.sh-bundle__title {
  max-width: 9em;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(2.6rem, 1rem + 4.4vw, 6rem);
  line-height: .92;
  letter-spacing: -.045em;
}
.sh-bundle__set {
  grid-area: set;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2px;
}
.bset {
  margin: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 238, 226, .14), rgba(243, 238, 226, 0));
}
.bset img { width: 112%; max-width: none; height: auto; aspect-ratio: 1; object-fit: contain; opacity: 0; filter: drop-shadow(0 26px 22px rgba(10, 14, 4, .45)); transition: opacity .7s var(--ease-out); }
.bset img.is-loaded { opacity: 1; }
.bset__plus { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: 1; color: var(--straw); }
.sh-bundle__list { grid-area: list; display: grid; gap: 18px; }
.bl { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.bl__row { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.bl__q { font-family: var(--f-cond); font-weight: 600; color: var(--straw); }
.bl__name { display: grid; gap: 2px; font-weight: 500; }
.bl__name small { font-size: var(--t-sm); font-weight: 400; color: var(--on-dark-2); }
.bl__p { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bl__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 4px; }
.bl__total .label { color: var(--on-dark-2); }
.bl__sum { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.sh-bundle__note { color: var(--on-dark-2); }
@media (max-width: 900px) {
  .sh-bundle__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "set" "list"; }
}

/* ---------- 4. Compare ---------- */
.sh-compare__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 64px); }
.sh-compare__kicker { color: var(--husk); }
.sh-compare__title {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(2.8rem, 1rem + 5vw, 7rem);
  line-height: .92;
  letter-spacing: -.05em;
}
.cmp { border-top: 1px solid var(--ink); }
.cmp__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr);
  align-items: baseline;
  gap: 10px clamp(16px, 3vw, 48px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.cmp__row--head { align-items: end; padding: 28px 0 22px; }
.cmp__p { display: grid; gap: 12px; justify-items: start; }
.cmp__img { width: clamp(110px, 13vw, 190px); aspect-ratio: 1; object-fit: contain; opacity: 0; filter: drop-shadow(0 22px 18px rgba(31, 37, 16, .28)); transition: opacity .6s, transform .7s var(--ease-out); }
.cmp__img.is-loaded { opacity: 1; }
.cmp__p:hover .cmp__img { transform: translateY(-8px) rotate(-3deg); }
.cmp__name { font-size: var(--t-lg); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }
.cmp__p:hover .cmp__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.cmp__k { color: var(--ink-2); }
.cmp__v { font-size: 1.05rem; line-height: 1.45; }
.cmp__v--both {
  grid-column: 2 / -1;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--rice-2);
  text-align: center;
}
.cmp__note { padding-top: 14px; }
@media (max-width: 700px) {
  .cmp__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp__k { grid-column: 1 / -1; }
  .cmp__row--head .cmp__k { display: none; }
  .cmp__v--both { grid-column: 1 / -1; }
}

/* ---------- 5. Raw material ---------- */
.sh-source { padding-block: clamp(96px, 12vw, 200px); overflow: clip; }
.sh-source__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px clamp(32px, 5vw, 96px);
  align-items: center;
}
.sh-source__copy { display: grid; gap: 22px; justify-items: start; }
.sh-source__kicker { color: var(--sprout); }
.sh-source__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 1rem + 7vw, 9rem);
  line-height: .84;
  letter-spacing: -.02em;
}
.sh-source__made { max-width: 22em; color: var(--straw); }
.sh-source__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-source__photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.sh-src { margin: 0; display: grid; gap: 10px; }
.sh-src--a { grid-column: 1 / span 9; grid-row: 1; }
.sh-src--b { grid-column: 4 / span 9; grid-row: 2; margin-top: -16%; z-index: 1; }
.sh-src__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--paddy); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.sh-src__frame img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.sh-src figcaption { color: var(--on-dark-2); }
.sh-src--b figcaption { justify-self: end; }
@media (max-width: 900px) {
  .sh-source__grid { grid-template-columns: 1fr; }
}

/* ---------- 6. Help: FAQ + delivery ---------- */
.sh-help { padding-block: clamp(88px, 11vw, 180px); }
.sh-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px clamp(32px, 5vw, 96px);
  align-items: start;
}
.sh-faq__title {
  max-width: 7em;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(2.4rem, 1rem + 3.6vw, 5rem);
  line-height: .92;
  letter-spacing: -.045em;
}
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.1rem, .95rem + .5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--husk); outline-offset: 4px; border-radius: 4px; }
.faq__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -.75px 0 0 -6px;
  background: currentColor;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item summary:hover .faq__icon { border-color: var(--ink); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--rice); }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 40em; padding-bottom: 24px; color: var(--ink-2); }

.shop-info { display: grid; gap: 24px; margin-top: clamp(72px, 9vw, 140px); }
.shop-info__title { color: var(--ink-2); }
.shop-info__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.shop-info__list li { display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.shop-info__icon { width: 34px; height: 34px; margin-bottom: 6px; fill: none; stroke: var(--husk); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) {
  .shop-info__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sh-faq { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .shop-info__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Checkout
   ========================================================================== */
.co { padding-bottom: clamp(88px, 10vw, 160px); }
.co-hero {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 96px));
  padding-bottom: clamp(28px, 4vw, 48px);
}
.co-hero__inner { display: grid; gap: 20px; justify-items: start; }
.co-back {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.co-back:hover { color: var(--ink); }
.co-hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.8rem, 1.6rem + 9vw, 10.5rem);
  line-height: .82;
  letter-spacing: -.03em;
  min-width: 0;
}
.co-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 44em;
  padding: 16px 20px;
  border: 1px solid rgba(181, 131, 58, .55);
  border-radius: 16px;
  background: rgba(226, 207, 147, .35);
}
.co-banner .mark { color: var(--husk); margin-top: 1px; }

.co-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
@media (max-width: 960px) {
  .co-main { grid-template-columns: 1fr; }
  .co-summary { order: -1; position: static !important; }
}

/* Form */
.co-form { display: grid; min-width: 0; }
.co-form fieldset { border: 0; margin: 0; padding: 28px 0 32px; border-top: 1px solid var(--line-2); min-width: 0; }
.co-form legend { float: left; width: 100%; padding: 0; margin-bottom: 20px; }
.co-fields { clear: both; display: grid; gap: 18px; }
.co-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.co-address { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 600px) {
  .co-row2, .co-address { grid-template-columns: 1fr; }
}
.co-form .field input, .co-form .field select, .co-form .field textarea { width: 100%; min-width: 0; }
.co-form .field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F2510' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.co-form .field .err:empty { min-height: 0; }
.co-pickup {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--rice-2);
}
.co-errsum {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #8E2F1B;
  color: #8E2F1B;
  background: rgba(142, 47, 27, .06);
  font-weight: 500;
}

/* Radio choice cards */
.choices { display: grid; gap: 10px; }
.choice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.choice:hover { border-color: var(--ink); }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-2);
  display: grid;
  place-items: center;
}
.choice__dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paddy);
  transform: scale(0);
  transition: transform .3s var(--ease-out);
}
.choice__text { display: grid; gap: 2px; min-width: 0; }
.choice__text strong { font-weight: 600; }
.choice__price { font-weight: 600; white-space: nowrap; }
.choice:has(input:checked) { border-color: var(--paddy); background: rgba(255, 255, 255, .55); }
.choice:has(input:checked) .choice__dot { border-color: var(--paddy); }
.choice:has(input:checked) .choice__dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 2px solid var(--husk); outline-offset: 3px; }
.choice.is-disabled { cursor: not-allowed; opacity: .55; }
.choice.is-disabled:hover { border-color: var(--line-2); }
.choice.is-disabled input { cursor: not-allowed; }
.choice .tag { color: var(--ink-2); }

.co-submit { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.co-submit__btn { --btn-h: 58px; justify-content: space-between; padding: 0 28px; font-size: 1.05rem; }
.co-submit__total { font-variant-numeric: tabular-nums; }

/* Summary */
.co-summary {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 16px);
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--radius);
  background: var(--rice-2);
  min-width: 0;
}
.co-items { display: grid; }
.co-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.co-item:first-child { padding-top: 0; }
.co-item--to { grid-template-columns: 1fr; color: var(--ink-2); border-bottom: 0; }
.co-item__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--rice);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.co-item__thumb::before {
  content: "";
  grid-area: 1 / 1;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--sw, var(--fin-natural));
}
.co-item__thumb img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; position: relative; background: var(--rice); }
.co-item__thumb img:not([src]) { display: none; }
.co-item__name { font-weight: 600; line-height: 1.25; }
.co-item__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.co-item__row { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.co-item__row .qty { height: 36px; }
.co-item__row .qty button { width: 34px; }
.co-item__remove { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.co-item__remove:hover { color: var(--ink); }
.co-item__price { white-space: nowrap; font-variant-numeric: tabular-nums; }

.co-ship { display: grid; gap: 8px; }
.co-totals { display: grid; gap: 8px; margin: 0; }
.co-totals > div { display: flex; justify-content: space-between; gap: 16px; }
.co-totals dt { color: var(--ink-2); }
.co-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.co-totals__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-2); font-size: 1.25rem; }
.co-totals__total dt { color: var(--ink); font-weight: 600; }
.co-totals__total dd { font-weight: 700; }

/* Empty + confirmation */
.co-state {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-block: clamp(24px, 4vw, 48px) 0;
}
.co-state:focus { outline: none; }
.co-done { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 96px)); }
.co-done__no {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 2rem + 7vw, 8rem);
  line-height: .85;
  letter-spacing: -.01em;
  color: var(--paddy);
}
.co-done__grid {
  width: 100%;
  max-width: 760px;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--radius);
  background: var(--rice-2);
}
.co-done__cta { display: flex; flex-wrap: wrap; gap: 10px; }
