:root {
    --sc-primary: #178fca;
    --sc-primary-dark: #0e6f9f;
    --sc-text: #1e2a3a;
    --sc-muted: #66788a;
    --sc-border: rgba(23, 143, 202, .16);
    --sc-soft: #f2f8fc;
    --sc-hero-from: #e8f5fc;
    --sc-hero-to: #f8fcff;
    --sc-footer: #102b3b;
    --sc-footer-deep: #0b202d;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--sc-text);
    background: #fff;
    font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
    color: var(--sc-primary-dark);
}

.pt-header {
    padding-top: 0;
}

.btn-primary {
    background-color: var(--sc-primary);
    border-color: var(--sc-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--sc-primary-dark);
    border-color: var(--sc-primary-dark);
}

.sc-btn { border-radius: 9px; }

.btn-max {
    color: #fff;
    border-color: #6c46ff;
    background: linear-gradient(135deg, #6c46ff, #3b82f6);
}

.btn-max:hover,
.btn-max:focus { color: #fff; border-color: #5334d4; filter: brightness(1.04); }

.sc-eyebrow {
    color: var(--sc-primary-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Header */
.sc-header {
    min-height: 66px;
    border-bottom: 1px solid rgba(16, 43, 59, .06);
}

.sc-header-logo,
.sc-footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.sc-header-logo img {
    display: block;
    width: 176px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

.sc-header .nav-link {
    color: #415166;
    font-size: .94rem;
    font-weight: 600;
}

.sc-header .nav-link:hover,
.sc-header .nav-link:focus {
    color: var(--sc-primary-dark);
}

/* Hero and shared sections */
.sc-hero {
    background:
        radial-gradient(800px 400px at 10% -20%, var(--sc-hero-from), transparent),
        radial-gradient(600px 300px at 90% -30%, var(--sc-hero-from), transparent),
        linear-gradient(180deg, var(--sc-hero-to), #fff);
}

.sc-breadcrumb {
    margin-bottom: .75rem;
    padding: .55rem 0;
    background: #f5f9fc;
    border-bottom: 1px solid var(--sc-border);
}

.sc-breadcrumb .breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

.sc-breadcrumb a {
    color: #436285;
    text-decoration: none;
}

.sc-breadcrumb .active {
    color: #6b7c91;
}

/* Product cards */
.sc-card {
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--sc-border);
    border-radius: 16px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sc-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 143, 202, .3);
    box-shadow: 0 12px 28px rgba(16, 43, 59, .1);
}

.sc-card-thumb {
    padding: 10px;
    background: #fff;
}

.sc-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sc-two-lines {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sc-card-title-link { color: var(--sc-text); text-decoration: none; }
.sc-card-title-link:hover { color: var(--sc-primary-dark); }

.btn-wb {
    color: #fff;
    border: 0;
    background: linear-gradient(90deg, #5c0ce0, #ff2e93);
}

.btn-wb:hover,
.btn-wb:focus {
    color: #fff;
    filter: brightness(1.05);
}

.btn-ozon { color: #fff; border-color: #075cff; background: #075cff; }
.btn-ozon:hover, .btn-ozon:focus { color: #fff; border-color: #004bdb; background: #004bdb; }

.sc-wb-ico {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .28);
}

/* Brand carousel */
.sc-brands .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    padding: 10px;
    border: 1px solid var(--sc-border);
    border-radius: 12px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sc-brands .swiper-slide:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 43, 59, .1);
}

.sc-brand-logo {
    width: auto;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}

.sc-brand-name { color: #405268; font-size: .8rem; font-weight: 800; line-height: 1.2; text-align: center; }

/* Advantages: explicit dimensions prevent SVGs from expanding to the column width. */
.sc-adv-card {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 16px;
    border: 1px solid var(--sc-border);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sc-adv-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 143, 202, .3);
    box-shadow: 0 8px 20px rgba(16, 43, 59, .1);
}

.sc-adv-ico {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--sc-soft);
}

.sc-adv-ico svg {
    display: block;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
    fill: var(--sc-primary);
}

.sc-adv-title {
    color: #263648;
    font-weight: 700;
    line-height: 1.35;
}

/* Reviews and community */
.sc-wb-reviews {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(125deg, #5813d6 0%, #a212d0 48%, #ef2b89 100%);
    box-shadow: 0 18px 40px rgba(112, 18, 190, .2);
}

.sc-wb-reviews__mark {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    font-family: Nunito, sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
}

.sc-wb-reviews__label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sc-wb-reviews__rating { display: grid; grid-template-columns: repeat(5, auto); gap: .12rem; color: #ffd642; font-size: 1.2rem; }
.sc-wb-reviews__rating small { grid-column: 1 / -1; color: rgba(255, 255, 255, .78); font-size: .72rem; }

.sc-community {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, #0c2a46, #11406b);
}

/* Catalog table */
.sc-table th {
    white-space: nowrap;
}

.sc-table img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

/* Lead form */
.sc-lead-panel {
    display: grid;
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
    gap: 2rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid #e4e9f0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f4f9fc, #fff 55%);
    box-shadow: 0 18px 48px rgba(16, 43, 59, .07);
}

.sc-lead-panel__intro h2 { font-family: Nunito, sans-serif; font-weight: 800; }
.sc-leadform .form-label { color: #4e5a6d; font-size: .84rem; font-weight: 700; }
.sc-leadform .form-control { min-height: 46px; border-color: #ccd7e2; border-radius: 8px; background: #fff; }
.sc-leadform textarea.form-control { min-height: 108px; resize: vertical; }
.sc-leadform .form-control:focus { border-color: var(--sc-primary); box-shadow: 0 0 0 .2rem rgba(23, 143, 202, .12); }

.sc-contact-card { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid #e4e9f0; border-radius: 14px; background: #f8fafc; }
.sc-contact-card p { display: grid; gap: .2rem; margin: 0; }
.sc-contact-card span { color: var(--sc-muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.sc-contact-card a { font-size: 1.05rem; font-weight: 700; text-decoration: none; }

/* Floating contact */
.max-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1030;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c46ff, #3b82f6);
    box-shadow: 0 12px 26px rgba(86, 76, 232, .3);
    font-family: Nunito, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease;
}

.max-float:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Footer */
.sc-footer {
    color: rgba(255, 255, 255, .78);
    background: var(--sc-footer);
}

.sc-footer-logo img {
    display: block;
    width: 205px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .96;
}

.sc-footer-summary {
    max-width: 390px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.65;
}

.sc-footer-address {
    max-width: 390px;
    color: #fff;
    font-size: .94rem;
    line-height: 1.55;
}

.sc-footer-title {
    margin-bottom: 1rem;
    color: #fff;
    font-family: Nunito, Manrope, sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.sc-footer-links,
.sc-footer-contacts,
.sc-footer-legal {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sc-footer-links {
    display: grid;
    gap: .7rem;
}

.sc-footer a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: color .18s ease;
}

.sc-footer a:hover,
.sc-footer a:focus {
    color: #fff;
}

.sc-footer-contacts {
    display: grid;
    gap: .75rem;
}

.sc-footer-contacts li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sc-footer-contacts span {
    color: rgba(255, 255, 255, .56);
    font-size: .84rem;
}

.sc-footer-contacts a {
    color: #fff;
    font-weight: 700;
    text-align: right;
}

.sc-footer-bottom {
    color: rgba(255, 255, 255, .58);
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: var(--sc-footer-deep);
    font-size: .82rem;
}

.sc-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.25rem;
}

@media (max-width: 991.98px) {
    .sc-header-logo img {
        width: 158px;
    }

    .sc-footer-contacts li {
        max-width: 420px;
    }
}

@media (max-width: 767.98px) {
    .sc-header {
        min-height: 58px;
    }

    .sc-header-logo img {
        width: 148px;
        max-height: 36px;
    }

    .sc-hero {
        padding-top: 1.5rem !important;
    }

    .sc-wb-reviews { grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; }
    .sc-wb-reviews__rating { grid-column: 1 / -1; }
    .sc-lead-panel { grid-template-columns: 1fr; gap: 1.25rem; }

    .sc-footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sc-footer-legal {
        display: grid;
        gap: .6rem;
    }
}
