/* kudikiuprekes.lt - homepage v2 (style A: soft & warm). Scoped to body.v2 page only. 2026-09-23 */
/* Nunito self-hosted (prelaunch 2026-09-24): the 2 variable woff2 files Google serves for wght 400-800 (v32); preloaded in every v2 <head>. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/nunito/nunito-v32-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/nunito/nunito-v32-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"), local("Roboto"); size-adjust: 86%; ascent-override: 117.5%; descent-override: 41%; line-gap-override: 0%; }
:root {
    --brand: #00aeef;          /* brand blue (decorative / large) */
    --brand-light: #5bb8f6;
    --primary: #0077a8;        /* deepened brand blue: white text 5.0:1 */
    --primary-hover: #00628b;
    --link: #0070a0;
    --accent: #ffae00;         /* brand yellow-orange */
    --accent-hover: #f09f00;
    --ink: #363636;
    --ink-soft: #5f6368;
    --muted: #6b6b6b;          /* 5.2:1 on --bg (#767676 was 4.46:1) */
    --line: #e9eef2;
    --bg: #fffdf8;             /* soft cream */
    --surface: #ffffff;
    --sky: #eaf7fd;
    --butter: #fff5db;
    --mint: #eaf8f1;
    --blush: #fdeef0;
    --lilac: #f1eefb;
    --peach: #fff0e6;
    --ok: #1f8a4c;
    --danger: #c0392b;
    --r-sm: 12px;
    --r: 18px;
    --r-lg: 24px;
    --pill: 999px;
    --shadow-sm: 0 1px 2px rgba(20, 50, 80, .06), 0 2px 8px rgba(20, 50, 80, .05);
    --shadow: 0 6px 24px rgba(20, 60, 90, .08);
    --shadow-lg: 0 14px 40px rgba(20, 60, 90, .12);
    --font: "Nunito", "Nunito Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wrap: 1280px;
    --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.v2 {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.55 var(--font);
    overflow-x: hidden;
}
.v2 img { max-width: 100%; height: auto; display: block; }
.v2 a { color: var(--link); text-decoration: none; }
.v2 a:hover { text-decoration: underline; }
.v2 h1, .v2 h2, .v2 h3 { font-family: var(--font); color: var(--ink); margin: 0; line-height: 1.2; }
.v2 ul { list-style: none; margin: 0; padding: 0; }
.v2 button { font: inherit; }
.v2 :focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: var(--pill); box-shadow: var(--shadow); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
/* .v2 ul resets margin/padding and outranks .wrap - keep lists that are also .wrap centered with gutters */
.v2 ul.wrap { margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
[hidden] { display: none !important; }

.tone-sky { background: var(--sky); }
.tone-butter { background: var(--butter); }
.tone-mint { background: var(--mint); }
.tone-blush { background: var(--blush); }
.tone-lilac { background: var(--lilac); }
.tone-peach { background: var(--peach); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 20px;
    border: 0; border-radius: var(--pill);
    font-weight: 700; font-size: 15px; line-height: 1.2;
    cursor: pointer; text-decoration: none !important;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-accent { background: var(--accent); color: var(--ink) !important; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-soft { background: var(--sky); color: var(--primary) !important; }
.btn-soft:hover { background: #d9f0fb; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.is-done { background: var(--ok); }

.icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 44px; min-height: 44px; padding: 0 8px;
    background: transparent; border: 0; border-radius: var(--pill);
    color: var(--ink) !important; cursor: pointer;
}
.icon-btn:hover { background: var(--sky); text-decoration: none !important; }
.icon-btn.round { background: var(--surface); box-shadow: var(--shadow-sm); }
.icon-btn .lbl { display: none; font-size: 13px; font-weight: 700; }

/* ---------- promo bar ---------- */
.promo-bar { background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; }
.promo-bar .wrap { display: flex; flex-wrap: nowrap; gap: 24px; justify-content: center; align-items: center; height: 36px; overflow: hidden; }
.promo-bar span, .promo-bar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; white-space: nowrap; min-height: 36px; }
.promo-bar svg { flex: none; }
.hide-sm, .hide-md { display: none !important; }
.preview-flag { position: fixed; left: 12px; bottom: 12px; z-index: 90; pointer-events: none; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 12px; line-height: 1.2; padding: 5px 10px; border-radius: var(--pill); box-shadow: var(--shadow-sm); } /* fixed pill: never shifts layout (CLS) */

/* ---------- header ---------- */
.site-header { background: var(--surface); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 40; }
.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "menu logo actions" "search search search";
    align-items: center; gap: 8px 8px;
    padding-top: 8px; padding-bottom: 10px;
}
.menu-btn { grid-area: menu; }
.logo { grid-area: logo; display: inline-flex; align-items: center; min-height: 44px; }
.logo img { width: 140px; height: auto; }
.actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.hide-xs { display: none !important; }
.cart-count {
    position: absolute; top: 2px; right: 0;
    min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: var(--pill); background: var(--accent); color: var(--ink);
    font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}
.search { grid-area: search; position: relative; display: flex; }
.search input {
    width: 100%; min-height: 46px; padding: 10px 56px 10px 18px;
    border: 2px solid var(--line); border-radius: var(--pill);
    background: var(--sky); color: var(--ink); font: 600 16px var(--font);
    -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: #6b7c88; font-weight: 400; }
.search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 119, 168, .25); background: #fff; }
.search button {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.search button:hover { background: var(--primary-hover); }

.cat-nav { border-top: 1px solid var(--line); display: none; }
.cat-nav-list { display: flex; gap: 8px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.cat-nav-list::-webkit-scrollbar { display: none; }
/* tablet: row scrolls, fade the right edge so it's clear there is more */
.cat-nav-list { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.chip {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
    border-radius: var(--pill); background: var(--bg); border: 1px solid var(--line);
    color: var(--ink) !important; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.chip:hover { background: var(--sky); border-color: #cfe9f6; text-decoration: none !important; }
.chip.is-sale { background: var(--accent); border-color: var(--accent); }
.chip.is-sale:hover { background: var(--accent-hover); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(30, 45, 60, .45); }
.drawer-panel {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 360px);
    background: var(--surface); border-radius: 0 var(--r-lg) var(--r-lg) 0;
    box-shadow: var(--shadow-lg); overflow-y: auto; padding: 12px 16px 24px;
    animation: slideIn .22s ease-out;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.drawer-list li a {
    display: flex; justify-content: space-between; align-items: center; min-height: 50px;
    padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink) !important; font-weight: 700;
}
.drawer-list li a:hover { background: var(--sky); text-decoration: none !important; }
.drawer-list svg { color: var(--muted); }
body.drawer-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 16px; padding-top: 16px; padding-bottom: 8px; }
.hero-intro {
    order: 2; background: linear-gradient(135deg, var(--sky), #f4fbff 60%, var(--butter));
    border-radius: var(--r-lg); padding: 24px 20px;
}
.eyebrow { margin: 0 0 6px; color: var(--primary); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(26px, 6.4vw, 44px); font-weight: 800; letter-spacing: -.01em; }
.hero-sub { margin: 12px 0 18px; color: var(--ink-soft); font-size: 16px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { order: 1; min-width: 0; }
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); box-shadow: var(--shadow); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.slide a { display: block; width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 2px; }
.dot-btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dot-btn::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); transition: width .2s; }
.dot-btn.is-active::before { width: 26px; border-radius: var(--pill); background: var(--primary); }

/* ---------- value props ---------- */
.props { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.prop { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); }
.prop svg { flex: none; color: var(--primary); }
.prop strong { display: block; font-weight: 800; font-size: 15px; }
.prop span { display: block; color: var(--ink-soft); font-size: 14px; line-height: 1.35; }

/* ---------- sections ---------- */
.section { padding-top: 28px; padding-bottom: 28px; }
.band { margin-top: 12px; margin-bottom: 12px; }
.band.tone-sky { background: linear-gradient(180deg, var(--sky), #f5fbfe); }
.band.tone-butter { background: linear-gradient(180deg, var(--butter), #fffaf0); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(22px, 4.6vw, 30px); font-weight: 800; }
.section-sub { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; white-space: nowrap; min-height: 44px; }
.rail-ctrl { display: flex; align-items: center; gap: 8px; }
.rail-ctrl .icon-btn { display: none; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-tile {
    display: flex; align-items: center; gap: 12px; height: 100%; min-height: 76px; padding: 12px 14px;
    border-radius: var(--r); color: var(--ink) !important; font-weight: 800; font-size: 14px; line-height: 1.25;
    transition: transform .15s ease, box-shadow .15s ease;
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none !important; }
.cat-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .8); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.cat-name { overflow-wrap: anywhere; }

/* ---------- product rail + card ---------- */
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2.15);
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0;
    padding: 4px 2px 10px; margin: 0 -2px; scrollbar-width: none; overscroll-behavior-x: contain; /* no visible scrollbar: arrows on >=768, swipe + next-card peek on mobile */
}
.rail > li { scroll-snap-align: start; min-width: 0; }
.rail::-webkit-scrollbar { display: none; }
.pc {
    display: flex; flex-direction: column; height: 100%;
    background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm);
    overflow: hidden; transition: box-shadow .15s ease, transform .15s ease;
}
.pc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pc-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; padding: 10px; overflow: hidden; }
/* absolute so a very tall/wide photo can never stretch the square box (aspect-ratio + height:100% lets content grow it) */
.pc-media img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.pc-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; border-radius: var(--pill);
    background: var(--accent); color: var(--ink); font-weight: 800; font-size: 13px;
}
.pc-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 10px 12px 12px; }
.pc-brand { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-title { font-size: 14px; font-weight: 700; line-height: 1.35; min-height: calc(1.35em * 3); } /* long supplier names: 3 lines */
.pc-title a { color: var(--ink) !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; }
.pc-now { font-size: 18px; font-weight: 800; color: var(--ink); }
.pc-now.is-sale { color: #b3261e; }
.pc-old { color: var(--muted); font-size: 14px; }
.pc-stock { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.dot.ok { background: var(--ok); }
.dot.no { background: #c2c2c2; }
.pc-btn { width: 100%; margin-top: 4px; }
.pc-btn span { white-space: nowrap; }

.stars { --r: 0; position: relative; display: inline-block; width: 80px; height: 16px; flex: none;
    background: linear-gradient(90deg, var(--accent) calc(var(--r) / 5 * 100%), #dfe3e6 0);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9z'/%3E%3C/svg%3E") 0 0 / 16px 16px repeat-x;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9z'/%3E%3C/svg%3E") 0 0 / 16px 16px repeat-x;
}
.stars-lg { width: 140px; height: 28px; -webkit-mask-size: 28px 28px; mask-size: 28px 28px; }

/* ---------- trust ---------- */
.trust { display: grid; gap: 16px; background: var(--surface); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.trust-score { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border-radius: var(--r); background: var(--butter); }
.big-score { font-size: 48px; font-weight: 800; line-height: 1; }
.big-score small { font-size: 20px; color: var(--muted); font-weight: 700; }
.trust-score h2 { font-size: 20px; font-weight: 800; }
.trust-score p { margin: 0 0 6px; color: var(--ink-soft); font-size: 14px; }
.quotes { display: grid; gap: 12px; }
.quote { padding: 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.quote blockquote { margin: 0; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.quote cite { font-style: normal; font-weight: 800; font-size: 14px; color: var(--ink-soft); }

/* ---------- brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.brand-tile {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1;
    padding: 10px 14px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
}
.brand-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-tile img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- newsletter + gift ---------- */
.duo { display: grid; gap: 16px; }
.news, .gift { border-radius: var(--r-lg); padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.news-ico { color: var(--primary); }
.news h2, .gift h2 { font-size: 24px; font-weight: 800; }
.news p, .gift p { margin: 0; color: var(--ink-soft); }
.gift .btn { align-self: flex-start; }
.news-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.news-row { display: flex; flex-direction: column; gap: 8px; }
.news-row input {
    flex: 1; min-height: 48px; padding: 10px 18px; border: 2px solid #f2e2b3; border-radius: var(--pill);
    background: #fff; font: 600 16px var(--font); color: var(--ink);
}
.news-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 119, 168, .25); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); cursor: pointer; min-height: 44px; padding-top: 4px; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--primary); }
.news-msg { margin: 0; font-weight: 700; font-size: 14px; min-height: 1.4em; }
.news-msg.ok { color: var(--ok); }
.news-msg.err { color: var(--danger); }

/* ---------- footer ---------- */
.site-footer { margin-top: 24px; background: #f3f8fb; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-top: 32px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
.foot-col h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.foot-col li { margin: 0; }
.foot-col li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft) !important; font-weight: 600; }
.foot-col li a:hover { color: var(--primary) !important; }
.foot-brand p { color: var(--ink-soft); margin: 12px 0; }
.fb { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--pill); background: #fff; font-weight: 800; box-shadow: var(--shadow-sm); }
.contacts li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-soft); font-weight: 600; }
.contacts li a { min-height: 0; }
.contacts svg { flex: none; margin-top: 3px; color: var(--primary); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.v2 ul.pills { margin-bottom: 12px; } /* .v2 ul reset outranks .pills - keep space between shipping and payment rows */
.pills li { padding: 6px 12px; border-radius: var(--pill); background: #fff; font-size: 13px; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.pills-pay li { background: var(--butter); }
.copy { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 24px; font-size: 13px; color: var(--ink-soft); }

/* ---------- toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 70;
    display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px);
    padding: 10px 10px 10px 18px; border-radius: var(--pill);
    background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg);
    animation: toastIn .2s ease-out;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast.is-error { background: var(--danger); }

/* ---------- >= 480px ---------- */
@media (min-width: 480px) {
    .hide-xs { display: inline-flex !important; }
    .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .news-row { flex-direction: row; }
}

/* ---------- >= 768px ---------- */
@media (min-width: 768px) {
    :root { --gutter: 24px; }
    .hide-sm { display: inline-flex !important; }
    .header-row { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search actions"; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
    .menu-btn { display: none; }
    .logo img { width: 168px; }
    .search { max-width: 640px; }
    .icon-btn .lbl { display: inline; }
    .cat-nav { display: block; }
    .rail { grid-auto-columns: calc((100% - 36px) / 3.2); gap: 14px; }
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .duo { grid-template-columns: 3fr 2fr; }
    .trust { grid-template-columns: 280px 1fr; align-items: start; padding: 24px; }
    .rail-ctrl .icon-btn { display: inline-flex; }
    .section { padding-top: 36px; padding-bottom: 36px; }
}

/* ---------- >= 1024px ---------- */
@media (min-width: 1024px) {
    .hide-md { display: inline-flex !important; }
    .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; gap: 20px; padding-top: 24px; }
    .hero-intro { order: 1; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
    .hero-media { order: 2; }
    .props { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .rail { grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; }
    .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .cat-tile { flex-direction: column; justify-content: center; text-align: center; min-height: 150px; padding: 18px 12px; font-size: 15px; }
    .cat-ico { width: 68px; height: 68px; }
    .brand-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
    .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
    .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust { grid-template-columns: 1fr; }
    .trust-score { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 20px; text-align: left; }
    .trust-score p { margin: 0; }
}
@media (min-width: 1280px) {
    .cat-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- header search suggestions (js/v3/search.js; shared by all v2 pages) ---------- */
.search-pop {
    position: fixed; z-index: 45; left: 0; right: 0; top: 120px;
    max-height: 70vh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--surface); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg);
    padding: 14px var(--gutter) 16px; text-align: left;
}
.sp-sec + .sp-sec { margin-top: 14px; }
.sp-h { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sp-logos { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.sp-logos::-webkit-scrollbar { display: none; }
.v2 .sp-logo {
    flex: none; display: flex; align-items: center; justify-content: center; width: 96px; height: 56px; padding: 6px 8px;
    border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-weight: 700; font-size: 13px;
}
.sp-logo img { width: 100%; height: 100%; object-fit: contain; }
.sp-list { display: grid; gap: 2px; }
.v2 .sp-item { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 8px; border-radius: var(--r-sm); color: var(--ink); }
.sp-item img { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; }
.sp-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-name { font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sp-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 13px; }
.sp-price { font-weight: 800; font-size: 15px; color: var(--ink); }
.sp-price.is-sale { color: #b3261e; }
.sp-old { color: var(--muted); }
.sp-ship { color: var(--ok); font-weight: 700; }
.sp-out { color: var(--danger); font-weight: 700; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v2 .sp-all { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; border-radius: var(--pill); background: var(--sky); color: var(--primary); font-weight: 800; }
.v2 .js-sopt:hover, .v2 .js-sopt.is-active { background: var(--sky); text-decoration: none; }
.v2 .sp-logo.is-active, .v2 .sp-logo:hover { border-color: var(--brand); }
.v2 .sp-all.is-active, .v2 .sp-all:hover { background: #d9f0fb; }
.sp-loading, .sp-empty { margin: 4px 0; color: var(--ink-soft); font-weight: 600; }
@media (min-width: 768px) {
    .search-pop { border-radius: var(--r-lg); padding: 18px 20px; }
    .sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; }
    .sp-grid .sp-sec + .sp-sec { margin-top: 0; }
    .sp-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
    .v2 .sp-logo { width: auto; }
}
@media (min-width: 1024px) {
    .sp-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sp-grid .sp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
}

/* ---------- header category nav: compact icon tiles (replaced text chips; homepage tile section removed) ---------- */
.cat-nav { background: var(--surface); box-shadow: 0 1px 0 var(--line); }
html { scroll-padding-top: 96px; }
.v2 ul.cat-nav-list { padding-top: 10px; padding-bottom: 10px; gap: 4px; }
.cat-nav-list > li { flex: none; }
.cat-mini {
    display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 84px; min-height: 44px;
    padding: 4px 6px 6px; border-radius: 14px; color: var(--ink) !important; text-align: center;
    font-size: 12.5px; font-weight: 700; line-height: 1.2; text-decoration: none !important;
}
.cat-mini:hover, .cat-mini:focus-visible { background: var(--bg); }
.cat-mini-ico {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--primary); transition: transform .15s ease;
}
.cat-mini:hover .cat-mini-ico { transform: translateY(-2px); }
.cat-mini.is-sale .cat-mini-ico { background: var(--accent); color: var(--ink); font-size: 20px; font-weight: 800; }
.cat-mini-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: normal; word-break: normal; max-width: 120px; } /* never split a word mid-way; tile grows to the longest word */
@media (min-width: 1280px) {
    /* all 14 fit in one row */
    .cat-nav-list { justify-content: space-between; overflow: visible; -webkit-mask-image: none; mask-image: none; }
    .cat-nav-list > li { flex: 1 1 auto; }
    .cat-mini { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .cat-mini-ico { transition: none; } }

/* ---------- homepage audit fixes 2026-09-23 ---------- */
.pc-rating-n { font-size: 13px; }
.slider-pause {
    position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.slider-pause::before { content: ""; width: 12px; height: 14px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); box-sizing: border-box; }
.slider-pause[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); }
.search button { min-width: 44px; min-height: 44px; }
.foot-contact a, .foot-col a[href^="tel:"], .foot-col a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
/* Cookie consent banner (injected late by a GTM Custom HTML tag; prelaunch 2026-09-24).
   v2 pages only: compact fixed bottom bar with small text so it never becomes the LCP element.
   Still visible and fully usable (legal consent); the long text scrolls inside the bar; 0.3 s opacity fade-in. */
body.v2 #cookie-banner {
    position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; width: auto; max-width: 760px; margin: 0 auto;
    padding: 10px 12px; box-sizing: border-box; background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-lg);
    font: 400 13px/1.35 var(--font); z-index: 9999;
    display: grid; grid-template-columns: 1fr; gap: 6px 14px; max-height: 42vh; max-height: 42dvh;
    animation: v2-cookie-in .3s ease-out both; /* first paint at opacity 0 -> the late banner is not reported as LCP */
}
@keyframes v2-cookie-in { from { opacity: 0; } to { opacity: 1; } }
body.v2 #cookie-banner.hidden { display: none; }
body.v2 #cookie-banner p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
body.v2 #cookie-banner p:first-child { font-size: 14px; font-weight: 800 !important; color: var(--ink); }
body.v2 #cookie-banner p:not(:first-child) { max-height: calc(1.35em * 2); overflow-y: auto; overscroll-behavior: contain; }
body.v2 #cookie-banner .cookie-buttons { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; margin: 2px 0 0; }
body.v2 #cookie-banner .cookie-buttons button {
    flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0; padding: 8px 12px; border-radius: var(--pill);
    font: 800 14px/1.2 var(--font); cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
body.v2 #cookie-banner .accept-btn { background: var(--primary); border: 1px solid var(--primary); color: #fff; }
body.v2 #cookie-banner .accept-btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
body.v2 #cookie-banner .deny-btn { background: var(--surface); border: 1px solid var(--primary); color: var(--primary); }
body.v2 #cookie-banner .deny-btn:hover { background: var(--sky); }
body.v2 #cookie-banner button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (min-width: 720px) {
    body.v2 #cookie-banner { grid-template-columns: 1fr auto; bottom: 12px; padding: 12px 16px; }
    body.v2 #cookie-banner p { grid-column: 1; }
    body.v2 #cookie-banner .cookie-buttons { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
    body.v2 #cookie-banner .cookie-buttons button { flex: 0 0 auto; padding: 8px 18px; }
}
