/* shop.css — cart and shop catalog. Shared header cart lives in styles.css. */
body:has(.shop-page){
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--page-canvas);
}
.shop-page{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-top: var(--site-header-offset);
  background: var(--page-canvas);
}
.shop-hero{
  width: var(--content-rail-width);
  margin: 0 auto;
  padding: clamp(0.85rem, 1.6vw, 1.25rem) 0 0.55rem;
}
.shop-hero .label{
  display: inline-block;
  margin-bottom: 0.55rem;
}
.shop-hero h1{
  margin: 0;
  color: var(--ink);
  font-family: var(--font-glacial);
  font-size: clamp(2.15rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.shop-hero__note{
  max-width: 36rem;
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.shop-ship{
  display: grid;
  gap: 1rem 1.6rem;
  margin: 1.15rem 0 0;
  padding: 1.15rem 1.2rem 1.2rem 1.15rem;
  border: 0;
  border-left: 3px solid var(--copper, #985a20);
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--copper, #985a20) 9%, var(--page-canvas, #f6efe5));
}
.shop-ship__copy .label{
  display: block;
  margin-bottom: 0.35rem;
}
.shop-ship__title{
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-family: var(--font-glacial);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.shop-ship__body,
.shop-ship p{
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.shop-ship__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}
.shop-buy .button[data-shop-region-hint]{
  border-color: #8a8680;
  background: #8a8680;
  color: #fff;
}
.shop-buy .button[data-shop-region-hint]:hover:not(:active),
.shop-buy .button[data-shop-region-hint]:focus-visible{
  transform: none;
  border-color: #7a766e;
  background: #7a766e;
  color: #fff;
}
@media (min-width: 860px){
  .shop-ship{
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .shop-ship__actions{
    margin-top: 0;
    justify-content: end;
  }
}
.shop-ship,
.shop-cart__notice--fail{
  scroll-margin-top: calc(var(--site-header-offset) + 0.8rem);
}
.shop-ship.is-hinting,
.shop-cart__notice--fail.is-hinting{
  outline: 2px solid var(--copper, #985a20);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--copper, #985a20) 22%, transparent);
}
@media (prefers-reduced-motion: no-preference){
  .shop-ship.is-hinting,
  .shop-cart__notice--fail.is-hinting{
    animation: shop-region-hint 1.15s ease;
  }
}
@keyframes shop-region-hint{
  0%{ box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper, #985a20) 0%, transparent); }
  40%{ box-shadow: 0 0 0 8px color-mix(in srgb, var(--copper, #985a20) 28%, transparent); }
  100%{ box-shadow: 0 0 0 6px color-mix(in srgb, var(--copper, #985a20) 22%, transparent); }
}
.shop-layout,
.shop-catalog{
  flex: 1 1 auto;
  width: var(--content-rail-width);
  margin: 0 auto;
  padding: 1rem 0 clamp(3.2rem, 5vw, 4.4rem);
}
.shop-catalog{
  padding-top: 0;
}
.shop-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.38fr);
  grid-template-rows: minmax(22rem, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: stretch;
}
.shop-layout:has(> .shop-cart__notice){
  grid-template-rows: auto minmax(22rem, 1fr);
}
.shop-layout:has(> .shop-cart__notice) > .shop-cart__notice{
  grid-row: 1;
}
.shop-layout:has(> .shop-cart__notice) > .shop-cart__lines,
.shop-layout:has(> .shop-cart__notice) > .shop-cart__empty,
.shop-layout:has(> .shop-cart__notice) > .shop-cart__summary{
  grid-row: 2;
}
.shop-page.is-cart-confirm{
  justify-content: center;
}
.shop-page.is-cart-confirm .shop-layout{
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  grid-template-rows: none;
  flex: 0 0 auto;
  padding-top: 0.35rem;
  padding-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}
.shop-page.is-cart-empty .shop-layout,
.shop-page.is-cart-empty .shop-layout:has(> .shop-cart__notice){
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  grid-template-rows: none;
}
.shop-page.is-cart-empty .shop-layout:has(> .shop-cart__notice) > .shop-cart__empty{
  grid-row: auto;
}
.shop-cart__lines{
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 22rem;
  border: 1px solid var(--card-line);
  border-radius: var(--cta-frame-radius, 1.15rem);
  background: var(--card-surface);
  overflow: hidden;
}
.shop-cart__line{
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 1.1rem;
}
.shop-cart__line + .shop-cart__line,
.shop-cart__batch + .shop-cart__line,
.shop-cart__batch + .shop-cart__batch,
.shop-cart__line + .shop-cart__batch{
  border-top: 1px solid var(--card-line);
}
.shop-cart__batch{
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
}
.shop-cart__batch-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.shop-cart__batch-label{
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shop-cart__batch-head .shop-cart__price{
  margin-top: 0.2rem;
}
.shop-cart__scents{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.shop-cart__scent{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}
.shop-cart__scent-copy{
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.shop-cart__scent-copy img{
  width: 3.4rem;
  height: 2.15rem;
  object-fit: cover;
  border-radius: 0.4rem;
  background: var(--media-frame-surface);
}
.shop-cart__scent-name{
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
}
.shop-cart__scent-note{
  margin: 0.1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.shop-cart__scent-add{
  display: grid;
  gap: 0.4rem;
}
.shop-cart__scent-add p{
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.shop-cart__scent-add-list{
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.shop-cart__scent-chip{
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0.28rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
}
.shop-cart__media{
  position: relative;
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--media-frame-surface);
}
.shop-cart__media img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-card__media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-cart__media--mark{
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--copper, #985a20) 14%, var(--media-frame-surface)),
      var(--media-frame-surface)
    );
}
.shop-cart__mark{
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--copper, #985a20);
}
.shop-cart__detail a{
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
}
.shop-cart__price,
.shop-card__price{
  margin: 0.28rem 0 0;
}
.shop-cart__qty{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.shop-cart__remove{
  flex-shrink: 0;
  width: auto;
  border: 0;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.shop-cart__addon-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem 0.85rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-line);
}
.shop-cart__addon-name{
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
}
.shop-cart__addon-meta{
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.shop-cart__addon-row .shop-qty button,
.shop-cart__addon-row .shop-qty input{
  min-height: 2rem;
  width: 2rem;
}
.shop-cart__summary{
  position: sticky;
  top: calc(var(--site-header-offset) + 1rem);
  align-self: start;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--card-line);
  border-radius: var(--cta-frame-radius, 1.15rem);
  background: var(--card-surface);
}
.shop-cart__totals{
  margin-bottom: 0.9rem;
}
.shop-cart__total-row,
.shop-cart__subtotal{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.shop-cart__totals .shop-cart__total-row[hidden],
.shop-cart__pricing-note[hidden]{
  display: none;
}
.shop-cart__total-row{
  padding: 0.28rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.shop-cart__total-row strong{
  color: inherit;
  font-weight: 400;
}
.shop-cart__total-row--saving{
  color: var(--copper, #985a20);
}
.shop-cart__subtotal{
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-line);
  font-size: 1.02rem;
}
.shop-cart__subtotal strong{
  color: var(--ink);
  font-family: var(--font-glacial);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.shop-cart__pricing-note{
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}
.shop-cart__notice{
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}
.shop-cart__notice--muted{
  color: var(--ink-soft);
}
.shop-cart__notice--fail{
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--copper, #985a20) 42%, var(--card-line));
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--copper, #985a20) 12%, var(--card-surface));
  color: var(--ink);
}
.shop-cart__notice--fail strong{
  display: block;
  margin: 0 0 0.22rem;
  color: var(--copper, #985a20);
  font-family: var(--font-glacial);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.shop-cart__summary > .shop-cart__notice{
  grid-column: auto;
}
.shop-page.is-cart-empty .shop-hero{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-page.is-cart-empty .shop-layout,
.shop-page.is-cart-empty .shop-layout:has(> .shop-cart__notice){
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 22rem;
}
.shop-cart__empty{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(34rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.85rem) clamp(1.4rem, 3.5vw, 2.4rem) 2.1rem;
  border: 1px solid var(--card-line);
  border-radius: var(--cta-frame-radius, 1.15rem);
  background: var(--card-surface);
  text-align: center;
  animation: shop-confirm-settle 640ms ease both;
}
.shop-cart__empty-mark{
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 0 1.05rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--copper, #985a20) 12%, var(--card-surface));
  color: var(--copper, #985a20);
}
.shop-cart__empty-mark svg{
  display: block;
}
.shop-cart__empty h2{
  max-width: none;
  margin: 0 0 0.45rem;
  font-family: var(--font-glacial);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.shop-cart__empty p{
  margin: 0 auto;
  max-width: 28ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}
.shop-cart__empty .page-actions{
  justify-content: center;
  margin: 1.45rem 0 0;
}
.shop-page.is-cart-empty .shop-cart__notice{
  margin: 0;
  text-align: center;
}
.shop-hero--confirm{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 1.15rem;
}
.shop-hero--confirm .shop-cart__ok{
  margin: 0 0 0.85rem;
  animation: shop-confirm-mark 700ms ease both;
}
.shop-hero--confirm .label{
  margin-bottom: 0.4rem;
}
.shop-hero--confirm h1{
  max-width: none;
  font-size: clamp(1.55rem, 4.2vw, 2.85rem);
  white-space: nowrap;
  text-wrap: nowrap;
}
.shop-cart__confirm{
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 20rem);
  grid-template-rows: auto auto;
  align-content: start;
  align-items: start;
  gap: 0.85rem 3.25rem;
  min-height: 0;
  padding: clamp(1.35rem, 2.2vw, 1.75rem) clamp(1.5rem, 2.6vw, 2.2rem) 1.45rem;
  border: 1px solid var(--card-line);
  border-radius: var(--cta-frame-radius, 1.15rem);
  background: var(--card-surface);
}
.shop-cart__ok{
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  color: var(--copper);
}
.shop-cart__ok svg{
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.shop-cart__ok-disc{
  fill: color-mix(in srgb, var(--copper) 14%, var(--card-surface));
  stroke: none;
}
.shop-cart__ok-ring,
.shop-cart__ok-check{
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shop-cart__ok-ring{
  stroke-width: 2.15;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: shop-confirm-ring 720ms ease forwards;
}
.shop-cart__ok-check{
  stroke-width: 2.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: shop-confirm-check 420ms ease 420ms forwards;
}
.shop-page.is-cart-confirm .shop-hero,
.shop-cart__confirm{
  animation: shop-confirm-settle 640ms ease both;
}
.shop-cart__confirm-lead,
.shop-cart__confirm-note{
  grid-column: 1 / -1;
}
.shop-cart__confirm-intro{
  grid-column: 1 / -1;
  margin: 0;
  max-width: none;
  text-align: center;
}
.shop-cart__ok--wait .shop-cart__ok-ring{
  transform-origin: 24px 24px;
  stroke-dasharray: 0.18 0.22;
  stroke-dashoffset: 0;
  animation: shop-confirm-spin 1.1s linear infinite;
}
.shop-cart__confirm-lead{
  margin: 0;
  max-width: none;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: unset;
  white-space: nowrap;
  animation: shop-confirm-rise 560ms ease 180ms both;
}
.shop-cart__confirm-email{
  margin: 0.35rem 0 0;
  color: var(--copper);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.shop-cart__mail{
  color: inherit;
  font-weight: inherit;
}
.shop-cart__confirm-note{
  margin: 0.55rem 0 0;
  max-width: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}
.shop-cart__test{
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
}
.shop-cart__confirm-main,
.shop-cart__confirm-side{
  min-width: 0;
}
.shop-cart__confirm-side{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  align-self: stretch;
  padding-left: clamp(1.15rem, 2.4vw, 1.85rem);
  border-left: 1px solid var(--card-line);
}
.shop-cart__confirm .page-actions{
  display: flex;
  justify-content: stretch;
  margin-top: auto;
}
.shop-cart__confirm-side .page-actions .button{
  width: 100%;
  justify-content: center;
  text-align: center;
}
.shop-cart__confirm-side .shop-cart__test{
  margin: 0;
  text-align: left;
  line-height: 1.45;
}
.shop-cart__deliver{
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--card-line);
  border-radius: calc(var(--cta-frame-radius, 1.15rem) - 0.35rem);
  background: color-mix(in srgb, var(--page-canvas) 72%, var(--card-surface));
  text-align: left;
}
.shop-cart__deliver h2{
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shop-cart__deliver-lines{
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.5;
  white-space: pre-line;
}
.shop-cart__deliver-phone{
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--card-line);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.shop-cart__confirm-total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.85rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--card-line);
  font-size: 1.02rem;
}
.shop-cart__confirm-total strong{
  color: var(--ink);
  font-family: var(--font-glacial);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
@keyframes shop-confirm-mark{
  from{
    opacity: 0;
    transform: scale(0.84);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shop-confirm-settle{
  from{
    opacity: 0;
    transform: translateY(0.45rem);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shop-confirm-ring{
  to{
    stroke-dashoffset: 0;
  }
}
@keyframes shop-confirm-check{
  to{
    stroke-dashoffset: 0;
  }
}
@keyframes shop-confirm-rise{
  from{
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shop-confirm-spin{
  to{
    transform: rotate(360deg);
  }
}
.shop-cart__confirm .shop-cart__lines{
  min-height: 0;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.shop-cart__confirm .shop-cart__line{
  grid-template-columns: minmax(0, 1fr);
  padding: 0.7rem 0;
}
.shop-cart__confirm .shop-cart__detail{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}
.shop-cart__item{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.shop-cart__item-name{
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}
.shop-cart__item-qty{
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.shop-cart__item-total{
  flex-shrink: 0;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.shop-cart__meta{
  margin: 1.15rem 0 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--card-line);
}
.shop-cart__meta + .shop-cart__meta{
  margin-top: 0.85rem;
  padding-top: 0;
  border-top: 0;
}
.shop-cart__meta h2{
  margin: 0 0 0.28rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shop-cart__meta p{
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  white-space: pre-line;
}
.shop-group + .shop-group{
  margin-top: clamp(2.4rem, 4vw, 3.5rem);
}
.shop-group__intro h2{
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}
.shop-group--pending .shop-group__intro{
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--card-line);
  border-radius: var(--cta-frame-radius, 1.15rem);
  background: var(--card-surface);
}
.shop-group--pending p{
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}
.shop-product__mark{
  display: grid;
  place-items: center;
  min-height: 16rem;
  padding: 1.4rem;
  color: var(--copper, #985a20);
  font-family: var(--font-glacial);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}
.shop-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1.15rem;
}
.shop-card{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-line);
  border-radius: var(--cta-frame-radius, 1.15rem);
  background: var(--card-surface);
  overflow: hidden;
}
.shop-card__media{
  aspect-ratio: 8 / 5;
  background: var(--media-frame-surface);
}
.shop-card__copy{
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.15rem;
}
.shop-card__copy h3{
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}
.shop-card__copy h3 a{
  color: var(--ink);
  text-decoration: none;
}
.shop-card__copy .button{
  margin-top: 0.35rem;
  width: fit-content;
}
.shop-boost{
  margin: 0;
  scroll-margin-top: calc(var(--site-header-offset) + 0.85rem);
}
.shop-catalog__list{
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.shop-catalog__list .shop-product{
  margin: 0;
  grid-template-columns: 22rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  padding: 0.65rem;
}
.shop-catalog__list .shop-product__visual{
  align-self: start;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
}
.shop-catalog__list .shop-product__visual img,
.shop-catalog__list .shop-product__mark{
  min-height: 0;
  aspect-ratio: auto;
  height: 100%;
}
#shop-ewot .shop-product__visual img{
  object-position: 53% 48%;
}
#shop-session .shop-product__visual img{
  object-position: 50% 42%;
}
#shop-poc .shop-product__visual img{
  object-position: 50% 58%;
}
#shop-topup .shop-product__visual img{
  object-position: 72% 52%;
}
.shop-catalog__list .shop-product__copy{
  justify-content: center;
  padding: 0.15rem 0.4rem 0.2rem 0;
}
.shop-catalog__list .shop-product__copy h2{
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.28rem, 1.9vw, 1.55rem);
}
.shop-catalog__list .shop-product__copy p.shop-product__lead{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 36rem;
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}
.shop-catalog__list .shop-product__actions{
  flex-wrap: nowrap;
  margin-top: 0;
}
.shop-product__copy .label{
  white-space: nowrap;
}
.shop-product__copy h2{
  margin: 0.35rem 0 0.55rem;
  max-width: none;
  color: var(--ink);
  font-family: var(--font-glacial);
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-wrap: nowrap;
}
.shop-product__copy p{
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.shop-product{
  display: grid;
  grid-template-columns: 22rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  padding: 0.65rem;
  border: 1px solid var(--card-line);
  border-radius: var(--cta-frame-radius, 1.15rem);
  background: var(--card-surface);
  scroll-margin-top: calc(var(--site-header-offset) + 0.85rem);
}
.shop-product__visual{
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--cta-frame-radius, 1.15rem) - 0.35rem);
  background: var(--media-frame-surface);
}
.shop-product__visual img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: opacity 180ms ease;
}
.shop-product__copy{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.2rem 0.35rem 0.35rem 0;
}
.shop-boost .shop-product__copy{
  min-height: 0;
  gap: 0;
}
.shop-boost .shop-product__copy h2{
  margin: 0.12rem 0 0;
  min-height: 1.18em;
}
.shop-boost__variant,
.shop-poc__variant{
  display: none;
}
.shop-boost__size-label,
.shop-boost__scent-label,
.shop-poc__option-label{
  margin: 0.85rem 0 0.4rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shop-boost__scent-label{
  margin-top: 1rem;
}
.shop-boost__sizes{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
  max-width: 14rem;
}
.shop-boost__size{
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 2rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--card-line);
  border-radius: 0.72rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  font: inherit;
}
.shop-boost__size span{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.shop-boost__size:hover{
  border-color: var(--copper, #985a20);
  background: color-mix(in srgb, var(--page-canvas) 72%, white);
}
.shop-boost__size.is-active{
  border-color: var(--copper, #985a20);
  background: color-mix(in srgb, var(--page-canvas) 72%, white);
  box-shadow: inset 0 0 0 1px var(--copper, #985a20);
}
.shop-boost__scents{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  width: 100%;
}
@media (min-width: 1180px){
  .shop-boost__scents{
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
.shop-boost__scent{
  --shop-boost-scent: var(--ink);
  display: grid;
  grid-template-columns: 0.32rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.38rem;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 2.2rem;
  padding: 0.22rem 0.32rem 0.22rem 0.28rem;
  border: 1px solid var(--card-line);
  border-radius: 0.72rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.shop-boost__scent[data-boost-scent="calm"]{ --shop-boost-scent: #7a6b9a; }
.shop-boost__scent[data-boost-scent="sport"]{ --shop-boost-scent: #d4783a; }
.shop-boost__scent[data-boost-scent="focus"]{ --shop-boost-scent: #3f6b4d; }
.shop-boost__scent[data-boost-scent="revive"]{ --shop-boost-scent: #3a7fb0; }
.shop-boost__scent[data-boost-scent="breathe"]{ --shop-boost-scent: #2f8f8a; }
.shop-boost__scent[data-boost-scent="balance"]{ --shop-boost-scent: #d48aa0; }
.shop-boost__scent[data-boost-scent="natural"]{ --shop-boost-scent: #d7d4cc; }
.shop-boost__scent::before{
  align-self: stretch;
  min-height: 1.15rem;
  content: "";
  border-radius: 999px;
  background: var(--shop-boost-scent);
}
.shop-boost__scent[data-boost-scent="natural"]::before{
  box-shadow: inset 0 0 0 1px rgb(24 21 18 / 22%);
}
.shop-boost__scent span{
  grid-column: 2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.shop-boost__scent small{
  display: none;
}
.shop-boost__scent:hover{
  border-color: var(--shop-boost-scent);
  background: color-mix(in srgb, var(--page-canvas) 72%, white);
}
.shop-boost__scent.is-active{
  border-color: var(--shop-boost-scent);
  background: color-mix(in srgb, var(--page-canvas) 72%, white);
  box-shadow: inset 0 0 0 1px var(--shop-boost-scent);
}
.shop-boost__scent[data-boost-scent="natural"]:hover,
.shop-boost__scent[data-boost-scent="natural"].is-active{
  border-color: #8a857c;
  box-shadow: inset 0 0 0 1px #8a857c;
}
.shop-poc{
  margin: 0;
  scroll-margin-top: calc(var(--site-header-offset) + 0.85rem);
}
.shop-poc .shop-product__copy h2{
  margin: 0.12rem 0 0;
  min-height: 1.18em;
}
.shop-poc__addon{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.85rem;
  width: 100%;
  max-width: 22rem;
  margin-top: 0.95rem;
}
.shop-poc__addon-label{
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shop-poc__addon-meta{
  grid-column: 1;
  grid-row: 2;
  margin: 0.28rem 0 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.shop-poc__addon [data-shop-qty]{
  grid-column: 2;
  grid-row: 1 / span 2;
}
.shop-poc__addon .shop-qty button,
.shop-poc__addon .shop-qty input{
  min-height: 2rem;
  width: 2rem;
}
.shop-product__copy .shop-product__price,
.shop-product__copy .shop-boost__price,
.shop-product__copy .shop-poc__price{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28rem 0.5rem;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-glacial);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.shop-product__copy .shop-boost__price{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
  align-content: start;
  gap: 0.18rem;
  height: 4.15rem;
}
.shop-price__count{
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-family: var(--font-glacial);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.shop-price__amount{
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.shop-price__amount strong{
  font-size: clamp(1.48rem, 2vw, 1.8rem);
}
.shop-price__was{
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: line-through;
}
.shop-price__meta{
  color: var(--copper, #985a20);
  font-family: var(--font-glacial);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  white-space: nowrap;
}
.shop-product__copy .shop-product__price strong,
.shop-product__copy .shop-boost__price strong{
  font-weight: 500;
}
.shop-product__copy .shop-poc__price{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.18rem;
  height: 3.35rem;
}
.shop-product__copy .shop-poc__price strong{
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 500;
}
.shop-poc__price-note{
  color: var(--ink-soft);
  font-family: var(--font-glacial);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  white-space: nowrap;
}
.shop-cart__price{
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.3rem 0 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.shop-cart__price strong{
  font-family: var(--font-glacial);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.shop-cart__price span{
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.shop-product__buy{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  margin-top: 1.15rem;
}
.shop-product__buy .shop-boost__price,
.shop-product__buy .shop-poc__price,
.shop-product__buy .shop-product__price{
  min-width: 0;
  flex: 1 1 8rem;
}
.shop-boost .shop-product__buy,
.shop-poc .shop-product__buy{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--card-line);
}
.shop-product__buy .shop-product__actions{
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin-top: 0;
  margin-left: auto;
}
.shop-boost .shop-product__buy .shop-product__actions,
.shop-poc .shop-product__buy .shop-product__actions{
  grid-column: 2;
  margin-left: 0;
}
.shop-product__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
  margin-top: 0.65rem;
}
.shop-boost .shop-product__actions .button[data-add-to-cart]{
  min-width: 9.5rem;
  justify-content: center;
  text-align: center;
}
.shop-product__copy h2 a:hover{
  color: var(--copper, #985a20);
}
.shop-product__copy h2 a{
  color: inherit;
  text-decoration: none;
}
@media (max-width: 900px){
  .shop-layout{
    grid-template-columns: 1fr;
  }
  .shop-product,
  .shop-catalog__list .shop-product{
    grid-template-columns: 9.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }
  .shop-cart__summary{
    position: static;
  }
  .shop-product__copy{
    padding: 0.15rem 0.2rem 0.35rem;
  }
  .shop-catalog__list .shop-product__copy{
    padding: 0.05rem 0.1rem 0.1rem 0;
  }
  .shop-product__copy h2{
    font-size: clamp(1.22rem, 5vw, 1.55rem);
  }
  .shop-catalog__list .shop-product__copy h2{
    font-size: clamp(1.05rem, 4.4vw, 1.22rem);
  }
  .shop-catalog__list .shop-product__actions{
    flex-wrap: wrap;
  }
  .shop-product__buy .shop-product__actions{
    width: 100%;
  }
  .shop-boost .shop-product__copy{
    min-height: 0;
  }
  .shop-boost .shop-product__visual,
  .shop-boost .shop-product__visual img{
    min-height: 0;
  }
  .shop-catalog__list .shop-product__visual img,
  .shop-catalog__list .shop-product__mark{
    min-height: 0;
    aspect-ratio: auto;
  }
}
@media (prefers-reduced-motion: reduce){
  .shop-product__visual img{
    transition: none;
  }
  .shop-page.is-cart-confirm .shop-hero,
  .shop-hero--confirm .shop-cart__ok,
  .shop-cart__confirm,
  .shop-cart__empty,
  .shop-cart__ok-ring,
  .shop-cart__ok-check,
  .shop-cart__confirm-lead,
  .shop-cart__confirm-note,
  .shop-cart__confirm-intro,
  .shop-cart__test,
  .shop-cart__confirm .shop-cart__lines{
    animation: none;
  }
  .shop-cart__ok-ring,
  .shop-cart__ok-check{
    stroke-dashoffset: 0;
  }
}
@media (max-width: 900px){
  .shop-cart__confirm{
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-cart__confirm-lead{
    white-space: normal;
    text-wrap: pretty;
  }
  .shop-cart__confirm-side{
    padding-top: 1.15rem;
    padding-left: 0;
    border-top: 1px solid var(--card-line);
    border-left: 0;
  }
}
@media (max-width: 700px){
  .shop-hero,
  .shop-layout,
  .shop-catalog{
    width: calc(100% - 2.2rem);
  }
  .shop-cart__empty{
    padding: 1.7rem 1.2rem 1.8rem;
  }
  .shop-hero h1{
    font-size: clamp(1.8rem, 7.6vw, 2.2rem);
  }
  .shop-hero--confirm h1{
    font-size: clamp(1.38rem, 5.6vw, 1.85rem);
  }
  .shop-hero--confirm .shop-cart__ok{
    width: 3.7rem;
    height: 3.7rem;
  }
  .shop-product,
  .shop-catalog__list .shop-product{
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.6rem;
  }
  .shop-catalog__list .shop-product__visual{
    aspect-ratio: 16 / 10;
    width: 100%;
  }
  .shop-product__copy,
  .shop-catalog__list .shop-product__copy{
    padding: 0.05rem 0.2rem 0.1rem;
  }
  .shop-product__copy h2,
  .shop-catalog__list .shop-product__copy h2{
    white-space: normal;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .shop-boost__scents{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .shop-boost__sizes{
    max-width: none;
  }
  .shop-boost__scent span{
    letter-spacing: 0.02em;
  }
  .shop-poc__addon{
    max-width: none;
  }
  .shop-product__buy{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem 0.75rem;
    margin-top: 0.85rem;
  }
  .shop-product__buy .shop-product__actions,
  .shop-product__buy .shop-buy{
    display: contents;
  }
  .shop-product__buy .shop-qty,
  .shop-product__buy .shop-amount{
    justify-self: end;
  }
  .shop-product__buy:not(:has(.shop-product__price)) .shop-qty,
  .shop-product__buy:not(:has(.shop-product__price)) .shop-amount{
    grid-column: 1;
    justify-self: start;
  }
  .shop-product__buy .button[data-add-to-cart]{
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .shop-cart__line{
    grid-template-columns: 7rem minmax(0, 1fr);
    padding: 0.9rem;
  }
}
/* undo toast */
.shop-undo-toast{
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.55rem 0.65rem 1.1rem;
  border-radius: 0.85rem;
  background: var(--ink, #181512);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 9000;
  box-shadow: 0 4px 18px rgb(0 0 0 / 22%);
}
.shop-undo-toast.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.shop-undo-toast [data-undo-action]{
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: rgba(255 255 255 / 0.18);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 140ms ease;
}
.shop-undo-toast [data-undo-action]:hover{
  background: rgba(255 255 255 / 0.28);
}
/* clear cart */
.shop-cart__clear{
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.82rem;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.shop-cart__clear:hover{
  color: var(--ink);
}
/* top-up cart hint */
.shop-cart__hint{
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}
/* empty cart suggestions */
.shop-cart__suggestions{
  width: 100%;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--card-line);
}
.shop-cart__suggestions-label{
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.shop-cart__suggestions-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.shop-cart__suggestion{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.35rem 0.65rem;
  border: 1px solid var(--card-line);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 140ms ease;
}
.shop-cart__suggestion:hover{
  border-color: var(--copper, #985a20);
}
.shop-cart__suggestion img{
  display: block;
  width: 100%;
  max-width: 5.5rem;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 0.45rem;
}
.shop-cart__suggestion-name{
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.shop-cart__suggestion-price{
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
