* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #050505;
}

body {
    min-height: 100vh;

    background: #050505;
    color: #f2f2f2;

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   NAV
========================================= */

.top-nav {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    padding: 0 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(18, 18, 18, 0.97);

    border-bottom: 1px solid #242424;

    z-index: 1000;
}


.nav-left {
    display: flex;
    align-items: center;
}


.back-link {
    color: #fff;

    text-decoration: none;

    font-size: 12px;
    letter-spacing: 0.12em;

    transition: opacity 0.2s ease;
}


.back-link:hover {
    opacity: 0.55;
}


.nav-logo-link {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}


.nav-logo {
    width: 82px;
    display: block;

    transition: transform 0.25s ease;
}


.nav-logo-link:hover .nav-logo {
    transform: scale(1.08);
}


.nav-icons {
    margin-left: auto;

    display: flex;
    gap: 10px;
}


.nav-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    border: 1px solid #333;

    color: #fff;

    cursor: pointer;
}


/* =========================================
   LANGUAGE
========================================= */

.language-switcher {
    position: relative;
}


.language-options {
    position: absolute;

    right: 0;
    top: 48px;

    display: flex;

    background: #101010;

    border: 1px solid #333;

    opacity: 0;
    transform: translateY(-6px);

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.language-switcher.open .language-options {
    opacity: 1;
    transform: translateY(0);

    pointer-events: auto;
}


.language-options button {
    width: 50px;
    height: 40px;

    background: transparent;

    border: 0;

    color: #888;

    cursor: pointer;
}


.language-options button:hover {
    color: #fff;
}



/* =========================================
   PAGE
========================================= */

.product-page {
    min-height: 100vh;

    padding:
        145px
        7vw
        80px;

    display: grid;

    grid-template-columns:
        minmax(420px, 1.05fr)
        minmax(400px, 0.95fr);

    gap: 8vw;

    max-width: 1500px;

    margin: 0 auto;
}



/* =========================================
   GALLERY
========================================= */

.product-gallery-column {
    display: flex;
    justify-content: center;
}


.product-gallery {
    width: min(100%, 620px);
}


.product-image-wrap {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    background: #090909;

    overflow: hidden;
}


.product-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: 0;

    transform:
        translateX(30px)
        scale(0.985);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}


.product-image.active {
    opacity: 1;

    transform:
        translateX(0)
        scale(1);
}


.gallery-controls {
    margin-top: 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.gallery-arrow {
    background: transparent;
    border: 0;

    color: #aaa;

    font-size: 28px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.gallery-arrow:hover {
    color: #fff;
}


.gallery-prev:hover {
    transform: translateX(-4px);
}


.gallery-next:hover {
    transform: translateX(4px);
}


.gallery-counter {
    color: #666;

    font-size: 11px;

    letter-spacing: 0.16em;
}



/* =========================================
   PRODUCT INFO
========================================= */

.product-info {
    padding-top: 18px;

    max-width: 560px;
}


.product-meta {
    margin-bottom: 22px;

    color: #666;

    font-size: 10px;

    letter-spacing: 0.18em;
}


.product-info h1 {
    max-width: 520px;

    color: #f4f4f1;

    font-size: clamp(38px, 4vw, 62px);

    line-height: 0.98;

    letter-spacing: -0.04em;

    font-weight: 600;
}


.product-description {
    margin-top: 30px;

    max-width: 470px;

    color: #8e8e8e;

    font-size: 16px;

    line-height: 1.65;
}


.product-price {
    margin-top: 34px;

    font-size: 23px;

    letter-spacing: 0.04em;
}



/* =========================================
   BLOCKS
========================================= */

.product-block {
    margin-top: 38px;

    padding-top: 24px;

    border-top: 1px solid #292929;
}


.block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.block-title,
.block-head > span {
    color: #777;

    font-size: 10px;

    letter-spacing: 0.16em;
}


.size-guide {
    background: transparent;

    border: 0;

    color: #666;

    font-size: 10px;

    letter-spacing: 0.08em;

    cursor: pointer;
}



/* =========================================
   SIZES
========================================= */

.size-options {
    margin-top: 18px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}


.size-btn {
    height: 52px;

    background: transparent;

    border: 1px solid #353535;

    color: #aaa;

    font-size: 13px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.size-btn:hover {
    border-color: #777;

    color: #fff;
}


.size-btn.active {
    background: #f1f1ed;

    color: #080808;

    border-color: #f1f1ed;
}



/* =========================================
   INPUTS
========================================= */

.input-group {
    position: relative;

    margin-top: 22px;
}


.input-group label {
    display: block;

    margin-bottom: 8px;

    color: #666;

    font-size: 9px;

    letter-spacing: 0.13em;
}


.input-group input {
    width: 100%;
    height: 52px;

    padding: 0 15px;

    background: #080808;

    border: 1px solid #303030;

    outline: none;

    color: #eee;

    font-size: 14px;

    transition: border-color 0.2s ease;
}


.input-group input:focus {
    border-color: #777;
}


.warehouse-row {
    display: grid;

    grid-template-columns:
        1fr
        52px;

    gap: 8px;
}


.warehouse-input-wrap {
    position: relative;
}


.map-button {
    width: 52px;
    height: 52px;

    background: transparent;

    border: 1px solid #303030;

    color: #fff;

    font-size: 21px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.map-button:hover {
    background: #fff;
    color: #000;
}



/* =========================================
   AUTOCOMPLETE
========================================= */

.suggestions {
    position: absolute;

    left: 0;
    right: 0;

    top: calc(100% + 5px);

    max-height: 210px;

    overflow-y: auto;

    background: #0c0c0c;

    border: 1px solid #333;

    z-index: 100;

    display: none;
}


.suggestions.visible {
    display: block;
}


.suggestion-item {
    padding: 13px 14px;

    color: #aaa;

    font-size: 13px;

    border-bottom: 1px solid #222;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.suggestion-item:hover {
    background: #151515;

    color: #fff;
}



/* =========================================
   PAYMENTS
========================================= */

.payment-options {
    margin-top: 18px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}


.payment-btn {
    min-height: 62px;

    padding: 0 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    background: #080808;

    border: 1px solid #333;

    color: #eee;

    font-size: 13px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.payment-btn:hover {
    transform: translateY(-2px);

    border-color: #777;
}


.payment-btn.active {
    background: #f2f2ef;

    color: #080808;

    border-color: #f2f2ef;
}


.payment-symbol {
    font-size: 23px;
}


.google-g {
    font-weight: 700;

    font-size: 18px;
}


.binance-symbol {
    font-size: 18px;
}



/* =========================================
   CHECKOUT
========================================= */

.checkout-button {
    width: 100%;
    height: 58px;

    margin-top: 26px;

    background: #f2f2ef;

    border: 1px solid #f2f2ef;

    color: #080808;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.16em;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.checkout-button:hover {
    background: transparent;

    color: #fff;
}


.checkout-message {
    min-height: 20px;

    margin-top: 12px;

    color: #777;

    font-size: 12px;
}



/* =========================================
   SMALL DETAILS
========================================= */

.product-small-details {
    margin-top: 44px;

    border-top: 1px solid #292929;
}


.product-small-details > div {
    padding: 17px 0;

    display: flex;

    justify-content: space-between;

    gap: 30px;

    border-bottom: 1px solid #222;
}


.product-small-details span {
    color: #666;

    font-size: 9px;

    letter-spacing: 0.13em;
}


.product-small-details p {
    color: #999;

    font-size: 12px;

    text-align: right;
}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .product-page {
        grid-template-columns: 1fr;

        gap: 50px;

        padding:
            120px
            24px
            60px;
    }

    .product-info {
        max-width: none;
    }

}


@media (max-width: 600px) {

    .top-nav {
        height: 74px;

        padding: 0 18px;
    }

    .nav-logo {
        width: 66px;
    }

    .product-page {
        padding-top: 100px;
    }

    .product-info h1 {
        font-size: 40px;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

}/* =========================================
   PRODUCT PAGE — COMPACT VERSION
   ВСТАВИТЬ В САМЫЙ КОНЕЦ product.css
========================================= */


/* Вся страница */

.product-page {
    min-height: 100vh;

    padding:
        120px
        7vw
        60px;

    grid-template-columns:
        minmax(340px, 0.9fr)
        minmax(380px, 0.85fr);

    gap: 6vw;

    max-width: 1320px;
}


/* =========================================
   ЛЕВАЯ ФОТОГРАФИЯ
========================================= */

.product-gallery {
    width: min(100%, 500px);
}


.product-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
}


.gallery-controls {
    margin-top: 14px;
}


.gallery-arrow {
    font-size: 22px;
}


.gallery-counter {
    font-size: 10px;
}



/* =========================================
   ПРАВАЯ ЧАСТЬ
========================================= */

.product-info {
    padding-top: 8px;

    max-width: 500px;
}


.product-meta {
    margin-bottom: 16px;

    font-size: 9px;
}


/* Главный заголовок */

.product-info h1 {
    max-width: 470px;

    font-size: clamp(32px, 3.2vw, 48px);

    line-height: 0.98;
}


/* Описание */

.product-description {
    margin-top: 22px;

    max-width: 440px;

    font-size: 14px;

    line-height: 1.55;
}


/* Цена */

.product-price {
    margin-top: 24px;

    font-size: 20px;
}



/* =========================================
   БЛОКИ
========================================= */

.product-block {
    margin-top: 28px;

    padding-top: 18px;
}


.block-title,
.block-head > span {
    font-size: 9px;
}


.size-guide {
    font-size: 9px;
}



/* =========================================
   РАЗМЕРЫ
========================================= */

.size-options {
    margin-top: 14px;

    gap: 7px;
}


.size-btn {
    height: 44px;

    font-size: 12px;
}



/* =========================================
   DELIVERY
========================================= */

.input-group {
    margin-top: 16px;
}


.input-group label {
    margin-bottom: 6px;

    font-size: 8px;
}


.input-group input {
    height: 44px;

    padding: 0 13px;

    font-size: 13px;
}


.warehouse-row {
    grid-template-columns:
        1fr
        44px;

    gap: 7px;
}


.map-button {
    width: 44px;
    height: 44px;

    font-size: 18px;
}



/* =========================================
   PAYMENT
========================================= */

.payment-options {
    margin-top: 14px;

    gap: 7px;
}


.payment-btn {
    min-height: 50px;

    font-size: 12px;
}


.payment-symbol {
    font-size: 20px;
}


.google-g {
    font-size: 16px;
}


.binance-symbol {
    font-size: 16px;
}



/* =========================================
   CHECKOUT
========================================= */

.checkout-button {
    height: 50px;

    margin-top: 20px;

    font-size: 10px;
}



/* =========================================
   DETAILS В САМОМ НИЗУ
========================================= */

.product-small-details {
    margin-top: 32px;
}


.product-small-details > div {
    padding: 13px 0;
}


.product-small-details span {
    font-size: 8px;
}


.product-small-details p {
    font-size: 11px;
}/* =========================================
   PRODUCT PAGE — SMALLER + GALLERY LEFT
========================================= */

.product-page {
    max-width: 1260px;

    padding:
        115px
        5vw
        55px;

    grid-template-columns:
        minmax(320px, 0.85fr)
        minmax(360px, 0.8fr);

    gap: 5vw;
}


/* галерея чуть меньше */

.product-gallery {
    width: min(100%, 455px);

    transform: translateX(-35px);
}


/* правая колонка чуть компактнее */

.product-info {
    max-width: 470px;

    padding-top: 4px;
}


/* заголовок */

.product-info h1 {
    max-width: 440px;

    font-size: clamp(30px, 2.9vw, 43px);

    line-height: 0.98;
}


/* описание */

.product-description {
    margin-top: 18px;

    max-width: 420px;

    font-size: 13px;

    line-height: 1.5;
}


/* цена */

.product-price {
    margin-top: 20px;

    font-size: 18px;
}


/* блоки */

.product-block {
    margin-top: 24px;

    padding-top: 16px;
}


/* размеры */

.size-options {
    margin-top: 12px;
}

.size-btn {
    height: 40px;
}


/* поля */

.input-group {
    margin-top: 13px;
}

.input-group input {
    height: 40px;

    font-size: 12px;
}


/* карта */

.warehouse-row {
    grid-template-columns:
        1fr
        40px;
}

.map-button {
    width: 40px;
    height: 40px;
}


/* payment */

.payment-btn {
    min-height: 46px;
}


/* checkout */

.checkout-button {
    height: 46px;

    margin-top: 18px;
}


/* нижние details */

.product-small-details {
    margin-top: 26px;
}
/* =========================================
   PRODUCT SIDE MOVING PATTERN
========================================= */

.product-side-patterns {
    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: 0;

    overflow: hidden;
}


/* две боковые зоны */

.product-side-pattern {
    position: absolute;

    top: 90px;
    bottom: 0;

    overflow: hidden;
}


/* ширину JS выставит автоматически */

.product-side-pattern-left {
    left: 0;
}

.product-side-pattern-right {
    right: 0;
}


/* одна диагональная линия */

.side-pattern-line {
    position: absolute;

    left: -60%;

    width: 220%;
    height: 90px;

    transform: rotate(-45deg);

    overflow: hidden;

    opacity: 0.11;
}


/* движущийся трек */

.side-pattern-track {
    position: absolute;

    left: 0;
    top: 0;

    display: flex;

    width: max-content;

    will-change: transform;
}


/* один набор логотипов */

.side-pattern-set {
    display: flex;

    flex-shrink: 0;

    align-items: center;

    gap: 70px;

    padding-right: 70px;
}


/* сам логотип */

.side-pattern-set span {
    flex-shrink: 0;

    color: #fff;

    font-size: 34px;
    font-weight: 600;

    letter-spacing: 1px;

    white-space: nowrap;
}


/* основной контент поверх */

.product-page {
    position: relative;

    z-index: 2;
}

.top-nav {
    z-index: 1000;
}/* NOVA POSHTA AUTOCOMPLETE */

.suggestions {
    position: absolute;

    left: 0;
    right: 0;

    top: calc(100% + 6px);

    max-height: 240px;

    overflow-y: auto;

    background: #0b0b0b;

    border: 1px solid #333;

    z-index: 200;

    display: none;

    box-shadow: 0 18px 40px rgba(0,0,0,.45);
}


.suggestions.visible {
    display: block;
}


.suggestion-item {
    padding: 12px 14px;

    color: #999;

    font-size: 12px;
    line-height: 1.4;

    border-bottom: 1px solid #1f1f1f;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease;
}


.suggestion-item:last-child {
    border-bottom: 0;
}


.suggestion-item:hover {
    background: #171717;

    color: #fff;
}


.suggestion-title {
    display: block;

    color: #ddd;

    font-size: 12px;
}


.suggestion-subtitle {
    display: block;

    margin-top: 3px;

    color: #666;

    font-size: 10px;
}


.input-group input:disabled,
.map-button:disabled {
    opacity: .35;

    cursor: not-allowed;
}