:root {
  --white: #faf6f3;
  --panel: #e8dee9;
  --edge: #957d9b;
  --subtle: #604968;
  --focus: #552769;
}
html { color-scheme: light; }
input, select, textarea, button { font: inherit; }
input, select, textarea {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--edge);
  border-radius: 0;
  min-height: 46px;
  padding: .56rem .72rem;
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
button[disabled] { opacity: .56; cursor: default; }
.header nav.store-navigation { gap: clamp(14px,2.75vw,40px); }
.store-navigation a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.store-navigation a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.bag-link span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  padding-inline: 3px;
  place-items: center;
  border: 1px solid var(--edge);
  font-size: 12px;
  line-height: 1;
}
.home-shop { padding-block: clamp(44px,6.3vw,92px); }
.home-shop-head { display: flex; justify-content: space-between; align-items: end; gap: 19px; margin-bottom: 26px; }
.home-shop-head p { margin-top: 9px; }
.home-collections {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr 1fr;
  border-block: 1px solid var(--edge);
  background: var(--white);
}
.collection-link { display: flex; min-width: 0; flex-direction: column; padding: 16px; }
.collection-link + .collection-link { border-left: 1px solid var(--edge); }
.collection-link figure { background: var(--panel); height: clamp(123px,14vw,220px); }
.collection-link img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; }
.collection-link strong { font: 600 clamp(19px,2vw,29px)/1.12 var(--display); margin-block: 12px 4px; }
.collection-link span { font-size: 14px; color: var(--subtle); }
.collection-link:hover strong { text-decoration: underline; text-underline-offset: .24em; }
.store-footer { border-top: 1px solid var(--edge); }
.footer-links {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr .75fr;
  gap: 24px 44px;
  padding-block: 39px;
}
.footer-brand p { margin-top: 5px; font-size: 14px; max-width: 23ch; color: var(--subtle); }
.store-footer nav { flex-direction: column; align-items: flex-start; gap: 3px; font-weight: 500; }
.store-footer nav h2 { font: 600 18px/1.08 var(--display); margin-bottom: 8px; }
.store-footer nav a { padding-block: 3px; }
.absolute-footer { border-top: 1px solid var(--edge); background: #e6d9e7; }
html:has(#absolute-footer:target) { scroll-behavior: auto; }
.absolute-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.absolute-footer[data-text-layout="B"] .absolute-footer-statements {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.absolute-footer .slime-footer-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.absolute-footer .slime-footer-payment-icon {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  max-width: none;
  height: 24px;
  object-fit: contain;
}

.page { padding-block: clamp(30px,4.5vw,70px) clamp(45px,7vw,105px); }
.page-title { font: 600 clamp(51px,7.5vw,111px)/.91 var(--display); letter-spacing: -.048em; text-wrap: balance; }
.page-lead { margin-top: 14px; max-width: 50ch; font-size: clamp(17px,1.55vw,23px); color: var(--subtle); }
.page-header { margin-bottom: clamp(22px,3.1vw,45px); }
.plain-link { text-decoration: underline; text-underline-offset: .25em; }
.plain-link:hover { color: #633367; }
.crumbs { color: var(--subtle); font-size: 14px; margin-bottom: 17px; display: flex; flex-wrap: wrap; gap: 3px 9px; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .23em; }
.crumbs span[aria-hidden] { color: #96799e; }
.small { color: var(--subtle); font-size: 14px; }
.stack > * + * { margin-top: 16px; }
.rule-title {
  font: 600 clamp(28px,3.4vw,49px)/1.02 var(--display);
  letter-spacing: -.031em;
  text-wrap: balance;
}
.ui-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: .5rem .8rem;
  border: 1px solid var(--deep);
  background: transparent;
  color: var(--deep);
  font-weight: 650;
  cursor: pointer;
}
.ui-button:hover { background: #e6d4e8; }

.shop-categories {
  display: flex; flex-wrap: wrap; gap: 4px 9px;
  border-block: 1px solid var(--edge); padding-block: 8px;
}
.shop-categories a { padding: 9px 13px; color: var(--ink); min-height: 44px; }
.shop-categories a[aria-current] { color: white; background: var(--deep); }
.shop-categories a:not([aria-current]):hover { background: var(--panel); }
.shop-toolbar {
  display: grid; grid-template-columns: minmax(200px, 420px) 1fr minmax(155px, 205px);
  gap: 15px 24px; align-items: end; margin-block: 19px 17px;
}
.field-label { display: block; margin-bottom: 5px; font-weight: 600; }
.shop-count { justify-self: center; padding-bottom: 8px; font-size: 15px; color: var(--subtle); }
.catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--edge); border-left: 1px solid var(--edge); background: var(--white); }
.catalog-item { min-width: 0; border-right: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.catalog-item > a { display: grid; padding: 14px; grid-template-rows: auto 1fr auto; height: 100%; gap: 10px; }
.catalog-item figure { width: 100%; aspect-ratio: 1.36; background: #eee5ee; overflow: hidden; }
.catalog-item img { width: 100%; height: 100%; object-fit: contain; padding: 9px; mix-blend-mode: multiply; }
.catalog-item h2 { font: 650 clamp(15px,1.25vw,19px)/1.27 var(--text); letter-spacing: -.01em; text-wrap: pretty; }
.catalog-item a:hover h2 { text-decoration: underline; text-underline-offset: .19em; }
.price { font-variant-numeric: tabular-nums; font-weight: 700; }
.price del { color: var(--subtle); font-weight: 500; margin-right: 7px; }
.item-end { display: flex; gap: 5px 13px; justify-content: space-between; flex-wrap: wrap; align-items: baseline; }
.item-end span + span { color: var(--subtle); font-size: 13px; }
.empty-state { padding: clamp(27px,5.4vw,72px); background: var(--white); border: 1px solid var(--edge); }
.empty-state p { margin-top: 8px; max-width: 43ch; }
.empty-state .action,.empty-state .ui-button { margin-top: 18px; }

.detail-layout { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); align-items: start; gap: clamp(26px,5.7vw,82px); }
.gallery-stage { background: #e6dae8; position: relative; height: clamp(350px,39vw,560px); overflow: hidden; }
.gallery-stage img { position: absolute; inset: 0; height: 100%; width: 100%; padding: clamp(10px,2vw,27px); object-fit: contain; mix-blend-mode: multiply; }
.gallery-caption { color: var(--subtle); font-size: 14px; min-height: 25px; margin-top: 7px; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-thumbnails button { width: 78px; height: 63px; background: var(--white); border: 1px solid var(--edge); padding: 4px; cursor: pointer; }
.gallery-thumbnails button[aria-pressed="true"] { border: 2px solid var(--deep); }
.gallery-thumbnails button:hover { background: #e4d5e8; }
.gallery-thumbnails img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail-title { font: 600 clamp(38px,4.1vw,64px)/1.02 var(--display); letter-spacing: -.038em; text-wrap: balance; }
.detail-copy > .price { font-size: 25px; margin-block: 13px 18px; }
.detail-copy > .intro { padding: 14px 0; border-block: 1px solid var(--edge); }
.detail-order { padding-block: 16px; }
.variant-field { border: 0; padding: 0; margin: 0 0 14px; min-inline-size: 0; }
.variant-field legend { font-weight: 650; padding: 0; margin-bottom: 8px; }
.options { display: flex; flex-wrap: wrap; gap: 6px; }
.options label { position: relative; cursor: pointer; }
.options input { margin: 0; min-height: 0; padding: 0; position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.options span { display: block; border: 1px solid var(--edge); background: var(--white); padding: 8px 10px; min-height: 40px; }
.options input:checked + span { background: var(--deep); color: var(--white); }
.options input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.options input:not(:checked):hover + span { background: #e5d5e7; }
.order-actions { display: flex; align-items: flex-end; gap: 9px; }
.order-actions input { width: 78px; }
.action { cursor: pointer; }
.order-actions .action { min-width: 155px; }
.order-feedback { min-height: 25px; margin-top: 8px; font-size: 15px; }
.detail-notes { margin-top: 6px; border-top: 1px solid var(--edge); }
.detail-notes details { padding-block: 13px; border-bottom: 1px solid var(--edge); }
.detail-notes summary { cursor: pointer; font-weight: 650; }
.detail-notes p { margin-top: 9px; }
.more-products { margin-top: clamp(36px,6vw,78px); }
.more-products h2 { margin-bottom: 17px; }

.commerce-layout { display: grid; grid-template-columns: minmax(0,1.26fr) minmax(280px,.74fr); gap: clamp(20px,4.4vw,62px); align-items: start; }
.commerce-panel { background: var(--white); border: 1px solid var(--edge); padding: clamp(15px,3vw,38px); }
.goods { border-top: 1px solid var(--edge); }
.goods-item { display: grid; grid-template-columns: 111px minmax(0,1fr) auto; gap: 13px 17px; align-items: start; padding-block: 15px; border-bottom: 1px solid var(--edge); }
.goods-photo { background: #e9dde9; height: 96px; }
.goods-photo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; mix-blend-mode: multiply; }
.goods-item h2 { font: 670 17px/1.28 var(--text); letter-spacing: -.012em; }
.goods-title:hover { text-decoration: underline; text-underline-offset: .2em; }
.goods-meta { margin-top: 5px; color: var(--subtle); font-size: 14px; }
.goods-actions { display: flex; gap: 12px; align-items: center; margin-top: 9px; }
.goods-actions input { width: 68px; min-height: 36px; padding-block: 4px; }
.goods-actions button { border: 0; background: none; text-decoration: underline; text-underline-offset: .16em; padding: 5px 0; cursor: pointer; font-size: 14px; }
.bag-note { margin-top: 13px; }
.totals h2 { font-size: clamp(29px,3vw,41px); }
.totals dl { margin-block: 16px 12px; }
.totals dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 7px; }
.totals dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.totals .grand { border-top: 1px solid var(--edge); font-weight: 700; padding-top: 13px; }
.totals .action { width: 100%; margin-top: 15px; }
.ship-note { margin-top: 9px; color: var(--subtle); font-size: 14px; }
.checkout-fields fieldset { margin: 0 0 17px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--edge); min-inline-size: 0; }
.checkout-fields legend { font: 600 27px/1.12 var(--display); padding-right: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 13px; }
.form-grid .wide { grid-column: 1 / -1; }
form .field-errors { color: #733044; font-weight: 600; margin-top: 7px; }
.checkout-fields .action { margin-top: 10px; }
.review-order { margin-top: 18px; padding: 15px; background: #e9ddeb; border: 1px solid var(--edge); }
.review-order p { margin-top: 7px; }
.review-order button { margin-top: 12px; }
.checkout-layout { grid-template-areas: "fields overview"; }
.checkout-layout .totals { grid-area: overview; }
.checkout-main { grid-area: fields; }
.order-disclosure { margin-top: 12px; border-block: 1px solid var(--edge); }
.order-disclosure summary { padding-block: 8px; font-weight: 650; cursor: pointer; }
.order-disclosure summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.order-items { padding-top: 4px; }
.order-items p { display: flex; justify-content: space-between; gap: 9px; margin-bottom: 10px; font-size: 14px; }
.order-items span:last-child { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.account-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: clamp(20px,5vw,72px); align-items: start; }
.account-layout aside { border-top: 1px solid var(--edge); padding-top: 14px; }
.account-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 13px; }
.account-tabs a { padding: 7px 11px; border: 1px solid transparent; }
.account-tabs a[aria-current] { border-color: var(--edge); background: #eadfed; }
.auth-form label { display: block; margin-block: 10px; }
.auth-form .action { margin-top: 5px; }
.auth-feedback { margin-top: 10px; }
.about-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(22px,6vw,82px); align-items: center; }
.about-layout img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.about-layout p + p { margin-top: 12px; }
.content-split { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(245px,.72fr); gap: clamp(18px,6vw,85px); align-items: start; }
.content-split aside { background: #e4d5e7; padding: 19px; border-block: 1px solid var(--edge); }
.content-split aside a { display: block; padding-block: 8px; border-bottom: 1px solid var(--edge); }
.content-split aside a:last-child { border-bottom: 0; }
.content-split aside a:hover { text-decoration: underline; text-underline-offset: .2em; }
.policy-prose { border-top: 1px solid var(--edge); }
.policy-prose section { padding-block: 20px; border-bottom: 1px solid var(--edge); }
.policy-prose section h2 { font: 600 clamp(24px,3vw,38px)/1.08 var(--display); letter-spacing: -.025em; margin-bottom: 8px; text-wrap: balance; }
.policy-prose section p { max-width: 66ch; }
.policy-prose section p + p { margin-top: 8px; }
.policy-links { border-top: 1px solid var(--edge); }
.policy-links a { display: block; padding-block: 12px; border-bottom: 1px solid var(--edge); }
.policy-links a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 980px) {
  .footer-links { grid-template-columns: 1fr 1fr; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-stage { height: 365px; }
  .goods-item { grid-template-columns: 83px minmax(0,1fr) auto; gap: 11px; }
  .goods-photo { height: 80px; }
}
@media (max-width: 760px) {
  .header nav.store-navigation { font-size: 13px; gap: clamp(8px,2.7vw,18px); }
  .header-inner .mark { width: min(190px,100%); }
  .home-shop-head { align-items: flex-start; flex-direction: column; }
  .home-collections { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-link:nth-child(3) { border-left: 0; }
  .collection-link:nth-child(n+3) { border-top: 1px solid var(--edge); }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-toolbar { grid-template-columns: minmax(0,1fr) minmax(0,.77fr); gap: 9px; align-items: end; }
  .shop-count { grid-column: 1 / -1; grid-row: 2; justify-self: start; padding: 0; }
  .shop-categories { gap: 3px 5px; }
  .shop-categories a { padding: 7px 9px; min-height: 40px; font-size: 14px; }
  .catalog-item > a { padding: 9px; gap: 8px; }
  .detail-layout,.commerce-layout,.account-layout,.about-layout,.content-split { grid-template-columns: 1fr; gap: 24px; }
  .checkout-layout { grid-template-areas: "overview" "fields"; }
  .checkout-layout .totals dl { margin-block: 7px 4px; }
  .checkout-layout .totals dl div { padding-block: 4px; }
  .checkout-layout .totals .grand { padding-top: 8px; }
  .gallery-stage { height: clamp(238px,70vw,390px); }
  .gallery-thumbnails button { width: 64px; height: 53px; }
  .detail-copy > .price { margin-block: 9px 13px; }
  .goods-item { grid-template-columns: 67px minmax(0,1fr) auto; }
  .goods-photo { height: 66px; }
  .goods-item h2 { font-size: 15px; }
}
@media (max-width: 440px) {
  .header nav.store-navigation { width: 100%; justify-content: space-between; }
  .footer-links { gap: 22px 17px; }
  .footer-brand .mark { width: min(151px,100%); }
  .store-footer nav { font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0;
}
