@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/Playfair_Display/static/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/Playfair_Display/static/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent: #f2b544;
    --accent-strong: #ff6b6b;
    --accent-soft: #ffcf7d;
    --wine-deep: #350a1f;
    --text-primary: #f5f7ff;
    --text-muted: #bac1d4;
    --panel-surface: rgba(13, 19, 33, 0.78);
    --card-surface: rgba(255, 255, 255, 0.06);
    --frosted-surface: rgba(255, 255, 255, 0.04);
    --frosted-strong: rgba(255, 255, 255, 0.15);
    --control-surface: rgba(255, 255, 255, 0.05);
    --solid-surface: rgba(15, 20, 35, 0.92);
    --navbar-surface: rgba(7, 14, 26, 0.55);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    --overlay-color: rgba(5, 7, 15, 0.75);
    --max-width: 1200px;
    --transition: 0.35s cubic-bezier(0.45, 0.05, 0.15, 0.95);
    --blur: blur(22px);
    --bg-start: #040510;
    --bg-mid: #0f1c2b;
    --bg-end: #1a0f2f;
    --nav-grad-start: #1a0210;
    --nav-grad-end: #4a0d24;
    --scroll-thumb: rgba(255, 255, 255, 0.35);
    --scroll-track: rgba(255, 255, 255, 0.08);
    --scroll-thumb-hover: rgba(255, 255, 255, 0.55);
    --browser-font-scale: 1;
}

@supports (-webkit-hyphenate-character: auto) {
    :root {
        --browser-font-scale: 1.035;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    font-size: calc(96% * var(--browser-font-scale, 1));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (min-width: 1200px) {
    html {
        font-size: calc(94% * var(--browser-font-scale, 1));
    }
}

html[data-theme="dark"] {
    --bg-start: #040510;
    --bg-mid: #0f1c2b;
    --bg-end: #1a0f2f;
    --text-primary: #f5f7ff;
    --text-muted: #bac1d4;
    --panel-surface: rgba(13, 19, 33, 0.78);
    --card-surface: rgba(255, 255, 255, 0.06);
    --frosted-surface: rgba(255, 255, 255, 0.04);
    --frosted-strong: rgba(255, 255, 255, 0.12);
    --control-surface: rgba(255, 255, 255, 0.05);
    --solid-surface: rgba(15, 20, 35, 0.92);
    --navbar-surface: rgba(7, 14, 26, 0.55);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    --overlay-color: rgba(5, 7, 15, 0.75);
    --scroll-thumb: rgba(255, 255, 255, 0.45);
    --scroll-track: rgba(255, 255, 255, 0.08);
    --scroll-thumb-hover: rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] {
    --bg-start: #e5d3c9;
    --bg-mid: #d7bcaf;
    --bg-end: #c9a293;
    --text-primary: #3a1f1f;
    --text-muted: #684843;
    --panel-surface: rgba(244, 229, 219, 0.92);
    --card-surface: rgba(255, 255, 255, 0.9);
    --frosted-surface: rgba(255, 255, 255, 0.7);
    --frosted-strong: rgba(255, 255, 255, 0.8);
    --control-surface: rgba(255, 255, 255, 0.65);
    --solid-surface: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(135, 64, 54, 0.32);
    --shadow: 0 25px 60px rgba(105, 49, 41, 0.25);
    --overlay-color: rgba(215, 188, 172, 0.85);
    --nav-grad-start: rgba(142, 67, 59, 0.92);
    --nav-grad-end: rgba(100, 41, 37, 0.9);
    --scroll-thumb: rgba(102, 55, 46, 0.45);
    --scroll-track: rgba(255, 255, 255, 0.65);
    --scroll-thumb-hover: rgba(102, 55, 46, 0.75);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(242, 181, 68, 0.15), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(255, 107, 107, 0.18), transparent 45%),
        linear-gradient(135deg, var(--bg-start), var(--bg-mid) 55%, var(--bg-end)),
        url('../../images/bg.jpg');
    background-size: 100%, 100%, 100%, cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    line-height: 1.7;
    padding-top: clamp(90px, 11vw, 150px);
    position: relative;
    overflow-x: hidden;
}

body,
.cart-items-wrapper,
.modal,
.cart-panel,
.order-summary,
.order-items,
.modal-scroll-area {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: var(--scroll-track);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover);
}

.modal-content::-webkit-scrollbar-track {
    margin-block: 16px;
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 60%);
    filter: blur(140px);
    opacity: 0.35;
    z-index: 0;
    animation: wineWave 18s ease-in-out infinite alternate;
}

body::before {
    top: -120px;
    left: -120px;
}

body::after {
    bottom: -220px;
    right: -160px;
}

html[data-theme="light"] body::before,
html[data-theme="light"] body::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 55%);
    opacity: 0.45;
    filter: blur(120px);
}

@keyframes wineWave {
    0% {
        transform: translate3d(-20px, 0, 0) scale(1);
        opacity: 0.3;
        filter: blur(140px);
    }
    50% {
        transform: translate3d(10px, 40px, 0) scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: translate3d(30px, -30px, 0) scale(1.08);
        opacity: 0.35;
        filter: blur(160px);
    }
}

.hidden {
    display: none !important;
}

body.page-categories {
    padding-top: clamp(90px, 11vw, 150px);
}

body.page-categories #catalog {
    padding-top: clamp(15px, 4vw, 40px);
}

body.page-product {
    padding-top: clamp(90px, 11vw, 150px);
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.styled-btn,
.theme-toggle,
.cart,
.description-btn,
.add-to-cart,
.product-detail__thumb,
.product-card .buttons a,
.hamburger {
    cursor: pointer;
}

@media (min-width: 1024px) {
    body.page-categories {
        padding-top: clamp(40px, 5vw, 90px);
    }
    body.page-categories #catalog {
        padding-top: clamp(0px, 1.8vw, 18px);
    }
    body.page-product {
        padding-top: clamp(60px, 7vw, 110px);
    }
}

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

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
    padding-inline: clamp(12px, 3vw, 32px);
    position: relative;
    z-index: 1;
}

section {
    padding: clamp(35px, 7vw, 80px) 0;
    position: relative;
    z-index: 1;
    scroll-margin-top: 150px;
}


.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: min(95%, 1280px);
    border-radius: 26px;
    padding: 16px clamp(18px, 4vw, 30px);
    background: linear-gradient(135deg, var(--nav-grad-start), var(--nav-grad-end));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 55px rgba(10, 2, 8, 0.6);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: none;
}

html[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(173, 110, 92, 0.35);
    box-shadow: 0 22px 45px rgba(158, 92, 74, 0.35);
    backdrop-filter: blur(18px);
}

html[data-theme="light"] .navbar.scrolled {
    border-color: rgba(173, 110, 92, 0.45);
    box-shadow: 0 25px 45px rgba(158, 92, 74, 0.35);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
}

.navbar.scrolled {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.navbar .logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.8vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    cursor: pointer;
}

.navbar .logo span {
    color: var(--accent);
    transition: color 0.3s ease;
}

html[data-theme="light"] .navbar .logo {
    color: #5c2826;
}

html[data-theme="light"] .navbar .logo span {
    color: #b45c42;
}

.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul li a {
    color: var(--text-muted);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

html[data-theme="light"] .navbar ul li a {
    color: rgba(92, 37, 34, 0.85);
}

.navbar ul li a:hover,
.navbar ul li a:focus {
    background: var(--frosted-surface);
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

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

.theme-toggle,
.cart,
.hamburger {
    cursor: pointer;
}

.nav-spacer {
    width: 100%;
}

.nav-spacer--info {
    margin: clamp(32px, 5vw, 70px) auto clamp(12px, 3vw, 40px);
}

.nav-spacer--info .container {
    width: min(94%, 1040px);
}

.cart {
    position: relative;
    color: var(--text-primary);
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.cart:hover {
    color: var(--accent);
    border-color: rgba(242, 181, 68, 0.45);
}

html[data-theme="light"] .cart {
    background: rgba(255,255,255,0.82);
    border-color: rgba(118,70,57,0.4);
    color: #5a2d26;
}

html[data-theme="light"] .cart:hover {
    border-color: rgba(118,70,57,0.7);
    color: #4b1f18;
}

.cart .badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0c0e1a;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.theme-toggle {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle i {
    font-size: 1rem;
}

.theme-toggle__label {
    font-size: 0.85rem;
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: rgba(242, 181, 68, 0.5);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

html[data-theme="light"] .theme-toggle {
    border-color: rgba(118, 70, 57, 0.45);
    background: rgba(255, 255, 255, 0.82);
    color: #5a2d26;
}

html[data-theme="light"] .theme-toggle:hover {
    border-color: rgba(118, 70, 57, 0.7);
    box-shadow: 0 8px 18px rgba(118,70,57,0.25);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger div {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.hamburger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line2 {
    opacity: 0;
}

.hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-cart {
    display: none;
    position: fixed;
    right: 25px;
    top: 100px;
    z-index: 1000;
}

.promo-banner {
    margin: clamp(24px, 5vw, 60px) auto 0;
    width: min(95%, 1100px);
    position: relative;
    border-radius: 34px;
    background: var(--panel-surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    padding: clamp(26px, 5vw, 52px);
    overflow: hidden;
    box-shadow: var(--shadow);
    isolation: isolate;
    contain: paint;
}

.promo-banner .container {
    width: 100%;
}

.hero-info-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.hero-info-bar--nav {
    padding: clamp(18px, 3vw, 26px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--panel-surface);
    box-shadow: var(--shadow);
}

html[data-theme="light"] .hero-info-bar--nav {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(173, 110, 92, 0.25);
    box-shadow: 0 25px 45px rgba(173, 110, 92, 0.18);
}

.hero-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    border-radius: 28px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    text-align: center;
}

.hero-info-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent);
    font-size: 1.1rem;
}

html[data-theme="light"] .hero-info-icon {
    background: rgba(92, 37, 34, 0.08);
    color: #a55532;
}

.hero-info-content p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-info-content strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-primary);
    word-break: break-word;
}

html[data-theme="light"] .hero-info-content strong {
    color: #5c2a1f;
}

html[data-theme="light"] .hero-info-content p,
html[data-theme="light"] .hero-info-note {
    color: rgba(92, 37, 34, 0.7);
}

.hero-info-note {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: normal;
}

.hero-info-content a {
    color: inherit;
}

.promo-banner::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(242, 181, 68, 0.35), transparent 60%);
    filter: blur(10px);
    z-index: -1;
}

.promo-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.3vw, 2.3rem);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 24px 18px;
        gap: 18px;
    }
    .promo-banner h2 {
        font-size: 1.75rem;
        text-align: center;
    }
.hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
}
.hero-actions a {
    width: 100%;
    text-align: center;
}
}

.promotions-slider {
    position: relative;
    border-radius: 30px;
    padding: clamp(28px, 5vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(9, 12, 25, 0.85), rgba(25, 10, 20, 0.7)),
        var(--slider-bg, url('../../images/bg.jpg'));
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(20px);
    height: clamp(160px, 22vw, 240px);
    overflow: hidden;
    contain: paint;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

html[data-theme="light"] .promotions-slider {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(248, 224, 210, 0.24)),
        var(--slider-bg, url('../../images/bg.jpg'));
    border-color: rgba(173, 110, 92, 0.25);
}

html[data-theme="dark"] .promotions-slider {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 140, 92, 0.25), transparent 60%),
        linear-gradient(135deg, rgba(12, 16, 34, 0.92), rgba(24, 12, 28, 0.85)),
        var(--slider-bg, url('../../images/bg.jpg'));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 45px 80px rgba(0, 0, 0, 0.7);
}

.promotions-slider.single-slide {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.promotions-slider.single-slide::after {
    display: none;
}

.promotions-slider.single-slide > * {
    position: relative;
    z-index: 1;
}

.promotions-slider.single-slide .arrow,
.promotions-slider.single-slide .indicators {
    display: none;
}

@media (max-width: 768px) {
    .promotions-slider.single-slide {
        height: clamp(180px, 36vh, 240px);
        padding: 0;
    }
}


.promotion-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: clamp(22px, 4vw, 38px);
    overflow: hidden;
    will-change: opacity, transform;
    background-image: var(--promo-image);
    background-size: cover;
    background-position: center;
    border-radius: inherit;
    box-shadow: 0 30px 50px rgba(4, 6, 15, 0.35);
}


.promotion-slide::before,
.promotion-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    transition: opacity 0.6s ease;
    border-radius: inherit;
}

.promotion-slide::before {
    background: linear-gradient(120deg, rgba(4, 6, 15, 0.4), rgba(4, 6, 15, 0.1));
    z-index: 1;
}

.promotion-slide::after {
    background: linear-gradient(120deg, rgba(4, 6, 15, 0.6), rgba(4, 6, 15, 0.15));
    z-index: 2;
}

html[data-theme="light"] .promotion-slide::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), rgba(223, 187, 169, 0.12));
}

.promotion-slide__content {
    position: relative;
    z-index: 3;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 26px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 25px 45px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .promotion-slide__content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.04), 0 30px 70px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
}

.promotion-slide__cover {
    display: none;
}

@media (max-width: 768px) {
    .promotions-slider {
        border-radius: 22px;
        padding: 18px 14px;
        min-height: 0;
        height: auto;
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
    }

    .promotions-slider .arrow,
    .promotions-slider .indicators {
        display: none !important;
    }

    .promotion-slide {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 16px;
        background-image: var(--promo-image);
        background-size: cover;
        background-position: center;
        border-radius: 18px;
        min-height: 180px;
        box-shadow: 0 20px 35px rgba(4, 6, 15, 0.3);
    }

    .promotion-slide::before {
        display: none;
    }

    .promotion-slide__cover {
        display: none;
    }

    .promotion-slide__content {
        position: relative;
        margin-top: auto;
        width: 100%;
        padding: 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.35);
    }
}

@media (max-width: 640px) {
    .promotion-slide__body p {
        font-size: 1rem;
    }

    .promotion-slide__meta {
        align-self: stretch;
        justify-content: center;
    }
}

.promotion-slide__body p {
    font-size: 1.15rem;
    color: #2d1b15;
    margin: 0;
    line-height: 1.5;
}

html[data-theme="dark"] .promotion-slide__body p {
    color: rgba(248, 248, 252, 0.92);
}

.promotion-slide__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(92, 37, 34, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
    color: #4b1f18;
    border: 1px solid rgba(92, 37, 34, 0.25);
    align-self: flex-start;
}

.promotion-slide__meta strong {
    font-size: 1rem;
    color: #4b1f18;
}

html[data-theme="dark"] .promotion-slide__meta {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

html[data-theme="dark"] .promotion-slide__meta strong {
    color: #fff;
}

@media (max-width: 576px) {
    .promotion-slide__content p {
        font-size: 0.95rem;
        line-height: 1.4;
        word-break: break-word;
    }
}

.promotion-slide.active::before {
    transform: scale(1);
}

.promotion-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: absolute;
}

.promotions-slider .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--text-primary);
    background: var(--control-surface);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.promotions-slider .arrow:hover {
    color: var(--accent);
    background: var(--frosted-strong);
}

html[data-theme="light"] .promotions-slider .arrow {
    background: rgba(255, 255, 255, 0.82);
    color: #5c2826;
    border: 1px solid rgba(173, 110, 92, 0.25);
}

html[data-theme="light"] .promotions-slider .arrow:hover {
    background: rgba(255, 255, 255, 0.95);
}

.promotions-slider .prev {
    left: 16px;
}

.promotions-slider .next {
    right: 16px;
}

.promotions-slider .indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.promotions-slider .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--frosted-strong);
    cursor: pointer;
    transition: var(--transition);
}

.promotions-slider .dot.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

html[data-theme="light"] .promotions-slider .dot {
    background: rgba(92, 40, 33, 0.2);
}


.hero-actions {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.primary-cta,
.secondary-cta {
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition);
}

.primary-cta {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #0a090f;
    box-shadow: 0 15px 30px rgba(242, 181, 68, 0.25);
}

.primary-cta:hover {
    transform: translateY(-2px);
}

.secondary-cta {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.secondary-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

html[data-theme="light"] .secondary-cta {
    background: rgba(255, 255, 255, 0.88);
    color: #5a2d26;
    border-color: rgba(173, 110, 92, 0.4);
    box-shadow: 0 15px 28px rgba(173, 110, 92, 0.25);
}

html[data-theme="light"] .secondary-cta:hover {
    color: #4b1f18;
}

.hero-meta {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.hero-meta__item {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--frosted-surface);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 14px;
}

html[data-theme="light"] .hero-meta__item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(92, 37, 34, 0.12);
    box-shadow: 0 18px 32px rgba(92, 37, 34, 0.15);
}

.hero-meta__item + .hero-meta__item {
    margin-top: 0;
}

.hero-meta__icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 1.2rem;
}

html[data-theme="light"] .hero-meta__icon {
    background: rgba(92, 37, 34, 0.1);
    color: #7a3826;
}

@media (max-width: 768px) {
    .hero-meta {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 12px;
    }
    .cart-item {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "thumb details"
            "thumb remove";
    }
    .hero-meta__item {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-meta__value {
        font-size: 1.4rem;
    }
    .hero-meta__label {
        font-size: 0.75rem;
    }
    .hero-info-content p {
        font-size: 0.75rem;
    }
    .hero-info-content strong {
        font-size: 0.95rem;
    }
    .hero-info-note {
        font-size: 0.72rem;
    }
}

.hero-meta__value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    white-space: normal;
}

html[data-theme="light"] .hero-meta__value {
    color: #32130b;
}

.hero-meta__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    white-space: normal;
    line-height: 1.4;
}

html[data-theme="light"] .hero-meta__label {
    color: rgba(50, 19, 11, 0.7);
}

.hero-meta__value--suffix {
    font-variant-numeric: tabular-nums;
}

.about-banner {
    width: min(95%, 1100px);
    margin: clamp(30px, 5vw, 60px) auto 0;
    border-radius: 32px;
    padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 48px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 232, 0.95));
    border: 1px solid rgba(92, 37, 34, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 35px 90px rgba(92, 37, 34, 0.18);
    text-align: left;
}

.about-banner .container {
    width: 100%;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.about-story-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(250, 228, 216, 0.9));
    border-radius: 30px;
    padding: clamp(22px, 5vw, 40px);
    border: 1px solid rgba(92, 37, 34, 0.12);
    box-shadow: 0 30px 70px rgba(92, 37, 34, 0.2);
    position: relative;
    overflow: hidden;
}

.about-story-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.about-story-card p {
    line-height: 1.7;
    color: rgba(58, 29, 21, 0.85);
    margin-bottom: 14px;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.about-highlight-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(92, 37, 34, 0.12);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 38px rgba(92, 37, 34, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(92, 37, 34, 0.2);
}

.about-highlight-card h4 {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.about-highlight-card p {
    margin: 0;
    color: rgba(58, 29, 21, 0.78);
}

html[data-theme="dark"] .about-banner {
    background: linear-gradient(145deg, rgba(25, 18, 34, 0.95), rgba(59, 34, 52, 0.92));
    border-color: rgba(248, 250, 252, 0.08);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .about-story-card {
    background: linear-gradient(160deg, rgba(42, 32, 48, 0.98), rgba(20, 15, 25, 0.95));
    border-color: rgba(248, 250, 252, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .about-story-card p {
    color: rgba(248, 248, 255, 0.85);
}

html[data-theme="dark"] .about-highlight-card {
    background: rgba(32, 24, 38, 0.95);
    border-color: rgba(248, 250, 252, 0.08);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .about-highlight-card h4 {
    color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] .about-highlight-card p {
    color: rgba(230, 228, 238, 0.85);
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
}

#catalog {
    width: min(95%, 1200px);
    margin: clamp(35px, 5vw, 70px) auto 0;
}

#catalog .container {
    width: 100%;
}

.about-banner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-banner > .container > p,
.about-content > p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    text-align: center;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.about-highlight {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--frosted-surface);
    text-align: left;
}

.about-highlight span {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.about-highlight p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.awards-section {
    margin-top: 60px;
    padding: 40px 0 70px;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 214, 196, 0.45), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4), transparent 55%);
}

.awards-header {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.awards-header p {
    color: var(--text-muted);
    margin-top: 12px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.award-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.award-card {
    position: relative;
    padding: 26px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(249, 237, 228, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 70px rgba(77, 31, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.award-card__media {
    position: relative;
    border-radius: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 224, 209, 0.8));
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.award-card__media img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: 18px;
    border: none;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
    background: #fff;
    padding: 6px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.award-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(120, 35, 0, 0.8);
    color: #fff;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.award-card__glow {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 163, 96, 0.45), transparent 70%);
    filter: blur(4px);
    pointer-events: none;
    z-index: 1;
}

.award-card__body h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
}

.award-card__body p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

html[data-theme="dark"] .awards-section {
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 214, 196, 0.08), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(255, 148, 112, 0.08), transparent 50%);
}

html[data-theme="dark"] .award-card {
    background: linear-gradient(150deg, rgba(32, 22, 45, 0.96), rgba(12, 12, 24, 0.94));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

html[data-theme="dark"] .award-card__media {
    background: linear-gradient(135deg, rgba(72, 48, 96, 0.5), rgba(16, 16, 30, 0.85));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .award-card__media img {
    background: rgba(12, 12, 20, 0.95);
}

html[data-theme="dark"] .award-card__badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

html[data-theme="dark"] .award-card__body p {
    color: rgba(235, 235, 245, 0.82);
}

@media (max-width: 768px) {
    .award-card__media img {
        height: 260px;
    }

    .awards-section {
        margin-top: 30px;
    }
}

#catalog h2,
#contacts h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    margin-bottom: 18px;
}

.filters {
    margin: 12px auto 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filters-shell {
    width: min(100%, 900px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.filters-shell > * {
    width: 100%;
}

.filters-shell .filter-group {
    justify-content: center;
}

.catalog-search {
    width: 100%;
}

.catalog-search input {
    width: 100%;
    border-radius: 22px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.4);
    color: var(--text-primary);
    font-size: 1rem;
    accent-color: #d64545;
}

.catalog-search input::placeholder {
    color: var(--text-muted);
}

.catalog-search input[type="search"]::-webkit-search-cancel-button {
    filter: hue-rotate(-15deg) saturate(3);
    cursor: pointer;
}

.catalog-search input:focus-visible {
    outline: 2px solid rgba(214, 69, 69, 0.6);
    outline-offset: 2px;
}

html[data-theme="light"] .catalog-search input {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(82, 40, 34, 0.22);
    color: #5c2826;
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 12px;
    border-radius: 18px;
    background: var(--frosted-surface);
    border: 1px solid var(--glass-border);
}

html[data-theme="light"] .filter-group {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(82, 40, 34, 0.22);
}

.filters-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.catalog-count {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.filter-toggle-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 10px 18px;
    background: rgba(15, 23, 42, 0.4);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

html[data-theme="light"] .filter-toggle-btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(82, 40, 34, 0.22);
    color: #5c2826;
}

.filter-toggle-btn.hidden {
    display: none;
}

.filter-toggle-btn .close-text {
    display: none;
}

.filter-toggle-btn.is-open .open-text {
    display: none;
}

.filter-toggle-btn.is-open .close-text {
    display: inline;
}

.category-field-filters {
    flex: 1 1 100%;
    border-radius: 26px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(6, 10, 20, 0.35);
    padding: 18px;
    color: var(--text-muted);
    display: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.category-field-filters.visible {
    display: block;
}

.category-field-filters.hidden {
    display: none !important;
}

html[data-theme="light"] .category-field-filters {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(82, 40, 34, 0.22);
    color: #5c2826;
}

.category-field-filters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px 20px;
}

.category-filter-field {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 14px 16px 18px;
    background: rgba(4, 9, 18, 0.4);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

html[data-theme="light"] .category-filter-field {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(82, 40, 34, 0.15);
}

.category-filter-field h4 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.category-field-filters .checkbox-inline {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-primary);
    width: 100%;
    padding: 4px 0;
}

.category-field-filters .checkbox-inline span::before,
.category-field-filters .checkbox-inline span::after {
    display: none;
}

.category-field-filters .checkbox-inline input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    position: relative;
    flex-shrink: 0;
}

.category-field-filters .checkbox-inline input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: transparent;
}

.category-field-filters .checkbox-inline input[type="checkbox"]:checked::after {
    content: '✓';
    font-size: 12px;
    color: #0b0d1a;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
}

.category-field-filters .checkbox-inline input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(214, 69, 69, 0.4);
    outline-offset: 1px;
}

html[data-theme="light"] .category-field-filters .checkbox-inline input[type="checkbox"] {
    border-color: rgba(82, 40, 34, 0.4);
}

.category-field-filters .checkbox-inline span {
    padding-left: 0;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.quantity-control--modal {
    margin-bottom: 16px;
}

.quantity-control--cart {
    background: var(--control-surface);
    border-color: rgba(255, 255, 255, 0.2);
}

.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-control--cart .qty-btn {
    border-color: rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .quantity-control {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(92, 37, 34, 0.2);
    box-shadow: 0 14px 28px rgba(92, 37, 34, 0.15);
}

html[data-theme="light"] .quantity-control--cart {
    background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .qty-btn {
    border-color: rgba(92, 37, 34, 0.35);
    background: rgba(255,255,255,0.95);
    color: #5c2a21;
}

.qty-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.quantity-control input[type="number"] {
    width: 56px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-primary);
    padding: 0;
    margin: 0;
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-control input[type="number"]::-webkit-outer-spin-button,
.quantity-control input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-config-info {
    display: flex;
    gap: 14px;
    padding: 16px;
    flex-wrap: nowrap;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 233, 220, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
    align-items: flex-start;
}

html[data-theme="light"] .product-config-info {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(250, 229, 217, 0.9));
    border-color: rgba(92, 37, 34, 0.12);
    box-shadow: 0 22px 45px rgba(92, 37, 34, 0.18);
}

.product-config-info__thumb {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .product-config-info__thumb {
    border-color: rgba(92, 37, 34, 0.15);
}

.product-config-info__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-config-info__details h4 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.product-config-info__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.product-config-info__details p {
    margin: 0 0 6px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.product-config-info__total--summary {
    margin-top: 4px;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
}

.product-config-info__price {
    font-weight: 600;
    color: var(--accent);
    display: block;
}

html[data-theme="light"] .product-config-info__price {
    color: #3b1d15;
}

.product-config-info__total {
    font-weight: 600;
    color: var(--text-primary);
}

html[data-theme="light"] .product-config-info__total {
    color: #5c2a1f;
}

.product-config-info__collapsible {
    width: 100%;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
}

html[data-theme="light"] .product-config-info__collapsible {
    border-color: rgba(92, 37, 34, 0.15);
}

.product-config-info__toggle {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

html[data-theme="light"] .product-config-info__toggle {
    border-color: rgba(92, 37, 34, 0.25);
    background: rgba(255, 255, 255, 0.9);
    color: #5c2a1f;
}

.product-config-info__toggle-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    position: relative;
    transition: transform 0.3s ease;
}

.product-config-info__toggle-icon::before {
    content: '';
    width: 6px;
    height: 6px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    display: block;
    margin-top: -1px;
}

.product-config-info__collapsible.is-open .product-config-info__toggle-icon {
    transform: rotate(180deg);
}

.product-config-info__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 0;
}

.product-config-info__collapsible.is-open .product-config-info__content {
    padding-top: 12px;
}

.product-config-info__facts {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-config-info__facts li {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.product-config-info__facts span {
    font-weight: 500;
    color: inherit;
}

.product-config-info__facts strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.product-config-info__note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

html[data-theme="light"] .product-config-info__facts strong {
    color: #4b1f18;
}

@media (max-width: 540px) {
    .product-config-info {
        flex-wrap: wrap;
    }
    .product-config-info__details {
        width: 100%;
        margin-top: 8px;
    }
}
.category-filters-empty {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.filter-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--frosted-strong);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    gap: 30px;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 12px;
    }
    .product-card {
        border-radius: 24px;
    }
    .product-card__thumb img {
        height: 260px;
    }
    .product-card .details {
        padding: 16px;
        gap: 10px;
    }
    .product-card__title {
        font-size: 1.15rem;
    }
    .product-card .buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-height: auto;
        width: 100%;
    }
    .product-card .buttons button,
    .product-card .buttons a {
        font-size: 0.95rem;
        height: 46px;
        padding: 12px;
        width: 100%;
    }
}

.product-card {
    border-radius: 30px;
    overflow: hidden;
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-soft);
}

.product-card__thumb {
    display: block;
    overflow: hidden;
}

.product-card__thumb img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__thumb img {
    transform: scale(1.05);
}

.product-card .details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.product-card__attributes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.product-attribute {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.modal-attributes {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.95rem;
}

.modal-attributes li {
    color: var(--text-muted);
}

.modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

#product-config-form .modal-field {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 14px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] #product-config-form .modal-field {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(92, 37, 34, 0.12);
    box-shadow: 0 18px 32px rgba(92, 37, 34, 0.16);
}

#product-config-form .modal-field label {
    font-weight: 600;
    color: var(--text-primary);
}

html[data-theme="light"] #product-config-form .modal-field label {
    color: #5c251f;
}

#product-config-form .modal-field select {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23f2b544' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

html[data-theme="light"] #product-config-form .modal-field select {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(92, 37, 34, 0.25);
    color: #3b1d15;
}

.category-tags,
.sweetness-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag,
.sweetness-tag {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: var(--frosted-surface);
    border: 1px solid var(--glass-border);
}

.category-label {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--accent-strong, #c53030);
    margin-bottom: 2px;
}

.product-card__title {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    margin: 4px 0 8px;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card__title a:hover {
    color: var(--accent);
}

.product-card__excerpt {
    color: var(--text-muted);
    margin: 0 0 8px;
}

.product-card__status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(185, 28, 28, 0.12);
    color: #b91c1c;
    margin-bottom: 6px;
}

.product-card__soldout-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-block;
    margin-left: 8px;
}

.product-card p,
.product-card .volume,
.product-card .alcohol-degree {
    color: var(--text-muted);
}

.price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
    margin-top: auto;
    margin-bottom: 12px;
}

.price--discount {
    display: grid;
    grid-auto-flow: row;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
}

.price--discount .original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.7;
}

.price--discount .discounted-price {
    color: #ff6b6b;
    font-size: 1.1rem;
    font-weight: 700;
}

.price--discount .discounted-price,
.price--discount .original-price,
.price--discount .discount-until {
    display: block;
}

.price .discount-until {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.current-price {
    color: var(--text-primary);
}

.product-card .buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    min-height: 54px;
    margin-top: 0;
}

.product-card .buttons button,
.product-card .buttons a {
    border: none;
    border-radius: 16px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.description-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

html[data-theme="light"] .description-btn {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(92, 41, 33, 0.2);
    box-shadow: 0 14px 25px rgba(92, 41, 33, 0.12);
}

.description-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-strong);
    border-color: var(--accent-strong);
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

.add-to-cart {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #0b0d1a;
    box-shadow: 0 15px 35px rgba(242, 181, 68, 0.35);
    border: none;
    border-radius: 18px;
    padding: 12px 22px;
    font-weight: 600;
    width: 100%;
}

.product-detail__actions .add-to-cart {
    font-size: 1.05rem;
    padding: 14px 26px;
}

.add-to-cart:hover {
    transform: translateY(-2px);
}

.no-products {
    text-align: center;
    padding: 40px;
    border-radius: 25px;
    background: var(--frosted-surface);
    border: 1px solid var(--glass-border);
}

.list-load-trigger {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    width: 100%;
}

.list-load-trigger.hidden {
    display: none !important;
}

.product-detail {
    padding: 120px 0 80px;
}

.product-detail__shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: flex-start;
}

.product-detail__media,
.product-detail__info {
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.product-detail__media {
    padding: 32px;
}

.product-detail__image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-detail__image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.product-detail__thumbnails {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-detail__thumb {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 4px;
    background: rgba(8, 12, 24, 0.6);
    cursor: pointer;
    transition: border 0.2s ease, transform 0.2s ease;
}

.product-detail__thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.product-detail__thumb.active {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.product-detail__info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-detail__info h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.2;
}

.product-detail__back {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.product-detail__category {
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.product-detail__excerpt {
    color: var(--text-muted);
    font-size: 1rem;
}

@media (min-width: 1200px) {
    .product-detail__info h1 {
        font-size: clamp(1.5rem, 2.5vw, 2.05rem);
    }

    .product-detail__excerpt {
        font-size: 0.95rem;
    }

    .product-detail__actions .add-to-cart {
        font-size: 1rem;
    }
}

.product-detail__price {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: baseline;
}

.product-detail__price-old {
    text-decoration: line-through;
    color: var(--text-muted);
}

.product-detail__price-current {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--accent);
}

.product-detail__price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-detail__stock {
    font-weight: 600;
    color: #b91c1c;
    margin: 8px 0 4px;
}

.product-detail__actions--disabled {
    border: 1px dashed rgba(185, 28, 28, 0.4);
    border-radius: 16px;
    padding: 14px;
    margin: 12px 0;
    background: rgba(185, 28, 28, 0.08);
}

.product-detail__stock-note {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-detail__attributes {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.product-detail__attributes li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .product-detail__attributes li {
    border-bottom: 1px solid rgba(93, 47, 39, 0.35);
}

.product-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail__full {
    margin-top: 10px;
}

.product-detail__full h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.product-detail__empty {
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow);
}

.product-detail__empty p {
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .product-detail__shell {
        grid-template-columns: 1fr;
    }
    .product-detail__media,
    .product-detail__info {
        padding: 24px;
    }
}

.modal,
.fullscreen-img,
.cart-modal {
    position: fixed;
    inset: 0;
    background: var(--overlay-color);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--solid-surface);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    width: min(640px, 94vw);
    max-height: 90vh;
    overflow: auto;
    padding: clamp(22px, 5vw, 28px);
    box-shadow: var(--shadow);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    scrollbar-gutter: stable;
    position: relative;
}

#checkout-modal .modal-content {
    max-height: 90vh;
}

.cart-panel {
    background: var(--solid-surface);
    border-radius: 34px;
    border: 1px solid var(--glass-border);
    width: min(960px, 94%);
    max-height: 90vh;
    padding: clamp(24px, 5vw, 36px);
    box-shadow: var(--shadow);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(12px, 3vw, 18px);
    gap: 12px;
    width: 100%;
}

.modal-header .close-modal {
    margin-left: auto;
}

.close-modal,
.close-cart {
    border: 1px solid rgba(92, 37, 34, 0.2);
    border-radius: 14px;
    width: 42px;
    height: 42px;
    background: var(--frosted-surface);
    color: var(--text-primary);
    font-size: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    min-width: 42px;
    min-height: 42px;
}

@media (max-width: 768px) {
    .modal-content {
        width: min(96vw, 560px);
        padding: clamp(16px, 4vw, 22px);
        max-height: 88vh;
        scrollbar-gutter: stable;
    }
    #checkout-modal .modal-content {
        width: min(97vw, 580px);
        max-height: 90vh;
        overflow: auto;
        padding: clamp(16px, 4vw, 22px);
    }
    #checkout-modal .modal-header {
        align-items: flex-start;
        gap: 8px;
    }
    #checkout-modal .close-modal {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
        min-width: 42px;
        min-height: 42px;
    }
    #checkout-modal form input,
    #checkout-modal form textarea,
    #checkout-modal form select {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
    }
    #checkout-modal .order-item {
        width: 100%;
        grid-template-columns: 68px 1fr;
        padding: 12px 14px 12px 12px;
    }
    #checkout-modal .order-item-head-actions .order-item-remove {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 12px;
    }
    #checkout-modal .order-item-remove {
        right: 8px;
        top: 8px;
        transform: translate(25%, -25%);
    }
}

#checkout-modal .modal {
    align-items: center;
}

@media (max-width: 640px) {
    #checkout-modal .modal {
        align-items: flex-start;
    }
    #checkout-modal .modal-content {
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        padding: 14px 16px 18px;
        overflow: auto;
    }
    #checkout-modal .modal-header {
        padding-right: 8px;
    }
    #checkout-modal .modal-body--checkout {
        padding: 0 8px;
        grid-template-columns: 1fr;
    }
    .cart-modal {
        align-items: flex-start;
    }
    .cart-modal .cart-panel {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 14px 16px 18px;
        overflow: auto;
    }
    #product-config-modal {
        align-items: flex-start;
    }
    #product-config-modal .modal-content {
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        padding: 18px 18px 24px;
        overflow: auto;
    }
    #product-config-modal .modal-header {
        padding-right: 8px;
    }
    .checkout-page {
        padding: 12px 14px 32px;
    }
    .checkout-page__head {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .checkout-page__head h1 {
        order: 1;
    }
    .checkout-back {
        order: 2;
        margin-top: 4px;
        align-self: flex-start;
    }
    .checkout-page__grid {
        grid-template-columns: 1fr;
    }
}
#checkout-modal .modal-content::-webkit-scrollbar {
    width: 4px;
}
#checkout-modal .modal-content::-webkit-scrollbar-track {
    margin-block: 0;
    background: transparent;
}

.close-modal::before,
.close-modal::after,
.close-cart::before,
.close-cart::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.close-modal::before,
.close-cart::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-modal::after,
.close-cart::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-modal:hover,
.close-cart:hover {
    color: var(--accent-strong);
    border-color: rgba(242, 181, 68, 0.8);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

html[data-theme="dark"] .close-modal,
html[data-theme="dark"] .close-cart {
    background: rgba(8, 10, 18, 0.8);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .close-modal:hover,
html[data-theme="dark"] .close-cart:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.close-fullscreen {
    font-size: 0;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
}

.close-fullscreen::before,
.close-fullscreen::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.close-fullscreen::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-fullscreen::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-fullscreen:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.fullscreen-img .close-fullscreen {
    position: absolute;
    top: 30px;
    right: 40px;
}

html[data-theme="dark"] .close-fullscreen {
    background: rgba(8, 10, 18, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.65);
}

.modal-body {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.modal-image img {
    width: 240px;
    border-radius: 20px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cart-body {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 24px;
}

.cart-items-wrapper {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: 0;
}

.cart-items {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "thumb details remove";
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.cart-item-thumb {
    grid-area: thumb;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--frosted-surface);
    box-shadow: var(--shadow);
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-details {
    grid-area: details;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.empty-cart-message {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.cart-items .item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.cart-items .item-bottle-type {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cart-items .item-price {
    color: var(--accent);
    min-width: 100px;
    text-align: right;
}

.remove-item {
    grid-area: remove;
    border: 1px solid var(--glass-border);
    background: transparent;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    color: var(--text-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.remove-item:hover {
    color: var(--accent-strong);
    border-color: var(--accent-strong);
    transform: translateY(-1px);
}

.cart-summary {
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-summary h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 640px) {
    .cart-modal {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        background: var(--solid-surface);
    }

    .cart-panel {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        padding: 14px 16px 18px;
        border-radius: 0;
        gap: 16px;
        overflow: auto;
        box-shadow: none;
        border: none;
    }

    .cart-body {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cart-items-wrapper {
        max-height: none;
        padding-right: 0;
        margin-right: 0;
    }

    .cart-item {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "thumb details";
        align-items: flex-start;
        padding-bottom: 18px;
        margin-bottom: 8px;
        padding-right: 48px;
    }

    .cart-item .remove-item {
        position: absolute;
        top: 12px;
        right: 0;
        grid-area: auto;
        justify-self: flex-end;
    }

    .cart-item-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-summary {
        padding: 18px 16px;
    }

    .summary-row strong {
        min-width: auto;
    }

    .cart-actions {
        gap: 10px;
    }

    .checkout-btn,
    .clear-cart-btn {
        margin-top: 0;
    }

    .cart-item {
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-areas:
            "thumb details"
            "remove remove";
    }

    .cart-item-thumb {
        width: 56px;
        height: 56px;
    }

    .cart-items .item-price {
        min-width: 0;
        text-align: left;
    }
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-muted);
    gap: 12px;
}

.summary-row span {
    flex: 1;
}

.summary-row strong {
    color: var(--text-primary);
    margin-left: 12px;
    min-width: 110px;
    text-align: right;
}

.summary-row.highlight {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.min-order-alert {
    margin-top: 10px;
    text-align: center;
    color: var(--accent-strong);
    font-weight: 600;
}

.min-order-note-static {
    margin-top: 8px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.input-with-suggestions {
    position: relative;
}

.np-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--panel-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 30;
}

.np-suggestions.active {
    display: block;
}

.np-suggestion {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    text-align: left;
    padding: 10px 14px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.np-suggestion + .np-suggestion {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.np-suggestion:hover {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .np-suggestions {
    background: rgba(6, 10, 20, 0.95);
    border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .np-suggestions {
    background: rgba(255,255,255,0.95);
    border-color: rgba(92,40,33,0.25);
}

html[data-theme="light"] .np-suggestion {
    color: #3a1d15;
}

html[data-theme="light"] .np-suggestion:hover {
    background: rgba(92,40,33,0.08);
}

html[data-theme="light"] .np-suggestion + .np-suggestion {
    border-color: rgba(92, 40, 33, 0.12);
}

.order-items {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.order-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 16px 12px 12px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

html[data-theme="light"] .order-item {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(92, 37, 34, 0.2);
}

.order-item-thumb img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
}

.order-item-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.order-item-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    align-self: flex-start;
}

.order-item-remove {
    border: 1px solid rgba(92, 37, 34, 0.2);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 12px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    display: grid;
    place-items: center;
    transition: var(--transition);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}

.order-item-remove:hover {
    color: var(--accent-strong);
    border-color: rgba(242, 181, 68, 0.8);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

html[data-theme="dark"] .order-item-remove {
    background: rgba(6, 10, 20, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .order-item-remove:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.order-item-meta {
    margin: 0;
    color: var(--text-muted);
}

.order-item-price {
    margin: 0;
    font-weight: 600;
}

.order-item-qty {
    margin-top: 6px;
}

.order-item-qty.quantity-control {
    width: auto;
    justify-content: center;
    padding: 6px 14px;
    gap: 12px;
    align-self: flex-start;
    min-width: 0;
}

.order-item-qty.quantity-control .qty-btn {
    width: 32px;
    height: 32px;
}

.order-item-qty-input {
    width: 42px;
    text-align: center;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-btn,
.clear-cart-btn,
.styled-btn,
button[type="submit"] {
    border: none;
    border-radius: 18px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0a0c18;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.clear-cart-btn {
    background: var(--control-surface);
    color: var(--text-primary);
}

.clear-cart-btn:hover {
    background: var(--frosted-strong);
}

.checkout-btn:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
}

.modal-scroll-area {
    flex: 1;
    overflow-y: visible;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 0;
    scrollbar-gutter: auto;
}

.modal-body--checkout {
    flex: 1;
    overflow: visible;
    padding: 0 clamp(16px, 4vw, 22px);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(14px, 3vw, 18px);
}

.order-summary,
.checkout-form-shell {
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: clamp(14px, 3vw, 18px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.order-summary__header h3 {
    margin: 0 0 10px;
}

.order-summary__totals p {
    margin: 6px 0;
    padding: 10px 12px;
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.65);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
html[data-theme="dark"] .order-summary__totals p {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(148, 163, 184, 0.4);
    color: #e5e7eb;
}

.order-summary__totals p:first-of-type {
    display: none;
}

.order-summary__totals p:last-of-type {
    font-size: 1.05rem;
}

.order-summary__totals p span {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}
html[data-theme="dark"] .order-summary__totals p span {
    color: rgba(226, 232, 240, 0.8);
}

.order-summary__totals p strong {
    font-weight: 700;
    color: var(--text-primary);
}
html[data-theme="dark"] .order-summary__totals p strong {
    color: #e5e7eb;
}

.checkout-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(18px, 5vw, 32px) clamp(14px, 4vw, 32px) 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkout-page__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkout-page__head h1 {
    margin: 0;
    font-size: clamp(1.6rem, 2.8vw, 2rem);
}

.checkout-back {
    border: 1px solid var(--glass-border);
    background: var(--frosted-surface);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-primary);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    align-self: flex-start;
}
html[data-theme="dark"] .checkout-back {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.4);
    color: #e5e7eb;
}

.checkout-back:hover {
    border-color: var(--accent-strong);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.checkout-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.order-summary--page,
.checkout-form-shell--page {
    width: 100%;
}

.checkout-success {
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(244, 225, 209, 0.8), rgba(255, 255, 255, 0.85));
    color: #3a1f1f;
    font-weight: 600;
    display: none;
    box-shadow: 0 10px 22px rgba(242, 181, 68, 0.2);
    border: 1px solid rgba(255,255,255,0.4);
}

.checkout-success.active {
    display: block;
}
html[data-theme="dark"] .checkout-success {
    background: linear-gradient(135deg, rgba(29,78,216,0.22), rgba(15,23,42,0.6));
    color: #e5e7eb;
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35);
}

.order-success-items {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
html[data-theme="dark"] .order-success-items {
    background: rgba(21, 30, 51, 0.85);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.55);
}

.order-success-items h4 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.order-success-items__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.order-success-items__list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.order-success-items__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-success-items__meta {
    font-weight: 600;
    white-space: nowrap;
}

.order-success-items__details {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.checkout-suggestion {
    margin-top: 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px dashed var(--glass-border);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.8);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 12px 24px rgba(0,0,0,0.06);
}
html[data-theme="dark"] .checkout-suggestion {
    background: rgba(36, 44, 70, 0.92);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 24px rgba(0,0,0,0.45);
}

.checkout-suggestion__thumb img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.checkout-suggestion__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-primary);
}
html[data-theme="dark"] .checkout-suggestion__body {
    color: #e5e7eb;
}

.checkout-suggestion__label {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}
html[data-theme="dark"] .checkout-suggestion__label {
    color: rgba(226, 232, 240, 0.75);
}

.checkout-suggestion__price {
    color: var(--accent-strong);
    font-weight: 700;
}
html[data-theme="dark"] .checkout-suggestion__price {
    color: #f97316;
}

.checkout-suggestion__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.checkout-suggestion__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-strong);
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #0b0d1a;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 52px;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(242, 181, 68, 0.35);
    transition: var(--transition);
    width: 100%;
}

.checkout-suggestion__btn:hover {
    transform: translateY(-1px);
}

.checkout-suggestion__btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px dashed var(--glass-border);
    box-shadow: none;
}
html[data-theme="dark"] .checkout-suggestion__btn--ghost {
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.45);
}

.checkout-form-shell form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 13px 15px;
    margin-bottom: 16px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 10px 22px rgba(0,0,0,0.25);
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23f2b544' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    padding-right: 44px;
}

input[type="text"],
input[type="tel"] {
    background-image: none;
    padding-right: 15px;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(242, 181, 68, 0.45);
}

select option {
    background: var(--panel-surface);
    color: var(--text-primary);
    font-weight: 500;
}

html[data-theme="light"] select option {
    background: rgba(255, 255, 255, 0.98);
    color: #3a1d15;
}

.site-select {
    position: relative;
    width: 100%;
}

.site-select__original {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.site-select__toggle {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--glass-border);
    background: var(--panel-surface);
    color: var(--text-primary);
    padding: 14px 48px 14px 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    min-height: 52px;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 12px 28px rgba(0,0,0,0.35);
}

.site-select__label {
    flex: 1;
    text-align: left;
}

.site-select--empty .site-select__label {
    color: var(--text-muted);
}

.site-select.is-open .site-select__toggle {
    border-color: rgba(242, 181, 68, 0.85);
    box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.25);
}

.site-select__toggle:focus-visible {
    outline: none;
    border-color: rgba(242, 181, 68, 0.85);
    box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.25);
}

.site-select__caret {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-select__caret svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.site-select.is-open .site-select__caret svg {
    transform: rotate(180deg);
}

.site-select__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: rgba(8, 9, 18, 0.95);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: 260px;
    overflow-y: auto;
    z-index: 60;
}

.site-select.is-open .site-select__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-select__options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.site-select__option {
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 500;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, border 0.2s ease;
}

.site-select__option:hover {
    background: rgba(255, 255, 255, 0.15);
}

.site-select__option--selected {
    border-color: rgba(242, 181, 68, 0.8);
    background: rgba(242, 181, 68, 0.15);
}

.site-select__option[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.site-select.is-disabled .site-select__toggle {
    opacity: 0.5;
    cursor: not-allowed;
}

html[data-theme="light"] .site-select__toggle {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(88, 32, 27, 0.25);
    color: #3b1d15;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 12px 24px rgba(92, 37, 31, 0.18);
}

html[data-theme="light"] .site-select__dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(92, 37, 31, 0.15);
    box-shadow: 0 25px 40px rgba(128, 60, 51, 0.18);
}

html[data-theme="light"] .site-select__option {
    color: #3b1d15;
    border-color: rgba(242, 181, 68, 0.3);
}

html[data-theme="light"] .site-select__option:hover {
    background: rgba(242, 181, 68, 0.15);
}

html[data-theme="light"] .site-select__option--selected {
    background: rgba(242, 181, 68, 0.25);
    border-color: rgba(242, 181, 68, 0.45);
}

html[data-theme="dark"] .site-select__dropdown {
    background: rgba(10, 14, 25, 0.96);
    border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .site-select__option {
    color: #f8f7ff;
}

html[data-theme="dark"] .site-select__option:hover {
    background: rgba(248, 250, 255, 0.12);
}

html[data-theme="dark"] .site-select__option--selected {
    background: rgba(242, 181, 68, 0.25);
    border-color: rgba(242, 181, 68, 0.5);
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: var(--text-muted);
}

.added-to-cart-message {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-160px);
    padding: 14px 26px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.82));
    color: #2d1b15;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    min-width: 240px;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
    z-index: 4000;
    pointer-events: none;
    opacity: 0;
}

.added-to-cart-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

#contacts {
    padding-bottom: 120px;
}

.contacts-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    border-radius: 24px;
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.contact-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--accent), var(--accent-strong));
    color: #0b0c14;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card__label {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.contact-card__value {
    margin: 4px 0 0;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.5;
    word-break: break-word;
}

.contact-card__value a {
    color: inherit;
    word-break: break-word;
}

.contact-map {
    margin-top: 32px;
}

.contact-map h3 {
    text-align: center;
    margin-bottom: 16px;
}

.map-frame {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.map-frame iframe {
    width: 100%;
    min-height: 260px;
    height: clamp(220px, 32vw, 320px);
    border: 0;
    display: block;
}

.contact-card--accent {
    background: linear-gradient(140deg, rgba(242, 181, 68, 0.18), rgba(255, 107, 107, 0.18));
    border-color: rgba(242, 181, 68, 0.4);
}

.contact-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.contact-panel {
    border-radius: 28px;
    padding: 28px;
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-panel h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.contact-panel p {
    color: var(--text-muted);
    margin: 0;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.hours-list li span {
    color: var(--text-muted);
    font-weight: 500;
}

.hours-list li strong {
    color: var(--text-primary);
}

.hours-list li:last-child {
    border-bottom: none;
}

html[data-theme="light"] .hours-list li {
    border-bottom: 1px solid rgba(92, 37, 34, 0.12);
}

.hours-note {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
}

html[data-theme="light"] .social-links a:hover {
    color: #4b1f18;
}

.social-links--panel a {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    background: var(--frosted-surface);
    transition: var(--transition);
}

.social-links--panel a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

html[data-theme="light"] .social-links--panel a:hover {
    color: #4b1f18;
    border-color: rgba(75, 31, 24, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .contact-card,
html[data-theme="light"] .contact-panel {
    border-color: rgba(173, 110, 92, 0.25);
}

html[data-theme="light"] .contact-card__icon {
    box-shadow: 0 10px 18px rgba(173, 110, 92, 0.35);
}


footer {
    background: var(--panel-surface);
    border-top: 1px solid var(--glass-border);
    padding: 0;
}

.footer-meta {
    padding: 24px 0;
    border-top: 1px solid rgba(248, 250, 252, 0.08);
    text-align: center;
    color: var(--text-muted);
}

.footer-meta__grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-meta__grid p {
    margin: 0;
}

.footer-meta__grid a {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-meta__grid a:hover {
    background: var(--accent-strong);
    color: #0b0c14;
    border-color: transparent;
}

html[data-theme="light"] footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .footer-meta {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.static-page {
    max-width: 860px;
    margin: 80px auto 40px;
    color: var(--text-primary);
}

.static-head h1 {
    margin-bottom: 12px;
}

.static-head p {
    color: var(--text-muted);
}

.static-article section {
    margin-bottom: 24px;
    background: var(--card-surface);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 20px;
}

.static-article h2 {
    margin-top: 0;
}

.static-article ul {
    padding-left: 20px;
}

.static-article a {
    color: var(--accent);
}

.fullscreen-img img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

@media (max-width: 992px) {
    .navbar {
        border-radius: 24px;
        overflow: visible;
    }

    .navbar .container {
        gap: 16px;
    }

    .logo {
        order: 1;
        flex: 1 1 auto;
    }

    .nav-controls {
        order: 2;
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .nav-actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .theme-toggle,
    .cart {
        width: auto;
        padding: 8px 18px;
    }

    .navbar ul {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }


    .hamburger {
        display: flex;
        margin-left: 6px;
    }

    .nav-spacer--info {
        margin: 24px auto;
    }

    body {
        padding-top: 160px;
    }

    .promo-banner {
        padding: 50px 30px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .hamburger {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 94%;
        padding: 12px 16px;
        border-radius: 18px;
        overflow: visible;
    }

    .navbar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        position: relative;
    }

    .logo {
        width: 100%;
    }

    .nav-controls {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .hamburger {
        order: 1;
    }

    .nav-actions {
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }

    .navbar ul {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        font-size: 0.95rem;
        background: transparent;
        border-radius: 20px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
        align-self: stretch;
        border: 1px solid transparent;
        opacity: 0;
        transform: translateY(-20px);
        margin-top: 0;
    }

    .navbar ul.active {
        max-height: 320px;
        padding: 12px 0;
        opacity: 1;
        transform: translateY(0);
        background: var(--panel-surface);
        border-color: var(--glass-border);
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar ul li a {
        width: 100%;
        justify-content: flex-start;
    }

    .promo-banner {
        margin-top: 28px;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: flex-start;
        border-radius: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-info-bar {
        grid-template-columns: 1fr;
    }

    .cart-body {
        grid-template-columns: 1fr;
    }

    .cart-items-wrapper {
        max-height: 280px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 130px;
    }

    section {
        padding: 30px 0;
    }

    .container {
        width: 100%;
        padding-inline: 14px;
    }

    .navbar {
        width: calc(100% - 18px);
        padding: 12px 14px;
        border-radius: 16px;
    }

    .promo-banner {
        width: calc(100% - 20px);
        border-radius: 24px;
        padding: 24px 18px;
        margin-top: 32px;
    }

    .promo-banner::after {
        top: auto;
        bottom: -110px;
        right: 50%;
        transform: translateX(50%);
        width: 240px;
        height: 240px;
    }

    .product-card__thumb img {
        height: 260px;
    }

    .promotion-slide {
        padding: 18px 18px 96px;
    }

    .slider-caption {
        position: static;
        margin-top: 16px;
        transform: none;
        align-self: flex-start;
    }

    .hero-actions {
        flex-direction: column;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .cart-panel {
        padding: 24px;
    }

    .cart-item {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "thumb details"
            "thumb remove";
        gap: 10px;
    }

    .cart-item-thumb {
        width: 52px;
        height: 52px;
    }

    .cart-item-meta {
        justify-content: space-between;
    }

    .remove-item {
        justify-self: flex-end;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-panel {
        padding: 20px;
    }

    .hero-info-bar {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .hero-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-controls {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

    .nav-actions {
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .theme-toggle,
    .cart {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    .cart .badge {
        font-size: 0.7rem;
    }
}
    .product-card .buttons {
        grid-template-columns: 1fr 1fr;
    }
.about-content.collapsed {
    padding: 0;
}
.about-toggle.open i {
    transform: rotate(180deg);
}
.about-toggle.open i {
    transform: rotate(180deg);
}
