:root {
  --ink: #233044;
  --muted: #778498;
  --accent: #1677ff;
  --cream: #f5f7fb;
  --line: #e6eaf1;
  --white: #fff;
  --radius: 14px;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 14px; line-height: 1.7; }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .82; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { touch-action: manipulation; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 28px; line-height: 1.4; overflow-wrap: anywhere; }
h2 { font-size: 20px; line-height: 1.5; margin-bottom: 20px; }
h3 { font-size: 17px; margin-bottom: 10px; }
p { margin-bottom: 16px; }
.header { color: #fff; background: var(--accent); }
.header-inner { max-width: 1120px; margin: auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; gap: 10px; align-items: center; min-width: 0; color: inherit; font-weight: 700; font-size: 21px; line-height: 1.4; }
.brand > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.brand small { display: block; font-size: 10px; font-weight: 400; color: #e3efff; margin-top: 3px; letter-spacing: 1px; }
.brand-mark { flex-shrink: 0; color: #fff; border: 1px solid #ffffff66; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 28px; }
.header nav { display: flex; gap: 22px; font-size: 13px; white-space: nowrap; }
.header nav a { color: #fff; }
.dev-banner { padding: 8px 20px; background: #fff1cb; color: #8b6727; text-align: center; font-size: 12px; }
.container { max-width: 1120px; margin: 0 auto; padding: 32px 24px 40px; min-height: 75vh; }
.storefront-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.storefront-head > div { min-width: 0; }
.storefront-title { font-size: 28px; margin-bottom: 7px; }
.storefront-head .eyebrow { margin-bottom: 7px; }
.storefront-head p:last-child { margin-bottom: 0; }
.eyebrow { font-size: 11px; color: var(--muted); letter-spacing: 1px; margin-bottom: 16px; }
.button { background: var(--accent); color: #fff; border: 1px solid transparent; border-radius: 8px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; line-height: 1.5; transition: background .15s; }
.button:hover { background: #0967e8; opacity: 1; }
.button:disabled { background: #adbdd1; cursor: not-allowed; }
.button.small { padding: 9px 14px; font-size: 12px; gap: 8px; }
.button.ghost { border-color: #d5e5fb; background: #f3f8ff; color: #1769cf; }
.button.ghost:hover { background: #e5f0ff; }
.button.full { width: 100%; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.section-title h2, .section-title h3 { margin: 0; }
.section-title .eyebrow { margin-bottom: 8px; }
.muted { color: var(--muted); }
.card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 6px #23304403; }
.announcement-card { margin-bottom: 28px; border-color: #dbe8fb; background: #fff; }
.announcement-card h2 { font-size: 16px; color: #1769cf; margin-bottom: 10px; }
.announcement-card p { margin-bottom: 0; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; }
.category-tab { max-width: 100%; padding: 7px 17px; border: 1px solid var(--line); background: #fff; color: #57667a; border-radius: 8px; font-size: 13px; overflow-wrap: anywhere; }
.category-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-cover { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; background: #edf3fd; overflow: hidden; }
.product-cover:hover { opacity: 1; }
.product-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { display: grid; place-items: center; color: #9bb8e5; font-size: 66px; line-height: 1; }
.cover-label { font-size: 12px; color: #8199bc; margin-top: 12px; }
.product-body { padding: 22px; }
.product-body h3 { line-height: 1.6; overflow-wrap: anywhere; }
.product-body h3 a { color: var(--ink); }
.product-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; margin-bottom: 13px; }
.product-meta .muted { overflow-wrap: anywhere; }
.pill { display: inline-block; font-size: 11px; line-height: 1.6; border-radius: 5px; padding: 3px 8px; background: #edf4ff; color: #3976c6; white-space: nowrap; }
.pill.success, .success { background: #e8f7ee; color: #218653; }
.pill.warning, .warning { background: #fff4dd; color: #9a6a16; }
.description { color: var(--muted); font-size: 12px; min-height: 61px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; }
.price { font-size: 25px; font-weight: 700; color: #f07b30; letter-spacing: -.5px; white-space: nowrap; }
.price small { font-size: 13px; margin-right: 4px; }
.footer { max-width: 1120px; margin: auto; padding: 24px; display: flex; gap: 16px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-credit { overflow-wrap: anywhere; }
.narrow { max-width: 640px; margin: 20px auto; }
.auth { max-width: 440px; margin-top: 50px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; margin: 0 0 20px; overflow-wrap: anywhere; }
.purchase-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.purchase-page { max-width: 720px; margin: 0 auto; }
.purchase-page > section { margin-bottom: 22px; }
.detail-gallery { overflow: hidden; padding: 0; }
.detail-image { display: block; width: 100%; height: auto; }
.checkout-card h1 { font-size: 25px; margin-bottom: 12px; }
.checkout-card > .muted { font-size: 13px; }
.product-description h2 { font-size: 18px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.product-description p { margin-bottom: 0; line-height: 1.9; }
.product-detail { padding: 36px; }
.detail-icon { font-size: 65px; color: #7fa7de; padding: 20px 0; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-price { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0; margin: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-box { background: var(--cream); padding: 18px; border-radius: 8px; color: var(--muted); font-size: 12px; }
.stack { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.stack > p { margin: 0; }
.shared-fields { margin-top: 0; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; min-width: 0; }
input:not([type=radio]):not([type=hidden]), textarea, select { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #dce2ec; border-radius: 8px; color: var(--ink); background: #fff; outline: none; font-size: 14px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #1677ff12; }
textarea { resize: vertical; }
.field-help { font-size: 12px; color: var(--muted); line-height: 1.8; }
.stack .field-help { margin-top: -10px; }
.centered { text-align: center; }
fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
legend { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.payment-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.payment-option { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px; }
.payment-option:has(input:checked) { background: #f1f7ff; border-color: var(--accent); }
input[type=radio] { accent-color: var(--accent); margin: 0; flex-shrink: 0; }
.pay-icon { height: 26px; width: 26px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 14px; flex-shrink: 0; }
.alipay { background: #2289ed; }
.wechat { background: #27ad60; }
.total { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.total strong { font-size: 24px; color: #f07b30; white-space: nowrap; }
.order-card { padding: 34px; }
.status-header { text-align: center; }
.status-icon { display: grid; place-items: center; border-radius: 50%; background: #edf4ff; font-size: 28px; height: 62px; width: 62px; margin: 0 auto 20px; color: var(--accent); }
.status-header .eyebrow { margin-bottom: 8px; }
.status-header h1 { font-size: 24px; }
.status-header p { font-size: 13px; }
.bill-amount { text-align: center; font-size: 36px; font-weight: 700; margin: 26px 0; color: #f07b30; }
.details { margin: 26px 0; }
.details > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.details dt { color: var(--muted); flex-shrink: 0; }
.details dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.mono { font-family: Consolas, monospace; font-size: 11px; }
.break { overflow-wrap: anywhere; }
.countdown { padding: 14px; text-align: center; background: #f0f5fd; border-radius: 8px; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.countdown strong { margin-left: 10px; color: var(--ink); font-variant-numeric: tabular-nums; }
.delivery-box { padding: 20px; background: #f0f7ff; border: 1px solid #d4e6fc; border-radius: 10px; margin-top: 24px; }
.delivery-box pre { font: 13px/1.9 Consolas, "Microsoft YaHei", monospace; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.delivery-box h3 { font-size: 15px; }
.delivery-box .section-title { margin-bottom: 12px; }
.notice { padding: 14px 18px; background: #eaf5eb; color: #386c40; border-radius: 8px; font-size: 13px; margin-bottom: 22px; overflow-wrap: anywhere; }
.notice.warning { background: #fff4dd; color: #9a6a16; }
.order-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding-top: 20px; font-size: 13px; }
.back-link { display: block; text-align: center; margin-top: 24px; font-size: 13px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty h1 { color: var(--ink); }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 8px 0 20px; }
.admin-top h1 { margin-bottom: 0; font-size: 27px; }
.admin-top .eyebrow { margin-bottom: 6px; }
.admin-nav { display: flex; gap: 25px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); overflow-x: auto; white-space: nowrap; font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat { padding: 22px; }
.stat span { display: block; font-size: 12px; color: var(--muted); }
.stat strong { display: block; font-size: 27px; margin-top: 10px; letter-spacing: -.5px; overflow-wrap: anywhere; }
.table-wrap { max-width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; }
th { font-size: 12px; color: var(--muted); font-weight: 500; padding: 12px; background: var(--cream); white-space: nowrap; }
td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
td small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
td time { white-space: nowrap; font-size: 11px; }
.truncate { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inline-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.text-button { border: 0; background: none; padding: 0; color: var(--accent); font-size: 13px; }
.danger { color: #c64c4c; }
.filters { display: flex; gap: 16px; align-items: end; margin-bottom: 24px; }
.filters label { min-width: 0; flex: 1; }
.filters .button { margin-bottom: 2px; }
.pagination { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-top: 24px; color: var(--muted); font-size: 13px; }
.import-card { margin-top: 24px; }
.stock-content { min-width: 240px; max-width: 450px; font-family: Consolas, monospace; font-size: 12px; }
.admin-product-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 7px; background: #edf3fd; font-size: 32px; max-width: none; }
.image-uploader { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.image-uploader legend { padding: 0 6px; margin-bottom: 0; }
.image-picker { margin-top: 14px; padding: 12px; border-radius: 8px; background: #f3f7fd; color: #3976c6; }
.image-picker input[type=file] { padding: 8px; font-size: 12px; background: #fff; }
.image-preview-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.image-preview { min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.image-preview img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.upload-remove { width: 100%; padding: 6px 3px; border: 0; border-top: 1px solid var(--line); color: #c64c4c; background: #fff; font-size: 12px; }
.upload-remove:disabled { color: var(--muted); cursor: wait; }
.upload-status { font-size: 12px; color: #3976c6; margin: 10px 0 0; overflow-wrap: anywhere; }
.upload-status:empty { display: none; }
.upload-status.error { color: #c64c4c; }
.image-empty { grid-column: 1 / -1; padding: 18px; text-align: center; font-size: 12px; color: var(--muted); background: var(--cream); border-radius: 8px; }
.image-uploader .field-help { margin: 10px 0 0; }
.category-row { display: flex; align-items: end; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.category-edit { display: flex; align-items: end; gap: 10px; flex: 1; min-width: 0; }
.category-edit label { flex: 1; }
.category-row > form:last-child { padding-bottom: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 950px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .header-inner { padding: 16px; gap: 12px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; font-size: 24px; }
  .brand small { font-size: 9px; }
  .header nav { gap: 14px; font-size: 12px; }
  .container { padding: 22px 14px 30px; }
  .storefront-head { align-items: flex-start; margin-bottom: 22px; }
  .storefront-head > .button { display: none; }
  .storefront-title { font-size: 24px; }
  .storefront-head .muted { font-size: 12px; }
  .card, .product-detail { padding: 20px; border-radius: 11px; }
  .announcement-card { margin-bottom: 22px; }
  .announcement-card h2 { font-size: 15px; }
  .announcement-card p { font-size: 13px; }
  .section-title { margin-bottom: 16px; gap: 10px; }
  .section-title h2 { font-size: 19px; }
  .section-title .muted { font-size: 12px; }
  .category-tabs { gap: 8px; margin-bottom: 18px; }
  .category-tab { padding: 6px 13px; font-size: 12px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .product-body { padding: 20px; }
  .description { min-height: 0; }
  .product-bottom { margin-top: 20px; }
  .product-cover { aspect-ratio: 4 / 3; }
  .product-placeholder { font-size: 64px; }
  .purchase-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .purchase-page > section { margin-bottom: 18px; }
  .detail-gallery { padding: 0; }
  .checkout-card h1 { font-size: 22px; }
  .product-description h2 { font-size: 17px; }
  .product-description p { font-size: 13px; }
  .detail-price { margin: 14px 0; padding: 14px 0; }
  .payment-options { gap: 10px; }
  .payment-option { font-size: 13px; padding: 14px 9px; gap: 7px; }
  .pay-icon { width: 24px; height: 24px; }
  .narrow { margin: 10px auto; }
  .auth { margin-top: 25px; }
  .order-card { padding: 24px 18px; }
  .status-header h1 { font-size: 22px; }
  .details > div { gap: 12px; font-size: 12px; }
  .mono { font-size: 10px; }
  .bill-amount { font-size: 32px; }
  .admin-top h1 { font-size: 23px; }
  .admin-nav { gap: 22px; font-size: 12px; }
  .stats-grid { gap: 12px; }
  .stat { padding: 17px; }
  .stat strong { font-size: 22px; }
  .filters { flex-wrap: wrap; gap: 12px; }
  .filters label { min-width: calc(50% - 12px); }
  .filters .button { width: 100%; }
  .delivery-box { padding: 15px; }
  .delivery-box pre { font-size: 12px; }
  .footer { padding: 20px 14px; font-size: 11px; flex-direction: column; gap: 9px; align-items: center; text-align: center; }
  .image-uploader { padding: 12px; }
  .image-preview-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .category-row { gap: 9px; }
  .category-edit { gap: 8px; }
  .category-edit .button { padding: 11px 10px; }
  .category-row .text-button { font-size: 12px; }
  .dev-banner { font-size: 11px; padding: 7px 14px; }
  h1 { font-size: 24px; }
  h2 { font-size: 19px; }
}

/* Public storefront: compact checkout on a light geometric background. */
.catalog-site {
  background-color: #eefaff;
  background-image: linear-gradient(139deg, transparent 0 69%, #b9e5ee52 69% 81%, transparent 81%), linear-gradient(35deg, #cceff45e 0 16%, transparent 16% 64%, #d5e8fa63 64% 80%, transparent 80%), linear-gradient(110deg, #effbfc, #f3f9ff);
  background-attachment: fixed;
  color: #566475;
}
.catalog-site .header { background: transparent; color: #3a8ec8; }
.catalog-site .header-inner { max-width: 1148px; padding: 24px; }
.catalog-site .brand { color: #3289c8; font-size: 25px; font-weight: 600; }
.catalog-site .brand-mark { color: #3289c8; border: 0; background: none; width: 28px; }
.catalog-site .brand small { display: none; }
.catalog-site .header nav a { color: #fff; background: linear-gradient(110deg, #328fe6, #00cbea); border-radius: 24px; padding: 10px 23px; font-size: 13px; box-shadow: 0 4px 10px #5488d418; }
.catalog-site .header nav a[href="/"] { display: none; }
.catalog-site .container { max-width: 1148px; padding-top: 12px; }
.catalog-site .purchase-page { max-width: 1100px; }
.catalog-site .card { border: 1px solid #e1ebf1; border-radius: 5px; background: #fff; box-shadow: 0 2px 5px #7b9bbb06; }
.catalog-site .store-announcement { margin-bottom: 20px; padding: 22px 27px; }
.catalog-site .panel-heading { color: #374151; font-size: 18px; font-weight: 600; line-height: 1.6; padding-bottom: 12px; margin: 0 0 19px; border-bottom: 1px solid #edf0f4; }
.catalog-site .panel-heading h2 { color: inherit; font-size: inherit; font-weight: inherit; margin: 0; }
.catalog-site .store-announcement > .prewrap { font-size: 15px; color: #4b5563; margin: 0; line-height: 1.9; }
.catalog-site .checkout-panel { padding: 25px 27px 23px; }
.catalog-site .checkout-layout { display: grid; grid-template-columns: minmax(0, 31fr) minmax(0, 69fr); gap: 22px 32px; align-items: start; }
.catalog-site .checkout-gallery { grid-column: 1; grid-row: 1; min-width: 0; background: #fff; }
.catalog-site .checkout-gallery .detail-image { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 3px; }
.catalog-site .checkout-gallery .detail-image + .detail-image { margin-top: 10px; }
.catalog-site .checkout-gallery .product-placeholder { min-height: 190px; font-size: 60px; color: #bed4e8; background: #f4f9fd; border-radius: 3px; }
.catalog-site form.checkout-form { display: contents; }
.catalog-site .checkout-form > input[type="hidden"] { display: none; }
.catalog-site .checkout-summary { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 2px; }
.catalog-site .product-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.catalog-site .product-title h1 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.6; color: #374151; }
.catalog-site .product-title .pill { font-size: 10px; padding: 2px 7px; border-radius: 4px; }
.catalog-site .checkout-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.catalog-site .checkout-price .price { color: #ff4b54; font-size: 28px; font-weight: 400; letter-spacing: 0; }
.catalog-site .checkout-price .price small { font-size: 16px; }
.catalog-site .purchase-quantity { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; color: #75869a; font-size: 13px; }
.catalog-site .purchase-quantity > span:last-child:not(:first-child) { width: 80px; padding: 4px 10px; border: 1px solid #e9eef4; border-radius: 4px; background: #f8fafc; color: #8d9db0; text-align: center; }
.catalog-site .purchase-quantity input { max-width: 90px; text-align: center; padding: 8px; }
.catalog-site .purchase-quantity > label { font-size: 13px; font-weight: 400; color: inherit; }
.catalog-site .quantity-control { display: flex; align-items: center; gap: 6px; }
.catalog-site .quantity-control button { width: 29px; height: 29px; padding: 0; border: 1px solid #aab5c3; border-radius: 50%; background: #fff; color: #657184; font-size: 23px; line-height: 1; }
.catalog-site .quantity-control button:disabled { opacity: .4; cursor: default; }
.catalog-site .quantity-control input { width: 62px; padding: 6px 4px; border-radius: 4px; appearance: textfield; -moz-appearance: textfield; }
.catalog-site .quantity-control input::-webkit-inner-spin-button, .catalog-site .quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.catalog-site .checkout-unit-price { font-size: 12px; color: #8a96a6; }
.catalog-site .checkout-summary > .quantity-error { color: #c2413d; }
.catalog-site label.contact-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; font-weight: 400; }
.catalog-site .contact-row > span { color: #75869a; }
.catalog-site .contact-row input { padding: 10px 12px; min-height: 40px; border-radius: 4px; background: #fff; font-size: 13px; border-color: #e2e8ef; }
.catalog-site .checkout-payments { position: relative; padding: 15px 0 0; min-height: 52px; margin: 0; border-top: 1px solid #edf0f4; }
.catalog-site .checkout-payments legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.catalog-site .checkout-payments .payment-options { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.catalog-site .checkout-payments .payment-option { position: relative; flex: 0 0 auto; min-width: 128px; flex-direction: row; justify-content: center; gap: 8px; padding: 10px 14px; border: 2px solid #e2e8ef; border-radius: 7px; background: #fff; font-size: 14px; font-weight: 400; color: #566475; }
.catalog-site .checkout-payments .payment-option:has(input:checked) { color: #1677ff; border-color: #1677ff; background: #f3f8ff; }
.catalog-site .checkout-payments .payment-option:has(input:focus-visible) { outline: 2px solid #1677ff; outline-offset: 3px; }
.catalog-site .checkout-payments .pay-icon { width: 24px; height: 24px; font-size: 13px; border-radius: 5px; }
.catalog-site .checkout-payments input[type="radio"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.catalog-site .checkout-summary > .field-help { margin: 0; padding-left: 0; color: #94a0ae; font-size: 11px; line-height: 1.8; }
.catalog-site .checkout-actions { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin: 2px 0 0; min-width: 0; }
.catalog-site .checkout-actions .button { width: 170px; min-height: 43px; padding: 11px 18px; border-radius: 24px; background: linear-gradient(110deg, #268fe4, #00cbea); font-size: 14px; font-weight: 400; box-shadow: 0 4px 9px #5488d420; }
.catalog-site .checkout-actions .button:disabled { background: #b3c4d4; color: #fff; box-shadow: none; }
.catalog-site .checkout-actions .field-help { margin: 0; font-size: 11px; color: #97a5b4; }
.catalog-site .product-description { padding: 22px 27px 26px; }
.catalog-site .product-description > p { color: #4b5563; font-size: 14px; line-height: 1.9; margin: 0; }
.catalog-site .footer { border: 0; max-width: 1148px; justify-content: center; flex-direction: column; gap: 7px; padding-top: 8px; padding-bottom: 24px; color: #90a5b7; font-size: 11px; background: transparent; }
.catalog-site .footer a { color: #7b9fba; font-size: 11px; }
.catalog-site .storefront-title { color: #4f6c86; font-weight: 500; }
.catalog-site .category-tab { border-radius: 4px; border-color: #dfeaf4; color: #7890a6; }
.catalog-site .category-tab.active { background: #4c9cdc; color: #fff; border-color: #4c9cdc; }
.catalog-site .product-card { border-color: #e1ebf1; border-radius: 5px; }
.catalog-site .lookup-method { padding: 20px 0 0; border-top: 1px solid var(--line); }
.catalog-site .lookup-method label { color: #45566b; }
.catalog-site .lookup-results .stack { gap: 14px; }
.catalog-site .lookup-result { padding: 19px; background: #fbfdff; }
.catalog-site .lookup-result h2 { font-size: 17px; margin-bottom: 10px; overflow-wrap: anywhere; }
.catalog-site .lookup-result > p { margin-bottom: 0; }
.catalog-site .lookup-result .details { margin: 10px 0 18px; }
.catalog-site .lookup-results .pagination { align-items: center; gap: 14px; }
@media (max-width: 700px) {
  .catalog-site .header-inner { padding: 19px 14px; gap: 12px; }
  .catalog-site .brand { font-size: 21px; gap: 6px; }
  .catalog-site .brand-mark { width: 24px; font-size: 24px; }
  .catalog-site .header nav { gap: 0; }
  .catalog-site .header nav a { padding: 8px 15px; font-size: 12px; }
  .catalog-site .container { padding: 8px 12px 24px; }
  .catalog-site .store-announcement { padding: 18px; margin-bottom: 17px; }
  .catalog-site .panel-heading { font-size: 18px; padding-bottom: 10px; margin-bottom: 16px; }
  .catalog-site .store-announcement > .prewrap { font-size: 14px; }
  .catalog-site .checkout-panel { padding: 18px; }
  .catalog-site .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .catalog-site .checkout-gallery { grid-column: 1; grid-row: 1; }
  .catalog-site .checkout-summary { grid-column: 1; grid-row: 2; gap: 13px; padding: 0; }
  .catalog-site .product-title h1 { font-size: 18px; }
  .catalog-site .checkout-price .price { font-size: 26px; }
  .catalog-site .purchase-quantity, .catalog-site label.contact-row { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
  .catalog-site .contact-row input { font-size: 14px; padding: 10px; }
  .catalog-site .checkout-payments { padding-left: 0; }
  .catalog-site .checkout-payments .payment-options { gap: 12px; }
  .catalog-site .checkout-payments .payment-option { min-width: 116px; gap: 7px; font-size: 13px; }
  .catalog-site .checkout-summary > .field-help { padding-left: 0; }
  .catalog-site .checkout-actions { grid-column: 1; grid-row: 3; margin-top: 1px; }
  .catalog-site .product-description { padding: 18px; }
  .catalog-site .product-description > p { font-size: 14px; }
  .catalog-site .footer { padding: 8px 14px 22px; }
}
