/* ═══════════════════════════════════════════════════════════════
   SmolArt — Variant 5: Artlab Deco Style Redesign
   CSS Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS & SYSTEM ────────────────────────────── */
:root {
    /* Brand Colors */
    --emerald-dark: #0f2318;
    --emerald: #1b3f27;
    --emerald-light: #28593a;
    --emerald-lightest: #eef5f0;
    
    --sand-dark: #e8dbcb;
    --sand: #f6eee0;
    --sand-light: #faf7f2;
    
    --gold-dark: #8f6d48;
    --gold: #cfa87b;
    --gold-light: #e5c197;
    --gold-glow: rgba(207, 168, 123, 0.25);
    
    --text-dark: #1b2520;
    --text-dark-muted: #53625a;
    --text-light: #faf7f2;
    --text-light-muted: rgba(246, 238, 224, 0.7);
    
    /* Layout & Styling */
    --header-h: 70px;
    --card-radius: 16px;
    --btn-radius: 8px;
    --section-pad: 5rem;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Glassmorphism */
    --glass-dark: rgba(15, 35, 24, 0.65);
    --glass-light: rgba(246, 238, 224, 0.75);
    --glass-border-dark: rgba(207, 168, 123, 0.2);
    --glass-border-light: rgba(27, 63, 39, 0.1);
}

/* ─── 2. BASE RESET & GLOBAL STYLES ─────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--sand-light);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Noto Serif', 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-dark-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--sand);
}
::-webkit-scrollbar-thumb {
    background: var(--emerald-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--emerald);
}

/* ─── 3. UTILITIES & CONTAINER ──────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.w-100 { width: 100%; }
.hidden { display: none !important; }

.section {
    padding: var(--section-pad) 0;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--emerald-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-dark-muted);
}

.bg-sand-light {
    background-color: var(--sand);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.align-center {
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(143, 109, 72, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 109, 72, 0.45);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.btn-gold:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--emerald);
    color: var(--emerald);
}
.btn-outline:hover {
    background: var(--emerald);
    color: #fff;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
}

/* Glassmorphism Card Base */
.glass-card {
    background: var(--glass-light);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(27, 63, 39, 0.05);
}

/* ─── 4. FIXED HEADER ───────────────────────────────────────── */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(246, 238, 224, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 63, 39, 0.06);
    transition: var(--transition);
}

.glass-header.scrolled {
    background: rgba(15, 35, 24, 0.9);
    border-bottom-color: var(--glass-border-dark);
}
.glass-header.scrolled .header-logo,
.glass-header.scrolled .nav-link {
    color: var(--text-light);
}
.glass-header.scrolled .nav-link.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

.header-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--emerald-dark);
    letter-spacing: -0.02em;
}
.logo-mark {
    color: var(--gold);
}

.header-nav {
    display: flex;
    gap: 1.75rem;
    height: 100%;
    align-items: center;
}
.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}
.nav-link:hover {
    color: var(--gold-dark);
}
.nav-link.active {
    color: var(--emerald);
    font-weight: 600;
    border-bottom: 2px solid var(--emerald);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.header-socials {
    display: flex;
    gap: 0.75rem;
}
.social-icon {
    color: var(--gold);
    opacity: 0.8;
}
.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--emerald);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.cart-btn:hover {
    background: var(--emerald-light);
}
.cart-count {
    background: var(--gold);
    color: var(--emerald-dark);
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 100px;
}

/* Burger Menu Button (hidden on desktop) */
.burger-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 25px;
    height: 18px;
    justify-content: space-between;
    padding: 0;
    z-index: 110;
    transition: var(--transition);
}
.burger-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--emerald-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.burger-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.burger-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--emerald-dark);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2rem;
}
.mobile-menu-drawer.active {
    transform: translateY(0);
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}
.mobile-nav-link {
    font-family: 'Noto Serif', serif;
    font-size: 1.8rem;
    color: var(--text-light-muted);
    font-weight: 600;
    transition: var(--transition);
}
.mobile-nav-link.active, .mobile-nav-link:hover {
    color: var(--gold-light);
}
.mobile-menu-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gold-light);
}
.mobile-menu-socials .sep {
    color: rgba(255,255,255,0.2);
}
body.no-scroll {
    overflow: hidden;
}

/* ─── 5. SPA ROUTER VIEWS ───────────────────────────────────── */
.page-view {
    display: none;
    padding-top: var(--header-h);
    min-height: 100vh;
    animation: pageFadeIn 0.5s ease;
}
.page-view.active {
    display: block;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── 6. HOME PAGE STYLES ───────────────────────────────────── */
/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 3rem 0;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Исходное зеленое перекрытие (можно раскомментировать для возврата): */
    /* background: linear-gradient(135deg, rgba(15, 35, 24, 0.84) 35%, rgba(15, 35, 24, 0.45) 100%); */
    background: linear-gradient(135deg, rgba(15, 30, 22, 0.5) 0%, rgba(15, 30, 22, 0.25) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-block {
    color: var(--text-light);
}
.hero-badge {
    display: inline-block;
    background: rgba(15, 30, 22, 0.65);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-tagline {
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 550px;
}

/* Forms */
.hero-form-card {
    background: var(--glass-dark);
    border-color: var(--glass-border-dark);
    color: var(--text-light);
}
.hero-form-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.form-desc {
    font-size: 0.85rem;
    color: var(--text-light-muted);
    margin-bottom: 1.5rem;
}

.request-form .form-group {
    margin-bottom: 1rem;
}
.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--btn-radius);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
    background: rgba(255,255,255,0.1);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light-muted);
    margin-bottom: 0.5rem;
}
.radio-group {
    display: flex;
    gap: 1rem;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    cursor: pointer;
}
.radio-label input {
    accent-color: var(--gold);
}

.checkbox-group {
    margin-top: 1rem;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light-muted);
    cursor: pointer;
}
.checkbox-label input {
    margin-top: 0.15rem;
    accent-color: var(--gold);
}
.checkbox-label a {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Price List styling */
.price-list-card {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2.5rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(27,63,39,0.08);
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(27,63,39,0.03);
}
.price-list-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(27,63,39,0.1);
    padding-bottom: 1rem;
}
.price-tag-icon {
    font-size: 1.35rem;
    background: rgba(27,63,39,0.05);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27,63,39,0.1);
}
.price-list-header h3 {
    font-size: 1.35rem;
    color: var(--emerald-dark);
    margin: 0;
    font-family: 'Noto Serif', serif;
}
.price-list-items {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.price-item {
    display: flex;
    align-items: flex-end;
    width: 100%;
}
.price-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    background: transparent;
    padding-right: 0.5rem;
}
.price-dots {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(27,63,39,0.3);
    margin-bottom: 4px;
}
.price-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--emerald-dark);
    padding-left: 0.5rem;
    white-space: nowrap;
}
.price-list-notes {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(27,63,39,0.15);
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    line-height: 1.4;
}
.price-list-notes p {
    margin-bottom: 0.4rem;
}
.price-list-notes p:last-child {
    margin-bottom: 0;
}
.note-link {
    color: var(--emerald-dark);
    text-decoration: underline;
    font-weight: 600;
}
.note-link:hover {
    color: var(--gold);
}
.price-list-intro, .courses-info-header {
    background: rgba(27,63,39,0.03);
    border: 1px solid rgba(27,63,39,0.08);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    text-align: center;
}
.price-list-intro p, .courses-info-header p {
    margin-bottom: 0.4rem;
}
.price-list-intro p:last-child, .courses-info-header p:last-child {
    margin-bottom: 0;
}
.courses-info-header {
    max-width: 800px;
    margin: 1.5rem auto 3rem;
}

/* Direction Cards */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.direction-card {
    position: relative;
    height: 350px;
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 25px rgba(27,63,39,0.08);
}
.direction-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.direction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 35, 24, 0.85) 20%, rgba(15, 35, 24, 0.1) 80%);
    transition: var(--transition);
}
.direction-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
    color: #fff;
    width: 100%;
}
.direction-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.direction-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
}
.direction-card:hover img {
    transform: scale(1.08);
}
.direction-card:hover .direction-overlay {
    background: linear-gradient(to top, rgba(15, 35, 24, 0.95) 25%, rgba(15, 35, 24, 0.2) 80%);
}

/* Showcase & Intro Section */
.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--emerald-dark);
    margin-bottom: 1.25rem;
}
.intro-quote {
    margin-top: 2rem;
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
}
.intro-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark-muted);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature-icon {
    font-size: 1.5rem;
    background: rgba(27,63,39,0.06);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    flex-shrink: 0;
}
.feature-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--emerald-dark);
}
.feature-text p {
    font-size: 0.85rem;
}

/* Alternating Grid System */
.alt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.alt-text-block {
    background-color: var(--sand);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.alt-text-block h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--emerald-dark);
}
.alt-img-block {
    position: relative;
    min-height: 350px;
}
.alt-img-block img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.arrow-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    z-index: 2;
}
.arrow-overlay.right {
    right: 0;
    border-right: 16px solid var(--sand);
}
.arrow-overlay.left {
    left: 0;
    border-left: 16px solid var(--sand);
}

/* Author Section */
.author-img-container {
    text-align: center;
}
.author-img {
    max-width: 80%;
    border-radius: var(--card-radius);
    border: 3px solid var(--gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.author-info .section-title {
    margin-bottom: 1.5rem;
}
.author-info p {
    margin-bottom: 1rem;
}
.author-signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold-dark);
    margin-top: 2rem;
}

/* Custom & Advantages combined section */
.section-custom-advantages {
    background: var(--bg-light);
    border-bottom: 1px solid rgba(27,63,39,0.05);
}
.custom-advantages-main {
    align-items: stretch;
    gap: 2.5rem;
}
.custom-orders-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.custom-order-cta {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.45);
}
.custom-order-cta p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
.btn-custom-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #55705e; /* grayish forest green from screenshot */
    color: #ffffff !important;
    padding: 0.9rem 1.5rem;
    border-radius: var(--card-radius);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: var(--transition);
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(85, 112, 94, 0.15);
    border: none;
    width: 100%;
}
.btn-custom-order:hover {
    background: #465d4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(85, 112, 94, 0.25);
}
.custom-order-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.custom-order-icon svg {
    width: 100%;
    height: 100%;
}
.why-choose-me {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.why-choose-me h3 {
    font-size: 1.25rem;
    color: var(--emerald-dark);
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif', serif;
}
.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.why-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.why-icon {
    font-size: 1.15rem;
    line-height: 1.2;
}
.why-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
}

/* Yandex Award Badge styles */
.yandex-badge-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px dashed rgba(27, 63, 39, 0.15);
}
.yandex-badge-img {
    width: 80px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.yandex-badge-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.yandex-badge-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.yandex-badge-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
}
.yandex-badge-info h4 {
    margin: 0;
    font-size: 1rem;
    font-family: 'Noto Serif', serif;
    color: var(--emerald-dark);
}
.yandex-badge-info p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.advantages-grid-wrapper {
    margin-top: 4rem;
    border-top: 1px dashed rgba(27,63,39,0.15);
    padding-top: 3rem;
}
.advantages-grid-title {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    color: var(--emerald-dark);
    margin-bottom: 2rem;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
.advantage-card {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--card-radius);
    text-align: center;
    transition: var(--transition);
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(27,63,39,0.08);
}
.adv-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(27,63,39,0.04);
    border-radius: 50%;
    color: var(--gold);
}
.advantage-card h4 {
    font-family: 'Noto Serif', serif;
    font-size: 1.1rem;
    color: var(--emerald-dark);
    margin-bottom: 0.75rem;
}
.advantage-card p {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    line-height: 1.5;
    margin: 0;
}
.alert-card {
    border: 1px solid rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.02);
}
.alert-card:hover {
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.05);
}
.alert-card .adv-icon {
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
}

@media (min-width: 992px) {
    .advantage-card.alert-card {
        grid-column: span 2;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1.5rem;
    }
    .advantage-card.alert-card .adv-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }
}


/* ═══════════════════════════════════════════════════════════════
   STUNNING & ALIGNED GALLERY CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 2.5rem auto 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: calc((100% - 3rem) / 3);
    scroll-snap-align: start;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.carousel-slide:hover img {
    transform: scale(1.06);
}

.carousel-nav-btn {
    background: var(--emerald, #1b3f27);
    color: #ffffff !important;
    border: 2px solid #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
    user-select: none;
    outline: none;
}

.carousel-nav-btn:hover {
    background: var(--gold, #d4af37);
    color: #1b3f27 !important;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev-btn {
    left: -5px;
}

.carousel-nav-btn.next-btn {
    right: -5px;
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        min-width: calc((100% - 1.5rem) / 2);
        height: 260px;
    }
}

@media (max-width: 600px) {
    .gallery-carousel-wrapper {
        padding: 0 10px;
    }
    .carousel-container {
        gap: 0;
    }
    .carousel-slide {
        flex: 0 0 100%;
        min-width: 100%;
        height: 280px;
        scroll-snap-align: center;
    }
    .carousel-nav-btn.prev-btn { left: 5px; }
    .carousel-nav-btn.next-btn { right: 5px; }
}


/* Reviews Section Layout */
.reviews-star-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.star-line {
    height: 1px;
    background: rgba(27,63,39,0.15);
    width: 80px;
}
.star-icon {
    color: var(--emerald-dark);
    font-size: 1.25rem;
}
.reviews-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}
.btn-emerald {
    background: var(--emerald);
    color: #fff;
    box-shadow: 0 4px 15px rgba(27, 63, 39, 0.15);
}
.btn-emerald:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 63, 39, 0.25);
}
.btn-emerald:active {
    transform: translateY(0);
}
.review-btn {
    width: 100%;
    max-width: 450px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 1.1rem 2rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-size: 0.9rem;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}
.review-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.review-stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
}
.review-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

/* FAQ Accordion Details */
.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}
.faq-item {
    cursor: pointer;
}
.faq-item summary {
    font-size: 1rem;
    font-weight: 600;
    color: var(--emerald-dark);
    padding: 0.5rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--gold);
    transition: var(--transition);
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    margin-top: 1rem;
    border-top: 1px solid rgba(27,63,39,0.06);
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* Contacts Footer Section */
.section-contacts {
    background-color: var(--emerald-dark);
    color: var(--text-light);
    padding: var(--section-pad) 0 3rem;
}
.contacts-title {
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 3rem;
}
.contacts-grid-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}
.contact-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.contact-footer-item p {
    color: var(--text-light-muted);
}
.contact-footer-item a {
    color: var(--gold-light);
}
.footer-address-link {
    color: var(--text-light-muted) !important;
    text-decoration: none;
    transition: var(--transition);
}
.footer-address-link:hover {
    color: var(--gold-light) !important;
    text-decoration: underline;
}

/* Contacts Socials */
.contacts-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto 3rem;
}
.contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #55705e; /* matches brand custom order gray-green */
    color: #ffffff;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(85, 112, 94, 0.2);
    border: 1px solid rgba(255,255,255,0.06);
}
.contact-social-btn:hover {
    background: var(--gold);
    color: #ffffff !important;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 168, 123, 0.4);
}
.contact-social-btn svg {
    width: 26px;
    height: 26px;
}

/* Yandex Map Container styling */
.footer-map-container {
    max-width: 600px;
    margin: 0 auto 4rem;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 3rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.footer-legal p {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.4);
}
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
    margin: 0 0.5rem;
}
.footer-links a:hover {
    color: var(--gold-light);
}
.footer-copy {
    margin-top: 1.5rem;
}

/* ─── 7. SHOP PAGE STYLES ───────────────────────────────────── */
.shop-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.shop-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.shop-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}
.shop-hero-content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.shop-hero-content p {
    color: var(--text-light-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Catalog Sidebar Layout */
.shop-catalog {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem 5rem;
}

.catalog-sidebar h3 {
    font-size: 1.15rem;
    color: var(--emerald-dark);
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--sand);
    padding-bottom: 0.5rem;
}
.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.cat-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.cat-btn:hover {
    background: rgba(27,63,39,0.04);
    color: var(--emerald);
}
.cat-btn.active {
    background: var(--emerald);
    color: #fff;
    font-weight: 600;
}

.sidebar-info-card {
    background: var(--emerald-lightest);
}
.sidebar-info-card h4 {
    font-size: 1rem;
    color: var(--emerald-dark);
    margin-bottom: 0.5rem;
}
.sidebar-info-card p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* Catalog Main Content */
.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}
.search-bar {
    flex: 1;
    max-width: 400px;
}
.search-bar input {
    background: #fff;
    border: 1px solid var(--sand-dark);
    color: var(--text-dark);
}
.search-bar input::placeholder {
    color: #999;
}
.sort-select-wrapper select {
    background: #fff;
    border: 1px solid var(--sand-dark);
    color: var(--text-dark);
}

.category-description {
    display: none;
    background: var(--sand);
    padding: 1.25rem 1.75rem;
    border-radius: var(--card-radius);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.category-description.active {
    display: block;
}
.category-description h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--emerald-dark);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(27,63,39,0.04);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(27,63,39,0.08);
}
.product-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: var(--sand);
    cursor: pointer;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}
.product-card:hover .product-card-img img {
    transform: scale(1.04);
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--emerald);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}
.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--emerald-dark);
    line-height: 1.4;
    cursor: pointer;
}
.product-card-body h3:hover {
    color: var(--gold-dark);
}
.product-desc {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6rem;
}
.product-price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--emerald-dark);
}
.product-action-btns {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0.5rem;
}

/* External marketplace styling */
.external-marketplaces-block {
    margin-top: 5rem;
    background: var(--sand);
    border-radius: var(--card-radius);
    padding: 3rem;
    text-align: center;
}
.external-marketplaces-block h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--emerald-dark);
}
.market-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.market-btn {
    padding: 0.85rem 2rem;
    border-radius: var(--btn-radius);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.market-btn.wb {
    background: #9d25a8;
}
.market-btn.wb:hover {
    background: #b52dc2;
}
.market-btn.ozon {
    background: #005bff;
}
.market-btn.ozon:hover {
    background: #1f70ff;
}

/* ─── 8. COURSES PAGE STYLES ────────────────────────────────── */
.courses-hero {
    position: relative;
    padding: 4rem 0;
    min-height: 450px;
    display: flex;
    align-items: center;
}
.courses-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.courses-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.courses-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    color: #fff;
}
.courses-hero-text h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}
.courses-hero-text p {
    color: var(--text-light-muted);
    font-size: 1.1rem;
}
.courses-hero-form {
    background: var(--glass-dark);
    border-color: var(--glass-border-dark);
    color: var(--text-light);
}
.courses-hero-form h3 {
    margin-bottom: 1.25rem;
    color: #fff;
}
.courses-hero-form select.form-input {
    background: rgba(15, 35, 24, 0.9);
}

/* Course cards grid */
.courses-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 0;
    overflow: hidden;
}
.course-card-img {
    height: 250px;
    width: 100%;
}
.course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-card-body {
    padding: 2.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.course-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-dark);
}
.course-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.course-prices {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 2rem;
    margin-top: auto;
    border-top: 1px solid var(--sand);
    padding-top: 1.25rem;
}
.price-item {
    font-size: 1.05rem;
    color: var(--emerald);
}
.price-item strong {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-dark-muted);
    font-size: 0.9rem;
}

/* ─── 9. MODALS & POPUPS ────────────────────────────────────── */
/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 35, 24, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox-image {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.35s ease;
}
.lightbox.active .lightbox-image {
    transform: scale(1);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    transition: var(--transition);
}
.lightbox-close {
    top: 2rem;
    right: 2.5rem;
}
.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--gold);
}

/* Success Modal */
.modal-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 35, 24, 0.8);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.modal-success.active {
    display: flex;
}
.modal-success-content {
    max-width: 400px;
    width: 90%;
    background: var(--sand-light);
    text-align: center;
    padding: 3rem 2rem;
    transform: scale(0.9);
    transition: var(--transition);
}
.modal-success.active .modal-success-content {
    transform: scale(1);
}
.success-check {
    background: var(--emerald);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.modal-success-content h3 {
    font-size: 1.5rem;
    color: var(--emerald-dark);
    margin-bottom: 0.5rem;
}
.modal-success-content p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.modal-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 35, 24, 0.35);
    backdrop-filter: blur(3px);
    z-index: 498;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.modal-cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Cart Modal */
.modal-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100vw);
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 40px rgba(15, 35, 24, 0.2);
    z-index: 500;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal-cart.active {
    transform: translateX(0);
}
.cart-modal-content {
    height: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.cart-modal-content h3 {
    font-size: 1.6rem;
    color: var(--emerald-dark);
    margin-bottom: 2rem;
}
.cart-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}
.cart-items-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}
.empty-cart-text {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-dark-muted);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--sand);
}
.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-details {
    flex: 1;
}
.cart-item-details h4 {
    font-size: 0.9rem;
    color: var(--emerald-dark);
    margin-bottom: 0.25rem;
}
.cart-item-price {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--emerald);
}
.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--gold-dark);
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 0.25rem;
}
.cart-item-remove:hover {
    color: red;
}

.cart-total-section {
    border-top: 2px solid var(--sand);
    padding-top: 1.5rem;
}
.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--emerald-dark);
}
.total-price {
    color: var(--emerald);
}

.checkout-form h4 {
    margin-bottom: 0.75rem;
    color: var(--emerald-dark);
}
.checkout-form .form-group {
    margin-bottom: 0.75rem;
}
.checkout-form .form-input {
    background: #fcf9f5;
    border: 1px solid rgba(27, 63, 39, 0.15);
    color: var(--text-dark) !important;
}
.checkout-form .form-input::placeholder {
    color: rgba(27, 63, 39, 0.45) !important;
    opacity: 1;
}
.checkout-form .form-input:focus {
    background: #ffffff;
    border-color: var(--emerald-dark);
    box-shadow: 0 0 0 3px rgba(27, 63, 39, 0.08);
}

/* Product Detail Modal */
.modal-product-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 35, 24, 0.75);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.modal-product-detail.active {
    display: flex;
}
.product-detail-content {
    width: 90%;
    max-width: 800px;
    background: #fff;
    padding: 3rem;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}
.modal-product-detail.active .product-detail-content {
    transform: scale(1);
}
.product-detail-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.product-detail-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 400px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--sand);
}
.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.product-detail-info {
    display: flex;
    flex-direction: column;
}
.detail-badge {
    align-self: flex-start;
    background: var(--emerald-lightest);
    color: var(--emerald);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.product-detail-info h3 {
    font-size: 1.75rem;
    color: var(--emerald-dark);
    margin-bottom: 0.5rem;
}
.detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 1.5rem;
}
.detail-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.detail-specs {
    margin-bottom: 2rem;
    border-top: 1px solid var(--sand);
    padding-top: 1rem;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ─── 10. RESPONSIVE DESIGN (Медиазапросы) ──────────────────── */
@media (max-width: 1024px) {
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .direction-card {
        height: 280px;
    }
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
    }
    .courses-grid-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 3.5rem;
    }
    
    .glass-header {
        padding: 0 1rem;
    }
    .header-logo {
        font-size: 1.2rem;
    }
    .header-nav {
        display: none; /* Hide default nav on mobile */
    }
    .header-socials {
        display: none; /* Hide social icons in header on mobile */
    }
    .header-right {
        gap: 0.75rem;
    }
    
    /* Show burger button on mobile */
    .burger-menu-btn {
        display: flex;
    }
    
    /* Make burger spans white when menu is active */
    .burger-menu-btn.active span {
        background: var(--text-light) !important;
    }
    
    /* Hide text inside cart button, only show emoji + count */
    .cart-text {
        display: none;
    }
    .cart-btn {
        padding: 0.4rem 0.75rem;
    }
    
    /* Direction Cards Mobile fixes (prevent truncating) */
    .directions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .direction-card {
        height: 220px !important;
    }
    .direction-content {
        padding: 1rem !important;
    }
    .direction-content h3 {
        font-size: 0.95rem !important;
        margin-bottom: 0.25rem !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
    .direction-btn {
        font-size: 0.75rem !important;
    }
    
    /* Price List Mobile Overrides */
    .price-list-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    .price-list-header {
        margin-bottom: 1.5rem;
    }
    .price-list-header h3 {
        font-size: 1.15rem;
    }
    .price-name {
        font-size: 0.85rem;
    }
    .price-val {
        font-size: 0.9rem;
    }
    
    /* Mobile responsive sections */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-tagline {
        font-size: 1.25rem;
        margin-top: 0.25rem;
    }
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .author-img {
        max-width: 100%;
    }
    
    .alt-grid {
        display: flex;
        flex-direction: column;
    }
    .alt-grid > :nth-child(3) { order: 4; }
    .alt-grid > :nth-child(4) { order: 3; }
    .alt-text-block {
        padding: 2rem;
    }
    .alt-img-block {
        min-height: 250px;
    }
    .arrow-overlay {
        display: none;
    }
    
    .reviews-star-divider {
        margin-bottom: 2rem;
    }
    .reviews-buttons {
        margin-bottom: 2.5rem;
    }
    .review-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
    .review-text {
        font-size: 0.95rem;
    }
    
    .contacts-grid-footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .footer-map-container {
        margin-bottom: 2.5rem;
    }
    
    /* Shop Catalog mobile responsive */
    .shop-catalog {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .catalog-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .search-bar {
        max-width: 100%;
    }
    
    /* Courses Mobile */
    .courses-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .courses-hero-text h1 {
        font-size: 2.25rem;
    }
    
    /* Modals responsive */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-detail-content {
        padding: 2rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    .product-detail-img {
        max-height: 250px;
    }
    .modal-cart {
        width: 100%;
    }
}

.product-badge.out-of-stock, .detail-badge.out-of-stock {
    background: #78350f !important;
    color: #fef3c7 !important;
}
