:root {
  color-scheme: light;
  --page: #fdf7f7;
  --white: #fff;
  --ink: #2d2023;
  --muted: #665258;
  --line: #ead8dc;
  --accent: #b6192e;
  --accent-hover: #9d1528;
  --focus: #b6192e;
  --accent-ink: #fff5f6;
  --tint: #fbecef;
  --alert: #9f3927;
  --shadow: 0 21px 75px rgba(121,26,52,.12);
  font-family: Inter,system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  font-size: 16px;
  background: var(--page);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a,button,input,textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .53;
}

button,a,input,textarea,summary {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

p {
  line-height: 1.7;
}

h1,h2,h3,p,dl,dd {
  margin: 0;
}

h2 {
  font-size: 1.22rem;
  letter-spacing: -.02em;
}

h3 {
  font-size: 1.02rem;
}

[hidden] {
  display: none!important;
}

.wrap {
  width: min(100% - 64px,1160px);
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 80px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent);
  object-fit: contain;
}

.brand small {
  display: block;
  font-size: .62rem;
  letter-spacing: .14em;
  color: var(--muted);
  margin-top: 2px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .87rem;
}

.top-actions button {
  padding: 8px 0;
  background: none;
  border: 0;
  color: inherit;
}

.top-actions a:hover,.top-actions button:hover,.text-button:hover {
  text-decoration: underline;
}

.count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding-inline: 5px;
  margin-left: 3px;
  border-radius: 1rem;
  background: var(--tint);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  gap: 11px;
  padding: 26px 0 20px;
  color: var(--muted);
  font-size: .84rem;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
  gap: clamp(28px,6vw,92px);
  align-items: start;
}

.gallery {
  min-width: 0;
}

.media-frame {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 22px;
  background: #f3eeee;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbs {
  display: flex;
  gap: 11px;
  margin-top: 12px;
  min-height: 68px;
  flex-wrap: wrap;
}

.thumb {
  width: 69px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  background: #fff;
  overflow: hidden;
}

.thumb[aria-pressed="true"] {
  border: 2px solid var(--accent);
  padding: 2px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.product-copy {
  padding-top: 10px;
}

.eyebrow {
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 9px;
  font-weight: 700;
}

.product-copy h1 {
  font-size: clamp(1.95rem,4.1vw,3.15rem);
  line-height: 1.14;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.product-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 14px;
}

.description {
  min-width: 0;
  font-size: 1.05rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-display-stock {
  min-width: 0;
  margin-inline-start: auto;
  color: var(--muted);
  font-size: .875rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.product-display-stock strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.price-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  background: var(--tint);
  border-radius: 16px;
  margin: 24px 0;
  padding: 16px 19px;
}

.price-label {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1px;
}

.price-panel strong {
  color: var(--accent);
  font-size: clamp(1.95rem,4.3vw,2.85rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.price-panel p {
  min-width: 0;
  font-size: .85rem;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.option-title {
  margin-bottom: 10px;
}

.option-title h2 {
  font-size: 1rem;
}

.variants {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}

.variation {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 7px;
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.variation[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: #fff4f5;
}

.variation span {
  margin-top: auto;
  font-size: .82rem;
  color: var(--muted);
}

.variation strong {
  font-size: .94rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: .94rem;
  line-height: 1.4;
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.button.ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}

.button.ghost:hover:not(:disabled) {
  background: var(--tint);
}

.button.wide {
  width: 100%;
}

.text-button {
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 650;
  padding: 8px 0;
}

.share-button {
  grid-column: 1/-1;
  justify-self: start;
}

.product-notes {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  font-size: .78rem;
  color: var(--muted);
}

.product-notes span::before {
  content: '✓';
  font-weight: 800;
  color: var(--accent);
  margin-right: 7px;
}

.inline-feedback {
  font-size: .88rem;
  min-height: 0;
  margin-top: 6px;
}

.inline-feedback:empty {
  display: none;
}

.inline-feedback[data-error="true"] {
  color: var(--alert);
}

.product-details {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 36px;
  scroll-margin-top: 20px;
}

.button.product-back-to-top {
  position: fixed;
  z-index: 1;
  inset-inline-end: clamp(16px,3.1vw,64px);
  bottom: clamp(88px,21vh,204px);
  flex-direction: column;
  gap: 3px;
  min-width: 50px;
  min-height: 48px;
  padding: 4px 2px;
  font-size: .6875rem;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(121,26,52,.12);
}

.product-back-to-top > span {
  font-size: 1.15rem;
  line-height: 1;
}

.product-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  margin-top: 32px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}

.product-sections a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--accent);
  font-size: .94rem;
  font-weight: 650;
}

.product-sections a[hidden] {
  display: none;
}

.product-sections a:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.product-parameters {
  margin-top: 26px;
  scroll-margin-top: 20px;
}

.product-sections + .product-parameters[hidden] + .product-details {
  padding-top: 0;
  border-top: 0;
  margin-top: 25px;
}

.product-details p {
  color: var(--muted);
  margin-top: 9px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.detail-content {
  display: grid;
  gap: clamp(12px,2vw,22px);
  margin-top: 17px;
}

.detail-story {
  min-width: 0;
  padding: clamp(18px,3.5vw,44px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.detail-story--split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: clamp(24px,4vw,58px);
  align-items: center;
}

.detail-story--split:nth-child(even) .detail-media {
  order: -1;
}

.detail-story--split:nth-child(even) {
  background: var(--tint);
}

.detail-story--lead {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.detail-story-copy {
  min-width: 0;
}

.detail-story h3 {
  font-size: clamp(1.35rem,2.35vw,2rem);
  font-weight: 780;
  letter-spacing: -.04em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.detail-story--lead h3 {
  font-size: clamp(1.65rem,3.15vw,2.75rem);
}

.product-details .detail-story p {
  font-size: 1rem;
  margin-top: 12px;
  max-width: 41ch;
}

.product-details .detail-story p:first-child {
  margin-top: 0;
}

.product-details .detail-story--lead p {
  color: var(--accent-ink);
}

.detail-media {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 13px;
  background: #f3eeee;
}

.detail-media--wide {
  aspect-ratio: 524/291;
}

.detail-media--focus {
  aspect-ratio: 12/5;
  background: #241e20;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-media--focus img {
  object-fit: cover;
  object-position: center 62%;
}

.detail-story.detail-story--image-only {
  width: min(100%,790px);
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.detail-story--image-only .detail-media--full {
  aspect-ratio: auto;
  background: transparent;
}

.detail-story--image-only .detail-media--full img {
  display: block;
  height: auto;
}

.detail-packs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding: clamp(16px,2.5vw,28px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.detail-packs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  list-style: none;
  padding: 0;
  margin: 9px 0 0;
}

.detail-packs li {
  display: flex;
  gap: 6px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.detail-packs strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#variants {
  scroll-margin-top: 20px;
}

.parameter-table-wrap {
  overflow: hidden;
  margin-top: 14px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.parameter-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: .96rem;
  line-height: 1.5;
}

.parameter-table th,
.parameter-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.parameter-table th {
  width: 29%;
  color: var(--muted);
  background: var(--tint);
  font-weight: 600;
}

.parameter-table tr:last-child > * {
  border-bottom: 0;
}

.storefront-home {
  padding-top: clamp(22px,4vw,45px);
}

.catalog,
.catalog-grid > [id] {
  scroll-margin-top: 20px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(10px,1.7vw,18px);
  min-width: 0;
  max-width: 660px;
  margin-inline: auto;
}

@media (min-width:761px) {
  .catalog-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 1000px;
  }
}

.catalog-empty {
  align-self: start;
  padding: clamp(11px,2vw,18px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow-wrap: anywhere;
}

.catalog-empty p {
  margin-top: 3px;
  font-size: .87rem;
}

.catalog-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.catalog-item:hover {
  border-color: var(--accent);
}

.catalog-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  padding: 8px;
  background: #fcf7f8;
  object-fit: contain;
}

.catalog-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 12px 12px 14px;
}

.catalog-copy strong {
  font-size: .94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: auto;
}

.catalog-price {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 730;
}

.catalog-stock {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: clamp(.72rem,2.7vw,.875rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: end;
}

.site-footer {
  margin-top: 45px;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.footer-inner {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mobile-buy {
  display: none;
}

.flow-view {
  padding-top: 24px;
  min-height: 54vh;
}

.flow-view>h1 {
  font-size: clamp(1.8rem,4vw,2.65rem);
  margin: 10px 0 21px;
  letter-spacing: -.04em;
}

.back-link {
  color: var(--muted);
  font-size: .87rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(290px,1fr);
  align-items: start;
  gap: 17px;
}

.flow-stack {
  display: grid;
  gap: 15px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 19px;
  min-width: 0;
}

.card h2 {
  margin-bottom: 15px;
}

.order-lines {
  display: grid;
  gap: 11px;
}

.order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
  font-size: .9rem;
}

.order-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.order-line small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.card.cart-items {
  margin: 0;
  list-style: none;
  padding-block: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto minmax(80px, auto);
  grid-template-areas: "photo product actions price";
  align-items: center;
  gap: 18px;
  padding-block: 16px;
}

.cart-line + .cart-line {
  border-top: 1px solid var(--line);
}

.cart-thumbnail {
  grid-area: photo;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 9px;
  background: var(--tint);
}

.cart-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product {
  grid-area: product;
  overflow-wrap: anywhere;
}

.cart-product a:hover {
  text-decoration: underline;
}

.cart-line small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.cart-line .cart-item-note {
  color: var(--accent);
}

.cart-line-actions, .cart-stepper {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cart-line-actions {
  grid-area: actions;
  gap: 12px;
}

.cart-stepper button {
  width: 38px;
  height: 38px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 1.18rem;
}

.cart-stepper button[aria-disabled="true"] {
  color: var(--muted);
}

.cart-quantity {
  min-width: 2ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cart-line-actions button[data-remove] {
  min-height: 38px;
  padding: 0 3px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: .83rem;
}

.cart-line-actions button[data-remove]:hover {
  text-decoration: underline;
}

.cart-line-price {
  grid-area: price;
  text-align: right;
  white-space: nowrap;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.cart-footer strong {
  margin-left: 5px;
  font-size: 1.3rem;
}

@media (max-width:600px) {
  .cart-line {
    grid-template-columns: 55px minmax(0, 1fr) auto;
    grid-template-areas: "photo product product" ". actions price";
    gap: 6px 10px;
    padding-block: 12px;
  }

  .cart-line-actions {
    gap: 6px;
  }

  .cart-stepper {
    gap: 3px;
  }

  .cart-stepper button {
    width: 32px;
  }
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-grid .full {
  grid-column: 1/-1;
}

label {
  display: block;
  font-size: .9rem;
  font-weight: 650;
}

.field-grid input,.field-grid textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
}

input,textarea {
  min-width: 0;
  padding: 10px 11px;
  min-height: 43px;
  border: 1px solid #b7969f;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

.input-action {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 6px;
}

.input-action input {
  width: 100%;
  flex: 1;
}

.input-action button {
  white-space: nowrap;
}

.totals {
  display: grid;
  gap: 9px;
  margin: 15px 0;
}

.totals div,.payment-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  line-height: 1.5;
}

.totals dt,.payment-list dt {
  color: var(--muted);
  font-size: .89rem;
}

.totals dd {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.totals .total {
  border-top: 1px solid var(--line);
  padding-top: 11px;
  margin-top: 2px;
  font-weight: 750;
}

.totals .total dd {
  font-size: 1.3rem;
}

.muted {
  color: var(--muted);
  font-size: .86rem;
}

.checkout-summary .wide {
  margin-top: 13px;
}

.notice {
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 11px 13px;
  border-radius: 10px;
  line-height: 1.6;
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.notice[data-error="true"] {
  background: #fff3ef;
  color: var(--alert);
  border-color: #edc9bf;
}

.order-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.order-heading h2 {
  margin-bottom: 3px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.order-actions .button {
  min-height: 38px;
  padding: 6px 10px;
}

.order-status {
  border-radius: 20px;
  padding: 5px 10px;
  background: var(--tint);
  font-size: .82rem;
  font-weight: 700;
}

.order-status.status-paid,.order-status.status-shipped,.order-status.status-completed {
  background: #e8f5eb;
  color: #24543a;
}

.payment-list {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}

.payment-list dd {
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
  font-size: .89rem;
  font-weight: 700;
}

.payment-list button {
  border: 0;
  background: var(--tint);
  color: var(--accent);
  border-radius: 6px;
  margin-left: 5px;
  padding: 4px 7px;
  font-weight: 650;
  font-size: .79rem;
}

.payment-card .notice,.proof-form {
  margin-top: 14px;
}

.payment-guide {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
}

.payment-guide summary {
  padding: 12px 0;
  color: var(--accent);
}

.payment-guide[open] {
  padding-bottom: 12px;
}

.proof-form input {
  width: 100%;
  margin-top: 6px;
}

.proof-form button {
  margin-top: 10px;
}

.proof-hint {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 6px;
}

.address-text {
  overflow-wrap: anywhere;
  line-height: 1.65;
  font-size: .9rem;
}

.tracking-number {
  font-weight: 750;
  overflow-wrap: anywhere;
}

.order-status-details {
  margin-top: 11px;
}

.order-data {
  display: grid;
  gap: 12px;
}

.card .steps {
  margin-bottom: 0;
}

.steps {
  padding-left: 22px;
  display: grid;
  gap: 12px;
  margin: 0 0 15px;
}

.steps p {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 3px;
}

dialog {
  width: min(94%,490px);
  max-height: calc(100% - 28px);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--ink);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: auto;
}

dialog::backdrop {
  background: rgba(38,13,22,.49);
}

dialog.fallback-open {
  position: fixed;
  z-index: 10;
  inset: 10vh auto auto 3vw;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  margin-bottom: 12px;
}

.close-button {
  border: 0;
  background: var(--tint);
  color: var(--ink);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 1.35rem;
  flex: none;
}

.sr-only {
  position: absolute!important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media (max-width:760px) {
  .wrap {
    width: min(100% - 30px,1160px);
  }
  .topbar {
    min-height: 61px;
    gap: 4px;
  }
  .brand {
    gap: 7px;
    font-size: .98rem;
  }
  .brand-mark {
    width: 72px;
    height: 36px;
    border-radius: 8px;
  }
  .brand small {
    font-size: .52rem;
  }
  .top-actions {
    gap: 13px;
    font-size: .82rem;
  }
  .nav-shop {
    display: none;
  }
  .breadcrumb {
    padding: 15px 0 12px;
    font-size: .8rem;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .media-frame {
    border-radius: 15px;
    max-height: 520px;
  }
  .thumbs {
    margin-top: 8px;
    min-height: 0;
    gap: 7px;
  }
  .thumb {
    width: 53px;
    border-radius: 8px;
  }
  .thumb img {
    border-radius: 5px;
  }
  .product-copy {
    padding-top: 2px;
  }
  .product-copy h1 {
    font-size: clamp(1.68rem,7vw,2.55rem);
  }
  .eyebrow {
    margin-bottom: 5px;
  }
  .description {
    font-size: .94rem;
  }
  .product-caption {
    margin-top: 6px;
  }
  .price-panel {
    margin: 13px 0 15px;
    padding: 12px 13px;
  }
  .product-actions {
    display: none;
  }
  .product-notes {
    margin-top: 14px;
  }
  .mobile-buy {
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    gap: 7px;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom,0px));
  }
  .mobile-buy .text-button {
    font-size: .85rem;
    padding-inline: 6px;
  }
  .mobile-buy .button {
    padding-inline: 6px;
    font-size: .88rem;
  }
  .has-mobile-buy .site-footer {
    padding-bottom: calc(65px + env(safe-area-inset-bottom,0px));
  }
  .button.product-back-to-top {
    inset-inline-end: max(12px, env(safe-area-inset-right,0px));
    bottom: calc(var(--shop-tabbar-total, env(safe-area-inset-bottom,0px)) + 76px);
  }
  .product-details {
    margin-top: 24px;
    padding-top: 17px;
  }
  .catalog-copy {
    padding: 9px 8px 11px;
  }
  .product-details p {
    font-size: .91rem;
  }
  .detail-story {
    padding: 16px;
    border-radius: 14px;
  }
  .detail-story--split {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }
  .detail-story--split:nth-child(even) .detail-media {
    order: initial;
  }
  .detail-media {
    border-radius: 9px;
  }
  .product-details .detail-story p {
    font-size: 1rem;
    margin-top: 8px;
  }
  .product-sections {
    margin-top: 20px;
    gap: 4px 15px;
  }
  .parameter-table th,
  .parameter-table td {
    padding: 10px 12px;
  }
  .site-footer {
    margin-top: 28px;
  }
  .footer-inner {
    min-height: 53px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card {
    padding: 15px;
  }
  .flow-view {
    padding-top: 13px;
  }
  .flow-view>h1 {
    margin: 6px 0 13px;
  }
  .variation {
    padding: 10px 8px;
    gap: 4px;
  }
  .field-grid {
    gap: 9px;
  }
}

@media (max-width:360px) {
  .wrap {
    width: calc(100% - 22px);
  }
  .top-actions {
    gap: 8px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .product-notes {
    gap: 6px 10px;
  }
  .variation {
    padding-inline: 6px;
  }
}

.thumbs:empty {
  display: none;
}

.brand {
  min-width: 0;
}

.brand>span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  flex: none;
}

.footer-inner {
  flex-wrap: wrap;
  padding-block: 8px;
}

.payer-inputs,.account-orders {
  margin-top: 12px;
}

.card summary {
  font-weight: 750;
  cursor: pointer;
  min-height: 32px;
}

.history-line:hover strong {
  text-decoration: underline;
}

.history-status {
  text-align: right;
  flex: none;
}

.official-guide {
  font-size: .88rem;
  margin-top: 10px;
}

.official-guide a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#account-save {
  margin-top: 11px;
}

@media (max-width:760px) {
  .top-actions {
    flex: none;
  }
  .footer-inner {
    font-size: .77rem;
  }
  .product-layout {
    gap: 17px;
  }
}
