/* Shopping-list catalog experience — local production pass, 2026-08-01. */
:root {
  --catalog-bg: #fff;
  --catalog-paper: #fcfaf5;
  --catalog-ink: #1d1d18;
  --catalog-muted: #6f6c63;
  --catalog-line: rgba(29, 29, 24, .16);
  --catalog-accent: #9f6036;
  --catalog-green: #3f584b;
  --catalog-display: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --catalog-body: "Avenir Next", "Gill Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--catalog-bg); }
body {
  margin: 0;
  color: var(--catalog-ink);
  background: var(--catalog-bg);
  font-family: var(--catalog-body);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--catalog-accent);
  outline-offset: 3px;
}

.catalog-site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 82px;
  padding: 0 32px;
  border-bottom: 1px solid var(--catalog-line);
  background: color-mix(in srgb, var(--catalog-bg) 94%, transparent);
  backdrop-filter: blur(16px);
}
.catalog-site-nav .brand { min-height: 44px; font-size: 1.06rem; letter-spacing: .18em; }
.catalog-site-nav .nav-main { gap: 28px; font-size: .75rem; letter-spacing: .07em; }
.catalog-site-nav .nav-main a { min-height: 44px; display: inline-flex; align-items: center; }
.catalog-site-nav .lang-button { min-width: 88px; min-height: 44px; font-size: .75rem; letter-spacing: .05em; }
.catalog-site-nav .catalog-menu { width: 44px; height: 44px; }
.catalog-header-inquiry { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--catalog-ink); color: var(--catalog-ink); font-size: .6875rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.catalog-header-inquiry strong { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; color: white; background: var(--catalog-green); font-size: .625rem; }

.shop-catalog { min-height: calc(100vh - 82px); }
.shop-hero {
  display: grid;
  grid-template-columns: minmax(230px, .48fr) minmax(0, 1.52fr);
  gap: 24px 54px;
  align-items: end;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) clamp(18px, 3vw, 44px) clamp(20px, 2.2vw, 30px);
  border-bottom: 1px solid var(--catalog-line);
}
.sheet-kicker {
  color: var(--catalog-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.shop-hero > div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr); gap: 40px; align-items: end; }
.shop-hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--catalog-display);
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.shop-hero p { max-width: 560px; margin: 0; color: var(--catalog-muted); font-size: 1rem; line-height: 1.7; }

.shop-layout {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 22px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px clamp(18px, 3vw, 44px) 120px;
}
.catalog-rail { position: sticky; top: 94px; align-self: start; display: grid; gap: 8px; }
.rail-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 5px 6px;
  border: 1px solid transparent;
  color: var(--catalog-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.rail-item:hover { color: var(--catalog-ink); border-color: var(--catalog-line); }
.rail-item.active { color: var(--catalog-ink); border-color: transparent; background: color-mix(in srgb, var(--catalog-accent) 7%, transparent); box-shadow: inset 2px 0 0 var(--catalog-accent); }
.rail-thumb { display: grid; overflow: hidden; width: 28px; height: 34px; border: 1px solid var(--catalog-line); background: #ebe5da; }
.rail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rail-all { grid-template-columns: repeat(2, 5px); place-content: center; gap: 3px; }
.rail-all i { width: 5px; height: 6px; background: currentColor; opacity: .72; }
.rail-name { font-size: .75rem; font-weight: 600; line-height: 1.25; }
.rail-count { font-size: .6875rem; font-variant-numeric: tabular-nums; }

.shop-results { min-width: 0; }
.catalog-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  border: 1px solid var(--catalog-line);
  background: rgba(255, 255, 255, .24);
}
.catalog-search { position: relative; display: flex; align-items: center; min-width: 0; }
.catalog-search:focus-within { box-shadow: inset 0 -2px 0 var(--catalog-accent); }
.catalog-search > .search-icon { margin-left: 16px; opacity: .65; }
.catalog-search input { width: 100%; min-height: 48px; padding: 0 16px 0 10px; border: 0; outline: 0; color: var(--catalog-ink); background: transparent; font-size: .875rem; }
.catalog-tools > button { position: relative; display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 0; border-left: 1px solid var(--catalog-line); color: var(--catalog-ink); background: transparent; font-size: .75rem; font-weight: 600; letter-spacing: .05em; cursor: pointer; }
.catalog-tools > button:hover { background: rgba(255, 255, 255, .55); }
.tool-icon { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.catalog-tools button b { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 7px; border-radius: 50%; color: white; background: var(--catalog-accent); font-size: .625rem; }
.catalog-tools button i { display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 9px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.results-summary { display: flex; align-items: center; min-height: 46px; color: var(--catalog-muted); font-size: .75rem; }
.results-summary strong { margin-right: 4px; color: var(--catalog-ink); font-size: .875rem; font-variant-numeric: tabular-nums; }
.results-summary > span { flex: 1; height: 1px; margin: 0 14px; background: var(--catalog-line); }
.results-summary small { font-size: .75rem; }

.shop-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 14px; }
.shop-product-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--catalog-line); background: rgba(255, 255, 255, .28); transition: border-color .18s ease, transform .18s ease; }
.shop-product-card:hover { border-color: rgba(29, 29, 24, .38); transform: translateY(-2px); }
.product-media-button { display: block; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: #ece6dc; cursor: pointer; }
.product-media-button img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.shop-product-card:hover .product-media-button img { transform: scale(1.018); }
.shop-product-copy { display: flex; flex: 1; flex-direction: column; padding: 12px 12px 0; }
.shop-product-code { display: block; margin-bottom: 4px; color: var(--catalog-muted); font-size: .75rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.shop-product-title { display: -webkit-box; overflow: hidden; width: 100%; min-height: 44px; padding: 0; border: 0; color: var(--catalog-ink); background: transparent; font-family: var(--catalog-body); font-size: .875rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; text-align: left; -webkit-box-orient: vertical; -webkit-line-clamp: 2; cursor: pointer; }
.shop-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; min-height: 36px; margin-top: 8px; }
.color-swatches { display: flex; align-items: center; min-width: 45px; }
.color-swatches span { width: 14px; height: 14px; margin-right: -2px; border: 2px solid var(--catalog-paper); border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(29, 29, 24, .18); }
.color-swatches small { margin-left: 5px; color: var(--catalog-muted); font-size: .625rem; }
.variant-count { color: var(--catalog-muted); font-size: .6875rem; line-height: 1.25; }
.budget-chip { color: var(--catalog-muted); font-size: .6875rem; line-height: 1.25; white-space: nowrap; }
.product-terms { display: grid; gap: 2px; justify-items: end; text-align: right; }
.moq-chip { color: var(--catalog-green); font-size: .625rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.select-product { display: flex; gap: 8px; align-items: center; justify-content: flex-start; width: 100%; min-height: 40px; margin-top: auto; padding: 0; border: 0; border-top: 1px solid var(--catalog-line); color: var(--catalog-ink); background: transparent; font-size: .6875rem; font-weight: 600; cursor: pointer; transition: color .18s ease; }
.select-product:hover { color: var(--catalog-green); }
.select-product.selected { color: var(--catalog-green); background: transparent; }
.select-product-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: .6875rem; line-height: 1; }
.select-product.selected .select-product-icon { color: white; background: var(--catalog-green); }

.shop-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 320px; padding: 30px; border: 1px solid var(--catalog-line); text-align: center; }
.shop-empty p { margin: 0 0 16px; color: var(--catalog-muted); font-size: 1rem; }
.shop-empty button { min-height: 44px; padding: 0 20px; border: 1px solid var(--catalog-ink); background: transparent; cursor: pointer; }

.control-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  border: 0;
  color: var(--catalog-ink);
  background: var(--catalog-paper);
  box-shadow: 0 24px 80px rgba(20, 18, 14, .28);
}
.control-dialog::backdrop, .product-detail-dialog::backdrop { background: rgba(18, 20, 17, .62); backdrop-filter: blur(4px); }
.control-sheet { display: block; margin: 0; padding: 0; }
.control-sheet > header { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--catalog-line); }
.control-sheet h2 { margin: 4px 0 0; font-family: var(--catalog-display); font-size: 2rem; font-weight: 400; letter-spacing: -.025em; line-height: 1; }
.sheet-close { width: 44px; height: 44px; padding: 0; border: 1px solid var(--catalog-line); background: transparent; font-size: 1.5rem; cursor: pointer; }
.control-sheet fieldset { margin: 0; padding: 22px 24px; border: 0; border-bottom: 1px solid var(--catalog-line); }
.control-sheet legend { padding: 0; font-size: .875rem; font-weight: 700; }
.control-sheet fieldset > p { margin: 2px 0 14px; color: var(--catalog-muted); font-size: .75rem; }
.control-sheet fieldset > .pricing-disclaimer,
.pricing-disclaimer { margin: 16px 0 0; padding: 11px 12px; border: 1px solid var(--catalog-line); background: var(--catalog-paper); color: var(--catalog-muted); font-size: .75rem; line-height: 1.55; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.option-grid label { cursor: pointer; }
.option-grid input { position: absolute; opacity: 0; pointer-events: none; }
.option-grid label > span { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; border: 1px solid var(--catalog-line); font-size: .8125rem; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.option-grid input:focus-visible + span { outline: 2px solid var(--catalog-accent); outline-offset: 2px; }
.option-grid input:checked + span { border-color: color-mix(in srgb, var(--catalog-green) 58%, transparent); background: var(--catalog-bg); box-shadow: inset 2px 0 0 var(--catalog-green); }
.option-check { display: inline-grid; flex: 0 0 auto; place-items: center; width: 18px; height: 18px; border: 1px solid var(--catalog-line); border-radius: 50%; color: transparent; font-size: .6875rem; font-style: normal; line-height: 1; }
.option-grid input:checked + span .option-check { border-color: var(--catalog-green); color: white; background: var(--catalog-green); }
.color-option-label { display: inline-flex; gap: 9px; align-items: center; }
.color-option-grid .color-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--option-color); box-shadow: 0 0 0 1px rgba(29, 29, 24, .18); }
.control-sheet > footer { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 18px 24px 24px; }
.sheet-clear, .sheet-apply { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--catalog-ink); font-size: .8125rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.sheet-clear { color: var(--catalog-ink); background: transparent; }
.sheet-apply { color: white; background: var(--catalog-ink); }
.sort-dialog { width: min(430px, calc(100% - 28px)); }
.sort-options { padding: 8px 24px 24px; }
.sort-options label { display: block; cursor: pointer; }
.sort-options input { position: absolute; opacity: 0; }
.sort-options span { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--catalog-line); font-size: .875rem; transition: color .16s ease, background .16s ease; }
.sort-options input:focus-visible + span { outline: 2px solid var(--catalog-accent); outline-offset: 2px; }
.sort-options .sort-check { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--catalog-line); border-radius: 50%; color: transparent; font-size: .6875rem; font-style: normal; line-height: 1; }
.sort-options input:checked + span { color: var(--catalog-green); font-weight: 600; }
.sort-options input:checked + span .sort-check { border-color: var(--catalog-green); color: white; background: var(--catalog-green); }
.sheet-handle { display: none; }
.catalog-sheet { overflow: hidden; opacity: 0; transform: translateY(10px) scale(.99); transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1); }
.catalog-sheet.is-visible { opacity: 1; transform: none; }
.catalog-sheet.motion-disabled { transition: none; }
.catalog-sheet .control-sheet { max-height: min(760px, calc(100dvh - 28px)); overflow: auto; overscroll-behavior: contain; }
.catalog-sheet::backdrop { opacity: 0; background: rgba(18, 20, 17, .42); backdrop-filter: blur(1.5px); transition: opacity .18s ease; }
.catalog-sheet.is-visible::backdrop { opacity: 1; }
.catalog-sheet.motion-disabled::backdrop { transition: none; }

.shortlist-bar { position: fixed; right: 20px; bottom: 20px; z-index: 24; display: flex; gap: 18px; align-items: center; min-height: 58px; padding: 0 8px 0 20px; color: white; background: var(--catalog-green); box-shadow: 0 12px 36px rgba(23, 30, 25, .22); }
.shortlist-bar > span { font-size: .8125rem; }
.shortlist-bar strong { font-size: 1rem; }
.shortlist-bar button { min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .3); color: white; background: transparent; font-size: .75rem; font-weight: 700; cursor: pointer; }
.shortlist-items { max-height: 440px; overflow: auto; padding: 8px 24px; }
.shortlist-items > div { display: grid; grid-template-columns: 54px minmax(0, 1fr) 44px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--catalog-line); }
.shortlist-items img { width: 54px; height: 68px; object-fit: cover; background: #ece6dc; }
.shortlist-items span { min-width: 0; }
.shortlist-items strong { display: block; overflow: hidden; font-size: .8125rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.shortlist-items small { display: block; margin-top: 4px; color: var(--catalog-muted); font-size: .6875rem; }
.shortlist-items .shortlist-colors { color: var(--catalog-green); white-space: normal; }
.shortlist-items button { width: 44px; height: 44px; border: 0; color: var(--catalog-muted); background: transparent; font-size: 1.25rem; cursor: pointer; }

.product-detail-dialog { width: min(980px, calc(100% - 40px)); height: min(650px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px); padding: 0; overflow: hidden; border: 0; color: var(--catalog-ink); background: var(--catalog-paper); }
.product-detail-dialog .dialog-grid { height: 100%; min-height: 0; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); overflow: hidden; }
.product-detail-dialog .dialog-media { min-height: 0; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
.product-detail-dialog .dialog-image { min-height: 0; height: auto; overflow: hidden; background: #ebe5da; }
.dialog-carousel, .dialog-slides, .dialog-slide { width: 100%; height: 100%; }
.dialog-carousel { position: relative; overflow: hidden; outline: none; }
.dialog-carousel:focus-visible { box-shadow: inset 0 0 0 3px var(--catalog-green); }
.dialog-slides { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.dialog-slides::-webkit-scrollbar { display: none; }
.dialog-slide { flex: 0 0 100%; min-width: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.dialog-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.carousel-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(29, 29, 24, .2); border-radius: 50%; color: var(--catalog-ink); background: rgba(250, 247, 242, .9); cursor: pointer; transform: translateY(-50%); }
.carousel-arrow:disabled { opacity: .3; cursor: default; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 8px; color: white; background: rgba(29, 29, 24, .68); font-size: .6875rem; font-variant-numeric: tabular-nums; }
.product-detail-dialog .dialog-thumbs { min-height: 68px; padding: 8px 10px; }
.product-detail-dialog .dialog-thumbs button { flex-basis: 50px; width: 50px; height: 50px; }
.product-detail-dialog .dialog-copy { min-height: 0; overflow: auto; padding: 20px 24px 24px; overscroll-behavior: contain; }
.product-detail-dialog .dialog-copy h2 { margin: 10px 0 10px; font-family: var(--catalog-display); font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; }
.product-detail-dialog .dialog-copy > p { margin: 0; color: var(--catalog-muted); font-size: .8125rem; line-height: 1.55; }
.product-detail-dialog .dialog-close { flex: 0 0 44px; width: 44px; height: 44px; }
.product-detail-dialog .product-trace { margin: 16px 0; }
.product-detail-dialog .product-trace div { grid-template-columns: 112px minmax(0, 1fr); min-height: 38px; align-items: center; padding: 8px 0; font-size: .75rem; }
.product-detail-dialog .product-key-terms { margin-bottom: 0; }
.detail-action-panel { padding: 16px 0 18px; border-bottom: 1px solid var(--catalog-line); }
.product-detail-dialog .product-specs { margin-top: 0; }
.detail-pricing-disclaimer { margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--catalog-line); font-size: .6875rem !important; }
.detail-colors { margin: 0; padding: 0; border: 0; }
.detail-colors legend { margin-bottom: 5px; padding: 0; color: var(--catalog-muted); font-size: .75rem; }
.detail-colors > p { margin: 0 0 10px; color: var(--catalog-muted); font-size: .6875rem; line-height: 1.45; }
.detail-colors > div { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-color-choice { display: inline-grid; grid-template-columns: auto auto; gap: 7px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--catalog-line); color: var(--catalog-ink); background: transparent; font-size: .75rem; text-align: left; cursor: pointer; transition: border-color .16s ease, background-color .16s ease; }
.detail-color-choice:hover { border-color: var(--catalog-ink); }
.detail-color-choice.selected { border-color: var(--catalog-green); background: color-mix(in srgb, var(--catalog-green) 8%, white); }
.detail-color-choice.image-overview { border-style: dotted; }
.detail-color-choice.image-unavailable { border-style: dashed; }
.detail-color-choice span { display: grid; gap: 2px; }
.detail-color-choice small { color: var(--catalog-muted); font-size: .625rem; font-weight: 500; line-height: 1.2; }
.detail-color-choice b { display: none; color: var(--catalog-green); font-size: .75rem; }
.detail-color-choice.selected b { display: inline; }
.color-image-status { min-height: 2.6em; margin: 9px 0 0; color: var(--catalog-muted); font-size: .6875rem; line-height: 1.45; }
.color-on-request { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border: 1px solid var(--catalog-line); color: var(--catalog-muted); font-size: .75rem; }
.detail-colors i { width: 12px; height: 12px; border-radius: 50%; background: var(--detail-color); box-shadow: 0 0 0 1px rgba(29, 29, 24, .16); }
.product-detail-dialog .dialog-tags { margin-top: 16px; }
.product-detail-dialog .dialog-tags span { font-size: .6875rem; }
.detail-select { width: 100%; min-height: 46px; margin-top: 16px; border: 0; font-weight: 700; cursor: pointer; }

html[lang="zh-CN"] body { font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-CN"] .shop-hero h1,
html[lang="zh-CN"] .control-sheet h2,
html[lang="zh-CN"] .product-detail-dialog .dialog-copy h2 { font-family: "Songti SC", STSong, "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif; letter-spacing: .01em; line-height: 1.12; }
html[lang="zh-CN"] .sheet-kicker { letter-spacing: .08em; }
html[lang="zh-CN"] .catalog-site-nav .nav-main { letter-spacing: .04em; }

@media (max-width: 1240px) {
  .shop-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .shop-hero { grid-template-columns: 1fr; gap: 12px; }
  .shop-hero > div { grid-template-columns: 1fr 1fr; gap: 24px; }
  .shop-layout { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .rail-item { grid-template-columns: 32px minmax(0, 1fr); }
  .rail-count { display: none; }
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .catalog-site-nav { height: 64px; padding: 0 14px; }
  .catalog-site-nav .brand { font-size: 1.02rem; }
  .catalog-header-inquiry { min-width: 42px; padding: 0 8px; }
  .catalog-header-inquiry span { display: none; }
  .shop-catalog { min-height: calc(100vh - 64px); }
  .shop-hero { padding: 24px 16px 20px; }
  .shop-hero > div { grid-template-columns: 1fr; gap: 12px; }
  .shop-hero h1 { max-width: 380px; font-size: clamp(2rem, 8vw, 2.25rem); line-height: 1.02; }
  .shop-hero p { font-size: .9375rem; line-height: 1.65; }
  .shop-layout { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 14px 10px 100px 8px; }
  .catalog-rail { top: 76px; gap: 6px; }
  .rail-item { grid-template-columns: 1fr; justify-items: center; min-height: 70px; padding: 5px 3px; text-align: center; }
  .rail-thumb { width: 26px; height: 32px; }
  .rail-name { display: block; width: 52px; padding-bottom: 1px; font-size: .625rem; line-height: 1.2; }
  .rail-count { display: none; }
  .catalog-tools { grid-template-columns: minmax(0, 1fr) 64px 62px; }
  .catalog-search > .search-icon { margin-left: 11px; }
  .catalog-search input { min-height: 46px; padding-right: 7px; font-size: .75rem; }
  .catalog-tools > button { gap: 4px; min-width: 0; padding: 0 5px; font-size: .6875rem; letter-spacing: 0; }
  .tool-icon { width: 13px; height: 13px; }
  .catalog-tools button b { position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; margin: 0; font-size: .5625rem; }
  .catalog-tools button i { display: none; }
  .results-summary { min-height: 40px; font-size: .6875rem; }
  .results-summary small { font-size: .6875rem; }
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 7px; }
  .shop-product-copy { padding: 7px 7px 0; }
  .shop-product-code { margin-bottom: 2px; font-size: .6875rem; }
  .shop-product-title { min-height: 44px; font-size: .75rem; line-height: 1.35; }
  .shop-card-meta { display: grid; gap: 5px; min-height: 43px; margin: 5px 0; }
  .color-swatches span { width: 12px; height: 12px; }
  .budget-chip { font-size: .625rem; white-space: normal; }
  .product-terms { justify-items: start; text-align: left; }
  .moq-chip { font-size: .5625rem; white-space: normal; }
  .select-product { justify-content: flex-end; min-height: 44px; margin-top: auto; padding: 0 2px; font-size: .5625rem; line-height: 1.1; }
  .select-product-icon { display: inline-grid; width: 18px; height: 18px; font-size: .625rem; }
  .select-product-label { display: none; }
  .shortlist-bar { right: 8px; bottom: 8px; left: 8px; justify-content: space-between; min-height: 56px; padding-left: 16px; }
  .control-dialog { width: 100%; max-width: none; max-height: calc(100dvh - 12px); margin: auto 0 0; }
  .catalog-sheet { border-radius: 6px 6px 0 0; opacity: 1; transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
  .catalog-sheet.is-visible { transform: translateY(var(--sheet-drag-y, 0)); }
  .catalog-sheet.is-dragging { transition: none; }
  .catalog-sheet .control-sheet { max-height: min(82dvh, 760px); }
  .catalog-sheet::backdrop { background: rgba(18, 20, 17, .38); backdrop-filter: blur(1px); transition: opacity .2s ease; }
  .control-sheet > header { padding: 30px 20px 18px; }
  .catalog-sheet .control-sheet > header { position: sticky; top: 0; z-index: 2; background: var(--catalog-paper); }
  .sheet-handle { position: absolute; top: 9px; left: 50%; display: block; width: 34px; height: 4px; border-radius: 999px; background: color-mix(in srgb, var(--catalog-ink) 26%, transparent); touch-action: none; transform: translateX(-50%); }
  .control-sheet fieldset { padding: 20px; }
  .control-sheet > footer { padding: 16px 20px 20px; }
  .filter-dialog .control-sheet > footer { position: sticky; bottom: 0; z-index: 2; padding-bottom: calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--catalog-line); background: var(--catalog-paper); }
  .product-detail-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; overflow-y: auto; overscroll-behavior: contain; }
  .product-detail-dialog .dialog-grid { display: block; height: auto; min-height: 100dvh; overflow: visible; }
  .product-detail-dialog .dialog-media { height: clamp(540px, 72dvh, 660px); grid-template-rows: minmax(0, 1fr) 60px; }
  .product-detail-dialog .dialog-image { min-height: 0; height: auto; }
  .product-detail-dialog .dialog-thumbs { min-height: 60px; padding: 5px 10px; }
  .product-detail-dialog .dialog-thumbs button { flex-basis: 48px; width: 48px; height: 48px; }
  .product-detail-dialog .dialog-copy { overflow: visible; padding: 20px 20px calc(28px + env(safe-area-inset-bottom)); }
  .product-detail-dialog .dialog-copy h2 { font-size: 1.85rem; }
  .product-detail-dialog .dialog-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); z-index: 2; width: 44px; height: 44px; background: var(--catalog-paper); }
  .carousel-arrow { display: none; }
  .carousel-count { right: 10px; bottom: 10px; }
}

@media (max-width: 350px) {
  .shop-layout { grid-template-columns: 54px minmax(0, 1fr); gap: 8px; padding-inline: 6px; }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .shop-product-title { font-size: .75rem; }
  .shop-product-code { font-size: .6875rem; }
  .budget-chip { font-size: .625rem; }
  .select-product { min-height: 44px; font-size: .625rem; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .shop-hero { grid-template-columns: 170px minmax(0, 1fr); padding-block: 20px; }
  .shop-hero > div { grid-template-columns: 1fr 1fr; }
  .shop-hero h1 { font-size: 2.45rem; }
  .shop-layout { grid-template-columns: 76px minmax(0, 1fr); padding-top: 14px; }
  .catalog-rail { top: 78px; }
  .rail-item { grid-template-columns: 26px minmax(0, 1fr); min-height: 46px; padding: 4px; text-align: left; }
  .rail-thumb { width: 24px; height: 29px; }
  .rail-name { width: auto; font-size: .625rem; }
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .catalog-sheet::backdrop { transition-duration: .01ms !important; }
}
