:root {
  color-scheme: light;
  --ink: #211e19;
  --muted: #6e675d;
  --accent: #725529;
  --accent-dark: #4b371d;
  --accent-wash: #efe8da;
  --line: #ded7cb;
  --surface: #fdfbf7;
  --canvas: #f7f4ed;
  --gold: #b59968;
  --radius: 2px;
  --shadow: none;
  --tab-height: 70px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--tab-height) + env(safe-area-inset-bottom, 0px));
}
button, input, select { font: inherit; color: inherit; min-width: 0; }
button, select, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .56; }
button, a { -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: min(calc(100% - 32px), 1100px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--surface);
  box-shadow: 0 1px var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding-block: 10px 12px;
}
.brand {
  display: inline-flex;
  justify-self: start;
  min-height: 44px;
  min-width: 0;
  align-items: center;
  gap: 6px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1rem, 5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}
.brand-mark {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand-text { display: block; white-space: nowrap; }
@media (max-width: 959px) {
  .brand-text[data-multiline="true"] { display: flex; flex-direction: column; font-family: Arial, "PingFang SC", sans-serif; font-size: 15px; line-height: 1.2; }
  .brand-text[data-multiline="true"] .wordmark-divider { display: none; }
}
@media (max-width: 359px) {
  .brand-text[data-multiline="true"] { font-size: 14px; }
}
.menu-trigger, .icon-button, .language {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  font-weight: 700;
}
.menu-trigger, .language { border-color: transparent; background: transparent; }
.language { position: relative; min-width: 61px; padding: 0; font-size: .875rem; }
.language select {
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 0 23px 0 10px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  font-weight: 720;
}
.language::after {
  content: "";
  position: absolute;
  right: 10px;
  top: calc(50% - 5px);
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
}
.icon {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  font-size: 1.22rem;
  line-height: 1;
}
.icon.menu { font-size: 0; }
.icon.menu::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 -5px currentColor, 0 5px currentColor;
}
.icon.search { position: relative; font-size: 0; color: var(--muted); }
.icon.search::before {
  content: "";
  width: 13px;
  height: 13px;
  margin: 0 4px 4px 0;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.icon.search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.7px;
  left: 13px;
  top: 15px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.search-form {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 0 0 12px;
  background: #f1ede5;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 1px var(--accent); }
#search-input {
  flex: 1;
  width: 100%;
  min-height: 44px;
  padding: 8px 2px;
  outline: none;
  border: 0;
  background: transparent;
  font-size: 1rem;
}
#search-input::placeholder { color: var(--muted); }
.search-submit {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: var(--ink);
  color: var(--surface);
  font-size: .875rem;
  font-weight: 780;
}

#main-content { flex: 1; margin-block: 16px 30px; }
#main-content.home-layout { width: 100%; max-width: none; margin: 0 0 30px; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 222px;
  padding: 23px clamp(20px, 5vw, 50px);
  overflow: hidden;
  border-radius: 21px;
  color: #fff;
  background:
    radial-gradient(ellipse at 100% 5%, #6e48f6, transparent 58%),
    linear-gradient(132deg, #211747 0%, #3e257e 63%, #4d28a9 100%);
  box-shadow: 0 16px 30px #41258520;
}
.hero::before, .hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  width: clamp(198px, 30vw, 385px);
  aspect-ratio: 1;
  right: clamp(-128px, -10vw, -54px);
  bottom: -58%;
  border-radius: 50%;
  border: 1px solid #e3d9ff55;
}
.hero::after {
  transform: scale(1.23);
  border-color: #e3d9ff38;
  box-shadow: 0 0 0 24px #e3d9ff14, 0 0 0 49px #e3d9ff0b;
}
.hero-art {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .75;
  background: radial-gradient(closest-side at 93% 78%, #c4aeff45, transparent 80%);
}
.hero-copy { position: relative; width: min(100%, 580px); }
.hero-copy h1 {
  color: #fff;
  font-size: clamp(1.9rem, 6vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.055em;
  font-weight: 850;
  text-wrap: balance;
}
.hero-copy p { max-width: 36ch; margin-top: 10px; color: #edebfb; font-size: 1rem; }
.hero-copy .primary-button { margin-top: 17px; color: #311a6d; background: #fff; }

.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-align: center;
  font-weight: 760;
}
.primary-button { color: var(--surface); background: var(--ink); }
.secondary-button { color: var(--ink); background: var(--surface); border-color: var(--line); }
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  margin-block: 24px 10px;
}
.section-heading h2 { font-family: Georgia, "Songti SC", serif; font-size: clamp(1.25rem, 4vw, 1.65rem); font-weight: 500; letter-spacing: .025em; line-height: 1.25; }
.section-heading a, .page-head a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .875rem; font-weight: 750; }
.quick-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick-category {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-height: 82px;
  padding: 9px 5px;
  text-align: center;
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.category-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  color: var(--accent-dark);
  background: var(--accent-wash);
  font-weight: 750;
  font-size: 1.15rem;
  line-height: 1;
}
.category-title { overflow-wrap: anywhere; font-size: .875rem; font-weight: 740; line-height: 1.2; }

.page-head { margin-block: 5px 16px; }
.page-head h1 { font-family: Georgia, "Songti SC", serif; font-size: clamp(1.65rem, 6vw, 2.45rem); font-weight: 500; letter-spacing: .015em; line-height: 1.18; }
.page-head p { margin-top: 6px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.filter { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); font-size: .875rem; }
.filter[aria-pressed="true"] { color: var(--accent-dark); background: var(--accent-wash); border-color: var(--gold); }
.category-layout { display: grid; grid-template-columns: minmax(86px, 30%) minmax(0, 1fr); gap: 10px; align-items: start; }
.category-sidebar { display: grid; gap: 6px; min-width: 0; }
.category-tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-height: 46px;
  padding: 8px 9px;
  text-align: start;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .875rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.category-tab[aria-pressed="true"] { color: var(--surface); background: var(--ink); border-color: var(--ink); }
.category-panel { min-width: 0; }
.category-panel > h2 { margin-bottom: 9px; font-size: 1.12rem; }
.category-panel .quick-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }

.empty-state {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  min-height: 190px;
  padding: 21px 14px;
  text-align: center;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.empty-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 2px; background: var(--accent-wash); color: var(--accent-dark); font-size: 1.4rem; }
.empty-state h2, .empty-state h3 { font-size: 1.08rem; letter-spacing: -.018em; line-height: 1.3; }
.empty-state p { max-width: 34ch; color: var(--muted); font-size: .9375rem; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 3px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-card { position: relative; min-width: 0; overflow: hidden; background: var(--surface); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.product-card > a { display: block; }
.product-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: #ede7dd; color: var(--muted); }
img.product-image, .product-image img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.product-body { display: grid; gap: 4px; padding: 10px; font-size: .9375rem; }
.product-body h2, .product-body h3 { font-size: .98rem; font-weight: 750; overflow-wrap: anywhere; }
.favorite-button { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--accent); font-size: 1.15rem; }
.favorite-button[aria-pressed="true"] { background: var(--accent-wash); }
.product-detail { display: grid; gap: 16px; }
.detail-media { display: grid; place-items: center; overflow: hidden; min-height: 200px; aspect-ratio: 1.16; background: #ede7dd; border-radius: var(--radius); color: var(--muted); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { display: grid; align-content: start; gap: 11px; min-width: 0; }
.detail-body h1 { line-height: 1.16; font-size: clamp(1.55rem, 6vw, 2.6rem); letter-spacing: -.04em; }
.detail-body p { color: var(--muted); }
.variant-buttons, .detail-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.variant-button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); }
.variant-button[aria-pressed="true"] { color: var(--surface); border-color: var(--ink); background: var(--ink); }

.cart-list { display: grid; gap: 8px; }
.cart-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; }
.cart-info { flex: 1 1 150px; min-width: 0; overflow-wrap: anywhere; }
.cart-info p { color: var(--muted); }
.stepper { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; }
.stepper button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 2px; background: var(--canvas); }
.stepper output { min-width: 26px; text-align: center; font-weight: 750; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; padding: 13px; margin-top: 12px; border-radius: 2px; background: var(--accent-wash); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); border-top: 1px solid var(--line); padding-block: 13px 16px; font-size: .875rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.tab-bar {
  position: fixed;
  z-index: 4;
  inset: auto 0 0;
  padding: 5px 0 max(5px, env(safe-area-inset-bottom, 0px));
  background: #fdfbf7f7;
  border-top: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; }
.tab-link {
  display: grid;
  justify-items: center;
  align-content: center;
  position: relative;
  gap: 3px;
  min-height: 57px;
  padding: 4px 2px;
  border-radius: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.12;
}
.tab-link[aria-current]:not([aria-current="false"]) { background: transparent; color: var(--ink); }
.tab-link[aria-current]:not([aria-current="false"])::before { content: ""; position: absolute; top: 0; left: 50%; width: 24px; height: 2px; transform: translateX(-50%); background: var(--gold); }
.tab-label { text-align: center; font-size: .875rem; }
.badge { position: absolute; left: calc(50% + 8px); top: 4px; min-width: 17px; min-height: 17px; padding: 2px 4px; border-radius: 15px; color: #fff; background: var(--accent-dark); font-size: .75rem; text-align: center; font-weight: 800; }

dialog {
  width: min(100% - 20px, 430px);
  max-height: calc(100dvh - 28px);
  margin: auto auto max(10px, env(safe-area-inset-bottom, 0px));
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  box-shadow: 0 20px 50px #211e192c;
}
dialog::backdrop { background: #211e1980; }
.dialog-body { padding: 15px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dialog-head h2 { font-size: 1.25rem; letter-spacing: -.025em; }
.menu-links { display: grid; gap: 6px; }
.menu-links a, .menu-links button { display: flex; width: 100%; min-height: 44px; align-items: center; padding: 8px 11px; background: var(--canvas); border: 1px solid var(--line); border-radius: 2px; text-align: start; }

@media (min-width: 720px) {
  :root { --tab-height: 72px; }
  .container { width: min(calc(100% - 64px), 1100px); }
  .header-inner { min-height: 72px; padding-block: 9px; grid-template-columns: 44px minmax(150px, auto) minmax(150px, 1fr) auto; gap: 15px; }
  .brand { gap: 8px; font-size: 1.625rem; }
  .brand-mark { flex-basis: 38px; width: 38px; height: 38px; }
  .search-form { grid-column: 3; grid-row: 1; width: min(100%, 520px); justify-self: center; }
  .language { grid-column: 4; grid-row: 1; }
  #main-content { margin-block: 23px 36px; }
  .hero { min-height: 250px; }
  .hero::before, .hero::after { bottom: -80%; right: 12%; }
  .quick-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .quick-category { min-height: 100px; }
  .category-layout { grid-template-columns: minmax(180px, 22%) minmax(0, 1fr); gap: 18px; }
  .category-tab { padding-inline: 13px; }
  .category-panel .quick-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
  .product-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .tabs { max-width: 560px; gap: 8px; }
  dialog { margin: auto; }
}

@media (max-width: 379px) {
  .language { width: 104px; }
}

@media (hover: hover) {
  .menu-trigger:hover, .icon-button:hover, .language:hover, .secondary-button:hover, .quick-category:hover, .category-tab:hover { border-color: var(--gold); background-color: var(--accent-wash); }
  .category-tab[aria-pressed="true"]:hover { color: var(--surface); border-color: var(--ink); background-color: var(--ink); }
  .primary-button:hover { background-color: var(--accent-dark); }
  .hero-copy .primary-button:hover { background-color: var(--accent-wash); }
  .tab-link:hover { color: var(--accent-dark); background-color: var(--accent-wash); }
}

.item-code { display: block; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.item-code b { color: var(--ink); font-weight: 650; }
.detail-code { display: flex; gap: .5rem .75rem; flex-wrap: wrap; align-items: center; }
.detail-code .item-code { font-size: 1rem; }
.detail-code .secondary-button { padding-inline: .75rem; }
.price-on-request { color: var(--muted); }
.saved-add { margin: 0 .625rem .625rem; }
.cart-line-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cart-line-actions .icon-button { width: auto; padding-inline: .65rem; font-size: .875rem; }
.shop-feedback:empty { display: none; }
.shop-feedback, .shop-loading { padding: .75rem 0; }
.shop-feedback a, #detail-status a { text-decoration: underline; }

.detail-actions .favorite-button { position: static; flex: 0 0 auto; }

.cart-select-all { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; margin-bottom: .25rem; min-height: 44px; }
.cart-select-all input, .cart-line-select { inline-size: 1.25rem; block-size: 1.25rem; margin: 0; accent-color: var(--accent); flex: none; }
.cart-line-select { align-self: flex-start; margin-top: .45rem; }
.cart-summary button:disabled { opacity: .5; cursor: not-allowed; }
.shipping-form { display: grid; gap: .9rem; }
.shipping-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.shipping-field { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.shipping-field:has([name="address"]), .shipping-field:has([name="recipient"]) { grid-column: 1 / -1; }
.shipping-field small { color: var(--muted); }
.shipping-field :is(input, select, textarea), #order-message {
  width: 100%; min-height: 44px; padding: .55rem .65rem; font: inherit; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
}
.shipping-field textarea, #order-message { resize: vertical; }
#order-message { margin-block: .65rem; }
@media (max-width: 440px) {
  .shipping-fields { grid-template-columns: 1fr; }
  .shipping-form > button { width: 100%; }
}

.product-recommendations { margin-block: 1.5rem; }
.product-recommendations .section-heading { margin-bottom: .65rem; }
.detail-actions { flex-wrap: wrap; }

html { overscroll-behavior-x: contain; }

.catalog-detail .detail-media {
  display: block;
  min-height: 0;
  min-width: 0;
  background: none;
  aspect-ratio: auto;
}
.catalog-detail .detail-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; }
.catalog-detail .detail-photo .product-image { aspect-ratio: 1.18; }
[data-watch-swipe] { touch-action: pan-y pinch-zoom; }
.catalog-detail .detail-photo { position: relative; }
.detail-photo video { display: block; width: 100%; height: 100%; object-fit: contain; background: #111; }
.detail-product-arrow {
  position: absolute; top: 44%; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: #151515c9; color: white; font-size: 28px; text-decoration: none;
}
.detail-product-arrow.previous { left: 8px; }
.detail-product-arrow.next { right: 8px; }
.detail-media-switch { display: flex; gap: 8px; margin: 8px 0; }
.detail-media-switch [aria-pressed="true"] { background: var(--ink); color: var(--paper, white); }
.catalog-detail .detail-photo .product-image img { aspect-ratio: 1.18; object-fit: cover; }
.catalog-detail figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; background: var(--surface); font-size: .8125rem; }
.catalog-detail .detail-thumbs { display: flex; gap: 7px; overflow-x: auto; padding: 5px 2px 4px; }
.catalog-detail .detail-thumbs button {
  flex: 0 0 52px; height: 46px; padding: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
}
.catalog-detail .detail-thumbs button[aria-pressed="true"] { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
.catalog-detail .detail-body h1 { font-family: "Songti SC", "Noto Serif CJK SC", Georgia, serif; letter-spacing: -.02em; }
.catalog-detail .detail-code .item-code { border: 1px solid var(--line); padding: 5px 8px; background: var(--surface); font-size: .875rem; }
.catalog-detail .detail-code b { font-family: ui-monospace, monospace; }
.catalog-detail .detail-specs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.catalog-detail .detail-specs li { padding: 4px 8px; background: var(--accent-wash); font-size: .875rem; }
.detail-comparison { margin: .65rem 0 .9rem; }
.detail-comparison h2 { font-size: .9375rem; margin-bottom: .45rem; }
.detail-comparison-link { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.detail-comparison-spec { display: block; color: var(--muted); margin: 3px 0; font-size: .875rem; }

.brand-list-search { display: flex; gap: .5rem; margin: .5rem 0; }
.brand-list-search input { flex: 1; min-width: 0; }
.payment-panel, .detail-review-section, .detail-written { margin: 1.2rem 0; padding: 1rem; border: 1px solid var(--line); background: var(--surface); }
.payment-panel h2, .detail-review-section h2, .detail-written h2 { font-size: 1.12rem; margin: 0 0 .5rem; }
.payment-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.payment-row::-webkit-scrollbar { display: none; }
.payment-row li { flex: none; white-space: nowrap; font-size: .8rem; }
.payment-row img { display: block; width: 46px; height: 29px; object-fit: contain; }
.detail-written p, .review-card p { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-quantity { display: flex; align-items: center; gap: .65rem; }
.detail-quantity input { width: 4rem; min-height: 44px; padding: .4rem; }
.buyer-review-form, .buyer-review-form label { display: grid; gap: .5rem; }
.buyer-review-form textarea { min-height: 5rem; }
.review-card { margin: .65rem 0; padding-top: .65rem; border-top: 1px solid var(--line); }
.review-card time { color: var(--muted); font-size: .875rem; float: inline-end; }

.payment-panel p { margin: .65rem 0 0; color: var(--muted); font-size: .875rem; }
.review-list summary { cursor: pointer; padding-block: .45rem; }
.review-list label { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

.payment-row .remittance-icon { width: 112px; }
