/* Online shop: the site's black-and-white, a little closer to a well-kept apothecary.
   An opening on black, the shipping terms, a menu that follows the reader, then products
   as studio product images, opened in a sheet for the details. */

.page-shop main > section, .page-shop .product-card { scroll-margin-top: calc(var(--nav-h) + 60px); }

/* ---- Cart in the top bar and the booking bar: a small count beside the word ---- */
.cart-pill { gap: 8px; cursor: pointer; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink-3); color: #fff; font-family: var(--serif-en); font-size: 12px; letter-spacing: 0; text-indent: 0; line-height: 1; }
.cart-count.has-items { background: var(--ink); }
.on-dark .cart-count.has-items, .btn-dark .cart-count.has-items { background: #fff; color: var(--ink); }
.cart-count.bump { animation: count-bump .5s var(--ease); }
@keyframes count-bump { 35% { transform: scale(1.35); } }
.dock .btn .cart-count { margin-left: 8px; }
button.btn { font: inherit; font-family: var(--mincho); }
/* Small phones: a bag mark and the count, so the salon name and the menu button still fit. */
.cart-pill::before { content: ''; display: none; flex: none; width: 17px; height: 17px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.5H6.2L5 8ZM9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.5H6.2L5 8ZM9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 400px) {
  .cart-pill { gap: 5px; padding: 0 9px; letter-spacing: 0; text-indent: 0; }
  .cart-pill::before { display: block; }
  .cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}





/* ---- Shop opening: the EASE bottles and balm share one white studio surface ---- */
.page-shop .shop-hero {
  padding: calc(var(--nav-h) + clamp(23px, 5.5vw, 67px)) 0 clamp(9px, 2.6vw, 34px);
  background: #fff;
  color: var(--ink);
}
.shop-hero h1 {
  color: inherit;
  font-size: clamp(26px, 4.1vw, 43px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .1em;
  text-align: center;
}
.shop-hero-composition {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(670px, 100%);
  aspect-ratio: 1.31;
  margin: clamp(18px, 3.4vw, 41px) auto 0;
  background: #fff;
}
.shop-hero-composition img {
  position: absolute;
  height: auto;
  mix-blend-mode: multiply;
}
.shop-hero-shampoo { top: -2%; left: -3%; width: 56%; }
.shop-hero-treatment { top: 2%; left: 20%; width: 54%; }
.shop-hero-balm { top: 44%; left: 52%; width: 38%; }

/* ---- Shipping terms: four quiet facts right under the opening ---- */
.shop-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0 max(var(--gutter), calc((100% - 1080px) / 2)); list-style: none; border-bottom: 1px solid var(--line); }
.shop-terms li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.shop-terms li:nth-child(odd) { padding-right: 12px; }
.shop-terms li:nth-last-child(-n + 2) { border-bottom: 0; }
.shop-terms b { color: var(--ink-3); font-size: 11.5px; font-weight: 500; letter-spacing: .24em; }
.shop-terms span { font-size: 14px; line-height: 1.7; letter-spacing: .06em; }
.shop-terms small { display: block; color: var(--ink-3); font-size: 11.5px; }
@media (min-width: 760px) {
  .shop-terms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shop-terms li { padding: 22px 16px 22px 0; border-bottom: 0; }
  .shop-terms li + li { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* ---- The shop's own menu: stays under the top bar, marks the section on screen ---- */
.shop-nav { position: sticky; top: var(--nav-h); z-index: 30; display: flex; gap: clamp(16px, 4vw, 32px); overflow-x: auto; padding: 0 max(var(--gutter), calc((100% - 1080px) / 2)); border-bottom: 1px solid var(--line); background: #fff; scrollbar-width: none; }
.shop-nav::-webkit-scrollbar { display: none; }
.shop-nav a { display: inline-flex; align-items: center; flex: none; min-height: 48px; border-bottom: 1px solid transparent; color: var(--ink-2); font-size: 13px; line-height: 1.7; letter-spacing: .12em; text-decoration: none; transition: color .3s ease, border-color .3s ease; }
.shop-nav a[aria-current] { border-color: var(--ink); color: var(--ink); }
@media (hover: hover) { .shop-nav a:not([aria-current]):hover { border-color: var(--ink-3); color: var(--ink); } }

.shop-section-lead { max-width: 560px; margin: 22px 0 0; color: var(--ink-2); font-size: 14px; line-height: 2.1; }
.shop-loading { margin: 40px 0 0; color: var(--ink-3); font-size: 14px; }

/* ---- Suggested sets: a row to swipe on phones, a 2 × 2 grid on larger screens ---- */
.set-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 14px; margin: 40px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.set-grid::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .set-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 48px 0 0; padding: 0; overflow: visible; } }
.set-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px 22px 22px; border: 1px solid var(--line); background: #fff; scroll-snap-align: start; }
.set-no { margin: 0; color: var(--ink-3); font-family: var(--serif-en); font-size: 30px; font-weight: 300; line-height: 1; letter-spacing: .06em; }
.set-card h3 { margin: 0; font-weight: 700; font-size: 16.5px; line-height: 1.7; letter-spacing: .1em; }
.set-card ul { margin: 0; padding: 0; list-style: none; }
.set-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dotted rgba(0, 0, 0, .16); font-size: 13.5px; line-height: 1.7; }
.set-card li button, .set-note button { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; letter-spacing: .04em; cursor: pointer; }
.set-card li span { flex: none; color: var(--ink-2); font-family: var(--serif-en); font-size: 15px; }
.set-note { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 2; }
.set-note button { margin-left: 6px; border-bottom: 1px solid var(--ink-3); font-size: 12.5px; }
.set-foot { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ink); }
.set-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; font-size: 13px; }
.set-total b { font-family: var(--serif-en); font-size: 24px; font-weight: 500; letter-spacing: .02em; }
.set-total small { color: var(--ink-3); font-size: 11px; }
.set-total em { margin-left: auto; padding: 1px 8px; border: 1px solid var(--ink); font-style: normal; font-size: 11px; letter-spacing: .12em; }
.set-add { min-height: 46px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--mincho); font-size: 13px; letter-spacing: .16em; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.set-add.is-added, .set-add:active { background: var(--ink); color: #fff; }
@media (hover: hover) { .set-add:hover { background: var(--ink); color: #fff; } }

/* ---- Product list ---- */
.shop-category-head .sec-title { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 16px; margin-top: 44px; }
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 28px; margin-top: 56px; } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Cards in a row share their height, so the add buttons line up even when one has a note. */
.product-card { display: grid; grid-template-rows: auto 1fr; gap: 16px; min-width: 0; }
.product-visual { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.product-body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto auto; align-content: start; gap: 6px; min-width: 0; }

/* Fixed image space keeps the card steady while the selected package image loads. */
.product-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.product-photo > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-photo-fallback { display: none; width: 100%; height: 100%; }
.product-photo.is-unavailable > img { display: none; }
.product-photo.is-unavailable > .product-photo-fallback { display: grid; place-items: center; }
.product-photo-fallback > .label-art { width: 100%; height: 100%; margin: 0; aspect-ratio: auto; border: 0; }
.product-photo.is-dark { border-color: rgba(255, 255, 255, .18); }

/* The printed label that stands in for a photograph. */
.label-art { position: relative; display: grid; align-content: center; justify-items: center; gap: 8px; aspect-ratio: 4 / 5; padding: 40px 12px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(110% 80% at 50% 0%, #fff 0%, var(--pearl-2) 72%); font-family: var(--mincho); font-variant-numeric: lining-nums; text-align: center; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.label-art.is-skin { background: radial-gradient(110% 80% at 50% 0%, #fff 0%, #ececea 72%); }
.label-art::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(0, 0, 0, .07); pointer-events: none; }
.la-no { position: absolute; top: 18px; left: 0; right: 0; color: var(--ink-3); font-family: var(--serif-en); font-size: 11px; letter-spacing: .32em; text-indent: .32em; }
.la-brand { color: var(--ink); font-family: var(--serif-en); font-style: italic; font-weight: 400; font-size: clamp(21px, 6vw, 30px); line-height: 1.1; letter-spacing: .1em; }
.la-rule { width: 22px; height: 1px; background: var(--ink-3); }
.la-name { padding: 0 4px; font-weight: 600; font-size: 11px; line-height: 1.75; letter-spacing: .04em; word-break: keep-all; overflow-wrap: anywhere; }
.la-size { position: absolute; bottom: 18px; left: 0; right: 0; color: var(--ink-3); font-family: var(--serif-en); font-size: 11.5px; letter-spacing: .24em; text-indent: .24em; }
@media (min-width: 760px) { .la-name { font-size: 12.5px; letter-spacing: .08em; } }
@media (hover: hover) { .product-visual:hover > .label-art, .product-visual:hover > .product-photo { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); } }
.product-visual:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.product-brand { margin: 0; color: var(--ink-3); font-family: var(--serif-en); font-size: 12px; line-height: 1.4; letter-spacing: .26em; }
/* Names break only where the script marked a word boundary (<wbr>), or anywhere if a word cannot fit. */
.page .product-name { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.6; letter-spacing: .06em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: wrap; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 0; }
.product-price b { font-family: var(--serif-en); font-size: 21px; font-weight: 500; letter-spacing: .02em; }
.product-price small { margin-left: -4px; color: var(--ink-3); font-size: 10.5px; letter-spacing: .1em; }
.product-price span { color: var(--ink-3); font-family: var(--serif-en); font-size: 12.5px; letter-spacing: .1em; }
.product-tagline { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.95; }
.product-note { margin: 2px 0 0; padding: 4px 9px; border-left: 2px solid var(--ink); background: rgba(255, 255, 255, .7); font-size: 11.5px; line-height: 1.8; }
.product-ship { margin: 4px 0 0; }
.ship-chip { display: inline-block; padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); font-family: var(--sans); font-size: 10.5px; line-height: 1.9; letter-spacing: .04em; }
.ship-chip.is-in_stock { border-color: var(--ink); color: var(--ink); }
.product-actions { display: grid; gap: 2px; margin-top: 8px; }
.product-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; white-space: nowrap; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-family: var(--mincho); font-size: 12.5px; letter-spacing: .14em; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.product-add::before { content: '+'; font-family: var(--serif-en); font-size: 17px; line-height: 1; }
.product-add.is-added { background: #fff; color: var(--ink); }
.product-add.is-added::before { content: '✓'; font-size: 13px; }
@media (hover: hover) { .product-add:not(.is-added):hover { background: #333; } }
/* Bottle or refill: two small segments; the chosen one is inked. */
.variant-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin: 4px 0 0; border: 1px solid var(--ink); }
.variant-pick button { display: grid; gap: 0; min-height: 44px; padding: 5px 6px; border: 0; background: transparent; color: var(--ink); font-family: var(--mincho); text-align: center; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.variant-pick button + button { border-left: 1px solid var(--ink); }
.variant-pick b { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; }
.variant-pick small { color: var(--ink-3); font-family: var(--serif-en); font-size: 11.5px; letter-spacing: .04em; line-height: 1.4; font-variant-numeric: lining-nums; }
.variant-pick [aria-checked="true"] { background: var(--ink); color: #fff; }
.variant-pick [aria-checked="true"] small { color: rgba(255, 255, 255, .7); }
/* How many: minus, the number, plus. */
.qty-pick { display: grid; grid-template-columns: 40px minmax(32px, 1fr) 40px; align-items: center; border: 1px solid var(--line); background: #fff; }
.qty-pick button { height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.qty-pick button:disabled { color: var(--sand); cursor: default; }
.qty-pick output { text-align: center; font-family: var(--serif-en); font-size: 17px; font-variant-numeric: lining-nums tabular-nums; }
.product-actions .qty-pick { margin-bottom: 4px; }
@media (min-width: 760px) {
  .product-actions { grid-template-columns: 124px minmax(0, 1fr); column-gap: 8px; }
  .product-actions .qty-pick { margin-bottom: 0; }
  .product-actions .product-more { grid-column: 1 / -1; }
}
.la-tag { padding: 1px 8px; border: 1px solid var(--ink-3); color: var(--ink-2); font-size: 10.5px; letter-spacing: .14em; }
.product-more { justify-self: start; min-height: 36px; padding: 0; border: 0; background: none; color: var(--ink-2); font-family: var(--mincho); font-size: 12.5px; letter-spacing: .14em; cursor: pointer; }
.product-more::after { content: '　→'; }
/* The smallest phones: one product per row, a smaller label beside the words. */
@media (max-width: 359px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .product-card { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: none; }
  .product-card .product-visual { align-self: start; }
  .product-card .label-art { gap: 6px; padding: 28px 6px; }
  .product-card .la-no { top: 10px; font-size: 10px; }
  .product-card .la-size { bottom: 10px; font-size: 10.5px; }
  .product-card .la-brand { font-size: 19px; }
  .product-card .product-add { gap: 6px; letter-spacing: .04em; }
  .ship-chip { border-radius: 10px; }
}

/* ---- Chrono Clock: a room of its own on black, sold in the salon only ---- */
.page main > section.shop-chrono { overflow: hidden; background: radial-gradient(80% 45% at 88% 0%, rgba(255, 255, 255, .08), transparent 70%), var(--night); color: #fff; }
.shop-chrono .eyebrow { color: var(--gold); }
.shop-chrono .sec-title { color: #fff; }
.shop-chrono .body-p { color: rgba(255, 255, 255, .78); }
.chrono-intro { max-width: 680px; }
.chrono-intro .body-p { margin-top: 28px; }
/* The series' name, large and faint, behind the heading. */
.chrono-mark { margin: -4px 0 12px; color: rgba(255, 255, 255, .13); font-family: var(--serif-en); font-style: italic; font-weight: 300; font-size: clamp(48px, 14vw, 112px); line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.chrono-badge { display: inline-flex; flex-wrap: wrap; margin: 8px 0 0; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .88); font-size: 12.5px; line-height: 1.7; letter-spacing: .16em; }
.chrono-badge span { color: rgba(255, 255, 255, .4); }

/* The routine at home: daily steps in order, then the weekly and the mixed-in care. */
.chrono-routine { margin-top: 56px; padding: 26px 22px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03); }
.chrono-routine h3 { margin: 0 0 18px; color: #fff; font-size: 15px; letter-spacing: .16em; }
.routine-rows { display: grid; gap: 18px; }
.routine-row { display: grid; gap: 8px; }
@media (min-width: 760px) { .routine-row { grid-template-columns: 9em minmax(0, 1fr); align-items: baseline; gap: 20px; } }
.routine-when { margin: 0; color: var(--gold); font-size: 12.5px; letter-spacing: .2em; }
.routine-steps { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.routine-steps li { counter-increment: step; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; font-size: 14px; line-height: 1.8; }
.routine-steps li::before { content: counter(step); color: var(--gold); font-family: var(--serif-en); font-size: 15px; }
.routine-steps.is-single li::before { content: none; }
.routine-steps li:not(:last-child)::after { content: '→'; margin: 0 12px 0 6px; color: rgba(255, 255, 255, .35); }
.routine-steps a { border-bottom: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; }
.routine-steps small { color: rgba(255, 255, 255, .5); font-size: 11.5px; }

/* Each item: a dark label and its words, two columns on wide screens. */
.chrono-items { display: grid; margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 900px) { .chrono-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.chrono-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 18px; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); scroll-margin-top: calc(var(--nav-h) + 70px); }
@media (min-width: 760px) { .chrono-item { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; } }
.label-art.is-dark { gap: 6px; padding: 26px 6px; border-color: rgba(255, 255, 255, .18); background: radial-gradient(110% 80% at 50% 0%, #2c2c2c 0%, var(--night-2) 75%); color: #fff; }
.label-art.is-dark::before { border-color: rgba(255, 255, 255, .1); }
.label-art.is-dark .la-no, .label-art.is-dark .la-size { color: rgba(255, 255, 255, .45); font-size: 10px; }
.label-art.is-dark .la-no { top: 10px; }
.label-art.is-dark .la-size { bottom: 10px; }
.label-art.is-dark .la-brand { color: #fff; font-size: clamp(17px, 4.6vw, 22px); }
.label-art.is-dark .la-rule { background: rgba(255, 255, 255, .4); }
.label-art.is-dark .la-name { font-size: 11px; }
.ci-body { display: grid; gap: 6px; min-width: 0; }
.ci-when { margin: 0; color: var(--gold); font-size: 11.5px; letter-spacing: .18em; }
.ci-body h4 { margin: 0; color: #fff; font-size: 16.5px; font-weight: 700; line-height: 1.7; letter-spacing: .1em; }
.ci-body p:not(.ci-when) { margin: 0; color: rgba(255, 255, 255, .74); font-size: 13.5px; line-height: 2; }
.ci-body p.ci-lead { color: #fff; font-size: 14.5px; letter-spacing: .08em; }
.ci-body p.ci-how { padding: 8px 12px; background: rgba(255, 255, 255, .05); font-size: 13px; }
/* The salon's word on each item, set apart by a thin rule and signed. */
.ci-body p.ci-salon { margin-top: 4px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .9); }
.ci-body p.ci-salon::after { content: '— 内飛'; display: block; margin-top: 2px; color: rgba(255, 255, 255, .45); font-size: 11.5px; letter-spacing: .2em; }
.ci-body p.ci-size { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; color: rgba(255, 255, 255, .55); font-family: var(--serif-en); font-size: 13px; letter-spacing: .1em; font-variant-numeric: lining-nums; }
.ci-size span { padding: 0 8px; border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .8); font-family: var(--mincho); font-size: 11px; letter-spacing: .1em; }

.chrono-cta { display: grid; justify-items: center; gap: 22px; margin-top: 56px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.chrono-cta p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 2.1; letter-spacing: .08em; }
.chrono-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chrono-cta .btn { min-height: 50px; padding: 0 26px; font-size: 13.5px; }
.chrono-cta .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }

/* The shopping guide (and the legal page): term and text between hairlines. */
.guide-list { margin: 40px 0 0; border-top: 1px solid var(--line); }
.guide-list > div { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .guide-list > div { grid-template-columns: 11em minmax(0, 1fr); gap: 24px; } }
.guide-list dt { font-weight: 700; font-size: 15px; line-height: 1.9; letter-spacing: .08em; }
.guide-list dd { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 2.1; }
.guide-list dd p { margin: 0; }
.guide-list dd p + p { margin-top: .75em; }

/* ---- Sheets: the cart, and one product in full ---- */
.cart-dialog, .product-dialog { width: 100%; max-width: 100%; height: auto; max-height: 90vh; max-height: 90svh; margin: auto 0 0; padding: 0; border: 0; background: var(--pearl); color: var(--ink); box-shadow: 0 -12px 40px rgba(0, 0, 0, .16); }
.cart-dialog::backdrop, .product-dialog::backdrop { background: rgba(10, 10, 10, .46); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.cart-dialog[open], .product-dialog[open] { animation: sheet-up .55s var(--ease); }
@keyframes sheet-up { from { transform: translateY(48px); opacity: 0; } }
@keyframes sheet-in { from { transform: translateX(48px); opacity: 0; } }
@media (min-width: 760px) {
  .cart-dialog { width: min(440px, 100%); height: 100%; max-height: 100%; margin: 0 0 0 auto; box-shadow: -12px 0 40px rgba(0, 0, 0, .16); }
  .cart-dialog[open] { animation-name: sheet-in; }
  .product-dialog { width: min(900px, calc(100% - 48px)); max-height: min(86vh, 720px); margin: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, .2); }
}

.cart-panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; max-height: inherit; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 17px; letter-spacing: .2em; }
.cart-head-count { color: var(--ink-3); font-family: var(--serif-en); font-size: 14px; letter-spacing: .1em; }
.cart-close, .ps-close { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.cart-lines { overflow-y: auto; padding: 0 22px; }
.cart-empty { margin: 28px 0; color: var(--ink-2); font-size: 14px; }
.cart-empty .text-link { margin-left: 10px; }
.cart-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "thumb main total" "thumb qty remove"; gap: 10px 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { display: grid; place-items: center; width: 44px; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(110% 80% at 50% 0%, #fff 0%, var(--pearl-2) 72%); font-family: var(--serif-en); font-style: italic; font-size: 10.5px; letter-spacing: .04em; }
.cart-thumb.is-skin { background: radial-gradient(110% 80% at 50% 0%, #fff 0%, #ececea 72%); }
.cart-thumb.product-photo { background: #fff; }
.cart-line .cart-thumb { grid-area: thumb; align-self: start; }
.cart-line-main { grid-area: main; min-width: 0; }
.cart-line-main b { display: block; font-size: 14.5px; line-height: 1.7; letter-spacing: .06em; }
.cart-line-main small { color: var(--ink-3); font-size: 12px; }
.cart-line-total { grid-area: total; justify-self: end; align-self: start; font-family: var(--serif-en); font-size: 17px; font-variant-numeric: lining-nums tabular-nums; }
.qty { grid-area: qty; display: inline-flex; align-items: center; justify-self: start; border: 1px solid var(--line); background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.qty button:disabled { color: var(--ink-3); cursor: default; }
.qty output { min-width: 32px; text-align: center; font-variant-numeric: lining-nums tabular-nums; font-size: 15px; }
.cart-remove { grid-area: remove; justify-self: end; border: 0; background: transparent; color: var(--ink-3); font: inherit; font-size: 12.5px; letter-spacing: .14em; text-decoration: underline; cursor: pointer; }
.cart-foot { display: grid; gap: 12px; padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--pearl); }
.cart-totals, .summary-totals { margin: 0; }
.cart-totals > div, .summary-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; line-height: 1.9; }
.cart-totals dd, .summary-totals dd { margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.cart-totals .is-total, .summary-totals .is-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; font-size: 16px; }
.cart-totals .is-total dd, .summary-totals .is-total dd { font-family: var(--serif-en); font-size: 21px; font-weight: 500; }
/* How far the cart is from free shipping, as a thin line that fills. */
.free-meter { height: 2px; overflow: hidden; background: var(--line); }
.free-meter i { display: block; width: calc(var(--f, 0) * 100%); height: 100%; background: var(--ink); transition: width .6s var(--ease); }
.free-note { margin: 0; color: var(--ink-2); font-size: 13px; }
.free-note.is-free { color: var(--ink); }
.cart-ship, .summary-ship { margin: 0; color: var(--ink-3); font-family: var(--sans); font-size: 11.5px; line-height: 1.8; letter-spacing: .04em; }
.cart-checkout { width: 100%; min-height: 52px; }
.cart-continue { justify-self: center; border: 0; background: transparent; padding: 4px 0; cursor: pointer; font-family: var(--mincho); }

/* One product in full: label and words side by side on larger screens; the add button stays in reach. */
.product-sheet { position: relative; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.ps-close { position: sticky; top: 8px; z-index: 2; display: block; margin: 8px 8px -48px auto; border-radius: 50%; background: #fff; }
.ps-visual { padding: 24px 22px 0; }
.label-art.is-large { aspect-ratio: 4 / 3; max-height: 38vh; max-height: 38svh; margin: 0 auto; }
.product-photo.is-large { width: min(100%, 30.4vh); width: min(100%, 30.4svh); margin: 0 auto; }
.product-photo-fallback > .label-art.is-large { max-height: none; aspect-ratio: auto; }
.label-art.is-large .la-brand { font-size: clamp(30px, 8vw, 46px); }
.label-art.is-large .la-name { font-size: 14px; }
.ps-body { display: grid; gap: 8px; padding: 22px 22px 8px; }
.ps-name { margin: 0; font-weight: 700; font-size: clamp(20px, 5.4vw, 26px); line-height: 1.6; letter-spacing: .08em; word-break: keep-all; overflow-wrap: anywhere; }
.ps-tagline { margin: 4px 0 0; font-size: 15px; line-height: 2; }
.ps-body h3 { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12px; font-weight: 500; letter-spacing: .24em; }
.ps-body p { margin: 0; }
.ps-body h3 + p { color: var(--ink-2); font-size: 14px; line-height: 2.1; }
/* The longer description: lists with a short rule, numbered steps, and the salon's word set apart. */
.ps-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ps-list li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 14px; line-height: 1.95; }
ul.ps-list li::before { content: ''; position: absolute; left: 0; top: .95em; width: 10px; height: 1px; background: var(--ink); }
ol.ps-list li { counter-increment: step; padding-left: 28px; }
ol.ps-list li::before { content: counter(step); position: absolute; left: 0; top: 0; color: var(--ink-3); font-family: var(--serif-en); font-size: 17px; line-height: 1.7; }
.ps-salon { margin: 18px 0 0; padding: 18px 20px; border-left: 2px solid var(--ink); background: #fff; }
.ps-salon blockquote { margin: 0; font-size: 14.5px; line-height: 2.05; letter-spacing: .06em; }
.ps-salon figcaption { margin-top: 8px; color: var(--ink-3); font-size: 12px; letter-spacing: .24em; }
.ps-salon figcaption::before { content: '— '; }
.ps-body .variant-pick { margin-top: 10px; }
.ps-body .ps-refill { padding: 10px 14px; border: 1px dashed rgba(0, 0, 0, .25); color: var(--ink-2); font-size: 13px; line-height: 1.9; }
.ps-buy { position: sticky; bottom: 0; display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; gap: 8px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.product-add.is-wide { min-height: 52px; font-size: 13.5px; }
.ps-cart { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--mincho); font-size: 12.5px; letter-spacing: .1em; cursor: pointer; }
.ps-buy .qty-pick { min-height: 52px; }
.ps-buy .qty-pick button { height: 50px; }
/* Phones: the cart button shrinks to a bag and the count, so the add button keeps its words. */
.ps-cart::before { content: ''; display: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.5H6.2L5 8ZM9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.5H6.2L5 8ZM9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 759px) {
  .ps-buy { grid-template-columns: 112px minmax(0, 1fr) auto; }
  .ps-cart { gap: 5px; padding: 0 10px; }
  .ps-cart::before { display: block; }
  .ps-cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 760px) {
  .product-sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "close close" "visual body" "visual buy"; grid-template-rows: auto 1fr auto; }
  .ps-close { grid-area: close; position: absolute; top: 12px; right: 12px; margin: 0; }
  .ps-visual { grid-area: visual; align-self: start; position: sticky; top: 0; padding: 40px 0 40px 40px; }
  .label-art.is-large { aspect-ratio: 4 / 5; max-height: none; }
  .product-photo.is-large { width: 100%; }
  .ps-body { grid-area: body; padding: 48px 40px 8px; }
  .ps-buy { grid-area: buy; padding: 16px 40px 24px; border-top: 0; }
}

.shop-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.7; letter-spacing: .06em; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease); }
.shop-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .shop-toast { bottom: 32px; } }

/* ---- Checkout ---- */
.checkout-hero { padding-bottom: 32px; }
.page main > section.checkout { padding-top: 24px; border-top: 0; }
.checkout-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: start; } .order-summary { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--nav-h) + 24px); } .checkout-form { grid-column: 1; grid-row: 1; } }
.order-summary { padding: 24px 22px; border: 1px solid var(--line); background: #fff; }
.order-summary h2 { margin: 0 0 12px; font-size: 16px; letter-spacing: .16em; }
.summary-lines { margin: 0 0 12px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.summary-lines li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.summary-lines .cart-thumb { width: 40px; font-size: 9.5px; }
.summary-lines small { display: block; color: var(--ink-3); font-size: 12px; }
.summary-lines b { font-weight: 500; font-family: var(--serif-en); font-size: 16px; font-variant-numeric: lining-nums tabular-nums; }
.summary-ship { margin-top: 10px; }
.summary-edit { margin-top: 14px; border: 0; background: transparent; padding: 0 0 4px; cursor: pointer; font-family: var(--mincho); font-size: 13px; }
.checkout-form fieldset { margin: 0 0 36px; padding: 0; border: 0; }
.checkout-form legend { margin-bottom: 18px; padding: 0; font-weight: 700; font-size: 17px; letter-spacing: .14em; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13.5px; letter-spacing: .1em; }
.field label small { color: var(--ink-3); }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .22); border-radius: 2px; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; letter-spacing: .02em; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
@media (min-width: 560px) { .field-short { max-width: 260px; } }
.field-help { margin: 0; color: var(--ink-3); font-family: var(--sans); font-size: 12px; line-height: 1.8; letter-spacing: .03em; }
.field-error, .form-error { margin: 0; color: #b3261e; font-family: var(--sans); font-size: 12.5px; line-height: 1.8; }
.field-error:empty, .form-error:empty { display: none; }
.card-box { min-height: 90px; margin-bottom: 10px; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; font-size: 13.5px; line-height: 1.9; cursor: pointer; }
.agree input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.agree a { color: var(--ink); }
.form-error { margin-bottom: 14px; }
.checkout-submit { width: 100%; min-height: 56px; }
.checkout-submit:disabled { background: var(--ink-3); cursor: default; }
.checkout-note { margin-top: 12px; }

/* Two steps: the address, then a confirm screen with the payment. */
.checkout-step:focus { outline: none; }
.checkout-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: none; }
.checkout-steps li { display: flex; gap: 8px; align-items: center; padding: 10px 0 8px; border-bottom: 2px solid var(--line); color: var(--ink-3); font-size: 13px; letter-spacing: .1em; }
.checkout-steps li b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: #fff; font-family: var(--serif-en); font-size: 13px; font-weight: 500; }
.checkout-steps li.is-current { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.checkout-steps li.is-current b { background: var(--ink); }
.confirm-block { margin: 0 0 28px; padding: 20px 18px; border: 1px solid var(--line); background: #fff; }
.confirm-title { margin: 0 0 8px; font-size: 16px; letter-spacing: .14em; }
.confirm-list { margin: 12px 0 14px; }
.confirm-list > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.confirm-list dt { color: var(--ink-3); font-size: 12.5px; }
.confirm-list dd { margin: 0; overflow-wrap: anywhere; }
.confirm-block .text-link { border: 0; background: transparent; padding: 0 0 4px; cursor: pointer; font-family: var(--mincho); font-size: 13px; }
.confirm-terms { margin: 8px 0 0; padding-left: 1.2em; font-family: var(--sans); font-size: 13px; line-height: 1.9; }
.confirm-terms a { color: var(--ink); }

.page main > section.order-done { padding-top: calc(var(--nav-h) + 72px); border-top: 0; }
.order-done:focus { outline: none; }
.done-title { margin: 0; font-weight: 700; font-size: clamp(22px, 5.2vw, 34px); line-height: 1.8; letter-spacing: .1em; }
.done-code { margin: 24px 0 32px; font-size: 15px; letter-spacing: .1em; }
.done-code b { font-family: var(--serif-en); font-size: 24px; letter-spacing: .14em; }
.done-actions { display: grid; gap: 10px; margin-top: 32px; }
@media (min-width: 560px) { .done-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ---- Controls: one type scale (buttons do not take the page's font by themselves) ----
   Inside a card 12.5px; the sheet, cart, sets and checkout 14px; numbers always lining. */
.page-shop button { font-family: var(--mincho); font-variant-numeric: lining-nums tabular-nums; }
.cart-count { font-family: var(--mincho); font-size: 11.5px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.variant-pick button { font-size: 12.5px; }
.page-shop .set-add, .page-shop .product-add.is-wide, .page-shop .cart-checkout, .page-shop .checkout-submit, .page-shop .done-actions .btn { font-size: 14px; font-weight: 500; letter-spacing: .18em; text-indent: .18em; }
.page-shop .ps-cart { font-size: 13px; }
.page-shop .qty-pick button, .page-shop .qty button { font-family: var(--sans); font-weight: 300; font-size: 20px; line-height: 1; }
.page-shop .cart-close, .page-shop .ps-close { font-family: var(--sans); font-weight: 300; }
.set-card li button { word-break: keep-all; overflow-wrap: anywhere; }
.chrono-cta .btn { font-size: 14px; }
.page-shop .cart-continue { font-size: 13px; }

/* ---- Product sheet: the full ingredients and the cautions, folded until opened ---- */
.ps-more { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ps-more + .ps-more { margin-top: 0; border-top: 0; }
.ps-more summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-size: 14px; font-weight: 600; letter-spacing: .12em; cursor: pointer; list-style: none; }
.ps-more summary::-webkit-details-marker { display: none; }
.ps-more summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 20px; line-height: 1; }
.ps-more[open] summary::after { content: '−'; }
.ps-ingredients, .ps-cautions { margin: 0 0 16px; color: var(--ink-2); font-family: var(--sans); font-size: 12.5px; line-height: 1.9; letter-spacing: .02em; }
.ps-cautions { padding-left: 1.2em; }

/* ---- Checkout: the note, then Apple Pay / Google Pay above the card form ---- */
.field textarea { width: 100%; min-height: 96px; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .22); border-radius: 2px; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; letter-spacing: .02em; resize: vertical; }
.field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.field textarea[aria-invalid="true"] { border-color: #b3261e; }
.wallets { display: grid; gap: 10px; margin-bottom: 18px; }
.wallets[hidden], .wallets [hidden] { display: none; }
.apple-pay-button { display: block; width: 100%; height: 48px; border: 0; border-radius: 4px; cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: buy; -apple-pay-button-style: black; }
.google-pay-button { min-height: 48px; }
.wallets-or { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; color: var(--ink-3); font-size: 12.5px; letter-spacing: .14em; }
.wallets-or::before, .wallets-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---- Sold out: the chip says so, and the add button becomes a quiet link for the restock notice ---- */
.ship-chip.is-sold-out { border-color: var(--ink); background: var(--ink); color: #fff; }
.product-notify { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--mincho); font-size: 12.5px; line-height: 1.5; letter-spacing: .04em; text-align: center; text-decoration: none; word-break: keep-all; overflow-wrap: anywhere; }
@media (hover: hover) { .product-notify:hover { background: var(--ink); color: #fff; } }
.ps-buy .product-notify.is-wide { grid-column: span 2; min-height: 52px; font-size: 14px; }
