/* =========================================
   POOKIE STORE - HOMEPAGE STYLES
   Cute romantic theme with glassmorphism
========================================= */

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

/* Motion blur effect during scroll */
.scrolling {
    filter: blur(2px);
    transition: filter 0.1s ease-out;
}

.scroll-content {
    transition: filter 0.2s ease-out;
}

:root {
    /* Default Theme Colors (will be overridden by mode-specific themes) */
    --primary-color: #ff69b4;
    --secondary-color: #dda0dd;
    --accent-color: #ffb6c1;
    --background-light: #e6e6fa;
    --background-cream: #fff8dc;
    --text-dark: #4a4a4a;
    --text-light: #6b6b6b;
    --white: #ffffff;
    
    /* Mode transition */
    --transition-mode: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.1) 0%, 
        rgba(221, 160, 221, 0.15) 25%,
        rgba(230, 230, 250, 0.1) 50%,
        rgba(216, 191, 216, 0.15) 75%,
        rgba(255, 182, 193, 0.1) 100%);
    
    --glassmorphism: rgba(255, 255, 255, 0.25);
    --glassmorphism-border: rgba(255, 255, 255, 0.18);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s ease;
    --transition-mode: all 0.3s ease;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    /* Floating Animation */
    --float-duration: 6s;
    --float-amplitude: 15px;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

/* ===== FLOATING ANIMATIONS ===== */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-6px) rotate(-0.5deg);
    }
}

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--hero-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: var(--transition-mode);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== FADE TRANSITION SYSTEM ===== */
.mode-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, 
        rgba(255, 105, 180, 0.9) 0%,
        rgba(221, 160, 221, 0.95) 50%,
        rgba(138, 43, 226, 0.98) 100%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.mode-transition-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mode-transition-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

.mode-transition-overlay .transition-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-top: 120px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeInText 0.6s ease 0.2s forwards;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* Color wave animation */
body.color-transitioning {
    animation: colorWave 1s ease-in-out;
}

@keyframes colorWave {
    0% { filter: hue-rotate(0deg) saturate(1); }
    50% { filter: hue-rotate(60deg) saturate(1.2); }
    100% { filter: hue-rotate(0deg) saturate(1); }
}


/* =========================================
   DUAL MODE THEMES
========================================= */

/* Pookie Mode Theme */
body.pookie-mode {
    --primary-color: #e91e63 !important;
    --secondary-color: #9c27b0 !important;
    --accent-color: #3f51b5 !important;
    --primary-color-shadow: rgba(233, 30, 99, 0.3) !important;
    --primary-color-hover: rgba(233, 30, 99, 0.4) !important;
    --background-light: #fef7f7 !important;
    --background-cream: #fefefe !important;
    --text-dark: #4a4a4a !important;
    --text-light: #e91e63 !important;
    
    --hero-gradient: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.08) 0%, 
        rgba(255, 192, 203, 0.1) 25%,
        rgba(248, 187, 208, 0.08) 50%,
        rgba(255, 218, 185, 0.1) 75%,
        rgba(255, 240, 245, 0.08) 100%) !important;
        
    background: #fef7f7 !important;
    color: #e91e63 !important;
}

/* Gadget Mode Theme */
body.gadget-mode {
    --primary-color: #0066cc;
    --secondary-color: #00aaff;
    --accent-color: #66ccff;
    --primary-color-shadow: rgba(0, 102, 204, 0.3);
    --primary-color-hover: rgba(0, 102, 204, 0.4);
    --background-light: #e6f0ff;
    --background-cream: #f0f8ff;
    --text-dark: #2c3e50;
    --text-light: #0044cc;
    
    --hero-gradient: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.1) 0%, 
        rgba(77, 166, 255, 0.15) 25%,
        rgba(128, 191, 255, 0.1) 50%,
        rgba(173, 216, 230, 0.15) 75%,
        rgba(135, 206, 235, 0.1) 100%);
        
    background: var(--background-light);
    color: var(--text-light);
}

/* Hide cute elements in gadget mode */
body.gadget-mode .sparkles,
body.gadget-mode .sparkle-element,
body.gadget-mode .loading-heart,
body.gadget-mode .sparkle,
body.gadget-mode .nav-link .heart-icon,
body.gadget-mode .nav-link .heart-hover,
body.gadget-mode .heart-icon,
body.gadget-mode .heart-hover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide specific cute emojis and replace with tech icons */
body.gadget-mode .card-icon {
    font-size: 2rem;
}

body.gadget-mode .about-card:nth-child(1) .card-icon::before {
    content: "🛒";
}

body.gadget-mode .about-card:nth-child(2) .card-icon {
    display: none;
}

body.gadget-mode .about-card:nth-child(2)::before {
    content: "🔍";
    font-size: 2rem;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

body.gadget-mode .about-card:nth-child(3) .card-icon::before {
    content: "⚡";
}

/* Gadget mode: use actual text (set by JS) for the site title; no pseudo-element */
body.gadget-mode #site-title {
    font-size: inherit;
}

body.gadget-mode #site-title::before {
    content: none;
}

/* Hide hearts in mode switcher area */
body.gadget-mode .mode-switcher .sparkle,
body.gadget-mode .mode-toggle::before,
body.gadget-mode .sparkle-element {
    display: none !important;
}

/* Hide mode switcher heart decoration */
body.gadget-mode .mode-switcher::before {
    display: none !important;
}

/* Update hero content for gadget mode */
body.gadget-mode .hero-title {
    font-size: 0;
}

body.gadget-mode .hero-title::before {
    content: "All Tech Products Available Here";
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

body.gadget-mode .hero-subtitle {
    font-size: 0;
}

body.gadget-mode .hero-subtitle::before {
    content: "Latest gadgets and tech accessories complete range.";
    font-size: 1.2rem;
    color: #666;
    display: block;
}

/* Mode Switcher Styles */
.mode-switcher {
    position: relative;
    z-index: 10;
}

.mode-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    padding: 0.3rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.mode-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mode-option {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-spring);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    transform-origin: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.mode-option:hover {
    transform: scale(1.1);
    color: rgba(0, 0, 0, 0.9);
}

.mode-option.active {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.mode-slider {
    position: absolute;
    top: 0.3rem;
    left: 0.3rem;
    height: calc(100% - 0.6rem);
    width: calc(50% - 0.3rem);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    transition: var(--transition-spring);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform-origin: center;
}

.mode-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    transform: translateX(-100%);
}

.mode-toggle:hover .mode-slider::before {
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

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

body.gadget-mode .mode-slider {
    transform: translateX(100%);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.product-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-soft);
    transform-origin: center;
    will-change: transform;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    transform: translateX(-100%);
}

.product-card:hover::before {
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.25);
}

.product-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: var(--transition-fast);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    transform-origin: center;
    will-change: transform;
}

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

.product-card:hover .product-image {
    transform: scale(1.08) rotate(1deg);
    border-radius: var(--border-radius-lg);
}

.category-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    margin: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    color: var(--text-dark);
}

/* Pookie mode category options */
body.pookie-mode .category-option {
    background: rgba(255, 240, 245, 0.9);
    color: #d63384;
    border: 2px solid rgba(255, 105, 180, 0.1);
}

/* Gadget mode category options */
body.gadget-mode .category-option {
    background: rgba(230, 240, 255, 0.9);
    color: #0066cc;
    border: 2px solid rgba(0, 102, 204, 0.1);
}

.category-option:hover {
    background: rgba(255, 105, 180, 0.15);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    border-color: var(--primary-color);
}

.category-option.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px var(--primary-color-shadow);
    transform: translateX(5px);
}

.category-option.active .category-icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.1);
    transform-origin: center;
    will-change: transform;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.3));
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.about-card strong {
    color: var(--primary-pink);
    font-weight: 700;
}

.about-features {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.feature:hover {
    background: rgba(255, 105, 180, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.feature-text {
    font-weight: 500;
    color: var(--text-dark);
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(221, 160, 221, 0.1) 100%);
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 25px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

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

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

.about-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff1744, #e91e63);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.4);
    color: white;
}

/* Responsive Design */
/* Mobile Responsive Navbar */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    /* Gadget mode logo size fix (tablets & large phones) */
    body.gadget-mode #site-title {
        font-size: 1.2rem;
    }
    
    /* Smaller mode toggle on mobile */
    .mode-toggle {
        padding: 0.2rem;
        border-radius: 20px;
    }
    
    .mode-option {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .mode-icon {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        padding: 1.5rem 0;
        gap: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

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

    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 25px;
        margin: 0 1rem;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }

    .sparkles {
        display: none; /* Hide sparkles on mobile for better performance */
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.4rem 0;
    }
    
    .nav-container {
        padding: 0 0.8rem;
        gap: 1rem; /* Add space between elements */
    }
    
    .nav-logo h2 {
        font-size: 0.7rem !important; /* Very small title for single line */
        white-space: nowrap; /* Prevent line wrapping */
        overflow: hidden; /* Hide overflow */
        text-overflow: ellipsis; /* Add ellipsis if needed */
        max-width: 120px; /* Much smaller width */
        line-height: 1.1 !important; /* Very tight line height */
        height: 16px !important; /* Force single line height */
        display: flex;
        align-items: center;
    }
    
    /* Gadget mode logo size fix on small phones */
    body.gadget-mode #site-title {
        font-size: 0.85rem;
        line-height: 1.1;
    }
    
    /* Even smaller toggle on small phones */
    .mode-toggle {
        padding: 0.15rem;
        border-radius: 15px;
    }
    
    .mode-option {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .mode-icon {
        font-size: 0.8rem;
    }
    
    .mode-text {
        font-size: 0.75rem;
    }

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

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

    .section-placeholder h2 {
        font-size: 2rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 40px;
    }

    .hero {
        padding: 140px 40px 80px;
    }

    .sparkle-element {
        font-size: 1.2rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .nav-container,
    .hero-container,
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .sparkle-element {
        font-size: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .sparkles {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: var(--hero-gradient);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    animation: floatAndGlow 6s ease-in-out infinite;
}

/* Mode-specific colors for floating text */
body.pookie-mode .hero-title {
    background: linear-gradient(90deg, #e91e63 0%, #9c27b0 50%, #3f51b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gadget-mode .hero-title {
    color: #00ff88;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    opacity: 0.9;
    color: white;
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle-element {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.sparkle-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-element:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.sparkle-element:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.sparkle-element:nth-child(4) {
    top: 70%;
    right: 10%;
    animation-delay: 1.5s;
}

.sparkle-element:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 2s;
}

.sparkle-element:nth-child(6) {
    top: 80%;
    right: 40%;
    animation-delay: 2.5s;
}

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

/* Focus States */
.nav-link:focus,
.cta-button:focus,
.filter-toggle-btn:focus,
.shuffle-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Amazon Trust Section */
.amazon-trust-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.amazon-trust-banner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.amazon-logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amazon-box-icon {
    font-size: 1.2rem;
    color: #ff6b35;
}

.amazon-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b35;
}

.amazon-title {
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.amazon-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.amazon-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.benefit-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 50%;
    font-weight: bold;
}

.benefit-icon.checkmark {
    background: #4CAF50;
    color: white;
}

.benefit-icon.circle {
    background: #2196F3;
    color: white;
}

.benefit-icon.star {
    background: #FFC107;
    color: white;
}

.amazon-trust-badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    opacity: 0.9;
}

.badge-number {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1;
}

.badge-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.2rem;
    opacity: 0.9;
}

/* Mobile responsive styles for Amazon trust section */
@media (max-width: 768px) {
    .amazon-trust-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .amazon-title {
        font-size: 1.5rem;
    }
    
    .amazon-description {
        font-size: 1rem;
    }
    
    .badge-circle {
        width: 150px;
        height: 150px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .amazon-benefits {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .amazon-trust-section {
        padding: 2rem 0;
    }
    
    .amazon-trust-banner {
        padding: 1.5rem 1rem;
    }
    
    .amazon-title {
        font-size: 1.3rem;
    }
}

/* Products Section */
.products-section {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.05);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-pink);
    margin-bottom: 3rem;
    text-shadow: 0 4px 20px rgba(255, 105, 180, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.15);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.25);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff1744, #e91e63);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    overflow: hidden;
}

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

.product-category {
    display: inline-block;
    background: var(--light-lavender);
    color: var(--primary-pink);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--primary-pink);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.featured {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #b8860b;
}

.badge.trending {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info {
    flex: 1;
}

.product-cta {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    transition: var(--transition-smooth);
    display: block !important;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    pointer-events: auto;
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

.product-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: var(--transition-smooth);
}

.product-cta:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

/* Product Detail Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    will-change: opacity;
}

/* The JS sets display:flex inline when opening; we use modal-show only for opacity/transform */

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    border: 1px solid rgba(255, 105, 180, 0.2);
    will-change: transform, opacity;
    contain: layout paint;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ff69b4;
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    transform: rotate(90deg);
    color: #e91e63;
}

.modal-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.modal-product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.modal-product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    max-height: 40vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.25rem;
    white-space: pre-wrap;
}

.modal-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff69b4;
    margin-bottom: 1.5rem;
}

.modal-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ff69b4, #e91e63);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

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

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.8) 0%,
        rgba(221, 160, 221, 0.9) 50%,
        rgba(138, 43, 226, 0.8) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 105, 180, 0.3);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(255, 105, 180, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    z-index: -1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0 1rem;
    align-items: center;
}

.footer-left {
    text-align: left;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff69b4;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff69b4, #dda0dd);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ff69b4;
    transform: translateY(-1px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-right {
    text-align: right;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 105, 180, 0.1);
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.4);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 105, 180, 0.1);
    margin-top: 1rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer-admin {
    position: relative;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 105, 180, 0.1);
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    color: #ff69b4;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(221, 160, 221, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-btn:hover {
    background: rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.4);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
    color: #e91e63;
}

.admin-btn:hover::before {
    opacity: 1;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .admin-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading-products {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.loading-heart {
    font-size: 3rem;
    animation: heartbeat 1.5s ease-in-out infinite;
    margin-bottom: 1rem;
}

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

.loading-products p {
    color: var(--text-light);
    font-style: italic;
}

/* Empty State */
.empty-products {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
    color: var(--text-light);
}

.empty-products h3 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

/* Product Tags */
.product-tags {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-pink);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
}

/* Responsive Design for Products */
@media (max-width: 768px) and (min-width: 481px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
        gap: 1.2rem;
    }
    
    .product-card {
        padding: 0.8rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        max-width: 100%;
        padding: 0 0.4rem;
    }
    
    
    .product-card {
        padding: 0.4rem;
        min-width: 0;
        aspect-ratio: 0.85;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start;
        height: auto;
        min-height: 200px;
        max-height: 220px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 105, 180, 0.1);
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
        overflow: visible;
    }
    
    .product-card .product-content {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        justify-content: space-between !important;
    }
    
    .product-card .product-info {
        flex: 0 0 auto;
    }
    
    .product-image {
        height: 80px;
        width: 100%;
        object-fit: cover;
        margin-bottom: 0.3rem;
        flex-shrink: 0;
        border-radius: 4px;
        background: #f8f9fa;
    }
    
    /* Show title but hide description, tags, badges on mobile */
    .product-title {
        display: block !important;
        font-size: 0.6rem;
        line-height: 1.1;
        margin-bottom: 0.2rem;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        color: var(--text-dark);
        font-weight: 500;
        height: 1.5em;
        text-align: center;
    }
    
    .product-description {
        display: none !important;
    }
    
    .product-tags {
        display: none !important;
    }
    
    .product-badges {
        display: none !important;
    }
    
    .featured-badge, .trending-badge {
        display: none !important;
    }
    
    .product-category {
        display: none !important;
    }
    
    .discount-badge {
        display: none !important;
    }
    
    .original-price {
        display: inline !important;
        font-size: 0.65rem;
        margin-left: 0.25rem;
        color: var(--text-light);
        text-decoration: line-through;
        vertical-align: baseline;
    }
    
    /* Show only price and button */
    .product-price {
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.25rem;
        flex-shrink: 0;
        text-align: center;
    }
    
    .current-price {
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    .product-cta {
        display: block !important;
        padding: 0.35rem 0.4rem;
        font-size: 0.65rem;
        width: calc(100% - 0.1rem);
        text-align: center;
        text-decoration: none;
        border-radius: 4px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        border: none;
        color: white !important;
        font-weight: 600;
        transition: all 0.2s ease;
        margin-top: 0.25rem;
        position: relative;
        z-index: 10;
        flex-shrink: 0;
    }
    
    .product-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(255, 105, 180, 0.25);
        color: white;
        text-decoration: none;
    }
}

/* =========================================
   FREE OFFER SECTION - RESPONSIVE GRID LAYOUT
========================================= */

/* Base Free Offer Products Styles */
#fo-products-container.products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    padding: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Free Product Modal Styles */
#free-product-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

#free-product-modal .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fef7ff 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
    border: 2px solid rgba(255, 105, 180, 0.1);
}

#free-product-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}

#free-product-modal .modal-close:hover {
    color: var(--primary-color);
    background: rgba(255, 105, 180, 0.1);
    transform: scale(1.1);
}

#free-product-modal .modal-body {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
}

#free-product-modal .modal-image-section {
    flex: 1;
    min-width: 300px;
}

#free-product-modal .modal-product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#free-product-modal .modal-product-image:hover {
    transform: scale(1.02);
}

#free-product-modal .modal-details-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#free-product-modal .modal-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--primary-color), #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#free-product-modal .modal-product-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

#free-product-modal .modal-product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#free-product-modal .modal-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#free-product-modal .modal-badges .badge {
    background: linear-gradient(135deg, var(--primary-color), #da70d6);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#free-product-modal .modal-actions {
    margin-top: 1rem;
}

#free-product-modal .modal-actions .cta-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), #da70d6);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

#free-product-modal .modal-actions .cta-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

#free-product-modal .modal-actions .cta-button:disabled {
    background: linear-gradient(135deg, #ccc, #999);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile responsive styles for free product modal */
@media (max-width: 768px) {
    #free-product-modal .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    #free-product-modal .modal-body {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    #free-product-modal .modal-image-section {
        min-width: auto;
    }
    
    #free-product-modal .modal-product-image {
        height: 250px;
    }
    
    #free-product-modal .modal-product-title {
        font-size: 1.5rem;
    }
    
    #free-product-modal .modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
}

/* Free Offer Product Cards */
#fo-products-container .product-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 105, 180, 0.15) !important;
    box-shadow: 0 8px 24px rgba(255, 105, 180, 0.12) !important;
    padding: 1.2rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: auto !important;
    min-height: 350px !important;
    max-width: 100% !important;
    overflow: visible !important;
    position: relative !important;
    cursor: pointer !important;
}

#fo-products-container .product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 32px rgba(255, 105, 180, 0.25) !important;
    border-color: rgba(255, 105, 180, 0.4) !important;
}

/* Free Offer Product Content */
#fo-products-container .product-card .product-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    justify-content: space-between !important;
}

#fo-products-container .product-card .product-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    margin-bottom: 1rem !important;
}

#fo-products-container .product-card .product-actions {
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

#fo-products-container .product-card .product-image {
    width: 100% !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    margin-bottom: 0.8rem !important;
    background: #f8f9fa !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#fo-products-container .product-card .product-image:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3) !important;
}

#fo-products-container .product-card .product-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.4rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    height: auto !important;
    max-height: 2.6rem !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}

#fo-products-container .product-card .product-title:hover {
    color: var(--primary-color) !important;
}

#fo-products-container .product-card .product-description {
    font-size: 0.75rem !important;
    color: var(--text-light) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.6rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    flex-grow: 1 !important;
    max-height: 2.6rem !important;
}

#fo-products-container .product-card .product-price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin: 0.4rem 0 0.8rem 0 !important;
    display: block !important;
    visibility: visible !important;
    flex-shrink: 0 !important;
}

#fo-products-container .product-card .product-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    min-height: 0 !important;
}

/* Free Offer Buttons */
#fo-products-container .product-card .cta-button,
#fo-products-container .product-card button {
    width: 100% !important;
    padding: 10px 16px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border: none !important;
    border-radius: 12px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
    min-height: 40px !important;
    max-height: 40px !important;
    position: relative !important;
    bottom: 0 !important;
}

/* Not Eligible Button Styles */
#fo-products-container .product-card button[disabled],
#fo-products-container .product-card .cta-button[disabled] {
    background: #cccccc !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

#fo-products-container .product-card button:contains("NOT ELIGIBLE"),
#fo-products-container .product-card .cta-button:contains("NOT ELIGIBLE") {
    background: #ff6b6b !important;
    color: white !important;
}

#fo-products-container .product-card .cta-button:hover,
#fo-products-container .product-card button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4) !important;
}

/* Large Desktop - 4 cards per row */
@media (min-width: 992px) {
    #fo-products-container.products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
        padding: 2rem !important;
    }
}

/* Tablet Layout - 2 cards per row */
@media (min-width: 769px) and (max-width: 991px) {
    #fo-products-container.products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
    }
    
    #fo-products-container .product-card {
        min-height: 350px !important;
    }
}

/* Mobile Layout - 2 cards per row */
@media (max-width: 768px) {
    #fo-products-container.products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }
    
    #fo-products-container .product-card {
        min-height: 320px !important;
        padding: 0.8rem !important;
    }
    
    #fo-products-container .product-card .product-info {
        margin-bottom: 0.8rem !important;
    }
    
    #fo-products-container .product-card .product-image {
        height: 80px !important;
        margin-bottom: 0.8rem !important;
    }
    
    #fo-products-container .product-card .product-title {
        font-size: 0.9rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        max-height: 2.4rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    #fo-products-container .product-card .product-description {
        font-size: 0.75rem !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        margin-bottom: 0.8rem !important;
        flex-grow: 1 !important;
    }
    
    #fo-products-container .product-card .product-price {
        font-size: 1rem !important;
        margin: 0.5rem 0 1rem 0 !important;
    }
    
    #fo-products-container .product-card .cta-button,
    #fo-products-container .product-card button {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
}

/* Extra Small Mobile - 2 cards per row */
@media (max-width: 480px) {
    #fo-products-container.products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        padding: 0.8rem !important;
    }
    
    #fo-products-container .product-card {
        min-height: 300px !important;
        padding: 0.6rem !important;
    }
    
    #fo-products-container .product-card .product-info {
        margin-bottom: 0.6rem !important;
    }
    
    #fo-products-container .product-card .product-image {
        height: 70px !important;
        margin-bottom: 0.5rem !important;
        flex-shrink: 0 !important;
    }
    
    #fo-products-container .product-card .product-title {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        max-height: 2.2rem !important;
        margin-bottom: 0.4rem !important;
        flex-shrink: 0 !important;
    }
    
    #fo-products-container .product-card .product-description {
        font-size: 0.7rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        margin-bottom: 0.6rem !important;
        flex-grow: 1 !important;
        overflow: hidden !important;
    }
    
    #fo-products-container .product-card .product-price {
        font-size: 0.9rem !important;
        margin: 0.4rem 0 0.8rem 0 !important;
        flex-shrink: 0 !important;
    }
    
    #fo-products-container .product-card .cta-button,
    #fo-products-container .product-card button {
        padding: 10px 16px !important;
        font-size: 0.8rem !important;
        min-height: 44px !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
        position: relative !important;
        bottom: 0 !important;
    }
}

/* Extra small mobile devices - keep simple design */
@media (max-width: 375px) {
    .products-grid {
        gap: 0.5rem;
        padding: 0 0.3rem;
    }
    
    .product-card {
        padding: 0.5rem;
        aspect-ratio: 0.9; /* More square for small screens */
        min-height: 180px;
        max-height: 200px;
    }
    
    .product-image {
        height: 75px;
        margin-bottom: 0.25rem;
    }
    
    .product-price {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .current-price {
        font-size: 0.85rem;
    }
    
    .product-cta {
        padding: 0.35rem 0.4rem;
        font-size: 0.65rem;
    }
}

/* ===== PRODUCT MODAL STYLES ===== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.product-modal.modal-show {
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.96);
    transition: transform 0.25s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    will-change: transform;
    contain: layout paint;
    overscroll-behavior: contain;
}

.product-modal.modal-show .modal-content {
    transform: scale(1);
}

/* Respect user reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .product-modal, .modal-content {
        transition: none !important;
        animation: none !important;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 105, 180, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.modal-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.modal-product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    background: #f8f9fa;
    cursor: zoom-in;
}

.modal-info {
    flex: 1;
    min-width: 0;
}

.modal-category {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
    background: rgba(255, 105, 180, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.modal-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modal-badges {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.modal-badges .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.modal-badges .badge.featured {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
}

.modal-badges .badge.trending {
    background: linear-gradient(135deg, #4ecdc4, #6bcbda);
    color: white;
}

.modal-body {
    margin-top: 1rem;
}

.modal-product-description {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    max-height: 40vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.25rem;
    white-space: pre-wrap;
}

.modal-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.modal-tags .tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    background: rgba(221, 160, 221, 0.2);
    color: var(--secondary-color);
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid rgba(221, 160, 221, 0.3);
}

.modal-product-price {
    margin-bottom: 1rem;
    text-align: center;
}

.modal-product-price .current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.modal-product-price .original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.modal-product-price .discount-badge {
    font-size: 0.7rem;
    background: #28a745;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.modal-cta {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
    color: white;
    text-decoration: none;
}

/* Mobile modal styles */
@media (max-width: 480px) {
    .product-modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        padding: 1rem;
        max-height: 85vh;
        border-radius: 12px;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .modal-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        text-align: center;
    }
    
    .modal-product-image {
        width: 100px;
        height: 100px;
    }
    
    .modal-product-title {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .modal-product-description {
        font-size: 0.7rem;
        max-height: 35vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        text-align: center;
    }
    
    .modal-category {
        font-size: 0.65rem;
    }
    
    .modal-badges {
        justify-content: center;
    }
    
    .modal-tags {
        justify-content: center;
    }
    
    .modal-product-price .current-price {
        font-size: 1.1rem;
    }
    
    .modal-cta {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
}

/* ===== IMAGE LIGHTBOX STYLES ===== */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 20000; /* Above all other overlays and modal */
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.image-lightbox.lightbox-show {
    opacity: 1;
}

.image-lightbox img {
    max-width: min(95vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.98);
    transition: transform 0.25s ease;
    background: #111;
}

.image-lightbox.lightbox-show img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .image-lightbox, .image-lightbox img {
        transition: none !important;
    }
}

/* Section Header with Filter Button */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.section-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-toggle-btn {
    background: linear-gradient(45deg, #ff1744, #e91e63);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.filter-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.shuffle-btn {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.shuffle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    background: linear-gradient(45deg, #00cc6a, #00a855);
}

/* Search Input (All Products) */
.search-input {
    flex: 1 1 320px;
    min-width: 240px;
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--glassmorphism-border);
    background: var(--glassmorphism);
    backdrop-filter: blur(12px);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.search-input::placeholder {
    color: var(--text-light);
    opacity: 0.85;
}

.search-input:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.4);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-color-shadow), var(--shadow-soft);
}

.search-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .search-input {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Category Filter Sidebar */
.category-filter {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-left: 3px solid var(--primary-color);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

/* Pookie mode specific styling */
body.pookie-mode .category-filter {
    background: linear-gradient(135deg, 
        rgba(255, 240, 245, 0.98) 0%,
        rgba(255, 182, 193, 0.95) 100%);
    border-left: 3px solid #ff69b4;
}

/* Gadget mode specific styling */
body.gadget-mode .category-filter {
    background: linear-gradient(135deg, 
        rgba(230, 240, 255, 0.98) 0%,
        rgba(173, 216, 230, 0.95) 100%);
    border-left: 3px solid #0066cc;
}

.category-filter.active {
    right: 0;
}

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

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

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 700;
}

.filter-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-filter {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.close-filter:hover {
    background: rgba(255, 255, 255, 0.2);
}

.filter-content {
    padding: 1rem;
}

.category-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    margin: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    color: var(--text-dark);
}

/* Pookie mode category options */
body.pookie-mode .category-option {
    background: rgba(255, 240, 245, 0.9);
    color: #d63384;
    border: 2px solid rgba(255, 105, 180, 0.1);
}

/* Gadget mode category options */
body.gadget-mode .category-option {
    background: rgba(230, 240, 255, 0.9);
    color: #0066cc;
    border: 2px solid rgba(0, 102, 204, 0.1);
}

.category-option:hover {
    background: rgba(255, 105, 180, 0.15);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    border-color: var(--primary-color);
}

.category-option.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px var(--primary-color-shadow);
    transform: translateX(5px);
}

.category-option.active .category-icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.category-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.category-name {
    font-weight: 500;
    flex: 1;
}

.category-count {
    background: var(--primary-color-shadow);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.category-option.active .category-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Filter Loading State */
.filter-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.filter-loading .loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(255, 105, 180, 0.3);
    border-top: 3px solid var(--primary-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Responsive Filter Sidebar */
@media (max-width: 768px) {
    .category-filter {
        width: 100%;
        right: -100%;
        z-index: 9999;
        height: 100vh;
    }
    
    .category-filter.active {
        right: 0;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .filter-toggle-btn {
        order: -1;
        margin-bottom: 1rem;
        padding: 1rem;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

@media (max-width: 480px) {
    .filter-header {
        padding: 1rem;
    }
    
    .category-option {
        padding: 0.8rem;
    }
    
    .category-icon {
        font-size: 1.2rem;
        min-width: 1.5rem;
    }
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffeef8 0%, #f0e6ff 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff1744, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.1);
    transform-origin: center;
    will-change: transform;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.3));
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.about-card strong {
    color: var(--primary-pink);
    font-weight: 700;
}

.about-features {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.feature:hover {
    background: rgba(255, 105, 180, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.feature-text {
    font-weight: 500;
    color: var(--text-dark);
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(221, 160, 221, 0.1) 100%);
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 25px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

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

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

.about-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff1744, #e91e63);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.4);
    color: white;
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .feature-row {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .about-cta {
        padding: 2rem 1rem;
    }
    
    .about-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 2rem 0;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* =========================================
   GIFT COLLECTIONS SECTION
========================================= */

.gift-collections-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, 
        rgba(255, 240, 245, 0.4) 0%, 
        rgba(248, 248, 255, 0.3) 50%,
        rgba(240, 248, 255, 0.4) 100%);
    position: relative;
    overflow: hidden;
}

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

.gift-collections-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(90deg, #e91e63 0%, #9c27b0 50%, #3f51b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-collections-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
    max-width: 600px;
    margin: 0 auto;
}

.gift-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gift-collection-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.gift-collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.collection-header {
    margin-bottom: 1.5rem;
}

.collection-heart {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.collection-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.collection-items {
    margin: 1.5rem 0;
}

.collection-item {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.collection-item:last-child {
    border-bottom: none;
}

.collection-btn {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.collection-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.girlfriend-card {
    border-top: 4px solid #e91e63;
}

.girlfriend-card .collection-heart {
    color: #e91e63;
}

.boyfriend-card {
    border-top: 4px solid #2196f3;
}

.boyfriend-card .collection-heart {
    color: #2196f3;
}

.boyfriend-card .collection-btn {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.boyfriend-card .collection-btn:hover {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.couples-card {
    border-top: 4px solid #9c27b0;
}

.couples-card .collection-heart {
    color: #9c27b0;
}

.couples-card .collection-btn {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.couples-card .collection-btn:hover {
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
}

@media (max-width: 768px) {
    .gift-collections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gift-collection-card {
        padding: 1.5rem;
    }
    
    .collection-heart {
        font-size: 2.5rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0e6ff 0%, #ffeef8 100%);
    position: relative;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff1744, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.2);
    border-color: var(--primary-pink);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.3));
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: var(--lavender);
    text-decoration: underline;
}

.social-section {
    margin-bottom: 3rem;
}

.social-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 1.5rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.2);
    border-color: var(--primary-pink);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #E4405F, #F56040);
    color: white;
}

.social-link.telegram:hover {
    background: linear-gradient(45deg, #0088cc, #229ED9);
    color: white;
}

.social-link.whatsapp:hover {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
}

.social-link.twitter:hover {
    background: linear-gradient(45deg, #1DA1F2, #0d95e8);
    color: white;
}

.social-icon {
    font-size: 2rem;
    min-width: 3rem;
    text-align: center;
}

.social-info {
    flex: 1;
}

.social-name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.social-link:hover .social-name {
    color: white;
}

.social-handle {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.social-link:hover .social-handle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-cta {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(221, 160, 221, 0.1) 100%);
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-content {
    position: relative;
    z-index: 1;
}

.contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.cta-btn.primary {
    background: linear-gradient(45deg, #ff1744, #e91e63);
    color: white;
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

.cta-btn.primary:hover {
    color: white;
}

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

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .social-link {
        padding: 1.2rem;
    }
    
    .social-icon {
        font-size: 1.8rem;
        min-width: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .social-title {
        font-size: 1.5rem;
    }
    
    .contact-cta {
        padding: 2rem 1rem;
    }
    
    .contact-cta h3 {
        font-size: 1.5rem;
    }
}

/* ===== PAGINATION STYLES ===== */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.5rem 0;
    gap: 1rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--glassmorphism-border);
    background: var(--glassmorphism);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    min-width: 44px;
    text-align: center;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.pagination-btn:hover {
    background: rgba(255, 105, 180, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
    transform: scale(1.05);
    box-shadow: 0 8px 25px -8px rgba(255, 105, 180, 0.4);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn .btn-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Loading state */
.pagination-loading {
    opacity: 0.6;
    pointer-events: none;
}

.pagination-loading .pagination-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Floating hearts animation for pagination */
.pagination-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.pagination-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-container {
        margin: 2rem 0;
        gap: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .pagination {
        gap: 0.25rem;
        justify-content: center;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .pagination-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        min-width: 40px;
        text-align: center;
    }
    
    .pagination-info {
        font-size: 0.85rem;
        padding: 0 1rem;
        text-align: center;
        width: 100%;
    }
    
    /* Hide some page numbers on mobile */
    .pagination-btn.hide-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin: 1.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 10px;
        transform: translateX(10px); /* Slight right offset */
    }
    
    .pagination {
        gap: 0.2rem;
        justify-content: center;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        min-width: 36px;
        text-align: center;
    }
    
    .pagination-info {
        text-align: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Extra small devices adjustment */
@media (max-width: 375px) {
    .pagination-container {
        transform: translateX(15px); /* Slightly more right offset for smaller screens */
        padding: 0 5px;
    }
}

/* Smooth transition for products grid when paginating */
.products-grid.paginating {
    opacity: 0.6;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.products-grid.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Free Offer Section */
.free-offer-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, 
        rgba(255, 240, 245, 0.6) 0%, 
        rgba(248, 248, 255, 0.5) 50%,
        rgba(240, 248, 255, 0.6) 100%);
}

.free-offer-section .container {
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

.free-offer-section .about-card {
    margin-bottom: 1.5rem;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(233, 30, 99, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.free-offer-section .about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(233, 30, 99, 0.2);
}

.free-offer-section .section-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.free-offer-section .cta-button {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.free-offer-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.free-offer-section .filter-toggle-btn,
.free-offer-section .shuffle-btn {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(156, 39, 176, 0.3);
}

.free-offer-section .filter-toggle-btn:hover,
.free-offer-section .shuffle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

.free-offer-section .search-input {
    flex: 1;
    min-width: 250px;
    border: 2px solid rgba(233, 30, 99, 0.2);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.free-offer-section .search-input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

.fo-purchases-table {
    width: 100%;
    margin-top: 1rem;
}

.fo-table-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.fo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fo-list li {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* Gift Products Showcase Section */
.gift-products-showcase {
    padding: 3rem 0;
    background: linear-gradient(135deg, 
        rgba(255, 240, 245, 0.8) 0%, 
        rgba(248, 248, 255, 0.7) 50%,
        rgba(240, 248, 255, 0.8) 100%);
}

.gift-products-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(233, 30, 99, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gift-products-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(233, 30, 99, 0.3);
}

.gift-note {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e91e63;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(233, 30, 99, 0.3);
    margin: 0;
    padding: 1rem;
    border: 2px dashed rgba(233, 30, 99, 0.3);
    border-radius: 15px;
    background-color: rgba(255, 240, 245, 0.5);
    text-align: center;
}

.gift-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.gift-product-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
}

.gift-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gift-product-image {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.gift-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #e91e63;
    margin: 5px 0 0;
    line-height: 1.4;
}

.loading-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Tablet Responsive - 2 products per row */
@media (max-width: 1024px) {
    .gift-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Responsive for Free Offer */
@media (max-width: 768px) {
    .fo-table-header,
    .fo-list li {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .fo-table-header .fo-header-left,
    .fo-table-header .fo-header-right,
    .fo-list li .fo-item-left,
    .fo-list li .fo-item-right {
        text-align: left;
    }
    
    .gift-products-showcase {
        padding: 2rem 0;
    }
    
    .gift-products-card {
        padding: 1.5rem;
    }
    
    .gift-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gift-product-image {
        max-height: 120px;
    }
    
    .gift-note {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Page transition effect */
.page-transition {
    position: relative;
    overflow: hidden;
}

.page-transition::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 105, 180, 0.1) 50%, 
        transparent 100%);
    animation: pageSwipe 0.6s ease-out;
}

@keyframes pageSwipe {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Free Offer Purchases Table */
.fo-purchases-table {
    margin-top: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    overflow: auto;
    max-height: 260px;
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.fo-purchases-table .fo-table-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 12px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.fo-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.fo-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.fo-row:nth-child(odd) {
    background: rgba(255, 105, 180, 0.04); /* subtle pink tint */
}

.fo-row:last-child {
    border-bottom: none;
}

.fo-oid {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    word-break: break-all;
}

.fo-status-time { white-space: nowrap; }

/* Status coloring */
.fo-row[data-status="VERIFIED"] .fo-status { color: #2e7d32; }
.fo-row[data-status="PENDING"] .fo-status { color: #ff8f00; }
.fo-row[data-status="REJECTED"] .fo-status { color: #c62828; }

@media (max-width: 600px) {
    .fo-purchases-table { max-height: 220px; }
    .fo-purchases-table .fo-table-header,
    .fo-row { grid-template-columns: 1fr; }
    .fo-status-time { white-space: normal; }
}

/* ===== GIFT BOX REVEAL STYLES ===== */
.gift-wrapper {
    position: relative;
    overflow: visible !important;
}

.gift-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(221, 160, 221, 0.1));
    border: 2px dashed var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    user-select: none;
}

.gift-box:hover {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.15), rgba(221, 160, 221, 0.15));
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
}

.gift-box-icon {
    margin-bottom: 1rem;
}

.gift-emoji {
    font-size: 4rem;
    display: block;
    animation: giftBob 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.3));
}

.gift-box-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.2);
}

/* Gift box animations */
@keyframes giftBob {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

@keyframes giftShake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    10% { transform: translateX(-3px) rotate(-1deg); }
    20% { transform: translateX(3px) rotate(1deg); }
    30% { transform: translateX(-3px) rotate(-1deg); }
    40% { transform: translateX(3px) rotate(1deg); }
    50% { transform: translateX(-2px) rotate(-0.5deg); }
    60% { transform: translateX(2px) rotate(0.5deg); }
    70% { transform: translateX(-1px) rotate(-0.25deg); }
    80% { transform: translateX(1px) rotate(0.25deg); }
    90% { transform: translateX(-0.5px) rotate(-0.125deg); }
}

.gift-shake {
    animation: giftShake 0.6s ease-in-out;
}

/* Gift content reveal */
.gift-content {
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.9);
}

/* Gift sparkle effects */
.gift-sparkle {
    position: absolute;
    pointer-events: none;
    font-size: 1.2rem;
    z-index: 10;
    animation: sparkleFloat 1s ease-out forwards;
}

@keyframes sparkleFloat {
    0% {
        opacity: 1;
        transform: translateY(0px) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.6);
    }
}

/* Mobile responsiveness for gift boxes */
@media (max-width: 768px) {
    .gift-emoji {
        font-size: 3rem;
    }
    
    .gift-box {
        padding: 1.5rem;
    }
    
    .gift-box-label {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .gift-emoji {
        font-size: 2.5rem;
    }
    
    .gift-box {
        padding: 1rem;
    }
    
    .gift-box-label {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* ===== FREE OFFER IMAGE LIGHTBOX STYLES ===== */
.fo-image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 15000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.fo-image-lightbox.show {
    opacity: 1;
}

.fo-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fo-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.fo-image-lightbox.show .fo-lightbox-image {
    transform: scale(1);
}

.fo-lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    z-index: 15001;
}

.fo-lightbox-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Mobile responsive adjustments for Free Offer lightbox */
@media (max-width: 768px) {
    .fo-lightbox-close {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .fo-lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .fo-lightbox-image {
        max-height: 85vh;
    }
}

/* Free Offer Modal Image Clickable Style */
.fo-modal-product-image {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fo-modal-product-image:hover {
    transform: scale(1.05);
}

/* ===== FREE OFFER GIFT BOX STYLES ===== */
.fo-gift-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
    opacity: 1;
}

.fo-gift-box:hover {
    transform: scale(1.05);
}

.fo-gift-box-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fo-gentle-bounce 2s ease-in-out infinite;
}

.fo-gift-box-label {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
}

.fo-product-content {
    opacity: 0;
    display: none;
    transition: all ease-in-out 0.5s;
}

.fo-product-content.revealed {
    opacity: 1;
    display: block;
}

.fo-gift-box.revealing {
    animation: fo-shake 0.5s ease-in-out;
}

.fo-gift-box.hidden {
    opacity: 0;
    display: none;
}

@keyframes fo-gentle-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fo-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Mobile adjustments for free offer gift box */
@media (max-width: 480px) {
    .fo-gift-box-icon {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .fo-gift-box-label {
        font-size: 0.8rem;
    }
    
    .fo-gift-box {
        min-height: 180px;
    }
}

/* Print Styles */
@media print {
    .sparkles,
    .noise-overlay,
    .category-filter,
    .filter-overlay,
    .filter-toggle-btn,
    .pagination-container,
    .gift-box,
    .gift-sparkle,
    .fo-gift-box {
        display: none !important;
    }
    
    .gift-content,
    .fo-product-content {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
