:root {
  color-scheme: light;
  --navy: #071a33;
  --navy-2: #0b2649;
  --ink: #08163b;
  --muted: #617598;
  --blue: #075df5;
  --blue-2: #178bff;
  --violet: #6e35ef;
  --green: #079c79;
  --line: #dce7f5;
  --soft: #f0f6fd;
  --paper: #fff;
  --shadow: 0 12px 38px rgba(27, 70, 126, .06);
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-heading: 20px;
  --text-page: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f9fcff; color: var(--ink); font-size: var(--text-sm); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img, svg { display: block; }
input, select { color: var(--ink); }
h1, h2, h3 { font-weight: 600; }
strong, b { font-weight: 600; }
time, .product-price, .purchase-price, .balance-amount strong, .profile-balance strong, .summary-line.total strong { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid #6db1ff; outline-offset: 2px; }
.icon { flex: none; }
.container { width: min(100% - 80px, 1440px); margin-inline: auto; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.blue-text { color: var(--blue); }
.green-text { color: var(--green); }
.eyebrow { color: var(--blue); font-weight: 600; font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; }
.site-header { position: relative; z-index: 20; color: #fff; background: linear-gradient(110deg, #06172f, #0a2243 58%, #06182f); box-shadow: 0 2px 15px #03112533; }
.header-inner { width: min(100% - 80px, 1440px); margin: auto; min-height: 72px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand-mark { color: #1d9cff; transform: rotate(-8deg); }
.brand strong { display: block; font-size: 24px; line-height: 1.05; letter-spacing: -.045em; }
.brand small { display: block; margin-top: 3px; font-size: var(--text-xs); line-height: 1.2; opacity: .84; white-space: nowrap; }
.desktop-nav { display: flex; align-items: stretch; gap: 24px; height: 72px; margin-left: 20px; white-space: nowrap; }
.desktop-nav a { display: grid; align-items: center; border-bottom: 2px solid transparent; color: #f0f6ff; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; border-color: #289aff; }
.header-search { height: 38px; min-width: 185px; max-width: 310px; flex: 1; margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: #d4e5ff; background: #ffffff18; border: 1px solid #ffffff19; border-radius: 8px; }
.header-search input { min-width: 0; flex: 1; color: #fff; border: 0; outline: 0; background: transparent; font-size: var(--text-sm); }
.header-search input::placeholder { color: #c0cee1; }
.header-search input::-webkit-search-cancel-button { filter: invert(1); }
.header-search kbd { padding: 1px 6px; font-size: 12px; border: 1px solid #ffffff25; border-radius: 4px; color: #d7e4f8; }
.header-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.header-text-button, .cart-button, .account-button, .mobile-menu-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; color: #fff; background: transparent; }
.header-text-button { font-size: var(--text-sm); }
.currency-label { font-size: var(--text-sm); }
.cart-button { position: relative; padding: 8px; }
.cart-button span { position: absolute; right: -2px; top: -4px; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #54a9ff; color: #04214b; font-size: 10px; font-weight: 800; }
.account-button { padding: 7px 9px; border: 1px solid #ffffff32; border-radius: 8px; font-size: var(--text-sm); }
.mobile-menu-button, .mobile-nav { display: none; }
.outline-button, .dark-button, .gradient-button, .glass-button, .light-button, .primary-button, .subtle-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border-radius: 7px; font-size: var(--text-sm); font-weight: 600; line-height: 1.3; text-align: center; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.outline-button { border: 1px solid #cddcf0; background: #fff; color: #0b2451; }
.outline-button:hover { border-color: #7fb3fb; color: var(--blue); }
.dark-button { border: 1px solid #081b36; color: #fff; background: linear-gradient(145deg, #0b2b58, #07182f); }
.dark-button:hover { background: #103a72; color: #fff; }
.gradient-button, .primary-button { border: 1px solid transparent; color: #fff; background: linear-gradient(105deg, #097dff, #164cf3 55%, #6b32eb); box-shadow: 0 7px 20px #125fe333; }
.gradient-button:hover, .primary-button:hover { color: #fff; filter: brightness(1.08); }
.glass-button { border: 1px solid #a6b8d05c; color: #fff; background: #07162b77; }
.glass-button:hover { background: #173a68aa; color: #fff; }
.light-button { border: 0; background: #fff; color: var(--navy); }
.subtle-button { border: 0; background: #edf4fd; color: #092450; }
.subtle-button:hover { background: #dcecff; }
.small { min-height: 34px; padding: 7px 16px; }
.wide { width: 100%; }
.large-button { min-height: 46px; font-size: var(--text-base); }
.link-button { padding: 0; border: 0; background: transparent; color: var(--blue); font-weight: 600; }
.link-button.danger { color: #d43b57; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #1c59d1; font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.preview-banner { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 29px; padding: 4px 20px; background: #eaf3ff; border-bottom: 1px solid #cfdef3; color: #31527f; font-size: var(--text-xs); text-align: center; }
.site-footer { margin-top: 48px; color: #e9f1ff; background: linear-gradient(110deg, #07182d, #0b2445 60%, #06172f); }
.footer-inner { width: min(100% - 80px, 1440px); margin: auto; min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner .brand strong { font-size: 21px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-inner nav a, .footer-inner > span { font-size: var(--text-xs); color: #d5e0f3; }
.footer-inner nav a:hover { color: #fff; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9ab4d6; }
.breadcrumb a:hover { color: #fff; }
.page-banner { min-height: 164px; color: #fff; background: linear-gradient(90deg, #05152bd9 0%, #061a35a8 47%, #06172a44 100%), url('./assets/hero-globe.png') center 49% / cover; }
.page-banner .container { padding-block: 19px 28px; }
.page-banner h1 { margin: 16px 0 3px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.2; }
.page-banner p { margin: 0; color: #d6e5fb; font-size: var(--text-base); }
.home-hero { min-height: 365px; color: #fff; background: linear-gradient(90deg, #04142bd9 0%, #051831a0 42%, #06132a11 75%), url('./assets/hero-globe.png') center / cover; }
.hero-content { min-height: 365px; display: flex; align-items: center; }
.hero-copy { max-width: 660px; padding: 25px 0 27px; }
.hero-kicker { display: block; margin-bottom: 14px; color: #c7dcfa; font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; }
.hero-copy h1 { max-width: 680px; margin: 0; font-size: clamp(34px, 3.3vw, 44px); line-height: 1.2; text-wrap: balance; }
.hero-copy p { max-width: 560px; margin: 14px 0 20px; color: #d6e5f9; font-size: var(--text-base); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions button { min-height: 44px; padding-inline: 21px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 31px; }
.feature { display: flex; align-items: center; gap: 8px; }
.feature-icon { display: grid; place-items: center; color: #87baff; }
.feature strong, .feature small { display: block; }
.feature strong { font-size: var(--text-sm); line-height: 1.3; }
.feature small { margin-top: 3px; color: #b7cbe8; font-size: var(--text-xs); line-height: 1.3; }
.section { margin-top: 30px; }
.section-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading { margin-bottom: 16px; }
.section-heading h2, .panel-heading h2 { margin: 0; font-size: var(--text-heading); }
.section-heading p, .panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: var(--text-sm); }
.product-grid { display: grid; gap: 12px; }
.home-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-grid.list-view { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.catalog-grid.list-view .product-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) 100px 176px; grid-template-areas: 'flag name price actions' 'flag chips stock actions'; align-items: center; gap: 2px 12px; min-height: 0; padding: 9px 12px; }
.catalog-grid.list-view .product-card-top { grid-area: flag; align-self: center; min-height: 0; }
.catalog-grid.list-view .product-symbol { width: 38px; height: 38px; }
.catalog-grid.list-view .badge { display: none; }
.catalog-grid.list-view .product-card h3 { grid-area: name; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); }
.catalog-grid.list-view .chips { grid-area: chips; }
.catalog-grid.list-view .product-price { grid-area: price; margin: 0; font-size: 18px; line-height: 1.15; }
.catalog-grid.list-view .stock { grid-area: stock; margin: 0; }
.catalog-grid.list-view .product-points { display: none; }
.catalog-grid.list-view .product-actions { grid-area: actions; margin: 0; padding: 0; }
.catalog-grid.list-view .product-actions > * { min-height: 32px; padding: 5px 8px; font-size: 13px; white-space: nowrap; }
.product-card { min-width: 0; display: flex; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 5px 18px #173d7008; }
.product-card-top { display: flex; align-items: start; justify-content: space-between; min-height: 39px; }
.flag { display: inline-block; flex: none; width: 49px; height: 33px; border: 1px solid #dce5f1; border-radius: 3px; overflow: hidden; line-height: 1; white-space: nowrap; box-shadow: 0 2px 5px #0c28531a; }
.flag svg { width: 100%; height: 100%; }
.flag.large { width: 70px; height: 47px; }
.flag.small-flag { width: 40px; height: 27px; }
.badge { align-self: start; padding: 3px 9px; border-radius: 20px; color: #fff; background: linear-gradient(100deg, #1d75fa, #6c37e5); font-size: var(--text-xs); font-weight: 600; }
.product-card h3 { margin: 6px 0 8px; font-size: var(--text-base); line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chips span { padding: 3px 8px; border-radius: 4px; color: #31507d; background: #edf3fa; font-size: var(--text-xs); line-height: 1.2; white-space: nowrap; }
.product-price { display: block; margin-top: 14px; color: #091638; font-size: 20px; }
.stock { display: block; margin-top: 3px; color: var(--green); font-size: 12px; }
.product-points { flex: 1; padding: 0; margin: 13px 0 15px; list-style: none; color: #365078; font-size: var(--text-xs); }
.product-points li { position: relative; padding-left: 16px; margin: 5px 0; }
.product-points li::before { content: '✓'; position: absolute; left: 0; color: #0e62cf; font-weight: 900; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: auto; padding-top: 10px; }
.product-actions button { min-height: 34px; padding: 7px 5px; font-size: var(--text-sm); }
.demo-tag { display: inline-flex; align-items: center; padding: 3px 8px; margin-left: 6px; border: 1px solid #bed5fb; border-radius: 20px; color: #2359b3; background: #f0f6ff; font-size: var(--text-xs); font-weight: 600; vertical-align: middle; white-space: nowrap; }
.home-info-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; margin-top: 12px; }
.process-panel, .supply-panel { min-height: 185px; padding: 22px 27px; border-radius: 9px; }
.process-panel { background: #edf4fd; }
.process-panel h2, .supply-panel h2 { margin: 6px 0 0; font-size: var(--text-heading); line-height: 1.3; }
.process-panel p, .supply-panel p { margin: 4px 0 12px; font-size: var(--text-sm); }
.process-panel p { color: #526b94; }
.steps { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.steps > div { min-width: 0; flex: 1; display: grid; grid-template-columns: 38px auto; grid-template-rows: 15px 18px 15px; column-gap: 8px; align-items: center; }
.step-icon { grid-row: 1 / 4; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--blue); background: #d9e8ff; }
.steps b { color: var(--blue); font-size: 12px; }
.steps strong { font-size: var(--text-sm); white-space: nowrap; }
.steps small { overflow: hidden; color: #60769a; font-size: var(--text-xs); white-space: nowrap; text-overflow: ellipsis; }
.steps > .icon { color: #41618e; }
.supply-panel { display: flex; flex-direction: column; align-items: start; justify-content: center; color: #fff; background: linear-gradient(90deg, #071a34c9, #071a3480), url('./assets/hero-globe.png') center / cover; }
.supply-panel p { max-width: 270px; color: #d2e5fa; }
.supply-panel button { margin-top: 8px; }
.faq-section { margin-bottom: 25px; }
.faq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.faq-grid.single { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-item { align-self: start; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.faq-item button { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 13px; border: 0; background: transparent; color: #173660; text-align: left; font-size: var(--text-sm); }
.faq-item p { margin: 0; padding: 0 13px 13px; color: var(--muted); font-size: var(--text-sm); }
.catalog-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 18px; align-items: start; padding-top: 24px; }
.filter-panel { padding: 17px; }
.filter-title { display: flex; align-items: center; justify-content: space-between; color: #17325d; }
.filter-title h2 { margin: 0; font-size: var(--text-base); }
.filter-group { padding: 16px 0; border-bottom: 1px solid #e3ecf7; }
.filter-group h3 { margin: 0 0 11px; font-size: var(--text-sm); }
.radio-line { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: #27436d; font-size: var(--text-sm); cursor: pointer; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--blue); }
.filter-panel select, .filter-panel input[type='number'] { width: 100%; min-width: 0; height: 34px; padding: 4px 9px; border: 1px solid #d6e2f2; border-radius: 6px; background: #fff; font-size: var(--text-sm); }
.range-fields { display: flex; align-items: center; gap: 5px; }
.range-fields span { color: var(--muted); }
.toggle-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.toggle-line input { width: 18px; height: 18px; }
.catalog-top { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 2px 0 16px; }
.mobile-filter-toggle { display: none; }
.catalog-top h2 { margin: 0; font-size: var(--text-heading); }
.catalog-top p { margin: 1px 0 0; color: var(--muted); font-size: var(--text-sm); }
.catalog-controls { display: flex; align-items: center; gap: 8px; }
.inline-search { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 11px; border: 1px solid #d5e2f2; border-radius: 7px; background: #fff; color: #647da4; }
.inline-search input { width: 180px; min-width: 0; border: 0; outline: 0; background: transparent; font-size: var(--text-sm); }
.catalog-controls select { height: 38px; padding: 0 8px; border: 1px solid #d5e2f2; border-radius: 7px; background: #fff; font-size: var(--text-sm); }
.view-switch { display: inline-flex; flex: none; padding: 3px; border: 1px solid #d5e2f2; border-radius: 7px; background: #fff; }
.view-switch button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #647da4; cursor: pointer; }
.view-switch button[aria-pressed='true'] { background: #e6f0ff; color: #155db7; }
.view-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 20px 0; }
.pagination button { width: 32px; height: 32px; border: 1px solid #dce7f5; border-radius: 7px; background: #fff; color: #19345c; }
.pagination button.selected { border-color: #cfe0ff; background: #e6f0ff; color: var(--blue); font-weight: 800; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; padding: 35px; text-align: center; color: #53719d; }
.empty-state h2, .empty-state h3, .empty-state h1 { margin: 12px 0 0; color: var(--ink); }
.empty-state p { max-width: 430px; margin: 5px 0 18px; }
.compact-empty { min-height: 155px; padding: 18px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; padding-top: 16px; }
.detail-main { display: grid; gap: 10px; }
.product-intro { display: flex; align-items: center; gap: 20px; padding: 19px; }
.product-intro h2 { margin: 0; font-size: var(--text-heading); }
.product-intro p { max-width: 720px; margin: 4px 0 10px; color: var(--muted); font-size: var(--text-sm); }
.title-row { display: flex; align-items: center; flex-wrap: wrap; }
.detail-section { padding: 20px; }
.detail-section h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: var(--text-heading); }
.detail-section h2 .icon { color: var(--blue); }
.detail-section h3 { margin: 17px 0 7px; font-size: var(--text-base); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.spec-grid dl { margin: 0; }
.spec-grid dl > div { display: grid; grid-template-columns: minmax(95px, .43fr) 1fr; min-height: 34px; border-bottom: 1px solid #e5edf8; font-size: var(--text-sm); }
.spec-grid dt, .spec-grid dd { display: flex; align-items: center; margin: 0; padding: 6px 9px; }
.spec-grid dt { color: #4c6388; background: #f4f8fd; }
.spec-grid dd { color: #18325d; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; padding: 0; margin: 0; list-style: none; color: #355078; font-size: var(--text-sm); }
.check-list li { display: flex; align-items: center; gap: 6px; }
.check-list .icon { color: var(--blue); }
.purchase-panel { position: sticky; top: 15px; padding: 21px; }
.purchase-price { display: block; font-size: 32px; }
.purchase-price small { font-size: var(--text-sm); font-weight: 500; }
.purchase-divider { height: 1px; margin: 16px 0; background: #e6edf8; }
.field-label { display: block; margin: 13px 0 6px; font-size: var(--text-sm); font-weight: 600; }
.readonly-field { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; color: #32527d; background: #f7faff; font-size: var(--text-sm); }
.quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.quantity-row > span { color: var(--muted); font-size: var(--text-xs); }
.stepper { display: flex; align-items: center; height: 36px; border: 1px solid #d7e3f3; border-radius: 6px; overflow: hidden; }
.stepper button { display: grid; place-items: center; width: 35px; height: 35px; border: 0; background: #f4f8ff; color: #2c5ca9; }
.stepper input { width: 50px; height: 35px; border: 0; border-inline: 1px solid #d7e3f3; text-align: center; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.subtotal { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 17px 0 10px; padding: 12px; border-radius: 6px; background: #edf4ff; font-size: var(--text-sm); font-weight: 600; }
.subtotal strong { font-size: var(--text-heading); }
.purchase-panel > .outline-button { margin-top: 8px; }
.fine-print { display: flex; align-items: start; gap: 6px; margin: 11px 0; color: var(--muted); font-size: var(--text-xs); }
.purchase-benefits { display: grid; gap: 13px; padding-top: 15px; margin-top: 12px; border-top: 1px solid #e7eef8; }
.purchase-benefits .feature strong { color: #193560; }
.purchase-benefits .feature small { color: var(--muted); }
.purchase-benefits .feature-icon { color: var(--blue); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 16px; align-items: start; padding-top: 19px; }
.checkout-main, .bulk-main { display: grid; gap: 12px; }
.checkout-products, .cart-list, .bulk-list { padding: 20px; }
.checkout-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto auto; align-items: center; gap: 15px; padding: 20px 0; border-top: 1px solid #e8eef8; }
.checkout-item:first-of-type { margin-top: 15px; }
.checkout-item strong { font-size: 14px; }
.checkout-item > span:not(.flag) { color: #526a8f; font-size: var(--text-sm); }
.checkout-item .chips { margin-top: 7px; }
.summary-panel { position: sticky; top: 15px; padding: 21px; }
.summary-panel h2 { margin: 0 0 14px; font-size: 20px; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; margin: 11px 0; color: #4f6586; font-size: var(--text-sm); }
.summary-line strong { color: var(--ink); }
.summary-line.total { align-items: center; padding-top: 15px; margin-top: 16px; border-top: 1px solid #e0e9f6; color: var(--ink); font-weight: 600; }
.summary-line.total strong { color: var(--blue); font-size: 22px; }
.summary-panel > button { margin-top: 10px; }
.warning-alert, .inline-alert, .notice-panel { display: flex; align-items: start; gap: 8px; padding: 11px 12px; border-radius: 7px; font-size: var(--text-sm); }
.warning-alert { color: #8d5e13; background: #fff5e2; }
.inline-alert { margin-top: 14px; color: #285696; background: #eaf4ff; }
.notice-panel { color: #355b8f; background: #eaf4ff; }
.notice-panel strong { display: block; }
.notice-panel p { margin: 3px 0 0; }
.terms-check { display: flex; align-items: start; gap: 8px; margin-top: 18px; font-size: var(--text-sm); cursor: pointer; }
.terms-check input { margin-top: 3px; }
.cart-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 90px 85px; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid #e5edf8; }
.cart-list .panel-heading { padding-bottom: 14px; }
.cart-row .flag { font-size: 45px; }
.cart-product strong, .cart-product span, .cart-product button { display: block; }
.cart-product strong { font-size: 14px; }
.cart-product span { margin: 3px 0; color: var(--muted); font-size: 12px; }
.cart-product button { font-size: var(--text-sm); }
.cart-quantity label { display: block; color: var(--muted); font-size: var(--text-xs); }
.cart-quantity input { width: 75px; height: 35px; padding: 5px; border: 1px solid var(--line); border-radius: 5px; text-align: center; }
.bulk-table-head, .bulk-row { display: grid; grid-template-columns: minmax(0, 2fr) 95px 75px 95px 24px; align-items: center; gap: 8px; }
.bulk-table-head { margin-top: 20px; padding: 9px 8px; color: #5c7191; background: #f0f6fd; font-size: var(--text-xs); }
.bulk-row { padding: 12px 8px; border-bottom: 1px solid #e5edf8; font-size: var(--text-sm); }
.bulk-row select, .bulk-row input { width: 100%; min-width: 0; height: 35px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.bulk-row strong { text-align: right; }
.icon-button { display: grid; place-items: center; padding: 3px; border: 0; background: transparent; color: #6e82a2; }
.icon-button:hover { color: #c8445a; }
.add-row-mobile { display: none; }
.auth-page { padding: 40px 0 25px; }
.auth-layout { display: grid; grid-template-columns: 1.05fr .8fr; min-height: 560px; gap: 26px; }
.auth-visual { display: flex; flex-direction: column; justify-content: space-between; padding: 36px; border-radius: 13px; color: #fff; background: linear-gradient(90deg, #051733dd, #09254e33), url('./assets/hero-globe.png') 57% / cover; }
.auth-visual h1 { max-width: 550px; margin: 62px 0 12px; font-size: clamp(31px, 3vw, 40px); line-height: 1.2; }
.auth-visual p { max-width: 450px; color: #cbdcf4; }
.auth-visual-note { display: flex; align-items: center; gap: 10px; color: #d1e2fa; font-size: var(--text-sm); }
.auth-card { align-self: center; width: 100%; max-width: 480px; padding: 35px; margin: auto; }
.auth-card h2 { margin: 8px 0 3px; font-size: var(--text-page); }
.auth-card > p { margin: 0 0 20px; color: var(--muted); font-size: var(--text-sm); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; margin-bottom: 20px; border-radius: 7px; background: #edf3fb; }
.auth-tabs button { min-height: 34px; border: 0; border-radius: 5px; color: #587092; background: transparent; font-weight: 600; }
.auth-tabs button.selected { color: var(--blue); background: #fff; box-shadow: 0 2px 7px #153f7414; }
.form-stack { display: grid; gap: 14px; }
.form-stack label { display: grid; gap: 6px; font-size: var(--text-sm); font-weight: 600; }
.form-stack input { width: 100%; height: 43px; padding: 10px 12px; border: 1px solid #d2e0f1; border-radius: 6px; outline: 0; font-weight: 400; }
.form-stack input:focus { border-color: #6ca9f7; box-shadow: 0 0 0 3px #cfe5ff; }
.forgot-link { display: block; margin: 10px 0 0 auto; font-size: var(--text-sm); }
.auth-divider { position: relative; margin: 17px 0; color: #7b8ca5; text-align: center; font-size: var(--text-xs); }
.auth-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #dbe5f2; }
.auth-divider span { position: relative; padding: 0 12px; background: #fff; }
.fine-print.centered { justify-content: center; text-align: center; }
.wallet-form { padding: 25px 28px; }
.wallet-form h2 { margin: 0; font-size: var(--text-heading); }
.wallet-return { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 12px; }
.wallet-return .icon { transform: rotate(180deg); }
.wallet-form > p { margin: 5px 0 22px; color: var(--muted); font-size: var(--text-sm); }
.wallet-form h3 { margin: 25px 0 9px; font-size: var(--text-base); }
.amount-input { display: flex; align-items: center; height: 49px; padding: 0 15px; border: 1px solid #d3e1f3; border-radius: 6px; }
.amount-input input { width: 100%; border: 0; outline: 0; font-size: var(--text-base); }
.amount-input > span { color: #456392; font-size: 12px; }
.amount-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 11px; }
.amount-options button { min-height: 40px; border: 1px solid #e2eaf6; border-radius: 6px; background: #eef4fb; color: #1c3763; font-weight: 600; }
.amount-options button.selected { border-color: #4089fa; color: #fff; background: var(--blue); }
.payment-method { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 13px 17px; border: 1px solid #327ffe; border-radius: 7px; background: #f8fbff; }
.tether-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: #17a186; font-size: 26px; font-weight: 800; }
.payment-method div { flex: 1; }
.payment-method strong, .payment-method small { display: block; }
.payment-method small { margin-top: 3px; color: #5d7195; font-size: var(--text-xs); }
.radio-dot { width: 18px; height: 18px; border: 5px solid var(--blue); border-radius: 50%; background: #fff; }
.wallet-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin: 22px 0 14px; padding: 15px; border-radius: 7px; background: #eff5fc; }
.wallet-summary span { display: grid; gap: 3px; color: #617696; font-size: 12px; }
.wallet-summary span + span { border-left: 1px solid #d8e4f4; padding-left: 17px; }
.wallet-summary strong { color: var(--ink); font-size: var(--text-base); }
.wallet-side { display: grid; gap: 12px; }
.balance-card, .wallet-notes { padding: 23px; }
.wallet-side h2 { margin: 0 0 15px; font-size: 20px; }
.balance-amount { display: flex; align-items: center; gap: 16px; margin: 18px 0; }
.balance-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; color: var(--blue); background: #e6f2ff; }
.balance-amount strong { font-size: 32px; }
.balance-amount p { margin: 0; color: #576f94; font-size: 12px; }
.wallet-notes h2 { display: flex; align-items: center; gap: 10px; }
.wallet-notes h2 .icon { color: var(--blue); }
.wallet-notes ul { display: grid; gap: 12px; padding-left: 18px; margin: 0 0 18px; color: #3b567c; font-size: var(--text-sm); }
.wallet-notes li::marker { color: var(--blue); }
.account-page { padding-top: 26px; }
.account-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 13px; align-items: start; }
.account-sidebar { min-height: 550px; padding: 13px; }
.sidebar-user { display: grid; justify-items: center; padding: 15px 0 22px; text-align: center; }
.avatar { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50%; color: #8aa6d0; background: linear-gradient(#eaf3ff, #d5e3f7); }
.sidebar-user strong { margin-top: 10px; font-size: 16px; }
.sidebar-user small { color: var(--muted); font-size: var(--text-xs); }
.account-sidebar nav { display: grid; gap: 4px; }
.account-sidebar nav a, .account-sidebar nav button, .help-sidebar nav button { width: 100%; display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 7px; color: #1e3762; background: transparent; text-align: left; font-size: var(--text-sm); }
.account-sidebar nav a.active, .account-sidebar nav a:hover, .account-sidebar nav button:hover, .help-sidebar nav button.active, .help-sidebar nav button:hover { color: var(--blue); background: #eaf3ff; }
.account-content { min-height: 550px; padding: 24px; }
.account-content > .panel-heading { margin-bottom: 18px; }
.account-content h1, .page-title h1 { margin: 0; font-size: var(--text-page); line-height: 1.25; }
.account-content .panel-heading p, .page-title p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.orders-toolbar { display: flex; justify-content: space-between; gap: 12px; margin: 25px 0 16px; }
.tabs { display: flex; align-items: stretch; gap: 6px; border-bottom: 1px solid #e2eaf5; }
.tabs button { padding: 8px 17px; border: 0; border-bottom: 2px solid transparent; color: #4e6389; background: transparent; font-size: var(--text-sm); }
.tabs button.selected { border-color: var(--blue); color: var(--blue); background: #eff5ff; font-weight: 600; }
.orders-table { border: 1px solid #e0e9f5; border-radius: 8px; overflow: hidden; }
.orders-head, .order-row { display: grid; grid-template-columns: 1.2fr 1.6fr .7fr .75fr .95fr .85fr; align-items: center; gap: 10px; }
.orders-head { padding: 11px 13px; color: #546a8d; background: #eff5fc; font-size: var(--text-xs); }
.order-row { min-height: 70px; padding: 10px 13px; border-top: 1px solid #e3ebf6; font-size: var(--text-sm); }
.order-id { overflow-wrap: anywhere; color: #3b5480; }
.order-product { display: flex; align-items: center; gap: 7px; min-width: 0; }
.order-product strong, .order-product small { display: block; }
.order-product strong { font-size: var(--text-sm); }
.order-product small { color: var(--muted); font-size: var(--text-xs); }
.order-row time { color: #526d95; font-size: var(--text-xs); }
.order-row button { padding-inline: 8px; font-size: var(--text-xs); }
.status { display: inline-flex; align-items: center; justify-self: start; gap: 6px; padding: 4px 10px; border-radius: 20px; white-space: nowrap; font-size: var(--text-xs); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-completed { color: #078967; background: #e4f8ef; }
.status-processing { color: #1266e9; background: #e7f1ff; }
.status-failed { color: #a96a23; background: #fff1e3; }
.order-detail-page { padding-top: 23px; }
.order-detail-page .breadcrumb { color: #5c759c; }
.order-detail-page .breadcrumb a:hover { color: var(--blue); }
.page-title { margin: 18px 0 18px; }
.order-detail-page > .container > .card { margin-bottom: 14px; }
.order-facts { display: grid; grid-template-columns: 1.1fr 1.1fr 1.5fr .6fr .8fr .8fr; gap: 0; }
.order-facts > div { display: grid; gap: 4px; padding: 5px 13px; border-right: 1px solid #e2eaf5; }
.order-facts > div:first-child { padding-left: 0; }
.order-facts > div:last-child { border: 0; }
.order-facts small { color: #6980a2; font-size: var(--text-xs); }
.order-facts strong { font-size: var(--text-sm); overflow-wrap: anywhere; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 23px 25px 0; }
.timeline > div { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; color: #93a4c0; }
.timeline > div:not(:last-child)::after { content: ''; position: absolute; left: calc(50% + 18px); right: calc(-50% + 18px); top: 15px; height: 2px; background: #dbe5f2; }
.timeline > div.done:not(:last-child)::after { background: var(--blue); }
.timeline span { z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e8eff9; }
.timeline .done { color: #1a63dd; }
.timeline .done span { color: #fff; background: var(--blue); }
.timeline .current { color: #1467ef; }
.timeline .current span { background: #e3efff; }
.timeline .failed { color: #bb5a3e; }
.timeline .failed span { color: #fff; background: #dd785b; }
.timeline strong { color: var(--ink); font-size: var(--text-sm); }
.timeline small { color: var(--muted); font-size: var(--text-xs); }
.files-table { border: 1px solid #e4edf7; border-radius: 7px; overflow: hidden; }
.files-head, .file-row { display: grid; grid-template-columns: 2fr .5fr .9fr .7fr; align-items: center; gap: 10px; }
.files-head { padding: 9px 14px; background: #eef5fd; color: #5f7598; font-size: var(--text-xs); }
.file-row { min-height: 45px; padding: 7px 14px; border-top: 1px solid #e6edf7; color: #36557e; font-size: var(--text-sm); }
.file-row > span:first-child { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.file-row time { font-size: var(--text-xs); }
.file-row button { padding: 6px 7px; font-size: var(--text-xs); }
.muted-result { display: flex; align-items: center; gap: 13px; padding: 25px; border-radius: 7px; color: #6680a7; background: #f1f6fc; font-size: var(--text-sm); }
.help-strip { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 9px; background: #eaf3ff; color: #1d65d4; }
.help-strip div { flex: 1; }
.help-strip strong { color: #0b3471; }
.help-strip p { margin: 2px 0 0; color: #60799e; font-size: var(--text-sm); }
.profile-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 12px; }
.profile-summary { align-self: start; display: grid; justify-items: center; padding: 22px; }
.large-avatar { width: 84px; height: 84px; }
.profile-summary h2 { margin: 9px 0 0; font-size: 20px; }
.profile-summary p { margin: 0 0 10px; color: var(--muted); font-size: var(--text-sm); }
.profile-balance { display: grid; justify-items: center; width: 100%; padding: 15px 0; margin: 15px 0; border-top: 1px solid #e0e9f6; }
.profile-balance small { color: var(--muted); }
.profile-balance strong { font-size: 29px; }
.profile-summary button + button { margin-top: 8px; }
.profile-panels { display: grid; gap: 12px; }
.profile-panels .detail-section { padding: 15px; }
.profile-panels h2 { margin-bottom: 10px; font-size: 16px; }
.compact-table > div { display: grid; grid-template-columns: 2fr .7fr .8fr .5fr; align-items: center; gap: 9px; min-height: 40px; padding: 6px 8px; border-top: 1px solid #e7eef8; font-size: var(--text-xs); }
.compact-table > div:first-child { background: #f3f8fe; }
.compact-table .status { font-size: var(--text-xs); }
.recharge-table > div { grid-template-columns: .7fr 1.2fr .8fr 1.2fr; }
.recharge-table time { color: var(--muted); }
.preferences-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.preferences-row strong, .preferences-row small { display: block; }
.preferences-row small { color: var(--muted); }
.help-page { padding-top: 28px; }
.help-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 42px; }
.help-sidebar { min-height: 690px; padding: 14px; }
.help-sidebar h2 { margin: 5px 6px 17px; font-size: 18px; }
.help-sidebar nav { display: grid; gap: 2px; }
.help-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 10px 0 25px; }
.help-head h1 { margin: 0; font-size: 34px; }
.help-head p { margin: 5px 0 0; color: var(--muted); }
.help-head .inline-search { min-width: 265px; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.help-topic { min-height: 178px; display: grid; align-content: start; justify-items: start; gap: 8px; padding: 23px; text-align: left; }
.help-topic:hover { border-color: #8db9fb; }
.help-topic-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #1271f4; background: #e7f2ff; }
.help-topic-icon.buy { color: #0c9d7e; background: #e1f8f0; }
.help-topic-icon.topup { color: #e29a15; background: #fff2de; }
.help-topic-icon.orders { color: #6445ea; background: #eee9ff; }
.help-topic-icon.faq { color: #d3427e; background: #ffeaf2; }
.help-topic strong { font-size: var(--text-base); }
.help-topic > span:not(.help-topic-icon) { color: var(--muted); font-size: var(--text-sm); }
.help-topic > .icon { justify-self: end; align-self: end; color: #507099; }
.help-faq { margin: 30px 0; }
.help-faq h2 { font-size: 20px; }
.not-found { min-height: 55vh; }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; max-width: min(480px, calc(100vw - 35px)); padding: 13px 14px; border: 1px solid #9bc5fb; border-radius: 9px; color: #173e7b; background: #fff; box-shadow: 0 16px 44px #0f3c7840; font-size: var(--text-sm); }
.toast button { display: grid; place-items: center; margin-left: 5px; padding: 4px; border: 0; background: transparent; color: #5475a3; }
@media (max-width: 1300px) {
  .header-inner, .footer-inner, .container { width: min(100% - 48px, 1440px); }
  .header-inner { gap: 19px; }
  .desktop-nav { gap: 15px; margin-left: 0; }
  .header-actions { gap: 8px; }
  .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card.compact { min-height: 220px; }
}
@media (max-width: 1100px) {
  .header-search { display: none; }
  .header-actions { margin-left: auto; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .orders-head, .order-row { grid-template-columns: 1fr 1.5fr .7fr .8fr .8fr; }
  .orders-head span:nth-child(5), .order-row time { display: none; }
  .order-facts { grid-template-columns: repeat(3, 1fr); gap: 13px 0; }
  .order-facts > div:nth-child(3) { border: 0; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .profile-summary h2, .profile-summary p, .profile-summary .status { display: none; }
  .profile-balance { width: auto; margin: 0; border: 0; }
  .profile-summary button { max-width: 155px; }
  .profile-summary button + button { margin: 0; }
}
@media (max-width: 900px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu-button { display: inline-flex; margin-left: auto; padding: 8px; }
  .mobile-nav { display: grid; gap: 1px; padding: 10px 24px 16px; background: #0b2343; }
  .mobile-nav a, .mobile-nav button { min-height: 40px; padding: 8px 12px; border: 0; border-radius: 6px; color: #eef5ff; background: transparent; text-align: left; }
  .mobile-nav a.active, .mobile-nav a:hover, .mobile-nav button:hover { background: #ffffff18; }
  .hero-copy { max-width: 570px; }
  .hero-features { gap: 13px; }
  .catalog-layout, .account-layout, .help-layout { grid-template-columns: 1fr; gap: 15px; }
  .filter-panel { display: none; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .filter-panel.open { display: grid; }
  .mobile-filter-toggle { display: inline-flex; margin-bottom: 14px; }
  .filter-title { grid-column: 1 / -1; }
  .filter-panel > .outline-button { align-self: end; }
  .account-sidebar, .help-sidebar { min-height: auto; }
  .account-sidebar .sidebar-user { display: none; }
  .account-sidebar nav, .help-sidebar nav { display: flex; flex-wrap: wrap; }
  .account-sidebar nav a, .account-sidebar nav button, .help-sidebar nav button { width: auto; }
  .help-sidebar h2 { display: none; }
  .help-layout { gap: 10px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; padding: 20px 0; }
}
@media (max-width: 720px) {
  .container, .header-inner, .footer-inner { width: min(100% - 28px, 1440px); }
  .header-inner { min-height: 62px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: var(--text-xs); }
  .preview-banner { font-size: var(--text-xs); }
  .home-hero { min-height: 445px; background-position: 56% center; }
  .hero-content { min-height: 445px; align-items: end; }
  .hero-copy { padding-bottom: 27px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-copy p { max-width: 420px; }
  .hero-features { margin-top: 24px; }
  .hero-features .feature:nth-child(3) { display: none; }
  .page-banner { min-height: 150px; background-position: 62% center; }
  .page-banner h1 { font-size: 30px; }
  .home-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-top { align-items: start; flex-direction: column; }
  .catalog-grid.list-view .product-card { grid-template-columns: 38px minmax(0, 1fr) 90px; grid-template-areas: 'flag name price' 'flag chips stock' 'actions actions actions'; gap: 2px 8px; }
  .catalog-grid.list-view .product-card h3 { font-size: 14px; }
  .catalog-grid.list-view .product-price { font-size: 18px; text-align: right; }
  .catalog-grid.list-view .stock { font-size: var(--text-xs); text-align: right; }
  .catalog-grid.list-view .product-actions { margin-top: 5px; }
  .catalog-grid.list-view .product-actions > * { min-height: 38px; padding-block: 7px; }
  .home-info-grid, .detail-layout, .checkout-layout, .auth-layout { grid-template-columns: 1fr; }
  .detail-layout { gap: 12px; }
  .purchase-panel, .summary-panel { position: static; }
  .purchase-panel { order: -1; }
  .supply-panel { min-height: 180px; }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-page { padding-top: 16px; }
  .auth-visual { min-height: 230px; }
  .auth-visual h1 { margin-top: 25px; font-size: 30px; }
  .auth-card { max-width: none; }
  .help-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-head { align-items: start; flex-direction: column; }
  .help-head .inline-search { width: 100%; }
  .help-head .inline-search input { width: 100%; }
  .order-facts { grid-template-columns: repeat(2, 1fr); }
  .order-facts > div:nth-child(2), .order-facts > div:nth-child(4) { border: 0; }
  .order-facts > div:nth-child(3) { border-right: 1px solid #e2eaf5; }
  .files-head, .file-row { grid-template-columns: 1.7fr .6fr .8fr; }
  .files-head span:nth-child(3), .file-row time { display: none; }
  .orders-toolbar { flex-direction: column; }
  .orders-toolbar .inline-search input { width: 100%; }
}
@media (max-width: 520px) {
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p { font-size: var(--text-base); }
  .hero-features { gap: 11px; }
  .feature strong { font-size: var(--text-sm); }
  .feature small { font-size: var(--text-xs); }
  .home-grid, .catalog-grid, .faq-grid, .faq-grid.single, .spec-grid, .check-list, .help-cards { grid-template-columns: 1fr; }
  .section-heading { align-items: start; }
  .section-heading p { max-width: 230px; }
  .product-card { padding: 16px; }
  .product-card.compact { min-height: auto; }
  .product-card h3 { font-size: 16px; }
  .product-actions button { font-size: var(--text-sm); }
  .process-panel, .supply-panel { padding: 20px; }
  .steps { gap: 3px; }
  .steps > div { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; justify-items: center; text-align: center; }
  .step-icon { grid-row: auto; width: 34px; height: 34px; margin-bottom: 3px; }
  .steps strong { white-space: normal; line-height: 1.2; }
  .steps small { display: none; }
  .steps > .icon { width: 14px; }
  .filter-panel { grid-template-columns: 1fr; }
  .catalog-top { align-items: start; flex-direction: column; }
  .catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
  .catalog-controls .inline-search { grid-column: 1 / -1; flex: 1; min-width: 0; }
  .catalog-controls .inline-search input { width: 100%; }
  .catalog-controls select { min-width: 0; }
  .product-intro { align-items: start; gap: 12px; }
  .product-intro .flag { font-size: 45px; }
  .product-intro h2 { font-size: 18px; }
  .detail-section { padding: 16px; }
  .checkout-products, .cart-list, .bulk-list, .wallet-form, .summary-panel { padding: 17px; }
  .checkout-item { grid-template-columns: 47px minmax(0, 1fr) auto; gap: 9px; }
  .checkout-item .flag { font-size: 42px; }
  .checkout-item > span:not(.flag) { display: none; }
  .checkout-item > strong { grid-column: 3; }
  .cart-row { grid-template-columns: 45px minmax(0, 1fr) 70px; gap: 8px; }
  .cart-row .flag { font-size: 38px; }
  .cart-row > strong { grid-column: 2 / 4; justify-self: end; }
  .cart-quantity input { width: 66px; }
  .bulk-table-head { display: none; }
  .bulk-row { grid-template-columns: minmax(0, 1fr) 72px 32px; gap: 8px; }
  .bulk-row select { grid-column: 1 / 3; }
  .bulk-row > span { display: none; }
  .bulk-row input { grid-column: 1; }
  .bulk-row strong { grid-column: 2; }
  .bulk-row .icon-button { grid-column: 3; grid-row: 1; }
  .bulk-list .panel-heading > .outline-button { display: none; }
  .add-row-mobile { display: flex; align-items: center; gap: 6px; margin-top: 14px; border: 0; color: var(--blue); background: transparent; font-weight: 600; }
  .amount-options { grid-template-columns: repeat(2, 1fr); }
  .wallet-summary { gap: 8px; }
  .wallet-summary strong { font-size: var(--text-sm); }
  .account-content { min-height: auto; padding: 16px; }
  .account-sidebar nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .account-sidebar nav a, .account-sidebar nav button { font-size: var(--text-sm); }
  .account-content h1, .page-title h1 { font-size: 24px; }
  .tabs { overflow-x: auto; }
  .tabs button { padding: 8px 11px; white-space: nowrap; }
  .orders-head { display: none; }
  .order-row { grid-template-columns: 1fr auto; gap: 8px; padding: 15px; }
  .order-row .order-id { grid-column: 1 / 3; }
  .order-row .order-product { grid-column: 1 / 3; }
  .order-row > strong { grid-column: 1; }
  .order-row .status { grid-column: 2; }
  .order-row button { grid-column: 1 / 3; justify-self: stretch; }
  .order-facts { gap: 9px 0; }
  .order-facts > div { padding: 4px 7px; }
  .timeline { margin-inline: 0; }
  .timeline strong { font-size: var(--text-xs); }
  .timeline small { font-size: var(--text-xs); }
  .files-head, .file-row { grid-template-columns: minmax(0, 1fr) auto; }
  .files-head span:nth-child(2), .file-row > span:nth-child(2) { display: none; }
  .file-row button { white-space: nowrap; }
  .help-strip { align-items: start; flex-wrap: wrap; }
  .help-strip button { width: 100%; }
  .profile-summary { display: grid; justify-items: center; }
  .profile-summary h2, .profile-summary p, .profile-summary .status { display: block; }
  .profile-summary button { max-width: none; }
  .profile-summary button + button { margin-top: 7px; }
  .compact-table > div { grid-template-columns: 1fr auto; }
  .compact-table > div > :nth-child(3), .compact-table > div > :nth-child(4) { justify-self: end; }
  .recharge-table > div { grid-template-columns: 1fr 1fr; }
  .help-head h1 { font-size: 28px; }
  .help-topic { min-height: 150px; }
  .footer-inner { justify-content: start; }
  .footer-inner nav { justify-content: start; gap: 9px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Live catalog and transaction states use the same visual tokens as the supplied pages. */
#main { min-height: 55vh; padding-bottom: 22px; }
.page-title { padding-top: 22px; }
.hero-buttons, .auth-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.auth-links { justify-content: space-between; margin-top: 20px; font-size: var(--text-sm); color: var(--blue); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-card { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 18px; }
.category-card strong { flex: 1; overflow-wrap: anywhere; }
.category-card > span:last-child { color: var(--blue); }
.catalog-root-search { max-width: 620px; margin: 22px 0 18px; }
.catalog-root-search input { width: 100%; }
.catalog-root-search .primary-button { flex: none; min-width: 76px; white-space: nowrap; }
.product-glyph { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #0788fb, #3439d4); box-shadow: 0 7px 18px #154da433; font-size: 14px; font-weight: 900; letter-spacing: -.07em; }
.product-glyph.large { width: 72px; height: 72px; border-radius: 15px; font-size: 22px; }
.product-symbol { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border: 1px solid #355277; border-radius: 9px; background: #172840; }
.product-symbol svg { width: 27px; height: 27px; fill: none; stroke: #83b4ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.product-symbol img { display: block; width: 40px; height: 28px; object-fit: contain; }
.product-symbol.large { width: 72px; height: 72px; border-radius: 13px; }
.product-symbol.large svg { width: 44px; height: 44px; }
.product-symbol.large img { width: 62px; height: 42px; }
.catalog-grid.list-view .product-symbol img { width: 34px; height: 24px; }
.category-list { display: grid; gap: 5px; margin-top: 14px; }
.category-list a { padding: 9px 10px; border-radius: 6px; color: #2a4771; font-size: var(--text-sm); }
.category-list a:hover, .category-list a.active { color: var(--blue); background: #eaf3ff; }
.number-input { width: 85px; min-height: 38px; padding: 6px 9px; border: 1px solid #d5e2f2; border-radius: 6px; background: #fff; }
.wallet-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 15px; }
.wallet-layout .wallet-form { border: 0; box-shadow: none; }
.wallet-layout .balance-card { align-self: start; }
.wallet-layout .balance-amount { display: block; margin: 5px 0 12px; }
.payment-order { margin-top: 16px; }
.payment-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.payment-facts > div { display: grid; gap: 5px; min-width: 0; padding: 14px; border-radius: 7px; background: #f1f6fc; }
.payment-facts small { color: var(--muted); }
.payment-facts strong { font-size: 14px; }
.break-all { overflow-wrap: anywhere; }
.payment-order > button { margin-right: 9px; }
.simple-list { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.simple-list > a, .simple-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 11px 13px; border-top: 1px solid var(--line); }
.simple-list > :first-child { border-top: 0; }
.simple-list small { display: block; color: var(--muted); }
.bulk-search { margin: 18px 0; }
.bulk-search input { width: 100%; }
.bulk-search .primary-button { flex: none; min-width: 76px; white-space: nowrap; }
.bulk-results { max-height: 370px; overflow: auto; }
.bulk-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; border-top: 1px solid var(--line); }
.bulk-result > span { min-width: 0; overflow-wrap: anywhere; }
.bulk-result small { display: block; color: var(--muted); }
.bulk-result .number-input { margin-left: auto; }
.order-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.order-line > div { flex: 1 1 240px; }
.order-line p { margin: 3px 0 0; font-size: var(--text-sm); }
.compact-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.compact-row a { color: var(--blue); overflow-wrap: anywhere; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.settings-grid > section { min-width: 0; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.settings-actions [aria-pressed="true"] { border-color: #6ca2ff; background: #1d3658; }
.admin-grid .simple-list { margin-top: 17px; }
.admin-grid .simple-list > div { font-size: var(--text-sm); }
.admin-search { margin: 14px 0 10px; }
.admin-search .outline-button { justify-self: start; }
.admin-results { margin-bottom: 16px; }
.admin-results > p { padding: 12px; }
.admin-results small { margin-top: 3px; }
.pricing-preview { margin: 0; padding: 10px 12px; border-radius: 6px; background: #eef6ff; color: #174c83; font-size: var(--text-sm); }
.review-list { display: grid; gap: 10px; max-height: 580px; overflow: auto; margin-top: 15px; }
.review-card { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f9fcff; }
.review-card strong { font-size: 14px; }
.review-card small, .review-card code { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; color: var(--muted); font-size: var(--text-xs); }
.review-card button { grid-column: 1 / -1; justify-self: start; margin-top: 5px; }
.review-form { max-width: 760px; }
.review-form textarea { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid #d2e0f1; border-radius: 6px; resize: vertical; }
.import-transfer { margin: 20px 0 14px; }
.import-transfer form { max-width: 700px; }
.import-transfer button { justify-self: start; }
.app-alert { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 11px 20px; color: #164877; background: #e5f2ff; text-align: center; font-size: var(--text-sm); }
.app-alert.error { color: #9b372d; background: #fff0ee; }
.app-alert button { border: 0; background: transparent; color: inherit; font-size: 18px; }
.loader { width: 29px; height: 29px; border: 3px solid #d3e5ff; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
details { padding: 14px 0; border-top: 1px solid var(--line); }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); font-size: var(--text-sm); }
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wallet-layout { grid-template-columns: 1fr; }
  .wallet-layout .wallet-form { padding-inline: 0; }
}
@media (max-width: 720px) {
  .admin-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .payment-facts { grid-template-columns: 1fr; }
  .catalog-grid.list-view .product-card { grid-template-columns: 38px minmax(0, 1fr) 92px; grid-template-areas: 'flag name price' 'flag chips stock' 'actions actions actions'; }
}
@media (max-width: 520px) {
  .category-grid { grid-template-columns: 1fr; }
  .hero-buttons > a { flex: 1 1 100%; }
  .bulk-result { flex-wrap: wrap; padding: 10px 0; }
  .bulk-result > span { flex: 1 1 100%; }
  .bulk-result .number-input { margin-left: 0; }
  .simple-list > a { flex-wrap: wrap; }
  .checkout-item > span.product-glyph { display: inline-grid; }
  .checkout-item > span:not(.flag):not(.product-glyph) { display: none; }
}
