/* ============================================================
   Амулет Алтай — amuletaltai.ru
   Общие стили сайта (все страницы)
   ============================================================ */

:root {
    --bg-dark: #0a0a1a;
    --bg-purple: #1a1035;
    --gold: #d4af37;
    --gold-light: #f0d060;
    --purple-neon: #9b4dff;
    --text-light: #e0d9f5;
    --text-muted: #a79ec9;
    --card-bg: rgba(20, 15, 40, 0.7);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.5);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Визуально скрытый, но доступный для скринридеров текст */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ===== ЛЕТАЮЩИЕ ЧАСТИЦЫ ===== */
.particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(1px);
    animation: floatParticle linear infinite;
    opacity: 0.5;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(30px) scale(0.3);
        opacity: 0;
    }
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
main.page {
    min-height: 100vh;
    padding: 130px 0 60px;
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}
h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
    text-align: center;
}
.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Заголовки страниц по центру */
body[data-page="catalog"] h1,
body[data-page="about"] h1,
body[data-page="contacts"] h1,
body[data-page="spirits"] h1 {
    text-align: center;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}
.breadcrumbs li + li::before {
    content: '›';
    margin-right: 8px;
    color: var(--gold);
}
.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumbs a:hover {
    color: var(--gold);
}
.breadcrumbs [aria-current="page"] {
    color: var(--gold);
}

/* ===== ШАПКА ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px 0;
    transition: all 0.3s;
}
.header.scrolled {
    background: rgba(10, 10, 26, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}
.logo i {
    font-size: 2rem;
    color: var(--gold-light);
    text-shadow: 0 0 15px var(--gold);
}
.nav-links {
    display: flex;
    gap: 18px;
    list-style: none;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
    font-size: 0.88rem;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--gold);
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
}
.cart-icon:hover {
    color: var(--gold-light);
}
.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--gold);
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Бургер-меню */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.burger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

/* ===== ГЛАВНАЯ (HOME) ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    min-height: calc(100vh - 130px);
    position: relative;
}
.hero-content {
    flex: 1 1 450px;
}
.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 20px 0 30px;
    max-width: 500px;
}
.hero-note {
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-top: -10px;
}
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #1a1a1a;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    font-family: var(--font-body);
}
.btn:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    transform: translateY(-2px);
}
.hero-visual {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}
.cube-wrapper {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}
.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
    background: rgba(20, 15, 40, 0.8);
    border: 2px solid var(--gold);
    box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.3);
    backface-visibility: hidden;
}
.cube-face i {
    text-shadow: 0 0 20px var(--gold);
}
.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(150px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(150px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(150px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(150px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(150px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(150px); }

@keyframes rotateCube {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

/* ===== НАВИГАЦИЯ ПО СЕЗОНАМ (ГЛАВНАЯ) ===== */
.seasons-nav {
    margin-top: 60px;
    padding: 60px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}
.season-card {
    display: block;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.4s;
}
.season-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}
.season-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}
.season-card h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.season-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== ДВЕ КОЛОНКИ ===== */
.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
    align-items: stretch;
}
.two-columns .col {
    flex: 1 1 45%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}
.two-columns .col h2 {
    text-align: center;
    margin-bottom: 24px;
}
.two-columns .col p {
    color: var(--text-muted);
    margin-bottom: 15px;
}
/* ===== БЛОК ССЫЛКИ НА ПИСЬМО ДУХАМ ===== */
.spirits-link-block {
    background: rgba(20, 15, 40, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}
.spirits-link-block h2 {
    margin-bottom: 20px;
}
.spirits-link-block p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

/* ===== ОБЩИЙ РАЗДЕЛ origin-section ===== */
.origin-section {
    margin-top: 60px;
    padding: 60px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}
.origin-section h2 {
    margin-bottom: 30px;
    color: var(--gold);
}
.origin-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== КАТАЛОГ ===== */
.catalog-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    perspective: 1000px;
}
.amulet-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.5s;
    transform-style: preserve-3d;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.amulet-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.amulet-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.5);
}
.amulet-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
    background: radial-gradient(circle, rgba(155, 77, 255, 0.2), rgba(20, 15, 40, 0.9));
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.amulet-info {
    padding: 20px;
    text-align: center;
}
.amulet-info h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.amulet-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.amulet-price {
    font-size: 1.3rem;
    color: var(--gold-light);
    font-weight: 600;
}
.btn-buy {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 8px 20px;
}

/* ===== СЕЗОННЫЕ СТРАНИЦЫ ===== */
.season-header {
    margin-bottom: 40px;
}
.season-header h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.8rem;
}
.season-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.season-text {
    flex: 1 1 400px;
}
.season-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}
.season-symbol {
    flex: 1 1 200px;
    text-align: center;
    font-size: 8rem;
    color: var(--gold);
    text-shadow: 0 0 40px var(--gold);
    animation: pulse 3s infinite alternate;
}
@keyframes pulse {
    from { text-shadow: 0 0 20px var(--gold); }
    to { text-shadow: 0 0 60px var(--gold-light); }
}
.season-products-section h2 {
    margin-bottom: 40px;
}
.season-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

/* ===== О НАС ===== */
.about-text {
    max-width: 900px;
    margin: 40px auto 0;
}
.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.about-image {
    display: flex;
    justify-content: center;
    perspective: 800px;
    margin: 10px 0 0;
}
.magic-circle {
    width: 250px;
    height: 250px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: relative;
    animation: spinCircle 20s linear infinite;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}
.magic-circle::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px dashed var(--gold);
    border-radius: 50%;
    animation: spinReverse 15s linear infinite;
}
.magic-circle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold);
}
@keyframes spinCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes spinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* ===== КОНТАКТЫ ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    letter-spacing: 1px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    transition: border 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
textarea {
    min-height: 120px;
    resize: vertical;
}

/* Контактная информация */
.contact-info {
    max-width: 600px;
    margin: 50px auto 0;
    text-align: center;
    color: var(--text-muted);
}
.contact-info p {
    margin-bottom: 10px;
}
.contact-info a {
    color: var(--gold);
    text-decoration: none;
}
.contact-info a:hover {
    color: var(--gold-light);
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: rgba(10, 10, 26, 0.95);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}
.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.footer p:last-child {
    margin-bottom: 0;
}
.footer a {
    color: var(--gold);
    text-decoration: none;
}
.footer a:hover {
    color: var(--gold-light);
}
.footer .footer-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 15px;
    padding: 0;
}
.footer .footer-nav a {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer .footer-nav a:hover {
    color: var(--gold);
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-overlay.show {
    display: flex;
}
.modal {
    background: var(--bg-dark);
    border: 1px solid var(--gold);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(212,175,55,0.6);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
}
.modal h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold);
}
.order-summary {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
}
.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.payment-method input {
    width: auto;
}
.qr-image {
    max-width: 200px;
    margin: 20px auto;
    display: block;
}
.btn-submit {
    width: 100%;
    margin-top: 10px;
}
.payment-block {
    text-align: center;
    margin-top: 20px;
}
.payment-block h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

/* Корзина */
.cart-items {
    list-style: none;
    margin-bottom: 20px;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-item-info i {
    font-size: 2rem;
    color: var(--gold);
}
.cart-item-title {
    color: var(--text-light);
    font-weight: 600;
}
.cart-item-price {
    color: var(--gold-light);
}
.cart-item-remove {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}
.cart-item-remove:hover {
    color: #ff4444;
}
.cart-total {
    text-align: right;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 20px;
    padding-top: 10px;
}

/* Детальное описание */
.product-detail {
    text-align: center;
}
.product-detail .amulet-icon-large {
    font-size: 6rem;
    color: var(--gold);
    margin-bottom: 20px;
}
.product-detail h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}
.product-detail p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===== АНИМАЦИИ ПОЯВЛЕНИЯ ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 404 ===== */
.not-found {
    text-align: center;
    padding: 60px 0;
}
.not-found .not-found-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--gold);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    line-height: 1;
}
.not-found p {
    color: var(--text-muted);
    margin: 20px auto 30px;
    max-width: 500px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .nav-links {
        gap: 13px;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    .season-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 26, 0.98);
        padding: 20px;
        gap: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        border-bottom: 1px solid var(--gold);
    }
    .nav-links.active {
        display: flex;
    }
    .burger {
        display: flex;
    }
    .cart-icon {
        margin-left: auto;
        margin-right: 20px;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: 0;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .cube-wrapper {
        width: 200px;
        height: 200px;
    }
    .cube-face {
        font-size: 3rem;
    }
    .cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); }
    .cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(100px); }
    .cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(100px); }
    .cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(100px); }
    .cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(100px); }
    .cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(100px); }
    .catalog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .season-symbol {
        font-size: 5rem;
    }
    main.page {
        padding-top: 110px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .amulet-icon {
        height: 150px;
        font-size: 3rem;
    }
    .season-header h1 {
        font-size: 1.8rem;
    }
}

/* ===== ШАГИ «ПИСЬМО ДУХАМ» ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin: 30px 0 46px;
}
.step {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.step:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 16px;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
}
.step h3 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.step p {
    color: var(--text-muted);
    font-size: .95rem;
    margin: 0;
}

/* ===== FAQ «ПИСЬМО ДУХАМ» ===== */
.faq {
    max-width: 820px;
    margin: 10px auto 0;
}
.faq h2 {
    margin-bottom: 30px;
}
.faq details {
    background: rgba(20, 15, 40, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 4px 22px;
    margin-bottom: 14px;
    transition: border-color .3s;
}
.faq details[open] {
    border-color: var(--gold);
}
.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.02rem;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    font-size: .85rem;
    flex-shrink: 0;
    transition: transform .25s;
}
.faq details[open] summary::after {
    transform: rotate(180deg);
}
.faq details p {
    color: var(--text-muted);
    padding: 0 0 16px;
    margin: 0;
    font-size: .97rem;
}

/* ===== НОВЫЕ РАЗДЕЛЫ: ТОВАРЫ, СТАТЬИ, ДОСТАВКА ===== */

/* Кнопки */
.btn-ghost-dark {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.55);
}
.btn-ghost-dark:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Ссылка «Подробнее о товаре» в карточках каталога */
.more-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}
.more-link:hover { color: var(--gold-light); text-decoration: underline; }
.more-link i { font-size: 0.7rem; }

/* Подвал: дополнительная навигация */
.footer .footer-nav.footer-sub {
    margin: 0 0 16px;
    padding-top: 2px;
}
.footer .footer-nav.footer-sub a { font-size: 0.8rem; }

/* Страница товара */
.prod-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: start;
    margin: 10px 0 20px;
}
.prod-photo {
    min-height: 380px;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(155, 77, 255, 0.25), rgba(20, 15, 40, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    color: var(--gold);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    position: sticky;
    top: calc(var(--header-h, 80px) + 20px);
}
.prod-info h1 { margin-bottom: 18px; }
.prod-lead {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 14px;
}
.prod-price {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 16px;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.prod-text { color: var(--text-muted); margin-bottom: 20px; }
.prod-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}
.prod-features li {
    position: relative;
    padding: 7px 0 7px 26px;
    color: var(--text-muted);
    font-size: 0.98rem;
}
.prod-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--gold);
    font-weight: 800;
}
.prod-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.prod-note {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-top: 16px;
    max-width: 520px;
}
.prod-note a { color: var(--gold); }

/* Статьи */
.article-body { max-width: 900px; margin: 0 auto; }
.article-sec p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.article-sec p strong { color: var(--text-light); }
.article-sec h2 {
    margin: 44px 0 18px;
    font-size: 1.7rem;
}
.plain-list {
    max-width: 780px;
    margin: 6px auto 24px;
    text-align: left;
    color: var(--text-muted);
    font-size: 1.02rem;
}
.plain-list li { margin: 9px 0; }
.article-note {
    max-width: 780px;
    margin: 30px auto;
    padding: 16px 22px;
    border-left: 4px solid var(--gold);
    background: rgba(20, 15, 40, 0.5);
    border-radius: 0 12px 12px 0;
    color: var(--text-muted);
    text-align: left;
    font-size: 0.97rem;
}

@media (max-width: 860px) {
    .prod-layout { grid-template-columns: 1fr; gap: 30px; }
    .prod-photo { min-height: 260px; font-size: 5rem; position: static; }
    .article-body { padding: 0 6px; }
}

/* ===== ОПЛАТА СБП: QR для ПК, кнопка для телефона ===== */
.sbp-pay-btn { display: none; }
.sbp-mobile-note { display: none; }

@media (max-width: 820px) {
    /* на телефоне QR не нужен — показываем кнопку оплаты */
    .payment-block .qr-image { display: none; }
    .sbp-pay-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto 4px;
        width: 100%;
        max-width: 380px;
    }
    .sbp-mobile-note {
        display: block;
        color: var(--text-muted);
        font-size: 0.88rem;
        margin-top: 6px;
    }
}

/* Примечание о согласии под формами */
.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 14px;
    text-align: center;
}
.form-note a { color: var(--gold); }

/* ===== НАЗНАЧЕНИЯ И «КАМЕНЬ СЕЗОНА» ===== */
.card-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 10px;
}
.amulet-card.featured {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 20px 50px -22px rgba(212, 175, 55, 0.45);
}
.amulet-card.featured .amulet-icon {
    height: 250px;
    font-size: 5.5rem;
}
.amulet-card.featured .amulet-info h3 { font-size: 1.9rem; }
.amulet-card.featured .amulet-info p { font-size: 1rem; }
.season-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 28px;
}
.season-note a { color: var(--gold); }
/* «Камень сезона» — одна крупная карточка по центру */
#seasonFlagship {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto 10px;
}

.card-badge.secondary {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.2);
    margin-left: 6px;
}

/* ===== ПОДБОР АМУЛЕТА ===== */
.quiz {
    max-width: 860px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 34px 30px;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.35s ease; }
.quiz-question {
    font-size: 1.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 10px;
}
.quiz-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}
.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(20, 15, 40, 0.6);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.98rem;
    text-align: left;
    cursor: pointer;
    transition: border-color .25s, background .25s, transform .25s;
}
.quiz-option:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}
.quiz-option i { color: var(--gold); font-size: 1.1rem; width: 22px; text-align: center; flex-shrink: 0; }

.quiz-result { display: none; text-align: center; margin-top: 40px; }
.quiz-result.active { display: block; animation: fadeIn 0.4s ease; }
.kit-title { font-size: 1.8rem; color: var(--gold); margin: 14px 0 6px; }
.kit-sub { color: var(--text-muted); margin-bottom: 26px; }
.kit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.kit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 18px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(20, 15, 40, 0.7);
    color: var(--text-light);
    text-decoration: none;
    transition: transform .25s, border-color .25s;
}
.kit-card:hover { transform: translateY(-5px); border-color: var(--gold); color: var(--text-light); }
.kit-card i { font-size: 2.4rem; color: var(--gold); }
.kit-name { font-family: var(--font-heading); font-size: 1.25rem; color: var(--gold-light); }
.kit-meta { font-size: 0.85rem; color: var(--text-muted); }
.kit-price { font-weight: 600; color: var(--gold-light); }
.kit-total { color: var(--text-muted); margin-bottom: 22px; }
.kit-total strong { color: var(--gold-light); font-size: 1.15rem; }
.kit-save {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(106, 176, 76, 0.18);
    color: #8fd07a;
    font-size: 0.85rem;
}
@media (max-width: 600px) {
    .quiz { padding: 24px 16px; }
    .quiz-question { font-size: 1.25rem; }
    .kit-title { font-size: 1.45rem; }
}

/* ===== CTA-БАННЕР (подбор амулета) ===== */
.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding: 36px 40px;
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(20, 15, 40, 0.95), rgba(42, 26, 72, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(212, 175, 55, 0.06);
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
    pointer-events: none;
}
.cta-band h2 {
    text-align: left;
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: var(--gold);
}
.cta-band p {
    color: var(--text-muted);
    margin: 0;
    max-width: 640px;
}
.cta-band .btn { flex-shrink: 0; position: relative; z-index: 1; }
@media (max-width: 700px) {
    .cta-band { padding: 28px 22px; }
    .cta-band h2 { font-size: 1.35rem; }
    .cta-band .btn { width: 100%; text-align: center; }
}

/* ===== ФОТО АМУЛЕТОВ ===== */
.amulet-icon.has-photo {
    padding: 0;
    background: radial-gradient(circle, rgba(155, 77, 255, 0.18), rgba(20, 15, 40, 0.95));
    overflow: hidden;
}
.amulet-icon.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.amulet-card:hover .amulet-icon.has-photo img { transform: scale(1.06); }
.amulet-card.featured .amulet-icon.has-photo { height: 320px; }
.amulet-photo-large {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 20px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: block;
}
/* Фото на странице товара */
.prod-photo.has-photo {
    padding: 0;
    overflow: hidden;
    min-height: 0;
    background: rgba(20, 15, 40, 0.9);
}
.prod-photo.has-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 19px;
}
@media (max-width: 600px) {
    .amulet-card.featured .amulet-icon.has-photo { height: 240px; }
}

/* ===== ИНФО-ЗАМЕТКА (о различиях камней и т.п.) ===== */
.info-note {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 22px 26px;
    border-radius: 16px;
    background: rgba(20, 15, 40, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-left: 4px solid var(--gold);
}
.info-note i {
    color: var(--gold);
    font-size: 1.4rem;
    margin-top: 4px;
    flex-shrink: 0;
}
.info-note h3 {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.info-note p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}
.info-note p + p { margin-top: 8px; }
@media (max-width: 600px) {
    .info-note { flex-direction: column; gap: 12px; padding: 18px 20px; }
}

/* Строка «натуральный камень» в карточках и на страницах товара */
.natural-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 18px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.07);
    border-left: 3px solid rgba(212, 175, 55, 0.5);
    text-align: left;
}
.prod-info .natural-note { margin: 16px 0; }

/* ===== КОМПАКТНОЕ МОДАЛЬНОЕ ОКНО ТОВАРА =====
   Фото слева, текст справа — окно больше не растягивается по вертикали */
.modal { padding: 26px; }
.product-detail {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 26px;
    align-items: start;
    text-align: left;
}
.pd-media img,
.pd-media .amulet-photo-large {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    margin: 0;
    display: block;
}
.pd-media .amulet-icon-large {
    font-size: 5rem;
    text-align: center;
    margin: 0;
    padding: 60px 0;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(155, 77, 255, 0.18), rgba(20, 15, 40, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.pd-info h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin: 0 0 6px;
    text-align: left;
}
.pd-price {
    font-size: 1.45rem;
    display: block;
    margin-bottom: 12px;
}
.pd-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 14px;
}
.pd-info .natural-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    font-size: 0.8rem;
    max-width: none;
}
.pd-info .btn-buy {
    width: 100%;
    margin-top: 0;
    text-align: center;
}
@media (max-width: 720px) {
    .product-detail { grid-template-columns: 1fr; gap: 18px; }
    .pd-media img, .pd-media .amulet-photo-large { height: 200px; }
    .pd-media .amulet-icon-large { padding: 34px 0; font-size: 4rem; }
    .modal { padding: 22px 18px; }
}

/* Окно быстрого просмотра — шире, чтобы две колонки дышали */
#detailModal .modal { max-width: 780px; }
#detailModal .modal-close { z-index: 2; }

/* Фото на странице товара: не растягивается, ограничено по высоте */
.prod-photo.has-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.prod-photo.has-photo img {
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}

/* ===== ССЫЛКА НА ВКОНТАКТЕ ===== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold);
    font-size: 1.05rem;
    text-decoration: none;
    transition: background .25s, color .25s, transform .25s, border-color .25s;
    flex-shrink: 0;
}
.social-icon:hover {
    background: var(--gold);
    color: #1a1a1a;
    border-color: var(--gold);
    transform: translateY(-2px);
}
.cart-icon { margin-left: 12px; }
.footer-social {
    margin: 0 0 16px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-social a:hover { color: var(--gold-light); }
.footer-social i { font-size: 1.1rem; }
@media (max-width: 480px) {
    .social-icon { width: 34px; height: 34px; font-size: .95rem; }
}

/* Заметка о штучных изделиях */
.info-note.limited-note { border-left-color: var(--gold-light); }
.limited-note i.fa-mountain { margin-right: 6px; }

/* ===== БЕСПЛАТНАЯ ДОСТАВКА ===== */
.free-delivery {
    display: block;
    max-width: 800px;
    margin: 0 auto 22px;
    padding: 16px 22px;
    border-radius: 14px;
    background: rgba(106, 176, 76, 0.1);
    border: 1px solid rgba(106, 176, 76, 0.35);
    color: var(--text-light) !important;
    font-size: 1rem;
    text-align: center;
}
.free-delivery i { color: #8fd07a; margin-right: 8px; }
.cart-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(106, 176, 76, 0.12);
    color: #8fd07a;
    font-size: 0.85rem;
    text-align: center;
}
.cart-note i { margin-right: 6px; }
.free-delivery-note {
    background: rgba(106, 176, 76, 0.1);
    border-left-color: rgba(106, 176, 76, 0.55);
}

/* ===== ОТЗЫВЫ: вертикальный список по датам ===== */
.reviews { margin: 60px 0 10px; }
.reviews h2 { margin-bottom: 14px; }
.review-average {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 22px;
}
.review-average strong { color: var(--gold-light); }
.reviews-note {
    max-width: 860px;
    margin: 0 auto 34px;
    padding: 16px 22px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-left: 4px solid var(--gold);
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: left;
}
.reviews-note a { color: var(--gold); }

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.review-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-left: 3px solid rgba(212, 175, 55, 0.5);
    border-radius: 14px;
    padding: 22px 26px;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.review-card:hover {
    border-color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(26, 20, 48, 0.75);
}
.review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.review-author {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}
.review-date {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-left: auto;
}
.review-title {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 8px;
    letter-spacing: 0;
}
.review-text {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.75;
    margin: 0;
}
/* Развёрнутые отзывы — свёрнуты, раскрываются по клику */
details.review-more { padding: 22px 26px; }
details.review-more > summary {
    cursor: pointer;
    list-style: none;
    margin: 0;
}
details.review-more > summary::-webkit-details-marker { display: none; }
details.review-more .review-open {
    display: inline-block;
    margin-top: 4px;
    color: var(--gold-light);
    font-size: 0.85rem;
}
details.review-more .review-open::after { content: ' ▾'; }
details.review-more[open] .review-open::after { content: ' ▴'; }
details.review-more > .review-text { margin-top: 12px; }
.reviews-all { text-align: center; margin-top: 30px; }
.reviews-all a { color: var(--gold); font-weight: 600; }
.review-stars {
    display: inline-flex;
    gap: 3px;
    font-size: 0.95rem;
    color: var(--gold);
    line-height: 1;
}
.review-stars .off { color: rgba(224, 217, 245, 0.2); }
@media (max-width: 600px) {
    .review-card, details.review-more { padding: 18px 18px; }
    .review-date { margin-left: 0; width: 100%; }
    .review-title { font-size: 1.08rem; }
}
/* ===== БЕСПЛАТНАЯ ДОСТАВКА ===== */
.free-delivery {
    display: block;
    max-width: 800px;
    margin: 0 auto 22px;
    padding: 16px 22px;
    border-radius: 14px;
    background: rgba(106, 176, 76, 0.1);
    border: 1px solid rgba(106, 176, 76, 0.35);
    color: var(--text-light) !important;
    font-size: 1rem;
    text-align: center;
}
.free-delivery i { color: #8fd07a; margin-right: 8px; }
.cart-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(106, 176, 76, 0.12);
    color: #8fd07a;
    font-size: 0.85rem;
    text-align: center;
}
.cart-note i { margin-right: 6px; }
.free-delivery-note {
    background: rgba(106, 176, 76, 0.1);
    border-left-color: rgba(106, 176, 76, 0.55);
}

/* ===== ОТЗЫВЫ: вертикальный список по датам ===== */
.reviews { margin: 60px 0 10px; }
.reviews h2 { margin-bottom: 14px; }
.review-average {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 22px;
}
.review-average strong { color: var(--gold-light); }
.reviews-note {
    max-width: 860px;
    margin: 0 auto 34px;
    padding: 16px 22px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-left: 4px solid var(--gold);
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: left;
}
.reviews-note a { color: var(--gold); }

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.review-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-left: 3px solid rgba(212, 175, 55, 0.5);
    border-radius: 14px;
    padding: 22px 26px;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.review-card:hover {
    border-color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(26, 20, 48, 0.75);
}
.review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.review-author {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}
.review-date {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-left: auto;
}
.review-title {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 8px;
    letter-spacing: 0;
}
.review-text {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.75;
    margin: 0;
}
/* Развёрнутые отзывы — свёрнуты, раскрываются по клику */
details.review-more { padding: 22px 26px; }
details.review-more > summary {
    cursor: pointer;
    list-style: none;
    margin: 0;
}
details.review-more > summary::-webkit-details-marker { display: none; }
details.review-more .review-open {
    display: inline-block;
    margin-top: 4px;
    color: var(--gold-light);
    font-size: 0.85rem;
}
details.review-more .review-open::after { content: ' ▾'; }
details.review-more[open] .review-open::after { content: ' ▴'; }
details.review-more > .review-text { margin-top: 12px; }
.reviews-all { text-align: center; margin-top: 30px; }
.reviews-all a { color: var(--gold); font-weight: 600; }
.review-stars {
    display: inline-flex;
    gap: 3px;
    font-size: 0.95rem;
    color: var(--gold);
    line-height: 1;
}
.review-stars .off { color: rgba(224, 217, 245, 0.2); }
@media (max-width: 600px) {
    .review-card, details.review-more { padding: 18px 18px; }
    .review-date { margin-left: 0; width: 100%; }
    .review-title { font-size: 1.08rem; }
}
/* ===== ЗВЁЗДЫ В ОТЗЫВАХ ===== */
.review-stars {
    display: flex;
    gap: 3px;
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--gold);
    line-height: 1;
}
.review-stars .off { color: rgba(224, 217, 245, 0.22); }
details.review-more .review-stars { padding: 0 24px; margin-bottom: 10px; }
.review-average {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: -10px 0 26px;
}
.review-average strong { color: var(--gold-light); }

/* ===== ФОРМА ОТЗЫВА И ВВОД ЗВЁЗД ===== */
.review-form { margin-bottom: 50px; }
.review-form h2 { text-align: center; }
.form-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 26px;
}
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.form-group select:focus { outline: none; border-color: var(--gold); }
.form-group select option { background: #14102a; color: var(--text-light); }
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 6px;
}
.rating input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.rating label {
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    color: rgba(224, 217, 245, 0.22);
    transition: color .2s, transform .2s;
}
.rating label:hover { transform: scale(1.12); }
.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
    color: var(--gold);
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
}
.rating input:focus-visible + label {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== ПАНЕЛЬ ФИЛЬТРОВ ОТЗЫВОВ ===== */
.review-controls {
    max-width: 900px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.review-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.rf {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(20, 15, 40, 0.6);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.87rem;
    cursor: pointer;
    transition: all .25s;
    white-space: nowrap;
}
.rf span { color: var(--gold-light); font-weight: 600; margin-left: 4px; }
.rf:hover { border-color: var(--gold); color: var(--text-light); }
.rf.is-active {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    border-color: transparent;
    color: #1a1a1a;
    font-weight: 600;
}
.rf.is-active span { color: #1a1a1a; }
.review-sort select {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(20, 15, 40, 0.6);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.87rem;
    cursor: pointer;
}
.review-sort select:focus { outline: none; border-color: var(--gold); }
.review-sort option { background: #14102a; color: var(--text-light); }
.review-shown {
    margin: 0 0 0 auto;
    color: var(--text-muted);
    font-size: 0.85rem;
}
@media (max-width: 600px) {
    .review-controls { gap: 10px; }
    .review-shown { margin-left: 0; width: 100%; }
    .rf { padding: 7px 13px; font-size: 0.82rem; }
}

.review-empty {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 16px 20px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
    text-align: center;
}
