/* НИКТРЕЙД · главная, вариант 3 (по референсу) */
.v3 {
    --navy: #0d1636;
    --navy-2: #16225a;
    --primary: #5348d8;
    --primary-dark: #4339bb;
    --lav: #e9e7ff;
    --mint: #d9f3ee;
    --ink: #10172f;
    --muted: #5b6482;
    --line: #e3e6f3;
    --bg: #f5f6fc;
    --card: #ffffff;
    --green: #1f9d6b;
    --orange: #f08a24;
    --red: #d6454f;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.v3 *, .v3 *::before, .v3 *::after { box-sizing: border-box; }
.v3 :where(a) { color: inherit; text-decoration: none; }
.v3 :where(img) { display: block; max-width: 100%; }
.v3 svg.i { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.v3 :is(a, button, input):focus-visible { outline: 3px solid rgba(83, 72, 216, .55); outline-offset: 2px; }
.v3-container { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- верхняя полоса ---------- */
.v3-top { background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #fff; }
.v3-top-row { display: grid; grid-template-columns: auto minmax(260px, 1fr) auto auto auto; align-items: center; gap: 24px; min-height: 68px; padding: 10px 0; }
.v3-logo { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 12px; background: #fff; }
.v3-logo img { width: 168px; height: auto; }
.v3-search { position: relative; display: flex; width: min(100%, 720px); justify-self: center; }
.v3-search input { width: 100%; min-height: 46px; padding: 0 56px 0 18px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
.v3-search input::placeholder { color: #7f88a8; }
.v3-search > button { position: absolute; top: 50%; right: 5px; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 9px; background: var(--primary); color: #fff; cursor: pointer; transform: translateY(-50%); }
.v3-search > button:hover { background: var(--primary-dark); }
.v3-tool { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.v3-tool.is-stack { flex-direction: column; gap: 2px; font-size: 12px; font-weight: 600; }
.v3-tool:hover { color: #cfd0ff; }
.v3-cart { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; white-space: nowrap; }
.v3-cart:hover { background: var(--primary-dark); }
.v3-cart-count { position: absolute; top: -7px; right: -9px; display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; padding: 0 5px; border-radius: 999px; background: #ff7a45; color: #fff; font-size: 11px; font-weight: 800; }
.v3-cart-ico { position: relative; display: inline-flex; }

/* ---------- строка меню ---------- */
.v3-navwrap { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.v3-nav { display: flex; align-items: center; gap: 6px; min-height: 60px; overflow-x: auto; scrollbar-width: none; }
.v3-nav::-webkit-scrollbar { display: none; }
.v3-catalog-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 22px; margin-right: 18px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.v3-catalog-btn:hover, .v3-catalog-btn[aria-expanded="true"] { background: var(--primary-dark); }
.v3-nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.v3-nav-link:hover { background: var(--lav); color: var(--primary-dark); }
.v3-nav-link .i { color: var(--primary); }
.v3-nav-link.is-hot .i { color: var(--orange); }
.v3-nav-link.is-sale .i { color: var(--red); }

.v3-mega { position: absolute; top: 100%; left: 50%; z-index: 100; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 32px; width: min(1000px, calc(100% - 48px)); max-height: calc(100vh - 160px); padding: 28px 32px; overflow-y: auto; border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 30px 60px rgba(13, 22, 54, .18); transform: translateX(-50%); }
.v3-mega[hidden] { display: none; }
.v3-mega h3 { margin: 0 0 10px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.v3-mega-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
.v3-mega-col { display: grid; align-content: start; gap: 2px; min-width: 0; }
.v3-mega a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 650; }
.v3-mega a:hover { background: var(--lav); color: var(--primary-dark); }
.v3-mega .v3-mega-all { margin-top: 8px; color: var(--primary); font-weight: 800; }

/* ---------- баннер и плитки ---------- */
.v3-main { padding: 24px 0 8px; }
.v3-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; }
.v3-banner { position: relative; display: flex; align-items: center; min-height: 380px; padding: 44px 56px; overflow: hidden; border-radius: 22px; background: radial-gradient(circle at 78% 40%, rgba(120, 104, 255, .55), transparent 55%), linear-gradient(120deg, #0f1c4d 0%, #1d2b86 55%, #4b3fc9 100%); color: #fff; }
.v3-banner.has-image { background-size: cover; background-position: center; }
.v3-banner-copy { position: relative; z-index: 2; max-width: 520px; }
.v3-banner h1 { margin: 0 0 16px; font-size: clamp(34px, 3.6vw, 54px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
.v3-banner h1 em { color: #b9b1ff; font-style: normal; }
.v3-banner p { margin: 0 0 26px; max-width: 440px; color: #dfe2ff; font-size: 17px; line-height: 1.5; }
.v3-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.v3-btn:hover { background: var(--lav); }
.v3-btn.is-primary { background: var(--primary); color: #fff; }
.v3-btn.is-primary:hover { background: var(--primary-dark); }
.v3-banner-art { position: absolute; top: 0; right: 24px; bottom: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: center; gap: 0; width: 52%; padding-bottom: 28px; }
.v3-banner-art img { max-height: 76%; width: auto; filter: drop-shadow(0 22px 24px rgba(5, 8, 40, .45)); }
.v3-banner-art img:nth-child(1) { max-height: 66%; margin-right: -22px; transform: rotate(-5deg); }
.v3-banner-art img:nth-child(2) { max-height: 88%; position: relative; z-index: 2; }
.v3-banner-art img:nth-child(3) { max-height: 70%; margin-left: -22px; transform: rotate(5deg); }
.v3-bubble { position: absolute; z-index: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06) 62%); }
.v3-bubble.is-1 { top: 36px; right: 44%; width: 70px; height: 70px; }
.v3-bubble.is-2 { bottom: 40px; right: 6%; width: 46px; height: 46px; }
.v3-bubble.is-3 { top: 90px; right: 8%; width: 28px; height: 28px; }

.v3-tiles { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.v3-tile { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 22px; overflow: hidden; border-radius: 18px; transition: transform .15s ease, box-shadow .15s ease; }
.v3-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 23, 47, .12); }
.v3-tile-ico { display: inline-flex; width: 52px; height: 52px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255, 255, 255, .22); }
.v3-tile-ico .i { width: 28px; height: 28px; }
.v3-tile strong { display: block; font-size: 19px; font-weight: 800; line-height: 1.15; }
.v3-tile span.sub { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.v3-tile.is-violet { background: linear-gradient(120deg, #5f53e6, #8a7bf5); color: #fff; }
.v3-tile.is-lav { background: var(--lav); }
.v3-tile.is-lav .v3-tile-ico { background: #fff; color: var(--primary); }
.v3-tile.is-mint { background: var(--mint); }
.v3-tile.is-mint .v3-tile-ico { background: #fff; color: #138a73; }

/* ---------- категории ---------- */
.v3-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.v3-cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; padding: 14px 6px 0; border: 0; border-radius: 16px; background: #ece9ff; color: var(--ink); text-align: center; font-size: 13px; font-weight: 800; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease; }
.v3-cat:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(83, 72, 216, .16); }
.v3-cat img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-cat > span { position: relative; z-index: 1; display: block; overflow-wrap: break-word; }
.v3-cat.has-img { color: #fff; }
.v3-cat.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16, 23, 47, .62) 0%, rgba(16, 23, 47, .22) 38%, rgba(16, 23, 47, 0) 62%); pointer-events: none; }
.v3-cat.has-img > span { text-shadow: 0 1px 6px rgba(16, 23, 47, .45); }
.v3-cat.is-all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; color: var(--primary-dark); }
.v3-cat.is-all .i { width: 30px; height: 30px; color: var(--primary); }

/* ---------- преимущества ---------- */
.v3-benefits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.v3-benefit { display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-size: 14px; font-weight: 800; line-height: 1.25; }
.v3-benefit + .v3-benefit { border-left: 1px solid var(--line); }
.v3-benefit .i { width: 30px; height: 30px; color: var(--primary); }

/* ---------- товары ---------- */
.v3-section { margin-top: 36px; }
.v3-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.v3-head h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.v3-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 800; }
.v3-products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.v3-card { position: relative; display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .15s ease, border-color .15s ease; }
.v3-card:hover { border-color: #cfcbff; box-shadow: 0 14px 30px rgba(83, 72, 216, .12); }
.v3-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; }
.v3-badge.is-new { background: var(--green); }
.v3-badge.is-sale { background: var(--red); }
.v3-card-img { display: flex; flex: 0 0 auto; min-width: 0; height: 170px; align-items: center; justify-content: center; margin-bottom: 10px; padding: 28px 10px 10px; overflow: hidden; }
.v3-card-img img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.v3-card-photo { position: relative; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.v3-card-photo.is-normalized img { position: absolute; width: var(--photo-width); height: var(--photo-height); left: var(--photo-left); top: var(--photo-top); max-width: none; max-height: none; }
.v3-card-brand { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.v3-card-name { display: -webkit-box; min-height: 2.9em; margin: 4px 0 2px; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 14px; font-weight: 700; line-height: 1.3; }
.v3-card-meta { color: var(--muted); font-size: 12px; font-weight: 600; }
.v3-stock { margin-top: 6px; font-size: 12px; font-weight: 800; }
.v3-stock.is-in { color: var(--green); }
.v3-stock.is-wait { color: #b86a0b; }
.v3-card-buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.v3-price { font-size: 20px; font-weight: 800; line-height: 1.1; }
.v3-price del { display: block; color: #8a92ad; font-size: 12px; font-weight: 600; }
.v3-add { display: inline-flex; width: 42px; height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; position: relative; padding: 0; border: 0; border-radius: 10px; background: var(--primary); color: #fff; cursor: pointer; }
.v3-add:hover { background: var(--primary-dark); }
.v3-add:disabled { background: #ccd1e3; cursor: not-allowed; }
.v3-add .v3-cart-count { top: -6px; right: -6px; }
.v3-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); border-radius: 16px; background: #fff; color: var(--muted); text-align: center; }

/* ---------- бренды и B2B ---------- */
.v3-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v3-brand { position: relative; display: flex; min-height: 190px; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.v3-brand:hover { box-shadow: 0 14px 30px rgba(16, 23, 47, .10); }
.v3-brand h3 { margin: 0 0 6px; font-size: 38px; font-weight: 800; letter-spacing: .01em; }
.v3-brand.is-hiberg h3 { color: #1f6fe5; }
.v3-brand.is-arvetera h3 { color: var(--green); }
.v3-brand p { margin: 0 0 18px; color: var(--muted); font-weight: 600; }
.v3-brand .more { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 800; }
.v3-brand img { max-height: 150px; width: auto; filter: drop-shadow(0 12px 14px rgba(16, 23, 47, .18)); }

.v3-b2b { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px 40px; border-radius: 22px; background: linear-gradient(120deg, #0f1c4d, #2b2f9a); color: #fff; }
.v3-b2b span.k { display: block; margin-bottom: 6px; color: #b9b1ff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v3-b2b h2 { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.15; }
.v3-b2b p { margin: 0; color: #dfe2ff; }

/* ---------- подвал ---------- */
.v3-footer { margin-top: 44px; background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #dfe2ff; }
.v3-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0 28px; }
.v3-footer strong.t { display: block; margin-bottom: 12px; color: #fff; font-size: 14px; font-weight: 800; }
.v3-footer a { display: block; padding: 4px 0; font-size: 14px; font-weight: 600; }
.v3-footer a:hover { color: #fff; text-decoration: underline; }
.v3-phone { display: block; margin: 14px 0 4px; color: #fff; font-size: 22px; font-weight: 800; }
.v3-copy { padding: 16px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: #a9afd6; font-size: 13px; }

/* ---------- планшет ---------- */
@media (max-width: 1180px) {
    .v3-container { width: min(1440px, calc(100% - 32px)); }
    .v3-top-row { grid-template-columns: auto minmax(180px, 1fr) auto auto; gap: 16px; }
    .v3-tool.is-city { display: none; }
    .v3-hero { grid-template-columns: 1fr; }
    .v3-banner { min-height: 0; padding: 40px 40px 250px; }
    .v3-banner-copy { max-width: 560px; }
    .v3-banner-art { top: auto; left: 0; right: 0; width: auto; height: 230px; padding-bottom: 14px; }
    .v3-bubble.is-1 { top: auto; bottom: 120px; right: 38%; }
    .v3-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
    .v3-tile { flex-direction: column; align-items: flex-start; gap: 10px; }
    .v3-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .v3-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v3-benefit:nth-child(4) { border-left: 0; }
    .v3-benefit:nth-child(n + 4) { border-top: 1px solid var(--line); }
    .v3-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v3-mega { grid-template-columns: 1fr 1fr; }
    .v3-mega-col.is-wide { grid-column: 1 / -1; }
    .v3-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
    .v3-container { width: calc(100% - 24px); }
    .v3-top-row { grid-template-columns: auto 1fr auto auto; grid-template-areas: "logo . user cart" "search search search search"; gap: 10px 12px; padding: 10px 0 12px; }
    .v3-logo { grid-area: logo; padding: 5px 10px; }
    .v3-logo img { width: 124px; }
    .v3-search { grid-area: search; width: 100%; }
    .v3-tool.is-user { grid-area: user; }
    .v3-tool.is-user span { display: none; }
    .v3-cart { grid-area: cart; min-height: 42px; padding: 0 12px; }
    .v3-cart { gap: 8px; font-size: 14px; }
    .v3-cart .total.is-empty { display: none; }
    .v3-nav { min-height: 54px; gap: 4px; }
    .v3-catalog-btn { margin-right: 6px; padding: 0 16px; }
    .v3-main { padding-top: 14px; }
    .v3-banner { min-height: 0; padding: 28px 22px 210px; border-radius: 18px; }
    .v3-banner p { font-size: 15px; margin-bottom: 20px; }
    .v3-banner-art { top: auto; left: 0; right: 0; width: auto; height: 190px; padding-bottom: 10px; }
    .v3-bubble.is-1 { display: none; }
    .v3-tiles { grid-template-columns: 1fr; }
    .v3-tile { flex-direction: row; align-items: center; }
    .v3-cats { display: flex; overflow-x: auto; margin-right: -12px; padding-right: 12px; scrollbar-width: none; }
    .v3-cats::-webkit-scrollbar { display: none; }
    .v3-cat { flex: 0 0 140px; }
    .v3-benefits { grid-template-columns: 1fr 1fr; }
    .v3-benefit { padding: 14px; }
    .v3-benefit:nth-child(n) { border-left: 0; border-top: 0; }
    .v3-benefit:nth-child(even) { border-left: 1px solid var(--line); }
    .v3-benefit:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .v3-section { margin-top: 28px; }
    .v3-head h2 { font-size: 22px; }
    .v3-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .v3-card { padding: 10px; }
    .v3-card-img { height: 130px; }
    .v3-price { font-size: 17px; }
    .v3-brands { grid-template-columns: 1fr; }
    .v3-brand { min-height: 0; padding: 22px; }
    .v3-brand h3 { font-size: 30px; }
    .v3-b2b { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .v3-mega { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 78vh; border-radius: 20px 20px 0 0; transform: none; grid-template-columns: 1fr; padding: 22px 20px 28px; }
    .v3-mega-list { grid-template-columns: 1fr 1fr; }
    .v3-footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .v3 * { transition: none !important; }
}

/* ===== Fidelity pass: tinted tiles, depth, gradient brands ===== */
.v3-banner::before { content: ""; position: absolute; right: 6%; bottom: -60px; width: 46%; height: 190px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(185, 177, 255, .55), transparent 70%); z-index: 0; pointer-events: none; }
.v3-banner::after { content: ""; position: absolute; top: 24px; right: 40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 65%); z-index: 0; pointer-events: none; }
.v3-banner-art img:nth-child(2) { max-height: 94%; }
.v3-banner-art img:nth-child(1), .v3-banner-art img:nth-child(3) { max-height: 74%; }

.v3-cat:nth-child(8n + 1) { background: #ece9ff; }
.v3-cat:nth-child(8n + 2) { background: #dcf3ee; }
.v3-cat:nth-child(8n + 3) { background: #fdeede; }
.v3-cat:nth-child(8n + 4) { background: #e1ecff; }
.v3-cat:nth-child(8n + 5) { background: #fde6ee; }
.v3-cat:nth-child(8n + 6) { background: #e8f5dc; }
.v3-cat:nth-child(8n + 7) { background: #efe6fb; }
.v3-cat:nth-child(8n + 8) { background: #e3f4fb; }

.v3-benefits { background: linear-gradient(180deg, #fff, #f7f7ff); box-shadow: 0 8px 24px rgba(16, 23, 47, .05); }
.v3-benefit .i { width: 38px; height: 38px; padding: 7px; box-sizing: content-box; border-radius: 12px; background: var(--lav); }

.v3-brand.is-hiberg { border-color: transparent; background: linear-gradient(120deg, #123a8c, #1f6fe5 60%, #5aa2ff); color: #fff; }
.v3-brand.is-arvetera { border-color: transparent; background: linear-gradient(120deg, #0e5a46, #19926f 60%, #52c9a0); color: #fff; }
.v3-brand.is-hiberg h3, .v3-brand.is-arvetera h3 { color: #fff; }
.v3-brand.is-hiberg p, .v3-brand.is-arvetera p { color: rgba(255, 255, 255, .85); }
.v3-brand.is-hiberg .more, .v3-brand.is-arvetera .more { color: #fff; }

.v3-footer .v3-logo { width: fit-content; justify-self: start; align-self: start; }

/* Stepper in card */
.v3-qty { display: inline-flex; align-items: center; flex: 0 0 auto; height: 42px; border-radius: 10px; background: var(--primary); color: #fff; }
.v3-qty form { display: flex; margin: 0; }
.v3-qty-btn { width: 36px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; font: inherit; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; }
.v3-qty-btn:hover { background: var(--primary-dark); }
.v3-qty-num { min-width: 22px; text-align: center; font-size: 15px; font-weight: 800; }
@media (max-width: 760px) { .v3-qty-btn { width: 32px; } }

/* Buy slot + mini cart dock */
.v3-buy-slot { display: flex; flex: 0 0 auto; }
.v3-buy-slot form { margin: 0; }
.v3-buy-slot [hidden] { display: none !important; }
.v3-qty { margin: 0; }
.v3-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0 16px; pointer-events: none; transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.1); }
.v3-dock[hidden] { display: none; }
.v3-dock.is-open { transform: translateY(0); }
.v3-dock-in { pointer-events: auto; display: flex; align-items: center; gap: 18px; max-width: 1180px; margin: 0 auto; padding: 12px 18px; border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(16, 23, 47, .16); }
.v3-dock-sum { display: grid; gap: 2px; flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.v3-dock-sum strong { color: var(--navy); font-size: 16px; }
.v3-dock-items { display: flex; flex: 1 1 auto; align-items: center; gap: 10px; min-width: 0; overflow-x: auto; padding: 12px 12px 4px; scrollbar-width: none; }
.v3-dock-items::-webkit-scrollbar { display: none; }
.v3-dock-item { position: relative; display: flex; flex: 0 0 auto; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 12px; background: var(--lav); }
.v3-dock-item img { max-width: 80%; max-height: 80%; object-fit: contain; }
.v3-dock-q { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff7a45; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.v3-dock-end { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.v3-dock-total { color: var(--navy); font-size: 18px; font-weight: 800; white-space: nowrap; }
.v3-dock-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; white-space: nowrap; }
.v3-dock-go:hover { background: var(--primary-dark); }
.v3-dock-close { position: relative; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef0fa; color: var(--navy); font-size: 0; line-height: 1; cursor: pointer; }
.v3-dock-close::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); border-radius: 2px; transform: translate(-50%, -70%) rotate(45deg); }
.v3-dock-close:hover { background: var(--lav); }
.v3-dock-close:hover::before { border-color: var(--primary); }
body.has-dock { padding-bottom: 92px; }
@media (max-width: 760px) {
    .v3-dock { padding: 0; }
    .v3-dock-in { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; border-radius: 16px 16px 0 0; }
    .v3-dock-sum { grid-auto-flow: column; align-items: baseline; gap: 8px; }
    .v3-dock-items { order: 3; flex-basis: 100%; }
    .v3-dock-end { margin-left: auto; gap: 10px; }
    .v3-dock-total { font-size: 16px; }
    .v3-dock-go { padding: 0 16px; min-height: 40px; }
    body.has-dock { padding-bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { .v3-dock { transition: none; } }

/* Падающая «капля» с товаром */
.v3-drop { position: fixed; z-index: 9999; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: 0 12px 26px rgba(83, 72, 216, .35); pointer-events: none; will-change: transform; }
.v3-drop img { width: 70%; height: 70%; object-fit: contain; }
.v3-ripple { position: fixed; z-index: 9998; width: 54px; height: 54px; border: 3px solid var(--primary); border-radius: 50%; pointer-events: none; }

/* Корзинка внутри карточки */
.v3-card.is-adding { overflow: hidden; }
.v3-bk { position: absolute; left: 50%; bottom: 10px; margin-left: -75px; pointer-events: none; transform: translateY(115%); }
.v3-bk-back { z-index: 2; }
.v3-bk-front { z-index: 4; filter: drop-shadow(0 -4px 10px rgba(16, 23, 47, .18)); }
.v3-bk-img { position: absolute; z-index: 3; margin: 0; max-height: none; object-fit: contain; pointer-events: none; will-change: transform; }

/* Управление количеством в мини-корзине */
.v3-dock-item { width: 64px; height: 64px; }
.v3-dock-ctl { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 3px; border-radius: 12px; background: rgba(13, 22, 54, .5); color: #fff; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.v3-dock-item:hover .v3-dock-ctl, .v3-dock-item.is-active .v3-dock-ctl, .v3-dock-item:focus-within .v3-dock-ctl { opacity: 1; pointer-events: auto; }
.v3-dock-ctl button { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; font: inherit; font-size: 16px; font-weight: 800; line-height: 1; cursor: pointer; }
.v3-dock-ctl button:hover { background: rgba(255, 255, 255, .45); }
.v3-dock-n { min-width: 14px; text-align: center; font-size: 14px; font-weight: 800; }
button.v3-dock-q { z-index: 2; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font-family: inherit; }
.v3-dock-q .x { display: none; font-size: 14px; line-height: 1; }
.v3-dock-q:hover, .v3-dock-item.is-active .v3-dock-q { background: #e5484d; }
.v3-dock-q:hover .n, .v3-dock-item.is-active .v3-dock-q .n { display: none; }
.v3-dock-q:hover .x, .v3-dock-item.is-active .v3-dock-q .x { display: block; }

/* Крестик сразу при наведении на миниатюру + очистка корзины */
.v3-dock-item:hover .v3-dock-q { background: #e5484d; }
.v3-dock-item:hover .v3-dock-q .n { display: none; }
.v3-dock-item:hover .v3-dock-q .x { display: block; }
.v3-dock-clear { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.v3-dock-clear:hover { color: #e5484d; border-color: #f2b8ba; }
.v3-dock-clear.is-confirm { border-color: #e5484d; background: #e5484d; color: #fff; }
@media (max-width: 760px) { .v3-dock-clear { min-height: 34px; padding: 0 10px; } }

/* Живой поиск */
.v3-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 130; max-height: 70vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(16, 23, 47, .22); color: var(--navy); }
.v3-suggest[hidden] { display: none; }
.v3-sg-note { padding: 10px 16px 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.v3-sg-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--navy); }
.v3-sg-item:hover, .v3-sg-item.is-active { background: #f1f0ff; }
.v3-sg-pic { display: flex; flex: 0 0 auto; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: var(--lav); }
.v3-sg-pic img { max-width: 80%; max-height: 80%; object-fit: contain; }
.v3-sg-txt { display: grid; flex: 1 1 auto; min-width: 0; gap: 2px; }
.v3-sg-name { overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.v3-sg-meta { color: var(--muted); font-size: 12px; font-weight: 600; }
.v3-sg-price { flex: 0 0 auto; font-size: 14px; font-weight: 800; white-space: nowrap; }
.v3-sg-all { display: block; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--primary); font-size: 14px; font-weight: 800; text-align: center; }
.v3-sg-all:hover { background: #f1f0ff; }
.v3-sg-empty { padding: 18px 16px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.4; }

/* Крестик в кружке: рисуем линиями, чтобы он стоял ровно по центру */
button.v3-dock-q { padding: 0 5px; line-height: 1; }
.v3-dock-q .x { position: relative; width: 10px; height: 10px; font-size: 0; line-height: 0; }
.v3-dock-q .x::before, .v3-dock-q .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 1px; background: #fff; }
.v3-dock-q .x::before { transform: translate(-50%, -50%) rotate(45deg); }
.v3-dock-q .x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.v3-dock-q:hover, .v3-dock-item:hover .v3-dock-q, .v3-dock-item.is-active .v3-dock-q { padding: 0; min-width: 20px; }

/* Выравнивание карточек: название всегда занимает три строки, статус не «прыгает» */
.v3-card-name { min-height: 3.9em; }
.v3-card-meta { min-height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v3-stock { min-height: 1.4em; }

/* Шильдик направления на карточке */
.v3-dir { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.v3-dir.is-home { background: var(--lav); color: var(--primary-dark); }
.v3-dir.is-professional { background: var(--navy); color: #fff; }

/* Скрытые элементы внутри карточек и блока покупки не должны перебиваться display из классов */
[data-v3-card] [hidden] { display: none !important; }

/* Mobile mini-cart: buttons on the top row, items below, no title row */
@media (max-width: 760px) {
    .v3-dock-in { flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px 8px; }
    .v3-dock-sum { display: none; }
    .v3-dock-end { display: contents; }
    .v3-dock-total { order: 1; font-size: 16px; }
    .v3-dock-go { order: 2; flex: 1 1 auto; justify-content: center; min-height: 40px; padding: 0 12px; }
    .v3-dock-clear { order: 3; min-height: 40px; padding: 0 12px; }
    .v3-dock-close { order: 4; flex: 0 0 auto; width: 36px; height: 36px; }
    .v3-dock-items { order: 5; flex: 1 0 100%; padding: 10px 10px 2px; gap: 8px; }
    .v3-dock-item { width: 52px; height: 52px; }
}

/* Mobile mini-cart: keep the row on one line when "Очистить" asks for confirmation */
@media (max-width: 760px) {
    .v3-dock-in { gap: 6px; }
    .v3-dock-total { font-size: 15px; }
    .v3-dock-go { min-width: 0; padding: 0 8px; font-size: 14px; }
    .v3-dock-clear { padding: 0 9px; font-size: 12px; }
    .v3-dock-clear.is-confirm { padding: 0 8px; }
}

/* ---------- Мини-корзина: состав (подписи) ---------- */
.v3-dock-handle { position: absolute; left: 50%; top: -26px; z-index: 2; width: 64px; height: 27px; padding: 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: #fff; cursor: pointer; pointer-events: auto; box-shadow: 0 -8px 18px rgba(16, 23, 47, .08); transform: translateX(-50%); }
.v3-dock-handle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 2.5px solid var(--navy); border-left: 2.5px solid var(--navy); border-radius: 2px; transform: translate(-50%, -30%) rotate(45deg); transition: transform .2s ease; }
.v3-dock.is-expanded .v3-dock-handle::before { transform: translate(-50%, -70%) rotate(225deg); }
.v3-dock-handle::after { content: ""; position: absolute; inset: -8px -10px 0; }
.v3-dock-handle:hover::before { border-color: var(--primary); }

.v3-dock-list { display: none; }
.v3-dock.is-expanded .v3-dock-items { display: none; }
.v3-dock.is-expanded .v3-dock-in { flex-wrap: wrap; }
.v3-dock.is-expanded .v3-dock-end { margin-left: auto; }
.v3-dock.is-expanded .v3-dock-list { order: 5; flex: 1 0 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; max-height: min(46vh, 380px); overflow-y: auto; padding: 4px 2px 2px; border-top: 1px solid var(--line); padding-top: 10px; }

.v3-dock-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px; border-radius: 12px; background: #f6f6fe; }
.v3-dock-row-img { display: flex; flex: 0 0 auto; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 10px; background: var(--lav); }
.v3-dock-row-img img { max-width: 82%; max-height: 82%; object-fit: contain; }
.v3-dock-row-info { flex: 1 1 auto; min-width: 0; }
.v3-dock-row-name { display: -webkit-box; overflow: hidden; color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v3-dock-row-meta { margin-top: 2px; color: var(--muted); font-size: 12px; }
.v3-dock-row-sum { margin-top: 2px; color: var(--navy); font-size: 13px; font-weight: 800; }
.v3-dock-row-qty { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.v3-dock-row-qty button { width: 30px; height: 32px; border: 0; background: transparent; color: var(--primary); font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.v3-dock-row-qty span { min-width: 18px; color: var(--navy); font-size: 14px; font-weight: 800; text-align: center; }
.v3-dock-row-x { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eef0fa; cursor: pointer; }
.v3-dock-row-x::before, .v3-dock-row-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 1px; background: var(--navy); }
.v3-dock-row-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.v3-dock-row-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.v3-dock-row-x:hover { background: #e5484d; }
.v3-dock-row-x:hover::before, .v3-dock-row-x:hover::after { background: #fff; }

.v3-dock-tip { position: fixed; z-index: 120; display: grid; gap: 2px; max-width: 280px; padding: 9px 12px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.3; pointer-events: none; box-shadow: 0 8px 22px rgba(16, 23, 47, .3); }
.v3-dock-tip[hidden] { display: none; }
.v3-dock-tip strong { font-size: 13px; }
.v3-dock-tip span { color: #c9cdf2; font-size: 12px; }

@media (max-width: 760px) {
    .v3-dock.is-expanded .v3-dock-list { order: 5; grid-template-columns: 1fr; max-height: min(52vh, 420px); }
    .v3-dock-row { padding: 6px; gap: 8px; }
    .v3-dock-row-img { width: 46px; height: 46px; }
    .v3-dock-row-qty button { width: 28px; }
    .v3-dock-tip { display: none; }
    body.has-dock-expanded { padding-bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { .v3-dock-handle::before { transition: none; } }

/* ---------- Подсказки поиска: добавить в корзину и менять количество ---------- */
.v3-sg-item { padding: 0; gap: 0; }
.v3-sg-link { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 12px; padding: 10px 8px 10px 16px; color: inherit; }
.v3-sg-buy { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; min-width: 92px; padding: 0 16px 0 4px; }
.v3-sg-cartbtn { display: inline-flex; width: 40px; height: 36px; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--primary); color: #fff; cursor: pointer; }
.v3-sg-cartbtn:hover { background: var(--primary-dark); }
.v3-sg-cartbtn:disabled { background: #ccd1e3; cursor: not-allowed; }
.v3-sg-qty { display: inline-flex; align-items: center; overflow: hidden; border-radius: 10px; background: var(--primary); color: #fff; }
.v3-sg-qty button { width: 30px; height: 36px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.v3-sg-qty button:hover { background: var(--primary-dark); }
.v3-sg-qty > span { min-width: 22px; font-size: 14px; font-weight: 800; text-align: center; }
@media (max-width: 760px) {
    .v3-sg-link { gap: 10px; padding-left: 12px; }
    .v3-sg-pic { width: 40px; height: 40px; }
    .v3-sg-buy { min-width: 0; padding-right: 12px; }
}

/* ---------- Мини-корзина: стрелки прокрутки ряда и свайп ручки ---------- */
.v3-dock-strip { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.v3-dock-strip .v3-dock-items { flex: 1 1 auto; }
.v3-dock-arrow { position: absolute; top: 0; bottom: 0; z-index: 3; display: flex; width: 52px; align-items: center; padding: 0 4px; border: 0; background: none; cursor: pointer; }
.v3-dock-arrow[hidden] { display: none; }
.v3-dock-arrow.is-prev { left: 0; justify-content: flex-start; background: linear-gradient(90deg, #fff 55%, rgba(255, 255, 255, 0)); }
.v3-dock-arrow.is-next { right: 0; justify-content: flex-end; background: linear-gradient(270deg, #fff 55%, rgba(255, 255, 255, 0)); }
.v3-dock-arrow::before { content: ""; display: block; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(16, 23, 47, .22); }
.v3-dock-arrow::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 2.5px solid var(--navy); border-right: 2.5px solid var(--navy); }
.v3-dock-arrow.is-prev::after { left: 17px; transform: translateY(-50%) rotate(-135deg); }
.v3-dock-arrow.is-next::after { right: 17px; transform: translateY(-50%) rotate(45deg); }
.v3-dock-arrow:hover::before { background: var(--lav); }
.v3-dock.is-expanded .v3-dock-strip { display: none; }
.v3-dock-handle { touch-action: none; }
.v3-dock-handle::after { inset: -16px -48px 0; }
.v3-dock.is-expanded .v3-dock-list { animation: v3-sheet .22s ease-out; }
@keyframes v3-sheet { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
    .v3-dock-strip { order: 5; flex: 1 0 100%; }
    .v3-dock-strip .v3-dock-items { order: 0; flex: 1 1 auto; }
    .v3-dock-arrow { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .v3-dock.is-expanded .v3-dock-list { animation: none; } }

/* ---------- Липкая полоса: поиск и «наверх» ---------- */
.v3-sticky { position: fixed; top: 0; right: 0; left: 0; z-index: 140; background: linear-gradient(90deg, var(--navy), var(--navy-2)); box-shadow: 0 8px 22px rgba(16, 23, 47, .28); color: #fff; transform: translateY(-110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.v3-sticky.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.v3-sticky-row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 8px 0; }
.v3-sticky-logo { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 5px 12px; border-radius: 10px; background: #fff; }
.v3-sticky-logo img { display: block; width: 112px; height: auto; }
.v3-sticky .v3-search { flex: 1 1 720px; width: auto; max-width: 720px; margin: 0 auto; }
.v3-up { position: relative; flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; transition: background-color .15s ease; }
.v3-up:hover { background: var(--primary); }
.v3-up::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-top: 2.5px solid #fff; border-left: 2.5px solid #fff; border-radius: 2px; transform: translate(-50%, -30%) rotate(45deg); }
@media (max-width: 760px) {
    .v3-sticky-row { gap: 10px; min-height: 54px; padding: 7px 0; }
    .v3-sticky-logo { padding: 4px 9px; }
    .v3-sticky-logo img { width: 76px; }
    .v3-sticky .v3-search { flex: 1 1 auto; max-width: none; margin: 0; }
    .v3-up { width: 40px; height: 40px; }
    .v3-sticky .v3-search input { min-height: 40px; }
    .v3-sticky .v3-search > button { width: 34px; height: 34px; }
    /* подсказки на всю ширину экрана, а не по ширине узкого поля поиска */
    .v3-sticky .v3-suggest { position: fixed; top: 58px; right: 12px; left: 12px; max-height: calc(100vh - 140px); }
}
/* Длинные названия в подсказках на телефоне — в две строки, а не с многоточием */
@media (max-width: 760px) {
    .v3-sg-name { display: -webkit-box; overflow: hidden; white-space: normal; text-overflow: clip; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
@media (prefers-reduced-motion: reduce) { .v3-sticky { transition: none; } }

/* iOS Safari увеличивает страницу при фокусе на поле со шрифтом меньше 16px — на мобильных держим 16px */
@media (max-width: 760px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ===== Свёрнутая мини-корзина ===== */
.v3-dock-mini { display: none; pointer-events: auto; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: 10px 14px 10px 18px; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(16, 23, 47, .16); cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
.v3-dock-mini strong { color: var(--navy); font-size: 16px; }
.v3-dock-mini-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.v3-dock-mini-count.is-bump { animation: v3-bump .35s ease-out; }
.v3-dock-mini.is-pulse { animation: v3-mini-pulse .9s ease-out; }
@keyframes v3-mini-pulse {
    0% { transform: translateY(0); border-color: var(--primary); box-shadow: 0 -10px 30px rgba(16, 23, 47, .16), 0 0 0 0 rgba(83, 72, 216, 0); }
    22% { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 -12px 32px rgba(83, 72, 216, .28), 0 0 0 3px rgba(83, 72, 216, .75); }
    55% { transform: translateY(0); border-color: var(--primary); box-shadow: 0 -10px 30px rgba(16, 23, 47, .16), 0 0 0 3px rgba(83, 72, 216, .45); }
    100% { transform: translateY(0); border-color: var(--line); box-shadow: 0 -10px 30px rgba(16, 23, 47, .16), 0 0 0 3px rgba(83, 72, 216, 0); }
}
@keyframes v3-bump { 0% { transform: scale(1); color: var(--primary); } 40% { transform: scale(1.25); color: var(--primary); } 100% { transform: scale(1); } }
.v3-dock-mini-total { margin-left: auto; color: var(--navy); font-size: 17px; font-weight: 800; white-space: nowrap; }
.v3-dock-mini-go { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.v3-dock-mini-go:hover { background: var(--primary-dark); }
.v3-dock-mini-arrow { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #eef0fa; }
.v3-dock-mini-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-left: 2.5px solid var(--navy); border-top: 2.5px solid var(--navy); border-radius: 2px; transform: translate(-50%, -30%) rotate(45deg); }
.v3-dock-mini:hover .v3-dock-mini-arrow { background: var(--lav); }
.v3-dock-mini:hover .v3-dock-mini-arrow::before { border-color: var(--primary); }
.v3-dock.is-min .v3-dock-in, .v3-dock.is-min .v3-dock-handle { display: none; }
.v3-dock.is-min .v3-dock-mini { display: flex; }
body.has-dock.has-dock-min { padding-bottom: 68px; }
@media (max-width: 760px) {
    .v3-dock-mini { max-width: none; padding: 9px 12px 9px 14px; border-radius: 16px 16px 0 0; }
    .v3-dock-mini-go { display: none; }
    .v3-dock-mini-total { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .v3-dock-mini-count.is-bump, .v3-dock-mini.is-pulse { animation: none; } }
