/* ===============================================
   VertfaFlex.store - Main Stylesheet
   Modern, Responsive, Animated E-commerce Design
   =============================================== */

/* ============ CSS Variables ============ */
:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --accent-color: #4CAF50;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --text-color: #333333;
    --text-light: #7F8C8D;
    --border-color: #DFE6E9;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --warning-color: #F39C12;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --spacing: 1rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    animation: pageLoad 1s ease-out;
}

@keyframes pageLoad {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* ============ Page Loading Overlay ============ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeOutLoader 0.5s ease 1.5s forwards;
}

@keyframes fadeOutLoader {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loader-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============ Scroll Progress Bar ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ============ Announcement Ticker ============ */
.announcement-ticker {
    background: linear-gradient(135deg, #667EEA, #764BA2);
    overflow: hidden;
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .ticker-content {
        animation: tickerScroll 5s linear infinite;
    }
}

@media (max-width: 480px) {
    .ticker-content {
        animation: tickerScroll 3.5s linear infinite;
    }
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-text {
    display: inline-block;
    padding: 0 4rem;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.announcement-ticker::before {
    content: '📢';
    position: absolute;
    left: 20px;
    font-size: 1.5rem;
    z-index: 2;
    animation: iconBounce 2s ease-in-out infinite;
}

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

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

.header-top {
    padding: 1rem 0;
}

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

.logo-section {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(108, 99, 255, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.25);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ Navigation ============ */
.main-nav {
    flex-grow: 1;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
}

.dropdown-menu li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ============ Cart Icon ============ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--text-color);
    padding: 0.5rem;
    transition: var(--transition);
}

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

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1s infinite;
}

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

/* ============ Mobile Menu ============ */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    padding: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
    color: var(--primary-color);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.mobile-menu-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.mobile-menu-close {
    font-size: 1.5rem;
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
}

.mobile-menu-close:active {
    transform: scale(0.9) rotate(90deg);
    color: var(--secondary-color);
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav ul li {
    margin-bottom: 0.5rem;
}

.mobile-nav ul li a {
    display: block;
    padding: 1rem 0.75rem;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:active {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.mobile-nav ul li a:active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
}

.mobile-subcategory a {
    padding-left: 2rem;
    font-size: 0.9rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

/* ============ Hero Slider ============ */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Phone / touch: faster slide change + no fixed bg + less GPU-heavy animations */
@media (max-width: 768px) {
    .slide {
        transition: opacity 0.18s ease, visibility 0.18s ease;
        background-attachment: scroll;
    }
    .slide.active {
        animation: none;
    }
    .slide-overlay {
        animation: none;
    }
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    animation: backgroundZoom 20s ease-in-out infinite alternate;
}

@keyframes backgroundZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.75), rgba(118, 75, 162, 0.65), rgba(240, 147, 251, 0.55));
    animation: overlayMegaPulse 10s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes overlayMegaPulse {
    0%, 100% {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.75), rgba(118, 75, 162, 0.65), rgba(240, 147, 251, 0.55));
        background-position: 0% 50%;
    }
    33% {
        background: linear-gradient(135deg, rgba(118, 75, 162, 0.75), rgba(240, 147, 251, 0.65), rgba(102, 126, 234, 0.55));
        background-position: 100% 50%;
    }
    66% {
        background: linear-gradient(135deg, rgba(240, 147, 251, 0.75), rgba(102, 126, 234, 0.65), rgba(118, 75, 162, 0.55));
        background-position: 50% 100%;
    }
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    max-width: 600px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(108, 99, 255, 0.6),
        0 0 30px rgba(255, 101, 132, 0.4);
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(108, 99, 255, 0.6),
            0 0 30px rgba(255, 101, 132, 0.4);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 1),
            0 0 30px rgba(108, 99, 255, 0.8),
            0 0 40px rgba(255, 101, 132, 0.6),
            0 0 50px rgba(255, 101, 132, 0.4);
    }
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: subtitleFloat 4s ease-in-out infinite;
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.95;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .animate-in {
    animation: slideUp 0.8s ease forwards;
}

.slide.active .animate-in.delay-1 {
    animation-delay: 0.2s;
}

.slide.active .animate-in.delay-2 {
    animation-delay: 0.4s;
}

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

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

/* ============ Sections ============ */
.products-section,
.story-section,
.cta-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.fire-icon {
    display: inline-block;
    animation: flicker 1.5s infinite;
}

@keyframes flicker {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

/* ============ Products Grid ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    transform-style: preserve-3d;
    animation: cardEntrance 0.6s ease-out;
    cursor: pointer;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(-20deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.product-card:hover {
    transform: translateY(-20px) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(102, 126, 234, 0.4),
        0 15px 40px rgba(240, 147, 251, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(108, 99, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.product-card:hover::after {
    animation: cardGlare 1.5s ease-in-out;
}

@keyframes cardGlare {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.product-card[data-product-animation] {
    animation: fadeInUp 0.6s ease forwards;
}

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

.sale-badge,
.sale-badge-large {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 5;
    box-shadow: var(--shadow-md);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
}

.product-category,
.product-category-label {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Shop/home cards: compare + sale price stack */
.product-price-card-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin: 0.35rem 0;
}
.product-price-card-row .product-header-was-price {
    font-size: 0.9em;
    opacity: 0.75;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667EEA, #764BA2, #F093FB);
    background-size: 200% 200%;
    color: white;
    position: relative;
    overflow: hidden;
    animation: buttonGradientShift 3s ease infinite;
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(240, 147, 251, 0.3);
}

@keyframes buttonGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.6),
        0 0 40px rgba(240, 147, 251, 0.5),
        0 0 60px rgba(255, 255, 255, 0.3);
    animation: buttonMegaShake 0.6s ease;
}

@keyframes buttonMegaShake {
    0%, 100% { transform: translateY(-5px) scale(1.08) rotate(0deg); }
    20% { transform: translateY(-5px) scale(1.08) rotate(2deg); }
    40% { transform: translateY(-5px) scale(1.08) rotate(-2deg); }
    60% { transform: translateY(-5px) scale(1.08) rotate(2deg); }
    80% { transform: translateY(-5px) scale(1.08) rotate(-2deg); }
}

.btn-primary i {
    animation: iconRotate 3s linear infinite;
    display: inline-block;
}

.btn-primary:hover i {
    animation: iconMegaBounce 0.8s ease infinite;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes iconMegaBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-5px) scale(1.2); }
    75% { transform: translateY(-3px) scale(1.15); }
}

.btn-secondary {
    background: var(--light-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--dark-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #229954;
    transform: translateY(-2px);
}

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

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

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ============ Sale Section with Background ============ */
.sale-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
}

.sale-section .container {
    position: relative;
    z-index: 2;
}

/* ============ Story Section ============ */
.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.story-block:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.story-block:nth-child(even) .story-content {
    order: 2;
}

.story-block:nth-child(even) .story-image {
    order: 1;
}

.story-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.story-topic {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.story-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Ensure GIF images display properly */
.story-image img[src$=".gif"],
.story-image img[src*=".gif"] {
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

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

/* ============ CTA Section ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============ Page Header ============ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ============ Shop Page ============ */
.shop-section {
    padding: 3rem 0;
    overflow-x: visible;
}

@media (max-width: 768px) {
    .shop-section {
        padding: 2rem 0;
    }
    
    .shop-section .container {
        overflow-x: visible;
    }
}

.shop-filters {
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Scroll indicator for mobile */
@media (max-width: 768px) {
    .shop-filters {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .shop-filters::after {
        content: '→';
        position: fixed;
        right: 20px;
        z-index: 10;
        background: linear-gradient(to left, white 0%, white 60%, transparent 100%);
        padding: 0.5rem 0.5rem 0.5rem 2rem;
        font-size: 1.5rem;
        color: #667EEA;
        pointer-events: none;
        animation: scrollHint 2s ease-in-out infinite;
    }
}

@keyframes scrollHint {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.search-form input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.shop-category-tags {
    justify-content: flex-start;
}

.filter-tag {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    background: white;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, #667EEA, #764BA2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.filter-tag:active {
    transform: translateY(0);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ============ Product Detail Page ============ */
.product-detail-section {
    padding: 3rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    min-width: 0;
}

.product-images {
    min-width: 0;
}

.main-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

/* Swipe on main photo to change gallery (see product.php) */
.main-image-swipe {
    touch-action: manipulation;
    cursor: grab;
    -webkit-tap-highlight-color: transparent;
}

.main-image-swipe:active {
    cursor: grabbing;
}

.main-image-swipe .main-product-image {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-rating .stars i {
    color: var(--warning-color);
}

.product-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-detail-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

/* Buy More header: old (struck) above, tier price below — reset parent font so inner spans style correctly */
.product-detail-price.product-detail-price-split {
    font-size: inherit;
    font-weight: normal;
    color: inherit;
    line-height: normal;
}

.product-detail-price.product-detail-price-split {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0.35rem !important;
    margin: 0.5rem 0 1.25rem !important;
}

/* Pricing Options */
.pricing-options {
    margin-bottom: 2rem;
}

.pricing-options h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

.pricing-option {
    cursor: pointer;
}

.pricing-option input {
    display: none;
}

.pricing-card {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.pricing-option input:checked + .pricing-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    transform: scale(1.05);
}

.pricing-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.pricing-benefits-list {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    animation: benefitSlideIn 0.4s ease forwards;
    opacity: 0;
}

.pricing-option input:checked + .pricing-card .benefit-item {
    animation: benefitSlideIn 0.4s ease forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes benefitSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefit-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    animation: iconBounce 0.6s ease infinite;
}

/* ============ NEW Pricing Options Design ============ */
.pricing-options-new {
    margin-bottom: 2.5rem;
    padding: 0;
    background: transparent;
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hint {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-hint i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-option-new {
    position: relative;
    cursor: pointer;
    display: block;
}

.pricing-option-new input {
    display: none;
}

.pricing-card-new {
    position: relative;
    padding: 2rem 1.5rem;
    border: 3px solid transparent;
    border-radius: 25px;
    background: white;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.pricing-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03), rgba(255, 101, 132, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pricing-card-new:hover::before {
    opacity: 1;
}

.pricing-card-new:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Main product image smooth transition */
.main-product-image {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-product-image.changing {
    opacity: 0.7;
    transform: scale(0.98);
}

.pricing-option-new:hover .pricing-card-new {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.pricing-option-new input:checked + .popular-badge,
.pricing-option-new input:checked ~ .pricing-card-new {
    border-color: transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    box-shadow: 0 25px 70px rgba(108, 99, 255, 0.35);
    transform: translateY(-15px) scale(1.05);
}

.pricing-option-new.popular .pricing-card-new {
    border-width: 4px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #FF6584, #FF8BA7) border-box;
    box-shadow: 0 12px 40px rgba(255, 101, 132, 0.35);
}

.pricing-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    color: white;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.pricing-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: shimmerBadge 3s infinite;
}

@keyframes shimmerBadge {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.badge-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    z-index: 1;
    position: relative;
    margin-bottom: 0.25rem;
}

.badge-discount-big {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.25);
    letter-spacing: -3px;
    z-index: 1;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.badge-off {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6584, #FF8BA7);
    color: white;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 101, 132, 0.5);
    z-index: 10;
    animation: pulse 2s infinite;
}

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

.pricing-quantity {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
}

.pricing-prices {
    margin-bottom: 1.25rem;
}

.original-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.discounted-price {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 12px 18px;
    border-radius: 15px;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pricing-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.badge-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    z-index: 1;
    opacity: 0.95;
}

.badge-discount-big {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: -2px;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.badge-off {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
    opacity: 0.95;
    letter-spacing: 1px;
}

.pricing-badge-custom .badge-promo-line {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    z-index: 1;
    line-height: 1.35;
    max-width: 100%;
    white-space: pre-line;
}

.pricing-prices-single {
    margin-bottom: 1rem;
}

.pricing-prices-single .discounted-price {
    display: inline-block;
}

.tier-detail-text {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* Buy More, Save More — enhanced panel + compare prices */
.buy-more-panel {
    margin-top: 1.75rem;
    padding: 2rem 1.5rem 2.25rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(108, 99, 255, 0.06) 0%, rgba(255, 255, 255, 0.95) 40%, #fff 100%);
    border: 1px solid rgba(108, 99, 255, 0.12);
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.06);
}

.pricing-title-enhanced {
    text-align: center;
    margin-bottom: 2rem !important;
}

.pricing-title-main {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.35rem;
}

.pricing-grid-enhanced {
    gap: 1.25rem;
}

.pricing-card-enhanced {
    border-radius: 22px !important;
    padding: 1.75rem 1.35rem !important;
    border: 2px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 12px 40px rgba(17, 24, 39, 0.08) !important;
}

.pricing-badge-soft {
    border-radius: 16px !important;
    padding: 0.85rem 1.1rem !important;
    margin-bottom: 1.1rem !important;
}

.product-detail-price-split {
    /* kept for backwards compatibility; core rules merged into .product-detail-price.product-detail-price-split above */
    gap: 0.35rem !important;
}

.product-detail-price-split .product-price-was {
    order: 1;
}

.product-detail-price-split .product-price-now {
    order: 2;
}

.product-price-was {
    display: block;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    text-decoration: line-through;
    text-decoration-line: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #9ca3af !important;
    text-underline-offset: 4px;
    line-height: 1.25;
}

/* Header base/old price (see also inline block in header.php — IDs beat generic selectors) */
#displayPriceContainer #displayPriceWas.product-header-was-price {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 0.15rem;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #78716c !important;
    -webkit-text-fill-color: #78716c !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.5px !important;
    text-decoration-color: #78716c !important;
}

.product-price-now {
    display: block;
    width: 100%;
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1.2;
    color: transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem 0.85rem;
    margin: 0.25rem 0 1rem;
}

.pricing-price-was {
    font-size: 1.05rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.pricing-price-now {
    font-size: 1.85rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.pricing-option-enhanced .pricing-card-enhanced:hover {
    border-color: rgba(108, 99, 255, 0.2) !important;
}

.badge-discount {
    font-size: 1.1rem;
    font-weight: 700;
}

.pricing-quantity {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.pricing-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.8rem;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.discounted-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.pricing-benefits-new {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed rgba(108, 99, 255, 0.2);
}

.benefit-item-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.benefit-item-new:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.benefit-item-new i {
    color: var(--accent-color);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ============ Thumbnail Scrolling ============ */
/* Flexbox: min-width:0 is required or overflow-x:auto never scrolls (flex item won't shrink). */
.thumbnail-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    width: 100%;
    min-width: 0;
}

.thumbnail-images {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 8px 4px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
    touch-action: pan-x pinch-zoom;
    cursor: grab;
}

.thumbnail-images:active {
    cursor: grabbing;
}

.thumbnail-images::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-images::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-images::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.thumbnail-images::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.thumbnail-scroll-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.thumbnail-scroll-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.thumbnail-scroll-btn i {
    font-size: 0.9rem;
}

.thumbnail-image {
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* ============ Buy More — classic Buy 1 / 2 / 3 cards ============ */
.pricing-options-classic {
    margin: 1.5rem 0 2rem;
}

.pricing-title-classic {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.pricing-grid-classic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.pricing-option-classic {
    display: block;
    cursor: pointer;
    margin: 0;
}

.pricing-option-classic input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-card-classic {
    position: relative;
    height: 100%;
    padding: 1.15rem 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.pricing-classic-thumb {
    margin: 0.35rem 0 0.75rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f5;
    aspect-ratio: 1;
    max-height: 140px;
}

.pricing-classic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pricing-option-classic:hover .pricing-card-classic {
    border-color: rgba(108, 99, 255, 0.45);
}

.pricing-option-classic input:checked + .pricing-card-classic {
    border-color: var(--primary-color);
    box-shadow: 0 8px 28px rgba(108, 99, 255, 0.18);
    transform: translateY(-2px);
}

.pricing-option-classic-popular .pricing-card-classic {
    border-color: rgba(255, 101, 132, 0.35);
}

.pricing-classic-pick {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary-color), #ff8fa3);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.pricing-classic-head {
    margin-bottom: 0.5rem;
}

.pricing-classic-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-color);
}

.pricing-classic-promo {
    display: block;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 0.2rem;
    line-height: 1.35;
}

.pricing-classic-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.pricing-classic-detail {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-light);
    margin: 0 0 0.85rem;
}

.pricing-classic-price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-top: auto;
}

.pricing-classic-was {
    font-size: 0.95rem;
    font-weight: 500;
    color: #78716c;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.pricing-classic-now {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-color);
}

.pricing-classic-now-only {
    font-size: 1.5rem;
}

.pricing-classic-benefits {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-light);
}

.pricing-classic-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.pricing-classic-benefits li:last-child {
    margin-bottom: 0;
}

.pricing-classic-benefits i {
    color: var(--accent-color);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Buy More: clear icon per benefit (Free Delivery, etc.) — product page only */
.pricing-classic-benefits-visual li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.pricing-benefit-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(255, 101, 132, 0.12));
}

.pricing-benefit-icon i {
    margin: 0;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.pricing-benefit-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

@media (max-width: 576px) {
    .pricing-benefit-icon {
        width: 2.25rem;
        height: 2.25rem;
    }

    .pricing-benefit-icon i {
        font-size: 1.05rem;
    }

    .pricing-benefit-label {
        font-size: 0.88rem;
    }
}

@media (max-width: 992px) {
    .pricing-grid-classic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
    }
    
    .pricing-classic-title {
        font-size: 1.05rem;
    }
    
    .pricing-classic-now,
    .pricing-classic-now-only {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .pricing-grid-classic {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .pricing-card-classic {
        padding: 1rem 0.9rem;
    }
    
    .pricing-classic-pick {
        font-size: 0.6rem;
        padding: 0.2rem 0.45rem;
    }
}

/* ============ Responsive Pricing ============ */
@media (max-width: 992px) {
    .pricing-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .pricing-card-new {
        padding: 1rem 0.5rem;
    }
    
    .pricing-option-new.popular .pricing-card-new {
        transform: scale(1);
    }
    
    .pricing-option-new input:checked ~ .pricing-card-new {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .badge-discount-big {
        font-size: 3rem;
    }
    
    .badge-label {
        font-size: 0.7rem;
    }
    
    .badge-off {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .pricing-options-new {
        padding: 0;
    }
    
    .pricing-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .pricing-hint {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-grid-new {
        gap: 0.75rem;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-card-new {
        padding: 1rem 0.5rem;
        border-radius: 18px;
        border-width: 2px;
    }
    
    .pricing-badge {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }
    
    .badge-label {
        font-size: 0.5rem;
        letter-spacing: 0.5px;
    }
    
    .badge-discount-big {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .badge-off {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .pricing-quantity {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .discounted-price {
        font-size: 1.4rem;
    }
    
    .original-price {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .benefit-item-new {
        font-size: 0.65rem;
        padding: 0.2rem 0;
        gap: 0.3rem;
    }
    
    .benefit-item-new i {
        font-size: 0.6rem;
    }
    
    .popular-badge {
        font-size: 0.55rem;
        padding: 0.3rem 0.5rem;
        top: -8px;
    }
    
    .pricing-option-new input:checked ~ .pricing-card-new {
        transform: translateY(-8px) scale(1.03);
    }
    
    .pricing-card-new:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .pricing-benefits-new {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        gap: 0.3rem;
    }
    
    .thumbnail-scroll-btn {
        width: 30px;
        height: 30px;
    }
}

.pricing-option input:checked + .pricing-card .benefit-item i {
    color: var(--primary-color);
    animation: iconPop 0.5s ease;
}

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

@keyframes iconPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.benefit-item span {
    font-weight: 500;
}

/* Enhanced Pricing Card Hover */
.pricing-card:hover {
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.2);
}

.pricing-option input:checked + .pricing-card {
    box-shadow: 0 12px 30px rgba(108, 99, 255, 0.3);
    animation: priceCardSelect 0.4s ease;
}

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

/* Size Selection */
.size-selection {
    margin-bottom: 2rem;
}

.size-selection h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.size-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.size-option {
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-option span {
    display: block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.size-option input:checked + span {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* Quantity Selection */
.quantity-selection {
    margin-bottom: 2rem;
}

.quantity-selection h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.quantity-input {
    display: inline-flex;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.qty-btn {
    padding: 0.75rem 1.25rem;
    background: var(--light-color);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}

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

.quantity-input input {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Reviews Section */
.reviews-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.reviews-list {
    margin-bottom: 3rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.review-stars i {
    color: var(--warning-color);
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-text {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-image {
    max-width: 200px;
    border-radius: var(--border-radius);
}

.no-reviews {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 2rem;
}

.review-form-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.review-form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: var(--warning-color);
}

/* Cart Page */
.cart-section {
    padding: 3rem 0;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    align-items: center;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cart-item-size,
.cart-item-price {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.cart-item-quantity {
    display: flex;
}

.cart-item-total {
    text-align: right;
}

.cart-item-total p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.btn-remove {
    color: var(--error-color);
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.btn-remove:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--dark-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.delivery-options {
    margin: 1rem 0;
    text-align: center;
}

.delivery-toggle {
    width: 100%;
    transition: all 0.3s ease;
}

.delivery-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.checkout-form {
    margin-top: 2rem;
}

.checkout-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.checkout-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Contact Page */
.contact-section {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container,
.contact-info-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info-list {
    margin: 2rem 0;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-icon.facebook {
    background: #1877F2;
}

.contact-icon.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-social {
    margin-top: 2rem;
    text-align: center;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.quick-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.quick-info-card h3 {
    margin-bottom: 1rem;
}

.quick-info-card ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-text {
    opacity: 0.8;
}

.footer-right h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

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

.social-link.whatsapp:hover {
    background: #25D366;
}

.social-link.facebook:hover {
    background: #1877F2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ============ Responsive Design ============ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-content {
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 52px;
        height: 52px;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    /* Shop Filters Mobile */
    .shop-filters {
        margin-bottom: 2rem;
    }
    
    .search-form {
        flex-direction: row;
        margin-bottom: 1.5rem;
    }
    
    .search-form input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .filter-tags {
        display: flex;
        gap: 0.75rem;
        overflow-x: scroll;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding: 0.5rem 0 0.5rem 0;
        padding-left: 0;
        margin-top: 1rem;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        touch-action: pan-x;
        cursor: grab;
    }
    
    .filter-tags:active {
        cursor: grabbing;
    }
    
    /* Hide scrollbar for Chrome, Safari */
    .filter-tags::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    
    .filter-tag {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
        border-radius: 25px;
        flex-shrink: 0;
        flex-grow: 0;
        min-width: fit-content;
        white-space: nowrap;
        user-select: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .filter-tag:first-child {
        margin-left: 0;
    }
    
    .filter-tag:last-child {
        margin-right: 12px;
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 2.5rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    /* Announcement Ticker Mobile */
    .announcement-ticker {
        height: 40px;
    }
    
    .ticker-text {
        font-size: 0.9rem;
        padding: 0 2rem;
    }
    
    .announcement-ticker::before {
        left: 10px;
        font-size: 1.2rem;
    }
    
    /* Statistics Section Mobile */
    .stats-section,
    .stats-section-new {
        padding: 3rem 0 5rem 0;
    }
    
    .stats-main-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-icon {
        font-size: 2rem;
    }
    
    .stats-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid,
    .stats-grid-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-card,
    .stat-card-new {
        padding: 2rem 1.5rem;
    }
    
    .stat-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon,
    .stat-icon-new {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number,
    .stat-number-new {
        font-size: 3rem;
    }
    
    .stat-plus {
        font-size: 2rem;
    }
    
    .stat-label,
    .stat-label-new {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
    
    .stats-decorative-wave svg {
        height: 80px;
    }
    
    /* Features Mobile */
    .features-highlight {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .feature-box h3 {
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .story-block {
        grid-template-columns: 1fr;
    }
    
    .story-block:nth-child(even) .story-content,
    .story-block:nth-child(even) .story-image {
        order: initial;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .main-product-image {
        height: auto;
        max-height: min(78vh, 520px);
        min-height: 200px;
        aspect-ratio: 1;
        object-fit: contain;
        background: linear-gradient(180deg, #fafafa 0%, #f0f1f3 100%);
    }

    .main-image-container {
        max-width: 100%;
    }

    /* Item category (e.g. "Electronics") — hide on small screens; nav stays pages only (see mobile menu). */
    .product-category,
    .product-category-label {
        display: none !important;
    }
    
    .cart-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        grid-column: 1 / -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    /* Hide floating shapes on mobile for performance */
    .stats-section {
        padding: 3rem 0;
    }
    
    /* Pricing Benefits Mobile */
    .pricing-benefits-list {
        font-size: 0.85rem;
    }
    
    .benefit-item {
        padding: 0.4rem;
    }
    
    .benefit-item i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-subtitle {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-benefits-list {
        font-size: 0.8rem;
    }
    
    .benefit-item {
        padding: 0.3rem;
    }
}

/* ============ Loading Animation ============ */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading {
    border: 3px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: rotate 1s linear infinite;
}

/* ============ NEW Statistics Section ============ */
.stats-section-new {
    padding: 6rem 0 8rem 0;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 50%, #F093FB 100%);
    position: relative;
    overflow: hidden;
    animation: megaGradient 15s ease infinite;
    background-size: 300% 300%;
}

@keyframes megaGradient {
    0% {
        background-position: 0% 50%;
    }
    33% {
        background-position: 100% 50%;
    }
    66% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Decorative Wave at Bottom */
.stats-decorative-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.stats-decorative-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    animation: waveFloat 8s ease-in-out infinite;
}

@keyframes waveFloat {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-20px);
    }
}

/* Section Header */
.section-header-stats {
    text-align: center;
    margin-bottom: 4rem;
    animation: headerFadeIn 1s ease;
}

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

.stats-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-icon {
    animation: iconBounce 2s ease-in-out infinite;
    display: inline-block;
    font-size: 2.5rem;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(-15deg);
    }
    75% {
        transform: translateY(-10px) rotate(15deg);
    }
}

.title-text {
    background: linear-gradient(90deg, #fff, #FFD700, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s linear infinite;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.stats-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: subtitlePulse 3s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

/* Stats Grid */
.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

/* New Stat Cards */
.stat-card-new {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(80px) rotateX(-20deg) scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-card-new[data-stat-animation].visible {
    animation: cardMegaEntry 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardMegaEntry {
    0% {
        opacity: 0;
        transform: translateY(80px) rotateX(-20deg) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) rotateX(5deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

.stat-card-new:hover {
    transform: translateY(-20px) scale(1.08) rotateZ(2deg);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.stat-card-inner {
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 2;
}

/* Icon Styling */
.stat-icon-new {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    animation: iconMegaFloat 4s ease-in-out infinite;
}

@keyframes iconMegaFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(-10deg) scale(1.05);
    }
    50% {
        transform: translateY(-5px) rotate(5deg) scale(1.1);
    }
    75% {
        transform: translateY(-12px) rotate(-5deg) scale(1.05);
    }
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.stat-card-new:hover .stat-icon-new {
    animation: iconExplode 0.8s ease;
    transform: scale(1.2) rotate(360deg);
}

@keyframes iconExplode {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
    }
    100% {
        transform: scale(1.2) rotate(360deg);
    }
}

/* Number Styling */
.stat-content-new {
    text-align: center;
    position: relative;
}

.stat-number-new {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    line-height: 1;
    animation: numberGlow 2s ease-in-out infinite;
    display: inline-block;
    position: relative;
}

@keyframes numberGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6),
            0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 215, 0, 0.8),
            0 0 80px rgba(255, 215, 0, 0.6),
            0 5px 15px rgba(0, 0, 0, 0.3);
    }
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD700;
    display: inline-block;
    margin-left: 0.3rem;
    animation: plusBounce 1.5s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes plusBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.2);
    }
}

.stat-card-new:hover .stat-number-new {
    animation: numberJump 0.6s ease;
    transform: scale(1.15);
}

@keyframes numberJump {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2) translateY(-10px);
    }
    75% {
        transform: scale(1.15) translateY(-5px);
    }
}

.stat-label-new {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: block;
    margin-top: 1rem;
}

/* Progress Bar */
.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-top: 1.5rem;
    overflow: hidden;
    position: relative;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: barFill 2s ease-out forwards, barShine 2s linear infinite;
    width: 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

@keyframes barFill {
    to {
        width: 100%;
    }
}

@keyframes barShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Particle Effect */
.stat-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.stat-card-new:hover .stat-particles::before,
.stat-card-new:hover .stat-particles::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 50%;
    animation: particleBurst 1s ease-out;
}

.stat-card-new:hover .stat-particles::before {
    top: 20%;
    left: 20%;
}

.stat-card-new:hover .stat-particles::after {
    top: 70%;
    right: 20%;
    animation-delay: 0.2s;
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x, 50px), var(--y, -50px)) scale(2);
        opacity: 0;
    }
}

/* ============ Simple Stats Table Section ============ */
.stats-table-section {
    padding: 4rem 0;
    background: #ffffff;
    position: relative;
}

.stats-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.stat-box {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    background: white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(30px);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-box:last-child {
    border-right: none;
}

.stat-box[data-stat-animation].visible {
    animation: statBoxFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes statBoxFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-box:hover {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05),
        rgba(240, 147, 251, 0.05)
    );
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.stat-icon-simple {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667EEA, #764BA2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
}

.stat-icon-simple::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: iconPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

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

.stat-box:hover .stat-icon-simple {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.stat-number-simple {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667EEA, #764BA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label-simple {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating-stars {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.rating-stars i {
    color: #FFD700;
    font-size: 1.2rem;
    animation: starTwinkle 2s ease-in-out infinite;
}

.rating-stars i:nth-child(1) { animation-delay: 0s; }
.rating-stars i:nth-child(2) { animation-delay: 0.2s; }
.rating-stars i:nth-child(3) { animation-delay: 0.4s; }
.rating-stars i:nth-child(4) { animation-delay: 0.6s; }
.rating-stars i:nth-child(5) { animation-delay: 0.8s; }

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

/* Mobile Responsive for Stats Table */
@media (max-width: 768px) {
    .stats-table {
        grid-template-columns: 1fr;
    }
    
    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 2.5rem 2rem;
    }
    
    .stat-box:last-child {
        border-bottom: none;
    }
    
    .stat-icon-simple {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .stat-number-simple {
        font-size: 2.5rem;
    }
    
    .stat-label-simple {
        font-size: 1rem;
    }
}

/* Stats Section - Old (Keep for compatibility) */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    position: relative;
    overflow: hidden;
    animation: gradientWave 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientWave {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.stats-section::before,
.stats-section-new::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3), transparent);
    top: -250px;
    left: -250px;
    animation: floatBubble1 25s ease-in-out infinite;
    filter: blur(60px);
}

.stats-section::after,
.stats-section-new::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent);
    bottom: -200px;
    right: -200px;
    animation: floatBubble2 20s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes floatBubble1 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(150px, 80px) scale(1.3) rotate(120deg);
    }
    66% {
        transform: translate(-50px, 100px) scale(1.1) rotate(240deg);
    }
}

@keyframes floatBubble2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(-120px, -90px) scale(1.4) rotate(120deg);
    }
    66% {
        transform: translate(60px, -50px) scale(1.2) rotate(240deg);
    }
}

/* Add more decorative floating shapes */
.stats-section-new .container::before,
.stats-section-new .container::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
}

.stats-section-new .container::before {
    background: radial-gradient(circle, rgba(240, 147, 251, 0.4), transparent);
    top: 10%;
    right: 5%;
    animation: floatCircle1 15s ease-in-out infinite;
    filter: blur(40px);
}

.stats-section-new .container::after {
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4), transparent);
    bottom: 20%;
    left: 10%;
    animation: floatCircle2 18s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes floatCircle1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-80px, 60px) scale(1.5);
    }
}

@keyframes floatCircle2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(70px, -50px) scale(1.4);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(108, 99, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: cardShine 3s linear infinite;
}

@keyframes cardShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.stat-card[data-stat-animation].visible {
    animation: statCardAppear 0.8s ease forwards;
}

@keyframes statCardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.08) rotate(2deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
}

.stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    opacity: 0.5;
    animation: iconPulseRing 2s ease-out infinite;
}

@keyframes iconPulseRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-8px) rotate(3deg); }
}

.stat-card:hover .stat-icon {
    animation: iconJump 0.6s ease;
    transform: scale(1.2);
}

@keyframes iconJump {
    0%, 100% { transform: translateY(0) scale(1.2); }
    50% { transform: translateY(-20px) scale(1.3); }
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(108, 99, 255, 0.2);
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.stat-card:hover .stat-number {
    animation: numberBounce 0.5s ease;
}

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

.stat-label {
    font-size: 1.1rem;
    color: #7F8C8D;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: labelFade 3s ease-in-out infinite;
}

@keyframes labelFade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.stat-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    top: -50px;
    right: -50px;
    animation: decorationSpin 20s linear infinite;
}

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

/* ============ Features Highlight ============ */
.features-highlight {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.features-highlight::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent);
    top: -400px;
    right: -400px;
    animation: featureFloat 20s ease-in-out infinite;
}

@keyframes featureFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-100px, 100px) rotate(180deg);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.feature-box {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 25px;
    background: white;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(102, 126, 234, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.feature-box:hover::before {
    animation: boxShine 1.5s ease infinite;
}

@keyframes boxShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.feature-box[data-feature-animation].visible {
    animation: featureMegaAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes featureMegaAppear {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-box:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(102, 126, 234, 0.3),
        0 0 40px rgba(240, 147, 251, 0.2),
        0 0 0 1px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1),
        rgba(240, 247, 255, 1)
    );
}

.feature-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667EEA, #764BA2, #F093FB);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(240, 147, 251, 0.3);
    transition: all 0.5s ease;
    animation: iconGradientRotate 5s ease infinite;
    position: relative;
}

@keyframes iconGradientRotate {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(20px);
    opacity: 0.6;
    z-index: -1;
}

.bounce-animation {
    animation: bounceIcon 2s ease-in-out infinite;
}

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

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.feature-box p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============ Customer Feedback Section ============ */
.customer-feedback-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.customer-feedback-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: backgroundMove 60s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(100px) translateY(100px); }
}

.customer-feedback-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.customer-feedback-section .section-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.customer-feedback-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.feedback-circles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.feedback-circle-wrapper {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feedback-circle-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.feedback-circle-simple {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #B8956A 0%, #9F7E5A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 8px rgba(184, 149, 106, 0.2),
        inset 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feedback-circle-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
}

.feedback-circle-simple:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 0 8px rgba(184, 149, 106, 0.3),
        inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feedback-percentage-simple {
    position: relative;
    z-index: 2;
    text-align: center;
}

.percentage-number-simple {
    font-size: 4rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    color: #FFFFFF;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.percentage-sign-simple {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.feedback-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .customer-feedback-section {
        padding: 3rem 0;
    }
    
    .customer-feedback-section .section-title {
        font-size: 1.8rem;
    }
    
    .feedback-circles-container {
        gap: 2.5rem;
    }
    
    .feedback-circle-simple {
        width: 140px;
        height: 140px;
    }
    
    .percentage-number-simple {
        font-size: 3rem;
    }
    
    .percentage-sign-simple {
        font-size: 1.8rem;
    }
    
    .feedback-text {
        font-size: 0.95rem;
        max-width: 150px;
    }
}

/* ============ Additional Animations ============ */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.wiggle-animation {
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Enhanced Product Card Animations */
.product-card {
    animation: none;
}

.product-card:hover {
    animation: none;
}

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

@keyframes productHover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Sale Badge Enhanced Animation */
.sale-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 101, 132, 0.7);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 101, 132, 0);
    }
}

/* Story Block Enhanced Animations */
.story-block {
    animation: storyFadeIn 1s ease;
}

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

.story-image {
    position: relative;
    overflow: hidden;
}

.story-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* CTA Section Enhanced */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: ctaShine 6s linear infinite;
}

@keyframes ctaShine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.cta-buttons .btn {
    animation: buttonPulse 2s ease-in-out infinite;
}

.cta-buttons .btn:nth-child(1) {
    animation-delay: 0s;
}

.cta-buttons .btn:nth-child(2) {
    animation-delay: 0.3s;
}

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

/* ============ Smooth Scroll ============ */
html {
    scroll-padding-top: 80px;
}

/* ============ Scroll-triggered Animations ============ */
[data-scroll-animation] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll-animation].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Enhanced Hero Animations ============ */
.slide-title {
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-10px) scale(1.02);
    }
}

.slide-subtitle {
    animation: subtitleGlow 2s ease-in-out infinite alternate;
}

@keyframes subtitleGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

/* ============ Floating Background Elements ============ */
.hero-slider::before,
.hero-slider::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-slider::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.3), transparent);
    top: 10%;
    left: -100px;
    animation: floatLeft 15s ease-in-out infinite;
}

.hero-slider::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 101, 132, 0.3), transparent);
    bottom: 10%;
    right: -150px;
    animation: floatRight 18s ease-in-out infinite;
}

@keyframes floatLeft {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-50px, 50px) rotate(120deg);
    }
    66% {
        transform: translate(30px, -30px) rotate(240deg);
    }
}

/* ============ Enhanced Button Animations ============ */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::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 ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

/* ============ Product Card Enhanced Animations ============ */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.product-card:hover::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.product-card:hover .product-title {
    color: var(--primary-color);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.product-card:hover .product-price {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* ============ Section Headers Animation ============ */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: underlineExpand 2s ease-in-out infinite;
}

@keyframes underlineExpand {
    0%, 100% {
        width: 60px;
    }
    50% {
        width: 100px;
    }
}

/* ============ Stats Card Enhanced Animations ============ */
.stat-card:hover {
    animation: statCardBounce 0.6s ease;
}

@keyframes statCardBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-15px) scale(1.05);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
    75% {
        transform: translateY(-12px) scale(1.05);
    }
}

.stat-number {
    animation: numberPulse 2s ease-in-out infinite;
}

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

/* ============ Feature Box Enhanced Animations ============ */
.feature-box:hover {
    animation: featureBoxShake 0.5s ease;
}

@keyframes featureBoxShake {
    0%, 100% { transform: translateY(-15px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

.feature-icon {
    animation: iconRotate 10s linear infinite;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-box:hover .feature-icon {
    animation: iconBounceIn 0.6s ease;
}

@keyframes iconBounceIn {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* ============ Sliding Text Animation ============ */
.slide-content h1,
.slide-content p {
    animation: slideFromLeft 1s ease-out;
}

@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============ Background Parallax Effect ============ */
.hero-slider .slide {
    transition: transform 0.5s ease-out;
}

/* ============ Enhanced CTA Section ============ */
.cta-section {
    animation: ctaGradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes ctaGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cta-content h2 {
    animation: ctaTitleBounce 2s ease-in-out infinite;
}

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

/* ============ Glowing Effect for Important Elements ============ */
.btn-primary {
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(108, 99, 255, 0.8), 0 0 60px rgba(255, 101, 132, 0.6);
    }
}

/* ============ Image Zoom Animation ============ */
.product-image img,
.story-image img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img,
.story-image:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* ============ Loading Wave Animation ============ */
.products-grid {
    animation: fadeInWave 1s ease-in-out;
}

@keyframes fadeInWave {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ Sale Badge Enhanced Animation ============ */
.sale-badge {
    animation: badgeSwing 3s ease-in-out infinite;
}

@keyframes badgeSwing {
    0%, 100% {
        transform: rotate(-5deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.1);
    }
}

/* ============ Hover Lift Effect ============ */
.product-card,
.feature-box,
.stat-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============ Continuous Rotation for Icons ============ */
.fire-icon {
    display: inline-block;
    animation: fireFlicker 1s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-10deg);
        filter: hue-rotate(10deg);
    }
    75% {
        transform: scale(1.15) rotate(10deg);
        filter: hue-rotate(-10deg);
    }
}
