/* AiSavdo storefront. Vanilla CSS — build bosqichi yoki tashqi kutubxona kerak emas. */
:root {
  --navy: #0b2530;
  --ink: #132e38;
  --muted: #5c757c;
  --line: #dceeea;
  --background: #f4fbfa;
  --green: #008656;
  --green-bright: #00d98b;
  --blue: #20b5f0;
  --blue-deep: #087ca5;
  --brand-gradient: linear-gradient(110deg, var(--green-bright), var(--blue));
  --surface: #ffffff;
  --radius: 20px;
  --shadow: 0 14px 45px rgba(16, 49, 61, .06);
  font-family: 'Segoe UI', Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; font-size: 16px; line-height: 1.5; background: linear-gradient(115deg, #f2fbf6, #f2faff); }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { outline: none; }
:focus-visible { outline: 3px solid #168d69; outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,158,101,.12); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
::selection { background: #c3f2dc; color: var(--navy); }
.container { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 24px; top: -70px; z-index: 30; background: var(--navy); color: white; border-radius: 10px; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.top-strip { background: var(--brand-gradient); color: #073b43; font-size: .8125rem; }
.top-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; padding-block: 5px; }
.top-strip-inner span { display: inline-flex; gap: 8px; align-items: center; }
.top-strip-inner > span { min-width: 0; line-height: 1.35; }
.top-strip .icon { width: 15px; height: 15px; color: #07515b; }
.top-strip-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.script-toggle { min-width: 65px; min-height: 30px; padding: 4px 11px; font-size: .75rem; font-weight: 700; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; color: #073b43; background: rgba(255,255,255,.85); white-space: nowrap; }
.script-toggle:hover { background: white; }
.site-header { background: white; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-main { display: grid; grid-template-columns: auto minmax(200px, 1fr) auto; align-items: center; gap: 24px; min-height: 96px; }
.header-branding, .header-actions { display: flex; align-items: center; gap: 12px; }
.brand { width: 198px; height: 48px; display: flex; align-items: center; gap: 4px; background: #071c27; border-radius: 12px; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark-image { width: 158px; height: 40px; display: block; background: url('../img/aisavdo-logo.webp') no-repeat; background-size: 278px 278px; background-position: -59px -184px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.icon-button:hover { background: #edf8f3; border-color: #bfdfd1; }
.menu-button { border-color: transparent; }
.search-form { display: flex; position: relative; align-items: center; height: 52px; background: #f1faff; border: 1px solid #d7edf6; border-radius: 13px; min-width: 0; }
.search-form:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,158,101,.09); }
.search-icon { margin-left: 17px; color: var(--blue-deep); }
.search-form input { border: none; background: transparent; width: 100%; min-width: 0; height: 100%; padding: 0 46px 0 12px; color: var(--ink); font-size: .875rem; outline: none; box-shadow: none; }
.search-form input:focus-visible { box-shadow: none; }
.search-form input::placeholder { color: #83979d; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-key { position: absolute; right: 14px; color: #8a9ba1; border: 1px solid #dce5e8; background: white; width: 23px; height: 26px; border-radius: 5px; text-align: center; line-height: 25px; font-family: inherit; font-size: .8125rem; }
.search-clear { position: absolute; right: 9px; border: none; border-radius: 8px; background: #e9f0f3; width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.search-clear .icon { width: 17px; height: 17px; }
.header-phone { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.header-phone > .icon { color: var(--green); width: 23px; height: 23px; }
.header-phone small { color: var(--muted); display: block; font-size: .75rem; }
.header-phone strong { font-size: 1rem; display: block; letter-spacing: .2px; }
.login-button { border-radius: 50%; background: #edf8f3; border-color: #d5ecdf; color: var(--green); }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 0 32px; }
.eyebrow { font-size: .75rem; letter-spacing: 1.6px; font-weight: 700; color: var(--green); }
h1 { margin-top: 10px; font-size: clamp(1.9rem, 2.8vw, 2.75rem); font-weight: 750; letter-spacing: -1.25px; }
h1 .hero-accent { color: var(--green); background: linear-gradient(110deg, var(--green), var(--blue-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.intro-copy { color: var(--muted); font-size: 1rem; margin-top: 12px; }
.button { min-height: 44px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: .875rem; font-weight: 650; padding: 11px 17px; border: 1px solid transparent; line-height: 1.3; transition: background .15s, box-shadow .15s; }
.button-primary { background: var(--brand-gradient); color: #073b43; box-shadow: 0 4px 14px rgba(0,169,140,.16); }
.button-primary:hover { background: linear-gradient(110deg, #00c77f, #1da9df); box-shadow: 0 6px 18px rgba(0,169,140,.22); }
.button-secondary { background: white; border-color: var(--line); color: var(--ink); }
.button-secondary:hover { background: #eef8f3; border-color: #bddbcc; }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: #dcf6e8; }
.intro-callback { flex: 0 0 auto; }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 28px; align-items: start; }
.section-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 60px; margin-bottom: 18px; }
.section-heading h2 { font-size: 1.4rem; letter-spacing: -.45px; }
.section-heading p { color: var(--muted); font-size: .875rem; margin-top: 6px; }
.count-pill { font-size: .8125rem; color: var(--blue-deep); background: #e9f7fd; border: 1px solid #d6edf8; border-radius: 100px; padding: 6px 11px; white-space: nowrap; flex: 0 0 auto; }
.company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.company-card { --company-accent: #008656; --company-surface: #f0fbf6; --company-border: #c9e9dc; --company-ink: #08634f; --company-button: #def4e9; --company-logo-bg: white; min-width: 0; background: var(--company-surface); border: 1px solid var(--company-border); border-radius: 18px; overflow: hidden; padding: 17px 18px 16px; display: flex; flex-direction: column; min-height: 294px; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; }
.company-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--company-accent); }
.company-card:hover { border-color: var(--company-accent); box-shadow: 0 8px 26px rgba(15,64,46,.08); transform: translateY(-3px); }
.tone-safo { --company-accent: #c45121; --company-surface: #fff2e9; --company-border: #f1cfb9; --company-ink: #85340e; --company-button: #ffdfcb; --company-logo-bg: #bb451e; }
.tone-everest { --company-accent: #f97316; --company-surface: #fff7ec; --company-border: #f7d6b3; --company-ink: #913b0c; --company-button: #ffdfbd; --company-logo-bg: #f57418; }
.tone-enerza { --company-accent: #16b5e6; --company-surface: #eaf9ff; --company-border: #b3e2f1; --company-ink: #075b7b; --company-button: #cef0ff; --company-logo-bg: #000000; }
.tone-best-fire { --company-accent: #c33b48; --company-surface: #fff0f2; --company-border: #efc6cc; --company-ink: #852b37; --company-button: #ffdade; --company-logo-bg: #455256; }
.tone-ema-stal { --company-accent: #009fff; --company-surface: #edf6ff; --company-border: #bfdcf3; --company-ink: #075d95; --company-button: #d5eaff; --company-logo-bg: #00a1ff; }
.tone-teploman { --company-accent: #a5451b; --company-surface: #fff1e6; --company-border: #e8c9b2; --company-ink: #76361b; --company-button: #f4decc; --company-logo-bg: #7b2709; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.purchase-count { display: inline-flex; align-items: center; gap: 5px; color: var(--company-ink); background: rgba(255,255,255,.76); border-radius: 6px; font-size: .75rem; padding: 4px 7px; }
.purchase-count .icon { width: 13px; height: 13px; color: var(--company-accent); }
.card-order { font-size: .75rem; color: #adbdc1; font-variant-numeric: tabular-nums; }
.company-brand-area { flex: 1; min-height: 144px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 14px 0; text-align: center; }
.company-logo-frame { width: 128px; height: 80px; max-width: 100%; padding: 4px; display: grid; place-items: center; background: var(--company-logo-bg); border-radius: 11px; overflow: hidden; }
.company-logo { width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; }
.tone-enerza .company-logo-frame { position: relative; width: 150px; height: auto; aspect-ratio: 150 / 82; padding: 0; }
/* Enerza rasmining tepadagi kursor izi ramka tashqarisida qoladi; logotip to‘liq ko‘rinadi. */
.tone-enerza .company-logo { position: absolute; top: -13.5%; left: 0; width: 100%; height: auto; max-height: none; }
.company-name { font-size: 1.0625rem; font-weight: 800; letter-spacing: .3px; line-height: 1.2; color: var(--company-ink); overflow-wrap: anywhere; }
.has-logo .company-name { margin-top: 8px; }
.brand-tagline { font-size: .75rem; font-weight: 600; letter-spacing: 1px; color: var(--company-ink); opacity: .76; margin-top: 5px; text-transform: uppercase; }
.company-description { font-size: .75rem; color: #61747a; text-align: center; margin-bottom: 14px; }
.card-button { width: 100%; background: var(--company-button); color: var(--company-ink); border-color: var(--company-border); font-size: .875rem; }
.card-button:hover { background: var(--company-button); border-color: var(--company-accent); box-shadow: 0 3px 10px rgba(16,49,61,.06); }
.card-button .icon { width: 18px; height: 18px; }
.coming-soon { background: rgba(255,255,255,.76); color: var(--company-ink); font-size: .75rem; border-radius: 6px; padding: 4px 7px; }
.company-card.is-coming { border-style: dashed; }
.company-card.is-coming:hover { box-shadow: none; transform: none; border-color: var(--company-border); }
.company-card.is-coming .card-button { background: var(--company-button); color: var(--company-ink); border-color: var(--company-border); }
.demo-note { display: flex; align-items: center; gap: 6px; color: #899ca3; font-size: .75rem; margin-top: 15px; }
.demo-note .icon { width: 14px; height: 14px; }
.bestsellers { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 23px 20px 20px; box-shadow: var(--shadow); }
.bestseller-heading { display: flex; align-items: center; gap: 10px; }
.trophy-icon { background: #eaf8f0; color: var(--green); border-radius: 11px; width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; }
.trophy-icon .icon { width: 25px; height: 25px; }
.bestseller-heading .eyebrow { font-size: .75rem; letter-spacing: 1.5px; }
.bestseller-heading h2 { margin-top: 5px; font-size: 1.1rem; letter-spacing: -.35px; }
.bestseller-description { font-size: .8125rem; color: var(--muted); margin-top: 17px; margin-bottom: 13px; }
.ranking-item { position: relative; display: flex; width: 100%; align-items: center; gap: 12px; background: white; border: none; border-bottom: 1px solid #eef2f4; padding: 16px 0; text-align: left; color: var(--ink); border-radius: 0; }
.ranking-item:hover .rank-name { color: var(--green); }
.rank-picture { width: 79px; height: 86px; background: #f8fafb; border: 1px solid #e9eff2; border-radius: 12px; position: relative; flex: 0 0 auto; padding: 6px; }
.rank-picture img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.rank-number { position: absolute; left: -5px; top: -6px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; border: 2px solid white; font-size: .75rem; font-weight: 750; background: #e8eef0; color: #657f89; }
.rank-number.is-first { background: var(--green-bright); color: #073b43; }
.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: .875rem; font-weight: 750; display: block; line-height: 1.3; }
.rank-spec { display: block; color: #85979e; font-size: .75rem; margin-top: 4px; }
.rank-bottom { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.rank-price { font-size: .875rem; font-weight: 750; }
.rank-sales { font-size: .75rem; color: var(--green); background: #e4fbef; padding: 3px 5px; border-radius: 4px; white-space: nowrap; }
.ranking-note { display: flex; align-items: center; gap: 5px; color: #97a8af; font-size: .75rem; padding-top: 11px; }
.ranking-note .icon { width: 13px; height: 13px; }
.help-card { margin-top: 20px; padding: 18px; border-radius: 14px; background: var(--brand-gradient); color: #073b43; }
.help-card > .icon { color: #073b43; width: 23px; height: 23px; }
.help-card h3 { font-size: 1rem; margin-top: 9px; }
.help-card p { font-size: .8125rem; line-height: 1.55; color: #124c58; margin-top: 7px; }
.help-card .button { margin-top: 14px; width: 100%; min-height: 40px; padding: 9px 12px; }
.contact-section { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; background: linear-gradient(110deg, #ffffff, #f0fbf6 60%, #edf9ff); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; margin-top: 34px; margin-bottom: 28px; }
.contact-kicker { color: var(--green); font-size: .75rem; font-weight: 750; letter-spacing: 1.2px; }
.contact-intro h2 { font-size: 1.75rem; font-weight: 750; letter-spacing: -.7px; margin-top: 10px; }
.contact-intro p { color: #85989f; font-size: .8125rem; margin-top: 9px; max-width: 340px; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 22px; align-content: center; }
.contact-option { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.contact-option-icon { width: 43px; height: 43px; display: grid; place-items: center; background: #eaf8ef; color: var(--green); border-radius: 11px; flex: 0 0 auto; }
.contact-option-icon.blue { color: #318fb8; background: #eaf6fb; }
.contact-option small { font-size: .75rem; color: #8a9ca2; display: block; }
.contact-option strong { font-size: .9375rem; display: block; line-height: 1.35; margin-top: 4px; overflow-wrap: anywhere; }
.contact-option em { font-size: .75rem; color: #82969e; font-style: normal; display: block; margin-top: 5px; }
.contact-options > .button { justify-self: start; }
.site-footer { border-top: 1px solid var(--line); color: #80969f; font-size: .75rem; padding: 19px 0 22px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.site-footer a:hover { color: var(--green); }
.empty-state { padding: 60px 20px; border: 1px dashed #d5e2e7; border-radius: 18px; text-align: center; background: white; }
.empty-state > .icon { width: 38px; height: 38px; color: #95adb5; }
.empty-state h3 { font-size: 1.125rem; margin-top: 13px; }
.empty-state p { color: var(--muted); margin-top: 9px; font-size: .875rem; }
.empty-state .button { margin-top: 18px; }
.search-products-section { margin-top: 28px; }
.search-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-width: 0; }
.product-card-image { width: 100%; height: 170px; object-fit: contain; margin-bottom: 16px; }
.product-card h3 { font-size: 1rem; }
.product-card .product-meta { color: var(--muted); font-size: .8125rem; margin-top: 7px; }
.product-card-price { margin-top: 13px; display: block; font-size: 1.125rem; font-weight: 750; }
.product-card .button { margin-top: 13px; width: 100%; }
.product-card .example-price { font-size: .75rem; color: #8da0a6; margin-top: 3px; }
dialog { color: var(--ink); border: 1px solid #dce8ed; box-shadow: 0 25px 100px rgba(5,31,43,.18); }
dialog::backdrop { background: rgba(7,29,40,.56); backdrop-filter: blur(4px); }
.dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border-radius: 23px; padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.dialog[open] { animation: dialog-in .18s ease-out; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.dialog-top .icon-button { border-color: transparent; background: #f1f6f8; }
.dialog-top h2 { font-size: 1.375rem; }
.product-dialog { width: min(800px, calc(100% - 32px)); }
.product-detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; }
.product-detail-image { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 17px; display: flex; align-items: center; justify-content: center; }
.product-detail-image img { width: 100%; max-height: 380px; object-fit: contain; }
.product-detail-info h2 { font-size: 1.75rem; letter-spacing: -.6px; margin: 8px 0; }
.product-company-label { font-size: .75rem; color: var(--green); font-weight: 700; }
.detail-price { font-size: 2rem; font-weight: 750; margin-top: 18px; }
.price-note { color: #90a0a6; font-size: .75rem; margin-top: 4px; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 19px 0; margin-top: 4px; }
.product-specs dt { color: #8b9ca2; font-size: .75rem; }
.product-specs dd { font-size: .9375rem; font-weight: 650; margin: 3px 0 0; }
.product-detail-info .button { width: 100%; margin-top: 8px; }
.image-disclaimer { font-size: .75rem; color: #8da0a7; line-height: 1.5; margin-top: 18px; }
.form-dialog { width: min(440px, calc(100% - 32px)); padding: 26px; }
.dialog-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #e7f7ee; color: var(--green); }
.dialog-symbol.blue { background: #eaf6fb; color: #2a94bd; }
.form-dialog h2 { font-size: 1.5rem; letter-spacing: -.6px; }
.dialog-copy { color: var(--muted); font-size: .875rem; margin-top: 9px; }
.callback-form { display: flex; flex-direction: column; margin-top: 23px; }
.callback-form label { font-size: .875rem; font-weight: 600; margin: 14px 0 6px; }
.callback-form label:first-child { margin-top: 0; }
.callback-form input, .callback-form select { min-height: 48px; width: 100%; padding: 10px 12px; background: white; color: var(--ink); border: 1px solid #d7e3e8; border-radius: 10px; }
.callback-form input::placeholder { color: #9aabb2; }
.form-submit { margin-top: 23px; }
.form-status { margin-top: 14px; border: 1px solid #dbeaf0; background: #f0f7fa; color: #395d6d; font-size: .8125rem; padding: 12px; border-radius: 10px; }
.form-status.is-error { background: #fff2f0; border-color: #f2d3cc; color: #a14533; }
.form-status.is-success { background: #ecf8f1; border-color: #c7e8d6; color: #1c7451; }
.form-footnote { color: #859aa2; font-size: .75rem; line-height: 1.55; margin-top: 16px; }
.drawer { height: 100dvh; max-height: 100dvh; width: min(355px, calc(100% - 32px)); max-width: 100%; margin: 0; padding: 25px; border-radius: 0 22px 22px 0; border: 0; overflow-y: auto; }
.drawer[open] { animation: drawer-in .2s ease-out; }
.drawer-intro { color: var(--muted); font-size: .875rem; }
.drawer-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.drawer-nav a, .drawer-nav button { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px; border: none; color: var(--ink); border-radius: 11px; background: #f5f8fa; text-align: left; font-size: .9375rem; }
.drawer-nav a:hover, .drawer-nav button:hover { background: #eaf8f0; color: var(--green); }
.drawer-contact { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); }
.drawer-contact span { color: var(--muted); font-size: .8125rem; display: block; }
.drawer-contact a { font-size: 1.125rem; font-weight: 700; display: block; margin-top: 8px; }
.noscript-note { position: fixed; left: 16px; right: 16px; bottom: 16px; background: var(--navy); color: white; padding: 16px; border-radius: 12px; z-index: 20; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawer-in { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@media (min-width: 1500px) { .container { width: min(1380px, calc(100% - 80px)); } .store-layout { grid-template-columns: minmax(0,1fr) 340px; } .company-card { min-height: 304px; } }
@media (max-width: 1180px) {
  .container { width: calc(100% - 44px); }
  .header-main { gap: 16px; }
  .header-branding { gap: 6px; }
  .brand { width: 167px; height: 42px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-wordmark-image { width: 133px; height: 34px; background-size: 234px 234px; background-position: -50px -155px; }
  .header-actions { gap: 9px; }
  .header-phone > .icon { display: none; }
  .header-phone small { font-size: .75rem; }
  .header-phone strong { font-size: .9375rem; }
  .callback-button { display: none; }
  .store-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 20px; }
  .company-grid { gap: 13px; }
  .company-card { padding: 14px; min-height: 288px; }
  .company-name { font-size: 1rem; }
  .brand-tagline { font-size: .75rem; letter-spacing: .9px; }
  .company-description { font-size: .75rem; }
  .card-button { font-size: .875rem; padding-inline: 8px; gap: 6px; }
  .bestsellers { padding: 20px 16px 16px; }
  .bestseller-heading h2 { font-size: 1rem; }
  .rank-picture { width: 68px; height: 78px; }
  .rank-name { font-size: .8125rem; }
  .contact-section { grid-template-columns: 1fr 1.65fr; gap: 24px; padding: 25px; }
}
@media (max-width: 950px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 14px; min-height: 86px; }
  .header-phone span { display: none; }
  .header-phone > .icon { display: block; }
  .header-phone { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; justify-content: center; }
  .search-key { display: none; }
  .intro-callback { display: none; }
  .page-intro { padding: 30px 0 27px; }
  .store-layout { grid-template-columns: minmax(0,1fr); }
  .company-card { min-height: 296px; padding: 17px; }
  .company-name { font-size: 1.0625rem; }
  .bestsellers { padding: 23px; margin-top: 10px; }
  .ranking-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .ranking-item { display: block; border: 1px solid var(--line); padding: 15px; border-radius: 14px; }
  .rank-picture { width: 100%; height: 145px; margin-bottom: 14px; }
  .rank-number { left: 5px; top: 5px; }
  .rank-name { font-size: .9375rem; }
  .rank-bottom { gap: 8px; }
  .rank-sales { font-size: .75rem; }
  .help-card { display: grid; grid-template-columns: 30px 1fr auto; gap: 0 10px; align-items: center; padding: 18px 20px; }
  .help-card > .icon { grid-row: 1/3; }
  .help-card h3 { margin: 0; }
  .help-card p { grid-column: 2; margin-top: 5px; }
  .help-card .button { grid-column: 3; grid-row: 1/3; margin: 0; min-width: 140px; }
  .contact-section { margin-top: 28px; }
  .contact-options { grid-template-columns: 1fr; row-gap: 16px; }
  .footer-inner p:nth-child(2) { display: none; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 155px; }
  .container { width: calc(100% - 32px); }
  .top-strip { font-size: .75rem; }
  .top-strip-inner { min-height: 31px; }
  .top-region { display: none !important; }
  .top-strip .icon { width: 13px; height: 13px; }
  .header-main { grid-template-columns: 1fr auto; row-gap: 13px; padding-block: 13px; min-height: 134px; }
  .header-branding { gap: 5px; }
  .brand { width: 149px; height: 37px; border-radius: 10px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-wordmark-image { width: 116px; height: 30px; background-size: 204px 204px; background-position: -44px -135px; }
  .menu-button { width: 33px; height: 38px; }
  .header-actions { gap: 8px; }
  .header-phone, .login-button { width: 38px; height: 38px; }
  .header-phone .icon, .login-button .icon { width: 19px; height: 19px; }
  .search-form { grid-column: 1/-1; grid-row: 2; height: 45px; border-radius: 11px; }
  .search-form input { font-size: .875rem; padding-left: 10px; }
  .search-icon { margin-left: 13px; width: 19px; height: 19px; }
  .page-intro { padding: 25px 0 23px; }
  .eyebrow { font-size: .75rem; letter-spacing: 1.3px; }
  h1 { font-size: 1.875rem; letter-spacing: -.9px; max-width: 340px; line-height: 1.22; margin-top: 8px; }
  .intro-copy { font-size: .875rem; line-height: 1.6; margin-top: 10px; max-width: 360px; }
  .section-heading { align-items: flex-start; min-height: 62px; margin-bottom: 13px; gap: 9px; }
  .section-heading h2 { font-size: 1.25rem; }
  .section-heading p { font-size: .8125rem; max-width: 235px; line-height: 1.5; }
  .count-pill { font-size: .75rem; padding: 5px 8px; margin-top: 2px; }
  .company-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .company-card { padding: 12px; min-height: 276px; border-radius: 15px; }
  .card-top { gap: 5px; }
  .purchase-count { font-size: .75rem; padding: 3px 5px; }
  .purchase-count .icon { width: 12px; height: 12px; }
  .card-order { font-size: .75rem; }
  .company-brand-area { min-height: 134px; padding-block: 10px; }
  .company-logo-frame { width: 110px; height: 76px; }
  .company-logo { max-height: 68px; }
  .company-name { font-size: .9375rem; }
  .brand-tagline { font-size: .75rem; letter-spacing: .8px; }
  .company-description { font-size: .75rem; margin-bottom: 11px; }
  .card-button { min-height: 40px; border-radius: 9px; font-size: .875rem; padding: 9px 5px; gap: 5px; }
  .card-button .icon { width: 15px; height: 15px; }
  .coming-soon { font-size: .75rem; padding: 3px 6px; }
  .demo-note { font-size: .75rem; line-height: 1.5; align-items: flex-start; margin-top: 13px; }
  .demo-note .icon { margin-top: 2px; }
  .bestsellers { padding: 19px 17px 17px; border-radius: 17px; }
  .bestseller-heading h2 { font-size: 1.1875rem; }
  .bestseller-heading .eyebrow { font-size: .75rem; }
  .ranking-list { display: block; }
  .ranking-item { display: flex; padding: 15px 0; border: none; border-bottom: 1px solid #eef2f4; border-radius: 0; }
  .rank-picture { width: 85px; height: 90px; margin: 0; }
  .rank-number { left: -4px; top: -4px; }
  .rank-name { font-size: .9375rem; }
  .rank-spec { font-size: .8125rem; }
  .rank-price { font-size: 1rem; }
  .rank-sales { font-size: .75rem; }
  .help-card { display: block; padding: 18px; }
  .help-card h3 { margin-top: 8px; }
  .help-card p { margin-top: 7px; }
  .help-card .button { margin-top: 13px; width: 100%; }
  .contact-section { grid-template-columns: 1fr; gap: 22px; padding: 23px 20px; border-radius: 17px; }
  .contact-intro h2 { font-size: 1.5rem; }
  .contact-intro h2 br { display: none; }
  .contact-options { grid-template-columns: 1fr; gap: 20px; }
  .contact-options > .button { width: 100%; }
  .footer-inner { align-items: center; font-size: .75rem; }
  .search-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-card { padding: 12px; }
  .product-card h3 { font-size: .875rem; }
  .product-card-image { height: 140px; }
  .dialog { padding: 20px; max-height: calc(100dvh - 28px); border-radius: 18px; }
  .form-dialog { padding: 22px; }
  .dialog-top { margin-bottom: 15px; }
  .product-detail { grid-template-columns: 1fr; gap: 22px; }
  .product-detail-image { padding: 13px; }
  .product-detail-image img { max-height: 250px; }
  .product-detail-info h2 { font-size: 1.5rem; }
  .detail-price { font-size: 1.75rem; margin-top: 12px; }
  .product-specs { padding-bottom: 10px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 24px); }
  .header-branding { gap: 2px; }
  .brand { width: 135px; height: 34px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-wordmark-image { width: 105px; height: 28px; background-size: 186px 186px; background-position: -40px -123px; }
  .header-main { gap: 9px; }
  .header-actions { gap: 5px; }
  .company-card { padding: 10px; }
  .company-name { font-size: .875rem; }
  .card-order { display: none; }
  .card-button { font-size: .875rem; }
  .company-description { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
