/* ===== CSS Variables ===== */
:root {
    --primary-color: #4f5b27;
    --primary-dark: #3d4720;
    --secondary-color: #4f5b27;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --success-color: #27ae60;
    --success-bg: #d4edda;
    --success-text: #155724;
    --success-border: #c3e6cb;
    --error-color: #dc3545;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --error-border: #f5c6cb;
    --warning-bg: #fff3cd;
    --warning-text: #856404;
    --info-bg: #d1ecf1;
    --info-text: #0c5460;
    --info-blue-bg: #cce5ff;
    --info-blue-text: #004085;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ===== Top Bar ===== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.phone-link, .login-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.phone-link:hover, .login-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h1,
.logo .logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
}

.logo .logo-text span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
}
.nav-dropdown .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    list-style: none;
    padding: 10px 0;
    margin: 8px 0 0;
    box-shadow: var(--shadow);
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: var(--transition);
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu li {
    padding: 0;
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.nav-dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--light-color);
    border-radius: 25px;
    outline: none;
    transition: var(--transition);
    width: 250px;
}

.search-box input:focus {
    border-color: var(--primary-color);
    width: 300px;
}

.search-box i {
    position: absolute;
    right: 15px;
    color: var(--text-light);
}

.wishlist-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 15px;
}

.wishlist-icon:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    animation: bounce 0.5s ease;
}

.cart-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
    /* display: none; */
}

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

.user-menu {
    display: flex;
    align-items: center;
}

.user-profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.user-profile-link:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .user-name-text {
        display: inline-block !important;
    }
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===== Animations ===== */
.animate-fade-up {
    animation: fadeUp 0.8s ease;
}

.animate-fade-up-delay {
    animation: fadeUp 0.8s ease 0.2s both;
}

.animate-fade-up-delay-2 {
    animation: fadeUp 0.8s ease 0.4s both;
}

.animate-fade-up-delay-3 {
    animation: fadeUp 0.8s ease 0.6s both;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Buttons ===== */
.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

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

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

/* ===== Features Section ===== */
.features {
    padding: 15px 0;
    background: var(--light-color);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Products Section ===== */
.products {
    padding: 50px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    will-change: transform;
    transition: transform 0.2s ease;
}

.product-tabs.floating {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0);
    padding: 5px 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0);
    z-index: 999;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    transform: translateZ(0);
    backface-visibility: hidden;
}


.tab-btn {
    padding: 12px 25px;
    border: 2px solid var(--light-color);
    background: var(--white);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tab-btn {
        padding: 3px 10px;
        border: 1px solid var(--light-color);
        border-radius: 12px;
        font-size: 12px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
    transition: var(--transition);
}

/* Image Loading States */
.image-loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-loaded {
    opacity: 1;
}

.bg-image-loaded {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.product-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.product-action-btn.wishlist-btn.active {
    background: #e74c3c;
    color: var(--white);
}

.product-action-btn.wishlist-btn.active i {
    font-weight: 900;
}

.btn-quick-view {
    padding: 12px 25px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-view:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--white);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.discount-badge {
    background: #e74c3c;
}

.product-badge.new-badge {
    background: var(--success-color);
}

.product-badge.bestseller-badge {
    background: #f39c12;
}

.product-info {
    padding: 20px 18px 18px;
    background: var(--white);
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    display: block;
}

.product-name a:hover {
    color: var(--primary-color, #ff6b35);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 14px;
}

.product-rating .rating-text {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount {
    font-size: 13px;
    color: var(--success-color);
    font-weight: 600;
    background: rgba(39, 174, 96, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.product-actions-bottom {
    margin-top: 5px;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart .btn-text {
    display: inline;
}

@media (min-width: 481px) {
    .product-price {
        justify-content: flex-start;
        align-items: baseline;
    }
    
    .product-price .btn-add-cart {
        display: none !important;
    }
    
    .product-actions-bottom {
        display: block !important;
    }
    
    .product-actions-bottom .btn-add-cart {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
        font-size: 16px;
    }
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-add-cart:active {
    transform: translateY(0);
}

/* ===== Categories Section ===== */
.categories {
    padding: 50px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.category-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.category-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 40px;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.category-image i {
    position: absolute;
    z-index: 1;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card:hover .category-image {
    transform: rotate(360deg);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Recognized by Media Section ===== */
.recognized-media {
    padding: 40px 0;
    background: var(--white);
}

.media-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.media-slider {
    display: flex;
    gap: 20px;
    will-change: transform;
}

@media (min-width: 769px) {
    .media-slider {
        animation: scrollMedia 30s linear infinite;
    }
}

.media-slide {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    /* background: var(--white); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.media-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.media-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    /* background: var(--white); */
}

@keyframes scrollMedia {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5 - 20px * 5));
    }
}

@media (max-width: 768px) {
    .media-slide {
        width: 150px;
        height: 90px;
    }
    
    @keyframes scrollMedia {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5 - 20px * 5));
        }
    }
}

/* ===== Instagram Section ===== */
.instagram-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.instagram-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.instagram-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.instagram-slider-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.instagram-slider-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.instagram-slider-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.instagram-slider {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 10px 0;
}

.instagram-slide {
    flex: 0 0 auto;
    width: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.instagram-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.instagram-video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.instagram-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 aspect ratio (vertical video) */
    overflow: hidden;
    background: #000;
    border-radius: 8px 8px 0 0;
}

.instagram-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 aspect ratio (vertical video) */
    overflow: hidden;
    background: #000;
}

.instagram-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-video-card:hover .instagram-thumbnail {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button-overlay i {
    color: var(--white);
    font-size: 24px;
    margin-left: 3px; /* Slight offset for visual centering */
}

.instagram-video-card:hover .play-button-overlay {
    background: rgba(255, 107, 53, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.instagram-caption {
    padding: 15px;
    margin: 0;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 15px 15px;
    color: #ff6b35;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.instagram-link:hover {
    color: #e55a2b;
    text-decoration: underline;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin: 15px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
    border: none;
    cursor: pointer;
}

.instagram-btn i {
    font-size: 16px;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.instagram-slide iframe,
.instagram-slide blockquote {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
    margin: 0 !important;
}

.instagram-slide blockquote.instagram-media {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.instagram-view-all .instagram-video-card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-view-all-wrapper {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.35);
}

.instagram-view-all-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.instagram-view-all-text i {
    font-size: 22px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-light);
    width: 320px;
    height: 400px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    border-radius: 12px;
    color: white;
}

.loading-spinner i {
    font-size: 32px;
    color: white;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

.loading-spinner p {
    margin: 0;
    font-size: 14px;
    color: white;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.instagram-placeholder {
    width: 320px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    border-radius: 12px;
    color: white;
}

.instagram-follow-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.instagram-follow-btn:hover {
    transform: scale(1.1);
}

.instagram-follow-btn i {
    font-size: 48px;
}

/* Instagram Video Modal */
.instagram-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.instagram-video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.instagram-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    z-index: 10000;
    animation: slideUp 0.3s ease;
}

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

.instagram-video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10001;
}

.instagram-video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.instagram-video-modal-player {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.instagram-video-modal-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.instagram-video-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #ff6b35;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.instagram-video-modal-link:hover {
    color: #e55a2b;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .instagram-video-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .instagram-video-modal-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.4);
}

.btn-instagram i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .instagram-section {
        padding: 20px 0;
    }
    
    .instagram-slider-wrapper {
        padding: 0 10px;
    }

    .instagram-slider {
        gap: 15px;
        padding: 0 5px;
    }

    .instagram-slide {
        width: calc((100vw - 60px) / 2);
        min-width: calc((100vw - 60px) / 2);
        max-width: calc((100vw - 60px) / 2);
        flex-shrink: 0;
    }
    
    .instagram-video-wrapper {
        padding-top: 177.78%; /* 9:16 aspect ratio (vertical video) */
    }
    
    .instagram-thumbnail-wrapper {
        padding-top: 177.78%; /* 9:16 aspect ratio (vertical video) */
    }
    
    .instagram-btn {
        padding: 4px 3px;
        font-size: 9px;
        margin-bottom:10px;
    }
    
    .instagram-btn i {
        font-size: 14px;
    }
    
    .instagram-caption {
        padding: 10px;
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    .instagram-link {
        padding: 0 10px 10px;
        font-size: 11px;
    }
    
    .instagram-placeholder {
        width: calc((100vw - 60px) / 2);
        min-width: calc((100vw - 60px) / 2);
        max-width: calc((100vw - 60px) / 2);
        height: 350px;
    }
}


/* ===== About Section ===== */
.about {
    padding: 50px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.3;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover .about-img-wrapper img {
    transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.websolguru-credit {
    font-size: 14px;
}

.websolguru-credit a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.websolguru-credit a:hover {
    color: var(--primary-color);
}

/* ===== Cart Sidebar ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    height: 100dvh; /* Use dynamic viewport height for mobile */
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 24px;
    color: var(--text-dark);
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

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

.cart-empty {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-color);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    margin-bottom: 5px;
}

.cart-item-name a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition, all 0.3s ease);
    display: inline-block;
}

.cart-item-name a:hover {
    color: var(--primary-color, #ff6b35);
    text-decoration: underline;
}
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--light-color);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.remove-item:hover {
    color: #c0392b;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--light-color);
    background: var(--white);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cart-total {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cart-total span {
    color: var(--primary-color);
    font-size: 24px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* ===== Wishlist Icon ===== */
.wishlist-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 15px;
}

.wishlist-icon:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    animation: bounce 0.5s ease;
}

/* ===== Quick View Modal ===== */
.quickview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.quickview-modal.active {
    opacity: 1;
    visibility: visible;
}

.quickview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.quickview-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 3001;
    transform: scale(0.8);
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.quickview-modal.active .quickview-content {
    transform: scale(1);
}

.quickview-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 3002;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.quickview-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.quickview-body {
    padding: 40px;
}

.quickview-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.quickview-image {
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-color);
}

.quickview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.quickview-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.quickview-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #ffc107;
}

.quickview-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.quickview-price .current {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.quickview-price .old {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.quickview-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.quickview-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quickview-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* ===== Wishlist Sidebar ===== */
.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.wishlist-sidebar.active {
    right: 0;
}

.wishlist-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wishlist-header h3 {
    font-size: 24px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishlist-header h3 i {
    color: #e74c3c;
}

.wishlist-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.wishlist-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.wishlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.wishlist-empty {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

.wishlist-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-color);
}

.wishlist-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-color);
    flex-shrink: 0;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 16px;
}

.wishlist-item-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.wishlist-item-actions {
    display: flex;
    gap: 10px;
}

.wishlist-item-actions .btn {
    padding: 8px 15px;
    font-size: 14px;
}

.wishlist-item-actions .btn-remove {
    background: #e74c3c;
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.wishlist-item-actions .btn-remove:hover {
    background: #c0392b;
}

.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .product-rating{
        display:none;
    }
    .quickview-product {
        grid-template-columns: 1fr;
    }
    
    .quickview-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .quickview-body {
        padding: 20px;
    }
    
    .wishlist-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 10px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 10px 0;
    }

    .nav-dropdown .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 8px 0 0 15px;
        padding: 5px 0;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    .nav-dropdown-menu a {
        padding: 8px 0;
        font-size: 14px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .search-box input {
        width: 200px;
    }

    .search-box input:focus {
        width: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
        height: 100vh;
        height: 100dvh; /* Use dynamic viewport height for mobile */
        z-index: 10000; /* Ensure it's above header on mobile */
        overflow: hidden;
    }
    
    .cart-items {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .cart-footer {
        position: relative;
        bottom: auto;
        z-index: 2;
        background: var(--white);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .section-title span {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(179px, 1fr));
        gap: 20px;
    }

    .product-image {
        height: 180px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(12px, 1fr));
        gap: 5px;
    }
    
    .feature-card {
        padding: 20px 5px;
    }
    
    .feature-card h3 {
        font-size: 8px;
    }
    
    .feature-card p {
        font-size: 7px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .search-box {
        display: none;
    }
}

@media (min-width: 350px) and (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 3px 0;
    }

    .top-bar-content {
        flex-direction: row;
    }

    .container {
        padding: 0px 17px;
    }

    .cart-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-name {
        font-size: 11px;
        min-height: 20px;
    }

    .current-price {
        font-size: 18px;
    }

    .old-price {
        font-size: 10px;
    }

    .btn-add-cart {
        width: 45px;
        height: 45px;
        min-width: 45px;
        padding: 0;
        border-radius: 50%;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        box-shadow: 0 4px 20px var(--primary-color);
        position: relative;
        overflow: hidden;
    }

    .btn-add-cart::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-add-cart:active {
        transform: scale(0.9);
        animation: cartClick 0.3s ease;
    }

    .btn-add-cart:active::before {
        width: 100%;
        height: 100%;
    }

    .btn-add-cart i,
    .btn-add-cart .btn-text {
        position: relative;
        z-index: 1;
    }

    .btn-add-cart .btn-text {
        display: none;
    }

    .product-price {
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .product-actions-bottom {
        display: none;
    }

    @keyframes cartClick {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(0.85);
        }
        100% {
            transform: scale(0.9);
        }
    }

    .section-title {
        font-size: 27px;
    }

    .section-subtitle {
        font-size: 9px;
        margin-top: 6px;
    }

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

    .categories {
        padding: 17px 0;
    }

    .category-card {
        padding: 14px 11px;
    }

    .category-card h3 {
        font-size: 15px;
    }

    .about {
        padding: 20px 0;
    }

    .about-text h2 {
        font-size: 25px;
    }

    .recognized-media {
        padding: 20px 0;
    }

    .media-slider-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .media-slider-wrapper::-webkit-scrollbar {
        display: none;
    }

    .media-slider {
        display: flex;
        gap: 15px;
        width: max-content;
        animation: none !important;
    }

    .media-slide {
        width: calc((100vw - 34px - 30px) / 2.5);
        min-width: calc((100vw - 34px - 30px) / 2.5);
        height: 100px;
        flex-shrink: 0;
    }

    .media-slide img {
        padding: 8px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 410px) {
    .product-rating{
        display:none;
    }
    .product-image {
        height: 155px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    .product-info {
        padding: 6px 10px 0px;
    }
    .product-price{
        gap:0px;
    }
    .btn-add-cart {
width:35px;
height:35px;
min-width:35px;
font-size:10px;
    }
    .product-rating{
        display:none;
    }
    .product-name{
        font-size:14px;
    }
}

/* ===== Loading Animation ===== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 1000px 100%;
}


/* ===================================================================
   Hero v2 – animated split hero (globals/hero.php)
   =================================================================== */
.hero-v2 {
    --hv-cream: #fbf6ea;
    --hv-olive: var(--primary-color);
    --hv-olive-dark: #2f3717;
    --hv-saffron: #f0a531;
    --hv-ink: #1f2612;
    position: relative;
    overflow: hidden;
    background: var(--hv-cream);
    color: var(--hv-ink);
    isolation: isolate;
}

.hero-v2-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: min(640px, calc(100vh - 150px));
    padding-top: 56px;
    padding-bottom: 56px;
}

/* ---- Background decoration ---- */
.hero-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-v2-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    animation: hvBlob 18s ease-in-out infinite alternate;
}

.hero-v2-blob-1 {
    width: 520px;
    height: 520px;
    right: -120px;
    top: -140px;
    background: radial-gradient(circle, rgba(79, 91, 39, .35), transparent 70%);
}

.hero-v2-blob-2 {
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(240, 165, 49, .35), transparent 70%);
    animation-duration: 22s;
}

@keyframes hvBlob {
    to { transform: translate(40px, 30px) scale(1.12); }
}

/* Floating makhana pops */
.hero-v2-pop {
    --s: 34px;
    position: absolute;
    width: var(--s);
    height: calc(var(--s) * .9);
    border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
    background:
        radial-gradient(circle at 30% 35%, rgba(92, 64, 40, .55) 0 7%, transparent 8%),
        radial-gradient(circle at 68% 62%, rgba(92, 64, 40, .45) 0 5%, transparent 6%),
        radial-gradient(circle at 55% 25%, rgba(92, 64, 40, .35) 0 4%, transparent 5%),
        radial-gradient(circle at 35% 30%, #ffffff 0%, #f7f0df 45%, #e3d6b8 100%);
    box-shadow: inset -4px -5px 8px rgba(120, 95, 50, .18), 0 8px 16px rgba(60, 50, 20, .12);
    transform: translate(calc(var(--mx, 0) * var(--depth, 10px)), calc(var(--my, 0) * var(--depth, 10px)));
    transition: transform .4s ease-out;
}

.hero-v2-pop { animation: hvFloatPop var(--t, 7s) ease-in-out infinite; animation-delay: var(--delay, 0s); }

@keyframes hvFloatPop {
    0%, 100% { translate: 0 0; rotate: 0deg; }
    50% { translate: 0 -22px; rotate: 18deg; }
}

.hero-v2-pop-1 { --s: 42px; left: 4%;  top: 14%; --t: 7s;  --depth: 18px; }
.hero-v2-pop-2 { --s: 26px; left: 44%; top: 8%;  --t: 9s;  --delay: -2s; --depth: 10px; }
.hero-v2-pop-3 { --s: 34px; left: 38%; bottom: 14%; --t: 8s; --delay: -4s; --depth: 14px; }
.hero-v2-pop-4 { --s: 22px; left: 12%; bottom: 20%; --t: 6s; --delay: -1s; --depth: 8px; }
.hero-v2-pop-5 { --s: 48px; right: 3%; top: 58%; --t: 10s; --delay: -3s; --depth: 22px; }
.hero-v2-pop-6 { --s: 30px; right: 42%; top: 46%; --t: 7.5s; --delay: -5s; --depth: 12px; opacity: .8; }
.hero-v2-pop-7 { --s: 20px; right: 8%; top: 10%; --t: 6.5s; --delay: -2.5s; --depth: 9px; }
.hero-v2-pop-8 { --s: 38px; left: 52%; bottom: 6%; --t: 9.5s; --delay: -6s; --depth: 16px; }
.hero-v2-pop-9 { --s: 24px; left: 26%; top: 4%; --t: 8.5s; --delay: -1.5s; --depth: 11px; opacity: .85; }

/* ---- Entrance reveal ---- */
.hero-v2-reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: hvReveal .9s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes hvReveal {
    to { opacity: 1; transform: none; }
}

/* ---- Copy ---- */
.hero-v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(79, 91, 39, .1);
    border: 1px solid rgba(79, 91, 39, .2);
    color: var(--hv-olive);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}

.hero-v2-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hv-saffron);
}

.hero-v2-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--hv-saffron);
    animation: hvPulse 1.8s ease-out infinite;
}

@keyframes hvPulse {
    to { transform: scale(3); opacity: 0; }
}

.hero-v2-title {
    margin: 22px 0 18px;
    font-size: clamp(40px, 5.6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--hv-ink);
}

.hero-v2-line {
    display: block;
}

.hero-v2-rotator {
    position: relative;
    display: block;
    height: 1.14em;
    margin-bottom: .1em;
    overflow: hidden;
    color: var(--hv-olive);
}

.hero-v2-rotator-track {
    display: flex;
    flex-direction: column;
    animation: hvRotate 10s cubic-bezier(.7, 0, .3, 1) infinite;
    animation-delay: 1.4s;
}

.hero-v2-rotator-track > span {
    display: block;
    height: 1.14em;
    line-height: 1.14em;
    white-space: nowrap;
}

@keyframes hvRotate {
    0%, 20%   { transform: translateY(0); }
    25%, 45%  { transform: translateY(-1.14em); }
    50%, 70%  { transform: translateY(-2.28em); }
    75%, 95%  { transform: translateY(-3.42em); }
    100%      { transform: translateY(-4.56em); }
}

.hero-v2-squiggle {
    position: absolute;
    left: 0;
    bottom: 1px;
    width: min(100%, 330px);
    height: 14px;
    overflow: visible;
}

.hero-v2-squiggle path {
    fill: none;
    stroke: var(--hv-saffron);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: hvDraw 1.2s ease-out 1s forwards;
}

@keyframes hvDraw {
    to { stroke-dashoffset: 0; }
}

.hero-v2-lead {
    max-width: 520px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.75;
    color: #4a5238;
}

.hero-v2-lead strong {
    color: var(--hv-ink);
    font-weight: 600;
}

.hero-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.hero-v2-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.hero-v2-btn-primary {
    background: var(--hv-olive);
    color: #fff;
    box-shadow: 0 12px 28px rgba(79, 91, 39, .35);
}

.hero-v2-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    animation: hvShine 4s ease-in-out 2.2s infinite;
}

@keyframes hvShine {
    0%, 70% { left: -80%; }
    100% { left: 130%; }
}

.hero-v2-btn-primary i {
    transition: transform .25s ease;
}

.hero-v2-btn-primary:hover {
    background: var(--hv-olive-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(79, 91, 39, .45);
}

.hero-v2-btn-primary:hover i {
    transform: translateX(5px);
}

.hero-v2-btn-ghost {
    color: var(--hv-olive);
    background: rgba(255, 255, 255, .7);
    border: 2px solid rgba(79, 91, 39, .35);
}

.hero-v2-btn-ghost:hover {
    color: #fff;
    background: var(--hv-olive);
    border-color: var(--hv-olive);
    transform: translateY(-3px);
}

.hero-v2-btn:focus-visible,
.hero-v2-dots button:focus-visible,
.hero-v2-product:focus-visible {
    outline: 3px solid var(--hv-saffron);
    outline-offset: 3px;
}

.hero-v2-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-v2-stats li {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-v2-stats li + li::before {
    content: '';
    position: absolute;
    left: -17px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(79, 91, 39, .25);
}

.hero-v2-stats strong {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--hv-olive);
    font-variant-numeric: tabular-nums;
}

.hero-v2-stats span {
    font-size: 13px;
    color: #6b7257;
}

/* ---- Visual ---- */
.hero-v2-visual {
    position: relative;
    width: min(100%, 500px);
    aspect-ratio: 1;
    margin-left: auto;
}

.hero-v2-visual::before {
    content: '';
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6b7a36, var(--hv-olive) 55%, var(--hv-olive-dark));
    box-shadow: 0 40px 80px rgba(47, 55, 23, .35);
}

.hero-v2-ring-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: hvSpin 28s linear infinite;
}

.hero-v2-ring-text text {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 4.2px;
    fill: var(--hv-olive);
}

.hero-v2-ring {
    position: absolute;
    inset: 4.5%;
    border-radius: 50%;
    border: 2px dashed rgba(79, 91, 39, .3);
    animation: hvSpin 40s linear infinite reverse;
}

@keyframes hvSpin {
    to { transform: rotate(360deg); }
}

.hero-v2-plate {
    position: absolute;
    inset: 17%;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, .06), 0 20px 40px rgba(0, 0, 0, .18);
    overflow: hidden;
}

.hero-v2-product {
    position: absolute;
    inset: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40%) scale(.7) rotate(-12deg);
    transition: opacity .7s ease, transform .9s cubic-bezier(.2, .9, .25, 1.15), visibility 0s linear .9s;
}

.hero-v2-product.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .7s ease, transform .9s cubic-bezier(.2, .9, .25, 1.15), visibility 0s;
}

.hero-v2-product.is-leaving {
    opacity: 0;
    transform: translateY(-40%) scale(.7) rotate(12deg);
}

.hero-v2-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: hvBob 5s ease-in-out infinite;
}

@keyframes hvBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-v2-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(47, 55, 23, .18);
    font-size: 13px;
    font-weight: 600;
    color: var(--hv-ink);
    white-space: nowrap;
    animation: hvChip 6s ease-in-out infinite;
}

.hero-v2-chip i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    background: var(--hv-olive);
}

.hero-v2-chip-1 { top: 12%; left: -6%; }
.hero-v2-chip-1 i { background: #e2572b; }
.hero-v2-chip-2 { top: 44%; right: -8%; animation-delay: -2s; }
.hero-v2-chip-2 i { background: var(--hv-saffron); }
.hero-v2-chip-3 { bottom: 20%; left: -4%; animation-delay: -4s; }

@keyframes hvChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-v2-card {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: -2%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 92%;
    padding: 10px 12px 10px 20px;
    border-radius: 999px;
    background: var(--hv-ink);
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

.hero-v2-card-title {
    overflow: hidden;
    max-width: 230px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero-v2-card-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--hv-saffron);
    color: var(--hv-ink);
    white-space: nowrap;
}

.hero-v2-card-price strong { font-size: 15px; }
.hero-v2-card-price del { font-size: 12px; opacity: .65; }
.hero-v2-card-price del:empty { display: none; }

.hero-v2-card.is-updating .hero-v2-card-title,
.hero-v2-card.is-updating .hero-v2-card-price {
    animation: hvCardSwap .5s ease;
}

@keyframes hvCardSwap {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: none; }
}

.hero-v2-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: -13%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-v2-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(79, 91, 39, .3);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

.hero-v2-dots button.is-active {
    width: 26px;
    background: var(--hv-olive);
}

/* ---- Marquee ---- */
.hero-v2-marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 14px 0;
    background: var(--hv-olive);
    color: #fff;
    transform: rotate(-1deg);
    margin: 10px -10px -6px;
}

.hero-v2-marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: hvMarquee 32s linear infinite;
}

.hero-v2-marquee-track span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-v2-marquee-track i {
    color: var(--hv-saffron);
    font-size: 13px;
}

@keyframes hvMarquee {
    to { transform: translateX(-50%); }
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .hero-v2-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 0;
        padding-top: 40px;
        padding-bottom: 70px;
        text-align: center;
    }

    .hero-v2-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-v2-squiggle {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-v2-actions,
    .hero-v2-stats {
        justify-content: center;
    }

    .hero-v2-visual {
        width: min(100%, 420px);
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-v2-inner {
        padding-top: 28px;
        padding-bottom: 64px;
    }

    .hero-v2-eyebrow {
        font-size: 12px;
        padding: 7px 13px;
    }

    .hero-v2-title {
        letter-spacing: -1px;
    }

    .hero-v2-lead {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-v2-actions {
        width: 100%;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .hero-v2-btn {
        justify-content: center;
    }

    .hero-v2-stats {
        gap: 26px;
    }

    .hero-v2-stats li + li::before {
        left: -13px;
    }

    .hero-v2-stats strong {
        font-size: 24px;
    }

    .hero-v2-visual {
        width: min(100%, 340px);
    }

    .hero-v2-ring-text text {
        font-size: 19px;
    }

    .hero-v2-chip {
        padding: 7px 11px;
        font-size: 11px;
    }

    .hero-v2-chip i {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .hero-v2-chip-1 { left: -2%; }
    .hero-v2-chip-2 { right: -3%; }
    .hero-v2-chip-3 { left: 0; }

    .hero-v2-card-title {
        max-width: 140px;
        font-size: 12px;
    }

    .hero-v2-pop-2, .hero-v2-pop-6, .hero-v2-pop-8, .hero-v2-pop-9 {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-v2 *,
    .hero-v2 *::before,
    .hero-v2 *::after {
        animation: none !important;
        transition: none !important;
    }

    .hero-v2-reveal {
        opacity: 1;
        transform: none;
    }

    .hero-v2-squiggle path {
        stroke-dashoffset: 0;
    }
}

/* ===================================================================
   Packet burst – scroll-driven section (globals/burst.php)
   =================================================================== */
.burst {
    --burst-offset: 0px;
    --burst-cream: #fbf6ea;
    --burst-saffron: #f0a531;
    position: relative;
    background:
        radial-gradient(ellipse at 50% 45%, #5d6b2c 0%, #3d4720 45%, #252c12 100%);
    color: #fff;
    overflow: clip;
}

/* ---- Static fallback (no JS / reduced motion) ---- */
.burst-stage {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 70px 20px;
}

.burst-intro,
.burst-pops,
.burst-ring,
.burst-word,
.burst-progress,
.burst-glow {
    display: none;
}

.burst-pack {
    width: clamp(180px, min(20vw, 32vh), 260px);
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4));
}

.burst-pack-art {
    position: relative;
    aspect-ratio: 560 / 847;
}

.burst-pack-art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Tear line sits at 6% of the pouch height; the strip hinges on its right end */
.burst-pack-top {
    transform-origin: 100% 6%;
    will-change: transform, opacity;
}

.burst-pack-mouth {
    position: absolute;
    left: 5%;
    right: 5%;
    top: 3.6%;
    height: 5.2%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 45%, #1e0f04 0%, #4a2a0e 50%, rgba(74, 42, 14, 0) 72%);
    opacity: 0;
}

.burst-outro {
    max-width: 560px;
}

.burst-outro h2 {
    margin-bottom: 14px;
    font-size: clamp(32px, 4.6vw, 58px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #fff;
}

.burst-outro h2 span {
    color: var(--burst-saffron);
}

.burst-outro p {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
}

.burst-outro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}

.burst .burst-cta {
    background: var(--burst-saffron);
    color: #1f2612;
    box-shadow: 0 14px 30px rgba(240, 165, 49, .35);
}

.burst .burst-cta:hover {
    background: #fff;
    color: #1f2612;
}

.burst-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
}

.burst-tags i {
    margin-right: 5px;
    color: var(--burst-saffron);
}

/* ---- Scroll-driven mode ---- */
.burst.js-on {
    height: 300vh;
}

.burst.js-on .burst-stage {
    position: sticky;
    top: var(--burst-offset);
    display: block;
    height: calc(100vh - var(--burst-offset));
    min-height: 520px;
    padding: 0;
    overflow: hidden;
}

.burst.js-on .burst-glow {
    display: block;
    position: absolute;
    left: 50%;
    top: 55%;
    width: 70vmin;
    height: 70vmin;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 165, 49, .28), transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.burst.js-on .burst-intro {
    position: absolute;
    left: 50%;
    top: 6%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(92%, 900px);
    margin: 0;
    text-align: center;
    transform: translateX(-50%);
    will-change: opacity, transform;
}

.burst-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .9);
}

.burst-eyebrow i {
    color: var(--burst-saffron);
    animation: burstNudge 1.4s ease-in-out infinite;
}

@keyframes burstNudge {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(3px); }
}

.burst-intro-title {
    font-size: clamp(26px, 3.6vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.burst-intro-title em {
    font-style: normal;
    color: var(--burst-saffron);
}

.burst.js-on .burst-pack {
    position: absolute;
    left: 50%;
    top: 61%;
    z-index: 3;
    transform: translate(-50%, -50%);
}

.burst-pack-move {
    will-change: transform;
}

.burst.is-shaking .burst-pack-shake {
    animation: burstShake .12s linear infinite;
}

@keyframes burstShake {
    0%   { transform: translate(calc(var(--shake, 0) * -3px), 0) rotate(calc(var(--shake, 0) * -3deg)); }
    50%  { transform: translate(calc(var(--shake, 0) * 3px), calc(var(--shake, 0) * -2px)) rotate(calc(var(--shake, 0) * 3deg)); }
    100% { transform: translate(calc(var(--shake, 0) * -3px), 0) rotate(calc(var(--shake, 0) * -3deg)); }
}

.burst.js-on .burst-pops {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.burst-pop {
    --s: 34px;
    position: absolute;
    left: 0;
    top: 0;
    width: var(--s);
    height: var(--s);
    margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    opacity: 0;
    will-change: transform, opacity;
}

.burst-pop i {
    display: block;
    width: 100%;
    height: 90%;
    border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
    background:
        radial-gradient(circle at 30% 35%, rgba(92, 64, 40, .55) 0 7%, transparent 8%),
        radial-gradient(circle at 68% 62%, rgba(92, 64, 40, .45) 0 5%, transparent 6%),
        radial-gradient(circle at 55% 25%, rgba(92, 64, 40, .35) 0 4%, transparent 5%),
        radial-gradient(circle at 35% 30%, #ffffff 0%, #f7f0df 45%, #dccfae 100%);
    box-shadow: inset -4px -5px 8px rgba(120, 95, 50, .2), 0 10px 18px rgba(0, 0, 0, .25);
}

.burst.is-landed .burst-pop i {
    animation: burstBob var(--bob, 4s) ease-in-out infinite;
    animation-delay: var(--bob-delay, 0s);
}

@keyframes burstBob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(12deg); }
}

.burst.js-on .burst-ring {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
    border-radius: 50%;
    border: 6px solid var(--burst-saffron);
    box-shadow: 0 0 40px rgba(240, 165, 49, .6), inset 0 0 30px rgba(255, 255, 255, .4);
    opacity: 0;
    pointer-events: none;
}

.burst.js-on .burst-word {
    display: grid;
    place-items: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    width: 230px;
    height: 230px;
    margin: -180px 0 0 -115px;
    opacity: 0;
    pointer-events: none;
}

.burst-star {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: #fff3cf;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3));
}

.burst-word span {
    position: relative;
    font-size: 64px;
    font-weight: 800;
    color: #e2572b;
    letter-spacing: -1px;
    transform: rotate(-8deg);
    text-shadow: 3px 3px 0 #1f2612;
}

.burst.js-on .burst-outro {
    position: absolute;
    left: 50%;
    top: 38%;
    z-index: 4;
    width: min(92%, 680px);
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.burst.js-on .burst-outro::before {
    content: '';
    position: absolute;
    inset: -40px -60px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(37, 44, 18, .85), rgba(37, 44, 18, 0));
}

.burst.js-on .burst-outro.is-active {
    pointer-events: auto;
}

.burst.js-on .burst-outro-actions {
    justify-content: center;
}

.burst.js-on .burst-progress {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 5;
    width: 140px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
    transform: translateX(-50%);
}

.burst-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--burst-saffron);
    transform: scaleX(0);
    transform-origin: left;
}

@media (max-width: 768px) {
    .burst.js-on {
        height: 240vh;
    }

    .burst.js-on .burst-intro {
        top: 7%;
    }

    .burst.js-on .burst-pack {
        top: 60%;
        width: 180px;
    }

    .burst-pop {
        --s: 26px;
    }

    .burst.js-on .burst-word {
        width: 170px;
        height: 170px;
        margin: -140px 0 0 -85px;
    }

    .burst-word span {
        font-size: 46px;
    }

    .burst.js-on .burst-outro {
        top: 36%;
    }

    .burst-outro p {
        font-size: 15px;
    }

    .burst-tags {
        justify-content: center;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .burst *,
    .burst *::before,
    .burst *::after {
        animation: none !important;
    }
}

