﻿@font-face {
    font-family: "Roboto";
    src: url("/store/webfonts/Roboto/Roboto-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("/store/webfonts/Roboto/Roboto-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/store/webfonts/Montserrat/Montserrat-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/store/webfonts/Montserrat/Montserrat-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --tp-max: 1560px;
    --tp-gutter: 80px;
    --tp-text: #111827;
    --tp-muted: #6b7280;
    --tp-line: rgba(17,24,39,.10);
    --tp-soft: #f3f4f6;
    --tp-shadow: 0 10px 30px rgba(17,24,39,.10);
    --tp-radius: 18px;
    --tp-font-body: "Roboto";
    --tp-font-display: "Montserrat";
    --tp-font-fallback: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

    body.tp-body {
        margin: 0;
        font-family: var(--tp-font-body), var(--tp-font-fallback);
        color: var(--tp-text);
        background: #fff;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tp-font-display), var(--tp-font-body), var(--tp-font-fallback);
    letter-spacing: -0.02em;
}

.tp-header {
    background: #fff;
    position: relative;
    z-index: 50;
    overflow: visible;
}

.tp-header__inner {
    max-width: var(--tp-max);
    margin: 0 auto;
    padding: 14px var(--tp-gutter) 12px var(--tp-gutter);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    min-width: 0;
    overflow: visible;
}

.tp-header__divider {
    height: 1px;
    background: var(--tp-line);
}

.tp-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp-iconbtn,
.tp-langbtn {
    border: 0;
    background: #eef2f7;
    border-radius: 999px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(17,24,39,.08);
    transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
    color: #111;
    text-decoration: none;
    position: relative;
}

    .tp-iconbtn:hover,
    .tp-langbtn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(17,24,39,.12);
        background: #e9eef6;
    }

.tp-langbtn {
    padding: 0 12px;
    gap: 8px;
}

.tp-flag {
    font-size: 16px;
    line-height: 1;
}

.tp-lang {
    font-weight: 700;
    font-size: 12px;
}

.tp-ic {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.tp-ic--sm {
    width: 16px;
    height: 16px;
}

.tp-cart .tp-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(239,68,68,.35);
    border: 2px solid #fff;
}

.tp-main {
    max-width: var(--tp-max);
    margin: 0 auto;
    padding: 0 var(--tp-gutter) 28px var(--tp-gutter);
}

.tp-home {
    padding-top: 12px;
}

.tp-slider {
    margin-top: 12px;
}

.tp-slider__viewport {
    position: relative;
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    background: #f5f5f4;
    min-height: 360px;
}

.tp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity .22s ease, transform .35s ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .tp-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

.tp-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(0,0,0,.55);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

    .tp-slider__nav span {
        font-size: 28px;
        line-height: 1;
        transform: translateY(-1px);
    }

.tp-slider__nav--prev {
    left: 14px;
}

.tp-slider__nav--next {
    right: 14px;
}

.tp-slider__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
}

.tp-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 0;
    background: rgba(17,24,39,.25);
    cursor: pointer;
}

    .tp-dot.is-active {
        width: 22px;
        background: rgba(17,24,39,.55);
    }

@media (max-width: 640px) {
    :root {
        --tp-gutter: 16px;
    }

    .tp-slider__viewport {
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 60vh;
        min-height: 180px;
    }

    .tp-searchdrop-mini {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(360px, calc(100vw - 32px)) !important;
        max-width: calc(100vw - 32px) !important;
    }
}

.tp-promos {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tp-promo {
    display: block;
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    background: #f5f5f4;
    position: relative;
    text-decoration: none;
}

    .tp-promo::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--tp-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: blur(16px);
        transform: scale(1.10);
        opacity: .92;
        pointer-events: none;
    }

    .tp-promo.is-video::before {
        display: none;
    }

.tp-promo__img,
.tp-promo__video {
    width: 100%;
    height: 220px;
    display: block;
    position: relative;
    z-index: 1;
    background: #000;
    transform: none;
    transition: filter .25s ease;
}

.tp-promo__img {
    object-fit: fill;
}

.tp-promo__video {
    object-fit: cover;
}

.tp-promo:hover .tp-promo__img,
.tp-promo:hover .tp-promo__video {
    transform: none;
    filter: saturate(1.03);
}

@media (max-width: 900px) {
    .tp-promo__img,
    .tp-promo__video {
        height: 195px;
    }
}

@media (max-width: 640px) {
    .tp-promos {
        grid-template-columns: 1fr;
    }

    .tp-promo__img,
    .tp-promo__video {
        height: 205px;
    }
}

.tp-searchmini {
    position: relative;
    display: inline-flex;
}

.tp-searchdrop-mini {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: #fff;
    border: 1px solid rgba(17,24,39,.12);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(17,24,39,.14);
    padding: 10px;
    z-index: 2000;
    display: none;
}

    .tp-searchdrop-mini.is-open {
        display: block;
    }

.tp-searchform-mini {
    display: block;
    margin: 0;
}

.tp-searchinput-mini {
    width: 100%;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(17,24,39,.12);
    padding: 0 14px;
    outline: none;
    font-size: 14px;
}

    .tp-searchinput-mini:focus {
        border-color: rgba(17,24,39,.22);
    }

.tp-gap {
    height: 18px;
}

.tp-langwrap {
    position: relative;
    display: inline-flex;
}

.tp-langmenu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 200px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(226,232,240,.95);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 60px rgba(15,23,42,.14);
    z-index: 9999;
    display: none;
}

    .tp-langmenu.is-open {
        display: block;
    }

.tp-langform {
    margin: 0;
}

.tp-langitem {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    transition: background .15s ease, transform .15s ease;
}

    .tp-langitem:hover {
        background: rgba(241,245,249,.9);
        transform: translateY(-1px);
    }

    .tp-langitem.is-current {
        background: rgba(15,23,42,.06);
        cursor: default;
        transform: none;
    }

    .tp-langitem:disabled {
        opacity: .9;
    }

.tp-langitem__l {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tp-langitem__flag {
    font-size: 16px;
    line-height: 1;
}

.tp-langitem__txt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-langitem__s {
    font-size: 12px;
    opacity: .7;
    font-weight: 800;
}

.tp-slide {
    display: block;
    overflow: hidden;
    background: #f5f5f4;
}

    .tp-slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--tp-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: blur(18px);
        transform: scale(1.10);
        opacity: .92;
        pointer-events: none;
    }

.tp-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}

.tp-mnav {
    display: none;
}

:root {
    --tp-mnav-h: 74px;
}

@media (max-width: 640px) {
    .tp-rail {
        display: none !important;
    }

    .tp-main {
        padding-bottom: calc(28px + var(--tp-mnav-h) + env(safe-area-inset-bottom));
    }

    #cmpBar {
        bottom: calc(var(--tp-mnav-h) + env(safe-area-inset-bottom)) !important;
    }

    .tp-mnav {
        display: grid;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9997;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(17,24,39,.10);
        box-shadow: 0 -10px 30px rgba(17,24,39,.10);
        padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        height: calc(var(--tp-mnav-h) + env(safe-area-inset-bottom));
    }

    .tp-mnav__item {
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        background: transparent;
        text-decoration: none;
        color: #111827;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-family: var(--tp-font-display), var(--tp-font-body), var(--tp-font-fallback);
        cursor: pointer;
        padding: 2px 4px;
    }

    .tp-mnav__ic {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: #eef2f7;
        display: grid;
        place-items: center;
        box-shadow: 0 6px 16px rgba(17,24,39,.08);
        transition: transform .08s ease, background .12s ease, box-shadow .12s ease;
    }

        .tp-mnav__ic svg {
            width: 22px;
            height: 22px;
            fill: currentColor;
            color: #111827;
        }

    .tp-mnav__tx {
        font-size: 12px;
        font-weight: 650;
        letter-spacing: .02em;
        opacity: .76;
        line-height: 1.05;
        font-family: var(--tp-font-display), var(--tp-font-body), var(--tp-font-fallback);
    }

    .tp-mnav__item.is-active .tp-mnav__ic {
        background: #111827;
        box-shadow: 0 10px 20px rgba(17,24,39,.20);
    }

        .tp-mnav__item.is-active .tp-mnav__ic svg {
            color: #fff;
            fill: currentColor;
        }

    .tp-mnav__item.is-active .tp-mnav__tx {
        opacity: 1;
    }
}
