

/* ===== СТИЛИ БЛОКА ХИТОВ ===== */
.hits-section {
    --hits-primary-color: #689550;
    --hits-primary-dark: #4f7340;
    --hits-primary-rgb: 104, 149, 80;
    --hits-bg-primary: #f7faf5;
    --hits-bg-secondary: #ffffff;
    --hits-bg-tertiary: #edf4e8;
    --hits-bg-dark: #364f2a;
    --hits-accent-color: #e97c1f;
    --hits-accent-rgb: 233, 124, 31;
    --hits-text-primary: #2A7A4C;
    --hits-text-secondary: #2A7A4C;
    --hits-text-light: #2A7A4C;
    --hits-text-white: #ffffff;
    --hits-text-muted: rgba(41, 38, 38, 0.7);
    --hits-error-color: #ff6b6b;
    --hits-success-color: #689550;
    --hits-gradient-primary: linear-gradient(135deg, var(--hits-primary-color) 0%, #7aaf5d 100%);
    --hits-gradient-dark: linear-gradient(135deg, var(--hits-bg-dark), #2d2d2d);
    --hits-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --hits-shadow-medium: 0 10px 30px rgba(var(--hits-primary-rgb), 0.1);
    --hits-shadow-heavy: 0 15px 35px rgba(var(--hits-primary-rgb), 0.3);
    --hits-border-radius: 8px;
    --hits-transition: all 0.3s ease;
    --hits-corner-size: 70px;

    padding: 80px 0 60px;
    background: var(--hits-gradient-primary);
    overflow: hidden;
    font-family: 'Manrope', sans-serif;
    position: relative;
}

.hits-stories {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--hits-transition);
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--hits-bg-secondary);
    background-size: cover;
    background-position: center;
    border: 3px solid var(--hits-text-white);
    box-shadow: var(--hits-shadow-light);
    position: relative;
    overflow: hidden;
}

.story-progress {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: conic-gradient(var(--hits-primary-color) 0%, transparent 0%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.story-item.viewed .story-progress {
    background: conic-gradient(var(--hits-primary-color) 100%, transparent 0%);
}

.story-label {
    font-size: 0.9rem;
    color: var(--hits-text-white);
    font-weight: 500;
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title-hits {
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: var(--hits-text-white);
    font-family: 'Arial', sans-serif;
    flex-shrink: 0;
}

.section-header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.view-all-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--hits-text-white);
    color: var(--hits-text-white);
    padding: 12px 24px;
    border-radius: var(--hits-border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--hits-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.section-header-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.hits-slider-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hits-transition);
    color: var(--hits-text-white);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: var(--hits-border-radius);
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.hits-slider-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.hits-products-slider {
    position: relative;
    overflow: visible;
}

.hits-products-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 10px 30px;
    margin: -10px -10px;
    cursor: grab;
}

.hits-products-container:active {
    cursor: grabbing;
}

.hits-products-container::-webkit-scrollbar {
    display: none;
}

.hits-product-wrapper {
    flex: 0 0 auto;
    width: calc(25% - 15px);
    min-width: 280px;
    height: auto;
    position: relative;
    cursor: pointer;
}

.hits-product-card {
    width: 100%;
    height: 100%;
}

.hits-product-card-inner {
    background: var(--hits-bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--hits-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--hits-shadow-light);
    width: 100%;
    clip-path: polygon(
        0 0,
        calc(100% - var(--hits-corner-size)) 0,
        calc(100% - var(--hits-corner-size)) var(--hits-corner-size),
        100% var(--hits-corner-size),
        100% 100%,
        0 100%
    );
}

.hits-product-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--hits-shadow-medium);
}

.corner-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--hits-corner-size);
    height: var(--hits-corner-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    pointer-events: none;
    z-index: 2;
}

.corner-icon .material-icons {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hits-product-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: var(--hits-corner-size);
    height: var(--hits-corner-size);
    background: var(--hits-gradient-primary);
    clip-path: xywh(0 0 100% 100% round 0 0 0 var(--hits-border-radius));
    z-index: 1;
}


.hits-product-image {
    height: 300px;
    background-color: var(--hits-bg-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hits-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 0;
}


.hits-product-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 15px;
}

.hits-product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--hits-text-primary);
    line-height: 1.3;

    display: block;
    overflow: visible;
    flex-shrink: 0;
}

.hits-product-description {
    font-size: 0.95rem;
    color: var(--hits-text-secondary);
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;

    display: block;
    overflow: visible;
    flex: 1;
    margin-bottom: 10px;
}

@media (max-width: 720px) {
    .hits-product-name {
        font-size: 1rem;
    }
    .hits-product-description {
        font-size: 0.85rem;
    }
}

.hits-product-bottom {
    flex-shrink: 0;
    margin-top: auto;
}

.hits-product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hits-text-primary);
    margin-bottom: 15px;
    flex-shrink: 0;
}

.hits-product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.hits-btn-add-to-cart {
    flex: 1;
    background: var(--hits-primary-color);
    color: var(--hits-text-white);
    border: none;
    padding: 12px;
    border-radius: var(--hits-border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--hits-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.hits-btn-add-to-cart:hover {
    background: var(--hits-primary-dark);
}

.hits-btn-add-to-cart.added,
.btn-kit.added {
    background: var(--hits-primary-color);
}

.hits-btn-favorite {
    width: 50px;
    height: 50px;
    border-radius: var(--hits-border-radius);
    background: transparent;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--hits-transition);
    flex-shrink: 0;
}

.hits-btn-favorite:hover {
    background: var(--hits-bg-primary);
    border-color: var(--hits-primary-color);
}

.hits-btn-favorite .material-icons {
    font-size: 20px;
    color: var(--hits-text-light);
}


.stories-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stories-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.stories-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 80vh;
    max-height: 700px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.stories-progress {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
}

.progress-track {
    display: flex;
    gap: 6px;
    height: 4px;
}

.progress-item {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fff, #f0f0f0);
    width: 0%;
    border-radius: 2px;
    transition: width linear;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.progress-item.active .progress-fill {
    width: 100%;
}

.progress-item.completed .progress-fill {
    width: 100%;
    background: #fff;
}

.story-controls {
    position: absolute;
    top: 30px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.story-pause-btn, .story-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    font-size: 1.1rem;
}

.story-pause-btn:hover, .story-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.stories-content {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.story-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.story-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.story-media {
    flex: 1;
    width: 100%;
    height: 80%;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.story-media::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.9);
    z-index: -1;
}

.story-caption {
    height: 20%;
    background: var(--primary-dark);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    z-index: 2000;
}

.story-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.story-text {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0,0,0,0.7);
    font-weight: 500;
}

.story-action-btn {
    background: var(--hits-primary-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 140px;
}

.story-action-btn:hover {
    background: var(--hits-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    font-size: 1.3rem;
}

.story-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.15);
}

.story-prev {
    left: 20px;
}

.story-next {
    right: 20px;
}

.story-indicator {
    position: absolute;
    top: 30px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    z-index: 15;
}

.story-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--hits-primary-color);
}

.story-name {
    font-weight: 600;
    font-size: 1rem;
}

@keyframes mediaLoad {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.media-loaded {
    animation: mediaLoad 0.5s ease-out forwards;
}

/* ===== СТИЛИ БЛОКА БРЕНДОВ ===== */
.brands-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.brands-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: normal;
    line-height: 1.2;
    max-width: 100%;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.brand-tile {
    display: block;
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    width: 100%;
    max-width: 320px;
    transition: var(--transition);
    cursor: pointer;
}

.brand-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

.brand-tile:hover .brand-image {
    transform: scale(1.02);
}

.brand-tile:hover .brand-info {
    opacity: 1;
}

.brand-tile:hover .brand-link {
    transform: translateX(5px);
}

.brand-tile:hover .click-hint {
    opacity: 0;
}

.brand-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.click-hint {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.7;
    transition: var(--transition);
    animation: gentle-breathe 3s infinite ease-in-out;
}

.click-hint span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: lowercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@keyframes gentle-breathe {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.95);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.brand-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-primary);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--text-white);
    text-align: center;
    z-index: 3;
}

.brand-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-white);
}

.brand-info p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 5px;
    opacity: 0.9;
}

.brand-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
    transition: var(--transition);
}

/* ===== СТИЛИ БЛОКА ПАКЕТНЫХ РЕШЕНИЙ ===== */
.kits-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.kits-header {
    margin-bottom: 60px;
}

.kits-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 950px;
    line-height: 1.6;
    margin-top: 20px;
}

.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    align-items: stretch;
}

.kit-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
    border-radius: 20px;
    height: 100%;
}

.kit-card-link:hover {
    transform: translateY(-5px);
}

.kit-card-link:hover .kit-card {
    box-shadow: var(--shadow-heavy);
}

.kit-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.kit-image {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.kit-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--text-white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.kit-header {
    padding: 25px 25px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.kit-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.kit-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.kit-products {
    padding: 20px 25px;
    flex: 1;
}

.kit-products h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--overlay-light);
    border-radius: 10px;
    transition: var(--transition);
}

.product-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.product-icon {
    width: 80px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
    position: relative;
}

.price-old {
    font-size: 0.9rem;
    color: #e0e0e0;
    text-decoration: line-through;
    line-height: 1;
    font-weight: 500;
}

.price-new {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 700;
    line-height: 1;
}

.product-details {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.3;
}

.product-size {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 2px;
}

.kit-footer {
    padding: 20px 25px 25px;
    background: rgba(var(--primary-rgb), 0.03);
    flex-shrink: 0;
}

.pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.old-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.new-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.savings {
    text-align: right;
}

.savings-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.btn-kit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-kit:hover {
    box-shadow:
        0 8px 20px rgba(var(--primary-rgb), 0.3),
        0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-kit:active {
    transform: scale(0.98);
}

.kits-footer {
    text-align: center;
}

.btn-view-all-kits {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-view-all-kits:hover {
    background: var(--primary-color);
    color: white;
}


/* ===== СТИЛИ БЛОКА АКЦИЙ ===== */
@font-face {
    font-family: 'FuturaDemiC';
    src: url('/static/fonts/futurademic.woff2') format('woff2'),
         url('/static/fonts/futurademic.woff') format('woff'),
         url('/static/fonts/futurademic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.promo-banners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--hits-primary-color) 0%, #7aaf5d 100%);
    overflow: hidden;
}

.section-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.section-header-text {
    flex: 1;
    min-width: 0;
}

.promo-controls-wrapper {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.promo-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-white);
    font-size: 1.8rem;
    padding: 8px;
    border-radius: 6px;
    width: 44px;
    height: 44px;
}

.promo-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.promo-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
    font-family: 'FuturaDemiC', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-white);
    line-height: 1.6;
    max-width: 600px;
    white-space: normal;
    opacity: 0.9;
}

.promo-slider {
    position: relative;
    overflow: visible;
    margin: 15px 0;
}

.promo-slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px 0;
    cursor: grab;
}

.promo-slider-container:active {
    cursor: grabbing;
}

.promo-slider-container::-webkit-scrollbar {
    display: none;
}

.promo-banner {
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
    margin: 8px 0;
}

.promo-banner-inner {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-light);
}

.promo-banner-inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.banner-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    overflow: hidden;
}

.banner-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--text-white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
    font-family: 'FuturaDemiC', Arial, sans-serif;
}

.banner-badge-sale {
    background: var(--accent-color);
    color: var(--text-white);
}

.banner-badge-kit {
    background: var(--success-color);
    color: var(--text-white);
}

.banner-badge-new {
    background: var(--primary-color);
    color: var(--text-white);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.banner-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
}

.banner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.banner-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
    margin: 0;
    font-family: 'FuturaDemiC', Arial, sans-serif;
}

.banner-date {
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 6px 10px;
    background: var(--bg-primary);
    border-radius: 6px;
    font-weight: 600;
}

.banner-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: 'FuturaDemiC', Arial, sans-serif;
}

.banner-cta:hover {
    gap: 8px;
}


/* ===== СТИЛИ БЛОКА "Вам может понравиться" (точь-в-точь как хиты) ===== */
.favourite-products-section {
    --hits-primary-color: #689550;
    --hits-primary-dark: #4f7340;
    --hits-primary-rgb: 104, 149, 80;
    --hits-bg-primary: #f7faf5;
    --hits-bg-secondary: #ffffff;
    --hits-bg-tertiary: #edf4e8;
    --hits-bg-dark: #364f2a;
    --hits-accent-color: #e97c1f;
    --hits-accent-rgb: 233, 124, 31;
    --hits-text-primary: #2A7A4C;
    --hits-text-secondary: #2A7A4C;
    --hits-text-light: #2A7A4C;
    --hits-text-white: #ffffff;
    --hits-text-muted: rgba(41, 38, 38, 0.7);
    --hits-error-color: #ff6b6b;
    --hits-success-color: #689550;
    --hits-gradient-primary: linear-gradient(135deg, var(--hits-primary-color) 0%, #7aaf5d 100%);
    --hits-gradient-dark: linear-gradient(135deg, var(--hits-bg-dark), #2d2d2d);
    --hits-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --hits-shadow-medium: 0 10px 30px rgba(var(--hits-primary-rgb), 0.1);
    --hits-shadow-heavy: 0 15px 35px rgba(var(--hits-primary-rgb), 0.3);
    --hits-border-radius: 8px;
    --hits-transition: all 0.3s ease;
    --hits-corner-size: 70px;



    padding: 80px 0 60px;
    background: var(--hits-gradient-primary);
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.favourite-products-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.favourite-products-section .section-title {
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: var(--hits-text-white);
    font-family: 'Arial', sans-serif;
    flex-shrink: 0;
}

.favourite-products-section .section-header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.favourite-products-section .view-all-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--hits-text-white);
    color: var(--hits-text-white);
    padding: 12px 24px;
    border-radius: var(--hits-border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--hits-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.favourite-products-section .view-all-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.favourite-products-section .section-header-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.favourite-products-section .slider-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hits-transition);
    color: var(--hits-text-white);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: var(--hits-border-radius);
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.favourite-products-section .slider-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.favourite-products-section .new-products-slider {
    position: relative;
    overflow: visible;
}

.favourite-products-section .products-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 10px 30px;
    margin: -10px -10px;
    cursor: grab;
}

.favourite-products-section .products-container:active {
    cursor: grabbing;
}

.favourite-products-section .products-container::-webkit-scrollbar {
    display: none;
}

.favourite-products-section .product-card {
    flex: 0 0 auto;
    width: calc(25% - 15px);
    min-width: 280px;
    height: auto;
    position: relative;
    cursor: pointer;
}

.favourite-products-section .product-card-inner {
    background: var(--hits-bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--hits-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--hits-shadow-light);
    width: 100%;
    clip-path: polygon(
        0 0,
        calc(100% - var(--hits-corner-size)) 0,
        calc(100% - var(--hits-corner-size)) var(--hits-corner-size),
        100% var(--hits-corner-size),
        100% 100%,
        0 100%
    );
}

.favourite-products-section .product-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--hits-shadow-medium);
}

.favourite-products-section .corner-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--hits-corner-size);
    height: var(--hits-corner-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    pointer-events: none;
    z-index: 2;
}

.favourite-products-section .corner-icon .material-icons {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.favourite-products-section .product-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: var(--hits-corner-size);
    height: var(--hits-corner-size);
    background: var(--hits-gradient-primary);
    clip-path: xywh(0 0 100% 100% round 0 0 0 var(--hits-border-radius));
    z-index: 1;
}


.favourite-products-section .product-image {
    height: 300px;
    background-color: var(--hits-bg-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.favourite-products-section .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 0;
}


.favourite-products-section .product-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 15px;
}

.favourite-products-section .product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--hits-text-primary);
    line-height: 1.3;

    display: block;
    overflow: visible;
    flex-shrink: 0;
}

.favourite-products-section .product-description {
    font-size: 0.95rem;
    color: var(--hits-text-secondary);
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;

    display: block;
    overflow: visible;
    flex: 1;
    margin-bottom: 10px;
}

.favourite-products-section .product-bottom {
    flex-shrink: 0;
    margin-top: auto;
}

.favourite-products-section .product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hits-text-primary);
    margin-bottom: 15px;
    flex-shrink: 0;
}

.favourite-products-section .product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.favourite-products-section .btn-add-to-cart {
    flex: 1;
    background: var(--hits-primary-color);
    color: var(--hits-text-white);
    border: none;
    padding: 12px;
    border-radius: var(--hits-border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--hits-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.favourite-products-section .btn-add-to-cart:hover {
    background: var(--hits-primary-dark);
}

.favourite-products-section .btn-add-to-cart.added {
    background: var(--hits-primary-color);
}

.favourite-products-section .btn-favorite {
    width: 44px;
    height: 44px;
    border-radius: var(--hits-border-radius);
    background: transparent;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--hits-transition);
    flex-shrink: 0;
}

.favourite-products-section .btn-favorite:hover {
    background: var(--hits-bg-primary);
    border-color: var(--hits-primary-color);
}

.favourite-products-section .btn-favorite .material-icons {
    font-size: 20px;
    color: var(--hits-text-light);
}

/* ===== СТИЛИ БЛОКА ПРЕИМУЩЕСТВ ===== */
.advantages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.advantages-header {
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.advantage-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--text-white);
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-icon .material-icons {
    font-size: 36px;
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.telegram-cta {
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: 20px;
    color: var(--text-white);
    box-shadow: var(--shadow-heavy);
}

.telegram-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.telegram-text {
    flex: 1;
    min-width: 300px;
}

.telegram-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
}

.telegram-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.btn-telegram {
    background: var(--text-white);
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===== СТИЛИ БЛОКА "КАКАЯ У ВАС ЗАДАЧА?" ===== */
.problems-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.problems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}


.problems-header {
    margin-bottom: 60px;
}

.problems-header .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: normal;
    line-height: 1.2;
    max-width: 100%;
    margin-bottom: 20px;
}

.problems-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 950px;
    line-height: 1.6;
    margin: 0;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.problem-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px 30px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.problem-card:hover .card-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.card-icon .material-icons {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.problem-card:hover .card-icon .material-icons {
    color: var(--text-white);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 1rem;
}


.card-action-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hint-text {
    transition: transform 0.3s ease;
}

.hint-arrow {
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
}


@media (hover: hover) {
    .problem-card:hover .card-action-hint {
        gap: 12px;
    }

    .problem-card:hover .hint-arrow {
        transform: translateX(4px);
        color: var(--primary-dark);
    }

    .problem-card:hover .hint-text {
        transform: translateX(-2px);
    }
}


@media (max-width: 768px) {
    .problem-card {
        border: 2px solid var(--primary-light);
        background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
        padding: 30px 20px 50px;
    }

    .card-action-hint {
        background: var(--primary-color);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.75rem;
        box-shadow: var(--shadow-light);
    }

    .problem-card:active {
        transform: scale(0.98);
        background: var(--bg-tertiary);
    }

    .problem-card:active .card-action-hint {
        background: var(--primary-dark);
    }
}


.problems-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-micro {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}


.btn-kit {
    flex: 1;
    background: var(--primary-color) !important;
    color: var(--text-white) !important;
    border: none !important;
    padding: 18px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-light);
    position: relative;
    text-decoration: none !important;
    outline: none !important;

    font-family: inherit;
    line-height: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.btn-kit:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--text-white) !important;
}

.btn-kit:active {
    transform: translateY(0);
    background: var(--primary-dark) !important;
}

.btn-kit:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3) !important;
}


.btn-kit.added {
    background: var(--success-color) !important;
}

.btn-kit:disabled {
    background: var(--text-light) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}


.btn-kit .material-icons {
    font-size: 1.3rem;
    color: inherit !important;
    transition: none !important;
}

.btn-kit.added {
    background: var(--primary-color) !important;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}


header.hidden {
    transform: translateY(-100%);
}


header.visible {
    transform: translateY(0);
}


body {
    padding-top: 80px;
}


@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}


.problem-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
    border-radius: 20px;
}

.problem-card-link:hover {
    transform: translateY(-5px);
}

.problem-card-link:hover .problem-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}




@media (min-width: 625px) {
    .slide-content {
        padding-top: 200px;
    }
}

@media (max-width: 1400px) {
    .hero-content-wrapper {
        padding: 0 40px;
        padding-top: 140px !important;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        max-width: 900px;
        font-size: 3.2rem;
    }

    .hero-subtitle,
    .hero-emphasis {
        max-width: 700px;
    }
}

@media (max-width: 1024px) {

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .kits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-controls-wrapper {
        display: none;
    }

    .promo-slider-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: 0;
    }

    .promo-slider-container::after {
        content: '';
        flex: 0 0 20px;
    }

    .promo-banner {
        width: 360px;
        flex: 0 0 360px;
    }

    .banner-image {
        height: 200px;
    }

    .banner-content {
        padding: 20px;
    }
}

@media (max-width: 969px) {
    .hits-product-wrapper {
        width: 280px;
        flex: 0 0 280px;
        height: auto;
    }

    .section-title-hits {
        font-size: 36px;
    }

    .section-header-nav {
        display: none;
    }

    .hits-stories {
        gap: 20px;
    }

    .story-circle {
        width: 60px;
        height: 60px;
    }

    .favourite-products-section .product-card {
        width: 280px;
        flex: 0 0 280px;
        height: auto;
    }

    .section-header-nav {
        display: none;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .favourite-products-section .products-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: 20px;
    }

    .btn-favorite {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 890px) {
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {

    .section-title-hits {
        font-size: 32px;
    }

    .hits-stories {
        gap: 15px;
    }

    .story-circle {
        width: 50px;
        height: 50px;
    }

    .stories-container {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .brands-section {
        padding: 60px 0px;
    }

    .brands-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 10px;
        cursor: grab;
    }

    .brands-grid:active {
        cursor: grabbing;
    }

    .brands-grid::-webkit-scrollbar {
        display: none;
    }

    .brand-tile {
        flex: 0 0 auto;
        width: 280px;
        max-width: none;
        scroll-snap-align: start;
    }

    .brand-info {
        padding: 20px;
    }

    .brand-info h4 {
        font-size: 1.3rem;
    }

    .brand-info p {
        font-size: 0.9rem;
    }

    .kits-section {
        padding: 60px 0;
    }

    .kits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kit-header {
        padding: 20px 20px 15px;
    }

    .kit-products {
        padding: 15px 20px;
    }

    .kit-footer {
        padding: 15px 20px 20px;
    }

    .kit-header h3 {
        font-size: 1.2rem;
    }

    .new-price {
        font-size: 1.6rem;
    }

    .product-icon {
        width: 70px;
        height: 44px;
    }

    .price-old {
        font-size: 0.8rem;
    }

    .price-new {
        font-size: 0.9rem;
    }

    .kit-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .promo-banners-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .promo-section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .promo-slider-container {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 0;
    }

    .promo-slider-container::after {
        flex: 0 0 16px;
    }

    .promo-banner {
        width: 320px;
        flex: 0 0 320px;
    }

    .banner-image {
        height: 180px;
    }

    .banner-content {
        padding: 18px;
    }

    .banner-title {
        font-size: 1.2rem;
    }

    .banner-description {
        font-size: 0.9rem;
    }

    .advantages-section {
        padding: 60px 0;
    }

    .advantages-header {
        margin-bottom: 40px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        padding: 30px 20px;
    }

    .advantage-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .advantage-icon .material-icons {
        font-size: 30px;
    }

    .advantage-card h3 {
        font-size: 1.1rem;
    }

    .telegram-cta {
        padding: 40px 30px;
    }

    .telegram-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .telegram-text {
        min-width: auto;
    }

    .telegram-text h3 {
        font-size: 1.5rem;
    }

    .btn-telegram {
        width: 100%;
        justify-content: center;
    }


    .problems-section {
        padding: 60px 0;
    }

    .problems-header {
        margin-bottom: 40px;
    }

    .problems-header .section-title {
        font-size: 1.8rem;
    }

    .problems-description {
        font-size: 1rem;
    }

    .problems-grid {
        gap: 20px;
        margin-bottom: 40px;
    }

    .problem-card {
        padding: 30px 20px 50px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .card-icon .material-icons {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 679px) {
    .section-title {
        font-size: 1.6rem;
    }

    .click-hint span {
        font-size: 0.8rem;
    }
}

@media (max-width: 579px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .favourite-products-section .product-image {
        height: 180px;
    }

    .view-all-content {
        padding: 20px;
        gap: 12px;
    }

    .view-all-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 5px;
    }

    .view-all-icon .material-icons {
        font-size: 1.5rem;
    }

    .view-all-title {
        font-size: 1.1rem;
    }

    .view-all-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hits-section {
        padding: 30px 0 40px;
    }

    .section-title-hits {
        font-size: 28px;
    }

    .hits-stories {
        gap: 10px;
    }

    .story-circle {
        width: 45px;
        height: 45px;
    }

    .story-label {
        font-size: 0.8rem;
    }
}


@media (max-width: 480px) {

    .section-header {
        gap: 15px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .favourite-products-section .product-actions {
        flex-direction: column;
    }

    .favourite-products-section .btn-add-to-cart {
        width: 100%;
    }

    .view-all-content {
        padding: 15px;
    }

    .kits-header {
        margin-bottom: 40px;
    }

    .kits-description {
        font-size: 1rem;
    }

    .product-item {
        padding: 10px;
    }

    .btn-view-all {
        width: 100%;
        justify-content: center;
    }

    .product-icon {
        width: 65px;
        height: 40px;
    }

    .price-old {
        font-size: 0.75rem;
    }

    .price-new {
        font-size: 0.85rem;
    }

    .kit-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .promo-section-title {
        font-size: 1.4rem;
    }

    .promo-slider-container {
        padding-right: 0;
    }

    .promo-slider-container::after {
        flex: 0 0 12px;
    }

    .promo-banner {
        width: 300px;
        flex: 0 0 300px;
    }

    .banner-image {
        height: 160px;
    }

    .banner-content {
        padding: 15px;
    }

    .banner-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .banner-title {
        font-size: 1.1rem;
    }

    .banner-date {
        font-size: 0.8rem;
    }

    .advantage-card {
        padding: 25px 15px;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .telegram-cta {
        padding: 30px 20px;
    }

    .telegram-text h3 {
        font-size: 1.3rem;
    }

    .telegram-text p {
        font-size: 1rem;
    }


    .problems-section {
        padding: 40px 0;
    }

    .problems-header .section-title {
        font-size: 1.6rem;
    }

    .problems-description {
        font-size: 0.95rem;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .card-action-hint {
        padding: 6px 14px;
        font-size: 0.7rem;
    }
}

@media (max-width: 375px) {
    .brand-tile {
        width: 260px;
    }

    .section-title {
        font-size: 1.4rem;
    }
}


@media (hover: none) and (pointer: coarse) {
    .brand-tile:active .brand-info {
        opacity: 1;
    }

    .brand-tile:active .click-hint {
        opacity: 0;
    }

    .promo-banner-inner:hover {
        transform: none;
        box-shadow: var(--shadow-light);
    }

    .promo-arrow:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .banner-cta:hover {
        gap: 5px;
    }

    .product-card-inner:hover {
        transform: none;
        box-shadow: none;
    }

    .product-card-inner:hover .product-image {
        transform: none;
    }

    .product-card-inner:hover .btn-favorite {
        opacity: 1;
        transform: translateY(0);
    }

    .btn-add-to-cart:hover {
        transform: none;
        background: var(--primary-color);
    }

    .btn-favorite:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.9);
        color: inherit;
    }

    .slider-nav:hover {
        background: transparent;
        color: var(--primary-color);
        transform: none;
    }

    .view-all-card:hover .product-card-inner {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }

    .view-all-card:hover .view-all-icon {
        transform: none;
        background: rgba(255,255,255,0.2);
    }

    .view-all-card:hover .view-all-cta {
        gap: 5px;
    }

    .view-all-link:hover {
        transform: none;
        gap: 8px;
    }

    .view-all-link:hover .material-icons {
        transform: none;
    }


    .favourite-products-section .btn-favorite {

        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


@media (hover: hover) and (pointer: fine) {
    .product-card-inner:hover .btn-favorite {
        opacity: 1;
        transform: translateY(0);
    }

    .product-card-inner:hover .btn-favorite.active,
    .btn-favorite.active {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 970px) {
    .click-hint {
        display: none;
    }
}

@media (max-width: 969px) {
    .click-hint {
        display: block;
    }
}


@media (max-width: 768px) {
    .favourite-products-section .btn-favorite {
        width: 36px;
        height: 36px;

        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .favourite-products-section .btn-favorite .material-icons {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .favourite-products-section .section-title {
        font-size: 28px;
    }

    .favourite-products-section .product-card {
        width: 280px;
        flex: 0 0 280px;
        height: auto;
    }

    .favourite-products-section .btn-favorite {
        right: 65px;
    }
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}





/* ===== СТИЛИ БЛОКА "Вам может понравиться" (точь-в-точь как хиты) ===== */
.favourite-products-section {
    --hits-primary-color: #689550;
    --hits-primary-dark: #4f7340;
    --hits-primary-rgb: 104, 149, 80;
    --hits-bg-primary: #f7faf5;
    --hits-bg-secondary: #ffffff;
    --hits-bg-tertiary: #edf4e8;
    --hits-bg-dark: #364f2a;
    --hits-accent-color: #e97c1f;
    --hits-accent-rgb: 233, 124, 31;
    --hits-text-primary: #2A7A4C;
    --hits-text-secondary: #2A7A4C;
    --hits-text-light: #2A7A4C;
    --hits-text-white: #ffffff;
    --hits-text-muted: rgba(41, 38, 38, 0.7);
    --hits-error-color: #ff6b6b;
    --hits-success-color: #689550;
    --hits-gradient-primary: linear-gradient(135deg, var(--hits-primary-color) 0%, #7aaf5d 100%);
    --hits-gradient-dark: linear-gradient(135deg, var(--hits-bg-dark), #2d2d2d);
    --hits-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --hits-shadow-medium: 0 10px 30px rgba(var(--hits-primary-rgb), 0.1);
    --hits-shadow-heavy: 0 15px 35px rgba(var(--hits-primary-rgb), 0.3);
    --hits-border-radius: 8px;
    --hits-transition: all 0.3s ease;
    --hits-corner-size: 70px;

    --novinki-bg-light: #f0f4ed;

    padding: 80px 0 60px;
    background: var(--novinki-bg-light);
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.favourite-products-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.favourite-products-section .section-title-hits {
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: var(--hits-primary-color);
    font-family: 'Arial', sans-serif;
    flex-shrink: 0;
}

.favourite-products-section .section-header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.favourite-products-section .view-all-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--hits-primary-color);
    color: var(--hits-primary-color);
    padding: 12px 24px;
    border-radius: var(--hits-border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--hits-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.favourite-products-section .view-all-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.favourite-products-section .section-header-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.favourite-products-section .hits-slider-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hits-transition);
    color: var(--hits-primary-color);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: var(--hits-border-radius);
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.favourite-products-section .hits-slider-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.favourite-products-section .hits-products-slider {
    position: relative;
    overflow: visible;
}

.favourite-products-section .hits-products-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 10px 30px;
    margin: -10px -10px;
    cursor: grab;
}

.favourite-products-section .hits-products-container:active {
    cursor: grabbing;
}

.favourite-products-section .hits-products-container::-webkit-scrollbar {
    display: none;
}

.favourite-products-section .hits-product-wrapper {
    flex: 0 0 auto;
    width: calc(25% - 15px);
    min-width: 280px;
    height: auto;
    position: relative;
    cursor: pointer;
}

.favourite-products-section .hits-product-card {
    width: 100%;
    height: 100%;
}

.favourite-products-section .hits-product-card-inner {
    background: var(--hits-bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--hits-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--hits-shadow-light);
    width: 100%;
    clip-path: polygon(
        0 0,
        calc(100% - var(--hits-corner-size)) 0,
        calc(100% - var(--hits-corner-size)) var(--hits-corner-size),
        100% var(--hits-corner-size),
        100% 100%,
        0 100%
    );
}

.favourite-products-section .hits-product-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--hits-shadow-medium);
}

.favourite-products-section .corner-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--hits-corner-size);
    height: var(--hits-corner-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    pointer-events: none;
    z-index: 2;
}

.favourite-products-section .corner-icon .material-icons {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.favourite-products-section .hits-product-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: var(--hits-corner-size);
    height: var(--hits-corner-size);
    background: var(--hits-gradient-primary);
    clip-path: xywh(0 0 100% 100% round 0 0 0 var(--hits-border-radius));
    z-index: 1;
}


.favourite-products-section .hits-product-image {
    height: 300px;
    background-color: var(--hits-bg-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.favourite-products-section .hits-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 0;
}




.favourite-products-section .hits-product-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 15px;
}

.favourite-products-section .hits-product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--hits-text-primary);
    line-height: 1.3;
    display: block;
    overflow: visible;
    flex-shrink: 0;
}

.favourite-products-section .hits-product-description {
    font-size: 0.95rem;
    color: var(--hits-text-secondary);
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    overflow: visible;
    flex: 1;
    margin-bottom: 10px;
}

.favourite-products-section .hits-product-bottom {
    flex-shrink: 0;
    margin-top: auto;
}

.favourite-products-section .hits-product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hits-text-primary);
    margin-bottom: 15px;
    flex-shrink: 0;
}

.favourite-products-section .hits-product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.favourite-products-section .hits-btn-add-to-cart {
    flex: 1;
    background: var(--hits-primary-color);
    color: var(--hits-text-white);
    border: none;
    padding: 12px;
    border-radius: var(--hits-border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--hits-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.favourite-products-section .hits-btn-add-to-cart:hover {
    background: var(--hits-primary-dark);
}

.favourite-products-section .hits-btn-add-to-cart.added {
    background: var(--hits-primary-color);
}

.favourite-products-section .hits-btn-favorite {
    width: 50px;
    height: 50px;
    border-radius: var(--hits-border-radius);
    background: transparent;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--hits-transition);
    flex-shrink: 0;
}

.favourite-products-section .hits-btn-favorite:hover {
    background: var(--hits-bg-primary);
    border-color: var(--hits-primary-color);
}

.favourite-products-section .hits-btn-favorite .material-icons {
    font-size: 20px;
    color: var(--primary-color);
}


@media (max-width: 969px) {
    .favourite-products-section .hits-product-wrapper {
        width: 280px;
        flex: 0 0 280px;
        height: auto;
    }

    .favourite-products-section .section-title-hits {
        font-size: 36px;
    }

    .favourite-products-section .section-header-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .favourite-products-section .section-title-hits {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .favourite-products-section {
        padding: 30px 0 40px;
    }

    .favourite-products-section .section-title-hits {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .favourite-products-section .section-title-hits {
        font-size: 28px;
    }

    .favourite-products-section .hits-product-wrapper {
        width: 280px;
        flex: 0 0 280px;
        height: auto;
    }

    .favourite-products-section .hits-btn-favorite {
        right: 65px;
    }
}


/* ===== СТИЛИ БЛОКА АКЦИЙ ===== */
@font-face {
    font-family: 'FuturaDemiC';
    src: url('/static/fonts/futurademic.woff2') format('woff2'),
         url('/static/fonts/futurademic.woff') format('woff'),
         url('/static/fonts/futurademic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.promo-banners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--hits-primary-color) 0%, #7aaf5d 100%);
    overflow: hidden;
}

.section-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.section-header-text {
    flex: 1;
    min-width: 0;
}

.promo-controls-wrapper {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.promo-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-white);
    font-size: 1.8rem;
    padding: 8px;
    border-radius: 6px;
    width: 44px;
    height: 44px;
}

.promo-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.promo-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
    font-family: 'FuturaDemiC', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-white);
    line-height: 1.6;
    max-width: 600px;
    white-space: normal;
    opacity: 0.9;
}

.promo-slider {
    position: relative;
    overflow: visible;
    margin: 15px 0;
}

.promo-slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px 0;
    cursor: grab;
}

.promo-slider-container:active {
    cursor: grabbing;
}

.promo-slider-container::-webkit-scrollbar {
    display: none;
}

.promo-banner {
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
    margin: 8px 0;
}


@media (min-width: 1025px) {
    .promo-banner {
        width: 100%;
        flex: 0 0 100%;
    }
}


@media (max-width: 1024px) {
    .promo-banner {
        width: 360px;
        flex: 0 0 360px;
    }

    .promo-controls-wrapper {
        display: none;
    }
}


@media (max-width: 768px) {
    .promo-banners-section {
        padding: 60px 0;
    }

    .promo-banner {
        width: 320px;
        flex: 0 0 320px;
    }
    .promo-slider-container {
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        width: 300px;
        flex: 0 0 300px;
    }
    .promo-slider-container {
        padding-left: 15px;
    }
}


.promo-banner-inner {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-light);
}

.promo-banner-inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.banner-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    overflow: hidden;
}

.banner-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--text-white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
    font-family: 'FuturaDemiC', Arial, sans-serif;
}

.banner-badge-sale {
    background: var(--accent-color);
    color: var(--text-white);
}

.banner-badge-kit {
    background: var(--success-color);
    color: var(--text-white);
}

.banner-badge-new {
    background: var(--primary-color);
    color: var(--text-white);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.banner-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
}

.banner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.banner-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
    margin: 0;
    font-family: 'FuturaDemiC', Arial, sans-serif;
}

.banner-date {
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 6px 10px;
    background: var(--bg-primary);
    border-radius: 6px;
    font-weight: 600;
}

.banner-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: 'FuturaDemiC', Arial, sans-serif;
}

.banner-cta:hover {
    gap: 8px;
}




.problems-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-micro {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}



.stories-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stories-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}


.stories-overlay.active .story-media,
.stories-overlay.active .story-media *,
.stories-overlay.active .story-slide,
.stories-overlay.active .story-caption,
.stories-overlay.active .story-title,
.stories-overlay.active .story-text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}


.stories-overlay.active .story-pause-btn,
.stories-overlay.active .story-close,
.stories-overlay.active .story-nav,
.stories-overlay.active .story-action-btn,
.stories-overlay.active .progress-track,
.stories-overlay.active .progress-item,
.stories-overlay.active .story-controls,
.stories-overlay.active .story-indicator {
    pointer-events: auto !important;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
}


.story-pause-btn,
.story-close,
.story-nav,
.story-action-btn {
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}


@media (max-width: 768px) {
    .story-nav {
        width: 60px;
        height: 60px;
    }

    .story-pause-btn,
    .story-close {
        width: 50px;
        height: 50px;
    }
}


body.stories-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}



.stories-overlay.active {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

.stories-overlay.active * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}


.stories-overlay.active .story-media,
.stories-overlay.active .story-media * {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    -moz-user-drag: none !important;
    -ms-user-drag: none !important;
    user-drag: none !important;
}


.stories-overlay.active .story-pause-btn,
.stories-overlay.active .story-close,
.stories-overlay.active .story-nav,
.stories-overlay.active .story-action-btn,
.stories-overlay.active .progress-track,
.stories-overlay.active .progress-item,
.stories-overlay.active .story-controls,
.stories-overlay.active .story-indicator {
    pointer-events: auto !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}


@media (max-width: 768px) {
    .story-nav {
        width: 60px;
        height: 60px;
    }

    .story-pause-btn,
    .story-close {
        width: 50px;
        height: 50px;
    }

    .story-action-btn {
        min-height: 44px;
        padding: 8px 30px 15px 30px;
        margin-top: -10px;
        font-size: 1.1rem;
    }
}


body.stories-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}




.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  box-shadow: var(--shadow-heavy);
  z-index: 10000;
  max-width: 500px;
  animation: slideUpCookie 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-container {
  padding: 20px;
}

.cookie-content {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-text h3 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.cookie-text p {
  margin: 0 0 12px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.cookie-links a:hover {
  color: var(--primary-dark);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  min-width: 120px;
}

.cookie-btn-accept {
  background: var(--primary-color);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.cookie-btn-settings {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.cookie-btn-settings:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.cookie-btn-reject:hover {
  background: var(--bg-light);
  color: var(--error-color);
  border-color: var(--error-color);
}


.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-heavy);
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px 0;
  margin-bottom: 20px;
}

.cookie-modal-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

.cookie-categories {
  padding: 0 25px;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category.required {
  opacity: 0.7;
}

.category-info {
  flex: 1;
  margin-right: 15px;
}

.category-info h4 {
  margin: 0 0 5px 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.category-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}


.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-medium);
  transition: var(--transition);
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

input:disabled + .cookie-slider {
  background-color: var(--border-light);
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  padding: 25px;
  border-top: 1px solid var(--border-light);
  margin-top: 10px;
}

.cookie-btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  flex: 2;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-primary:hover {
  background: var(--primary-dark);
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  flex: 1;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-secondary:hover {
  background: var(--bg-light);
  color: var(--error-color);
  border-color: var(--error-color);
}


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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }

  .cookie-container {
    padding: 15px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .cookie-icon {
    align-self: center;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    min-width: auto;
    width: 100%;
  }

  .cookie-modal {
    padding: 10px;
  }

  .cookie-modal-content {
    max-height: 95vh;
    max-width: none;
  }

  .cookie-modal-header {
    padding: 20px 20px 0;
  }

  .cookie-categories {
    padding: 0 20px;
  }

  .cookie-category {
    flex-direction: column;
    gap: 15px;
    text-align: left;
    padding: 15px 0;
  }

  .cookie-toggle {
    align-self: flex-start;
  }

  .category-info {
    margin-right: 0;
  }

  .cookie-modal-actions {
    flex-direction: column;
    padding: 20px;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 5px;
    right: 5px;
    bottom: 5px;
  }

  .cookie-container {
    padding: 12px;
  }

  .cookie-modal {
    padding: 5px;
  }

  .cookie-modal-header {
    padding: 15px 15px 0;
  }

  .cookie-modal-header h2 {
    font-size: 1.1rem;
  }

  .cookie-categories {
    padding: 0 15px;
  }

  .cookie-category {
    padding: 12px 0;
  }

  .category-info h4 {
    font-size: 0.95rem;
  }

  .category-info p {
    font-size: 0.8rem;
  }
}

.hero-title {
    font-family: 'Magnolia Script', cursive;
    font-size: 57px !important;
    color: #689550 !important;
}

.hero-emphasis {
    color: #689550 !important;
    font-weight: 600;
}


.action-btn--secondary {
    background: transparent !important;
    color: #689550 !important;
    border: 2px solid #689550 !important;
}

.action-btn--secondary:hover {
    background: #689550 !important;
    color: white !important;
}

.action-btn--secondary .material-icons {
    color: #689550 !important;
}

.action-btn--secondary:hover .material-icons {
    color: white !important;
}




@media (min-width: 1024px) {
    .hero-title {
        font-size: 57px !important;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
    }

    .hero-emphasis {
        font-size: 1.2rem;
    }

    .action-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
}


@media (max-width: 1023px) and (min-width: 768px) {
    .hero-title {
        font-size: 42px;
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .hero-emphasis {
        font-size: 1.1rem;
    }

    .action-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .hero-content-wrapper {
        max-width: 800px;
        padding: 0 30px;
    }
}






.promo-banner-inner {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-light);
}


@media (min-width: 1024px) {
    .banner-image {
        height: 280px;
        background-size: cover;
        background-position: center;
    }

    .banner-content {
        padding: 35px;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-description {
        font-size: 1.1rem;
    }
}


@media (max-width: 1023px) and (min-width: 768px) {
    .banner-image {
        height: 220px;
        background-size: cover;
        background-position: center;
    }

    .banner-content {
        padding: 25px;
    }

    .banner-title {
        font-size: 1.3rem;
    }

    .banner-description {
        font-size: 1rem;
    }
}


@media (max-width: 767px) and (min-width: 425px) {
    .banner-image {
        height: 180px;
        background-size: cover;
        background-position: center;
    }

    .banner-content {
        padding: 20px;
    }

    .banner-title {
        font-size: 1.2rem;
    }

    .banner-description {
        font-size: 0.95rem;
    }

    .banner-badge {
        top: 15px;
        left: 15px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}


@media (max-width: 424px) {
    .banner-image {
        height: 150px;
        background-size: cover;
        background-position: center;
    }

    .banner-content {
        padding: 15px;
    }

    .banner-title {
        font-size: 1.1rem;
    }

    .banner-description {
        font-size: 0.9rem;
    }

    .banner-badge {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .banner-header {
        flex-direction: column;
        gap: 10px;
    }

    .banner-date {
        align-self: flex-start;
    }
}


.banner-image.proportional {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}

.banner-image.proportional > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner-image.square {
    aspect-ratio: 1 / 1;
}

.banner-image.rectangle {
    aspect-ratio: 4 / 3;
}

.banner-image.vertical {
    aspect-ratio: 3 / 4;
}























/* ===== СТИЛИ СЛАЙДЕРА ===== */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide:not(.active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slide-content {
    width: 100%;
    color: var(--text-white);
    padding-top: 130px;
    padding-bottom: 80px;
}

.hero-content-wrapper {
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Magnolia Script', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 1000px;
    color: #689550;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 800px;
    color: #636766;
}

.hero-emphasis {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-white);
    position: relative;
    padding-left: 20px;
    max-width: 800px;
}

.hero-emphasis::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--accent-color);
    border-radius: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
    position: relative;
    z-index: 100;
}

.action-btn--primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.action-btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.action-btn--secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.action-btn--secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.action-btn__icon {
    font-size: 1.2rem;
}

/* ОБЩИЕ ИНДИКАТОРЫ ДЛЯ ПК */
.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 15px 0;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--text-white);
    transform: scale(1.2);
}

/* Стили для видео */
.slider-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Фон для десктопной версии */
.desktop-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.slide-banner {
    display: none;
}

/* МОБИЛЬНЫЕ ИНДИКАТОРЫ (скрыты на ПК) */
.slider-indicators-mobile {
    display: none;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 767px) {
    .fullscreen-slider {
        height: 650px;
        max-height: 650px;
        min-height: 650px;
    }

    .slide {
        flex-direction: column;
        background: var(--bg-secondary) !important;
    }

    /* Убираем общий фон для слайда с изображением */
    .slide[data-slide-type="image"] {
        background: none !important;
    }

    /* Скрываем десктопный баннер */
    .desktop-banner {
        display: none;
    }

    /* Показываем мобильный баннер */
    .slide-banner {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 55%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
    }

    /* Для видео скрываем баннер */
    .slide[data-slide-type="video"] .slide-banner {
        display: none;
    }

    /* Контентная часть */
    .slide-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 45%;
        background: var(--bg-secondary);
        padding: 20px 15px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        z-index: 2;
        color: var(--text-primary);
    }

    .slide-content .container {
        width: 100%;
        padding: 0;
    }

    .hero-content-wrapper {
        padding: 0 !important;
        text-align: left;
        width: 100%;
        max-width: 100%;
    }

    /* Текст на светлом фоне */
    .hero-title {
        font-size: 1.1rem !important;
        color: #689550;
        margin-bottom: 0.8rem;
        text-align: left;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        color: #636766;
        margin-bottom: 0.8rem;
        line-height: 1.4;
        text-align: left;
    }

    .hero-emphasis {
        font-size: 0.9rem;
        color: #689550;
        margin-bottom: 1.2rem;
        padding-left: 15px;
        font-weight: 600;
        text-align: left;
    }

    /* КНОПКИ В ОДНОМ РЯДУ НА МОБИЛЬНЫХ */
    .hero-buttons {
        flex-direction: row;
        gap: 0.8rem;
        margin-bottom: 0;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
    }

    .action-btn {
        width: auto;
        min-width: 140px;
        max-width: none;
        justify-content: center;
        padding: 12px 10px;
        font-size: 0.6rem;
        flex: 1;
    }

    .action-btn--primary {
        background: var(--primary-color);
        color: var(--text-white);
    }

    .action-btn--secondary {
        background: transparent;
        color: #689550;
        border: 2px solid #689550;
    }

    .action-btn--secondary .material-icons {
        color: #689550;
    }

    /* СКРЫВАЕМ ОБЩИЕ ИНДИКАТОРЫ НА МОБИЛЬНЫХ */
    .slider-indicators {
        display: none;
    }

    /* ПОКАЗЫВАЕМ МОБИЛЬНЫЕ ИНДИКАТОРЫ */
    .slider-indicators-mobile {
        display: flex;
        position: absolute;
        bottom: 15px;
        left: 15px;
        gap: 8px;
        z-index: 3;
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        backdrop-filter: blur(5px);
    }

    .slider-indicators-mobile .indicator {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }

    .slider-indicators-mobile .indicator.active {
        background: var(--text-white);
        transform: scale(1.3);
    }

    /* Для видео слайдов на мобильных */
    .slide[data-slide-type="video"] .slider-indicators-mobile {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* ДЕСКТОПНАЯ ВЕРСИЯ - скрываем мобильные индикаторы */
@media (min-width: 768px) {
    .slider-indicators-mobile {
        display: none;
    }
}


.out-of-stock-message {
    flex: 1;
    background: var(--hits-bg-tertiary);
    color: var(--hits-text-muted);
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: var(--hits-border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: not-allowed;
    transition: var(--hits-transition);
}

.out-of-stock-message .material-icons {
    font-size: 20px;
    color: var(--hits-text-muted);
}

.favourite-products-section .out-of-stock-message {
    flex: 1;
    background: var(--hits-bg-tertiary);
    color: var(--hits-text-muted);
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: var(--hits-border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: not-allowed;
    transition: var(--hits-transition);
}

.favourite-products-section .out-of-stock-message .material-icons {
    font-size: 20px;
    color: var(--hits-text-muted);
}

/* Спокойный бежевый - точь-в-точь как на главной */
.hits-btn-check-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-height: 44px;
}

.hits-btn-check-availability:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hits-btn-check-availability .material-icons {
    font-size: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hits-btn-check-availability {
        font-size: 12px;
        padding: 14px 12px;
        min-height: 40px;
    }

    .hits-btn-check-availability .material-icons {
        font-size: 16px;
    }
}

/* Стили для кнопки "Уточнить наличие" в наборах */
.kit-out-of-stock-btn {
    width: 100%;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 0;
    font-family: inherit;
}

.kit-out-of-stock-btn:hover {
    background: #e9ecef;
    border-color: #6c757d;
    color: #495057;
    transform: translateY(-2px);
}

.kit-out-of-stock-btn[data-instagram-link] {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.kit-out-of-stock-btn[data-instagram-link]:hover {
    background: #e9ecef;
    border-color: #6c757d;
    color: #495057;
}

/* Стили для обертки карточки набора */
.kit-card-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
    border-radius: 20px;
    height: 100%;
}

.kit-card-wrapper:hover {
    transform: translateY(-5px);
}

.kit-card-wrapper:hover .kit-card {
    box-shadow: var(--shadow-heavy);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .kit-out-of-stock-btn {
        padding: 14px;
        font-size: 0.9rem;
    }

    .kit-out-of-stock-btn .material-icons {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    /* Принудительная оптимизация изображений для мобильных */
    .hits-product-image,
    .kit-image,
    .banner-image,
    .brand-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Предзагрузка критических изображений */
    .hits-product-wrapper:first-child .hits-product-image,
    .kit-card-wrapper:first-child .kit-image {
        background-size: cover !important;
    }
}
