/* Iceberg interface layer, revision 4. */
:root {
    --ice-brand: #068f9f;
    --ice-brand-dark: #046f7d;
    --ice-brand-bright: #00b9cf;
    --ice-ink: #26353b;
    --ice-muted: #66767d;
    --ice-surface: #ffffff;
    --ice-page: #f4f7f8;
    --ice-line: #dce7ea;
    --ice-radius: 18px;
    --ice-shadow: 0 14px 38px rgba(25, 55, 63, .09);
}

html {
    scroll-behavior: smooth;
}

body.ice-site {
    color: var(--ice-ink);
    background: var(--ice-page);
    font-family: "Manrope", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.ice-site h1,
body.ice-site h2,
body.ice-site h3,
body.ice-site h4,
body.ice-site h5,
body.ice-site h6 {
    color: var(--ice-ink);
    letter-spacing: -.025em;
}

body.ice-home .ice-hero h1,
body.ice-home .ice-hero h2,
body.ice-home .ice-hero h3,
body.ice-home .ice-section--dark h1,
body.ice-home .ice-section--dark h2,
body.ice-home .ice-section--dark h3,
body.ice-home .ice-cta h1,
body.ice-home .ice-cta h2,
body.ice-home .ice-cta h3,
body.ice-site .site-footer h1,
body.ice-site .site-footer h2,
body.ice-site .site-footer h3,
body.ice-site .site-footer h4,
body.ice-site .site-footer__title,
body.ice-site .site-footer__cta-title {
    color: #fff;
}

body.ice-site a {
    text-underline-offset: 3px;
}

body.ice-site main {
    min-height: 320px;
}

body.ice-site .container {
    --bs-gutter-x: 3rem;
}

/* Header */
body.ice-site .head {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--ice-line);
    box-shadow: 0 8px 30px rgba(23, 55, 63, .06);
}

body.ice-site .head-bar {
    border-bottom: 1px solid rgba(220, 231, 234, .85);
}

body.ice-site .header-top-clean {
    min-height: 68px;
}

body.ice-site .logo {
    width: auto;
    max-width: 210px;
    max-height: 50px;
}

body.ice-site .header-top-mail button,
body.ice-site .header-top-cta button {
    min-width: 0;
    width: auto;
    min-height: 38px;
    padding: 0 18px;
    line-height: 36px;
    border: 1px solid rgba(6, 143, 159, .2);
    border-radius: 999px;
    box-shadow: none;
    font-family: inherit;
    font-size: 13px;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.ice-site .header-top-mail button {
    color: var(--ice-brand-dark);
    background: #edf8f9;
}

body.ice-site .header-top-cta button {
    color: #fff;
    background: var(--ice-brand);
}

body.ice-site .header-top-mail button:hover,
body.ice-site .header-top-cta button:hover {
    transform: translateY(-1px);
    border-color: var(--ice-brand);
}

body.ice-site .head-bar__link {
    color: var(--ice-ink);
    font-weight: 700;
}

body.ice-site .head-bar__link:hover {
    color: var(--ice-brand);
}

body.ice-site .header-nav-clean {
    padding-top: 7px;
    padding-bottom: 7px;
}

body.ice-site .head-main:has(.header-nav-clean) {
    padding-top: 0;
    padding-bottom: 0;
}

body.ice-site .head-bar__menu {
    gap: 4px;
}

body.ice-site .head-bar__menu > li > .head-bar__link {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    transition: color .2s ease, background-color .2s ease;
}

body.ice-site .head-bar__menu > li > .head-bar__link:hover {
    color: var(--ice-brand-dark);
    background: #edf8f9;
}

body.ice-site .head-search .form-control {
    height: 44px;
    padding-left: 18px;
    padding-right: 52px;
    border: 1px solid var(--ice-line);
    border-radius: 14px;
    background: #f7fafb;
    box-shadow: none;
}

body.ice-site .head-search .form-control:focus {
    border-color: rgba(6, 143, 159, .58);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(6, 143, 159, .09);
}

body.ice-site .head-search__btn {
    color: var(--ice-brand);
}

body.ice-site .head-catalog {
    background: #f7fafb;
    border-top: 1px solid var(--ice-line);
}

body.ice-site .head-catalog__list {
    min-height: 50px;
}

body.ice-site .head-catalog__link {
    color: #35464d;
    font-size: 14px;
    font-weight: 750;
}

body.ice-site .head-catalog__link:hover {
    color: var(--ice-brand-dark);
    background: #e8f5f6;
}

body.ice-site .head-catalog__dropdown {
    border: 1px solid var(--ice-line);
    box-shadow: var(--ice-shadow);
}

@media (min-width: 992px) {
    body.ice-site .header-top-clean {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) auto auto auto;
        gap: 14px;
        align-items: center !important;
    }

    body.ice-site .header-top-clean > [class*="col-"] {
        width: auto;
        max-width: none;
        padding: 0;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    body.ice-site .header-top-phone {
        order: 1 !important;
    }

    body.ice-site .header-top-mail {
        order: 2 !important;
    }

    body.ice-site .header-top-auth {
        order: 3 !important;
    }

    body.ice-site .header-top-cta {
        order: 4 !important;
    }

    body.ice-site .head__inner--clean > .head-main:has(.header-main-clean) {
        display: none;
    }

    body.ice-site .header-nav-clean {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
        gap: 28px;
        align-items: center !important;
    }

    body.ice-site .header-nav-clean > [class*="col-"] {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    body.ice-site .head-menu-clean {
        justify-content: flex-start !important;
    }
}

/* Homepage: the custom content now becomes the actual first screen. */
body.ice-home > .container:has(.ice-main) {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.ice-home > .container:has(.ice-main) > .row {
    --bs-gutter-x: 0;
    margin: 0;
}

body.ice-home > .container:has(.ice-main) > .row > [class*="col-"] {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.ice-home .ice-legacy-spacer {
    display: none !important;
}

body.ice-home .ice-main {
    width: 100% !important;
    max-width: none;
    color: var(--ice-ink);
    font-family: "Manrope", Arial, sans-serif !important;
}

body.ice-home .ice-wrap {
    max-width: 1320px;
}

body.ice-home .ice-hero {
    min-height: 590px;
    display: flex;
    align-items: center;
}

body.ice-home .ice-hero__title {
    font-size: clamp(40px, 4.2vw, 64px);
    line-height: 1;
    text-wrap: balance;
}

body.ice-home .ice-hero__text,
body.ice-home .ice-subtitle {
    text-wrap: pretty;
}

body.ice-home .ice-card,
body.ice-home .ice-check,
body.ice-home .ice-brand {
    box-shadow: 0 12px 34px rgba(25, 55, 63, .08);
}

body.ice-home main {
    padding-top: 70px;
    padding-bottom: 70px;
    background: #fff;
}

body.ice-home main h2,
body.ice-home main .h2 {
    font-size: clamp(28px, 3vw, 40px);
}

/* Catalog */
body.ice-site .breadcrumb {
    margin-top: 22px;
    color: var(--ice-muted);
    font-size: 13px;
}

body.ice-site main h1 {
    font-weight: 800;
}

body.ice-site .catalog-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

body.ice-site .catalog-subcategory {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 15px;
    color: #405159;
    background: #fff;
    border: 1px solid var(--ice-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

body.ice-site .catalog-subcategory:hover {
    color: var(--ice-brand-dark);
    background: #edf8f9;
    border-color: rgba(6, 143, 159, .38);
    transform: translateY(-1px);
}

body.ice-site .item-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ice-line);
    border-radius: var(--ice-radius);
    box-shadow: 0 8px 26px rgba(24, 52, 59, .06);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

body.ice-site .item-card:hover {
    border-color: rgba(6, 143, 159, .34);
    box-shadow: var(--ice-shadow);
    transform: translateY(-4px);
}

body.ice-site .item-card__inner {
    padding: 18px;
}

body.ice-site .item-product-img {
    overflow: hidden;
    background: #f8fafb;
    border-radius: 13px;
}

body.ice-site .item-product-img img {
    transition: transform .3s ease;
}

body.ice-site .item-card:hover .item-product-img img {
    transform: scale(1.025);
}

body.ice-site .item-card__title {
    color: var(--ice-ink);
    font-weight: 750;
    line-height: 1.42;
}

body.ice-site .item-card__title:hover {
    color: var(--ice-brand-dark);
}

body.ice-site .item-card .item-product-reviews {
    display: none;
}

body.ice-site .item-card__actions .btn-primary {
    min-height: 44px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 750;
}

body.ice-site .btn-primary {
    background: var(--ice-brand);
    border-color: var(--ice-brand);
    box-shadow: none;
}

body.ice-site .btn-primary:hover,
body.ice-site .btn-primary:focus {
    background: var(--ice-brand-dark);
    border-color: var(--ice-brand-dark);
}

/* Footer */
body.ice-site .footer {
    margin-top: 0;
}

body.ice-site .site-footer {
    margin-top: 0;
    background: #26343a;
}

body.ice-site .site-footer__cta {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .055);
}

body.ice-site .site-footer__btn {
    background: var(--ice-brand);
}

body.ice-site .ice-default-footer-hidden {
    display: none !important;
}

body.ice-site .site-footer__about,
body.ice-site .site-footer__cta-text {
    color: #d4e0e5;
}

body.ice-site .site-footer__menu a,
body.ice-site .site-footer__contacts a,
body.ice-site .site-footer__bottom a,
body.ice-site .site-footer__cta-link {
    color: #eef5f7;
}

@media (max-width: 991.98px) {
    body.ice-site .container {
        --bs-gutter-x: 2rem;
    }

    body.ice-site .head {
        height: 65px;
    }

    body.ice-site .head__inner--clean {
        height: 64px;
    }

    body.ice-site .head-bar {
        display: block !important;
        color: var(--ice-ink);
        background: #fff;
    }

    body.ice-site .head-bar > .container {
        width: auto;
        max-width: none;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body.ice-site .header-top-clean {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
        min-height: 64px;
        align-items: center !important;
    }

    body.ice-site .header-top-clean > [class*="col-"] {
        width: auto;
        max-width: none;
        padding: 0;
    }

    body.ice-site .header-top-phone {
        display: flex !important;
        order: 1 !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    body.ice-site .header-top-cta {
        display: flex !important;
        order: 2 !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    body.ice-site .header-top-cta .hidden-xs {
        display: block !important;
    }

    body.ice-site .header-top-cta button {
        width: auto !important;
        max-width: 154px;
        min-height: 36px;
        padding: 0 12px !important;
        font-size: 12px;
        line-height: 34px;
    }

    body.ice-site .head__inner--clean > .head-main:has(.header-main-clean),
    body.ice-site .head-main:has(.header-nav-clean) {
        display: none !important;
    }

    body.ice-site .header-top-mail,
    body.ice-site .header-top-auth {
        display: none !important;
    }

    body.ice-site .logo {
        max-width: 165px;
        max-height: 48px;
    }

    body.ice-home .ice-hero {
        min-height: 0;
    }

    body.ice-site .site-footer {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    body.ice-site .container {
        --bs-gutter-x: 1.5rem;
    }

    body.ice-home .ice-wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.ice-site .logo {
        max-width: 145px;
    }

    body.ice-home .ice-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    body.ice-home .ice-hero__title {
        font-size: clamp(34px, 9vw, 38px);
        line-height: 1.08;
    }

    body.ice-home .ice-title {
        font-size: 28px;
        line-height: 1.15;
    }

    body.ice-home .ice-cta h2 {
        font-size: 27px;
        line-height: 1.15;
    }

    body.ice-home .ice-hero__panel {
        display: none;
    }

    body.ice-home main {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    body.ice-site .catalog-subcategories {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -12px;
        padding-right: 12px;
        scrollbar-width: thin;
    }

    body.ice-site .catalog-subcategory {
        flex: 0 0 auto;
        max-width: 245px;
    }

    body.ice-site .site-footer__bottom {
        padding-bottom: 88px;
    }

    body.ice-site .re-container-mob {
        width: 100%;
        overflow-x: hidden;
    }

    body.ice-site .re-container-mob__inner {
        width: 100%;
        max-width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}
