/* ===== БАЗА ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #080808; 
    color: #e8e8e8; 
    line-height: 1.7; 
    font-weight: 300; 
    overflow-x: hidden; 
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== ШАПКА ===== */
header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 30px 6%; 
    z-index: 100; 
    transition: background 0.4s, padding 0.4s; 
    background: transparent; 
}
header.scrolled { 
    background: rgba(8,8,8,0.95); 
    backdrop-filter: blur(10px); 
    padding: 18px 6%; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.logo { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 26px; 
    letter-spacing: 4px; 
    color: #fff; 
    font-weight: 400; 
}
.logo span { font-style: italic; color: #c9a050; }
nav { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}
nav a { position: relative; transition: color 0.3s; }
nav a::after { 
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0; 
    width: 0; 
    height: 1px; 
    background: #c9a050; 
    transition: width 0.3s; 
}
nav a:hover::after { width: 100%; }
.cart-btn { 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    position: relative; 
}
.cart-btn svg { width: 18px; height: 18px; stroke: #fff; transition: stroke 0.3s; }
.cart-btn:hover svg { stroke: #c9a050; }
.cart-count { color: #c9a050; font-weight: 500; }

/* ОБЁРТКА ДЛЯ КОРЗИНЫ И БУРГЕРА */
.header-actions { display: flex; align-items: center; gap: 20px; }

/* БУРГЕР */
.burger { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    width: 32px; 
    height: 32px; 
    position: relative; 
    z-index: 102; 
    padding: 0; 
}
.burger span { 
    display: block; 
    width: 26px; 
    height: 1.5px; 
    background: #fff; 
    margin: 6px auto; 
    transition: all 0.3s ease; 
    transform-origin: center; 
}
.burger:hover span { background: #c9a050; }
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: #c9a050; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: #c9a050; }

/* ===== ГЕРОЙ ===== */
.hero { 
    position: relative; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 5%; 
    overflow: hidden; 
}
.hero-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #080808 70%); 
}
.hero-bg img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.35; 
    filter: grayscale(40%) contrast(110%); 
}
.hero-content { 
    max-width: 800px; 
    animation: fadeUp 1.2s ease forwards; 
    opacity: 0; 
}
@keyframes fadeUp { 
    from { opacity: 0; transform: translateY(40px); } 
    to { opacity: 1; transform: translateY(0); } 
}
.hero-subtitle { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 8px; 
    color: #c9a050; 
    margin-bottom: 25px; 
}
.hero h1 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(48px, 7vw, 90px); 
    font-weight: 300; 
    line-height: 1.1; 
    color: #fff; 
    margin-bottom: 30px; 
}
.hero h1 em { font-style: italic; color: #c9a050; }
.hero-desc { 
    font-size: 15px; 
    color: #999; 
    max-width: 500px; 
    margin: 0 auto 45px; 
    line-height: 1.8; 
}
.btn-lux { 
    display: inline-block; 
    background: transparent; 
    color: #fff; 
    padding: 18px 45px; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    border: 1px solid rgba(255,255,255,0.3); 
    cursor: pointer; 
    transition: all 0.5s; 
    position: relative; 
    overflow: hidden; 
}
.btn-lux::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%; 
    background: #c9a050; 
    transition: left 0.5s; 
    z-index: -1; 
}
.btn-lux:hover::before { left: 0; }
.btn-lux:hover { color: #080808; border-color: #c9a050; }
.scroll-hint { 
    position: absolute; 
    bottom: 40px; 
    left: 50%; 
    transform: translateX(-50%); 
    font-size: 10px; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    color: #555; 
    animation: pulse 2s infinite; 
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* КОНТАКТЫ В HERO */
.hero-contacts { 
    display: flex; 
    gap: 30px; 
    justify-content: center; 
    margin-top: 40px; 
    flex-wrap: wrap; 
}
.hero-contact-link { 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
    text-decoration: none; 
    padding: 10px 20px; 
    border: 1px solid rgba(255,255,255,0.1); 
    transition: all 0.3s; 
}
.hero-contact-link:hover { 
    color: #c9a050; 
    border-color: #c9a050; 
}

/* ===== ФИЛОСОФИЯ ===== */
.philosophy { 
    padding: 140px 6%; 
    max-width: 1300px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}
.philosophy-text h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(36px, 4vw, 54px); 
    font-weight: 300; 
    line-height: 1.2; 
    margin-bottom: 30px; 
    color: #fff; 
}
.philosophy-text h2 em { font-style: italic; color: #c9a050; }
.philosophy-text p { 
    font-size: 15px; 
    color: #888; 
    margin-bottom: 20px; 
    line-height: 1.9; 
}
.philosophy-stats { 
    display: flex; 
    gap: 50px; 
    margin-top: 50px; 
}
.stat-item h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 42px; 
    color: #c9a050; 
    font-weight: 300; 
    margin-bottom: 5px; 
}
.stat-item p { 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #666; 
}
.philosophy-image { 
    position: relative; 
    height: 600px; 
    overflow: hidden; 
}
.philosophy-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: grayscale(30%); 
    transition: transform 1.5s, filter 1s; 
}
.philosophy-image:hover img { 
    transform: scale(1.05); 
    filter: grayscale(0%); 
}

/* ===== ПОРТФОЛИО ===== */
.portfolio { 
    padding: 120px 6%; 
    max-width: 1400px; 
    margin: 0 auto; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}
.portfolio .section-header { text-align: center; margin-bottom: 60px; }
.portfolio .section-header span { 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    color: #c9a050; 
    display: block; 
    margin-bottom: 15px; 
}
.portfolio .section-header h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(38px, 5vw, 64px); 
    font-weight: 300; 
    color: #fff; 
}
.portfolio .section-header h2 em { font-style: italic; color: #c9a050; }
.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
    gap: 12px; 
    margin-bottom: 40px; 
    justify-content: center; 
}
.portfolio-item { 
    position: relative; 
    cursor: pointer; 
    aspect-ratio: 1 / 1; 
    overflow: hidden; 
    background: #111; 
    border: 1px solid rgba(255,255,255,0.03); 
    transition: border-color 0.3s, transform 0.3s; 
    max-width: 220px; 
    width: 100%; 
}
.portfolio-item:hover { 
    border-color: #c9a050; 
    transform: translateY(-3px); 
}
.portfolio-image-wrap { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
}
.portfolio-image-wrap img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: grayscale(30%) brightness(0.9); 
    transition: transform 0.8s ease, filter 0.5s ease; 
}
.portfolio-item:hover .portfolio-image-wrap img { 
    transform: scale(1.08); 
    filter: grayscale(0%) brightness(1); 
}
.portfolio-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(8,8,8,0.5); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.4s ease; 
    backdrop-filter: blur(2px); 
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-zoom { 
    font-size: 26px; 
    color: #c9a050; 
    transform: scale(0.7); 
    transition: transform 0.4s ease; 
}
.portfolio-item:hover .portfolio-zoom { transform: scale(1); }
.portfolio-info { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 10px 12px; 
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); 
    text-align: left; 
    opacity: 0; 
    transform: translateY(10px); 
    transition: all 0.4s ease; 
    pointer-events: none; 
}
.portfolio-item:hover .portfolio-info { opacity: 1; transform: translateY(0); }
.portfolio-info h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 15px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 2px; 
}
.portfolio-info p { 
    font-size: 10px; 
    color: #c9a050; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}

/* ===== ЛАЙТБОКС ===== */
.lightbox { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.95); 
    backdrop-filter: blur(10px); 
    z-index: 1000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease; 
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { 
    max-width: 90vw; 
    max-height: 90vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    animation: lightboxIn 0.4s ease; 
}
@keyframes lightboxIn { 
    from { opacity: 0; transform: scale(0.9); } 
    to { opacity: 1; transform: scale(1); } 
}
.lightbox-content img { 
    max-width: 90vw; 
    max-height: 80vh; 
    object-fit: contain; 
    border: 1px solid rgba(255,255,255,0.1); 
}
.lightbox-caption { 
    text-align: center; 
    margin-top: 20px; 
    max-width: 600px; 
}
.lightbox-caption h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 28px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 5px; 
}
.lightbox-caption p { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    color: #c9a050; 
}
.lightbox-close, .lightbox-prev, .lightbox-next { 
    position: absolute; 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.15); 
    color: #fff; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    backdrop-filter: blur(5px); 
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { 
    background: #c9a050; 
    color: #080808; 
    border-color: #c9a050; 
}
.lightbox-close { 
    top: 30px; 
    right: 30px; 
    width: 50px; 
    height: 50px; 
    font-size: 28px; 
    line-height: 1; 
}
.lightbox-prev, .lightbox-next { 
    top: 50%; 
    transform: translateY(-50%); 
    width: 60px; 
    height: 60px; 
    font-size: 32px; 
    line-height: 1; 
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ===== КАТАЛОГ ===== */
.catalog { padding: 100px 6% 140px; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header span { 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    color: #c9a050; 
    display: block; 
    margin-bottom: 15px; 
}
.section-header h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(38px, 5vw, 64px); 
    font-weight: 300; 
    color: #fff; 
}
.section-header h2 em { font-style: italic; color: #c9a050; }
.products-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 40px 25px; 
    max-width: 1300px; 
    margin: 0 auto; 
    justify-content: center; 
}
.product-card { 
    position: relative; 
    cursor: pointer; 
    max-width: 320px; 
    width: 100%; 
    margin: 0 auto; 
}
.product-image-wrap { 
    position: relative; 
    overflow: hidden; 
    background: #111; 
    aspect-ratio: 3/4; 
    margin-bottom: 22px; 
}
.product-image-wrap img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 1s; 
}
.product-card:hover .product-image-wrap img { transform: scale(1.08); }
.product-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(8,8,8,0.6); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.5s; 
}
.product-card:hover .product-overlay { opacity: 1; }
.quick-add { 
    background: #fff; 
    color: #080808; 
    border: none; 
    padding: 13px 30px; 
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: background 0.3s; 
}
.quick-add:hover { background: #c9a050; }
.product-info { text-align: center; }
.product-info h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 22px; 
    font-weight: 400; 
    margin-bottom: 6px; 
    color: #fff; 
}
.product-info .price { 
    font-size: 13px; 
    color: #c9a050; 
    letter-spacing: 1px; 
    margin-bottom: 12px; 
}
.sizes { 
    display: flex; 
    justify-content: center; 
    gap: 6px; 
    opacity: 0; 
    transform: translateY(10px); 
    transition: all 0.4s; 
    max-height: 0; 
    overflow: hidden; 
}
.product-card:hover .sizes { 
    opacity: 1; 
    transform: translateY(0); 
    max-height: 50px; 
}
.size-btn { 
    background: transparent; 
    border: 1px solid #333; 
    color: #888; 
    width: 32px; 
    height: 32px; 
    font-size: 11px; 
    cursor: pointer; 
    transition: all 0.3s; 
    font-family: 'Montserrat', sans-serif; 
}
.size-btn:hover, .size-btn.active { 
    border-color: #c9a050; 
    color: #c9a050; 
}

/* ===== ФИЛЬТР КАТЕГОРИЙ ===== */
.category-filter { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-bottom: 60px; 
    flex-wrap: wrap; 
    padding: 0 6%; 
}
.category-btn { 
    display: inline-block; 
    padding: 12px 28px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
    border: 1px solid rgba(255,255,255,0.1); 
    text-decoration: none; 
    transition: all 0.3s; 
    cursor: pointer; 
}
.category-btn:hover { 
    color: #c9a050; 
    border-color: #c9a050; 
}
.category-btn.active { 
    background: #c9a050; 
    color: #080808; 
    border-color: #c9a050; 
    font-weight: 500; 
}

/* ===== ДОСТАВКА ===== */
.delivery { 
    padding: 120px 6%; 
    max-width: 1400px; 
    margin: 0 auto; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}
.delivery .section-header { text-align: center; margin-bottom: 60px; }
.delivery .section-header span { 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    color: #c9a050; 
    display: block; 
    margin-bottom: 15px; 
}
.delivery .section-header h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(38px, 5vw, 64px); 
    font-weight: 300; 
    color: #fff; 
}
.delivery .section-header h2 em { font-style: italic; color: #c9a050; }
.delivery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-bottom: 50px; 
}
.delivery-card { 
    background: #0d0d0d; 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 40px 30px; 
    position: relative; 
    transition: border-color 0.3s ease, transform 0.3s ease; 
    text-align: center; 
}
.delivery-card:hover { 
    border-color: rgba(201,160,80,0.4); 
    transform: translateY(-4px); 
}
.delivery-card.featured { 
    border-color: rgba(201,160,80,0.3); 
    background: linear-gradient(180deg, rgba(201,160,80,0.05) 0%, #0d0d0d 60%); 
}
.delivery-badge { 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: #c9a050; 
    color: #080808; 
    font-size: 10px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    padding: 6px 16px; 
    white-space: nowrap; 
    border-radius: 3px; 
}
.delivery-icon { 
    font-size: 48px; 
    margin-bottom: 20px; 
    line-height: 1; 
}
.delivery-card h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 26px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 12px; 
}
.delivery-desc { 
    font-size: 13px; 
    color: #888; 
    margin-bottom: 25px; 
    line-height: 1.6; 
    min-height: 42px; 
}
.delivery-details { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    padding-top: 20px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    text-align: left; 
}
.delivery-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: baseline; 
    gap: 15px; 
    font-size: 12px; 
}
.delivery-row span { 
    color: #666; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 10px; 
}
.delivery-row strong { 
    color: #c9a050; 
    font-size: 13px; 
    font-weight: 500; 
    text-align: right; 
}
.delivery-note { 
    background: rgba(201,160,80,0.06); 
    border: 1px solid rgba(201,160,80,0.2); 
    border-radius: 4px; 
    padding: 25px 30px; 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto; 
}
.delivery-note p { 
    font-size: 14px; 
    color: #ccc; 
    line-height: 1.6; 
    margin: 0; 
}
.delivery-note strong { 
    color: #c9a050; 
    font-weight: 500; 
}

/* ===== ОТЗЫВЫ ===== */
.reviews { 
    padding: 120px 6%; 
    max-width: 1400px; 
    margin: 0 auto; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}
.reviews .section-header { text-align: center; margin-bottom: 60px; }
.reviews .section-header span { 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    color: #c9a050; 
    display: block; 
    margin-bottom: 15px; 
}
.reviews .section-header h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(38px, 5vw, 64px); 
    font-weight: 300; 
    color: #fff; 
    margin-bottom: 20px; 
}
.reviews .section-header h2 em { font-style: italic; color: #c9a050; }
.reviews-rating-summary { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 10px; 
    flex-wrap: wrap; 
}
.rating-stars { display: flex; gap: 3px; }
.star { color: #333; font-size: 20px; }
.star.filled { color: #c9a050; }
.rating-text { font-size: 13px; color: #888; letter-spacing: 1px; }
.reviews-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 25px; 
    margin-bottom: 50px; 
}
.review-card { 
    background: #0d0d0d; 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 28px; 
    transition: border-color 0.3s, transform 0.3s; 
    display: flex; 
    flex-direction: column; 
}
.review-card:hover { 
    border-color: rgba(201,160,80,0.3); 
    transform: translateY(-3px); 
}
.review-header { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 18px; 
    flex-wrap: wrap; 
}
.review-avatar { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background: rgba(201,160,80,0.15); 
    color: #c9a050; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 22px; 
    font-weight: 500; 
    flex-shrink: 0; 
}
.review-author { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    min-width: 0; 
}
.review-author strong { color: #fff; font-size: 15px; font-weight: 500; }
.review-author span { color: #666; font-size: 12px; }
.review-stars { display: flex; gap: 2px; }
.review-stars .star { font-size: 14px; }
.review-text { 
    font-size: 14px; 
    color: #b0b0b0; 
    line-height: 1.7; 
    margin-bottom: 18px; 
    flex: 1; 
}
.review-photo { margin-bottom: 18px; overflow: hidden; }
.review-photo img { 
    width: 100%; 
    max-height: 200px; 
    object-fit: cover; 
    transition: transform 0.5s; 
}
.review-card:hover .review-photo img { transform: scale(1.05); }
.review-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 15px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    gap: 10px; 
    flex-wrap: wrap; 
    font-size: 11px; 
}
.review-product { 
    color: #c9a050; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}
.review-date { color: #555; letter-spacing: 1px; }
.reviews-action { text-align: center; }

/* ===== МОДАЛЬНОЕ ОКНО ОТЗЫВА ===== */
.review-modal { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(10px); 
    z-index: 400; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.4s ease; 
    padding: 20px; 
}
.review-modal.active { opacity: 1; visibility: visible; }
.review-modal-content { 
    background: #0d0d0d; 
    border: 1px solid rgba(255,255,255,0.08); 
    max-width: 500px; 
    width: 100%; 
    max-height: 90vh; 
    overflow-y: auto; 
    padding: 45px 40px; 
    position: relative; 
    animation: modalIn 0.4s ease; 
}
.review-modal-close { 
    position: absolute; 
    top: 20px; 
    right: 25px; 
    background: none; 
    border: none; 
    color: #666; 
    font-size: 28px; 
    cursor: pointer; 
    line-height: 1; 
    transition: color 0.3s; 
}
.review-modal-close:hover { color: #c9a050; }
.review-modal-content h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 32px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 8px; 
}
.review-modal-subtitle { 
    font-size: 12px; 
    color: #666; 
    letter-spacing: 1px; 
    margin-bottom: 30px; 
    text-transform: uppercase; 
}
.rating-input { display: flex; gap: 5px; }
.star-input { 
    font-size: 36px; 
    color: #333; 
    cursor: pointer; 
    transition: color 0.2s, transform 0.2s; 
    user-select: none; 
}
.star-input:hover { transform: scale(1.15); }
.star-input.active, .star-input.hover { color: #c9a050; }
.form-hint { 
    display: block; 
    font-size: 11px; 
    color: #555; 
    margin-top: 6px; 
    font-family: 'Montserrat', sans-serif; 
}
.review-success { text-align: center; padding: 20px 0; }
.review-success h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 32px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 15px; 
    margin-top: 20px; 
}
.review-success p { 
    font-size: 14px; 
    color: #888; 
    margin-bottom: 30px; 
    line-height: 1.7; 
}

/* ===== МОДАЛЬНОЕ ОКНО ОФОРМЛЕНИЯ ===== */
.checkout-modal { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(10px); 
    z-index: 300; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.4s ease; 
    padding: 20px; 
}
.checkout-modal.active { opacity: 1; visibility: visible; }
.checkout-modal-content { 
    background: #0d0d0d; 
    border: 1px solid rgba(255,255,255,0.08); 
    max-width: 500px; 
    width: 100%; 
    max-height: 90vh; 
    overflow-y: auto; 
    padding: 45px 40px; 
    position: relative; 
    animation: modalIn 0.4s ease; 
}
@keyframes modalIn { 
    from { opacity: 0; transform: scale(0.95) translateY(20px); } 
    to { opacity: 1; transform: scale(1) translateY(0); } 
}
.checkout-close { 
    position: absolute; 
    top: 20px; 
    right: 25px; 
    background: none; 
    border: none; 
    color: #666; 
    font-size: 28px; 
    cursor: pointer; 
    line-height: 1; 
    transition: color 0.3s; 
}
.checkout-close:hover { color: #c9a050; }
.checkout-modal-content h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 32px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 8px; 
}
.checkout-subtitle { 
    font-size: 12px; 
    color: #666; 
    letter-spacing: 1px; 
    margin-bottom: 35px; 
    text-transform: uppercase; 
}
.form-row { margin-bottom: 20px; }
.form-row label { 
    display: block; 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
    margin-bottom: 8px; 
}
.form-row input, 
.form-row textarea, 
.form-row select { 
    width: 100%; 
    background: transparent; 
    border: 1px solid #222; 
    color: #fff; 
    padding: 14px 16px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 14px; 
    transition: border-color 0.3s; 
}
.form-row input:focus, 
.form-row textarea:focus, 
.form-row select:focus { 
    outline: none; 
    border-color: #c9a050; 
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row select option { background: #0d0d0d; color: #fff; }
.checkout-summary { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    padding: 20px 0; 
    margin: 25px 0; 
}
.summary-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 8px; 
    font-size: 13px; 
    color: #888; 
}
.summary-row.total { 
    margin-top: 15px; 
    padding-top: 15px; 
    border-top: 1px solid rgba(255,255,255,0.08); 
    font-size: 16px; 
    color: #fff; 
}
.summary-row.total span:last-child { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 28px; 
    color: #c9a050; 
}
.checkout-submit { 
    width: 100%; 
    background: #c9a050; 
    color: #080808; 
    border: none; 
    padding: 18px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-weight: 500; 
    cursor: pointer; 
    transition: background 0.3s; 
}
.checkout-submit:hover { background: #e6c875; }
.checkout-success { text-align: center; padding: 20px 0; }
.success-icon { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    background: rgba(201,160,80,0.15); 
    color: #c9a050; 
    font-size: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 25px; 
    animation: successPop 0.5s ease; 
}
@keyframes successPop { 
    0% { transform: scale(0); } 
    50% { transform: scale(1.15); } 
    100% { transform: scale(1); } 
}
.checkout-success h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 32px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 15px; 
}
.checkout-success p { 
    font-size: 14px; 
    color: #888; 
    margin-bottom: 30px; 
    line-height: 1.7; 
}
.checkout-success .btn-lux { padding: 14px 35px; font-size: 11px; }

/* ===== ВЫБОР ДОСТАВКИ В ОФОРМЛЕНИИ ===== */
.delivery-options { display: flex; flex-direction: column; gap: 8px; }
.delivery-option { cursor: pointer; position: relative; }
.delivery-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.delivery-option-content { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 12px 16px; 
    border: 1px solid #222; 
    background: transparent; 
    transition: all 0.25s ease; 
    position: relative; 
}
.delivery-option:hover .delivery-option-content { 
    border-color: rgba(201,160,80,0.5); 
    background: rgba(201,160,80,0.03); 
}
.delivery-option input:checked + .delivery-option-content { 
    border-color: #c9a050; 
    background: rgba(201,160,80,0.08); 
}
.delivery-option input:checked + .delivery-option-content::after { 
    content: '✓'; 
    position: absolute; 
    right: 16px; 
    color: #c9a050; 
    font-size: 16px; 
    font-weight: bold; 
}
.delivery-option-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
.delivery-option-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.delivery-option-text strong { color: #fff; font-size: 13px; font-weight: 500; }
.delivery-option-text span { color: #888; font-size: 11px; }
.delivery-option input:checked + .delivery-option-content .delivery-option-text strong { color: #c9a050; }

/* ===== КОРЗИНА ===== */
.cart-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.7); 
    backdrop-filter: blur(5px); 
    z-index: 200; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.4s; 
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-panel { 
    position: fixed; 
    top: 0; 
    right: -500px; 
    width: 100%; 
    max-width: 480px; 
    height: 100%; 
    background: #0d0d0d; 
    z-index: 201; 
    display: flex; 
    flex-direction: column; 
    transition: right 0.5s cubic-bezier(0.77,0,0.175,1); 
    border-left: 1px solid rgba(255,255,255,0.05); 
}
.cart-panel.active { right: 0; }
.cart-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 35px 40px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.cart-header h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 28px; 
    font-weight: 400; 
    color: #fff; 
}
.cart-close { 
    background: none; 
    border: none; 
    color: #888; 
    font-size: 28px; 
    cursor: pointer; 
    transition: color 0.3s; 
    line-height: 1; 
}
.cart-close:hover { color: #c9a050; }
.cart-body { flex: 1; overflow-y: auto; padding: 30px 40px; }
.cart-empty { 
    text-align: center; 
    color: #555; 
    padding-top: 60px; 
    font-style: italic; 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 20px; 
}
.cart-item { 
    display: flex; 
    gap: 20px; 
    padding: 20px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.cart-item-img { 
    width: 80px; 
    height: 100px; 
    object-fit: cover; 
    background: #1a1a1a; 
}
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-info h4 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 19px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 5px; 
}
.cart-item-meta { font-size: 12px; color: #666; margin-bottom: 8px; }
.cart-item-price { font-size: 14px; color: #c9a050; }
.cart-item-remove { 
    background: none; 
    border: none; 
    color: #444; 
    font-size: 20px; 
    cursor: pointer; 
    align-self: center; 
    transition: color 0.3s; 
}
.cart-item-remove:hover { color: #ff4444; }
.cart-footer { padding: 30px 40px 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.cart-total-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: baseline; 
    margin-bottom: 25px; 
}
.cart-total-row span:first-child { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
}
.cart-total-row span:last-child { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 30px; 
    color: #c9a050; 
}
.checkout-btn { 
    width: 100%; 
    background: #c9a050; 
    color: #080808; 
    border: none; 
    padding: 20px; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-weight: 500; 
    cursor: pointer; 
    transition: background 0.3s; 
    font-family: 'Montserrat', sans-serif; 
}
.checkout-btn:hover { background: #e6c875; }

/* ===== МИНИ-КОРЗИНА ===== */
.mini-cart { 
    position: absolute; 
    top: 100%; 
    right: 0; 
    margin-top: 15px; 
    background: #0d0d0d; 
    border: 1px solid rgba(255,255,255,0.08); 
    min-width: 320px; 
    padding: 20px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-10px); 
    transition: all 0.3s ease; 
    z-index: 99; 
    pointer-events: none; 
}
.cart-btn:hover .mini-cart { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
    pointer-events: auto; 
}
.mini-cart::before { 
    content: ''; 
    position: absolute; 
    top: -6px; 
    right: 20px; 
    width: 10px; 
    height: 10px; 
    background: #0d0d0d; 
    border-left: 1px solid rgba(255,255,255,0.08); 
    border-top: 1px solid rgba(255,255,255,0.08); 
    transform: rotate(45deg); 
}
.mini-cart-title { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 18px; 
    color: #fff; 
    margin-bottom: 15px; 
    padding-bottom: 12px; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
}
.mini-cart-items { max-height: 240px; overflow-y: auto; margin-bottom: 15px; }
.mini-cart-item { 
    display: flex; 
    gap: 12px; 
    padding: 10px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.mini-cart-item:last-child { border-bottom: none; }
.mini-cart-item img { width: 50px; height: 65px; object-fit: cover; background: #1a1a1a; }
.mini-cart-item-info { flex: 1; font-size: 12px; }
.mini-cart-item-info strong { color: #fff; font-weight: 400; display: block; margin-bottom: 3px; }
.mini-cart-item-info span { color: #888; font-size: 11px; display: block; margin-bottom: 4px; }
.mini-cart-item-info b { color: #c9a050; font-size: 13px; }
.mini-cart-empty { 
    text-align: center; 
    color: #666; 
    font-style: italic; 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 16px; 
    padding: 20px 0; 
}
.mini-cart-total { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 15px; 
    border-top: 1px solid rgba(255,255,255,0.08); 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
}
.mini-cart-total span:last-child { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 22px; 
    color: #c9a050; 
    text-transform: none; 
    letter-spacing: 0; 
}
.mini-cart-btn { 
    display: block; 
    width: 100%; 
    margin-top: 15px; 
    background: transparent; 
    border: 1px solid #c9a050; 
    color: #c9a050; 
    padding: 12px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    cursor: pointer; 
    transition: all 0.3s; 
    text-align: center; 
}
.mini-cart-btn:hover { background: #c9a050; color: #080808; }

/* ===== ПОДВАЛ ===== */
footer { 
    padding: 80px 6% 40px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    text-align: center; 
}
.footer-logo { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 32px; 
    letter-spacing: 6px; 
    color: #fff; 
    margin-bottom: 40px; 
}
.footer-logo span { font-style: italic; color: #c9a050; }
.footer-contacts { 
    display: flex; 
    justify-content: center; 
    gap: 60px; 
    margin-bottom: 40px; 
    flex-wrap: wrap; 
}
.contact-item { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.contact-label { 
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    color: #555; 
}
.contact-value { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 20px; 
    color: #c9a050; 
    transition: color 0.3s; 
    text-decoration: none; 
}
.contact-value:hover { color: #e6c875; }
.footer-copy { font-size: 11px; color: #444; letter-spacing: 1px; }

/* ===== СТРАНИЦА СПАСИБО ===== */
.thank-you-page { background: #080808; }
.thank-you-section { 
    padding: 120px 6% 80px; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.thank-you-container { 
    max-width: 700px; 
    width: 100%; 
    text-align: center; 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 1s ease, transform 1s ease; 
}
.thank-you-icon { 
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    background: rgba(201,160,80,0.15); 
    color: #c9a050; 
    font-size: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 35px; 
    animation: successPop 0.6s ease 0.2s both; 
    font-family: 'Montserrat', sans-serif; 
}
.thank-you-subtitle { 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    color: #c9a050; 
    margin-bottom: 20px; 
}
.thank-you-container h1 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(36px, 6vw, 64px); 
    font-weight: 300; 
    color: #fff; 
    line-height: 1.1; 
    margin-bottom: 25px; 
}
.thank-you-container h1 em { font-style: italic; color: #c9a050; }
.thank-you-desc { 
    font-size: 15px; 
    color: #888; 
    line-height: 1.8; 
    max-width: 500px; 
    margin: 0 auto 40px; 
}
.thank-you-contacts { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    margin-bottom: 50px; 
    flex-wrap: wrap; 
}
.thank-you-contact-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    padding: 14px 28px; 
    border: 1px solid rgba(255,255,255,0.15); 
    color: #fff; 
    font-size: 13px; 
    letter-spacing: 1px; 
    text-decoration: none; 
    transition: all 0.3s; 
    font-family: 'Montserrat', sans-serif; 
}
.thank-you-contact-btn:hover { 
    border-color: #c9a050; 
    color: #c9a050; 
    background: rgba(201,160,80,0.05); 
}
.contact-btn-icon { font-size: 16px; }
.thank-you-order { 
    background: #0d0d0d; 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 35px 30px; 
    margin-bottom: 40px; 
    text-align: left; 
}
.thank-you-order h2 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 24px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 25px; 
    text-align: center; 
}
.thank-you-items { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.thank-you-item { 
    display: flex; 
    gap: 18px; 
    align-items: center; 
    padding-bottom: 15px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.thank-you-item:last-child { border-bottom: none; padding-bottom: 0; }
.thank-you-item img { width: 65px; height: 85px; object-fit: cover; background: #1a1a1a; }
.thank-you-item-info { flex: 1; }
.thank-you-item-info h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 18px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 5px; 
}
.thank-you-item-info p { font-size: 12px; color: #888; margin-bottom: 6px; }
.thank-you-item-info p strong { color: #c9a050; font-weight: 500; }
.thank-you-item-price { font-size: 15px; color: #c9a050; font-weight: 500; }
.thank-you-total { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 20px; 
    border-top: 1px solid rgba(255,255,255,0.08); 
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
}
.thank-you-total span:last-child { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 32px; 
    color: #c9a050; 
    text-transform: none; 
    letter-spacing: 0; 
}
.thank-you-steps { 
    background: #0d0d0d; 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 35px 30px; 
    margin-bottom: 40px; 
    text-align: left; 
}
.thank-you-steps h3 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 24px; 
    font-weight: 400; 
    color: #fff; 
    margin-bottom: 25px; 
    text-align: center; 
}
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-num { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    border: 1px solid #c9a050; 
    color: #c9a050; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 18px; 
    flex-shrink: 0; 
}
.step-text { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.step-text strong { color: #fff; font-size: 14px; font-weight: 500; }
.step-text span { color: #888; font-size: 13px; }
.thank-you-btn { 
    display: inline-block; 
    background: transparent; 
    color: #fff; 
    padding: 18px 45px; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    border: 1px solid rgba(255,255,255,0.3); 
    cursor: pointer; 
    transition: all 0.5s; 
    text-decoration: none; 
    margin-bottom: 60px; 
    font-family: 'Montserrat', sans-serif; 
}
.thank-you-btn:hover { 
    color: #080808; 
    background: #c9a050; 
    border-color: #c9a050; 
}
.thank-you-footer { padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.thank-you-logo { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 24px; 
    letter-spacing: 6px; 
    color: #fff; 
    margin-bottom: 10px; 
}
.thank-you-logo span { font-style: italic; color: #c9a050; }
.thank-you-footer p { 
    font-size: 11px; 
    color: #555; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}

/* ===== КНОПКА MAX ===== */
.max-widget { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 500; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    background: #c9a050; 
    color: #080808; 
    padding: 16px 22px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 13px; 
    font-weight: 500; 
    letter-spacing: 1px; 
    box-shadow: 0 8px 30px rgba(201, 160, 80, 0.4); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.max-widget:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 40px rgba(201, 160, 80, 0.6); 
}
.max-widget svg { width: 22px; height: 22px; flex-shrink: 0; }
.max-widget-label { white-space: nowrap; }
.max-widget-pulse { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border-radius: 50px; 
    background: #c9a050; 
    animation: maxPulse 2s infinite; 
    z-index: -1; 
}
@keyframes maxPulse { 
    0% { transform: scale(1); opacity: 0.5; } 
    70% { transform: scale(1.15); opacity: 0; } 
    100% { transform: scale(1.15); opacity: 0; } 
}

/* ===== КАСТОМНЫЙ ТОВАР ===== */
.custom-product .custom-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #c9a050;
    color: #080808;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 3px;
    z-index: 2;
}

.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}
.custom-modal.active { opacity: 1; visibility: visible; }

.custom-modal-content {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 45px 40px;
    position: relative;
    animation: modalIn 0.4s ease;
}

.custom-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #666;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.custom-close:hover { color: #c9a050; }

.custom-modal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
}

.custom-subtitle {
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.custom-upload-area {
    border: 2px dashed #222;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255,255,255,0.01);
}
.custom-upload-area:hover {
    border-color: #c9a050;
    background: rgba(201,160,80,0.03);
}

.custom-upload-area svg {
    width: 50px;
    height: 50px;
    stroke: #c9a050;
    margin: 0 auto 15px;
}

.custom-upload-area strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.custom-upload-area span {
    font-size: 11px;
    color: #666;
}

.custom-preview {
    margin-top: 20px;
    position: relative;
    text-align: center;
}

.custom-preview img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    border: 1px solid #222;
    padding: 10px;
    background: #111;
    margin: 0 auto;
}

.custom-remove {
    display: block;
    margin: 15px auto 0;
    background: transparent;
    border: 1px solid #ff5555;
    color: #ff5555;
    padding: 8px 20px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.custom-remove:hover { background: #ff5555; color: #fff; }

.custom-status {
    padding: 12px 16px;
    margin-top: 15px;
    font-size: 13px;
    border-radius: 3px;
}
.custom-status.success {
    background: rgba(76,175,80,0.1);
    border-left: 3px solid #4caf50;
    color: #81c784;
}
.custom-status.error {
    background: rgba(255,85,85,0.1);
    border-left: 3px solid #ff5555;
    color: #ff8888;
}
.custom-status.loading {
    background: rgba(201,160,80,0.1);
    border-left: 3px solid #c9a050;
    color: #c9a050;
}

#customAddBlock {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== АНИМАЦИИ ===== */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s, transform 1s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== АДАПТИВ 900px ===== */
@media (max-width: 900px) {
    .philosophy { grid-template-columns: 1fr; gap: 50px; padding: 80px 6%; }
    .philosophy-image { height: 400px; }
    
    .hero h1 { font-size: 42px; }
    
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px 20px; }
    .product-card { max-width: 300px; }
    
    .cart-panel { max-width: 100%; }
    
    .portfolio { padding: 80px 5%; }
    .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
    .portfolio-item { max-width: 180px; }
    .portfolio-info h3 { font-size: 14px; }
    
    .lightbox-prev, .lightbox-next { width: 45px; height: 45px; font-size: 24px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 22px; }
    
    .mini-cart { display: none; }
    
    /* Бургер */
    .burger { display: block; }
    #mainNav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 80%; 
        max-width: 320px; 
        height: 100vh; 
        background: #0d0d0d; 
        border-left: 1px solid rgba(255,255,255,0.08); 
        display: flex; 
        flex-direction: column; 
        align-items: flex-start; 
        justify-content: center; 
        gap: 30px; 
        padding: 0 40px; 
        z-index: 101; 
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); 
        box-shadow: -10px 0 40px rgba(0,0,0,0.5); 
    }
    #mainNav.mobile-open { right: 0; }
    #mainNav a { 
        font-size: 18px; 
        letter-spacing: 3px; 
        padding: 12px 0; 
        border-bottom: 1px solid rgba(255,255,255,0.05); 
        width: 100%; 
        transition: color 0.3s, padding-left 0.3s; 
    }
    #mainNav a:hover { color: #c9a050; padding-left: 10px; }
    #mainNav a::after { display: none; }
    #mainNav.mobile-open::before { 
        content: ''; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh; 
        background: rgba(0,0,0,0.7); 
        backdrop-filter: blur(5px); 
        z-index: -1; 
    }
    .header-actions { gap: 15px; }
    header { padding: 22px 5%; }
    header.scrolled { padding: 15px 5%; }
    
    .hero-contacts { gap: 15px; }
    .hero-contact-link { padding: 8px 15px; font-size: 12px; }
    
    .footer-contacts { gap: 30px; margin-bottom: 30px; }
    .contact-value { font-size: 18px; }
    
    .delivery { padding: 80px 5%; }
    .delivery-grid { gap: 20px; }
    .delivery-card { padding: 32px 25px; }
    
    .reviews { padding: 80px 5%; }
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .max-widget { 
        bottom: 20px; 
        right: 20px; 
        padding: 16px; 
        border-radius: 50%; 
        width: 60px; 
        height: 60px; 
        justify-content: center; 
    }
    .max-widget-label { display: none; }
    .max-widget svg { width: 26px; height: 26px; }
    .max-widget-pulse { border-radius: 50%; }
    
    .thank-you-section { padding: 100px 5% 60px; }
    .thank-you-icon { width: 80px; height: 80px; font-size: 40px; }
    .thank-you-contacts { flex-direction: column; align-items: stretch; }
    .thank-you-contact-btn { justify-content: center; }
    .thank-you-order, .thank-you-steps { padding: 25px 20px; }
    .thank-you-item img { width: 55px; height: 72px; }
    .thank-you-item-info h3 { font-size: 16px; }
    .thank-you-total span:last-child { font-size: 26px; }
    .thank-you-btn { padding: 16px 30px; font-size: 11px; letter-spacing: 3px; }
    .step-num { width: 34px; height: 34px; font-size: 16px; }
    .step-text strong { font-size: 13px; }
    .step-text span { font-size: 12px; }
}

/* ===== АДАПТИВ 500px ===== */
@media (max-width: 500px) {
    .products-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; gap: 30px; }
    .product-card { max-width: 100%; }
    
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .portfolio-item { max-width: 100%; }
    .portfolio-info { display: none; }
    
    .lightbox-caption h3 { font-size: 20px; }
    
    .philosophy-stats { flex-direction: column; gap: 25px; }
    
    .checkout-modal-content { padding: 35px 25px; }
    .checkout-modal-content h2 { font-size: 26px; }
    .review-modal-content { padding: 35px 25px; }
    .review-modal-content h2 { font-size: 26px; }
    .star-input { font-size: 30px; }
    
    .delivery-option-content { padding: 10px 14px; gap: 12px; }
    .delivery-option-icon { font-size: 20px; }
    .delivery-option-text strong { font-size: 12px; }
    .delivery-option-text span { font-size: 10px; }
    
    .hero-contacts { flex-direction: column; gap: 12px; }
    .hero-contact-link { width: 100%; text-align: center; }
    .footer-contacts { flex-direction: column; gap: 25px; }
    .contact-value { font-size: 22px; }
    
    .category-filter { gap: 6px; margin-bottom: 40px; }
    .category-btn { padding: 10px 18px; font-size: 10px; letter-spacing: 1px; }
    
    .delivery-grid { grid-template-columns: 1fr; }
    .delivery-card h3 { font-size: 22px; }
    .delivery-icon { font-size: 40px; }
    .delivery-note { padding: 20px; }
    
    .custom-modal-content { padding: 35px 25px; }
    .custom-modal-content h2 { font-size: 26px; }
}
/* ===== РАЗМЕРЫ В МОДАЛКЕ КАСТОМНОГО ТОВАРА (принудительно видны) ===== */
#customSizes {
    opacity: 1 !important;
    transform: translateY(0) !important;
    max-height: 200px !important;
    overflow: visible !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 10px;
}

#customSizes .size-btn {
    width: 50px;
    height: 50px;
    font-size: 14px;
    border: 1px solid #333;
    color: #888;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

#customSizes .size-btn:hover {
    border-color: #c9a050;
    color: #c9a050;
}

#customSizes .size-btn.active {
    background: #c9a050;
    border-color: #c9a050;
    color: #080808;
    font-weight: bold;
}