:root {
    --footer-bg: #1e293b;
    --text: #1a1a1a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --gradient-brand: linear-gradient(90deg, #3b4cc0 0%, #7b2ff7 50%, #e10098 100%);
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.14) 100%);
    --glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.22) 100%);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-blur: 20px;
    --glass-saturate: saturate(160%);
    --glass-shadow: 0 8px 32px rgba(59, 76, 192, 0.12);
    --glass-shadow-hover: 0 12px 40px rgba(59, 76, 192, 0.18);
    --card-glow-hover:
        0 0 0 1px rgba(123, 47, 247, 0.12),
        0 16px 42px rgba(59, 76, 192, 0.18),
        0 10px 28px rgba(123, 47, 247, 0.13),
        0 6px 16px rgba(225, 0, 152, 0.09);
    --glass-inset: inset 0 1px 1px rgba(255, 255, 255, 0.9);
    --glass-card-blur: 5px;
    --badge-popular-bg: linear-gradient(180deg, #ff3db8 0%, #e10098 55%, #c9007f 100%);
    --badge-popular-shadow: 0 4px 14px rgba(225, 0, 152, 0.38);
    --font-sans: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Manrope', var(--font-sans);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg-mts-html, #ffffff);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
}

/* Legacy backgrounds disabled — replaced by site-bg-mts */
.bg-dots-canvas,
.site-bg-gradient {
    display: none !important;
}

@media (max-width: 640px) {
    html {
        background: var(--bg-mts-html, #ffffff);
    }

    body {
        min-height: 100svh;
    }
}

.site-header,
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-main {
    flex: 1 0 auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.header-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: center;
}

.header-top {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    line-height: 0;
    min-height: 80px;
    cursor: pointer;
}

.logo img {
    max-height: 80px;
    max-width: 220px;
    width: auto;
    height: 80px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    line-height: 1.2;
}

.header-right {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
    min-width: 0;
    gap: 0.5rem;
}

.header-nav-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
}

.header-nav-row .header-tabs {
    border-top: none;
    padding-top: 0;
    flex: 1;
    min-width: 0;
}

.mobile-bottom-bar {
    display: none;
}

.header-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    border: none;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.site-header .container {
    position: relative;
    z-index: 200;
}

.site-header.is-menu-open {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.header-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.5rem;
    text-align: center;
}

.header-tabs {
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
    min-width: 0;
}

.header-tabs .tabs-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    overflow: visible;
}

.tab-link {
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.tab-link:hover {
    background: #f1f5f9;
    color: var(--text);
}

.tab-link.is-active {
    background: #2563eb;
    color: #fff;
}

.nav-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.nav-dropdown.is-open {
    z-index: 300;
}

button.nav-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.nav-dropdown__chevron {
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown__chevron {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 12.5rem;
    max-width: min(20rem, calc(100vw - 1.5rem));
    padding: 0.4rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
    z-index: 400;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-dropdown__menu[hidden] {
    display: none !important;
}

.nav-dropdown.is-open .nav-dropdown__menu {
    display: flex;
}

.nav-dropdown__link {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-dropdown__link:hover {
    background: #f1f5f9;
}

.nav-dropdown__link.is-active {
    background: #2563eb;
    color: #fff;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.3;
}

.contact-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #2563eb;
}

a.contact-item:hover {
    color: #2563eb;
}

.contact-address {
    color: var(--text-muted);
}

.contact-address .contact-icon {
    color: var(--text-muted);
}

.social-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(59, 76, 192, 0.35);
    background: rgba(255, 255, 255, 0.55);
    color: #3b4cc0;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease;
}

.social-btn:hover,
.social-btn:focus-visible {
    color: #fff;
    text-decoration: none;
    background: var(--gradient-brand);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(123, 47, 247, 0.32);
    transform: translateY(-1px);
}

.social-btn:visited {
    color: #3b4cc0;
}

.social-btn:hover:visited,
.social-btn:focus-visible:visited {
    color: #fff;
}

.social-btn__icon {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    background-color: currentColor;
}

.social-btn__icon--vk {
    width: 1.35rem;
    height: 1.35rem;
    -webkit-mask: url('/assets/img/social/vk.svg') center / contain no-repeat;
    mask: url('/assets/img/social/vk.svg') center / contain no-repeat;
}

.social-btn__icon--max {
    width: 1.3rem;
    height: 1.3rem;
    -webkit-mask: url('/assets/img/social/max.svg') center / contain no-repeat;
    mask: url('/assets/img/social/max.svg') center / contain no-repeat;
}

.social-links--footer {
    margin-top: 0.75rem;
}

.social-links--footer .social-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(148, 163, 184, 0.4);
    color: #e2e8f0;
}

.social-links--footer .social-btn:visited {
    color: #e2e8f0;
}

.footer-col .social-links--footer .social-btn:hover,
.footer-col .social-links--footer .social-btn:focus-visible {
    color: #fff;
    text-decoration: none;
    background: var(--gradient-brand);
    border-color: transparent;
}

.footer-app-qr {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.1rem 0 0;
    max-width: 20rem;
}

.footer-app-qr img {
    display: block;
    flex: 0 0 auto;
    width: 7.5rem;
    height: auto;
    border-radius: 12px;
    background: #fff;
    padding: 0.3rem;
}

.footer-app-qr figcaption {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.city-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.city-picker__toggle {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--text);
}

.city-picker__toggle:hover,
.city-picker__toggle[aria-expanded="true"] {
    color: #2563eb;
}

.city-picker__city {
    font-weight: 600;
}

.city-picker__chevron {
    flex-shrink: 0;
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.city-picker__toggle[aria-expanded="true"] .city-picker__chevron {
    transform: rotate(180deg);
}

.city-picker__list {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    min-width: 11rem;
    max-height: 14rem;
    overflow-y: auto;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.city-picker__option {
    padding: 0.5rem 0.75rem;
    border-radius: 7px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    color: var(--text);
}

.city-picker__option:hover {
    background: #f1f5f9;
}

.city-picker__option.is-active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.gradient-heading {
    font-family: var(--font-heading);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero */
.hero {
    color: var(--text);
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.page-banner {
    margin: 1.1rem 0 1.35rem;
    background: transparent;
}

.page-banner__viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
    background: transparent;
}

.page-banner--carousel .page-banner__viewport {
    transition: height 0.35s ease;
}

.page-banner__track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.45s ease;
    will-change: transform;
}

.page-banner__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

.page-banner__slide img,
.page-banner__link {
    display: block;
    width: 100%;
    height: auto;
}

.page-banner__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.page-banner__nav:hover,
.page-banner__nav:focus-visible {
    background: rgba(15, 23, 42, 0.7);
    outline: none;
}

.page-banner__nav--prev {
    left: 0.75rem;
}

.page-banner__nav--next {
    right: 0.75rem;
}

.page-banner__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.7rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.page-banner__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.page-banner__dot.is-active,
.page-banner__dot[aria-current="true"] {
    background: #fff;
}

.shop-breadcrumb--banner {
    margin: 1rem auto 0.65rem;
}

.hero.has-page-banner {
    padding-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .page-banner__track {
        transition: none;
    }

    .page-banner--carousel .page-banner__viewport {
        transition: none;
    }
}

/* Operator tabs */
.operators-section {
    padding: 2rem 0 2.5rem;
    position: relative;
}

.operators-section > .container {
    position: relative;
}

.operator-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.operator-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.75;
    position: relative;
    transition: opacity 0.2s;
}

.operator-tab:hover {
    opacity: 0.9;
}

.operator-tab.is-active {
    opacity: 1;
}

.operator-tab::after {
    content: '';
    position: absolute;
    left: -35%;
    right: -35%;
    bottom: 0;
    height: 3px;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--brand, #333) 40%, transparent) 22%,
        var(--brand, #333) 50%,
        color-mix(in srgb, var(--brand, #333) 40%, transparent) 78%,
        transparent 100%
    );
}

.operator-tab.is-active::after {
    transform: scaleX(1);
}

.operator-tab-logo {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.operator-tab-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand, #333);
    line-height: 1.2;
}

.operator-panel[hidden] {
    display: none;
}

.operator-panel__mobile-toggle {
    display: none;
}

.operator-panel__chevron {
    display: none;
    flex-shrink: 0;
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.no-tariffs {
    color: var(--text-muted);
}

.referral-block {
    margin-bottom: 1.75rem;
}

.referral-section + .referral-section {
    margin-top: 1.5rem;
}

.referral-section-title {
    margin: 0 0 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.referral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.referral-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
}

.referral-card:hover {
    transform: translateY(-2px);
    background: var(--glass-bg-hover);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--brand, #3b4cc0) 20%, transparent),
        0 12px 32px color-mix(in srgb, var(--brand, #3b4cc0) 18%, transparent),
        var(--glass-inset);
}

.referral-card-title {
    margin: 0 0 0.4rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.referral-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
    flex: 1;
}

.referral-card-actions {
    margin-top: auto;
}

a.btn-referral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.tariffs-grid--after-referral {
    margin-top: 0.25rem;
}

.tariff-groups__bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.15rem;
}

.tariff-groups__indicator {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    border-radius: 999px;
    background: var(--brand, #3b4cc0);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--brand, #3b4cc0) 28%, transparent);
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.24, 1), width 0.4s cubic-bezier(0.22, 0.8, 0.24, 1), height 0.4s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.tariff-groups--after-referral .tariff-groups__bar {
    margin-top: 0.25rem;
}

.tariff-groups__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.55rem 0.95rem;
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    cursor: pointer;
    touch-action: manipulation;
    transition: color 0.25s ease, background 0.25s ease;
}

.tariff-groups__btn:hover {
    background: color-mix(in srgb, var(--brand, #3b4cc0) 8%, transparent);
}

.tariff-groups__btn:focus-visible {
    outline: 2px solid var(--brand, #3b4cc0);
    outline-offset: 2px;
}

.tariff-groups__btn.is-active,
.tariff-groups__btn.is-active:hover {
    background: transparent;
    color: #fff;
}

.tariff-groups__count {
    min-width: 1.35rem;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand, #3b4cc0) 12%, transparent);
    color: var(--brand, #3b4cc0);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

.tariff-groups__btn.is-active .tariff-groups__count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.tariff-groups__panel.is-active {
    animation: tariff-groups-in 0.4s cubic-bezier(0.22, 0.8, 0.24, 1);
}

@keyframes tariff-groups-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tariff-groups__indicator,
    .tariff-groups__btn,
    .tariff-groups__panel.is-active {
        transition: none;
        animation: none;
    }
}

@media (max-width: 640px) {
    .tariff-groups__bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -0.15rem;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
    }

    .tariff-groups__bar::-webkit-scrollbar {
        display: none;
    }

    .tariff-groups__btn {
        flex-shrink: 0;
    }
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.tariff-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
    display: flex;
    flex-direction: column;
}

.tariff-card:hover {
    transform: translateY(-2px);
    background: var(--glass-bg-hover);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--brand, #3b4cc0) 20%, transparent),
        0 16px 42px color-mix(in srgb, var(--brand, #3b4cc0) 24%, transparent),
        0 10px 28px rgba(123, 47, 247, 0.12),
        0 6px 16px rgba(225, 0, 152, 0.07),
        var(--glass-inset);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
    .tariff-card:hover {
        box-shadow: var(--card-glow-hover), var(--glass-inset);
    }
}

.tariff-card:has(.badge-popular) {
    padding-top: 1.85rem;
}

.badge-popular {
    position: absolute;
    top: 0;
    left: 1.25rem;
    z-index: 2;
    margin: 0;
    min-width: 5.25rem;
    padding: 0.38rem 0.7rem 0.72rem;
    background: var(--badge-popular-bg);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    border-radius: 0 0 10px 10px;
    box-shadow: var(--badge-popular-shadow);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 50% 100%, 0 calc(100% - 7px));
}

.badge-popular::before {
    content: '';
    position: absolute;
    inset: 0 0 7px;
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.tariff-card h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tariff-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

.tariff-desc p,
.tariff-desc ul,
.tariff-desc ol {
    margin: 0 0 0.4rem;
}

.tariff-desc p:last-child,
.tariff-desc ul:last-child,
.tariff-desc ol:last-child {
    margin-bottom: 0;
}

.tariff-desc ul,
.tariff-desc ol {
    padding-left: 1.15rem;
}

.tariff-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.tariff-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
}

.tariff-price-main {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.35rem;
}

.price-old {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 0.2rem;
}

.price-comment {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.tariff-stock {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    align-self: center;
}

.tariff-stock.is-in {
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
}

.tariff-stock.is-out {
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
}

.tariff-stock.is-in-cart {
    color: #3b4cc0;
    background: rgba(59, 76, 192, 0.12);
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand, #333);
}

.price-currency {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}

.tariff-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.95rem;
}

.tariff-feature-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    margin-top: 0.12rem;
    color: var(--brand, #333);
}

.btn-connect {
    padding: 0.75rem 1rem;
    background: var(--brand, #333);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

button.btn-connect {
    width: 100%;
}

a.btn-connect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
}

a.btn-connect:hover,
a.btn-connect:visited {
    color: #fff;
}

.btn-connect:hover {
    opacity: 0.9;
}

/* Operator-specific accents */
.operator-beeline .btn-connect {
    color: #000;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #cbd5e1;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 2rem;
    row-gap: 1.5rem;
    align-items: start;
}

.footer-col p {
    margin: 0.25rem 0;
}

.footer-col a {
    color: #93c5fd;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-copy {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-company {
    min-width: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #94a3b8;
}

.footer-company-name {
    color: #e2e8f0;
    font-weight: 500;
}

.footer-legal-title {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #e2e8f0;
}

.footer-legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal-list li {
    margin: 0.35rem 0;
}

.footer-legal {
    min-width: 0;
}

.footer-legal-list a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.footer-legal-list a:hover {
    text-decoration: underline;
}

.legal-consents {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0.75rem 0 1rem;
}

.legal-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #334155;
    cursor: pointer;
}

.legal-consent input {
    margin: 0.2rem 0 0;
    width: auto;
    height: auto;
    padding: 0;
    flex-shrink: 0;
    accent-color: #7b2ff7;
}

.legal-consent a {
    color: #2563eb;
    text-decoration: underline;
}

.legal-section {
    padding-bottom: 3rem;
}

.legal-content {
    padding: 1.5rem 1.75rem;
    max-width: 860px;
    margin: 0 auto;
    color: #1e293b;
    line-height: 1.65;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
    margin: 1.4rem 0 0.6rem;
    line-height: 1.3;
}

.legal-content p {
    margin: 0 0 0.85rem;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
}

.legal-content a {
    color: #2563eb;
}

.legal-hero {
    padding-bottom: 1rem;
}

.empty-state {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Modal */
.modal[hidden] {
    display: none !important;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 27, 75, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.modal-dialog {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(calc(var(--glass-blur) + 6px));
    -webkit-backdrop-filter: var(--glass-saturate) blur(calc(var(--glass-blur) + 6px));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--glass-shadow-hover), var(--glass-inset);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.96) translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.modal-dialog::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--gradient-brand);
}

.modal.is-open .modal-backdrop {
    opacity: 1;
}

.modal.is-open .modal-dialog {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.modal-close:hover {
    background: #fff;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(59, 76, 192, 0.12);
}

.modal-header {
    padding: 1.25rem 1.75rem 0;
}

.modal-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.modal-header h2 {
    margin: 0 0 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.modal-selection:empty {
    display: none;
}

.modal-selection {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 100%;
    margin: 0;
    padding: 0.5rem 0.95rem 0.5rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-left: 4px solid #3b4cc0;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.modal-selection.has-provider {
    border-left-color: var(--provider-color, #3b4cc0);
    box-shadow: 0 2px 12px var(--provider-accent, rgba(59, 76, 192, 0.12));
}

.modal-selection-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 2px;
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.modal-selection-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    color: var(--text);
}

.modal-form {
    padding: 1.25rem 1.75rem 1.75rem;
}

.modal-field {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.modal-field input[type="text"],
.modal-field input[type="tel"] {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.modal-field input[type="text"]:focus,
.modal-field input[type="tel"]:focus {
    outline: none;
    border-color: #7b2ff7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.15);
}

.modal-form .form-message {
    margin-top: 0.25rem;
}

.modal-business-fields {
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    text-align: left;
}

.modal-business-fields legend {
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.modal-business-option {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.modal-business-option input {
    accent-color: #7b2ff7;
}

.modal-submit {
    margin-top: 0.25rem;
    background: linear-gradient(135deg, #3b4cc0 0%, #7b2ff7 55%, #e10098 100%);
    background-size: 200% 100%;
    transition: background-position 0.35s ease, opacity 0.2s, transform 0.2s;
}

.modal-submit:hover {
    opacity: 1;
    background-position: 100% 0;
    transform: translateY(-1px);
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form-message {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (prefers-reduced-motion: reduce) {
    .modal-backdrop,
    .modal-dialog {
        transition: none;
    }

    .cookie-consent {
        animation: none;
    }

    .modal-submit {
        transition: opacity 0.2s;
    }

    .modal-submit:hover {
        transform: none;
    }

    .product-card .btn-add-cart:hover:not(:disabled),
    .product-card .btn-product-lead:hover,
    .tariff-card .btn-connect[data-tariff-id]:hover,
    .cart-summary .btn-connect:hover,
    .checkout-submit:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1rem 1.25rem 0;
    }

    .modal-form {
        padding: 1rem 1.25rem 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }
}

@media (min-width: 641px) {
    .header-top {
        grid-column: 1;
        grid-row: 1;
    }

    .header-right {
        grid-column: 2;
        grid-row: 1;
    }

    .mobile-bottom-bar {
        display: none;
    }

    .header-cart--desktop {
        display: flex;
    }

    .cart-badge--mobile {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
        padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    }

    body {
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .page-banner {
        margin: 0.75rem 0 1.1rem;
    }

    .page-banner__viewport {
        border-radius: 16px;
    }

    .page-banner__nav {
        width: 2rem;
        height: 2rem;
        font-size: 1.35rem;
    }

    body:has(.mobile-bottom-bar) .site-header {
        padding: 0;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body:has(.mobile-bottom-bar) .site-header .header-grid {
        display: none;
    }

    body:has(.mobile-bottom-bar) .site-header.is-menu-open .header-grid {
        display: block;
    }

    body:has(.mobile-bottom-bar) .site-header.is-menu-open .header-top {
        display: none;
    }

    .site-header.is-menu-open .header-right {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        position: fixed;
        inset: 0 0 calc(5.25rem + env(safe-area-inset-bottom, 0px)) 0;
        z-index: 150;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-saturate) blur(calc(var(--glass-blur) + 4px));
        -webkit-backdrop-filter: var(--glass-saturate) blur(calc(var(--glass-blur) + 4px));
        border-top: 1px solid var(--glass-border);
        box-shadow: var(--glass-shadow), var(--glass-inset);
        padding:
            calc(1rem + env(safe-area-inset-top, 0px))
            max(1.25rem, env(safe-area-inset-right, 0px))
            1.25rem
            max(1.25rem, env(safe-area-inset-left, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.mobile-bottom-bar) .site-header.is-menu-open {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body:has(.mobile-bottom-bar) .site-header.is-menu-open .container {
        padding: 0;
        max-width: none;
    }

    body:has(.mobile-bottom-bar) .header-right {
        display: none;
    }

    body:has(.mobile-bottom-bar) .header-cart--desktop {
        display: none;
    }

    body:has(.mobile-bottom-bar) .site-header.is-menu-open .header-nav-row {
        border-top: none;
        padding-top: 0;
    }

    body:not(:has(.mobile-bottom-bar)) .header-grid {
        grid-template-columns: 1fr;
        align-items: center;
    }

    body:not(:has(.mobile-bottom-bar)) .logo {
        min-height: 48px;
        padding: 0;
    }

    body:not(:has(.mobile-bottom-bar)) .logo img {
        max-height: 48px;
        height: 48px;
    }

    body:not(:has(.mobile-bottom-bar)) .header-right {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border);
    }

    body:not(:has(.mobile-bottom-bar)) .header-contacts {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    body:not(:has(.mobile-bottom-bar)) .header-tabs .tabs-inner {
        justify-content: center;
    }

    .site-header.is-menu-open .header-contacts {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .site-header.is-menu-open .header-contacts::before {
        content: 'Контакты';
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .site-header.is-menu-open .contact-item {
        width: 100%;
        padding: 0.85rem 1rem;
        background: rgba(255, 255, 255, 0.42);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        font-size: 0.95rem;
        line-height: 1.4;
        box-shadow: var(--glass-inset);
    }

    .site-header.is-menu-open .contact-icon {
        width: 1.15rem;
        height: 1.15rem;
    }

    .site-header.is-menu-open .social-links--header {
        display: flex;
        width: 100%;
        margin-top: 0.15rem;
        gap: 0.55rem;
        justify-content: flex-start;
    }

    .site-header.is-menu-open .social-links--header .social-btn {
        width: 2.5rem;
        height: 2.5rem;
        background: rgba(255, 255, 255, 0.42);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .site-header.is-menu-open .social-links--header .social-btn__icon {
        width: 1.35rem;
        height: 1.35rem;
    }

    .site-header.is-menu-open .social-links--header .social-btn__icon--vk {
        width: 1.5rem;
        height: 1.5rem;
    }

    .site-header.is-menu-open .social-links--header .social-btn__icon--max {
        width: 1.45rem;
        height: 1.45rem;
    }

    .site-header.is-menu-open .header-tabs {
        border-top: none;
        padding-top: 0;
    }

    .site-header.is-menu-open .header-tabs::before {
        content: 'Разделы';
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-bottom: 0.65rem;
    }

    .site-header.is-menu-open .header-tabs .tabs-inner {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow: visible;
    }

    .site-header.is-menu-open .tab-link {
        width: 100%;
        text-align: left;
        padding: 0.95rem 1rem;
        font-size: 1.05rem;
        background: rgba(255, 255, 255, 0.42);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        box-shadow: var(--glass-inset);
    }

    .site-header.is-menu-open .tab-link.is-active {
        background: #2563eb;
        border-color: #2563eb;
        color: #fff;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    }

    .site-header.is-menu-open .nav-dropdown {
        width: 100%;
    }

    .site-header.is-menu-open .nav-dropdown__menu {
        /* position/size set by JS (fixed overlay under toggle) */
        background: #fff;
        box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
    }

    .site-header.is-menu-open .nav-dropdown.is-open .nav-dropdown__menu {
        display: flex;
    }

    .site-header.is-menu-open .nav-dropdown__menu[hidden] {
        display: none !important;
    }

    .site-header.is-menu-open .nav-dropdown__link {
        padding: 0.75rem 0.95rem;
    }

    .mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 160;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: stretch;
        gap: 0.4rem;
        padding:
            0.65rem
            max(0.75rem, env(safe-area-inset-left, 0px))
            calc(0.65rem + env(safe-area-inset-bottom, 0px))
            max(0.75rem, env(safe-area-inset-right, 0px));
        background: var(--glass-bg);
        backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
        -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 -8px 32px rgba(59, 76, 192, 0.12), var(--glass-inset);
    }

    .mobile-bottom-bar__menu,
    .mobile-bottom-bar__cart {
        width: 100%;
        justify-self: stretch;
    }

    .mobile-bottom-bar__logo {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        min-width: 0;
        max-width: 5.25rem;
        min-height: 2.75rem;
        padding: 0 0.25rem;
        text-decoration: none;
        line-height: 0;
    }

    .mobile-bottom-bar__logo img {
        max-height: 36px;
        height: 36px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .mobile-bottom-bar__logo .logo-text {
        font-size: 1rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-bottom-bar__btn {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        width: 100%;
        min-height: 3.5rem;
        padding: 0.6rem 0.5rem;
        border: 1px solid var(--glass-border);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.42);
        color: var(--text);
        text-decoration: none;
        font-family: inherit;
        font-size: 0.82rem;
        font-weight: 600;
        line-height: 1.2;
        cursor: pointer;
        touch-action: manipulation;
        transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
        box-shadow: var(--glass-inset);
    }

    .mobile-bottom-bar__btn:hover,
    .mobile-bottom-bar__btn:focus-visible {
        background: rgba(255, 255, 255, 0.58);
        border-color: rgba(59, 76, 192, 0.35);
        color: #3b4cc0;
    }

    .mobile-bottom-bar__menu.is-active {
        background: rgba(59, 76, 192, 0.12);
        border-color: rgba(59, 76, 192, 0.35);
        color: #3b4cc0;
        box-shadow: 0 0 0 1px rgba(59, 76, 192, 0.12), var(--glass-inset);
    }

    .mobile-bottom-bar__icon {
        flex-shrink: 0;
    }

    .mobile-bottom-bar__icon--close,
    .mobile-bottom-bar__label--close {
        display: none;
    }

    .mobile-bottom-bar__menu.is-active .mobile-bottom-bar__icon--menu,
    .mobile-bottom-bar__menu.is-active .mobile-bottom-bar__label--menu {
        display: none;
    }

    .mobile-bottom-bar__menu.is-active .mobile-bottom-bar__icon--close,
    .mobile-bottom-bar__menu.is-active .mobile-bottom-bar__label--close {
        display: block;
    }

    .cart-badge--desktop {
        display: none;
    }

    .cart-badge--mobile {
        top: 0.3rem;
        right: 0.45rem;
        min-width: 1.2rem;
        height: 1.2rem;
        font-size: 0.68rem;
        line-height: 1;
    }

    .bg-motion-toggle {
        bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent {
        bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    }

    body.has-cookie-consent .bg-motion-toggle {
        bottom: calc(5.5rem + 9.5rem + env(safe-area-inset-bottom, 0px));
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
    }

    .footer-copy {
        justify-self: start;
        align-self: flex-start;
    }

    .operator-tab {
        padding: 0.75rem 1rem;
    }

    .operator-tab-name {
        font-size: 1.25rem;
    }

    .operator-tab-logo {
        max-height: 32px;
        height: 32px;
    }

    .operators-section > .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .operators-section .operator-tabs {
        display: none;
    }

    .operators-section .operator-panel {
        display: block !important;
        width: 100%;
        margin: 0 0 0.85rem;
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
        -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
        box-shadow: var(--glass-shadow), var(--glass-inset);
        overflow: hidden;
        transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
        scroll-margin-top: 0.75rem;
    }

    .operators-section .operator-panel:last-child {
        margin-bottom: 0;
    }

    .operators-section .operator-panel.is-open {
        background: var(--glass-bg-hover);
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--brand, #3b4cc0) 22%, transparent),
            var(--glass-shadow-hover),
            var(--glass-inset);
    }

    @supports not (color: color-mix(in srgb, white 50%, black)) {
        .operators-section .operator-panel.is-open {
            box-shadow:
                0 0 0 1px rgba(59, 76, 192, 0.18),
                var(--glass-shadow-hover),
                var(--glass-inset);
        }
    }

    .operator-panel__mobile-toggle {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        margin: 0;
        padding: 1rem 1.1rem;
        border: none;
        background: transparent;
        cursor: pointer;
        font-family: inherit;
        text-align: left;
        color: inherit;
        touch-action: manipulation;
        transition: color 0.2s ease;
    }

    .operator-panel__mobile-toggle .operator-tab-name {
        flex: 1;
        min-width: 0;
    }

    .operator-panel__chevron {
        display: block;
        opacity: 0.55;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .operators-section .operator-panel.is-open .operator-panel__chevron {
        transform: rotate(180deg);
        opacity: 0.85;
        color: var(--brand, #3b4cc0);
    }

    .operator-panel__body {
        display: none;
        padding: 0 1rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.42);
    }

    .operators-section .operator-panel.is-open .operator-panel__body {
        display: block;
    }

    .operators-section .operator-panel .no-tariffs {
        margin: 0.35rem 0 0;
        padding: 0.75rem 0.5rem;
        text-align: center;
        font-size: 0.95rem;
    }

    .operators-section .operator-panel .tariffs-grid {
        gap: 0.85rem;
    }

    .operators-section .operator-panel .tariff-card {
        border-radius: 14px;
    }

    body:has([data-cart-page]) {
        padding-bottom: calc(5.25rem + var(--cart-dock-height, 5.5rem) + env(safe-area-inset-bottom, 0px));
    }

    .shop-hero:has(+ .shop-section .cart-page) {
        padding: 0.45rem 0 0.15rem;
    }

    .shop-hero:has(+ .shop-section .cart-page) h1 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .shop-section:has(.cart-page) {
        padding-top: 0;
        padding-bottom: 0.5rem;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.88);
        --glass-bg-hover: rgba(255, 255, 255, 0.95);
    }
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 950;
    max-width: 420px;
    margin: 0 auto 0 0;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    box-shadow: var(--glass-shadow), var(--glass-inset);
    color: var(--text);
    animation: cookie-consent-in 0.35s ease-out;
}

@keyframes cookie-consent-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent__inner {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.1rem 1.1rem;
}

.cookie-consent__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #334155;
}

.cookie-consent__text a {
    color: #2563eb;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    justify-content: flex-end;
}

.cookie-consent__btn {
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--gradient-brand);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.cookie-consent__btn:hover {
    opacity: 0.92;
}

.cookie-consent__btn:active {
    transform: scale(0.98);
}

body.has-cookie-consent .bg-motion-toggle {
    bottom: calc(1rem + 9.5rem);
}

@media (max-width: 480px) {
    .cookie-consent {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: none;
        margin: 0;
    }

    body.has-cookie-consent .bg-motion-toggle {
        bottom: calc(0.75rem + 10.5rem);
    }
}

.bg-motion-toggle {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    box-shadow: var(--glass-shadow), var(--glass-inset);
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.bg-motion-toggle:hover {
    color: #3b4cc0;
    box-shadow: var(--glass-shadow-hover), var(--glass-inset);
    transform: translateY(-1px);
}

.bg-motion-toggle .icon-play {
    display: none;
}

.bg-motion-toggle[aria-pressed="true"] .icon-pause {
    display: none;
}

.bg-motion-toggle[aria-pressed="true"] .icon-play {
    display: block;
}

/* Shop */
.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: 0.75rem;
    margin-top: 0;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
    touch-action: manipulation;
}

.header-cart:hover {
    color: #3b4cc0;
    background: rgba(59, 76, 192, 0.08);
}

.cart-badge--mobile {
    display: none;
}

@media (max-width: 640px) {
    .cart-badge--mobile:not([hidden]):not(.cart-badge--empty) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
    }
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #e10098;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
}

.shop-hero {
    padding: 2rem 0 1.5rem;
}

.shop-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.shop-breadcrumb a {
    color: #3b4cc0;
    text-decoration: none;
}

.shop-filter-reset {
    margin-top: 0.75rem;
}

.shop-filter-reset a {
    color: #3b4cc0;
}

.shop-categories-nav {
    margin-bottom: 1rem;
}

.shop-categories {
    margin: 0 0 1.5rem;
}

.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.category-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.85rem;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: box-shadow 0.3s ease, transform 0.2s ease, background 0.2s ease;
}

.category-card:hover {
    background: var(--glass-bg-hover);
    box-shadow: var(--card-glow-hover), var(--glass-inset);
    transform: translateY(-2px);
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card-image {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
}

.category-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
}

.category-card-count {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .shop-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .category-card {
        padding: 0.7rem;
    }

    .category-card-title {
        font-size: 0.9rem;
    }
}

.shop-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-chip {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, box-shadow 0.2s;
}

.shop-chip:hover {
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow);
}

.shop-chip.is-active {
    background: rgba(59, 76, 192, 0.12);
    border-color: rgba(59, 76, 192, 0.45);
    color: #3b4cc0;
    font-weight: 600;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    margin: 0 0 1.25rem;
    padding: 1rem 1.1rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.shop-toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
    min-width: 0;
}

.shop-toolbar-field--search {
    flex: 1 1 12rem;
}

.shop-toolbar-field--sort {
    flex: 0 1 11rem;
}

.shop-toolbar-label {
    font-size: 0.78rem;
    color: #64748b;
}

.shop-toolbar-field input,
.shop-toolbar-field select {
    height: 2.4rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
}

.shop-toolbar-field input[type="number"] {
    width: 6.5rem;
}

.shop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.shop-toolbar-submit {
    height: 2.4rem;
    padding: 0 1rem;
    white-space: nowrap;
}

.shop-toolbar-reset {
    font-size: 0.9rem;
    color: #3b4cc0;
    text-decoration: none;
}

.shop-toolbar-reset:hover {
    text-decoration: underline;
}

.shop-catalog-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin: 0 0 1.35rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.shop-catalog-left,
.shop-catalog-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.35rem;
}

.shop-catalog-left {
    flex: 0 1 auto;
}

.shop-catalog-right {
    flex: 0 1 auto;
    margin-left: auto;
    justify-content: flex-end;
}

.shop-catalog-bar .shop-results-meta {
    margin: 0;
    flex: 0 0 auto;
    font-size: 0.92rem;
    color: #94a3b8;
}

.shop-sort-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem 1.35rem;
}

.shop-sort-label--short {
    display: none;
}

.shop-toolbar-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: #475569;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease;
}

.shop-toolbar-link:hover {
    color: #334155;
}

.shop-toolbar-link.is-active {
    color: #1e293b;
    font-weight: 600;
}

.shop-toolbar-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    opacity: 1;
}

.shop-sort-dropdown {
    display: none;
    align-items: center;
    gap: 0.28rem;
    margin: 0;
    position: relative;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
}

.shop-sort-dropdown__text {
    line-height: 1.2;
    white-space: nowrap;
}

.shop-sort-dropdown__chevron {
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.shop-sort-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: transparent;
    opacity: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.shop-sort-select:focus {
    outline: none;
}

.shop-sort-select option {
    color: #1a1a1a;
}

.shop-filter-open {
    position: relative;
}

.shop-filter-badge {
    position: absolute;
    top: -0.15rem;
    right: -0.35rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #3b4cc0;
}

.shop-catalog-bar .shop-toolbar-reset,
.shop-filter-clear {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.shop-filter-clear:hover {
    color: #ef4444;
}

.shop-filter-form-actions .shop-filter-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

@media (max-width: 960px) {
    .shop-catalog-bar {
        flex-wrap: nowrap;
        gap: 0.75rem 1rem;
    }

    .shop-catalog-left,
    .shop-catalog-right {
        flex-wrap: nowrap;
        gap: 0.65rem 0.85rem;
    }

    .shop-sort-row {
        flex-wrap: nowrap;
        gap: 0.5rem 0.75rem;
    }

    .shop-sort-label--full {
        display: none;
    }

    .shop-sort-label--short {
        display: inline;
    }
}

@media (max-width: 720px) {
    .shop-catalog-bar {
        gap: 0.65rem 1rem;
    }

    .shop-catalog-left,
    .shop-catalog-right {
        gap: 0.65rem 1rem;
    }

    .shop-toolbar-link,
    .shop-sort-dropdown {
        color: #334155;
        font-weight: 600;
    }

    .shop-sort-row {
        display: none;
    }

    .shop-sort-dropdown {
        display: inline-flex;
    }
}

.shop-filter-dialog {
    max-width: 26rem;
}

.shop-filter-modal.modal {
    z-index: 1100;
}

body.is-shop-filter-open .mobile-bottom-bar {
    visibility: hidden;
    pointer-events: none;
}

.shop-filter-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0.15rem;
    min-height: 0;
}

.shop-filter-form__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.shop-filter-form .modal-field {
    margin-bottom: 0;
}

.shop-filter-field input[type="search"],
.shop-filter-field input[type="number"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0.4rem;
    height: 2.65rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.shop-filter-field input[type="search"]::-webkit-search-decoration,
.shop-filter-field input[type="search"]::-webkit-search-cancel-button,
.shop-filter-field input[type="search"]::-webkit-search-results-button,
.shop-filter-field input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.shop-filter-field input[type="number"]::-webkit-outer-spin-button,
.shop-filter-field input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-filter-field input[type="number"] {
    -moz-appearance: textfield;
}

.shop-filter-field input[type="search"]:focus,
.shop-filter-field input[type="number"]:focus {
    border-color: rgba(59, 76, 192, 0.55);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 76, 192, 0.12);
}

.shop-filter-categories {
    margin: 0;
    padding: 0;
    border: none;
    min-width: 0;
}

.shop-filter-categories legend {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    padding: 0;
}

.shop-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 11.5rem;
    overflow-y: auto;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
}

.shop-filter-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    line-height: 1.3;
}

.shop-filter-check input {
    width: 1rem;
    height: 1rem;
    margin: 0.15rem 0 0;
    flex-shrink: 0;
    accent-color: #3b4cc0;
}

.shop-filter-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.shop-filter-form-actions {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.shop-filter-form-actions .shop-filter-submit {
    flex: 1 1 auto;
    min-width: 0;
}

.shop-filter-form-actions .shop-filter-cancel {
    flex: 0 0 auto;
    min-width: 6.5rem;
}

.shop-results-meta {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 720px) {
    .shop-filter-modal.modal {
        align-items: flex-end;
        justify-content: stretch;
        padding: 0;
        inset: auto;
        left: 0;
        right: 0;
        width: 100%;
    }

    .shop-filter-modal .shop-filter-dialog {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: min(92dvh, 100%);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: translateY(100%);
    }

    .shop-filter-modal.is-open .shop-filter-dialog {
        opacity: 1;
        transform: translateY(0);
    }

    .shop-filter-modal .modal-header {
        flex-shrink: 0;
        padding: 1rem 1.25rem 0;
    }

    .shop-filter-modal .shop-filter-form {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .shop-filter-modal .shop-filter-form__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-right: 0.15rem;
    }

    .shop-filter-modal .shop-filter-checkboxes {
        max-height: 7.5rem;
    }

    .shop-filter-modal .shop-filter-form-actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
    }
}

@media (max-width: 720px) {
    .shop-toolbar-actions {
        width: 100%;
        margin-left: 0;
    }

    .shop-toolbar-submit {
        flex: 1;
    }
}

.shop-section {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.shop-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.product-card--compact {
    padding: 0.85rem;
    gap: 0.5rem;
}

.product-card--compact .product-card-image {
    aspect-ratio: 1 / 1;
    margin-bottom: 0.35rem;
}

.product-card--compact .product-card-title {
    font-size: 0.92rem;
}

.product-card--compact .product-card-price {
    font-size: 0.95rem;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.3s ease, transform 0.2s ease, background 0.2s ease;
}

.product-card:hover {
    background: var(--glass-bg-hover);
    box-shadow: var(--card-glow-hover), var(--glass-inset);
    transform: translateY(-2px);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-image {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.product-card-img,
.product-detail-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-placeholder {
    width: 60%;
    height: 60%;
    border-radius: 8px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.product-card-price,
.product-price-lg {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #3b4cc0;
}

.product-card-opt {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: #475569;
}

.product-card-opt--lg {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.product-card-actions {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    width: 100%;
    overflow: visible;
}

.product-card-actions--full .btn-add-cart,
.product-card-actions--full .btn-product-lead {
    flex: 1;
}

.product-qty-controls {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    margin: 0;
    height: 2.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.product-qty-controls--lg {
    margin-top: 1rem;
    height: 3rem;
}

a.btn-connect.btn-in-cart,
a.btn-connect.btn-in-cart:visited,
.operator-beeline a.btn-connect.btn-in-cart,
.operator-beeline a.btn-connect.btn-in-cart:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    color: #1e293b;
    border: 2px solid #3b4cc0;
    box-shadow: none;
    opacity: 1;
}

a.btn-connect.btn-in-cart:hover,
a.btn-connect.btn-in-cart:focus-visible,
a.btn-connect.btn-in-cart:visited:hover,
.operator-beeline a.btn-connect.btn-in-cart:hover,
.operator-beeline a.btn-connect.btn-in-cart:visited:hover {
    background: #3b4cc0;
    color: #fff;
    border-color: #3b4cc0;
    opacity: 1;
}

[data-cart-buy] [hidden] {
    display: none !important;
}

.cart-buy-cta {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
}

.cart-buy-cta .btn-add-cart,
.cart-buy-cta .btn-in-cart {
    flex: 1;
    width: 100%;
}

.cart-qty-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    z-index: 2;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: #e10098;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.15rem;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
    pointer-events: none;
}

.tariff-cart-buy {
    width: 100%;
}

.tariff-cart-buy > .btn-connect:not(.btn-add-cart):not(.btn-in-cart) {
    width: 100%;
}

.product-qty-btn {
    width: 2.1rem;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.product-qty-btn:hover {
    background: rgba(59, 76, 192, 0.08);
    color: #3b4cc0;
}

.product-qty-input {
    width: 2.1rem;
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    border: 0;
    border-left: 1px solid rgba(15, 23, 42, 0.1);
    border-right: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    -moz-appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-card .product-qty-controls {
    width: auto;
    justify-content: center;
}

.product-card-actions .btn-add-cart,
.product-card-actions .btn-in-cart {
    flex: 1;
    min-width: 0;
    width: auto;
    margin-top: 0;
    white-space: nowrap;
}

.product-card-actions .btn-in-cart {
    white-space: normal;
    line-height: 1.2;
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem;
    text-align: center;
}

.product-card-actions--detail {
    max-width: 28rem;
    margin-top: 1rem;
}

.product-card-actions--detail .product-qty-controls--lg {
    margin-top: 0;
}

.product-card--compact .product-qty-controls {
    height: 2.4rem;
}

.product-card--compact .product-qty-btn {
    width: 1.85rem;
}

.product-card--compact .product-qty-input {
    width: 1.85rem;
    font-size: 0.875rem;
}

.tariff-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.tariff-actions--cart {
    width: 100%;
}

.tariff-cart-bar {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.55rem;
    width: 100%;
}

.tariff-cart-bar .tariff-qty {
    height: 2.85rem;
    border-radius: 10px;
    border-color: color-mix(in srgb, var(--brand, #3b4cc0) 18%, rgba(15, 23, 42, 0.12));
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
    .tariff-cart-bar .tariff-qty {
        border-color: rgba(15, 23, 42, 0.12);
    }
}

.tariff-cart-bar .product-qty-btn {
    width: 2.25rem;
    color: color-mix(in srgb, var(--brand, #3b4cc0) 70%, #334155);
}

.tariff-cart-bar .product-qty-btn:hover {
    background: color-mix(in srgb, var(--brand, #3b4cc0) 10%, transparent);
    color: var(--brand, #3b4cc0);
}

.tariff-cart-bar .product-qty-input {
    width: 2.25rem;
    font-size: 0.95rem;
}

.tariff-cart-bar .btn-add-cart {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 2.85rem;
    margin: 0;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--brand, #3b4cc0) 22%, transparent);
}

@supports not (color: color-mix(in srgb, white 50%, black)) {
    .tariff-cart-bar .btn-add-cart {
        box-shadow: 0 6px 16px rgba(59, 76, 192, 0.18);
    }
}

.tariff-actions--full .btn-connect {
    width: 100%;
}

.tariff-actions .btn-connect,
.tariff-actions .btn-outline {
    width: 100%;
}

.tariff-card--compact .tariff-stock {
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
}

.tariff-card--compact .tariff-cart-bar {
    gap: 0.4rem;
}

.tariff-card--compact .tariff-cart-bar .tariff-qty,
.tariff-card--compact .tariff-cart-bar .btn-add-cart {
    height: 2.45rem;
}

.tariff-card--compact .tariff-cart-bar .product-qty-btn,
.tariff-card--compact .tariff-cart-bar .product-qty-input {
    width: 1.9rem;
}

.tariff-card--compact .tariff-cart-bar .btn-add-cart {
    font-size: 0.85rem;
    padding: 0 0.75rem;
}

.cart-item-meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #64748b;
}

.cart-item-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #15803d;
}

.cart-item-hint[hidden] {
    display: none !important;
}

.cart-unit-price {
    white-space: nowrap;
}

.cart-price-now {
    display: block;
    font-weight: 600;
}

.cart-price-retail {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.cart-price-retail[hidden] {
    display: none !important;
}

.product-price-lg {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.product-stock {
    font-size: 0.85rem;
    margin: 0;
}

.product-stock.in-stock {
    color: #166534;
}

.product-stock.out-of-stock {
    color: #991b1b;
}

.product-stock.in-cart {
    color: #3b4cc0;
}

.product-card .btn-connect {
    width: 100%;
    margin-top: auto;
}

.product-card .product-card-actions .btn-connect {
    margin-top: 0;
    width: auto;
}

.product-card .btn-add-cart,
.product-card .btn-product-lead,
.tariff-card .btn-connect[data-tariff-id],
.cart-summary .btn-connect,
.checkout-submit {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
    transition: transform 0.2s, color 0.2s;
}

.product-card .btn-add-cart::before,
.product-card .btn-add-cart::after,
.product-card .btn-product-lead::before,
.product-card .btn-product-lead::after,
.tariff-card .btn-connect[data-tariff-id]::before,
.tariff-card .btn-connect[data-tariff-id]::after,
.cart-summary .btn-connect::before,
.cart-summary .btn-connect::after,
.checkout-submit::before,
.checkout-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity 0.35s ease, background-position 0.35s ease;
}

.product-card .btn-add-cart::before,
.product-card .btn-product-lead::before,
.tariff-card .btn-connect[data-tariff-id]::before,
.cart-summary .btn-connect::before,
.checkout-submit::before {
    z-index: -2;
    background: var(--brand, #333);
}

.product-card .btn-add-cart::after,
.product-card .btn-product-lead::after,
.tariff-card .btn-connect[data-tariff-id]::after,
.cart-summary .btn-connect::after,
.checkout-submit::after {
    z-index: -1;
    opacity: 0;
    background: linear-gradient(135deg, #3b4cc0 0%, #7b2ff7 55%, #e10098 100%);
    background-size: 200% 100%;
    background-position: 0 0;
}

.product-card .btn-add-cart:hover:not(:disabled),
.product-card .btn-product-lead:hover,
.tariff-card .btn-connect[data-tariff-id]:hover,
.cart-summary .btn-connect:hover,
.checkout-submit:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: #fff;
}

.product-card .btn-add-cart:hover:not(:disabled)::after,
.product-card .btn-product-lead:hover::after,
.tariff-card .btn-connect[data-tariff-id]:hover::after,
.cart-summary .btn-connect:hover::after,
.checkout-submit:hover::after {
    opacity: 1;
    background-position: 100% 0;
}

.product-card .btn-add-cart:disabled::after {
    opacity: 0;
}

.product-card--compact .btn-add-cart--compact {
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
}

.product-card--compact .btn-in-cart.btn-add-cart--compact {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
}

.shop-product-detail {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.shop-product-card,
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.shop-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.shop-product-media {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shop-product-media .shop-breadcrumb {
    margin: 0;
    text-align: left;
}

.shop-product-image {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    gap: 1rem;
    flex: 1;
}

.shop-product-info {
    display: flex;
    flex-direction: column;
    padding-top: calc(0.9rem * 1.5 + 0.75rem);
}

.shop-product-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    line-height: 1.25;
    color: var(--text);
}

.product-gallery-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}

.product-gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 0.25rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-gallery-thumb.is-active {
    border-color: #3b4cc0;
    box-shadow: 0 0 0 1px rgba(59, 76, 192, 0.2);
}

.product-gallery-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-description {
    margin: 1rem 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.shop-related-services h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.shop-product-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.shop-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.shop-section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
}

.tariffs-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.tariff-card--compact {
    padding: 1rem;
}

.tariff-card--compact h3 {
    font-size: 1rem;
}

.tariff-card--compact .tariff-features {
    font-size: 0.85rem;
}

.tariff-card--compact .tariff-feature-icon {
    width: 0.95rem;
    height: 0.95rem;
}

.tariff-operator {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 0.25rem;
    font-weight: 500;
}

.shop-service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-service-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(59, 76, 192, 0.1);
    color: #3b4cc0;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.shop-service-link:hover {
    background: rgba(59, 76, 192, 0.18);
}

.shop-recommendations {
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.shop-recommendations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.shop-recommendations-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #3b4cc0;
    border-radius: 8px;
    color: #3b4cc0;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
    background: #3b4cc0;
    color: #fff;
}

.cart-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 0;
}

.cart-col-product { width: auto; }
.cart-col-price { width: 7.5rem; }
.cart-col-qty { width: 9rem; }
.cart-col-sum { width: 7rem; }
.cart-col-actions { width: 6.25rem; }

.cart-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cart-layout__body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.cart-layout__items {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cart-checkout-dock {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cart-checkout-dock__row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cart-checkout-dock__pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    margin-left: auto;
}

.cart-checkout-dock__btn {
    flex-shrink: 0;
}

.cart-dock-hint {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.35;
}

.cart-dock-hint[hidden] {
    display: none !important;
}

.cart-dock-benefit {
    font-size: 0.82rem;
    font-weight: 600;
    color: #15803d;
    line-height: 1.3;
}

.cart-dock-benefit[hidden] {
    display: none !important;
}

.cart-saved-prices {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}

@media (min-width: 641px) {
    .cart-dock-hint,
    .cart-dock-benefit {
        display: none !important;
    }

    .cart-page {
        display: flex;
        flex-direction: column;
    }

    .cart-layout {
        --cart-scrollbar-gap: 0.85rem;
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 11rem);
        overflow: hidden;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
        -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: var(--glass-shadow), var(--glass-inset);
    }

    .cart-sum-progress--vertical {
        order: 2;
        width: 100%;
        flex: 0 0 auto;
    }

    .cart-layout__body {
        order: 1;
        flex-direction: column;
        gap: 0.75rem;
    }

    .cart-layout__items {
        min-height: 0;
    }

    .cart-checkout-dock {
        flex: 0 0 auto;
        margin-top: 0.75rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
        background: color-mix(in srgb, var(--glass-bg) 88%, #fff);
    }

    .cart-sum-progress--vertical {
        width: 100%;
        flex: 0 0 auto;
    }

    .cart-sum-progress--vertical .cart-sum-progress-track {
        position: relative;
        height: 8px;
        margin: 0.2rem 0 0.55rem;
    }

    .cart-sum-progress--vertical .cart-sum-progress-fill {
        left: 0;
        top: 0;
        bottom: 0;
        right: auto;
        width: auto;
        height: 100%;
    }

    .cart-sum-progress-marker__label {
        display: none;
    }

    .cart-table--head {
        flex: 0 0 auto;
        padding-right: var(--cart-scrollbar-gap);
        box-sizing: border-box;
    }

    .cart-table--head th {
        padding: 0.55rem 0.75rem 0.7rem;
        text-align: left;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
        white-space: nowrap;
    }

    .cart-items-scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: var(--cart-scrollbar-gap);
        box-sizing: border-box;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
        scrollbar-color: color-mix(in srgb, #3b4cc0 45%, #94a3b8) transparent;
    }

    .cart-items-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .cart-items-scroll::-webkit-scrollbar-track {
        background: transparent;
        margin: 0.35rem 0;
    }

    .cart-items-scroll::-webkit-scrollbar-thumb {
        background: color-mix(in srgb, #3b4cc0 40%, #94a3b8);
        border-radius: 999px;
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .cart-items-scroll::-webkit-scrollbar-thumb:hover {
        background: color-mix(in srgb, #3b4cc0 65%, #64748b);
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .cart-items-scroll::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }
}

.cart-sum-progress-marker__label {
    display: none;
}

.cart-table th,
.cart-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table--body tr:last-child td {
    border-bottom: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cart-item-name,
a.cart-item-name,
a.cart-item-name:link,
a.cart-item-name:visited {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

a.cart-item-name:hover {
    color: #3b4cc0;
}

.cart-item-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.cart-item-thumb {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
    text-decoration: none;
}

.cart-item-thumb--logo {
    background: color-mix(in srgb, var(--brand, #94a3b8) 10%, #fff);
    border-color: color-mix(in srgb, var(--brand, #94a3b8) 22%, transparent);
    padding: 0.35rem;
}

.cart-item-thumb--placeholder {
    background: rgba(148, 163, 184, 0.08);
}

.cart-item-thumb-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cart-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-qty-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    touch-action: manipulation;
}

.cart-qty-btn:hover {
    border-color: #3b4cc0;
    color: #3b4cc0;
}

.cart-summary {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--glass-bg) 88%, #fff);
}

.cart-summary-totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    margin-left: auto;
}

.cart-discount-note {
    margin: 0;
    width: 100%;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: #15803d;
}

.cart-discount-note[hidden] {
    display: none !important;
}

.cart-pricing-warnings {
    width: 100%;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.cart-pricing-warnings[hidden] {
    display: none !important;
}

.cart-pricing-warning {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #92400e;
    font-weight: 600;
}

.cart-sum-progress {
    width: 100%;
    margin: 0 0 0.25rem;
}

.cart-sum-progress[hidden] {
    display: none !important;
}

.cart-sum-progress-hint {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.35;
}

.cart-sum-progress-hint[hidden] {
    display: none !important;
}

.cart-sum-progress-track {
    position: relative;
    height: 8px;
    margin: 0.2rem 0 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, #3b4cc0 10%, #e2e8f0);
    overflow: visible;
}

.cart-sum-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 999px;
    background: var(--gradient-brand);
    box-shadow: 0 0 12px rgba(123, 47, 247, 0.28);
    will-change: width;
    transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    animation: cart-sum-fill-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cart-sum-fill-in {
    from {
        width: 0;
    }
}

.cart-sum-progress-marker {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    border: 2px solid #c4b5fd;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cart-sum-progress-marker.is-reached {
    background: #7b2ff7;
    border-color: #7b2ff7;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.cart-sum-progress-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.85rem;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}

.cart-sum-progress-legend .is-reached {
    color: #4c1d95;
    font-weight: 600;
}

.cart-sum-progress-note {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #94a3b8;
}

.cart-total-prices {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.cart-total-retail {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.cart-total-retail[hidden] {
    display: none !important;
}

.cart-total-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.65rem;
    font-size: 1.25rem;
}

.cart-saved-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #15803d;
}

.cart-saved-row[hidden] {
    display: none !important;
}

.cart-saved-value {
    font-weight: 600;
}

.cart-item-card-cell {
    padding: 0 !important;
    border-bottom: none !important;
    vertical-align: top;
}

.cart-table--body tr.cart-item-row:last-child .cart-item-card {
    border-bottom: none;
}

.cart-item-card {
    position: relative;
    box-sizing: border-box;
}

.cart-item-card__remove {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.92);
    color: #94a3b8;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.cart-item-card__remove span {
    line-height: 1;
}

.cart-item-card__remove:hover,
.cart-item-card__remove:focus-visible {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.12);
}

.cart-item-card__title {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cart-item-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.cart-item-card__price.cart-unit-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}

.cart-item-card__price .cart-price-now {
    font-weight: 700;
    color: #1e293b;
}

.cart-item-card__footer .cart-line-total {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

@media (min-width: 641px) {
    .cart-item-card {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) 7.5rem 9rem 7rem auto;
        grid-template-areas: "media title price qty sum remove";
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }

    .cart-item-card__media {
        grid-area: media;
    }

    .cart-item-card__title {
        grid-area: title;
    }

    .cart-item-card__price {
        grid-area: price;
    }

    .cart-item-card__footer {
        display: contents;
    }

    .cart-item-card__qty {
        grid-area: qty;
        justify-self: start;
    }

    .cart-item-card__footer .cart-line-total {
        grid-area: sum;
        justify-self: end;
        text-align: right;
        font-size: 1rem;
    }

    .cart-item-card__remove {
        grid-area: remove;
        position: static;
        width: 2rem;
        height: 2rem;
        border-radius: 999px;
        font-size: 1.15rem;
    }
}

.checkout-section {
    padding-bottom: 3rem;
}

.checkout-lead {
    margin: 0.65rem auto 0;
    line-height: 1.55;
}

.checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    color: #3b4cc0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.checkout-back:hover {
    color: #7b2ff7;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.checkout-layout.glass-card {
    padding: 1.75rem;
}

.checkout-order {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    max-height: min(36rem, calc(100dvh - 14rem));
}

.checkout-order h2,
.checkout-form h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 1rem;
    flex: 0 0 auto;
}

.checkout-items-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.65rem;
    margin-bottom: 0.75rem;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #3b4cc0 45%, #94a3b8) transparent;
}

.checkout-items-scroll::-webkit-scrollbar {
    width: 8px;
}

.checkout-items-scroll::-webkit-scrollbar-track {
    background: transparent;
    margin: 0.35rem 0;
}

.checkout-items-scroll::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, #3b4cc0 40%, #94a3b8);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.checkout-items-scroll::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, #3b4cc0 65%, #64748b);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.checkout-items-scroll::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.checkout-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-items li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.checkout-items li > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.checkout-items li > span:last-child {
    flex: 0 0 auto;
    min-width: 5.5rem;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.checkout-items li:last-child {
    border-bottom: none;
}

.checkout-order-summary {
    flex: 0 0 auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 1.15rem;
    font-weight: 600;
}

.checkout-total-prices {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.checkout-total-retail {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.checkout-saved {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: #15803d;
}

.checkout-field {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.checkout-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.checkout-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.checkout-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #7b2ff7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.15);
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.checkout-submit-secondary {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.checkout-submit-secondary:hover {
    border-color: #7b2ff7;
    background: #fff;
}

.checkout-success-wrap {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 1rem;
}

.checkout-success-card {
    width: 100%;
    max-width: 520px;
    padding: 2rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.checkout-success-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 2px solid #bbf7d0;
    box-shadow: 0 4px 14px rgba(22, 101, 52, 0.12);
}

.checkout-success-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.checkout-success-message {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
}

.checkout-success-card .checkout-submit {
    margin-top: 0.25rem;
    min-width: 14rem;
}

.checkout-success-note {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.checkout-success {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: #dcfce7;
    color: #166534;
    margin-bottom: 1rem;
    border: 1px solid #bbf7d0;
}

.checkout-error {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    margin-bottom: 1rem;
}

.checkout-subtotal,
.checkout-delivery-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.checkout-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.checkout-delivery-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.55);
}

.checkout-delivery-option:has(input:checked) {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.checkout-delivery-option input {
    margin-top: 0.2rem;
}

.checkout-delivery-option strong {
    display: block;
    margin-bottom: 0.15rem;
}

.checkout-delivery-option__hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.checkout-cdek {
    margin: 0 0 1.25rem;
}

.checkout-cdek-hint {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.checkout-city-suggest {
    position: relative;
    display: block;
}

.checkout-city-suggest__list {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0.25rem 0;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 16rem;
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.checkout-city-suggest__list[hidden] {
    display: none !important;
}

.checkout-city-suggest__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.85rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.checkout-city-suggest__item:hover,
.checkout-city-suggest__item.is-active {
    background: rgba(37, 99, 235, 0.08);
}

.checkout-city-suggest__city {
    display: block;
    font-weight: 600;
}

.checkout-city-suggest__region {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.checkout-cdek-open,
.checkout-cdek-change {
    margin-top: 0.25rem;
}

.checkout-cdek-change {
    background: transparent;
    border: 0;
    color: var(--accent, #2563eb);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font: inherit;
}

.checkout-cdek-selected {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.checkout-cdek-selected__title {
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.checkout-cdek-selected__addr,
.checkout-cdek-selected__meta {
    margin: 0 0 0.35rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkout-cdek-error {
    margin: 0.65rem 0 0;
    color: #991b1b;
    font-size: 0.9rem;
}

.cdek-widget-root {
    /* Widget popup mounts here; keep off layout flow */
    position: relative;
    z-index: 4000;
}

.shop-toast {
    position: fixed;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.shop-toast--success {
    background: #dcfce7;
    color: #166534;
}

.shop-toast--error {
    background: #fee2e2;
    color: #991b1b;
}

.link-btn {
    background: none;
    border: none;
    color: #3b4cc0;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
    padding: 0;
}

.link-btn.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.link-btn.cart-remove-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.1);
}

@media (max-width: 768px) {
    .shop-product-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-order {
        max-height: none;
    }

    .checkout-items-scroll {
        height: auto;
        max-height: min(58vh, 28rem);
        min-height: 0;
        flex: 0 0 auto;
    }

    .shop-product-title {
        font-size: 1.5rem;
    }

    .shop-product-info {
        padding-top: 0;
    }

    .shop-recommendations-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.shop-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 1rem 0 1.5rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.shop-pagination .pagination-summary {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.shop-pagination .pagination-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.shop-pagination .pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.shop-pagination .pagination-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.shop-pagination .pagination-btn.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.shop-pagination .pagination-current {
    min-width: 4rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.shop-pagination .pagination-goto {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.shop-pagination .pagination-select {
    min-width: 4.25rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.shop-pagination .pagination-goto__of {
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .shop-pagination {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding: 0.75rem 0.85rem;
    }

    .shop-pagination .pagination-summary {
        width: 100%;
        text-align: center;
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .shop-pagination .pagination-links {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 0.35rem 0.5rem;
        width: 100%;
    }

    .shop-pagination .pagination-btn {
        min-width: 0;
        width: 100%;
        padding: 0.5rem 0.45rem;
        font-size: 0.8rem;
    }

    .shop-pagination .pagination-btn:first-of-type {
        justify-self: start;
    }

    .shop-pagination .pagination-btn:last-of-type {
        justify-self: end;
    }

    .shop-pagination .pagination-goto {
        justify-self: center;
        gap: 0.28rem;
        font-size: 0.8rem;
    }

    .shop-pagination .pagination-goto__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .shop-pagination .pagination-select {
        min-width: 3.1rem;
        padding: 0.38rem 0.35rem;
        font-size: 0.82rem;
    }
}

/* Business page */
.business-hero {
    padding-bottom: 2rem;
    text-align: left;
}

.business-hero__card {
    padding: 2rem 2.25rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.business-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 2.5rem;
    align-items: center;
}

.business-hero__content {
    text-align: left;
}

.business-hero__content h1 {
    text-align: left;
}

.business-hero__content .hero-subtitle {
    margin-top: 0.75rem;
    max-width: 36rem;
}

.business-hero-cta,
.business-highlight-cta,
.optom-hero-actions a.optom-cta.btn-connect,
.optom-hero-actions button.optom-cta.btn-connect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 220px;
    margin-top: 1.5rem;
    background: var(--gradient-brand);
    background-size: 200% 100%;
    background-position: 0% 50%;
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(123, 47, 247, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.45s ease, filter 0.2s ease, opacity 0.2s ease;
}

.optom-hero-actions a.optom-cta.btn-connect,
.optom-hero-actions button.optom-cta.btn-connect {
    min-width: 0;
    margin-top: 0;
}

.business-hero-cta:hover,
.business-highlight-cta:hover,
.optom-hero-actions a.optom-cta.btn-connect:hover,
.optom-hero-actions a.optom-cta.btn-connect:visited,
.optom-hero-actions button.optom-cta.btn-connect:hover {
    color: #fff;
    opacity: 1;
    transform: translateY(-2px);
    background-position: 100% 50%;
    filter: brightness(1.06);
    box-shadow: 0 8px 22px rgba(123, 47, 247, 0.42);
}

.business-hero-cta:active,
.business-highlight-cta:active,
.optom-hero-actions a.optom-cta.btn-connect:active,
.optom-hero-actions button.optom-cta.btn-connect:active {
    transform: translateY(0);
    filter: brightness(0.98);
    box-shadow: 0 3px 10px rgba(123, 47, 247, 0.28);
}

button.business-hero-cta,
button.business-highlight-cta {
    width: auto;
}

.business-hero__partners {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.business-hero__partners-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.business-hero__partners-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.15rem;
}

.business-hero__partner {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.72;
}

.business-hero__partner-logo {
    max-height: 20px;
    max-width: 64px;
    width: auto;
    height: 20px;
    object-fit: contain;
    filter: grayscale(0.2) opacity(0.95);
}

.business-hero__partner-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.business-section--partner-products {
    padding-top: 0.5rem;
}

.business-bank-products-title {
    margin: 1.75rem 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.business-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.business-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(59, 76, 192, 0.06);
    font-size: 0.95rem;
}

.business-benefit__icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(123, 47, 247, 0.12);
    color: #7b2ff7;
    font-size: 0.75rem;
    font-weight: 700;
}

.business-section {
    padding: 2.5rem 0;
}

.business-section--muted {
    background: rgba(255, 255, 255, 0.45);
}

.business-section--process {
    padding: 1rem 0 1.5rem;
}

.business-section--process .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.business-section__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
}

.business-section__lead {
    margin: 0 auto 1.5rem;
    max-width: 640px;
    text-align: center;
    color: var(--text-muted);
}

.business-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 1.5rem auto 2rem;
    max-width: 360px;
    border-bottom: 3px solid var(--border);
}

.business-tab {
    flex: 1;
    padding: 0.85rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s, border-color 0.2s;
}

.business-tab:hover {
    color: var(--text);
}

.business-tab.is-active {
    color: var(--text);
    border-bottom-color: #7b2ff7;
}

.business-process-card {
    padding: 1.25rem 5rem 1.35rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.business-process-card::before,
.business-process-card::after {
    display: none;
}

.business-process-card .business-section__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.business-process-card .business-tabs {
    margin: 1rem auto 1.25rem;
}

.business-steps {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.business-steps::before {
    content: '';
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        180deg,
        rgba(59, 76, 192, 0.1) 0%,
        rgba(123, 47, 247, 0.35) 50%,
        rgba(59, 76, 192, 0.1) 100%
    );
    border-radius: 2px;
    z-index: 0;
}

.business-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.25rem minmax(0, 1fr);
    gap: 0 0.35rem;
    align-items: start;
    margin-bottom: 0.65rem;
}

.business-step:last-child {
    margin-bottom: 0;
}

.business-step--left .business-step__card {
    grid-column: 1;
    grid-row: 1;
}

.business-step--left .business-step__track {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.business-step--right .business-step__card {
    grid-column: 3;
    grid-row: 1;
}

.business-step--right .business-step__track {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.business-step__track {
    display: flex;
    justify-content: center;
    padding-top: 0.55rem;
    position: relative;
    z-index: 1;
}

.business-step__track::before {
    content: '';
    position: absolute;
    top: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.business-step__track::after {
    display: none;
}

.business-step__num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(123, 47, 247, 0.25);
}

.business-step--left .business-step__card {
    justify-self: stretch;
    text-align: right;
}

.business-step--right .business-step__card {
    justify-self: stretch;
    text-align: left;
}

.business-step__card {
    width: 100%;
    min-width: 0;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(59, 76, 192, 0.06);
    transition: box-shadow 0.2s ease;
    position: relative;
}

.business-step__card::before,
.business-step--left .business-step__card::after,
.business-step--right .business-step__card::after {
    display: none;
}

.business-step--final .business-step__card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(123, 47, 247, 0.06) 100%);
    border-color: rgba(123, 47, 247, 0.15);
}

.business-step__card:hover {
    box-shadow: 0 4px 14px rgba(59, 76, 192, 0.1);
    transform: none;
}

.business-step__card h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.business-step--final .business-step__card h3 {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.business-step__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.business-step__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.business-step--left .business-step__list li {
    flex-direction: row-reverse;
    justify-content: flex-start;
    text-align: right;
}

.business-step--right .business-step__list li {
    text-align: left;
}

.business-step__list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.12rem;
    border-radius: 50%;
    background: rgba(123, 47, 247, 0.08);
    color: #7b2ff7;
    font-size: 0.62rem;
    font-weight: 800;
}

.business-step--final .business-step__list li {
    color: var(--text);
}

.business-panel {
    text-align: center;
}

.business-highlight {
    text-align: center;
    max-width: 720px;
}

.business-highlight p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.business-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.business-feature {
    padding: 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
}

.business-feature h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.business-feature p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.business-feature a {
    color: #7b2ff7;
    text-decoration: none;
    font-weight: 600;
}

.business-feature a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .business-section--process .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .business-process-card {
        padding: 1.15rem 1rem 1.25rem;
    }

    .business-steps::before {
        left: 1.1rem;
        transform: none;
    }

    .business-step {
        grid-template-columns: 2.25rem minmax(0, 1fr);
        gap: 0 0.65rem;
    }

    .business-step--left .business-step__card,
    .business-step--right .business-step__card {
        grid-column: 2;
    }

    .business-step--left .business-step__track,
    .business-step--right .business-step__track {
        grid-column: 1;
    }

    .business-step--left .business-step__card,
    .business-step--right .business-step__card {
        text-align: left;
    }

    .business-step--left .business-step__list li {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .business-section__title {
        font-size: 1.35rem;
    }

    .business-hero {
        text-align: center;
    }

    .business-hero__card {
        padding: 1.25rem 1rem;
    }

    .business-hero__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .business-hero__content {
        text-align: center;
    }

    .business-hero__content h1 {
        text-align: center;
    }

    .business-hero__content .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .business-hero__partners {
        justify-content: center;
    }

    .business-hero__partners-list {
        justify-content: center;
    }

    .optom-hero-actions {
        justify-content: center;
    }

    .optom-tiers {
        grid-template-columns: 1fr;
    }
}

/* Optom (wholesale) page */
.optom-hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.optom-hero-actions .optom-cta {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 2.85rem;
    margin-top: 0;
    padding: 0.75rem 1.25rem;
    box-sizing: border-box;
    line-height: 1.2;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.optom-hero-actions .optom-cta.btn-outline {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #3b4cc0;
    color: #3b4cc0;
    box-shadow: 0 2px 8px rgba(59, 76, 192, 0.08);
}

.optom-hero-actions .optom-cta.btn-outline:hover {
    background: #3b4cc0;
    border-color: #3b4cc0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(59, 76, 192, 0.28);
}

.optom-hero-actions .optom-cta.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 76, 192, 0.16);
}

.optom-how {
    margin-top: 0.5rem;
}

.optom-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
    margin: 1.25rem 0 0.75rem;
}

.optom-tier {
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(59, 76, 192, 0.06);
}

.optom-tier__from {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    color: var(--text-muted, #5a6478);
}

.optom-tier__value {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.optom-tiers-note {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted, #5a6478);
}

.optom-steps.business-steps {
    margin-top: 1rem;
}

/* Mobile cart — must stay after desktop cart rules */
@media (max-width: 640px) {
    body:has([data-cart-page]) {
        padding-bottom: calc(5.25rem + var(--cart-dock-height, 5.5rem) + env(safe-area-inset-bottom, 0px));
    }

    .cart-page {
        width: 100%;
    }

    .cart-page .cart-layout {
        max-height: none;
        overflow: visible;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .cart-page .cart-layout__body {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .cart-page .cart-sum-progress--vertical {
        position: sticky;
        top: 0;
        z-index: 8;
        width: 100%;
        margin: 0 0 0.5rem;
        padding: 0.55rem 0.7rem 0.5rem;
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-saturate) blur(calc(var(--glass-card-blur) + 6px));
        -webkit-backdrop-filter: var(--glass-saturate) blur(calc(var(--glass-card-blur) + 6px));
        box-shadow: var(--glass-shadow), var(--glass-inset);
    }

    .cart-page .cart-sum-progress-hint {
        margin: 0 0 0.45rem;
        padding: 0.35rem 0.5rem;
        border-radius: 8px;
        background: rgba(59, 76, 192, 0.07);
        border: 1px solid rgba(59, 76, 192, 0.12);
        color: #334155;
        font-size: 0.7rem;
        font-weight: 500;
        line-height: 1.3;
    }

    .cart-page .cart-sum-progress-track {
        height: 7px;
        margin: 0 0 0.45rem;
        background: rgba(148, 163, 184, 0.22);
        box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
    }

    .cart-page .cart-sum-progress-fill {
        box-shadow: 0 0 10px rgba(123, 47, 247, 0.3);
    }

    .cart-page .cart-sum-progress-marker {
        width: 10px;
        height: 10px;
        border-width: 2px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    }

    .cart-page .cart-sum-progress-marker.is-reached {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 1px 6px rgba(123, 47, 247, 0.3);
    }

    .cart-page .cart-sum-progress-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
        font-size: 0;
        line-height: 1.15;
    }

    .cart-page .cart-sum-progress-legend > span {
        display: inline-flex;
        align-items: center;
        padding: 0.18rem 0.42rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.58);
        border: 1px solid rgba(148, 163, 184, 0.28);
        font-size: 0.6rem;
        color: #64748b;
        line-height: 1.2;
    }

    .cart-page .cart-sum-progress-legend > span.is-reached {
        background: rgba(123, 47, 247, 0.1);
        border-color: rgba(123, 47, 247, 0.28);
        color: #5b21b6;
        font-weight: 600;
    }

    .cart-page .cart-sum-progress-note {
        display: none;
    }

    .cart-page .cart-layout__items {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 0;
        overflow: visible;
    }

    .cart-page .cart-items-scroll {
        margin: 0;
        padding: 0;
        overflow: visible;
        max-height: none;
        flex: none;
    }

    .cart-page .cart-table--head {
        display: none !important;
    }

    .cart-page .cart-table {
        margin-bottom: 0;
        max-width: 100%;
        table-layout: auto;
    }

    .cart-page .cart-table,
    .cart-page .cart-table tbody {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cart-page .cart-table--body tr.cart-item-row {
        display: block;
        margin-bottom: 0.5rem;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .cart-page .cart-table--body tr.cart-item-row:last-child {
        margin-bottom: 0;
    }

    .cart-page .cart-item-card-cell {
        display: block;
    }

    .cart-page .cart-item-card {
        display: grid;
        grid-template-columns: 4.5rem minmax(0, 1fr);
        grid-template-areas:
            "media title"
            "media price"
            "footer footer";
        gap: 0.22rem 0.65rem;
        padding: 0.7rem 2.1rem 0.7rem 0.7rem;
        border: 1px solid var(--glass-border);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.82);
        backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
        -webkit-backdrop-filter: var(--glass-saturate) blur(var(--glass-card-blur));
        box-shadow: 0 4px 16px rgba(59, 76, 192, 0.07), var(--glass-inset);
    }

    .cart-page .cart-item-card__remove {
        position: absolute;
        top: 0.42rem;
        right: 0.42rem;
        z-index: 2;
        width: 1.65rem;
        height: 1.65rem;
        border-radius: 50%;
        font-size: 1.05rem;
    }

    .cart-page .cart-item-card__media {
        grid-area: media;
        align-self: start;
    }

    .cart-page .cart-item-card__media .cart-item-thumb {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 10px;
    }

    .cart-page .cart-item-card__title {
        grid-area: title;
        padding-right: 0.35rem;
    }

    .cart-page .cart-item-card__title .cart-item-name {
        font-size: 0.88rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cart-page .cart-item-card__title .cart-item-meta,
    .cart-page .cart-item-card__title .cart-item-hint {
        font-size: 0.68rem;
        line-height: 1.3;
    }

    .cart-page .cart-item-card__price {
        grid-area: price;
    }

    .cart-page .cart-item-card__price .cart-price-retail {
        font-size: 0.76rem;
    }

    .cart-page .cart-item-card__price .cart-price-now {
        font-size: 0.92rem;
    }

    .cart-page .cart-item-card__footer {
        grid-area: footer;
        margin-top: 0.3rem;
        padding-top: 0.48rem;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
    }

    .cart-page .cart-item-card__footer .cart-line-total {
        font-size: 0.94rem;
    }

    .cart-page .cart-qty-controls {
        gap: 0.35rem;
    }

    .cart-page .cart-qty-btn {
        width: 2.05rem;
        height: 2.05rem;
        border-radius: 8px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }

    .cart-page .cart-qty-value {
        min-width: 1.1rem;
        font-size: 0.88rem;
        font-weight: 600;
    }

    .cart-page .cart-summary-totals {
        width: 100%;
        align-items: flex-start;
        margin-left: 0;
        gap: 0.05rem;
    }

    .cart-page .cart-total-row,
    .cart-checkout-dock--portal .cart-total-row {
        justify-content: space-between;
        width: 100%;
        font-size: 0.94rem;
        gap: 0.35rem;
    }

    .cart-page .cart-total-label,
    .cart-checkout-dock--portal .cart-total-label {
        font-size: 0.8rem;
        color: #475569;
        font-weight: 500;
    }

    .cart-page .cart-total-value,
    .cart-checkout-dock--portal .cart-total-value {
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
        letter-spacing: -0.02em;
    }

    .cart-page .cart-total-retail,
    .cart-checkout-dock--portal .cart-total-retail {
        color: #64748b;
        font-weight: 600;
    }

    .cart-page .cart-saved-row,
    .cart-checkout-dock--portal .cart-saved-row {
        justify-content: space-between;
        width: 100%;
        font-size: 0.74rem;
        color: #166534;
    }

    .cart-page .cart-saved-value,
    .cart-checkout-dock--portal .cart-saved-value {
        color: #15803d;
    }

    .cart-page .cart-dock-benefit,
    .cart-checkout-dock--portal .cart-dock-benefit {
        color: #166534;
    }

    .cart-page .cart-checkout-dock,
    .cart-checkout-dock--portal {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
        z-index: 155;
        margin: 0;
        padding:
            0.5rem
            max(0.85rem, env(safe-area-inset-left, 0px))
            0.55rem
            max(0.85rem, env(safe-area-inset-right, 0px));
        border-top: 1px solid rgba(148, 163, 184, 0.35);
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.14);
        gap: 0.2rem;
    }

    .cart-page .cart-checkout-dock__row,
    .cart-checkout-dock--portal .cart-checkout-dock__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.5rem;
    }

    .cart-page .cart-checkout-dock__pricing,
    .cart-checkout-dock--portal .cart-checkout-dock__pricing {
        min-width: 0;
        align-items: flex-start;
        margin-left: 0;
        gap: 0.1rem;
    }

    .cart-page .cart-dock-hint,
    .cart-checkout-dock--portal .cart-dock-hint {
        margin: 0;
        font-size: 0.68rem;
        line-height: 1.3;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cart-page .cart-checkout-dock__btn,
    .cart-checkout-dock--portal .cart-checkout-dock__btn {
        min-width: 6.75rem;
        min-height: 2.45rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.82rem;
        font-weight: 600;
        border-radius: 10px;
        white-space: nowrap;
        box-shadow: 0 6px 16px rgba(59, 76, 192, 0.2);
    }
}

/* Checkout — компактный hero и высокий список товаров на мобильных */
@media (max-width: 640px) {
    .shop-hero:has(+ .shop-section.checkout-section) {
        padding: 0.45rem 0 0.15rem;
    }

    .shop-hero:has(+ .shop-section.checkout-section) h1 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .checkout-section {
        padding-top: 0.5rem;
    }

    .checkout-back {
        margin-bottom: 0.65rem;
        font-size: 0.85rem;
    }

    .checkout-layout.glass-card {
        padding: 1rem;
        gap: 1.25rem;
    }

    .checkout-order h2,
    .checkout-form h2 {
        margin-bottom: 0.65rem;
        font-size: 1.1rem;
    }

    .checkout-order {
        max-height: none;
    }

    .checkout-items-scroll {
        height: auto;
        max-height: min(65vh, 30rem);
        min-height: 0;
        flex: 0 0 auto;
    }
}
