/* AiSavdo storefront. Vanilla CSS — build bosqichi yoki tashqi kutubxona kerak emas. */
:root {
  --muted-2: #4f676e;
  --green-text: #007a4d;
  --navy: #0b2530;
  --ink: #132e38;
  --muted: var(--muted-2);
  --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; overflow-x: clip; scrollbar-gutter: stable both-edges; }
body { margin: 0; width: 100%; max-width: 100%; overflow-x: hidden; font-size: 16px; line-height: 1.5; background: linear-gradient(115deg, #f2fbf6, #f2faff); }
body.modal-open { overflow: hidden; }
button, input, select, textarea { 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; }
.order-dialog{max-width:720px}.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.order-product-summary{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding:12px;background:#f3faf7;border-radius:14px}.order-product-summary img{object-fit:contain;background:white;border-radius:10px}.order-product-summary div{display:grid;gap:5px}.quantity-control{display:grid;grid-template-columns:44px 60px 44px;align-items:center}.quantity-control button{height:44px;border:1px solid #bfd1d4;background:white;border-radius:10px;font-size:20px}.quantity-control output{text-align:center;font-weight:800}.order-total{font-size:20px;font-weight:800}.order-success{text-align:center;padding:30px 16px}.honeypot{position:absolute!important;left:-9999px!important}.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: 44px; 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: 72px; min-height: 44px; 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 { min-height: 48px; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; max-width: 36px; max-height: 36px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; background: linear-gradient(110deg,#00b377,#1aa3e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.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; width:44px; height:44px; }
.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: 1px; border: none; border-radius: 8px; background: #e9f0f3; width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); }
.search-clear .icon { width: 17px; height: 17px; }
.header-phone { display: flex; align-items: center; gap: 10px; min-height:44px; min-width:44px; 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 { width:44px; height:44px; 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 { color:var(--green-text); font-size: .75rem; letter-spacing: 1.6px; font-weight: 700; color: var(--green-text); }
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 { color:#06729a; font-size: .8125rem; color: #06729a; 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); }
.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: var(--muted-2); 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; }
[data-logo-crop="trim_top"] .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. */
[data-logo-crop="trim_top"] .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: var(--muted-2); 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: var(--muted-2); 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 { color:var(--green-text); 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: var(--muted-2); }
.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: var(--muted-2); 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 { color:#00794d; font-size: .75rem; color: #00794d; background: #e4fbef; padding: 3px 5px; border-radius: 4px; white-space: nowrap; }
.ranking-note { display: flex; align-items: center; gap: 5px; color: var(--muted-2); 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-text); color: var(--green-text); 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: var(--muted-2); 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: var(--muted-2); 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: var(--muted-2); font-style: normal; display: block; margin-top: 5px; }
.contact-options > .button { justify-self: start; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted-2); 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: var(--muted-2); 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: var(--muted-2); 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: var(--muted-2); 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: var(--muted-2); 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: var(--muted-2); 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; }
  .header-actions { gap: 9px; }
  .header-phone > .icon { display: none; }
  .header-phone small { font-size: .75rem; }
  .header-phone strong { font-size: .9375rem; }
  .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 { color:#00794d; 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; }
  .menu-button { width:44px; height:44px; }
  .header-actions { gap: 8px; }
  .header-phone, .login-button { width:44px; height:44px; }
  .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 { color:var(--green-text); 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 { color:#06729a; 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 { color:var(--green-text); 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 { color:#00794d; 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; }
  .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; }
}

/* Accessibility sizing and touch targets */
.callback-button, .login-button, .menu-button, .header-phone { min-width:44px; min-height:44px; }
.breadcrumbs a, .footer-inner a { position: relative; }
.breadcrumbs a::after, .footer-inner a::after { content:""; position:absolute; inset:-13px -6px; }
.brand-nav a { min-height:44px; display:inline-flex; align-items:center; }
.brand-faq details { padding:0; }
.brand-faq summary { min-height:48px; padding:18px; display:flex; align-items:center; }
.brand-faq details p { margin-top:0; padding:0 18px 18px; }
.field-error { min-height:18px; color:#a14533; font-size:.8125rem; margin-top:6px; }
.form-field.has-error input { border-color:#b83b2b; }
.company-grid > .company-card:only-child { grid-column:1 / -1; max-width:520px; width:100%; justify-self:center; }
.brand-empty-horizontal { max-width:none; min-height:140px; display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:center; gap:20px; text-align:left; }
.brand-empty-horizontal .brand-empty-symbol { grid-row:1 / 3; }
.brand-empty-horizontal .button { grid-column:3; grid-row:1 / 3; }
.brand-empty-horizontal h3 { margin:0; }
.brand-empty-horizontal p { margin:0; }
.brand-empty-horizontal #reset-search { grid-column:2 / -1; grid-row:3; justify-self:start; margin-left:0; }
.enerza-note { border-radius:18px !important; aspect-ratio:auto !important; max-width:none !important; }
.enerza-benefits { display:grid; gap:10px; text-align:left; }
.enerza-benefit { display:flex; align-items:center; gap:10px; background:white; border-radius:12px; padding:12px; }
.enerza-benefit .icon { width:22px; height:22px; color:#087ca5; }
.selection-advice { margin-top:14px; }
@media (max-width:650px) {
  .brand { gap:5px; }
  .brand-wordmark { font-size:1.25rem; }
  .header-actions { gap:8px; }
  .header-main { grid-template-columns:minmax(0,1fr) auto; }
  .header-phone span { display:none; }
  .header-phone { width:44px; height:44px; }
  .menu-button, .callback-button, .login-button { width:44px; height:44px; }
  .top-strip-inner { min-height:44px; }
  .brand-empty-horizontal { grid-template-columns:52px minmax(0,1fr); min-height:140px; padding:20px; }
  .brand-empty-horizontal .button { grid-column:1 / -1; grid-row:auto; width:100%; }
  .top-strip-second { display:none; }
}

@media (max-width: 480px) { .top-strip-second { display: none !important; } }
@media (max-width:650px) { .button, .card-button, .help-card .button { min-height:44px !important; } .search-form input { min-height:44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.product-card-image-wrap { position: relative; }
.product-card-image-wrap .product-card-image { margin-bottom:16px; }
.power-badge { position:absolute; top:8px; right:8px; z-index:1; padding:5px 7px; border-radius:7px; background:#073b43; color:white; font-size:.75rem; font-weight:750; }
.product-card .area-line { color:var(--muted-2); }
.company-logo-frame { background:white; border-radius:50%; border:1px solid var(--company-border); }
[data-logo-crop="trim_top"] .company-logo-frame { width:150px; height:82px; border-radius:50%; }
[data-logo-crop="trim_top"] .company-logo { position:static; width:auto; height:auto; max-width:100%; max-height:72px; }
.order-dialog { width:min(720px, calc(100% - 32px)); }
.order-grid > .form-field, .order-product-summary > div { min-width:0; }
.order-product-summary { overflow-wrap:anywhere; }
.order-product-summary img { flex:0 0 96px; }
#order-form .form-field label { display:block; font-size:.875rem; font-weight:600; margin:0 0 6px; }
#order-form input:not(.honeypot), #order-form select, #order-form textarea { width:100%; min-width:0; min-height:48px; padding:10px 12px; border:1px solid #d7e3e8; border-radius:10px; background:white; color:var(--ink); }
#order-form textarea { min-height:90px; resize:vertical; }
#order-form [aria-invalid="true"] { border-color:#b83b2b; }
.quantity-control button:disabled { opacity:.5; cursor:default; }
@media(max-width:650px){.order-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.order-grid{grid-template-columns:1fr}.order-dialog .form-submit{position:static}.brand-empty-horizontal #reset-search{grid-column:1 / -1;grid-row:auto;width:100%}}

/* The whole header stays visible, independent of the page's overflow rules. */
body{padding-top:var(--site-chrome-height,140px)}
html{scroll-padding-top:calc(var(--site-chrome-height,140px) + 16px)}
.site-chrome{position:fixed;inset:0 0 auto;z-index:30;background:white}
.site-chrome .site-header{position:static}
.header-actions .script-toggle{flex:0 0 auto;min-height:44px;min-width:68px;background:#eef9f5;border-color:var(--line);color:var(--ink)}
.product-media{min-width:0}
.product-media .product-detail-image{min-height:280px;aspect-ratio:1}
.product-detail-image video{width:100%;max-height:380px;object-fit:contain}
.product-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 2px 4px}
.gallery-thumb{flex:0 0 68px;width:68px;height:68px;padding:3px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink)}
.gallery-thumb.is-active{border:2px solid var(--green)}
.gallery-thumb img{width:100%;height:100%;object-fit:contain;border-radius:6px}
.gallery-video-label{display:grid;place-items:center;font-size:23px;line-height:1}
.gallery-video-label small{font-size:11px;margin-top:3px}
@media(max-width:650px){.header-main{gap:10px}.header-actions{gap:5px}.header-actions .callback-button{display:none}.header-actions .script-toggle{min-width:56px;padding-inline:6px}.brand{width:auto;gap:5px}.brand-wordmark{font-size:1.05rem}.header-branding{gap:4px}.product-media .product-detail-image{min-height:200px}.product-detail-image video{max-height:280px}}
@media(max-width:359px){.header-branding .brand-wordmark{display:none}.header-branding{gap:4px}.brand-mark{width:30px;height:30px}.header-main{gap:8px}}

.order-note-field{grid-column:1 / -1}

.company-initial{display:grid;place-items:center;width:92px;height:72px;border-radius:var(--company-logo-radius,11px);background:var(--company-button);color:var(--company-ink);font-size:2.2rem;font-weight:800}.company-card{border-radius:var(--company-radius,18px);box-shadow:var(--company-shadow,none);font-family:var(--company-font,system-ui,sans-serif)}.company-logo-frame{border-radius:var(--company-logo-radius,11px)}
