/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Навігація хедера: білі лінки на десктопі */
.header .nav a { color: #fff; }
.header .nav a:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Анімація додавання в кошик */
.fly-dot { position: fixed; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #8E2DE2, #4A00E0); box-shadow: 0 6px 14px rgba(142,45,226,.35); z-index: 2000; pointer-events: none; transition: left 600ms ease, top 600ms ease, opacity 600ms ease, transform 600ms ease; }
.cart-icon.pulse { animation: cartPulse 600ms ease; }
@keyframes cartPulse { 0%{ transform: scale(1);} 40%{ transform: scale(1.2);} 100%{ transform: scale(1);} }

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}
.menu-toggle:hover { background: rgba(255,255,255,0.3); }

/* Responsive dropdown nav */
@media (max-width: 768px) {
    .header-content { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; }
    .menu-toggle { display: block; justify-self: end; }
    .cart-icon { justify-self: center; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        background: linear-gradient(135deg, #8E2DE2, #4A00E0);
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        padding: 8px;
        flex-direction: column;
        gap: 4px;
        z-index: 1001;
    }
    .nav.open { display: flex; }
    .nav a {
        color: #fff;
        padding: 10px 12px;
        margin: 0;
        border-radius: 8px;
    }
    .nav a:hover { background: rgba(255,255,255,0.15); }
}
.logo {
    font-size: 24px;
    font-weight: bold;
}

.cart-icon {
    position: relative;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.cart-icon svg { fill: #fff; display: block; }

.cart-icon:hover {
    background: rgba(255,255,255,0.3);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #8E2DE2;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Timer Banner */
.timer-banner {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    text-align: center;
    padding: 20px;
}
.timer-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.timer-unit {
    text-align: center;
}

.timer-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
    background: rgba(255,255,255,0.2);
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 60px;
}

.timer-label {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #8E2DE2;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff5f0, #ffe8d6);
    padding: 60px 0;
    text-align: center;
    scroll-margin-top: 80px;
}

.hero h1 {
    font-size: 48px;
    color: #8E2DE2;
    margin-bottom: 20px;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.benefit {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.price-highlight {
    font-size: 36px;
    color: #8E2DE2;
    font-weight: bold;
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 24px;
    margin-right: 10px;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.benefit-card h3 {
    font-size: 24px;
    color: #8E2DE2;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.8;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.products-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 18px;
}

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

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    padding: 30px;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
    color: #8E2DE2;
}

.original-price {
    font-size: 16px;
    color: #95a5a6;
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

/* Special Offer Section */
.special-offer {
    background: #fff5f0;
    color: #333;
    padding: 64px 0;
    text-align: center;
}

.special-offer h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.offer-content {
    max-width: 600px;
    margin: 0 auto;
}

.offer-price {
    font-size: 48px;
    font-weight: bold;
    margin: 30px 0;
}

/* Video Section */
.video-section {
    padding: 10px 0;
    background: #f8f9fa;
    text-align: center;
    scroll-margin-top: 80px;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: #333;
    border-radius: 16px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.review-author {
    font-weight: bold;
    color: #8E2DE2;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    padding: 12px 16px;
    text-align: center;
    transform: translateY(0);
}

.sticky-cta.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.sticky-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-header::before,
.sticky-header::after {
    content: "💥";
    font-size: 14px;
}

.sticky-timer {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sticky-timer-unit {
    text-align: center;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px 8px;
    min-width: 45px;
}

.sticky-timer-number {
    font-size: 18px;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.sticky-timer-label {
    font-size: 9px;
    margin-top: 2px;
    opacity: 0.9;
}

.sticky-benefits {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    font-size: 12px;
}

.sticky-benefits span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sticky-benefits span::before {
    content: "✔";
    color: #27ae60;
    font-weight: bold;
}

@media (max-width: 768px) {
    .sticky-cta {
        padding: 12px 15px;
    }
    
    .sticky-header {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .sticky-timer {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .sticky-timer-unit {
        min-width: 35px;
        padding: 4px 6px;
    }
    
    .sticky-timer-number {
        font-size: 16px;
    }
    
    .sticky-benefits {
        font-size: 11px;
        gap: 10px;
        margin-bottom: 10px;
    }
}

/* Questions Section */
.questions-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.question-btn {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.question-btn:hover {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

/* Footer redesign */
.footer { background:#1f1f1f; color:#fff; padding:40px 0 24px; }
.footer-inner { display:grid; grid-template-columns: repeat(2, minmax(220px,1fr)); gap:24px; align-items:start; }
.footer-section h3 { color:#8E2DE2; font-weight:600; margin-bottom:10px; }
.footer-section p, .footer-section a, .payment-details { color:#cfcfcf; }
.footer-section a { text-decoration:none; }
.footer-section a:hover { color:#8E2DE2; }
.footer-bottom { border-top:1px solid #2e2e2e; margin-top:20px; padding-top:16px; text-align:center; color:#aaa; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        margin-bottom: 10px;
        font-size: 18px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 14px;
    }
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #8E2DE2;
}

.footer-section p, .footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #8E2DE2;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-header h3 {
    margin: 0;
    color: #333;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.cart-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.item-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

.cart-item-price {
    color: #8E2DE2;
    font-weight: bold;
    margin: 0;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.item-controls button:hover {
    background: #f5f5f5;
}

.remove-btn {
    background: #ff4757 !important;
    color: white !important;
    border-color: #ff4757 !important;
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

.empty-cart {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.total-breakdown {
    text-align: right;
}

.total-breakdown > div {
    margin-bottom: 5px;
}

.discount {
    color: #28a745;
    font-size: 14px;
}

.final-total {
    font-size: 18px;
    color: #8E2DE2;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.notification.show {
    transform: translateX(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .timer {
        gap: 10px;
    }
    
    .timer-number {
        font-size: 24px;
        padding: 8px 12px;
        min-width: 50px;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    
    .cart-sidebar.open {
        right: 0;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .sticky-timer {
        gap: 10px;
    }
    
    .sticky-timer-number {
        font-size: 18px;
        padding: 6px 10px;
        min-width: 35px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .review-slide {
        flex: 0 0 100%; /* 1 slide on mobile */
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .review-media {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .timer-number {
        font-size: 20px;
        padding: 6px 10px;
        min-width: 40px;
    }
    
    .price-highlight {
        font-size: 28px;
    }
    
    .products-section h2,
    .benefits-section h2 {
        font-size: 28px;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .product-info {
        padding: 20px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .review-slide {
        flex: 0 0 calc(50% - 10px); /* 2 slides on tablet */
    }
}
.why-patches { padding: 60px 0; background: #f8f9fa; scroll-margin-top: 80px; }
.patches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.patch-benefit {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.benefit-icon .icon-placeholder {
    width: 64px;
    height: 64px;
    background: #ffe8d6;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin: 0 auto 10px;
    color: #8E2DE2;
}
.reviews { padding: 60px 0; scroll-margin-top: 80px; }
.reviews-placeholder {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.questions { padding: 60px 0; text-align: center; scroll-margin-top: 80px; }
.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.footer-links a { color:#fff; text-decoration:none; }
.footer-links a:hover { color:#3498db; }
.payment-info, .copyright { text-align:center; color:#fff; }
.mini-timer { display:inline-flex; gap:8px; margin-left:10px; }
.sticky-offer .sticky-text { color:#fff; }
.sticky-benefits { display:flex; gap:10px; margin:8px 0; }
.sticky-btn {
    background: #fff;
    color: #8E2DE2;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
.sticky-btn:hover { background: #f1f1f1; }


.why-patches { padding: 60px 0; background: #f8f9fa; scroll-margin-top: 80px; }
.patches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.patch-benefit {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.benefit-icon .icon-placeholder {
    width: 64px;
    height: 64px;
    background: #ffe8d6;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin: 0 auto 10px;
    color: #8E2DE2;
}
.reviews { padding: 60px 0; scroll-margin-top: 80px; }
.reviews-placeholder {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.questions { padding: 60px 0; text-align: center; scroll-margin-top: 80px; }
.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.footer-links a { color:#fff; text-decoration:none; }
.footer-links a:hover { color:#3498db; }
.payment-info, .copyright { text-align:center; color:#fff; }
.mini-timer { display:inline-flex; gap:8px; margin-left:10px; }
.sticky-offer .sticky-text { color:#fff; }
.sticky-benefits { display:flex; gap:10px; margin:8px 0; }
.sticky-btn {
    background: #fff;
    color: #8E2DE2;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
.sticky-btn:hover { background: #f1f1f1; }

/* Why-patches GIF icons */
.benefit-icon img { width: 100%; max-width: 200px; display:block; margin:0 auto 10px; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,0.08); }

/* Hero image styling */
.hero-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* Special offer image */
.offer-image img {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Responsive YouTube embed */
.video-embed {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Media gallery */
.media-gallery {
    padding: 60px 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.gallery-grid img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    background: #fff;
}

/* */
.reviews-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 20px;
}

.review-slide {
    flex: 0 0 calc(33.333% - 14px); /* 3 slides on desktop */
    min-width: 0;
}

.review-media {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.review-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Mobile tweaks: show 1 slide, reduce media height */
@media (max-width: 768px) {
    .review-slide { flex: 0 0 100%; }
    .review-media { height: 260px; }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn svg {
    color: #333;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #ff6b6b;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .review-slide {
        flex: 0 0 100%; /* 1 slide on mobile */
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .review-media {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .review-slide {
        flex: 0 0 calc(50% - 10px); /* 2 slides on tablet */
    }
}
/* */
.hero {
  .kit-includes {
    padding: 60px 0;
  }
  
  .kit-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .kit-item {
    text-align: center;
  }
  
  .kit-number {
    display: inline-block;
    font-weight: 700;
    color: #8a2be2;
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .kit-image {
    margin: 0 auto 16px;
  }
  
  .kit-image img {
    width: 220px;
    max-width: 85vw;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  
  .kit-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 8px auto 10px;
    max-width: 800px;
  }
  
  .kit-text {
    font-size: 16px;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .kit-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
  }
  
  @media (max-width: 768px) {
    .kit-grid {
      gap: 44px;
    }
    .kit-image img {
      width: 200px;
      border-radius: 16px;
    }
    .kit-title {
      font-size: 20px;
    }
    .kit-text {
      font-size: 15px;
    }
  }
  
  @media (max-width: 520px) {
    .kit-grid {
      gap: 36px;
    }
    .kit-image img {
      width: 180px;
      border-radius: 14px;
    }
    .kit-title {
      font-size: 18px;
    }
    .kit-text {
      font-size: 14px;
    }
  }
  
  .kit-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .kit-item {
    text-align: center;
  }
  
  .kit-number {
    display: inline-block;
    font-weight: 700;
    color: #8a2be2;
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .kit-image {
    margin: 0 auto 16px;
  }
  
  .kit-image img {
    width: 220px;
    max-width: 85vw;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  
  .kit-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 8px auto 10px;
    max-width: 800px;
  }
  
  .kit-text {
    font-size: 16px;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .kit-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
  }
  
  @media (max-width: 768px) {
    .kit-grid {
      gap: 44px;
    }
    .kit-image img {
      width: 200px;
      border-radius: 16px;
    }
    .kit-title {
      font-size: 20px;
    }
    .kit-text {
      font-size: 15px;
    }
  }
  
  @media (max-width: 520px) {
    .kit-grid {
      gap: 36px;
    }
    .kit-image img {
      width: 180px;
      border-radius: 14px;
    }
    .kit-title {
      font-size: 18px;
    }
    .kit-text {
      font-size: 14px;
    }
  }
  
  .kit-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .kit-item {
    text-align: center;
  }
  
  .kit-number {
    display: inline-block;
    font-weight: 700;
    color: #8a2be2;
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .kit-image {
    margin: 0 auto 16px;
  }
  
  .kit-image img {
    width: 220px;
    max-width: 85vw;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  
  .kit-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 8px auto 10px;
    max-width: 800px;
  }
  
  .kit-text {
    font-size: 16px;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .kit-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
  }
  
  @media (max-width: 768px) {
    .kit-grid {
      gap: 44px;
    }
    .kit-image img {
      width: 200px;
      border-radius: 16px;
    }
    .kit-title {
      font-size: 20px;
    }
    .kit-text {
      font-size: 15px;
    }
  }
  
  @media (max-width: 520px) {
    .kit-grid {
      gap: 36px;
    }
    .kit-image img {
      width: 180px;
      border-radius: 14px;
    }
    .kit-title {
      font-size: 18px;
    }
    .kit-text {
      font-size: 14px;
    }
  }
  
  .kit-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .kit-item {
    text-align: center;
  }
  
  .kit-number {
    display: inline-block;
    font-weight: 700;
    color: #8a2be2;
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .kit-image {
    margin: 0 auto 16px;
  }
  
  .kit-image img {
    width: 220px;
    max-width: 85vw;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  
  .kit-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 8px auto 10px;
    max-width: 800px;
  }
  
  .kit-text {
    font-size: 16px;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .kit-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
  }
  
  @media (max-width: 768px) {
    .kit-grid {
      gap: 44px;
    }
    .kit-image img {
      width: 200px;
      border-radius: 16px;
    }
    .kit-title {
      font-size: 20px;
    }
    .kit-text {
      font-size: 15px;
    }
  }
  
  @media (max-width: 520px) {
    .kit-grid {
      gap: 36px;
    }
    .kit-image img {
      width: 180px;
      border-radius: 14px;
    }
    .kit-title {
      font-size: 18px;
    }
    .kit-text {
      font-size: 14px;
    }
  }
}
/* Headings: less bold, black, larger spacing */
.section-title {
  color: #111;
  font-weight: 900;
  margin: 48px 0 24px;
  font-size: 25px;
      text-align: center;

}

h3, h4 {
  color: #111;
  font-weight: 600;
  margin: 20px 0 10px;
}

/* Optional: hero heading if present */
.hero h1 {
  color: #111;
  font-weight: 600;
}

/* Sticky Top CTA */
.sticky-top-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8E2DE2, #4A00E0) !important;
    /* Fallback на випадок конфліктів */
    background-color: #8E2DE2 !important;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    z-index: 1002;
}
/* Sticky Top CTA layout adjustments */
.sticky-top-cta .sticky-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
    gap: 10px;
    /* дублюємо фон всередині як страховку */
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}
.sticky-top-cta .sticky-top-text {
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    /* не розтягуватися, щоб текст і таймер були поруч */
    flex: 0 0 auto;
}
.sticky-top-cta .promo-line:first-child { font-size: 17px; }
.sticky-top-cta .promo-line:last-child { font-size: 12.5px; letter-spacing: .2px; opacity: 0.95; }
.sticky-top-cta .sticky-timer { margin: 0; flex-wrap: nowrap; gap: 6px; }
.sticky-top-cta .sticky-timer-unit { min-width: 34px; padding: 3px 6px; }

@media (max-width: 540px) {
  .sticky-top-cta .sticky-top-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent; /* на мобільному фон тільки у контейнера */
  }
  .sticky-top-cta .sticky-top-text { text-align: center; white-space: normal; }
}

/* Compact variant: smaller paddings and gaps */
.sticky-compact .sticky-header {
    margin-bottom: 6px;
}
.sticky-compact .sticky-timer {
    gap: 6px;
    margin-bottom: 8px;
}
.sticky-compact .sticky-benefits {
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12px;
}
.sticky-compact .sticky-timer-number {
    font-size: 18px;
}

/* Compact bottom sticky content layout */
.sticky-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Optional: ensure cart icon pairs well next to button */
.sticky-cta .cart-icon,
.sticky-top-cta .cart-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 14px;
    border-radius: 25px;
}

/* Retinol Reasons Section */
.retinol-reasons { scroll-margin-top: 80px; }
.retinol-title { text-align: center; font-size: 28px; font-weight: 800; color:#111; margin-bottom: 28px; }

.reasons-grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }

/* Redesigned card with top concave notch and centered image */
.reason-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(135deg, #a741ff, #9578d0);
  color:#fff;
  border-radius: 20px;
  box-shadow: 0 14px 26px rgba(0,0,0,0.15);
  padding: 40px 24px 28px;
  overflow: hidden;
}

/* Create the concave notch by overlaying a white circle partially inside the card */

/* Centered image overlapping the notch */
.reason-image {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 20px;
  border: 6px solid #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  
}
.reason-image img { width: 100%; height: 100%; object-fit: cover; }

.reason-content {
  margin-top: 96px; /* space for the floating image */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
}
.reason-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .35px;
  color: #fff;
  position: relative;
  display: inline-block;
  padding-bottom: 6px; /* щоб було місце під лінію */
}

.reason-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

/* ефект при ховері (легке розширення лінії) */
.reason-card:hover .reason-title::after {
  width: 60%;
  background: rgba(255, 255, 255, 0.9);
}
.reason-text { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.94); }

@media (max-width: 768px) {
  .reasons-grid { gap: 22px; }
  .reason-card { padding: 36px 18px 24px; border-radius: 18px; }
  .reason-image { width: 100px; height: 100px; top: 10px; border-width: 6px; border-radius: 18px; }
  .reason-content { margin-top: 88px; }
  .reason-title { font-size: 20px; }
  .reason-text { font-size: 14px; }
}

@media (max-width: 520px) {
  .reasons-grid { gap: 22px; }
  .reason-card { padding: 32px 16px 22px; }
  .reason-image { width: 92px; height: 92px; top: 15px; border-radius: 16px; }
  .reason-content { margin-top: 80px; }
  .reason-title { font-size: 20px; }
  .reason-text { font-size: 15px; }
}
.price-new {
  color: #ff3b3b;
  font-weight: 800;
  font-size: 26px;
  position: relative;
  animation: pulsePrice 1.6s ease-in-out infinite;
}

@keyframes pulsePrice {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 59, 59, 0.4);
  }
  50% {
    transform: scale(1.12);
    text-shadow: 0 0 10px rgba(255, 59, 59, 0.6);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 59, 59, 0.4);
  }
}
