:root {
  color-scheme: light;
  --ink: #071f42; --muted: #67758a; --paper: #fff; --surface: #fff; --stage: #fff;
  --line: #cbd9ed; --line-soft: #e1e9f5; --line-strong: #a6bcda;
  --accent: #075bec; --accent-deep: #0649ba; --green: #159451; --amber: #d96a12; --red: #c44848; --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible, [data-image-zoom]:focus-visible { outline: 3px solid #76a8ff; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { width: 100%; min-height: 76px; padding: 12px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #fff; }
.brand { min-width: 0; display: flex; align-items: center; gap: 17px; text-decoration: none; }
.brand-logo { width: 50px; height: 50px; display: block; flex: 0 0 50px; object-fit: contain; }
.brand-name { font-size: 27px; font-weight: 850; letter-spacing: .035em; line-height: 1.3; white-space: nowrap; }
.brand-divider { width: 1px; height: 28px; margin: 0 7px; flex: 0 0 auto; background: #b5c5da; }
.brand-descriptor { font-size: 21px; font-weight: 600; white-space: nowrap; }
.header-note { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; color: #33435c; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.live-dot { width: 10px; height: 10px; flex: 0 0 auto; background: var(--green); border-radius: 50%; }
.hero { min-height: 294px; position: relative; overflow: hidden; background-color: #e7f2ff; background-image: url("./assets/yuanen-hero.png"); background-repeat: no-repeat; background-size: cover; background-position: center 38%; }
.hero-inner { width: 100%; max-width: 1520px; min-height: 294px; margin: 0 auto; padding: 30px 76px; display: flex; align-items: center; }
.hero-copy { width: 59%; max-width: 670px; position: relative; }
.hero-eyebrow { width: fit-content; margin: 0 0 17px; padding-bottom: 13px; position: relative; font-size: 19px; line-height: 1.3; font-weight: 750; letter-spacing: .035em; }
.hero-eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(32px, 3.3vw, 47px); font-weight: 850; line-height: 1.18; letter-spacing: 0; white-space: nowrap; }
.hero h1 span { color: var(--accent); }
.hero-text { margin: 10px 0 0; color: #485b77; font-size: 21px; line-height: 1.5; letter-spacing: .06em; }
.hero-cta { min-width: 205px; min-height: 46px; width: fit-content; margin-top: 20px; padding: 10px 28px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 26px; text-decoration: none; font-size: 18px; font-weight: 750; line-height: 1.35; transition: background .16s, border-color .16s; }
.hero-cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.hero-cta img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.hero-metrics { display: none; }
.catalog-shell { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 32px 48px; scroll-margin-top: 12px; }
.category-tabs { min-width: 0; min-height: 76px; padding: 17px 0 16px; display: flex; align-items: center; gap: 18px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #cbd9ed transparent; }
.category-tab { min-height: 42px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; font-weight: 650; white-space: nowrap; transition: color .16s, background .16s, border-color .16s; }
.category-tab span { font-size: 13px; font-weight: 600; }
.category-tab:not(.active) span { color: var(--muted); }
.category-tab.active { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 750; }
.category-tab:hover:not(.active) { color: var(--accent); background: #f4f8ff; border-color: #83a9e9; }
.category-tab.today i { width: 6px; height: 6px; display: inline-block; background: var(--green); border-radius: 50%; }
.filter-panel { min-width: 0; min-height: 76px; padding: 13px 0 14px; display: grid; grid-template-columns: minmax(220px, 1fr) 140px 150px auto; gap: 14px; align-items: center; }
.search-wrap, .select-wrap { min-width: 0; }
.search-box { min-width: 0; height: 43px; padding: 0 2px 0 14px; display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .16s, box-shadow .16s; }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #e7efff; }
.search-icon { width: 20px; height: 20px; flex: 0 0 auto; opacity: .55; }
.search-box input { width: 0; min-width: 0; height: 40px; padding: 0; flex: 1; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 14px; }
.search-box input::placeholder { color: #7a879b; opacity: 1; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.clear-search { width: 40px; min-height: 40px; padding: 12px; display: grid; place-items: center; flex: 0 0 auto; background: transparent; border: 0; border-radius: 8px; }
.clear-search img { width: 12px; height: 12px; opacity: .45; }
.clear-search:hover { background: #f0f5fd; }
.select-wrap select { width: 100%; min-height: 43px; padding: 8px 37px 8px 15px; color: var(--ink); background-color: #fff; background-image: url("./assets/icons/chevron-down.svg"); background-repeat: no-repeat; background-position: right 13px center; background-size: 13px; border: 1px solid var(--line); border-radius: 10px; appearance: none; font-size: 14px; line-height: 1.3; }
.stock-tabs { min-width: 0; display: flex; align-items: center; gap: 6px; }
.stock-tab { min-height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; color: #334560; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; font-size: 12px; line-height: 1.2; white-space: nowrap; transition: color .16s, background .16s, border-color .16s; }
.stock-tab span { color: #8090a5; font-size: 10px; font-variant-numeric: tabular-nums; }
.stock-tab.active { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 700; }
.stock-tab.active span { color: #fff; opacity: .8; }
.stock-tab:hover:not(.active) { color: var(--accent); background: #f4f8ff; border-color: #8daee2; }
.result-head { min-height: 72px; padding: 11px 1px 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#resultTitle { margin: 0; font-size: 28px; font-weight: 850; line-height: 1.4; }
#resultMeta { color: #65738a; font-size: 16px; line-height: 1.5; text-align: right; }
.catalog-grid { min-width: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 10px; align-items: stretch; }
.catalog-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 5px rgba(7,31,66,.025); transition: border-color .16s, box-shadow .16s; }
.catalog-card:hover { border-color: #8faee0; box-shadow: 0 4px 12px rgba(7,31,66,.07); }
.card-image { position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate; background: var(--stage); }
.card-image img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; object-fit: contain; object-position: center bottom; transition: transform .2s; }
.card-image img[data-image-zoom], .dialog-image img[data-image-zoom] { cursor: zoom-in; }
.catalog-card:hover .card-image img { transform: scale(1.025); }
.image-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: #a2b3cc; background: var(--stage); font-size: 25px; font-weight: 750; line-height: 1; letter-spacing: .04em; }
.code-label { position: absolute; z-index: 2; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 7px; overflow: hidden; color: #425673; background: rgba(255,255,255,.94); border: 1px solid #dce5f2; border-radius: 5px; font-size: 10px; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.new-badge { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 5px 7px; color: #fff; background: var(--accent); border-radius: 5px; font-size: 10px; font-weight: 700; line-height: 1.2; }
.card-body { min-height: 152px; padding: 10px 12px 12px; }
.card-kicker { min-width: 0; min-height: 18px; margin-bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.card-category { min-width: 0; margin: 0; flex: 1; overflow: hidden; color: #64758d; font-size: 11px; font-weight: 500; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.fulfillment-tag { max-width: 56%; padding: 3px 5px 2px; overflow: hidden; flex: 0 0 auto; border: 1px solid; border-radius: 4px; font-size: 9px; font-weight: 600; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.fulfillment-tag.machine { color: #356f99; background: #f1f7fd; border-color: #ccdff0; }
.fulfillment-tag.digital { color: #697b88; background: #f6f8fa; border-color: #dce4ec; }
.card-body h2 { min-width: 0; margin: 2px 0 0; }
.detail-button { width: 100%; min-height: 40px; padding: 0; overflow: hidden; color: var(--ink); background: transparent; border: 0; font-size: 18px; font-weight: 750; line-height: 1.3; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.detail-button:hover, .detail-button:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.stock-state { margin: 0 0 9px; color: var(--green); font-size: 12px; font-weight: 650; line-height: 1.3; }
.stock-state.low, .stock-state.part { color: var(--amber); }
.stock-state.out { color: var(--red); }
.stock-state.unrecorded, .stock-state.stopped { color: var(--muted); }
.size-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line-soft); border-radius: 9px; }
.size-pill { min-width: 0; min-height: 55px; padding: 7px 3px 6px; background: #fbfcff; border-left: 1px solid var(--line-soft); text-align: center; }
.size-pill:first-child { border-left: 0; border-radius: 8px 0 0 8px; }
.size-pill:last-child { border-radius: 0 8px 8px 0; }
.size-pill span { display: block; overflow: hidden; color: #6c7a8f; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.size-pill strong { display: block; margin-top: 7px; overflow: hidden; font: 650 14px/1.15 "Arial", "PingFang SC", "Microsoft YaHei", sans-serif; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.size-pill.total strong { color: var(--ink); font-weight: 750; }
.size-pill.low strong, .size-pill.part strong { color: var(--amber); }
.size-pill.out strong { color: var(--red); }
.size-pill.unrecorded strong, .size-pill.stopped strong { color: var(--muted); font-family: inherit; font-size: 11px; }
.card-meta { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.skeleton-card { height: 375px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.skeleton-image { aspect-ratio: 1; background: #edf3fb; animation: pulse 1.1s infinite alternate ease-in-out; }
.skeleton-line { height: 11px; margin: 16px 12px 0; background: #e8eff9; border-radius: 4px; animation: pulse 1.1s infinite alternate ease-in-out; }
.skeleton-line.short { width: 52%; margin-top: 11px; }
@keyframes pulse { from { opacity: .45; } to { opacity: 1; } }
.empty-state { padding: 58px 24px; text-align: center; background: #f8fbff; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state strong { display: block; font-size: 23px; font-weight: 700; }
.empty-state p { margin: 12px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.empty-state button, .load-more { min-height: 44px; padding: 10px 23px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 9px; font-size: 14px; font-weight: 600; }
.empty-state button:hover, .load-more:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.load-error { grid-column: 1 / -1; }
.load-more-wrap { display: grid; place-items: center; padding-top: 26px; }
.load-more { min-width: 160px; }
.load-more:disabled { opacity: .55; cursor: wait; }
.detail-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: auto; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 80px rgba(7,31,66,.22); }
.detail-dialog::backdrop { background: rgba(7,24,48,.6); }
.dialog-close { position: sticky; z-index: 3; top: 12px; float: right; min-width: 60px; min-height: 40px; margin: 12px 12px 0 0; color: #344f73; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.dialog-close:hover { color: var(--accent); border-color: var(--accent); }
.dialog-layout { display: grid; grid-template-columns: minmax(300px,.9fr) minmax(0,1.1fr); }
.dialog-image { min-height: 480px; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: var(--stage); }
.dialog-image > * { grid-area: 1 / 1; }
.dialog-image img { z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.dialog-content { min-width: 0; padding: 58px 28px 30px; }
.dialog-content .dialog-kicker { margin-bottom: 12px; justify-content: flex-start; }
.dialog-content .card-category { flex: 0 1 auto; font-size: 12px; }
.dialog-content .fulfillment-tag { padding: 4px 7px; font-size: 10px; }
.dialog-content h2 { margin: 0; font-size: 29px; font-weight: 750; line-height: 1.3; }
.dialog-code { margin: 10px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.dialog-total { min-height: 68px; margin-bottom: 18px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ink); background: #eef5ff; border: 1px solid #d7e5fb; border-radius: 10px; }
.dialog-total span { font-size: 12px; }
.dialog-total strong { color: var(--accent); font: 750 27px/1.2 "Arial", "Microsoft YaHei", sans-serif; font-variant-numeric: tabular-nums; }
.sku-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.sku-table th, .sku-table td { padding: 12px 7px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.sku-table th { color: var(--muted); font-weight: 500; }
.sku-table td { line-height: 1.6; }
.sku-table td span { overflow-wrap: anywhere; }
.sku-table td strong { font-size: 13px; }
.sku-status { color: var(--green); font-weight: 650; }
.sku-status.low, .sku-status.part { color: var(--amber); }
.sku-status.out { color: var(--red); }
.sku-status.unrecorded, .sku-status.stopped { color: var(--muted); }
.dialog-updated { margin: 18px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.image-zoom-dialog { width: min(1180px, calc(100vw - 24px)); height: min(900px, calc(100dvh - 24px)); max-width: none; max-height: none; padding: 0; overflow: hidden; color: #fff; background: #122039; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; box-shadow: 0 24px 90px rgba(0,0,0,.42); }
.image-zoom-dialog::backdrop { background: rgba(5,15,33,.86); backdrop-filter: blur(3px); }
.image-zoom-close { position: absolute; z-index: 2; top: 12px; right: 12px; min-width: 62px; min-height: 42px; color: #fff; background: #233954; border: 1px solid #74859a; border-radius: 8px; font-size: 12px; }
.image-zoom-close:hover { background: var(--accent); border-color: #8cb3ff; }
.image-zoom-stage { width: 100%; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; }
.image-zoom-stage img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: contain; }
.image-zoom-stage figcaption { min-height: 42px; padding: 12px 76px 11px 16px; overflow: hidden; color: #d0dbeb; font-size: 12px; line-height: 19px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none !important; }
.site-footer { max-width: 1520px; margin: 0 auto; padding: 27px 32px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.footer-brand { display: flex; align-items: center; gap: 15px; font-size: 11px; }
.footer-brand strong { color: #334f72; font-size: 13px; font-weight: 650; }
.site-footer p { margin: 0; font-size: 11px; line-height: 1.8; text-align: right; }
@media (min-width: 1521px) { .site-header { max-width: 1600px; margin: 0 auto; } }
@media (max-width: 1279px) {
  .site-header { padding-left: 28px; padding-right: 28px; gap: 18px; }
  .brand { gap: 12px; } .brand-name { font-size: 23px; } .brand-descriptor { font-size: 17px; } .brand-divider { margin: 0 3px; }
  .header-note { font-size: 12px; gap: 7px; }
  .hero-inner { padding-left: 52px; padding-right: 52px; } .hero h1 { font-size: 40px; } .hero-text { font-size: 18px; }
  .category-tabs { gap: 12px; } .category-tab { padding-left: 16px; padding-right: 16px; font-size: 14px; }
  .filter-panel { grid-template-columns: minmax(200px,1fr) 125px 130px auto; gap: 10px; }
  .stock-tab { padding: 0 7px; font-size: 11px; } .stock-tab span { font-size: 9px; } .stock-tabs { gap: 4px; }
  .card-body { padding-left: 9px; padding-right: 9px; } .detail-button { font-size: 16px; } .size-pill strong { font-size: 12px; }
}
@media (max-width: 1180px) {
  .filter-panel { grid-template-columns: minmax(250px,1fr) 150px 160px; row-gap: 10px; }
  .stock-tabs { grid-column: 1 / -1; gap: 8px; } .stock-tab { min-height: 40px; padding: 0 15px; font-size: 13px; } .stock-tab span { font-size: 11px; }
  .catalog-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } .hero-copy { width: 63%; }
}
@media (max-width: 980px) {
  .hero { background-image: url("./assets/yuanen-hero-mobile.png"); }
  .site-header { padding-left: 24px; padding-right: 24px; } .brand-name { font-size: 20px; } .brand-logo { width: 44px; height: 44px; flex-basis: 44px; } .brand-descriptor { font-size: 14px; } .brand-divider { height: 24px; }
  .header-note { max-width: 190px; font-size: 10px; }
  .hero, .hero-inner { min-height: 280px; } .hero-inner { padding-left: 36px; padding-right: 36px; } .hero h1 { font-size: 34px; } .hero-eyebrow { font-size: 16px; } .hero-text { font-size: 16px; }
  .hero-cta { min-width: 180px; min-height: 44px; font-size: 16px; }
  .catalog-shell { padding-left: 24px; padding-right: 24px; } .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .dialog-layout { grid-template-columns: 1fr; } .dialog-image { min-height: 300px; max-height: 46dvh; } .dialog-content { padding-top: 26px; }
  .site-footer { padding-left: 24px; padding-right: 24px; align-items: flex-start; } .footer-brand { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 88px; padding: 12px 18px 10px; display: grid; grid-template-columns: 1fr; gap: 7px; }
  .brand { width: fit-content; display: grid; grid-template-columns: 42px auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 3px; }
  .brand-logo { width: 42px; height: 42px; grid-row: 1 / 3; grid-column: 1; } .brand-name { grid-column: 2; grid-row: 1; font-size: 18px; letter-spacing: .025em; } .brand-descriptor { grid-column: 2; grid-row: 2; font-size: 11px; font-weight: 500; letter-spacing: .035em; } .brand-divider { display: none; }
  .header-note { max-width: none; padding-left: 54px; justify-content: flex-start; gap: 6px; font-size: 10px; } .live-dot { width: 7px; height: 7px; }
  .hero { min-height: 340px; background-image: url("./assets/yuanen-hero-mobile.png"); background-size: auto 234px; background-position: right bottom; } .hero-inner { min-height: 340px; padding: 24px 24px 148px; align-items: flex-start; } .hero-copy { width: 100%; max-width: none; }
  .hero-eyebrow { margin-bottom: 11px; padding-bottom: 8px; font-size: 14px; } .hero-eyebrow::after { width: 35px; height: 2px; } .hero h1 { font-size: 30px; line-height: 1.25; } .hero-text { margin-top: 8px; font-size: 14px; letter-spacing: .025em; }
  .hero-cta { min-width: 158px; min-height: 42px; margin-top: 15px; padding: 9px 18px; gap: 7px; font-size: 14px; } .hero-cta img { width: 14px; height: 14px; }
  .catalog-shell { padding: 0 18px 32px; } .category-tabs { min-height: 69px; margin-right: -18px; padding: 13px 18px 13px 0; gap: 9px; } .category-tab { min-height: 42px; padding: 0 16px; gap: 7px; font-size: 13px; border-radius: 9px; } .category-tab span { font-size: 11px; }
  .filter-panel { min-height: 0; padding-top: 14px; padding-bottom: 7px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .search-wrap { grid-column: 1 / -1; }
  .search-box { height: 44px; padding-left: 12px; gap: 10px; } .search-box input { font-size: 13px; } .search-icon { width: 18px; height: 18px; } .select-wrap select { min-height: 44px; font-size: 13px; }
  .stock-tabs { max-width: none; min-height: 44px; margin-right: -18px; padding-right: 18px; overflow-x: auto; gap: 6px; scrollbar-width: none; } .stock-tabs::-webkit-scrollbar { display: none; } .stock-tab { min-height: 40px; padding: 0 11px; font-size: 12px; } .stock-tab span { font-size: 10px; }
  .result-head { min-height: 67px; padding-top: 10px; padding-bottom: 16px; gap: 12px; } #resultTitle { font-size: 22px; } #resultMeta { max-width: 45%; font-size: 12px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 10px; } .card-body { min-height: 145px; padding: 9px 9px 11px; } .card-category { font-size: 10px; } .card-kicker { min-height: 18px; gap: 4px; } .fulfillment-tag { padding: 3px 4px 2px; font-size: 8px; } .detail-button { min-height: 40px; font-size: 16px; } .stock-state { margin-bottom: 8px; font-size: 11px; }
  .size-list { border-radius: 7px; } .size-pill { min-height: 51px; padding: 6px 2px; } .size-pill span { font-size: 9px; } .size-pill strong { margin-top: 6px; font-size: 12px; } .size-pill.unrecorded strong, .size-pill.stopped strong { font-size: 10px; }
  .code-label { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 3px 5px; font-size: 9px; } .new-badge { top: 8px; right: 8px; padding: 4px 5px; font-size: 9px; } .skeleton-card { height: 320px; }
  .detail-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; } .dialog-content { padding: 22px 16px 25px; overflow-x: auto; } .dialog-content h2 { font-size: 25px; } .dialog-code { margin-bottom: 17px; font-size: 11px; } .dialog-image { min-height: 260px; max-height: 43dvh; } .sku-table { min-width: 520px; } .dialog-total { min-width: 0; } .dialog-total strong { font-size: 24px; }
  .image-zoom-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); border-radius: 10px; } .image-zoom-close { top: 10px; right: 10px; } .image-zoom-stage figcaption { padding: 12px 16px; font-size: 11px; }
  .site-footer { padding: 22px 18px 26px; display: grid; gap: 13px; } .footer-brand { gap: 5px; } .site-footer p { max-width: 340px; font-size: 10px; text-align: left; }
}
@media (max-width: 420px) {
  .hero, .hero-inner { min-height: 348px; } .hero { background-size: auto 208px; background-position: right -16px bottom; } .hero-inner { padding: 23px 20px 142px; } .hero h1 { max-width: 330px; font-size: 27px; line-height: 1.3; } .hero-text { font-size: 12px; }
}
@media (max-width: 360px) {
  .site-header { padding-left: 14px; padding-right: 14px; } .brand-name { font-size: 16px; } .brand-descriptor { font-size: 10px; } .hero-inner { padding-left: 16px; padding-right: 16px; } .hero h1 { font-size: 24px; } .hero-text { font-size: 11px; }
  .catalog-shell { padding-left: 12px; padding-right: 12px; } .category-tabs, .stock-tabs { margin-right: -12px; padding-right: 12px; } .catalog-grid { gap: 10px 8px; } .card-body { padding-left: 7px; padding-right: 7px; } .detail-button { font-size: 14px; } .size-pill strong { font-size: 11px; } .site-footer { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
