/* FitLine Premium - Общие стили */

/* CSS Variables for consistent theming */
:root {
    --primary: #CC0633;
    --primary-dark: #b0052c;
    --primary-light: #e6002d;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #f8f8f8;
    --border-light: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: rgba(204, 6, 51, 0.3);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 980px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Floating Buttons - Telegram & Back to Top ===== */
.tg-float, #backToTop {
    position: fixed;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
}

.tg-float {
    bottom: 30px;
    background: #0088cc;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
    white-space: nowrap;
    font-weight: 700;
    transition: width .3s ease, border-radius .3s ease, gap .3s ease, padding .3s ease, box-shadow .2s ease, opacity .3s ease, visibility .3s ease;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tg-float.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tg-float .tg-icon-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 1 !important;
}

.tg-float .tg-icon-wrap svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.tg-float .tg-text {
    max-width: 0;
    opacity: 0;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: sans-serif;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity .15s ease .1s, max-width .3s ease;
    flex-shrink: 0;
    order: 2 !important;
}

/* Hover - расширяется влево, иконка справа на месте */
.tg-float:hover {
    width: auto;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
    gap: 8px;
    padding: 0 16px;
    justify-content: center;
}

.tg-float:hover .tg-text {
    max-width: none;
    opacity: 1;
}

#backToTop {
    bottom: 154px !important;
    right: 30px !important;
    width: 50px;
    height: 50px;
    background: #CC0633;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(204, 6, 51, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#backToTop.visible {
    pointer-events: auto;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop span {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

@media (max-width: 768px) {
    /* Mobile: кнопки друг над другом, одинакового размера */
    .tg-float, #backToTop {
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .tg-float {
        bottom: 20px;
    }
    #backToTop {
        bottom: 144px !important;
        right: 20px !important;
        width: 56px;
        height: 56px;
    }
    .tg-float .tg-text {
        display: none !important;
    }
    .tg-float:hover {
        width: 50px !important;
        gap: 0;
    }
    .tg-float:hover .tg-text {
        max-width: 0;
        opacity: 0;
    }
}

/* ===== Контейнер плавающих кнопок (.float-bar) ===== */
/* main.js собирает сюда TG / квиз / «наверх». Десктоп — стопка в углу, мобайл — панель по центру. */
.float-bar {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse; /* TG снизу, «наверх» сверху */
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}
.float-bar.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* внутри контейнера кнопки не позиционируются сами и всегда видимы (видимостью рулит контейнер) */
.float-bar > a,
.float-bar > button {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.float-bar .tg-float { order: 1; }
.float-bar .flq-float-btn { order: 2; }
.float-bar #backToTop { order: 3; }
.float-bar .stories-copy-btn {
    order: 0;
    margin-right: 0 !important;
}

.stories-copy-btn {
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #CC0633;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 4px 14px rgba(204, 6, 51, 0.4);
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: width .3s ease, border-radius .3s ease, gap .3s ease, padding .3s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.stories-copy-btn:hover {
    width: 168px;
    border-radius: 999px;
    padding: 0 16px 0 14px;
    gap: 7px;
    background: #b8052d;
    box-shadow: 0 6px 18px rgba(204, 6, 51, .45);
    transform: translateY(-1px);
}

.stories-copy-btn.copied {
    background: #168a4a;
    box-shadow: 0 6px 18px rgba(22, 138, 74, .35);
}

.stories-copy-btn.copy-error {
    background: #8a1f2d;
}

.stories-copy-btn:hover .stories-copy-icon {
    background: transparent;
    width: 22px;
    height: 22px;
}

.stories-copy-btn:disabled {
    cursor: default;
    transform: none;
    opacity: .92;
}

.stories-copy-icon {
    width: 50px;
    height: 50px;
    min-width: 0;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stories-copy-svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stories-copy-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: opacity .15s ease .1s, max-width .3s ease;
}

.stories-copy-btn:hover .stories-copy-text {
    max-width: 120px;
    opacity: 1;
}

/* Иконка TG не растягивается на 50px — ровный отступ icon+текст и на ховере (десктоп), и в пилюле (мобайл), как в квизе */
.float-bar .tg-float .tg-icon-wrap {
    width: auto !important;
    height: auto !important;
}
.float-bar .tg-float .tg-icon-wrap svg {
    width: 22px !important;
    height: 22px !important;
}

/* Мобайл: горизонтальная панель по центру внизу, кнопки с подписями */
@media (max-width: 768px) {
    .float-bar {
        right: auto;
        left: 50%;
        bottom: 14px;
        transform: translateX(-50%);
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    /* TG — пилюля с подписью; иконка+текст выровнены так же, как в квизе */
    .float-bar .tg-float {
        width: auto !important;
        height: 48px !important;
        padding: 0 16px !important;
        gap: 8px !important;
        border-radius: 999px !important;
        justify-content: center !important;
    }
    .float-bar .tg-float .tg-icon-wrap {
        width: auto !important;
        height: auto !important;
    }
    .float-bar .tg-float .tg-icon-wrap svg {
        width: 22px !important;
        height: 22px !important;
    }
    .float-bar .tg-float .tg-text {
        display: inline !important;
        max-width: none !important;
        opacity: 1 !important;
        font-size: 14px;
    }
    /* Квиз — пилюля с подписью */
    .float-bar .flq-float-btn {
        width: auto !important;
        height: 48px !important;
        padding: 0 16px !important;
        gap: 8px !important;
        border-radius: 999px !important;
    }
    .float-bar .flq-float-btn .flq-btn-text {
        opacity: 1 !important;
        max-width: none !important;
        font-size: 14px !important;
    }
    /* «Наверх» — компактный кружок */
    .float-bar #backToTop {
        width: 48px !important;
        height: 48px !important;
    }
    .float-bar .stories-copy-btn {
        width: auto;
        min-width: 48px;
        height: 48px;
        padding: 0 14px 0 12px;
        gap: 7px;
        border-radius: 999px;
        margin-right: 0 !important;
        background: #CC0633;
        box-shadow: 0 4px 14px rgba(204, 6, 51, 0.4);
    }
    .float-bar .stories-copy-btn .stories-copy-icon {
        width: auto;
        min-width: 0;
        height: 100%;
        background: transparent;
        color: #fff;
        box-shadow: none;
    }
    .float-bar .stories-copy-btn .stories-copy-text {
        max-width: none;
        opacity: 1;
        font-size: 14px;
    }
    .float-bar .stories-copy-btn:hover .stories-copy-icon {
        background: transparent;
    }
}

@media (max-width: 560px) {
    .float-bar {
        gap: 6px;
    }
    .float-bar .tg-float,
    .float-bar .flq-float-btn,
    .float-bar .stories-copy-btn {
        width: 48px !important;
        min-width: 48px !important;
        padding: 0 !important;
        gap: 0 !important;
        border-radius: 50% !important;
    }
    .float-bar .tg-float .tg-text,
    .float-bar .flq-float-btn .flq-btn-text,
    .float-bar .stories-copy-btn .stories-copy-text {
        display: none !important;
        max-width: 0 !important;
        opacity: 0 !important;
    }

    /* The price pill plus three utility buttons is wider than a 320 px viewport. */
    .float-order {
        padding: 5px !important;
    }
    .float-order-price {
        display: none;
    }
    .float-order-btn {
        padding: 8px 14px;
    }
}

@media (max-width: 400px) {
    /* Ordering, Telegram and подбор are more useful here than a duplicate "up" action. */
    .float-bar #backToTop {
        display: none !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 6px 0;
}

/* New Year Holiday Garland */
.nav::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 55px;
    background: url("../imgs/garland1.webp") repeat-x;
    background-size: auto 55px;
    background-position: center top;
    z-index: 999;
    pointer-events: none;
}

.holiday-snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

body.ny-off .nav::after {
    display: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 42px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.nav-logo {
    display: block;
    max-width: 160px;
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #CC0633;
}

.nav-links a.active {
    font-weight: 600;
    color: #CC0633;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 140px 20px 40px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
}

.page-header h1 {
    font-size: 56px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 21px;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

/* Snow Toggle */
.snow-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    color: #CC0633 !important;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.snow-toggle:hover {
    color: #CC0633 !important;
}

.snow-toggle.off {
    color: #999 !important;
}

.snow-toggle.off:hover {
    color: #666 !important;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1d1d1f;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: block;
    max-height: 400px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    display: block;
    padding: 6px 0;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.mobile-menu ul li a:hover {
    color: #CC0633;
}

.mobile-menu ul li a.active {
    font-weight: 600;
    color: #CC0633;
}

/* Buttons */
.btn-primary,
a.btn-primary {
    background: #CC0633 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 980px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover,
a.btn-primary:hover {
    background: #CC0633 !important;
    color: #ffffff !important;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(204, 6, 51, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #CC0633 !important;
    border: 1px solid #CC0633;
    border-radius: 980px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: #CC0633;
    color: #ffffff !important;
}

/* Footer */
footer {
    background: #f5f5f7;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer p {
    color: #6e6e73;
    font-size: 14px;
    margin-bottom: 8px;
}

footer a {
    color: #CC0633;
    text-decoration: none;
}

footer a[style*="background"] {
    color: white !important;
}

/* Footer Social Links */
footer .social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

footer .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #ffffff;
}

footer .social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}

footer .social-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
}

footer .social-btn.telegram:hover {
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

footer .social-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

footer .social-btn.whatsapp:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

footer .social-btn.phone {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
}

footer .social-btn.phone:hover {
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4);
}

footer .social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 735px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile menu height */
    .mobile-menu {
        top: 55px !important;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 17px;
    }
    
    footer .social-links {
        flex-direction: column;
        gap: 10px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    footer .social-btn {
        width: 100%;
    }
}

/* Products Page Styles */
.search-container {
    max-width: 400px;
    margin: 0 auto 20px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container * {
    -webkit-tap-highlight-color: transparent;
}

.search-input {
    width: 100%;
    padding: 12px 52px 12px 48px;
    border: 2px solid #CC0633;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    background: #ffffff;
    color: #CC0633;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-align: center;
}

.search-input:hover {
    background: #f5f5f7;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(204, 6, 51, 0.15);
}

.search-input:focus {
    background: #f5f5f7;
    box-shadow: 0 2px 8px rgba(204, 6, 51, 0.15);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: #CC0633;
    opacity: 0.6;
    text-align: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    color: #CC0633;
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 26px;
    height: 26px;
    border: none;
    background: #CC0633;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    transition: all 0.3s ease;
}

.search-clear svg {
    width: 12px;
    height: 12px;
    color: #ffffff;
}

.search-clear:hover {
    background: #CC0633;
    transform: scale(1.1);
}

.search-clear:active {
    transform: scale(0.95);
}

.search-results-count {
    text-align: center;
    font-size: 14px;
    color: #CC0633;
    margin-top: 8px;
    display: none;
}

/* Category Filter */
.category-filter {
    position: sticky;
    top: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 999;
    margin-bottom: 40px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.menu-open .category-filter {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: #ffffff;
    border: 2px solid #CC0633;
    color: #CC0633 !important;
    padding: 10px 16px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.filter-btn:hover {
    background: #f5f5f7;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(204, 6, 51, 0.15);
}

.filter-btn.active {
    background: #CC0633;
    color: #ffffff !important;
    border-color: #CC0633;
    box-shadow: 0 4px 12px rgba(204, 6, 51, 0.3);
}

.product-count {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    background: #CC0633;
    color: #ffffff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.filter-btn.active .product-count {
    background: #ffffff;
    color: #CC0633;
}

/* Products Grid */
.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

.products-header {
    padding-bottom: 28px;
}

.catalog-intent {
    max-width: 920px;
    margin: -18px auto 14px;
    padding: 0 20px;
}

.page-header .products-lead {
    max-width: 840px;
}

.catalog-intent-details {
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
    overflow: hidden;
}

.catalog-intent-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}

.catalog-intent-summary::-webkit-details-marker { display: none; }

.catalog-intent-summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: #CC0633;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.catalog-intent-details[open] .catalog-intent-summary::after {
    transform: rotate(45deg);
}

.catalog-intent-inner {
    padding: 0 20px 20px;
}

.catalog-intent h2,
.faq-seo-links h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #1d1d1f;
    letter-spacing: 0;
}

.catalog-intent p,
.faq-seo-links p {
    color: #515154;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.catalog-intent-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.catalog-intent-actions a:nth-child(-n+2) {
    grid-column: span 3;
}

.catalog-intent-actions a:nth-child(n+3) {
    grid-column: span 2;
}

.faq-seo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.catalog-intent-actions a,
.faq-seo-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 980px;
    background: #f7f7f8;
    border: 1px solid transparent;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.25;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.catalog-intent-actions a.primary,
.faq-seo-grid a.primary {
    background: #CC0633;
    border-color: #CC0633;
    color: #ffffff;
}

.catalog-intent-actions a:not(.primary):hover,
.faq-seo-grid a:not(.primary):hover {
    background: #ffffff;
    border-color: #d9d9de;
}

.catalog-intent-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.catalog-intent-note span {
    background: #f7f7f8;
    border-left: 2px solid #CC0633;
    border-radius: 8px;
    padding: 8px 10px;
    color: #515154;
    font-size: 12px;
    line-height: 1.4;
}

.catalog-seo-summary {
    max-width: 920px;
    margin: 0 auto 14px;
    padding: 0 20px;
}

.catalog-seo-details {
    background: #f5f5f7;
    border-radius: 10px;
    border: 1px solid transparent;
}

.catalog-seo-details[open] {
    border-color: #e5e5e7;
}

.catalog-seo-details summary {
    min-height: 42px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.catalog-seo-details summary::-webkit-details-marker {
    display: none;
}

.catalog-seo-details summary::after {
    content: "+";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    color: #CC0633;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    flex: 0 0 auto;
}

.catalog-seo-details[open] summary::after {
    content: "−";
}

.catalog-seo-details-body {
    padding: 0 16px 14px;
}

.catalog-seo-summary h2 {
    font-size: 16px;
    line-height: 1.25;
    margin: 0;
    color: #1d1d1f;
}

.catalog-seo-summary p {
    color: #515154;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.catalog-seo-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.catalog-seo-points span {
    background: #ffffff;
    border-radius: 8px;
    padding: 7px 9px;
    color: #515154;
    font-size: 11.5px;
    line-height: 1.35;
}

.faq-seo-links {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 0;
}

.faq-seo-links-inner {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 24px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 1;
    transform: scale(1);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeIn 0.5s ease forwards;
}

.product-card .card-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card.hidden {
    display: none;
}

.order-btn-inline.is-unavailable,
.order-btn.is-unavailable,
.cart-fab.is-unavailable {
    pointer-events: none !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Blog Article Card Hidden */
.article-card.hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 6, 51, 0.2);
}

.product-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .image-wrapper {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.product-card .image-wrapper:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.product-card .cart-fab {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #CC0633;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(204, 6, 51, 0.4);
    z-index: 10;
}

.product-card .cart-fab:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(204, 6, 51, 0.5);
    background: #b0052c;
}

.product-card .cart-fab svg {
    width: 26px;
    height: 26px;
}

.product-card .buttons-group {
    display: none;
}

/* Hide buttons in popular products section on main page */
.products-section .product-card .buttons-group {
    display: none !important;
}

.product-card a img:hover {
    opacity: 0.9;
}

.product-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
    line-height: 1.3;
}

.product-card .product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card .product-link:hover h3 {
    color: #CC0633;
}

.product-card .product-link:hover .description,
.product-card .product-link:hover .price {
    color: #CC0633;
}

.product-card .subtitle {
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 12px;
}

.product-card .category-badge {
    display: block;
    background: linear-gradient(135deg, #CC0633 0%, #CC0633 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto 12px;
    width: fit-content;
}

.product-card .description {
    font-size: 14px;
    color: #6e6e73;
    margin-bottom: 20px;
    min-height: 42px;
    line-height: 1.5;
}

.product-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.product-card .buttons-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

.product-card .buttons-group .btn-primary,
.product-card .buttons-group .btn-secondary-small {
    flex: 1;
    width: auto !important;
}

.btn-secondary-small {
    background: transparent;
    color: #CC0633 !important;
    border: 1px solid #CC0633;
    border-radius: 980px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary-small:hover {
    background: #CC0633;
    color: #ffffff !important;
}

/* FAQ Page Styles */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.faq-category {
    margin-bottom: 48px;
}

.faq-category-title {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #CC0633;
    text-align: center;
}

.faq-item {
    background: #f5f5f7;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #ebebed;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    font-size: 17px;
    font-weight: 500;
    color: #1d1d1f;
    flex: 1;
}

.faq-question-icon {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.faq-question-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #1d1d1f;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-item.active .faq-question-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

.faq-answer-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer-content li {
    margin: 8px 0;
}

.faq-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.faq-nav-link,
.faq-nav-link:link,
.faq-nav-link:visited,
.faq-nav-link:active,
.faq-nav-link:focus {
    display: inline-block;
    padding: 12px 24px;
    background: #CC0633;
    border: none;
    border-radius: 980px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.faq-nav-link:hover {
    background: #b0052c;
    transform: scale(1.02);
    color: #ffffff !important;
}

#toggleAllBtn {
    background: #CC0633;
    color: #ffffff;
    border: none;
    border-radius: 980px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#toggleAllBtn:hover {
    background: #b0052c;
    transform: scale(1.02);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.contact-info .subtitle {
    font-size: 21px;
    color: #6e6e73;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #d2d2d7;
    border-radius: 16px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: #ffffff !important;
}

.quick-action-btn.telegram {
    border-color: #0088cc;
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    color: #ffffff;
}

.quick-action-btn.telegram:hover {
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

.quick-action-btn.whatsapp {
    border-color: #25d366;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
}

.quick-action-btn.whatsapp:hover {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.quick-action-btn.phone {
    border-color: #34c759;
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    color: #ffffff;
}

.quick-action-btn.phone:hover {
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.3);
    color: #ffffff !important;
}

.quick-action-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* CTA Section */
.cta-section {
    background: #CC0633;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 21px;
    color: #e6f2ff;
    margin-bottom: 32px;
}

@media (max-width: 735px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-card img {
        max-width: 100%;
        padding: 0;
    }
    
    .product-card h3 {
        font-size: 14px;
    }
    
    .product-card .description {
        display: none;
    }
    
    .product-card .price {
        font-size: 15px;
    }
    
    .buttons-group {
        flex-direction: column;
        gap: 6px;
    }
    
    .buttons-group .btn-primary,
    .buttons-group .btn-secondary-small {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .category-filter {
        position: relative;
        top: 0;
    }

    .catalog-intent {
        margin: -14px auto 14px;
        padding: 0 16px;
    }

    .page-header .products-lead {
        max-width: 700px;
    }

    .catalog-intent-summary {
        font-size: 14px;
        padding: 12px 16px;
    }

    .catalog-intent-inner {
        padding: 0 16px 16px;
    }

    .faq-seo-links-inner {
        padding: 16px;
        border-radius: 10px;
    }

    .catalog-intent h2,
    .faq-seo-links h2 {
        font-size: 19px;
    }

    .catalog-intent p,
    .faq-seo-links p {
        font-size: 14px;
        line-height: 1.5;
    }

    .catalog-intent-note {
        grid-template-columns: 1fr;
        margin-top: 12px;
    }

    .catalog-seo-summary {
        margin-bottom: 14px;
        padding: 0 16px;
    }

    .catalog-seo-details summary {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 13px;
    }

    .catalog-seo-details-body {
        padding: 0 14px 12px;
    }

    .catalog-seo-summary p {
        font-size: 14px;
        line-height: 1.5;
    }

    .catalog-seo-points {
        grid-template-columns: 1fr;
        margin-top: 10px;
    }

    .catalog-intent-actions,
    .faq-seo-grid {
        display: flex;
        flex-direction: column;
        margin-top: 14px;
    }

    .catalog-intent-actions a,
    .faq-seo-grid a {
        width: 100%;
    }
    
    .filter-container {
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
    
    /* FAQ Mobile Styles */
    .faq-section {
        padding: 40px 16px;
    }
    
    .faq-category-title {
        font-size: 22px;
        text-align: center;
        border-left: none;
        border-bottom: 2px solid #CC0633;
        padding-left: 0;
        padding-bottom: 12px;
    }
    
    .faq-item {
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .faq-question {
        padding: 16px 18px;
    }
    
    .faq-question span {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .faq-question-icon {
        width: 20px;
        height: 20px;
        margin-left: 12px;
    }
    
    .faq-answer-content {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }
    
    .faq-nav {
        gap: 8px;
    }
    
    .faq-nav-link,
    .faq-nav-link:link,
    .faq-nav-link:visited,
    .faq-nav-link:active,
    .faq-nav-link:hover {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    #toggleAllBtn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 17px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .quick-action-btn {
        padding: 18px;
        font-size: 15px;
    }
}

/* FAQ Section - Contact Page (with background) */
.faq-section.has-background {
    background: #f5f5f7;
    max-width: 100%;
    margin: 0;
}

.faq-section.has-background .faq-container {
    max-width: 700px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    margin-bottom: 48px;
}

.faq-title h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.faq-title p {
    font-size: 17px;
    color: #6e6e73;
}

.faq-category-title {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    padding-left: 8px;
    border-left: 4px solid #CC0633;
}

.faq-item {
    background: #ffffff;
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: #CC0633;
}

.faq-question {
    font-weight: 600;
}

.faq-question:hover {
    color: #CC0633;
}

.faq-question-icon {
    flex-shrink: 0;
}

.faq-question-icon svg {
    stroke: currentColor;
    fill: none;
}

.faq-answer {
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px 24px;
}

.faq-answer-content {
    line-height: 1.7;
}

.faq-answer-content ul {
    margin-top: 8px;
}

.faq-answer-content li {
    margin-bottom: 4px;
}

/* About Page Styles */
.content-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d1d1f;
    text-align: center;
}

.content-text p {
    font-size: 17px;
    color: #6e6e73;
    margin-bottom: 16px;
}

.content-image {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    border-radius: 16px;
}

/* Stats Section */
.stats-section {
    background: #f5f5f7;
    padding: 24px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: #CC0633;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 17px;
    color: #6e6e73;
}

/* Features Section */
.features-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    margin-bottom: 32px;
}

.features-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.feature-card p {
    font-size: 13px;
    color: #6e6e73;
}

/* About Page Slider */
.about-slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-slider .slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.about-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.about-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.about-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    background: #f5f5f7;
    padding: 8px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.slider-arrow {
    width: 30px;
    height: 10px;
    border-radius: 5px;
    background: #CC0633;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #ffffff;
    padding: 0;
    flex-shrink: 0;
}

.slider-arrow svg {
    width: 8px;
    height: 8px;
}

.slider-arrow:hover {
    background: #CC0633;
    transform: scale(1.2);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d1d6;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.slider-dot:hover {
    background: #86868b;
}

.slider-dot.active {
    background: #CC0633;
    transform: scale(1.2);
}

/* CTA Button Override for About Page */
.cta-section .btn-primary {
    background: #ffffff !important;
    color: #CC0633 !important;
    border: none;
    border-radius: 980px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-section .btn-primary:hover {
    background: #f5f5f7 !important;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Individual Approach Box */
.individual-approach {
    margin-top: 48px;
    padding: 32px;
    background: #f5f5f7;
    border-radius: 16px;
}

.individual-approach h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.individual-approach p {
    font-size: 17px;
    color: #6e6e73;
    line-height: 1.6;
}

/* Research Section */
.research-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
}

/* Page header with clamp for about page */
.page-header.about-header {
    padding: clamp(100px, 15vw, 140px) 20px clamp(30px, 5vw, 80px);
}

/* Responsive - Tablet */
@media (max-width: 1068px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 16px;
        background: #ffffff;
        border-radius: 12px;
        text-align: center;
        min-height: 100px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 19px;
    }
    
    .pm-tech-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pm-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .pm-stats-grid .stat-item {
        padding: 16px;
        background: #f8f8f8;
        border-radius: 12px;
    }
}

/* Responsive - Mobile */
@media (max-width: 735px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 16px;
        background: #ffffff;
        border-radius: 12px;
        text-align: center;
        min-height: 90px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .feature-card {
        padding: 16px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .cta-section p {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 16px 12px;
    }
    
    .feature-card h3 {
        font-size: 14px;
    }
    
    .feature-card p {
        font-size: 12px;
    }
    
    .feature-icon {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 16px;
        background: #f8f8f8;
        border-radius: 12px;
        min-height: 80px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* ============================================
   Popular Products Section (index.html)
   ============================================ */
.products-section {
    background: #f5f5f7;
    padding: 60px 20px;
}

.products-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid: 3 columns on desktop */
.products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.products-section .product-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-section .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 6, 51, 0.2);
}

/* Hide buttons - more specific */
.products-section .product-card .buttons-group {
    display: none !important;
}

.products-section .product-card .image-wrapper {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.products-section .product-card .image-wrapper img {
    width: 100%;
    max-width: 100%;
    height: auto;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.products-section .product-card .image-wrapper:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.products-section .product-card .cart-fab {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #CC0633;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(204, 6, 51, 0.4);
    z-index: 10;
}

.products-section .product-card .cart-fab:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(204, 6, 51, 0.5);
    background: #b0052c;
}

.products-section .product-card .cart-fab svg {
    width: 26px;
    height: 26px;
}

.products-section .product-card .category-badge {
    display: block;
    background: linear-gradient(135deg, #CC0633 0%, #CC0633 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto 12px;
    width: fit-content;
}

.products-section .product-card .product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    flex: 1;
}

.products-section .product-card .product-link:hover h3 {
    color: #CC0633;
}

.products-section .product-card .product-link:hover .description,
.products-section .product-card .product-link:hover .price {
    color: #CC0633;
}

.products-section .product-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
    line-height: 1.3;
}

.products-section .product-card .description {
    font-size: 14px;
    color: #6e6e73;
    margin-bottom: 20px;
    min-height: 42px;
    line-height: 1.5;
}

.products-section .product-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0;
}

/* Responsive - 2 columns on mobile */
@media (max-width: 735px) {
    .products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .products-section .product-card {
        padding: 12px;
    }
    
    .products-section .product-card h3 {
        font-size: 14px;
    }
    
    .products-section .product-card .description {
        display: none;
    }
    
    .products-section .product-card .price {
        font-size: 15px;
    }
}

/* Tablet */
@media (min-width: 736px) and (max-width: 1068px) {
    .products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Hero Section (index.html)
   ============================================ */
.hero {
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.hero .subtitle {
    font-size: 24px;
    color: #6e6e73;
    margin-bottom: 16px;
}

.hero p {
    font-size: 21px;
    color: #6e6e73;
    max-width: 700px;
    margin: 0 auto 12px;
}

/* ====================== HERO SLIDER FIX ====================== */
.hero-slider {
    max-width: 900px;
    margin: 16px auto;
    position: relative;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: #f5f5f7;
}

.slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Навигация - кнопки по бокам от точек */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    background: #f5f5f7;
    padding: 10px 16px;
    border-radius: 24px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #CC0633;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slider-arrow svg {
    width: 16px;
    height: 16px;
}

.slider-arrow:hover {
    background: #b0052c;
    transform: scale(1.1);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d1d6;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #CC0633;
    transform: scale(1.2);
}

/* Мобильная версия */
@media (max-width: 768px) {
    .hero-slider { margin: 24px 16px; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 32px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 21px;
    color: #6e6e73;
}

/* About Section (home) */
.about-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d1d1f;
}

.about-content p {
    font-size: 17px;
    color: #6e6e73;
    margin-bottom: 16px;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
}

/* CTA Section Override for Home */
.hero .cta-section,
.hero ~ .cta-section,
.products-section ~ .cta-section {
    background: #CC0633;
    padding: 100px 20px;
    text-align: center;
}

.hero .cta-section h2,
.hero ~ .cta-section h2,
.products-section ~ .cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero .cta-section p,
.hero ~ .cta-section p,
.products-section ~ .cta-section p {
    font-size: 21px;
    color: #e6f2ff;
    margin-bottom: 32px;
}

.hero .cta-section .btn-primary,
.hero ~ .cta-section .btn-primary,
.products-section ~ .cta-section .btn-primary {
    background: #ffffff;
    color: #CC0633 !important;
}

.hero .cta-section .btn-primary:hover,
.hero ~ .cta-section .btn-primary:hover,
.products-section ~ .cta-section .btn-primary:hover {
    background: #f5f5f7;
    color: #CC0633 !important;
}

/* Footer hover */
footer a:hover {
    text-decoration: underline;
    color: #CC0633;
}

/* Responsive - Hero */
@media (max-width: 1068px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero ~ .cta-section,
    .products-section ~ .cta-section {
        padding: 80px 20px;
    }
    .hero ~ .cta-section h2,
    .products-section ~ .cta-section h2 {
        font-size: 40px;
    }
    .hero ~ .cta-section p,
    .products-section ~ .cta-section p {
        font-size: 19px;
    }
}

@media (max-width: 735px) {
    .hero {
        padding: 220px 20px 60px !important;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero .subtitle {
        font-size: 21px;
    }
    .hero p {
        font-size: 17px;
    }
    .section-title h2 {
        font-size: 32px;
    }
    .hero-slider {
        margin: 24px 16px;
    }
    .hero-slider .slider-dots {
        display: flex;
    }
    .hero-slider .slider-track {
        aspect-ratio: 16/9;
    }
    
    /* Mobile slider - show arrows but smaller */
    .slider-dots {
        display: flex;
    }
    .slider-track {
        aspect-ratio: 16/9;
    }
    
    .hero ~ .cta-section,
    .products-section ~ .cta-section {
        padding: 60px 20px;
    }
    .hero ~ .cta-section h2,
    .products-section ~ .cta-section h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    .hero ~ .cta-section p,
    .products-section ~ .cta-section p {
        font-size: 17px;
        margin-bottom: 24px;
    }
    .hero ~ .cta-section .btn-primary,
    .products-section ~ .cta-section .btn-primary {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* ============================================
   Почему выбирают FitLine - index.html
   ============================================ */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.why-choose-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.why-choose-card .feature-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.why-choose-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    color: #1d1d1f;
    line-height: 1.2;
}

.why-choose-card p {
    font-size: 16px !important;
    color: #6e6e73;
    line-height: 1.3;
    margin: 0;
}

/* Technology Sections */
.tech-section {
    margin-top: 48px;
    padding: 32px;
    background: #f8f8f8;
    border-radius: 20px;
}

.tech-section h3 {
    margin-top: 32px;
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
}

.tech-section p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-image {
    text-align: center;
}

.tech-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    object-fit: contain;
}

.why-choose-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-buttons {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.view-all-products {
    text-align: center;
    margin-top: 48px;
}

/* Responsive - Desktop */
@media (min-width: 769px) and (max-width: 1200px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .why-choose-card {
        padding: 16px;
    }
    
    .why-choose-card .feature-icon {
        font-size: 26px;
    }
    
    .why-choose-card h3 {
        font-size: 18px !important;
        font-weight: 700 !important;
    }
    
    .why-choose-card p {
        font-size: 14px !important;
        line-height: 1.3;
    }
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .tech-section {
        padding: 20px;
        margin-top: 24px;
        border-radius: 16px;
    }
    
    .tech-section h3 {
        font-size: 24px;
        margin-top: 20px;
    }
    
    .tech-section p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Responsive - Mobile */
@media (max-width: 735px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .why-choose-card {
        padding: 12px 10px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .why-choose-card .feature-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .why-choose-card h3 {
        font-size: 14px !important;
        font-weight: 700 !important;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    /* Показываем полный текст на мобильных устройствах - убираем ограничение строк */
    .why-choose-card p {
        font-size: 12px;
        line-height: 1.3;
        /* Убираем line-clamp для полного отображения текста (vendor + standard) */
        -webkit-line-clamp: unset;
        line-clamp: unset;
        /* Переопределяем возможные ограничения видимости */
        overflow: visible;
        text-align: center;
        margin: 0;
    }
}

/* ============================================
   Accessibility - WCAG 2.1 AA Compliance
   ============================================ */

/* Minimum button size 44x44px for touch targets */
@media (max-width: 735px) {
    .btn-primary,
    .btn-secondary,
    button,
    .filter-btn,
    .faq-question,
    .quick-action-btn,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px;
    }
    
    /* Точки слайдера - увеличить только touch area, не визуальный размер */
    .slider-dot {
        min-width: 44px;
        min-height: 44px;
        width: 10px;
        height: 10px;
        padding: 17px;
    }
    
    /* Ensure touch targets are large enough */
    .nav-links a,
    .mobile-menu ul li a {
        padding: 12px 0;
        min-height: 44px;
    }
    
    /* Back to top button - ensure visibility and proper size */
    #backToTop {
        width: 50px;
        height: 50px;
        min-width: 50px;
        bottom: 80px;
    }
    
    /* Telegram button same size */
    .tg-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }
    
    .tg-float .tg-icon-wrap {
        width: 50px;
        height: 50px;
    }
    
    /* Slider controls - smaller touch area for mobile */
    .slider-arrow {
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }
    
    /* Product card cart button */
    .product-card .cart-fab {
        width: 56px;
        height: 56px;
    }
}

/* Focus states for keyboard navigation */
.btn-primary:focus,
.btn-secondary:focus,
button:focus,
.filter-btn:focus,
.slider-dot:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
    
    .product-card {
        border: 2px solid var(--text-primary);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   ЭКСПЕРТНЫЕ БЛОКИ (YMYL контент)
   ============================================ */

/* Технологическое ядро */
.tech-core-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}

.tech-core-section .section-title h2 {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tech-core-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    color: #1d1d1f;
}

.tech-core-content > p {
    margin-bottom: 32px;
    text-align: center;
}

.tech-core-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 600px) {
    .tech-core-cards {
        grid-template-columns: 1fr;
    }
}

.tech-core-card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-core-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.tech-core-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #CC0633;
    font-weight: 700;
}

.tech-core-card p {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

.tech-core-card strong {
    color: #CC0633;
}

/* Концепция клеточной энергии */
.cellular-energy-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}

.cellular-energy-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.cellular-energy-section .section-title h2 {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.energy-concept {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.concept-item {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.concept-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #CC0633;
}

.concept-item p {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

/* Доказанная эффективность */
.efficiency-section {
    padding: 48px 20px;
    background: #fff;
}

.efficiency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 24px auto 0;
}

.efficiency-card {
    text-align: center;
    padding: 20px 16px;
    background: #f5f5f7;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.efficiency-card:hover {
    transform: scale(1.03);
}

.efficiency-number {
    font-size: 32px;
    font-weight: 700;
    color: #CC0633;
    line-height: 1;
    margin-bottom: 6px;
}

.efficiency-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.efficiency-card p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
}

/* Безопасность */
.safety-section {
    padding: 80px 20px;
    background: #f5f5f7;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto 0;
}

/* Responsive adjustments for safety grid */
@media (max-width: 1024px) {
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .safety-grid {
        grid-template-columns: 1fr;
    }
}

.safety-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.safety-card:hover {
    transform: translateY(-4px);
}

.safety-icon {
    margin-bottom: 16px;
}

.safety-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.safety-card p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
}

.safety-card strong {
    color: #CC0633;
}

/* Социальное доказательство - инвертированный блок */
.athletes-section {
    padding: 40px 20px;
    background: #CC0633;
    color: #fff;
    text-align: center;
}

.athletes-note {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
}

/* Статистика - карточки на светлом фоне */
.stats-section {
    padding: 40px 20px;
    background: #f5f5f7;
}

.stats-section .section-title {
    margin-bottom: 20px;
}

.stats-section .section-title h2 {
    font-size: 36px;
    color: #1d1d1f;
}

.stats-section .section-title p {
    font-size: 14px;
    color: #6e6e73;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid-numbers {
    margin-bottom: 12px;
}

.stat-number-large {
    font-size: 34px !important;
}

.stat-card {
    background: #fff;
    padding: 14px 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.stat-card-highlight {
    background: linear-gradient(135deg, #CC0633 0%, #e6002d 100%) !important;
    border: 2px solid #CC0633 !important;
}

.stat-card-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(204, 6, 51, 0.3);
}

.stat-card-highlight .stat-number-accent,
.stat-card-highlight .stat-label-accent {
    color: #fff !important;
}

.stat-card .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #CC0633;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stats-grid-numbers .stat-card .stat-number {
    font-size: 28px;
}

.stat-card .stat-number.text-number {
    font-size: 16px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-card .stat-number {
        font-size: 32px;
    }
    
    .athletes-note {
        font-size: 17px;
    }
}

/* Responsive для экспертных блоков */
@media (max-width: 768px) {
    .tech-core-section,
    .cellular-energy-section,
    .efficiency-section,
    .safety-section,
    .social-proof-section {
        padding: 48px 16px;
    }
    
    .tech-core-content {
        font-size: 16px;
    }
    
    .efficiency-number {
        font-size: 36px;
    }
    
    .proof-number {
        font-size: 32px;
    }
}

/* ============================================
   БИТВА ТЕХНОЛОГИЙ - Новый раздел
   ============================================ */
.tech-battle-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.tech-battle-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.tech-battle-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.tech-battle-section .section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.tech-battle-section .section-title p {
    font-size: 18px;
    color: #6e6e73;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Battle Intro */
.battle-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.battle-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.battle-stat .big-number {
    font-size: 80px;
    font-weight: 800;
    color: #CC0633;
    line-height: 1;
    margin-bottom: 8px;
}

.battle-stat .battle-label {
    font-size: 20px;
    color: #1d1d1f;
    font-weight: 600;
}

.battle-explanation {
    font-size: 18px;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.battle-explanation strong {
    color: #CC0633;
}

/* Battle Comparison */
.battle-comparison {
    margin-bottom: 60px;
}

.battle-comparison h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 20px;
}

.battle-comparison > p {
    font-size: 17px;
    color: #6e6e73;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-item {
    padding: 32px;
    border-radius: 20px;
    text-align: center;
}

.comparison-traditional {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    border: 2px solid #d1d1d6;
}

.comparison-ntc {
    background: linear-gradient(135deg, #CC0633 0%, #e6002d 100%);
    border: 2px solid #CC0633;
    color: #fff;
}

.comparison-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comparison-traditional h4 {
    color: #1d1d1f;
}

.comparison-ntc h4 {
    color: #fff;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-item li {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-traditional li {
    color: #6e6e73;
}

.comparison-ntc li {
    color: rgba(255, 255, 255, 0.95);
}

.comparison-ntc li:last-child {
    border-bottom: none;
    font-weight: 600;
}

.comparison-vs {
    font-size: 32px;
    font-weight: 800;
    color: #CC0633;
}

/* Absorption Stats */
.absorption-stats {
    margin-bottom: 60px;
    padding: 48px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.absorption-stats h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 16px;
}

.absorption-stats > p {
    font-size: 17px;
    color: #6e6e73;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.absorption-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 24px;
}

.absorption-card {
    text-align: center;
    padding: 24px 16px;
    background: #f5f5f7;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.absorption-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.absorption-value {
    font-size: 36px;
    font-weight: 800;
    color: #CC0633;
    line-height: 1.1;
    margin-bottom: 8px;
}

.absorption-name {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.absorption-summary {
    text-align: center;
    font-size: 20px;
    color: #1d1d1f;
    font-weight: 600;
    padding-top: 16px;
    border-top: 1px solid #e8e8ea;
}

.absorption-summary strong {
    color: #CC0633;
}

/* Responsive */
@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-vs {
        font-size: 24px;
    }
    
    .absorption-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .breakthrough-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tech-battle-section {
        padding: 48px 16px;
    }
    
    .tech-battle-section .section-title h2 {
        font-size: 28px;
    }
    
    .tech-battle-section .section-title p {
        font-size: 16px;
    }
    
    .battle-intro {
        padding: 24px 20px;
    }
    
    .battle-stat .big-number {
        font-size: 56px;
    }
    
    .battle-stat .battle-label {
        font-size: 16px;
    }
    
    .battle-explanation {
        font-size: 15px;
    }
    
    .battle-comparison h3 {
        font-size: 22px;
    }
    
    .comparison-item {
        padding: 24px 20px;
    }
    
    .comparison-item h4 {
        font-size: 18px;
    }
    
    .comparison-item li {
        font-size: 14px;
    }
    
    .absorption-stats {
        padding: 32px 20px;
    }
    
    .absorption-stats h3 {
        font-size: 22px;
    }
    
    .absorption-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .absorption-value {
        font-size: 28px;
    }
    
    .absorption-summary {
        font-size: 16px;
    }
    
    .tech-breakthrough {
        padding: 32px 20px;
    }
    
    .tech-breakthrough h3 {
        font-size: 22px;
    }
    
    .tech-breakthrough > p {
        font-size: 15px;
    }
    
    .breakthrough-card {
        padding: 28px 20px;
    }
    
    .breakthrough-card h4 {
        font-size: 20px;
    }
    
    .breakthrough-card p {
        font-size: 14px;
    }
}

/* Desktop: круглые кнопки под слайдером */
@media (min-width: 769px) {
    .hero-slider .slider-nav {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
    }
    
    .hero-slider .slider-container .slider-arrow {
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        transform: none;
        width: 38px;
        height: 38px;
    }
    
    .hero-slider .slider-container .slider-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   MOBILE SLIDER FIXES + HEADER/NAV
   ============================================ */
/* Better mobile handling for slider images */
@media (max-width: 768px) {
    /* Header/hero fixes */
    .hero {
        padding: 120px 16px 40px !important;
    }
    
    .hero h1 {
        font-size: 28px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero .subtitle {
        font-size: 18px !important;
    }
    
    .hero p {
        font-size: 15px !important;
    }
    
    /* Navigation fixes */
    .nav {
        padding: 4px 0;
    }
    
    .nav-logo img {
        height: 32px !important;
        min-height: 28px;
        max-width: 120px !important;
    }
    
    /* Slider container - full width */
    .hero-slider {
        margin: 16px auto !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .slider-container {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 12px !important;
    }
    
    .hero-slider .slide img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    /* Мобильные кнопки - компактные */
    .slider-arrow {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px;
        min-height: 16px;
        padding: 0 !important;
        border-radius: 50% !important;
        flex-shrink: 0;
        display: flex !important;
        visibility: visible !important;
    }
    
    .slider-arrow svg {
        width: 5px !important;
        height: 5px !important;
    }
    
    .slider-nav {
        padding: 2px 6px;
        gap: 1px;
        margin-top: 6px;
        max-width: 100% !important;
        overflow: hidden;
        width: auto !important;
        height: auto;
    }
    
    .slider-dot {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px;
        min-height: 6px;
        padding: 0 !important;
        border-radius: 50% !important;
    }
    
    /* Ensure proper aspect ratio on very small screens */
    .hero-slider .slider-track {
        aspect-ratio: 16/9 !important;
        min-height: 180px;
    }
}

/* Extra small mobile devices */
@media (max-width: 400px) {
    .hero-slider {
        margin: 16px 12px;
    }

    .slider-container {
        border-radius: 16px;
    }

    .slider-track {
        min-height: 160px;
    }
}

/* ============================================
   CONTACT LANDING PAGE STYLES (PM Business Theme)
   ============================================ */

.contact-landing {
    padding-top: 80px;
    background: #ffffff;
}

/* Override Primary Colors for Contact Page to match PM Business */
.contact-landing .mentor-badge {
    background: #E1F0FA;
    color: #0054A6;
}

.contact-landing .trust-item svg {
    color: #0054A6;
}

.contact-landing .step-number {
    background: #0054A6;
}

.contact-landing .btn-primary-large {
    background: #0054A6;
    box-shadow: 0 8px 24px rgba(0, 84, 166, 0.3);
}

.contact-landing .btn-primary-large:hover {
    background: #003d7a;
    box-shadow: 0 12px 32px rgba(0, 84, 166, 0.4);
}

.contact-landing .btn-secondary-large:hover {
    border-color: #0054A6;
    color: #0054A6 !important;
}

.contact-landing .final-cta {
    background: #003366; /* Dark PM Blue */
}

.breadcrumbs {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: #86868b;
    background: #f5f5f7;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.breadcrumbs a {
    color: #CC0633;
    text-decoration: none;
    font-weight: 500;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 6px; opacity: 0.5; }

/* Hero Mentor */
.hero-mentor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.mentor-badge {
    display: inline-block;
    background: #f5f5f7;
    color: #CC0633;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 980px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.hero-subtitle {
    font-size: 24px;
    color: #6e6e73;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-text {
    font-size: 17px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-primary-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #CC0633;
    color: #ffffff !important;
    padding: 20px 32px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(204, 6, 51, 0.3);
    text-align: center;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(204, 6, 51, 0.4);
}

.btn-subtext {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
}

.btn-secondary-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #1d1d1f !important;
    border: 2px solid #e5e5e7;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-secondary-large:hover {
    border-color: #CC0633;
    color: #CC0633 !important;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: #34c759;
    fill: currentColor;
}

.hero-image {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: #f5f5f7;
    aspect-ratio: 4/5;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Benefits Section */
.benefits-section {
    background: #f5f5f7;
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #1d1d1f;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.benefit-card p {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

/* Steps Section */
.steps-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #CC0633;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1d1d1f;
}

.step-content p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0;
}

/* Final CTA */
.final-cta {
    background: #1d1d1f;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 24px;
    max-width: 1100px;
    margin: 40px auto 80px;
}

.final-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-final {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-links-section {
    max-width: 1100px;
    margin: -40px auto 80px;
    padding: 0 20px;
}

.contact-links-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin: 0 0 22px;
}

.contact-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.contact-links-grid a {
    display: block;
    padding: 13px 15px;
    border: 1px solid #e5e5e7;
    border-radius: 10px;
    background: #fff;
    color: #CC0633;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.contact-links-grid a:hover {
    background: #fafafa;
    border-color: #CC0633;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-mentor {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        padding: 40px 20px;
    }

    .hero-content h1 { font-size: 36px; }
    .hero-subtitle { font-size: 20px; }
    .trust-row { justify-content: center; }
    
    .benefits-grid { grid-template-columns: 1fr; }
    .contact-links-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-image { max-width: 300px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .contact-links-section {
        margin: -36px auto 64px;
    }

    .contact-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #CC0633;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 32px;
    transition: gap 0.2s ease;
}

.back-link:hover {
    gap: 12px;
}

.back-link svg {
    width: 20px;
    height: 20px;
}

.article-header {
    margin-bottom: 32px;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.article-meta {
    font-size: 15px;
    color: #515154;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 40px;
}

.article-content {
    font-size: 17px;
    line-height: 1.7;
    color: #1d1d1f;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.article-content strong {
    color: #CC0633;
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-container {
        padding: 80px 16px 40px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content {
        font-size: 16px;
    }
}

/* ============================================
   Sticky order bar — компактная «пилюля» слева,
   цена + «Заказать»; не во всю ширину, чтобы не пересекаться с
   плавающими кнопками справа. Показ/скрытие — main.js (прячется
   у самого низа, чтобы не перекрывать подвал). !important — чтобы
   перебить дублированный инлайн-CSS карточек.
   ============================================ */
.sticky-cta {
    position: fixed !important;
    left: 16px !important;
    right: auto !important;
    bottom: 16px !important;
    top: auto !important;
    width: auto !important;
    max-width: calc(100vw - 32px);
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14) !important;
    padding: 10px 14px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) !important;
}

.sticky-cta-container {
    display: flex !important;
    align-items: center !important;
    max-width: none !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

.sticky-cta-price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    white-space: nowrap !important;
}

.product-ad-warning {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0 0 16px;
    padding: 12px 28px;
    border: 0;
    border-radius: 12px;
    background: #f5f5f7;
    color: #6e6e73;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

/* Полный визуальный стиль кнопки пилюли — в styles.css, чтобы не зависеть
   от инлайн-CSS карточки (он есть только у 3 из 48). */
.sticky-cta-btn {
    flex-shrink: 0 !important;
    background: #CC0633 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 980px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

/* Заказ внутри общей линии .float-bar — компактная пилюля цена + «Заказать».
   По умолчанию скрыт (десктоп использует .sticky-cta слева); включается на мобайле. */
.float-order {
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    padding: 5px 5px 5px 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
}

.float-order-price {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
}

.float-order-btn {
    background: #CC0633;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sticky-cta { display: none !important; }   /* на мобайле — заказ в общей линии, не отдельной пилюлей */
    .float-order { display: inline-flex; }

    /* Горизонтальная лента миниатюр прокручивается внутри сетки и не расширяет страницу. */
    .product-section {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .product-gallery,
    .product-info {
        min-width: 0;
        width: 100%;
    }
    .gallery-thumbnails {
        width: 100%;
        max-width: 100%;
    }

    /* Верхний sticky-block на мобайле — компактнее, меньше воздуха между строками */
    .sticky-block { padding: 10px 0 12px !important; margin-bottom: 10px !important; }
    .sticky-block .product-title-row { gap: 4px 12px !important; margin-bottom: 6px !important; }
    .sticky-block .product-title { font-size: 24px !important; line-height: 1.15 !important; }
    .sticky-block .product-subtitle { font-size: 15px !important; }
    .sticky-block .product-price-row { gap: 16px !important; margin-top: 4px !important; }
    .product-ad-warning { min-height: 44px; padding: 12px 16px; font-size: 13px; }
}
