/*
Theme Name: Olga Lomsha - Burgundy Editorial
Theme URI: https://lomsha.by
Author: Antigravity & Marina
Description: ÐšÐ°ÑÑ‚Ð¾Ð¼Ð½Ð°Ñ Ñ‚ÐµÐ¼Ð° ÐžÐ»ÑŒÐ³Ð¸ Ð›Ð¾Ð¼ÑˆÐ¸. Ð‘ÑƒÑ€Ð³ÑƒÐ½Ð´ÑÐºÐ¸Ð¹ Ñ€ÐµÐ´Ð°ÐºÑ†Ð¸Ð¾Ð½Ð½Ñ‹Ð¹ ÑÑ‚Ð¸Ð»ÑŒ.
Version: 2.0.0
Text Domain: olga-lomsha
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --black: #0f0f0f;
    --white: #ffffff;
    --bg: #ffffff;
    /* Ð‘ÐµÐ»Ñ‹Ð¹ Ñ„Ð¾Ð½ */
    --red: #4D0A0F;
    /* ÐÐ¾Ð²Ñ‹Ð¹ Ð±Ð¾Ñ€Ð´Ð¾Ð²Ñ‹Ð¹ */
    --red-dark: #3a080c;
    --pink: #B27370;
    /* ÐÐ¾Ð²Ñ‹Ð¹ Ñ€Ð¾Ð·Ð¾Ð²Ñ‹Ð¹ */
    --gray: #888;
    --gray-light: #e8e5e0;

    --font-main: 'Rubik', sans-serif;
    --font-script: 'Cormorant Garamond', serif;

    --max-w: 1100px;
    --sec-pad: 100px 0;
    --header-height: 70px; /* Ð‘Ð°Ð·Ð¾Ð²Ð¾Ðµ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ðµ, Ð¾Ð±Ð½Ð¾Ð²Ð»Ñ ÐµÑ‚Ñ Ñ  Ñ‡ÐµÑ€ÐµÐ· global.js */
}

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    background: var(--bg);
    color: var(--black);
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    /* Ð”Ð¸Ð½Ð°Ð¼Ð¸Ñ‡ÐµÑ ÐºÐ¸Ð¹ Ð¾Ñ‚Ñ Ñ‚ÑƒÐ¿, Ð°Ð´Ð°Ð¿Ñ‚Ð¸Ñ€ÑƒÐµÑ‚Ñ Ñ  Ð¿Ð¾Ð´ Ð²Ñ‹Ñ Ð¾Ñ‚Ñƒ ÑˆÐ°Ð¿ÐºÐ¸ */
}

a {
    color: inherit;
    text-decoration: none;
}

a:not([class]) {
    color: inherit;
}

strong {
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: var(--sec-pad);
}

.text-center {
    text-align: center;
}

.bg-red {
    background: var(--red);
}

.bg-white {
    background: var(--white);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* ——— Base: все невидимые элементы ——— */
.anim-up,
.anim-left,
.anim-right,
.anim-scale,
.anim-fade,
.anim-stagger-item {
    opacity: 0;
    will-change: opacity, transform;
}

/* ——— Направления анимаций ——— */
.anim-up {
    transform: translateY(32px);
}

.anim-left {
    transform: translateX(-36px);
}

.anim-right {
    transform: translateX(36px);
}

.anim-scale {
    transform: scale(0.88);
}

.anim-fade {
    transform: none;
}

/* Стаггер-дочки: по умолчанию — снизу */
.anim-stagger-item {
    transform: translateY(28px);
}

/* ——— Revealed state ——— */
.anim-up.anim-in,
.anim-left.anim-in,
.anim-right.anim-in,
.anim-scale.anim-in,
.anim-fade.anim-in,
.anim-stagger-item.anim-in {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ——— HERO: последовательный вход при загрузке ——— */
.hero-seq {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-seq-img {
    transform: translateX(30px);
    /* фото приходит сбоку */
}

.hero-seq.hero-seq-in {
    opacity: 1;
    transform: none;
}

/* ——— Cursor glow на hero ——— */
.hero {
    --glow-x: 60%;
    --glow-y: 40%;
    background: radial-gradient(ellipse 500px 400px at var(--glow-x) var(--glow-y),
            rgba(77, 10, 15, 0.07),
            transparent 70%), var(--bg);
    transition: background 0.1s;
}

/* ——— Course card hover enhancements ——— */
.course-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.35s ease;
}

.course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(77, 10, 15, 0.12);
}

.course-card:hover .btn-buy-red {
    background: #600910;
    letter-spacing: 0.14em;
    transition: all 0.25s;
}

/* ——— Hover на problem-row ——— */
.problem-row {
    transition: background 0.25s, padding-left 0.25s;
}

.problem-row:hover {
    padding-left: 12px;
    background: rgba(178, 115, 112, 0.07);
}

/* ——— Hover на result-item ——— */
.result-item {
    transition: background 0.25s, transform 0.25s;
}

.result-item:hover {
    transform: translateX(6px);
    background: var(--red-dark);
}

/* ——— Solution item hover line ——— */
.solution-item {
    position: relative;
    overflow: hidden;
}

.solution-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}

.solution-item:hover::after {
    width: 100%;
}

/* ——— Кнопки: пульс при hover ——— */
.btn-red {
    position: relative;
    overflow: hidden;
}

.btn-red::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-110%) skewX(-15deg);
    transition: transform 0.4s ease;
}

.btn-red:hover::after {
    transform: translateX(110%) skewX(-15deg);
}

/* ——— About facts: scale hover ——— */
.about-fact {
    transition: transform 0.25s, box-shadow 0.25s;
}

.about-fact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ——— Плавный скролл-индикатор hero (декоративно) ——— */
@keyframes heroScrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* ——— Глобальный smooth для ссылок ——— */
a {
    transition: color 0.2s, opacity 0.2s;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4 {
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.0;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 50px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gray);
    margin-bottom: 16px;
}

.script-accent {
    font-family: var(--font-script);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.3em;
    color: var(--pink);
    /* Ð˜ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÐ¼ Ñ€Ð¾Ð·Ð¾Ð²Ñ‹Ð¹ Ð´Ð»Ñ Ð°ÐºÑ†ÐµÐ½Ñ‚Ð¾Ð² */
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-red {
    display: inline-block;
    padding: 18px 40px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
}

.btn-red:hover {
    background: var(--red-dark);
    color: var(--white);
}

.btn-red--full {
    display: block;
    width: 100%;
}

.btn-outline {
    display: inline-block;
    padding: 16px 38px;
    background: transparent;
    color: var(--black);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1.5px solid var(--black);
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-outline--white {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline--white:hover {
    background: var(--white);
    color: var(--black);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 16px;
    min-height: 60px;
}

.site-logo a {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-list a {
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--red);
}

.menu-item-login a {
    color: var(--pink) !important;
    font-weight: 700;
    border-bottom: 1px solid var(--pink);
}

.menu-item-consult a {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    transition: background 0.2s;
}

.menu-item-consult a:hover {
    background: var(--pink) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-light);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 30px 0 80px;
    /* Ð£Ð¼ÐµÐ½ÑŒÑˆÐ°ÐµÐ¼ Ð²ÐµÑ€Ñ…Ð½Ð¸Ð¹ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿ */
}

.hero-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.0;
    margin-bottom: 16px;
    white-space: nowrap;
    /* Ðž ÐœÐ£Ð–Ð§Ð˜ÐÐÐ¥ Ð² Ð¾Ð´Ð½Ñƒ ÑÑ‚Ñ€Ð¾Ñ‡ÐºÑƒ */
}

.hero-title .script-accent {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-top: 8px;
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: #555;
    margin: 20px 0 36px;
    max-width: 420px;
}

.hero-sub a,
.hero-sub *,
.hero-sub p,
.hero-sub span {
    color: #555 !important;
    text-decoration: none !important;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--gray-light);
}

.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--red);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero image: ÐºÐ¾Ð»Ð»Ð°Ð¶ Ð¸Ð· Ð´Ð²ÑƒÑ… Ñ„Ð¾Ñ‚Ð¾ */
.hero-img-wrap {
    position: relative;
    height: 600px;
}

.hero-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--red);
    text-align: center;
    border: 2px solid var(--gray-light);
}

/* ============================================================
   PROBLEM â€” Dark Emotional
   ============================================================ */
.section-problem {
    background: #111110;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-problem .section-label {
    color: #444;
    letter-spacing: 0.25em;
}

.section-problem .section-title {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 70px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-problem .section-title em {
    font-style: italic;
    font-family: inherit;
    color: var(--pink);
    /* Ð˜ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÐ¼ Ð½Ð¾Ð²Ñ‹Ð¹ Ñ€Ð¾Ð·Ð¾Ð²Ñ‹Ð¹ */
}

.section-problem .section-title .script-accent {
    color: var(--red);
    display: block;
    font-size: 0.5em;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.problem-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #252525;
}

.problem-row {
    display: grid;
    grid-template-columns: 50px 1fr;
    padding: 40px 0;
    border-bottom: 1px solid #252525;
    transition: background 0.2s;
}

.problem-row:hover {
    background: rgba(178, 115, 112, 0.08);
}

.prob-num {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--pink);
    padding-top: 6px;
    text-align: right;
    padding-right: 20px;
    border-right: 1px solid #252525;
}

.prob-body {
    padding-left: 28px;
}

.prob-lead {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: #e0ddd8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.prob-sub {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    opacity: 0.8;
}

.problem-footer-note {
    margin-top: 60px;
    padding: 36px 40px;
    border: 1px solid #252525;
    text-align: center;
    font-family: var(--font-script);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-style: italic;
    color: #666;
}

.problem-footer-note em {
    font-style: normal;
    color: var(--white);
    font-weight: 400;
}

/* ============================================================
   SOLUTION
   ============================================================ */
.section-solution {
    background: var(--bg);
}

.solution-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.solution-left .script-accent {
    display: block;
    margin-bottom: 10px;
}

.solution-left p {
    color: #555;
    margin-top: 20px;
    font-size: 0.95rem;
}

.solution-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid var(--gray-light);
}

.solution-item:first-child {
    border-top: 1px solid var(--gray-light);
}

.sol-check {
    color: var(--red);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.section-about {
    background: var(--bg);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.about-img-wrap {
    position: relative;
}

.about-img-main {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    display: block;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}

.about-content .script-accent {
    display: block;
    margin-bottom: 8px;
}

.about-quote {
    border-left: 3px solid var(--red);
    padding-left: 20px;
    margin: 28px 0;
    font-family: var(--font-script);
    font-style: italic;
    font-size: 1.15rem;
    color: #333;
    line-height: 1.6;
}

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-fact {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-light);
}

.about-fact strong {
    display: block;
    font-size: 1.8rem;
    color: var(--red);
    line-height: 1;
    margin-bottom: 4px;
}

.about-fact span {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   COURSES
   ============================================================ */
.section-courses {
    background: var(--bg);
    padding-top: 120px;
}

.section-courses .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.archive-grid {
    grid-template-columns: repeat(3, 1fr);
}

.course-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Ð›ÐµÐ³ÐºÐ°Ñ Ñ‚ÐµÐ½ÑŒ */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.course-card-top {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 15px;
}

.course-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ÐžÐ²ÐµÑ€Ð»ÐµÐ¹ Ð¿Ð¾ Ñ†ÐµÐ½Ñ‚Ñ€Ñƒ ÐºÐ°Ðº Ð½Ð° Ñ„Ð¾Ñ‚Ð¾ */
.course-card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 10px;
    text-align: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.course-tag {
    background: #E31E24;
    /* Ð¯Ñ€ÐºÐ¸Ð¹ ÐºÑ€Ð°ÑÐ½Ñ‹Ð¹ ÐºÐ°Ðº Ð² Ð¿Ñ€Ð¸Ð¼ÐµÑ€Ðµ */
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 2px 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.course-overlay-text {
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.course-status-label {
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-size: 12px;
    color: #888;
    background: rgba(250, 250, 248, 0.9);
    padding: 2px 5px;
}

.course-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card-title {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-transform: none;
    line-height: 1.4;
    margin-bottom: 20px;
    min-height: 40px;
    /* Ð”Ð»Ñ Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ ÐºÐ½Ð¾Ð¿Ð¾Ðº */
    font-family: var(--font-main);
}

.btn-buy-red {
    display: block;
    width: 100%;
    background: var(--red);
    /* ÐÐ°Ñˆ Ð½Ð¾Ð²Ñ‹Ð¹ Ð±Ð¾Ñ€Ð´Ð¾Ð²Ñ‹Ð¹ */
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: background 0.2s;
}

.btn-buy-red:hover {
    background: #600910;
    color: white;
}

/* ============================================================
   RESULTS
   ============================================================ */
.section-results {
    background: var(--red);
    color: var(--white);
}

.section-results .section-label {
    color: rgba(255, 255, 255, 0.4);
}

.section-results .section-title {
    color: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 50px;
}

.result-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 36px 32px;
    background: var(--red);
    transition: background 0.2s;
}

.result-item:hover {
    background: var(--red-dark);
}

.result-arrow {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.result-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.result-item strong {
    color: var(--white);
}

.results-quote {
    text-align: center;
    font-family: var(--font-script);
    font-style: italic;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Ð¡ÐµÑ‚ÐºÐ° Ð¾Ñ‚Ð·Ñ‹Ð²Ð¾Ð² */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(0, 0, 0, 0.12); /* Ð£Ñ‚Ð¾Ð¿Ð»Ñ ÐµÐ¼ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÑƒ Ð² Ñ„Ð¾Ð½ */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(0, 0, 0, 0.18);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-family: var(--font-script);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before {
    content: "â€œ";
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pink);
}

.testimonial-course {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .testimonial-card {
        padding: 30px;
    }
}

/* ============================================================
   CONSULTATION
   ============================================================ */
.section-consult {
    background: var(--bg);
    padding: 120px 0;
}

.consult-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.consult-left {
    display: flex;
    flex-direction: column;
}

.consult-left .section-label {
    margin-bottom: 8px;
}

.consult-left .script-accent {
    margin-bottom: 24px;
    color: var(--pink);
    font-size: 1.5rem;
}

.consult-left .section-title {
    margin-bottom: 0;
    line-height: 1.0;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.consult-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.consult-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0;
}

.consult-right .consult-price {
    margin: 0;
}

.consult-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 30px 0;
}

.price-num {
    font-size: 4rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.price-currency {
    font-size: 1rem;
    color: var(--gray);
}

.consult-deco {
    font-size: clamp(5rem, 12vw, 11rem);
    font-weight: 700;
    color: var(--red-light);
    text-align: center;
    line-height: 1;
    font-family: var(--font-script);
    font-style: italic;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.section-final-cta {
    background: var(--red);
    padding: 100px 0;
}

.section-final-cta .section-title {
    color: var(--white);
    margin-bottom: 0;
}

.section-final-cta .script-accent {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 36px;
}

.site-footer a {
    color: #666;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--white);
}

/* 1157-1251 removed for consolidation */



/* ============================================================
   HAMBURGER / MOBILE NAV
   ============================================================ */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
    flex-shrink: 0;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.burger-btn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.97);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.mobile-nav-close:hover {
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    padding: 20px 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 400px;
}

.mobile-nav-list a {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.2s;
    display: inline-block;
    padding: 4px 0;
}

.mobile-nav-list a:hover {
    color: var(--pink);
}

.mobile-nav-list .menu-item-login a {
    color: var(--pink) !important;
    border-bottom: 1px solid var(--pink);
}

.mobile-nav-list .menu-item-consult a {
    background: var(--red) !important;
    color: #fff !important;
    padding: 16px 36px !important;
    display: inline-block;
    border-bottom: none !important;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================================
   CHECKOUT â€” ÐšÐ°ÑÑ‚Ð¾Ð¼Ð½Ñ‹Ð¹ (lux-checkout)
   ============================================================ */
.lux-checkout-wrap {
    max-width: 680px;
    margin: 60px auto;
    padding: 0 20px 80px;
    font-family: 'Rubik', sans-serif;
}

/* ÐžÐ±Ñ‰Ð¸Ð¹ Ð±Ð»Ð¾Ðº */
.lux-block {
    background: #fff;
    border: 1px solid #ebebeb;
    padding: 28px 30px;
    margin-bottom: 16px;
}

.lux-block-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 20px;
}

/* â€”â€”â€” Ð‘Ð›ÐžÐš 1: Ð¢ÐžÐ’ÐÐ Ð« â€”â€”â€” */
.lux-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.lux-cart-row:last-of-type {
    border-bottom: none;
}

.lux-cart-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.lux-cart-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}

.lux-cart-price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.lux-qty-static {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lux-cart-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* Ð¡Ñ‡Ñ‘Ñ‚Ñ‡Ð¸Ðº +/- */
.lux-qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    height: 34px;
}

.lux-qty-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s;
}

.lux-qty-btn:hover {
    background: #f5f5f5;
    color: var(--red);
}

.lux-qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 0 4px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    line-height: 32px;
}

/* ÐšÐ½Ð¾Ð¿ÐºÐ°-ÐºÐ¾Ñ€Ð·Ð¸Ð½Ð° (ÑƒÐ´Ð°Ð»Ð¸Ñ‚ÑŒ) */
.lux-item-remove {
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.lux-item-remove:hover {
    color: var(--red);
    background: #fff0f0;
}

/* Ð˜Ñ‚Ð¾Ð³Ð¸ */
.lux-cart-total-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.lux-coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #f6fdf6;
    border: 1px solid #c8e6c9;
}

.lux-remove-coupon {
    font-size: 11px;
    color: var(--red);
    margin-left: 8px;
    text-decoration: underline;
}

.lux-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.lux-total-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}

.lux-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red);
}

/* â€”â€”â€” Ð‘Ð›ÐžÐš 2: ÐŸÐ ÐžÐœÐžÐšÐžÐ” â€”â€”â€” */
.lux-block-coupon {
    padding: 18px 30px;
}

.lux-coupon-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.lux-coupon-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    border-radius: 0;
}

.lux-coupon-input:focus {
    border-color: var(--red);
}

.lux-coupon-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Rubik', sans-serif;
    transition: background 0.2s;
}

.lux-coupon-btn:hover {
    background: var(--red);
}

.lux-coupon-msg {
    font-size: 13px;
    margin-top: 8px;
}

/* â€”â€”â€” Ð‘Ð›ÐžÐš 3: ÐŸÐžÐ›Ð¯ Ð”ÐÐÐÐ«Ð¥ â€”â€”â€” */
/* ÐŸÐ¾Ð»Ñ: Ð´Ð²Ð° Ð² Ñ€ÑÐ´ (Ð˜Ð¼Ñ+Ð¤Ð°Ð¼Ð¸Ð»Ð¸Ñ), (Email+Ð¢ÐµÐ»ÐµÑ„Ð¾Ð½) */
.lux-fields-grid .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

.lux-block-fields .form-row {
    margin-bottom: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    clear: none !important;
}

.lux-block-fields label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--gray) !important;
    margin-bottom: 5px !important;
    display: block !important;
    font-family: 'Rubik', sans-serif !important;
}

.lux-block-fields .input-text,
.lux-block-fields input[type="text"],
.lux-block-fields input[type="tel"],
.lux-block-fields input[type="email"] {
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    font-family: 'Rubik', sans-serif !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}

.lux-block-fields .input-text:focus {
    border-color: var(--red) !important;
}

.woocommerce-invalid .lux-block-fields .input-text {
    border-color: #e53935 !important;
}

/* â€”â€”â€” Ð‘Ð›ÐžÐš 4: ÐžÐŸÐ›Ð Ð¢Ð  â€”â€”â€” */
.lux-block-payment {
    padding: 0;
    border: none;
    background: transparent;
}

/* Скрываем блок с описанием шлюза WebPay Belarus */
.lux-gateways-hidden {
    display: none !important;
}

/* На случай если WC рендерит .wc_payment_methods сам — тоже скрываем */
.lux-payment-section .wc_payment_methods,
.lux-payment-section .payment_methods {
    display: none !important;
}

.lux-place-order {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Кнопка Оплаты — Дизайн как на главной (btn-red) */
.btn-webpay#place_order {
    display: inline-block;
    width: 100%;
    padding: 18px 30px;
    background: var(--red) !important;
    color: var(--white) !important;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none !important;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    box-shadow: none;
}

.btn-webpay#place_order:hover {
    background: var(--red-dark) !important;
    color: var(--white) !important;
}

/* Прячем ненужные WooCommerce элементы на чекауте */
.woocommerce-checkout h3,
.woocommerce-checkout h2.woocommerce-column__title,
#order_review_heading,
.woocommerce-additional-fields,
.woocommerce-account-fields,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout-payment .woocommerce-privacy-policy-text p:empty {
    display: none !important;
}

/* Уведомления WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 20px !important;
    margin-bottom: 24px !important;
    font-size: 14px !important;
    font-family: var(--font-main) !important;
    border-left: 3px solid var(--red) !important;
    border-top: 1px solid #ebebeb !important;
    border-right: 1px solid #ebebeb !important;
    border-bottom: 1px solid #ebebeb !important;
    background: #fafafa !important;
    color: #333 !important;
    list-style: none !important; /* WC рендерит .woocommerce-error как <ul> */
}

.woocommerce-error {
    border-left-color: #b71c1c !important;
    background: #fff8f8 !important;
    color: #b71c1c !important;
}

.woocommerce-message {
    border-left-color: #2e7d32 !important;
    background: #f1f8f1 !important;
    color: #1b5e20 !important;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: var(--red) !important;
    text-decoration: underline !important;
}

/* Фиксированный контейнер уведомлений на главной странице */
.wc-notices-front-page {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    width: 90%;
    max-width: 560px;
    animation: noticeSlideIn 0.35s ease;
}

@keyframes noticeSlideIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes noticeSlideOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to   { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

.wc-notices-front-page.wc-notices-hiding {
    animation: noticeSlideOut 0.4s ease forwards;
}

.wc-notices-front-page .woocommerce-message,
.wc-notices-front-page .woocommerce-error,
.wc-notices-front-page .woocommerce-info {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    margin-bottom: 8px !important;
}

/* Скрываем двойные заголовки темы и уведомления "добавлено в корзину" на странице оплаты */
.woocommerce-checkout .section-label,
.woocommerce-checkout .page-title,
.woocommerce-checkout .woocommerce-message {
    display: none !important;
}

/* Скрываем список методов оплаты если он только один */
.lux-payment-methods {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.lux-payment-methods li {
    border: 1px solid #ebebeb;
    padding: 16px 20px;
    margin-bottom: 8px;
    background: #fff;
}

.lux-payment-methods li label {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.lux-payment-methods:only-child {
    display: none;
}

/* ============================================================
   POPUP КОРЗИНЫ
   ============================================================ */
.lux-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lux-popup-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.lux-popup {
    position: relative;
    background: var(--white);
    padding: 48px 40px 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.lux-popup-overlay.is-open .lux-popup {
    transform: translateY(0);
}

.lux-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--gray);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.lux-popup-close:hover {
    color: var(--black);
}

.lux-popup-check {
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 14px;
    line-height: 1;
}

.lux-popup-msg {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--black);
    margin-bottom: 6px;
}

.lux-popup-course {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 28px;
    font-style: italic;
}

.lux-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lux-popup-actions .btn-buy-red {
    display: block;
    padding: 16px;
    font-size: 0.85rem;
}

.lux-popup-actions .btn-outline {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: 0.08em;
    background: transparent;
    text-align: center;
}

.lux-popup-actions .btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* ============================================================
   RESPONSIVE — CONSOLIDATED (Logic grouped by breakpoint)
   ============================================================ */

/* --- 1100px: сжимаем меню --- */
@media (max-width: 1100px) {
    .nav-list {
        gap: 20px;
    }
    .menu-item-consult a {
        padding: 10px 16px !important;
    }
}

/* --- 1024px: переход на бургер и центровка шапки --- */
@media (max-width: 1024px) {
    .header-inner {
        position: relative;
        justify-content: center; /* Логотип в центр */
        padding: 12px 0;
        min-height: 60px;
    }
    .burger-btn {
        display: flex;
        position: absolute;
        right: 0; /* Бургер прижат вправо в своем контейнере */
    }
    .main-nav {
        display: none !important;
    }
}

/* --- 900px: планшеты --- */
@media (max-width: 900px) {
    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    .hero-content {
        display: contents;
    }

    .hero-badge { order: 1; margin-bottom: 16px; }
    .hero-title { order: 2; margin-bottom: 12px; white-space: normal; }
    .hero-sub { order: 3; margin: 0 auto 30px; max-width: 100%; }
    
    .hero-img-wrap {
        order: 4;
        display: block !important;
        height: 380px;
        width: 100%;
        max-width: 450px;
        margin: 0 auto 40px;
        overflow: hidden;
    }

    .hero-img-main {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px; /* Мягкое скругление для мобильных */
        box-shadow: 0 16px 32px rgba(0,0,0,0.1);
    }

    .hero-stats { order: 5; justify-content: center; width: 100%; }
    .hero-cta { order: 6; justify-content: center; width: 100%; }

    .hero {
        min-height: auto;
    }
    .problem-row {
        grid-template-columns: 36px 1fr;
    }
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .about-facts {
        grid-template-columns: 1fr 1fr;
    }
    .section-label {
        font-size: 10px;
        letter-spacing: 0.2em;
    }
    .solution-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img-wrap {
        max-width: 400px;
        margin: 0 auto;
    }
    .consult-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .consult-right {
        align-items: center;
    }
    .consult-price {
        justify-content: center;
    }
    .consult-deco {
        display: none;
    }
}

/* --- 600px: смартфоны --- */
@media (max-width: 600px) {
    :root {
        --sec-pad: 60px 0;
    }
    .container {
        padding: 0 20px;
    }
    .header-inner {
        padding: 8px 0;
        min-height: 56px;
        gap: 12px;
        justify-content: center;
    }
    .site-logo a {
        font-size: clamp(0.75rem, 4vw, 0.85rem);
        letter-spacing: 0.08em;
    }
    .burger-btn {
        display: flex !important;
        width: 38px;
        height: 38px;
        position: absolute;
        right: 0;
        z-index: 1100;
    }
    .hero {
        padding: 30px 0;
    }
    .hero-stats {
        gap: 20px;
        border-bottom: none;
        flex-wrap: wrap;
    }
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    .btn-red, .btn-outline {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }
    .hero-img-wrap {
        height: 320px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 16px;
    }
    .hero-title .script-accent {
        margin-top: 4px;
    }
    .about-facts {
        grid-template-columns: 1fr;
    }
    .problem-row {
        grid-template-columns: 30px 1fr;
        padding: 24px 0;
    }

        /* ÐŸÐ¾Ð»Ñ Ð² Ð¾Ð´Ð½Ñƒ ÐºÐ¾Ð»Ð¾Ð½ÐºÑƒ Ð½Ð° Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ñ… */
        .lux-fields-grid .woocommerce-billing-fields__field-wrapper {
            grid-template-columns: 1fr !important;
        }

        .lux-coupon-row {
            flex-direction: column;
        }

        .lux-coupon-btn {
            text-align: center;
        }

        /* Дополнительный фикс для предотвращения вылета за пределы экрана */
        .hero-img-wrap, 
        .lux-block, 
        .container {
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
    }

/* --- 480px: узкие экраны --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .site-logo a {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }
    .header-inner {
        padding: 6px 0; /* Фикс: убрано ошибочное inherit */
        min-height: 52px;
    }
    .burger-btn {
        display: flex !important;
        width: 34px;
        height: 34px;
        padding: 3px;
    }
}

/* --- 320px: ультра-узкие экраны --- */
@media (max-width: 330px) {
    .container {
        padding: 0 12px;
    }
    .site-logo a {
        font-size: 0.72rem;
        letter-spacing: 0.02em;
    }
    .header-inner {
        gap: 8px;
    }
}

/* ============================================================
   TUTOR LMS CLEANUP (Single Course Page)
   ============================================================ */
    .tutor-course-header-meta,
    .tutor-single-course-meta,
    .tutor-course-rating,
    .tutor-single-course-rating,
    .tutor-course-header-humb-wrap,
    .tutor-single-course-media,
    .tutor-course-details-instructor,
    .tutor-instructor-left,
    .tutor-instructor-right,
    .tutor-single-course-author-meta,
    .tutor-course-categories,
    .tutor-course-meta-detail,
    .tutor-segment-title,
    #tutor-course-details-instructor,
    .tutor-course-details-instructor-title {
        display: none !important;
    }

    .tutor-single-course-meta .tutor-icon-user-line,
    .tutor-single-course-meta .tutor-icon-star-line,
    .tutor-single-course-meta .tutor-icon-folder-open-line {
        display: none !important;
    }

    .tutor-course-details-content .tutor-show-more-button,
    .tutor-course-details-content .tutor-course-details-expand-toggle,
    .tutor-course-content-wrap .tutor-show-more-button {
        display: none !important;
    }

    .tutor-course-details-content,
    .tutor-course-content-wrap {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }

/* ============================================================
   CONTENT PROTECTION
   ============================================================ */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow selection in inputs and textareas */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ============================================================
   POPUP: Не можешь выбрать курс?
   ============================================================ */
.olga-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.olga-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.olga-popup-content {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.olga-popup-overlay.active .olga-popup-content {
    transform: translateY(0);
}

.olga-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #444;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.olga-popup-close:hover {
    color: #fff;
}

.olga-popup-header {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.olga-popup-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 25px;
}

.olga-popup-text {
    font-size: 15px;
    color: #bbb;
    margin-bottom: 35px;
    line-height: 1.6;
}

.olga-popup-btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 18px 35px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s;
}

.olga-popup-btn:hover {
    background: #fff;
    color: var(--red);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .olga-popup-content {
        padding: 40px 25px;
    }

    .olga-popup-header {
        font-size: 20px;
    }
}

/* ============================================================
   LIVE SEARCH
   ============================================================ */
.site-search-strip {
    border-top: none;
    padding: 7px 0;
    background: var(--red);
}

.site-search-wrap {
    position: relative;
}

#site-search-input {
    width: 100%;
    border: none;
    background: var(--red);
    font-size: 13px;
    padding: 5px 0 5px 22px;
    outline: none;
    color: #fff;
    font-family: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3Cline x1='10' y1='10' x2='14' y2='14' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 14px;
}

#site-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    z-index: 998;
    border-top: 2px solid var(--red);
}

.search-dropdown.is-open {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.is-active {
    background: #f9f9f9;
}

.search-result-type {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    min-width: 44px;
    flex-shrink: 0;
}

.search-result-title {
    font-size: 13px;
    color: var(--black);
    line-height: 1.3;
}

