/* Helvetica Neue Cond */
@font-face {
    font-family: 'Helvetica Neue Cond';
    src: url('/fonts/Helvetica-Neue Cond.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue Cond';
    src: url('/fonts/Helvetica-Neue Cond Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Design Tokens */
:root {
    /* Colors */
    --color-white: #FFFFFF;
    --color-black: #1D1F1F;
    --color-green: #01754A;
    --color-green-bg: #000000;
    --color-light-green: #1E1E1E;
    --color-gray: #8a9a8a;
    --color-gray-bg: #1a3d22;
    --color-beige: #003700;

    /* Typography */
    --font-family: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
}

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

body {
    font-family: var(--font-family);
    font-family: var(--font-family);
       background: var(--color-green-bg) url('/images/catalog-bgrt.jpeg') center/cover no-repeat;
    color: var(--color-black);
    line-height: 1.5;
    overflow-x: hidden;
    color: var(--color-black);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    z-index: 1000;
    transition: background 0.5s ease, height 0.4s ease;
}

.header.scrolled {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 70px;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 0;
    transition: width 0.4s ease, height 0.4s ease;
    top: 10px;
}

.header.scrolled .header-logo {
    width: 50px;
    height: 50px;
    border-radius: 0;
    top: 10px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-nav {
    display: none;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.header-contact {
    text-align: right;
}

.contact-phone {
    font-size: 30px;
    color: var(--color-gray);
    margin-bottom: 5px;
}

.contact-address {
    font-size: 16px;
    color: var(--color-white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Ken Burns zoom for hero slides */
@keyframes kenburns-hero {
    0%   { transform: scale(1)    translateZ(0); }
    100% { transform: scale(1.08) translateZ(0); }
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    animation: kenburns-hero 20s ease-in-out infinite alternate;
}
@media (max-width: 1024px) {
    .hero-slide {
        /* Uses per-slide --mp CSS variable set inline; falls back to center center */
        background-position: var(--mp, center center);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    color: var(--color-white);
    font-size: 80px;
    line-height: 1;
    margin: 0;
}

.title-normal {
    font-weight: 400;
    font-style: normal;
}

.title-italic {
    font-weight: 200;
    font-style: italic;
    margin: 0 15px;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--color-white);
}

/* Video overlay for hero-video */
.hero-video .video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}

/* Tagline Section between hero and catalog */
.tagline-section {
    padding: 80px 40px;
    text-align: center;
    background: var(--color-beige);
}

.hero-tagline {
    color: var(--color-white);
    font-size: 48px;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 2px;
}

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    background: #000;
}

.video-bg-player {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.video-bg-player.active {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    z-index: 1;
    transition: background 0.5s ease;
    cursor: pointer;
    border-radius: 0;
}

.video-section.playing .video-overlay {
    background: rgba(0,0,0,0);
}

/* Hover hint (play icon centered) */
.video-hover-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.video-hover-mode {
    cursor: pointer;
}

.video-hover-mode .video-overlay {
    background: rgba(0,0,0,0.35);
    transition: background 0.4s ease;
}

.video-hover-mode.playing .video-overlay {
    background: rgba(0,0,0,0.05);
}

.video-hover-mode.playing .video-hover-hint {
    opacity: 0;
}

/* Catalog Section */
.catalog-section {
    background: var(--color-green-bg);
    padding: 50px 70px 100px;
    border-radius: 0;
    position: relative;
    z-index: 1;
    /* Scroll reveal effect */
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.catalog-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.catalog-header {
    text-align: center;
    margin-bottom: 30px;
}

.catalog-title {
    font-size: 30px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 10px;
}

.catalog-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    color: var(--color-white);
}

.filter-label {
    font-weight: 300;
    text-transform: uppercase;
}

.filter-link {
    color: var(--color-white);
    text-decoration: underline;
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
}

.filter-inactive {
    opacity: 0.5;
    font-weight: 300;
    text-transform: uppercase;
}

.filter-separator {
    opacity: 0.5;
}

/* Filter Dropdowns */
.filter-dropdowns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.filter-dropdowns-two {
    grid-template-columns: repeat(2, 1fr);
}

.filter-select {
    background: rgba(255,255,255,0.1);
    border: none;
    border-bottom: 2px solid var(--color-beige);
    color: var(--color-white);
    padding: 10px 15px;
    font-size: 16px;
    font-family: var(--font-family);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='10' viewBox='0 0 20 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.34 0L10 7.5L18.66 0L20 1.25L10 10L0 1.25L1.34 0Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

.filter-select option {
    background: var(--color-black);
    color: var(--color-white);
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-bottom: 50px;
}

.product-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* Catalog card: static image, slight slide on hover */
.product-image img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: translateX(7px) scale(1.02);
}

/* Card-level image dots */
.card-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.card-dot.active {
    background: #fff;
}

/* Card-level arrows */
.card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .card-arrow {
    opacity: 1;
}

.card-arrow-left {
    left: 10px;
}

.card-arrow-right {
    right: 10px;
}

.product-image {
    position: relative;
    aspect-ratio: 841 / 566;
    height: auto;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.35s ease;
}

/* Fade transition class for JS-driven image switch */
.product-image img.img-fade-out {
    opacity: 0;
    transition: opacity 0.25s ease;
}
.product-image img.img-fade-in {
    opacity: 1;
    transition: opacity 0.35s ease;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.product-info {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-name-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-name {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-white);
}

.product-discount {
    background: var(--color-green);
    color: var(--color-white);
    padding: 2px 3px;
    font-size: 12px;
    border-radius: 3px;
}

.product-price-wrapper {
    text-align: right;
}

.product-price {
    font-size: 28px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 5px;
}

.product-price-old {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.5;
    text-decoration: line-through;
}

/* Contact Section */
.contact-section {
    padding: 100px 70px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('/images/contact-bg.png') center/cover no-repeat;
    position: relative;
}

.contact-title {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 40px;
    color: var(--color-white);
}

.contact-subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 50px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 687px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--color-white);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    opacity: 1;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.checkbox-group input[type="checkbox"] {
    width: 25px;
    height: 25px;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* Captcha — bright on dark background */
.captcha-group .captcha-label {
    color: #fff !important;
    opacity: 1;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.captcha-input {
    opacity: 1 !important;
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.85) !important;
    background: rgba(255,255,255,0.08) !important;
    padding-left: 10px !important;
    border-radius: 4px 4px 0 0;
}
.captcha-input::placeholder {
    color: rgba(255,255,255,0.55) !important;
}
/* Remove browser number input arrows */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-input[type=number] { -moz-appearance: textfield; }

.submit-btn {
    background: var(--color-green);
    color: var(--color-white);
    border: none;
    padding: 24px 38px;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--color-light-green);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #000000;
    padding: 50px 70px;
    position: relative;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-logo {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 0;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-contact {
    text-align: right;
}

.footer-phone {
    font-size: 30px;
    color: var(--color-white);
    margin-bottom: 10px;
}

.footer-address {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    padding: 50px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #164926 url('/images/modal-bg.jpg') center/cover no-repeat;
    border-radius: 0;
    position: relative;
    max-width: 1460px;
    width: 100%;
    padding: 60px 70px;
}

.modal-close {
    position: absolute;
    top: 50px;
    right: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    padding: 0;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.modal-gallery {
    position: relative;
}

.gallery-main {
    width: 100%;
    height: 600px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
    background: #164926


    
}


.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-dot.active {
    background: var(--color-green);
}

/* Modal gallery arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

.modal-gallery:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.gallery-arrow-left {
    left: 16px;
}

.gallery-arrow-right {
    right: 16px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-title {
    font-size: 60px;
    font-weight: 400;
    color: var(--color-white);
    text-align: center;
}

/* Kitchen name in modal (replaces color swatches) */
.modal-kitchen-name {
    text-align: center;
}

.kitchen-name-label {
    font-size: 22px;
    font-weight: 300;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-label {
    font-size: 18px;
    text-transform: uppercase;
    opacity: 0.5;
    color: var(--color-white);
}

/* Form textarea */
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--color-white);
    opacity: 0.5;
    transition: opacity 0.3s;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    opacity: 1;
}

.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.modal-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-new {
    font-size: 46px;
    font-weight: 400;
    color: #ffffff;
}

.price-old {
    font-size: 24px;
    color: var(--color-white);
    opacity: 0.5;
    text-decoration: line-through;
}

.modal-material,
.modal-description {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
}

.info-value {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

/* Color swatches in modal */
.modal-colors {
    display: flex;
    align-items: center;
    gap: 15px;
}

.color-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    cursor: default;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.modal-note {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.5;
}

.modal-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.modal-actions-two {
    grid-template-columns: repeat(2, 1fr);
}

.action-btn {
    padding: 24px 20px;
    border: none;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-family);
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 0;
}

.btn-primary:hover {
    background: var(--color-light-green);
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--color-light-green);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-green);
    transform: scale(1.05);
}

/* Order Dialog Popup */
.order-dialog-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-dialog-overlay.active {
    display: flex;
}

.order-dialog {
    background: #000 url('/images/modal-bg.jpg') center/cover no-repeat;
    border-radius: 0;
    padding: 50px 55px;
    max-width: 700px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.order-dialog-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    padding: 0;
}

.order-dialog-close:hover {
    opacity: 1;
}

.order-dialog-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    color: var(--color-white);
}

.order-dialog-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.order-dialog-product {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #4ade80;
    margin-bottom: 25px;
}

.order-dialog-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-form-group input,
.order-form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--color-white);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.order-form-group input:focus,
.order-form-group textarea:focus {
    outline: none;
    opacity: 1;
}

.order-form-group input::placeholder,
.order-form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.order-form-group textarea {
    resize: vertical;
}

.order-dialog-submit {
    background: var(--color-green);
    color: var(--color-white);
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-family);
    margin-top: 10px;
}

.order-dialog-submit:hover {
    background: var(--color-light-green);
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .order-dialog {
        padding: 30px 20px;
        border-radius: 0;
    }

    .order-dialog-title {
        font-size: 28px;
    }
}

/* Burger Button — always visible */
.burger-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.burger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger-line-green {
    background: var(--color-green);
    height: 4px;
}

/* Side Drawer Overlay */
.side-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-drawer-overlay.active {
    display: block;
    opacity: 1;
}

/* Side Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    left: -340px;
    width: 320px;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10001;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    overflow-y: auto;
}

.side-drawer.open {
    left: 0;
}

.side-drawer-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 50px;
}

.side-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 8px;
}

.side-drawer-close:hover {
    opacity: 1;
}

.side-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 50px;
}

.side-drawer-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: color 0.3s, padding-left 0.3s;
    padding-left: 0;
    border-left: 2px solid transparent;
    padding-left: 0;
}

.side-drawer-link:hover {
    color: var(--color-green);
    padding-left: 12px;
    border-left-color: var(--color-green);
}

.side-drawer-contact {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.side-drawer-phone {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 10px;
}

.side-drawer-address {
    font-size: 14px;
    color: var(--color-gray);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.load-more-btn {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-green);
    padding: 16px 50px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: var(--font-family);
}

.load-more-btn:hover {
    background: var(--color-green);
    color: #fff;
}

.hidden-card {
    display: none !important;
}

/* Advantages Section */
.advantages-section {
    background: var(--color-light-green);
    padding: 80px 70px;
    position: relative;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-title {
    font-size: 42px;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 300;
}

.advantages-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.advantage-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-green);
}

.advantage-icon {
    margin-bottom: 24px;
}

.advantage-icon svg {
    width: 48px;
    height: 48px;
}

.advantage-title {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.advantage-desc {
    color: var(--color-gray);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

/* About Page Styles */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: url('/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.about-hero-line {
    width: 60px;
    height: 2px;
    background: var(--color-green);
    margin: 0 auto 30px;
}

.about-hero-title {
    font-size: 48px;
    color: var(--color-white);
    font-weight: 300;
    margin-bottom: 16px;
}

.about-hero-subtitle {
    color: var(--color-gray);
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

.about-info-section {
    background: var(--color-green-bg);
    padding: 80px 70px;
}

.about-info-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 50px;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-block-line {
    width: 40px;
    height: 2px;
    background: var(--color-green);
    margin-bottom: 20px;
}

.about-block-title {
    font-size: 26px;
    color: var(--color-white);
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.about-block-text {
    color: var(--color-gray);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

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

    .filter-dropdowns {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    /* Header mobile — compact, burger menu, no shadow */
    .header {
        height: 60px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
        box-shadow: none;
    }

    .header.scrolled {
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: none;
    }

    .header-container {
        padding: 0 15px;
    }

    .header-logo {
        width: 70px;
        height: 70px;
        border-radius: 6px;
        top: 5px;
    }

    .header.scrolled .header-logo {
        width: 35px;
        height: 35px;
        top: 12px;
    }

    .header-contact {
        display: none;
    }

    .burger-btn {
        left: 15px;
    }

    .hero {
        height: 100vh;
    }

    .tagline-section {
        padding: 40px 15px;
    }

    .hero-tagline {
        font-size: 26px;
    }

    .hero-title,
    .contact-title {
        font-size: 36px;
    }

    .catalog-section {
        margin-top: 0;
    }

    .catalog-section {
        padding: 50px 15px;
        border-radius: 0;
    }

    .catalog-title {
        font-size: 22px;
    }

    /* Hide EURO/RUBLE filter on mobile */
    .catalog-filters {
        display: none;
    }

    /* Card arrows always visible on mobile (no hover) */
    .card-arrow {
        opacity: 0.8;
    }

    /* Modal mobile — fullscreen, image first and big */
    .modal {
        padding: 0;
        align-items: flex-start;
    }

    .modal.active {
        display: block;
        overflow-y: auto;
    }

    .modal-content {
        padding: 0 0 20px;
        border-radius: 0;
        min-height: 100vh;
        max-height: none;
        overflow-y: visible;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        z-index: 10;
        background: rgba(255,255,255,0.7);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-body {
        gap: 0;
    }

    /* Gallery mobile — full width, image fully visible */
    .modal-gallery {
        margin: 0;
    }

    .gallery-main {
        height: auto;
        border-radius: 0;
        margin-bottom: 8px;
        background: transparent;
    }

    .gallery-main img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .gallery-dots {
        justify-content: center;
        padding: 8px 0 15px;
    }

    .gallery-dot {
        width: 12px;
        height: 12px;
    }

    /* Modal info mobile — below image */
    .modal-info {
        gap: 12px;
        padding: 0 15px;
    }

    /* Kitchen name first, then title */
    .modal-kitchen-name {
        order: -1;
        margin-bottom: 0;
    }

    .kitchen-name-label {
        font-size: 14px;
        color: var(--color-gray);
    }

    .modal-title {
        font-size: 32px;
    }

    .modal-colors {
        gap: 10px;
    }

    .color-swatch {
        width: 24px;
        height: 24px;
    }

    .modal-price {
        align-items: center;
    }

    .price-new {
        font-size: 28px;
    }

    .price-old {
        font-size: 16px;
    }

    .modal-material,
    .modal-description {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .info-label {
        font-size: 14px;
    }

    .info-value {
        font-size: 14px;
    }

    .modal-note {
        font-size: 13px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 15px;
    }

    .action-btn {
        padding: 16px 20px;
        font-size: 14px;
    }

    /* Footer mobile */
    .footer {
        padding: 30px 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        width: 70px;
        height: 70px;
    }

    .footer-phone {
        font-size: 18px;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 24px;
    }

    .footer-link {
        font-size: 13px;
        white-space: nowrap;
    }

    /* Contact section mobile */
    .contact-section {
        padding: 50px 15px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    /* Product card mobile: keep aspect ratio responsive */

    .product-name {
        font-size: 18px;
    }

    .product-price {
        font-size: 20px;
    }

    .product-info {
        padding: 0 10px;
        flex-direction: column;
        gap: 5px;
    }

    .product-price-wrapper {
        text-align: left;
    }
}

/* ==========================================
   Materials Page (dark green theme)
   ========================================== */

/* Hero */
.materials-hero {
    position: relative;
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.materials-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(1,117,74,0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(1,117,74,0.04) 0%, transparent 30%);
}

.materials-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.materials-hero-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-green), transparent);
    margin: 0 auto 40px;
}

.materials-hero-title {
    font-size: 56px;
    font-weight: 200;
    color: #f5f5f0;
    letter-spacing: 0;
    margin-bottom: 24px;
    line-height: 1.2;
}

.materials-title-accent {
    color: var(--color-green);
}

.materials-hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #8a8a80;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section */
.materials-section {
    background: #0a0a0a;
    padding: 80px 70px;
}

.materials-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section header */
.materials-section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
}

.materials-header-line {
    flex: 1;
    height: 1px;
    background: #2a2a26;
}

.materials-section-title {
    font-size: 36px;
    font-weight: 200;
    color: #f5f5f0;
    white-space: nowrap;
}

/* Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.material-card {
    position: relative;
    background: linear-gradient(165deg, #1a1a18 0%, #121210 100%);
    border: 1px solid #2a2a26;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.5s cubic-bezier(0.16,1,0.3,1),
                border-color 0.3s;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-green), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.7),
                0 0 0 1px rgba(1,92,56,0.5);
    border-color: rgba(1,92,56,0.5);
}

.material-card:hover::before {
    opacity: 1;
}

.material-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.material-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.material-card:hover .material-card-image img {
    transform: scale(1.08);
}

.material-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
    pointer-events: none;
}

.material-card-body {
    padding: 24px;
}

.material-card-title {
    font-size: 22px;
    font-weight: 400;
    color: #f5f5f0;
    margin-bottom: 10px;
}

.material-card-desc {
    font-size: 14px;
    font-weight: 300;
    color: #8a8a80;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Tags */
.material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.material-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(1,117,74,0.1);
    border: 1px solid rgba(1,117,74,0.2);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-green);
    transition: all 0.3s;
}

.material-tag:hover {
    background: rgba(1,117,74,0.15);
    border-color: rgba(1,117,74,0.4);
}

/* Materials responsive - tablet */
@media (max-width: 1200px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .materials-hero-title {
        font-size: 42px;
    }

    .materials-section {
        padding: 60px 40px;
    }

    .materials-section-title {
        font-size: 28px;
    }
}

/* Materials responsive - mobile */
@media (max-width: 1024px) {
    .materials-hero {
        min-height: 70vh;
    }

    .materials-hero-title {
        font-size: 28px;
    }

    .materials-hero-subtitle {
        font-size: 14px;
    }

    .materials-section {
        padding: 40px 15px;
    }

    .materials-section-header {
        margin-bottom: 30px;
    }

    .materials-section-title {
        font-size: 22px;
    }

    .materials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .material-card-body {
        padding: 18px;
    }

    .material-card-title {
        font-size: 18px;
    }

    .material-card-desc {
        font-size: 13px;
    }

    .material-tag {
        font-size: 9px;
        padding: 5px 10px;
    }
}

/* About & Advantages responsive - mobile */
@media (max-width: 1024px) {
    .advantages-section {
        padding: 50px 15px;
    }

    .advantages-title {
        font-size: 28px;
    }

    .advantages-subtitle {
        font-size: 13px;
        margin-bottom: 40px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        padding: 30px 20px;
    }

    .advantage-title {
        font-size: 18px;
    }

    .about-hero {
        height: 50vh;
        min-height: 300px;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-subtitle {
        font-size: 14px;
    }

    .about-info-section {
        padding: 50px 15px;
    }

    .about-block-title {
        font-size: 22px;
    }

    .about-block-text {
        font-size: 15px;
    }

    /* Full-screen mobile menu */
    .side-drawer {
        width: 100vw;
        left: -100vw;
        padding: 0 40px;
        justify-content: center;
        overflow: hidden;
    }

    .side-drawer.open {
        left: 0;
    }

    .side-drawer-header {
        position: absolute;
        top: 24px;
        right: 24px;
        margin-bottom: 0;
    }

    .side-drawer-nav {
        gap: 40px;
        margin-bottom: 0;
        align-items: center;
        text-align: center;
    }

    .side-drawer-link {
        font-size: 30px;
        letter-spacing: 6px;
        border-left: none;
        padding-left: 0 !important;
    }

    .side-drawer-link:hover {
        padding-left: 0 !important;
        border-left-color: transparent;
    }

    .side-drawer-contact {
        position: static;
        padding: 25px 40px 20px;
        text-align: center;
        margin-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .side-drawer-phone {
        font-size: 18px;
    }

    .side-drawer-overlay {
        display: none !important;
    }

    .load-more-btn {
        padding: 14px 40px;
        font-size: 13px;
    }
}

/* Landscape mobile — full adaptive rules */
@media (max-width: 1024px) and (orientation: landscape) {
    /* Header landscape */
    .header {
        height: 50px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
        box-shadow: none;
    }

    .header-container {
        padding: 0 15px;
    }

    .header-contact {
        display: none;
    }

    .tagline-section {
        padding: 30px 15px;
    }

    .hero-tagline {
        font-size: 22px;
    }

    .burger-btn {
        display: flex;
    }

    .header-logo {
        width: 45px;
        height: 45px;
        border-radius: 5px;
        top: 3px;
    }

    .header.scrolled .header-logo {
        width: 35px;
        height: 35px;
        top: 7px;
    }

    /* Hero landscape */
    .hero {
        height: 100vh;
    }

    .hero-title {
        font-size: 32px;
    }

    /* Modal landscape — image fully visible */
    .modal {
        padding: 0;
    }

    .modal.active {
        display: block;
        overflow-y: auto;
    }

    .modal-content {
        padding: 0 0 20px;
        border-radius: 0;
        min-height: 100vh;
        overflow-y: visible;
    }

    .modal-body {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .gallery-main {
        height: 100vh;
        border-radius: 0;
        margin-bottom: 8px;
        background: transparent;
    }

    .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        background: transparent;
    }

    .modal-close {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 20;
        background: rgba(255,255,255,0.7);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-info {
        gap: 10px;
        padding: 10px 15px;
    }

    .modal-title {
        font-size: 28px;
    }

    .price-new {
        font-size: 24px;
    }

    .price-old {
        font-size: 14px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .action-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Catalog landscape */
    .catalog-section {
        padding: 40px 15px;
    }

    /* Contact landscape */
    .contact-section {
        padding: 40px 15px;
    }

    .contact-title {
        font-size: 32px;
    }

    /* Footer landscape */
    .footer {
        padding: 20px 15px;
    }
}

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

/* Admin bar */
.product-admin-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #01754A;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    font-size: 13px;
    letter-spacing: 1px;
}
.product-admin-edit-btn {
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.2s;
}
.product-admin-edit-btn:hover { background: rgba(255,255,255,0.35); }

.product-page {
    background: #1D1F1F;
    min-height: 100vh;
    padding-top: 80px;
}

/* Breadcrumb */
.product-breadcrumb-wrap {
    padding: 28px 80px 0;
}
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 1px;
}
.bc-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.bc-link:hover { color: #fff; }
.bc-sep { color: #444; }
.bc-current { color: #aaa; }

/* Header */
.product-page-header {
    padding: 36px 80px 48px;
}
.product-page-title-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
}
.product-page-name {
    font-size: 60px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}
.product-page-badge {
    background: var(--color-green);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    flex-shrink: 0;
}
.product-page-prices {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 16px;
}
.product-page-price {
    font-size: 26px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 2px;
}
.product-page-price-old {
    font-size: 17px;
    color: #555;
    text-decoration: line-through;
}
.product-page-material {
    font-size: 13px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.product-page-desc {
    font-size: 15px;
    color: #aaa;
    line-height: 1.8;
}

/* Gallery section */
.product-gallery-section {
    padding: 0 80px 60px;
}
.product-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    overflow: hidden;
    margin-bottom: 14px;
    cursor: pointer;
}
.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}
.gallery-main-img.fade-out {
    opacity: 0;
}
.gallery-main-img.fade-in {
    opacity: 1;
}
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    padding: 18px 14px;
    z-index: 2;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}
.gallery-btn:hover { background: rgba(0,0,0,0.8); }
.gallery-btn-prev { left: 0; }
.gallery-btn-next { right: 0; }
.gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 16px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 4px 10px;
}
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
    padding-bottom: 4px;
}
.product-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.product-gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.product-gallery-thumbs::-webkit-scrollbar-thumb { background: #333; }
.gallery-thumb {
    flex: 0 0 130px;
    height: 86px;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.5;
    transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumb.active {
    border-color: var(--color-green);
    opacity: 1;
}
.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Finishes section */
.product-finishes-section {
    background: #161614;
    padding: 70px 80px;
}
.product-finishes-inner {
    max-width: 1600px;
    margin: 0 auto;
}
.product-finishes-title {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
}
.product-finishes-title .title-italic {
    font-style: italic;
    color: #fff;
    font-weight: 300;
}
.finishes-track-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.finishes-btn {
    flex-shrink: 0;
    background: rgba(255,255,255,0.07);
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 14px 10px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}
.finishes-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.product-finishes-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}
.product-finishes-track::-webkit-scrollbar { display: none; }
/* Material tabs bar */
.mat-tabs-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.mat-tab {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.55);
    padding: 8px 24px;
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.mat-tab:hover {
    border-color: rgba(255,255,255,0.55);
    color: #fff;
}
.mat-tab.active {
    background: #01754A;
    border-color: #01754A;
    color: #fff;
}

.finish-card {
    flex: 0 0 405px;
    text-align: center;
    transition: transform 0.35s ease;
    cursor: pointer;
}
.finish-card:hover {
    transform: translateY(-6px);
}
.finish-swatch {
    width: 405px;
    height: 405px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* ── Detail Strip Carousel (between gallery and finishes) ── */
.detail-strip-section {
    background: #0f0f0d;
    padding: 0;
    overflow: hidden;
}
.detail-strip-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
}
.detail-strip-track {
    display: flex;
    gap: 2px;
    overflow: hidden;
    flex: 1;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.detail-strip-item {
    flex: 0 0 calc(33.333% - 2px);
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}
.detail-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.detail-strip-item:hover img {
    transform: scale(1.04);
}
.detail-strip-btn {
    position: absolute;
    bottom: 20px;
    z-index: 4;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.detail-strip-btn:hover { background: rgba(0,0,0,0.9); }
.detail-strip-prev { right: 66px; }
.detail-strip-next { right: 20px; }

@media (max-width: 900px) {
    .detail-strip-item { flex: 0 0 calc(50% - 2px); }
}
@media (max-width: 580px) {
    .detail-strip-item { flex: 0 0 80%; }
}
/* Material card: multi-image mini-carousel */
.finish-swatch-mat {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
}
.mat-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}
.mat-slide.active { opacity: 1; }
.mat-no-img { width: 100%; height: 100%; background: #2a2a2a; }
.mat-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    padding: 6px 7px;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s;
    user-select: none;
}
.finish-swatch-mat:hover .mat-nav { opacity: 1; }
.mat-prev { left: 0; }
.mat-next { right: 0; }
.mat-dots {
    position: absolute;
    bottom: 5px; left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    z-index: 3;
}
.mat-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s;
}
.mat-dot.active { background: #fff; }

.finish-name {
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* CTA */
.product-cta-section {
    padding: 70px 80px;
    text-align: center;
    background: #1D1F1F;
}
.product-cta-btn {
    background: var(--color-green);
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    padding: 22px 70px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}
.product-cta-btn:hover { background: #015e3c; }

/* "ПОСМОТРЕТЬ КОМПЛЕКТ" link on catalog cards */
.product-view-link {
    display: block;
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 3px;
    color: #aaa;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}
.product-view-link:hover {
    color: var(--color-green);
    border-bottom-color: var(--color-green);
}

/* Mobile: product page */
@media (max-width: 1024px) {
    .product-breadcrumb-wrap { padding: 20px 20px 0; }
    .product-page-header { padding: 24px 20px 32px; }
    .product-page-name { font-size: 36px; letter-spacing: 4px; }
    .product-page-price { font-size: 20px; }
    .product-gallery-section { padding: 0 0 40px; }
    .product-gallery-main { aspect-ratio: 4/3; }
    .gallery-thumb { flex: 0 0 90px; height: 60px; }
    .product-gallery-thumbs { padding: 10px 20px 4px; }
    .product-finishes-section { padding: 50px 20px; }
    .product-finishes-title { font-size: 28px; }
    .finish-swatch { width: 195px; height: 195px; }
    .finish-card { flex: 0 0 195px; }
    .product-cta-section { padding: 50px 20px; }
    .product-cta-btn { padding: 18px 40px; width: 100%; max-width: 320px; }
}

/* ── Copy Protection ── */
img, .gallery-main-img, .product-image img, .finish-swatch img,
.detail-strip-item img, .hero-slide-img, .catalog-img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}
/* Restore pointer-events for clickable containers */
.gallery-thumb, .product-card, .detail-strip-item, .admin-gallery-item { pointer-events: auto; }
body, .product-page, .catalog-section, .contact-section {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Allow text selection in admin and form fields */
.admin-content, input, textarea, select, [contenteditable] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

