/* =========================================================
   TEARZ — GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
}


/* =========================================================
   ANNOUNCEMENT
   ========================================================= */

.announcement {
    height: 39px;
    background: #dfe1e2;
    border-bottom: 1px solid #777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 112px;
    padding: 0 12.5%;

    background: #fff;
    border-bottom: 1px solid #ddd;

    display: grid;
    grid-template-columns: 1fr 110px 1fr;
    align-items: center;

    position: relative;
    z-index: 50;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    font-size: 13px;
    text-transform: uppercase;
}

.logo {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    justify-self: center;
}

.logo img {
    width: 88px;
    height: 88px;

    object-fit: contain;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.icon-btn {
    width: 24px;
    height: 30px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.icon-btn svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: #111;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -8px;

    min-width: 14px;
    height: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #fff;

    border-radius: 50%;

    font-size: 8px;
}

.burger-btn {
    display: none;
}

.burger-btn svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: #111;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    height: 412px;

    position: relative;
    overflow: hidden;

    background: #eee;
}

.hero > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center 49%;
}

.hero-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding-top: 12px;
}

.hero-content h1 {
    margin: 0 0 20px;

    color: #fff;

    font-size: 45px;
    line-height: 1;
    font-weight: 700;

    letter-spacing: -0.055em;
}

.hero-link {
    padding: 15px 22px;

    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 17px;

    background: rgba(0, 0, 0, 0.03);

    font-size: 13px;
    line-height: 1;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 38px 24px 52px;
}

.section-head {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;
}

.section-title {
    margin: 0;

    font-size: 19px;
    line-height: 1;
    font-weight: 700;
}

.more {
    width: 315px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;
    color: #fff;

    border-radius: 13px;

    font-size: 12px;
    text-transform: uppercase;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px 16px;
}

.card {
    min-width: 0;
}

.card-link {
    display: block;
}

.card-media {
    width: 100%;
    aspect-ratio: 4 / 5;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 0;

    padding: 14px;
}

.card-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition:
        opacity 0.35s ease,
        transform 0.45s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.card-image-main {
    opacity: 1;
}

.card-image-hover {
    opacity: 0;
}

.card:hover .card-image-main {
    opacity: 0;
    transform: scale(1.02);
}

.card:hover .card-image-hover {
    opacity: 1;
    transform: scale(1.02);
}

.card-view {
    position: absolute;
    left: 50%;
    bottom: 14px;

    padding: 10px 16px;

    background: #fff;
    color: #111;

    border-radius: 20px;

    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;

    opacity: 0;

    transform: translate(-50%, 8px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.card:hover .card-view {
    opacity: 1;
    transform: translate(-50%, 0);
}

.badge {
    position: absolute;
    z-index: 2;

    top: 12px;
    left: 12px;

    padding: 8px 10px;

    background: #fff;
    color: #111;

    border-radius: 3px;

    font-size: 10px;
    letter-spacing: 0.04em;
}

.badge.preorder {
    background: #111;
    color: #fff;
}

.badge.new {
    display: inline-block;
    padding: 6px 10px;

    background: #000;
    color: #fff;

    border: 1px solid #000;
    border-radius: 2px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-info {
    padding: 13px 2px 0;
}

.card-name {
    font-size: 12px;
    line-height: 1.35;

    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.price {
    margin-top: 6px;
    font-size: 12px;
}

.choose {
    margin-top: 8px;

    color: #666;

    font-size: 10px;
    letter-spacing: 0.08em;
}

.order-product-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-product-link:hover {
    opacity: 0.6;
}

/* =========================================================
   PREORDER
   ========================================================= */

.preorder-wrap {
    padding: 5px 24px 65px;

    display: flex;
    justify-content: center;
}

.preorder-card {
    width: 460px;
    max-width: 100%;

    text-align: center;
}

.preorder-media {
    height: 540px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 0;

    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.preorder-media img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    background: transparent;
}

.preorder-overlay {
    position: absolute;

    left: 50%;
    bottom: 32px;
    z-index: 2;

    padding: 16px 30px;

    transform: translateX(-50%);

    background: #111;
    color: #fff;

    border-radius: 32px;

    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 0.01em;

    white-space: nowrap;
}

.preorder-coming-soon {
    position: absolute;
    z-index: 2;

    top: 16px;
    left: 16px;

    padding: 8px 15px;

    background: #fff;
    color: #111;

    border: 1px solid #111;
    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.preorder-title,
.preorder-price {
    display: none;
}


/* =========================================================
   NOTIFY BLOCK
   ========================================================= */

.notify-block {
    margin: 20px 12.5% 0;
    padding: 26px 32px;
    margin-bottom: 30px;

    display: flex;
    align-items: center;

    gap: 40px;

    border: 1px solid #111;
    border-radius: 10px;

    background: #fafafa;
}

.notify-text,
.notify-right {
    flex: 1 1 320px;
}

.notify-kicker {
    margin-bottom: 9px;

    color: #777;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.notify-title {
    margin: 0 0 10px;

    font-size: 19px;
    font-weight: 800;

    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.notify-subtitle {
    margin: 0;

    color: #555;

    font-size: 12px;
    line-height: 1.65;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notify-input {
    width: 100%;

    padding: 13px;

    border: 1px solid #ccc;
    outline: 0;

    background: #fff;

    font: inherit;
    font-size: 13px;
}

.notify-input:focus {
    border-color: #111;
}

.notify-submit {
    height: 48px;

    background: #111;
    color: #fff;

    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition: background 0.2s;
}

.notify-submit:hover {
    background: #2b2b2b;
}

.notify-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.notify-success {
    display: none;

    margin-top: 0;
    padding: 16px;

    flex-direction: column;
    gap: 4px;

    border: 1px solid #111;
    border-radius: 8px;

    text-align: center;
}

.notify-success strong {
    font-size: 13px;
}

.notify-success span {
    color: #666;
    font-size: 11px;
}


/* =========================================================
   PAGES
   ========================================================= */

.page {
    min-height: 70vh;
    padding: 42px 24px;
}

.page h1 {
    margin: 0 0 35px;

    font-size: 20px;
    font-weight: 700;

    text-transform: uppercase;
}

.catalog-toolbar {
    margin: 0 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catalog-toolbar select {
    padding: 8px 12px;

    border: 1px solid #ddd;

    background: #fff;
}

/* =========================================================
   PRODUCT ACTIONS
   ========================================================= */

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.product-actions .add,
.product-actions .buy-now {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.product-actions .add {
    background: #111;
    color: #fff;
    border: 1px solid #111;
}

.product-actions .add:hover {
    background: #fff;
    color: #111;
}

.product-actions .buy-now {
    background: #fff;
    color: #111;
    border: 1px solid #111;
}

.product-actions .buy-now:hover {
    background: #111;
    color: #fff;
}

/* =========================================================
   PRODUCT PAGE
   ========================================================= */

.product-page {
    padding: 25px 12.5% 60px;
}

.product-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(320px, 0.65fr);
    gap: 50px;
}

.product-gallery {
    width: 100%;
    min-width: 0;
}

.product-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.product-slides {
    position: relative;
    width: 100%;
}

.product-slide {
    display: none;

    width: 100%;
    height: min(700px, calc(100vh - 180px));

    align-items: center;
    justify-content: center;

    background: transparent;
}

.product-slide.active {
    display: flex;
}

.product-slide img {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: calc(100vh - 200px) !important;

    object-fit: contain !important;

    padding: 0;

    user-select: none;
    -webkit-user-drag: none;
}


/* =========================================================
   SLIDER ARROWS
   ========================================================= */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.9);
    color: #111;

    border: 1px solid #111;
    border-radius: 50%;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.slider-arrow:hover {
    background: #111;
    color: #fff;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}


/* =========================================================
   SLIDER COUNTER
   ========================================================= */

.slider-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;

    padding: 7px 10px;

    background: rgba(255, 255, 255, 0.9);
    color: #111;

    border: 1px solid #111;

    font-size: 10px;
    line-height: 1;
}


/* =========================================================
   SLIDER DOTS
   ========================================================= */

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 15px;
    z-index: 5;

    display: flex;
    gap: 6px;

    transform: translateX(-50%);
}

.slider-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    background: #fff;

    border: 1px solid #111;
    border-radius: 50%;

    cursor: pointer;
}

.slider-dot.active {
    background: #111;
}


/* =========================================================
   PRODUCT INFO
   ========================================================= */

.product-info {
    position: sticky;
    top: 90px;
    align-self: start;
}

.product-title {
    margin: 0 0 12px;

    font-size: 15px;
    font-weight: 400;

    text-transform: uppercase;
}

.product-price {
    margin-bottom: 28px;
    font-size: 14px;
}

.sizes {
    display: flex;
    gap: 8px;
    margin: 12px 0 22px;
}

.size {
    min-width: 45px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #111;

    font-size: 12px;
}

.size.active {
    background: #111;
    color: #fff;
}

.add,
.sold {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    text-transform: uppercase;
}

.add {
    background: #111;
    color: #fff;
}

.sold {
    border: 1px solid #111;
}

.description {
    margin-top: 28px;

    font-size: 13px;
    line-height: 1.65;

    white-space: pre-line;
}


/* =========================================================
   PRODUCT SLIDER — MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-info {
        position: static;
    }

    .product-slide {
        height: min(650px, calc(100vh - 150px));
    }

    .product-slide img {
        max-height: calc(100vh - 170px) !important;
    }
}


@media (max-width: 700px) {

    .product-page {
        padding: 15px 14px 45px;
    }

    .product-gallery {
        width: 100%;
    }

    .product-slide {
        width: 100%;
        height: 500px;
        min-height: 0;
    }

    .product-slide img {
        width: auto !important;
        height: auto !important;

        max-width: 100% !important;
        max-height: 480px !important;

        object-fit: contain !important;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;

        font-size: 24px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slider-counter {
        top: 10px;
        right: 10px;
    }

    .slider-dots {
        bottom: 10px;
    }
}


@media (max-width: 450px) {

    .product-slide {
        height: 430px;
    }

    .product-slide img {
        max-height: 410px !important;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;

        font-size: 21px;
    }
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-wrap {
    position: relative;

    display: flex;
    align-items: center;
}

.search-pop {
    position: absolute;

    top: calc(100% + 16px);
    right: -6px;
    z-index: 210;

    width: 340px;
    max-width: calc(100vw - 24px);

    padding: 10px;

    background: #fff;

    border: 1px solid #111;
    border-radius: 16px;

    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0s linear 0.18s;
}

.search-pop.open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0s;
}

.search-pop-head {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 5px 5px 5px 16px;

    border: 1px solid #ddd;
    border-radius: 999px;
}

.search-pop-head:focus-within {
    border-color: #111;
}

.search-input {
    flex: 1;

    min-width: 0;

    padding: 8px 0;

    border: 0;
    outline: 0;

    background: transparent;

    font-size: 13px;
}

.search-pop-close {
    width: 28px;
    height: 28px;

    flex: none;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #777;

    font-size: 17px;
    line-height: 1;

    transition:
        background 0.18s,
        color 0.18s;
}

.search-pop-close:hover {
    background: #111;
    color: #fff;
}

.search-pop-results {
    max-height: min(360px, 60vh);

    margin-top: 4px;

    overflow-y: auto;
}

.search-pop-results:empty {
    margin-top: 0;
}

.search-hit {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 9px 6px;

    border-radius: 10px;

    transition: background 0.15s;
}

.search-hit:hover {
    background: #f5f5f5;
}

.search-hit img {
    width: 38px;
    height: 46px;

    flex: none;

    object-fit: contain;

    background: #f7f7f5;
}

.search-hit-name {
    flex: 1;

    font-size: 11px;
    line-height: 1.35;

    text-transform: uppercase;
}

.search-hit-price {
    flex: none;

    color: #666;

    font-size: 11px;

    white-space: nowrap;
}

.search-empty {
    padding: 16px 6px;

    color: #888;

    font-size: 11px;
    text-align: center;
}


/* =========================================================
   SEARCH / CART PANEL BASE
   ========================================================= */

.search-panel {
    position: fixed;
    inset: 0;

    z-index: 100;

    padding: 22px;

    background: #fff;

    display: none;

    overflow: auto;
}

.panel.open {
    display: block;
}

.panel-head {
    margin-bottom: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-panel {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: auto;

    width: min(440px, 100vw);

    padding: 0;

    z-index: 120;

    display: block;

    overflow: hidden;

    background: #fff;
    color: #111;

    border-left: 1px solid #111;

    box-shadow: -22px 0 55px rgba(0, 0, 0, 0.18);

    transform: translateX(105%);

    visibility: hidden;

    transition:
        transform 0.38s cubic-bezier(0.22, 0.7, 0.2, 1),
        visibility 0s linear 0.38s;
}

.cart-panel.open {
    transform: translateX(0);

    visibility: visible;

    transition:
        transform 0.38s cubic-bezier(0.22, 0.7, 0.2, 1),
        visibility 0s;
}

.cart-panel.open::before {
    content: "";

    position: fixed;

    top: 0;
    right: 100%;
    bottom: 0;

    width: 100vw;

    z-index: -1;

    background: rgba(0, 0, 0, 0.48);

    backdrop-filter: blur(3px);
}

.cart-panel .panel-head {
    height: 72px;

    margin: 0;
    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #111;
    color: #fff;

    border-bottom: 1px solid #111;
}

.cart-panel .panel-head b {
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.cart-panel .panel-head button,
.search-panel .panel-head button {
    width: 34px;
    height: 34px;

    position: relative;

    border: 1px solid currentColor;
    border-radius: 50%;

    font-size: 0;

    transition:
        background 0.2s,
        color 0.2s;
}

.cart-panel .panel-head button::before,
.cart-panel .panel-head button::after,
.search-panel .panel-head button::before,
.search-panel .panel-head button::after {
    content: "";

    position: absolute;

    left: 10px;
    top: 16px;

    width: 13px;
    height: 1px;

    background: currentColor;
}

.cart-panel .panel-head button::before,
.search-panel .panel-head button::before {
    transform: rotate(45deg);
}

.cart-panel .panel-head button::after,
.search-panel .panel-head button::after {
    transform: rotate(-45deg);
}

.cart-panel .panel-head button:hover,
.search-panel .panel-head button:hover {
    background: #fff;
    color: #111;
}

#cart-content {
    height: calc(100vh - 72px);

    padding: 0 22px 28px;

    overflow-y: auto;

    background: #fff;
}

#cart-content::-webkit-scrollbar {
    width: 4px;
}

#cart-content::-webkit-scrollbar-thumb {
    background: #111;
}


/* =========================================================
   CART ITEMS
   ========================================================= */

.cart-item {
    display: grid;

    grid-template-columns:
        78px
        minmax(0, 1fr)
        34px;

    gap: 14px;

    align-items: start;

    padding: 17px 0;

    background: #fff;

    border-bottom: 1px solid #111;
}

.cart-item img {
    width: 78px;
    height: 98px;

    object-fit: contain;

    background: transparent;

    border: 0;
}

.cart-item .card-name {
    padding-right: 4px;

    color: #111;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.cart-size,
.cart-price {
    margin-top: 5px;

    color: #555;

    font-size: 10px;

    text-transform: uppercase;
}

.cart-price {
    margin-top: 6px;

    color: #111;

    font-weight: 600;
}

.qty {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 12px;
}

.qty button {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #111;

    border: 1px solid #111;

    font-size: 14px;

    transition:
        background 0.18s,
        color 0.18s;
}

.qty button:hover {
    background: #111;
    color: #fff;
}

.qty span {
    min-width: 18px;

    font-size: 11px;

    text-align: center;
}

.remove-cart {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #111;

    border: 1px solid #111;
    border-radius: 50%;

    transition:
        background 0.18s,
        color 0.18s;
}

.remove-cart svg {
    width: 15px;
    height: 15px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.remove-cart:hover {
    background: #111;
    color: #fff;
}

.cart-total {
    margin: 0;
    padding: 20px 0 0;

    display: flex;
    justify-content: space-between;

    background: #fff;
    color: #111;

    border-top: 2px solid #111;

    font-size: 11px;

    letter-spacing: 0.08em;
}

.cart-total b {
    font-size: 12px;
    letter-spacing: 0;
}

.checkout {
    width: 100%;
    height: 54px;

    margin-top: 16px;

    background: #111;
    color: #fff;

    border: 1px solid #111;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
}

.checkout:hover {
    background: #fff;
    color: #111;

    transform: translateY(-1px);
}

    .checkout-submit {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 18px;
    padding: 0 20px;

    background: #111;
    color: #fff;

    border: 1px solid #111;
    border-radius: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.checkout-submit:hover {
    background: #fff;
    color: #111;
}

.checkout-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkout-submit:disabled:hover {
    background: #111;
    color: #fff;
}

.empty {
    min-height: calc(100vh - 170px);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: #fff;
    color: #111;

    font-size: 11px;

    letter-spacing: 0.1em;
}

.empty::before {
    content: "";

    width: 38px;
    height: 1px;

    margin-bottom: 18px;

    background: #111;
}


/* =========================================================
   CHECKOUT MODAL
   ========================================================= */

.checkout-modal {
    position: fixed;
    inset: 0;

    z-index: 500;

    padding: 18px;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.52);
}

.checkout-modal.open {
    display: flex;
}

.checkout-box {
    width: min(720px, 100%);
    max-height: 92vh;

    position: relative;

    padding: 34px;

    overflow: auto;

    background: #fff;
}

.checkout-close {
    position: absolute;

    top: 12px;
    right: 18px;

    font-size: 30px;
    line-height: 1;
}

.checkout-kicker {
    color: #777;

    font-size: 10px;

    letter-spacing: 0.14em;
}

.checkout-box h2 {
    margin: 8px 0 5px;

    font-size: 22px;
}

.checkout-subtitle {
    margin: 0 0 25px;

    color: #666;
}

.checkout-fields {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.checkout-fields label {
    font-size: 10px;
    letter-spacing: 0.06em;
}

.checkout-fields label.wide {
    grid-column: 1 / -1;
}

.checkout-fields input,
.checkout-fields textarea,
.checkout-fields select {
    display: block;

    width: 100%;

    margin-top: 7px;

    border: 1px solid #ccc;
    outline: 0;

    background: #fff;

    padding: 13px;

    font: inherit;
}

.checkout-fields textarea {
    resize: vertical;
}

.checkout-fields input:focus,
.checkout-fields textarea:focus,
.checkout-fields select:focus {
    border-color: #111;
}

.checkout-fields select {
    height: 43px;

    padding: 0 13px;

    cursor: pointer;

    font-size: 12px;
}

.checkout-fields select:disabled {
    background: #f7f7f7;
    color: #999;

    cursor: not-allowed;
}


/* =========================================================
   CHECKOUT OPTIONS
   ========================================================= */

.checkout-option-group {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.checkout-option-title {
    color: #777;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.checkout-options {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.option-card {
    position: relative;

    cursor: pointer;

    margin: 0 !important;
}

.option-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.option-card span {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    background: #111;
    color: #aaa;

    border: 1px solid #2a2a2a;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.option-card:hover span {
    border-color: #555;
    color: #fff;
}

.option-card input:checked + span {
    background: #fff;
    color: #000;

    border-color: #111;
}


/* =========================================================
   CHECKOUT MINI SWITCHES
   ========================================================= */

.checkout-mini-field {
    min-width: 0;
}

.checkout-mini-field > span {
    display: block;

    margin-bottom: 7px;

    font-size: 10px;
    letter-spacing: 0.06em;
}

.checkout-mini-field.wide {
    grid-column: 1 / -1;
}

.checkout-mini-field.wide .mini-switch {
    max-width: 360px;
}

.mini-switch {
    height: 43px;

    display: flex;

    gap: 5px;
}

.mini-switch label {
    flex: 1;

    position: relative;

    margin: 0 !important;

    cursor: pointer;

    font-size: 9px !important;

    letter-spacing: 0.03em !important;
}

.mini-switch input {
    position: absolute !important;

    margin: 0 !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

.mini-switch label span {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #777;

    border: 1px solid #ccc;

    transition:
        background 0.18s,
        color 0.18s,
        border-color 0.18s;
}

.mini-switch label:hover span {
    color: #111;
    border-color: #111;
}

.mini-switch input:checked + span {
    background: #111;
    color: #fff;

    border-color: #111;
}

#checkout-phone {
    letter-spacing: 0.02em;
}

.nova-api-note {
    min-height: 12px;

    margin-top: 10px;

    color: #777;

    font-size: 9px;
}


/* =========================================================
   NOVA POSHTA CITY AUTOCOMPLETE
   ========================================================= */

.city-autocomplete-wrap {
    position: relative;

    min-width: 0;
}

.city-autocomplete-wrap > input[name="city"] {
    position: relative;

    z-index: 2;
}

.nova-city-suggestions {
    position: absolute;

    top: calc(100% + 7px);
    left: 0;
    right: 0;

    z-index: 30;

    max-height: 220px;

    overflow-y: auto;

    background: #fff;

    border: 1px solid #111;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nova-city-suggestion {
    width: 100%;

    display: block;

    padding: 11px 13px;

    background: #fff;
    color: #111;

    border: 0;
    border-bottom: 1px solid #eee;

    text-align: left;

    font: inherit;
    font-size: 12px;

    cursor: pointer;
}

.nova-city-suggestion:last-child {
    border-bottom: 0;
}

.nova-city-suggestion:hover {
    background: #111;
    color: #fff;
}

.nova-city-empty {
    padding: 12px 13px;

    color: #777;

    font-size: 11px;
}


/* =========================================================
   ORDER SUCCESS
   ========================================================= */

.order-success {
    min-height: 180px;

    display: none;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 12px;

    text-align: center;
}

.order-success strong {
    font-size: 18px;
}

.order-success span {
    color: #666;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 300;

    width: min(320px, 84vw);

    display: flex;
    flex-direction: column;

    background: #fff;

    transform: translateX(-105%);

    visibility: hidden;

    box-shadow: 20px 0 55px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.34s cubic-bezier(0.22, 0.7, 0.2, 1),
        visibility 0s linear 0.34s;
}

.mobile-menu.open {
    transform: translateX(0);

    visibility: visible;

    transition:
        transform 0.34s cubic-bezier(0.22, 0.7, 0.2, 1),
        visibility 0s;
}

.mobile-menu.open::before {
    content: "";

    position: fixed;

    top: 0;
    bottom: 0;
    left: 100%;

    z-index: -1;

    width: 100vw;

    background: rgba(0, 0, 0, 0.32);
}

.mobile-menu-head {
    height: 72px;

    flex: none;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #111;
}

.mobile-menu-head b {
    font-size: 12px;

    letter-spacing: 0.14em;
}

.mobile-menu-head button {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #111;
    border-radius: 50%;

    font-size: 17px;
    line-height: 1;

    transition:
        background 0.18s,
        color 0.18s;
}

.mobile-menu-head button:hover {
    background: #111;
    color: #fff;
}

.mobile-nav {
    display: flex;
    flex-direction: column;

    padding: 6px 20px 20px;
}

.mobile-nav a {
    padding: 17px 0;

    border-bottom: 1px solid #eee;

    font-size: 14px;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    min-height: 72vh;

    padding: 0 24px 80px;
}

.contact-hero {
    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 0 58px;

    border-bottom: 1px solid #111;
}

.contact-kicker,
.contact-label {
    color: #777;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.contact-hero h1 {
    margin: 18px 0 22px;

    font-size: clamp(42px, 7vw, 92px);

    line-height: 0.9;

    font-weight: 700;

    letter-spacing: -0.065em;
}

.contact-hero p {
    max-width: 500px;

    margin: 0;

    color: #555;

    font-size: 13px;

    line-height: 1.65;
}

.contact-content {
    max-width: 1200px;

    margin: 0 auto;

    padding: 58px 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;
}

.contact-intro h2 {
    margin: 16px 0 24px;

    font-size: clamp(30px, 4vw, 54px);

    line-height: 0.95;

    letter-spacing: -0.055em;
}

.contact-intro p {
    max-width: 430px;

    margin: 0;

    color: #666;

    line-height: 1.75;
}

.contact-links {
    border-top: 1px solid #111;
}

.contact-card {
    min-height: 86px;

    display: grid;

    grid-template-columns: 48px 1fr auto;

    align-items: center;

    gap: 18px;

    border-bottom: 1px solid #ddd;

    transition:
        padding 0.25s ease,
        background 0.25s ease;
}

a.contact-card {
    cursor: pointer;
}

a.contact-card:hover {
    padding: 0 14px;

    background: #f6f6f6;
}

.contact-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #111;
    border-radius: 50%;
}

.contact-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card small {
    display: block;

    margin-bottom: 5px;

    color: #777;

    font-size: 9px;

    letter-spacing: 0.12em;
}

.contact-card strong {
    display: block;

    font-size: 12px;

    letter-spacing: 0.03em;
}

.contact-arrow {
    font-size: 19px;

    transition: transform 0.2s;
}

.contact-card:hover .contact-arrow {
    transform: translate(3px, -3px);
}

.contact-card-static {
    cursor: default;
}

.contact-note {
    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 0;

    display: grid;

    grid-template-columns: 48px 1fr;

    gap: 18px;

    border-top: 1px solid #111;
}

.contact-note span {
    color: #777;

    font-size: 10px;

    letter-spacing: 0.1em;
}

.contact-note p {
    max-width: 600px;

    margin: 0;

    color: #555;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   ADMIN TABS
   ========================================================= */

.admin-tabs {
    display: flex;

    gap: 8px;

    margin-bottom: 20px;
}

.tab-btn {
    padding: 11px 18px;

    background: #fff;
    color: #111;

    border: 1px solid #111;

    font-size: 10px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.18s,
        color 0.18s;
}

.tab-btn:hover {
    background: #eee;
}

.tab-btn.active {
    background: #111;
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    border-top: 1px solid #111;

    display: block;

    background: #fff;

    font-size: 12px;
}

.footer-top {
    padding: 44px 12.5% 34px;

    display: flex;

    gap: 40px;

    border-bottom: 1px solid #eee;
}

.footer-brand {
    flex: 1 1 220px;

    max-width: 240px;
}

.footer-logo {
    width: 56px;
    height: 56px;

    display: block;

    margin-bottom: 12px;

    object-fit: contain;
}

.footer-tagline {
    margin: 0;

    color: #777;

    font-size: 11px;

    letter-spacing: 0.06em;
}

.footer-col {
    flex: 1 1 160px;

    display: flex;
    flex-direction: column;

    gap: 11px;
}

.footer-col-title {
    margin-bottom: 2px;

    color: #999;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.footer-col a {
    color: #111;

    font-size: 12px;
}

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

.footer-bottom {
    padding: 20px 12.5% 26px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 12px;

    color: #777;

    font-size: 11px;
}

.footer-developer {
    color: #777;
}

.footer-developer a {
    color: #111;

    text-decoration: none;

    transition: opacity 0.2s ease;
}

.footer-developer a:hover {
    opacity: 0.5;
}

.footer-admin {
    color: #777;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 0.12em;

    transition: color 0.2s ease;
}

.footer-admin:hover {
    color: #111;
}


/* =========================================================
   HIDDEN
   ========================================================= */

.notify-block[hidden] {
    display: none !important;
    margin-top: 30px;
}


/* =========================================================
   RESPONSIVE — <= 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .site-header {
        padding-left: 7%;
        padding-right: 7%;
    }

    .notify-block {
        margin-left: 7%;
        margin-right: 7%;
    }

    .footer-top {
        padding-left: 7%;
        padding-right: 7%;
    }

    .footer-bottom {
        padding-left: 7%;
        padding-right: 7%;
    }
}


/* =========================================================
   RESPONSIVE — <= 900px
   ========================================================= */

@media (max-width: 900px) {

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 28px 10px;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-info {
        position: static;
    }

    .icon-btn {
        width: 34px;
        height: 38px;
    }

    .icon-btn svg {
        width: 19px;
        height: 19px;
    }

    .burger-btn {
        width: 34px;
        height: 38px;
    }

    .size {
        min-width: 48px;
        height: 42px;
    }

    .mini-switch label {
        min-height: 40px;
    }

    .notify-block {
        flex-direction: column;

        align-items: stretch;

        gap: 20px;
    }

    .notify-text,
    .notify-right {
        flex: none;
    }

    .preorder-card {
        width: min(420px, 92vw);
    }

    .preorder-media {
        height: min(480px, 68vw);
    }
}


/* =========================================================
   RESPONSIVE — <= 700px
   ========================================================= */

@media (max-width: 700px) {

    .announcement {
        height: 34px;
    }

    .site-header {
        height: 82px;

        padding: 0 14px;

        grid-template-columns: 1fr 70px 1fr;
    }

    .nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .logo {
        width: 70px;
        height: 72px;
    }

    .logo img {
        width: 68px;
        height: 68px;
    }

    .header-actions {
        gap: 8px;
    }

    .icon-btn {
        width: 22px;
    }

    .icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .hero {
        height: 360px;
    }

    .hero-content h1 {
        margin-bottom: 17px;

        font-size: 38px;
    }

    .hero-link {
        padding: 13px 18px;

        font-size: 12px;
    }

    .section {
        padding: 30px 14px;
    }

    .section-head {
        align-items: flex-start;
    }

    .section-title {
        font-size: 16px;

        line-height: 1.2;
    }

    .more {
        width: 170px;
        height: 43px;

        font-size: 10px;
    }

    .card-view {
        display: none;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 24px 8px;
    }

    .card-media {
        aspect-ratio: 4 / 5;
    }

    .card-name,
    .price {
        font-size: 10px;
    }

    .choose {
        font-size: 9px;
    }

    .preorder-wrap {
        padding: 10px 14px 45px;
    }

    .preorder-card {
        width: min(380px, 92vw);
    }

    .preorder-media {
        height: min(440px, 72vw);
    }

    .preorder-overlay {
        bottom: 20px;

        padding: 13px 22px;

        font-size: 16px;
    }

    .preorder-coming-soon {
        top: 12px;
        left: 12px;

        padding: 7px 12px;

        font-size: 9px;
    }

    .page {
        min-height: 0;

        padding: 35px 14px;
    }

    .product-page {
        padding: 15px 14px 45px;
    }

    .product-gallery {
        width: 100%;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .product-photo {
        width: 100%;
    }

    .product-gallery .product-photo img {
        width: 100%;
        height: auto;

        padding: 5px;
    }

    .catalog-toolbar {
        margin: -18px 0 20px;

        font-size: 11px;
    }

    .cart-panel {
        width: 100vw;

        border-left: 0;
    }

    .cart-panel .panel-head {
        height: 68px;

        padding: 0 16px;
    }

    #cart-content {
        height: calc(100vh - 68px);

        padding: 0 16px 20px;
    }

    .cart-item {
        grid-template-columns:
            68px
            minmax(0, 1fr)
            32px;

        gap: 11px;
    }

    .cart-item img {
        width: 68px;
        height: 88px;
    }

    .contact-page {
        min-height: 0;

        padding: 0 14px 55px;
    }

    .contact-hero {
        padding: 50px 0 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;

        gap: 42px;

        padding: 42px 0;
    }

    .contact-intro h2 {
        font-size: 42px;
    }

    .footer-top {
        flex-direction: column;

        gap: 26px;

        padding: 32px 14px 24px;
    }

    .footer-brand,
    .footer-col {
        flex: none;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 6px;

        padding: 16px 14px 22px;
    }

    .checkout-box {
        padding: 25px 18px;
    }

    .checkout-fields {
        grid-template-columns: 1fr;
    }

    .checkout-fields label.wide,
    .checkout-mini-field.wide {
        grid-column: auto;
    }

    .checkout-options {
        grid-template-columns: 1fr;
    }

    .checkout-mini-field.wide .mini-switch {
        max-width: none;
    }

    .city-autocomplete-wrap {
        grid-column: auto;
    }

    .nova-city-suggestions {
        max-height: 200px;
    }

    .mini-switch {
        height: 42px;
    }

    .notify-block {
        margin: 14px 14px 0;

        padding: 20px;
    }

    .search-pop {
        position: fixed;

        top: 116px;

        left: 12px;
        right: 12px;

        width: auto;
        max-width: none;

        transform: translateY(-8px);
    }

    .search-pop.open {
        transform: translateY(0);
    }
}


/* =========================================================
   RESPONSIVE — <= 560px
   ========================================================= */

@media (max-width: 560px) {

    .search-pop {
        top: 116px;
    }
}


/* =========================================================
   RESPONSIVE — <= 400px
   ========================================================= */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 32px;
    }

    .grid {
        gap: 22px 8px;
    }

    .card-media {
        height: min(300px, 58vw);
    }
}