/* ================================================================
   FR COLLECTIONS - CONSOLIDATED USER SITE CSS
   All user-facing styles merged into single file
   Generated: 2025-12-03 08:11:51
   ================================================================ */

/* ================================================================
   GLOBAL ANIMATION SPEED OPTIMIZATION
   Making all animations smooth and fast
   NOTE: We apply transitions only to interactive elements, NOT globally
   to avoid interfering with CSS animations (scroll, particles, etc.)
   ================================================================ */

/* Apply faster transitions only to interactive elements */
a, button, input, select, textarea,
.btn, .nav-link, .dropdown-item, .card,
.product-card-modern, .category-card-modern,
.stat-card, .favorite-btn, .product-actions button {
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Ensure animated elements have NO transitions to prevent jitter */
.reviews-scroll,
.reviews-scroll-left,
.categories-scroll,
.categories-desktop-scroll,
.mini-header-particle,
.auth-particle,
.affiliate-mini-particle,
.blocked-particle,
[class*="particle"],
[class*="scroll"],
.footer-simple,
.ribbon {
    transition: none !important;
}

/* Mobile menu drawer - only transform transition */
.mobile-menu-sidebar {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Mobile menu overlay - only opacity/visibility transition */
.mobile-menu-overlay {
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out !important;
}

/* Chatbot container - only opacity/visibility transition */
#fr-chatbot-container {
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* Chatbot toggle button - only transform for hover effect */
#fr-chat-toggle {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Chatbot inner elements - NO transitions */
.chat-button-inner,
.chat-button-inner::before,
.chat-pulse-ring,
.chat-icon-main {
    transition: none !important;
}

/* ================================================================
   ANIMATION CONTAINMENT - Prevent animations from affecting fixed elements
   ================================================================ */

/* Isolate animated sections so their animations don't affect fixed elements */
.reviews-container,
.categories-fullwidth,
.reviews-section,
.stats-section,
.featured-header-section {
    contain: layout style;
    isolation: isolate;
}

/* Light dots and review dots - NO transitions */
.light-dot-1,
.light-dot-2,
.light-dot-3,
.review-dots,
.review-dots::before,
.review-dots::after {
    transition: none !important;
}

/* Ensure fixed elements are completely isolated from page animations */
#fr-chatbot-container,
.mobile-menu-overlay,
.mobile-menu-sidebar {
    isolation: isolate;
    contain: layout;
}

/* ================================================================
   GLOBAL SCROLLBAR HIDING
   ================================================================ */

/* Hide scrollbars globally for all elements */
* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
}

body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body::-webkit-scrollbar {
    display: none !important;
}

/* Specific scrollbar hiding for common scrollable elements */
.modal,
.modal-body,
.modal-content,
.tab-content,
.tab-pane,
div[class*="scroll"],
div[class*="overflow"] {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.modal::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.tab-content::-webkit-scrollbar,
.tab-pane::-webkit-scrollbar,
div[class*="scroll"]::-webkit-scrollbar,
div[class*="overflow"]::-webkit-scrollbar {
    display: none !important;
}

/* ================================================================
   STYLE.CSS - Main Site Styles
   ================================================================ */

/* FR Collections Custom Styles */

:root {
    --primary-color: #1e3a5f;
    --accent-color: #90ee90;
    --section-bg: #F4F4F4;
    --text-color: #333333;
    --footer-color: #1E1E1E;
    --shiny-navy-gradient: linear-gradient(145deg, #020817 0%, #0a1628 20%, #1e3a5f 50%, #2563eb 75%, #1e3a8a 90%, #0a1628 100%);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden !important;
}

html {
    overflow-x: hidden !important;
}

body.no-gap {
    margin: 0;
    padding: 0;
}

/* Remove gap between navbar and content */
.navbar {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure no padding/margin on body and main elements */
body {
    padding-top: 0 !important;
    margin: 0 !important;
}

main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove any default spacing */
* {
    box-sizing: border-box;
}

.container-fluid, .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 6px 0;
    position: relative;
    z-index: 1000;
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
}

/* Desktop Navbar - Compact Styling */
@media (min-width: 992px) {
    .navbar {
        padding: 4px 0;
    }
    .navbar .container {
        max-width: 1200px;
    }
    .navbar-brand img {
        height: 36px;
    }
    .navbar-brand .logo-text {
        font-size: 1.05rem !important;
    }
    .navbar-nav .nav-link {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
    .navbar .user-avatar-circle {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    .navbar .signup-btn {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
    .navbar .fa-bell,
    .navbar .fa-shopping-cart {
        font-size: 1.1rem !important;
    }
}

/* Mobile Navbar - Normal Phones (400px to 576px) */
@media (min-width: 400px) and (max-width: 575.98px) {
    .navbar {
        padding: 8px 0;
    }
    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .navbar-brand img {
        height: 34px;
    }
    .navbar-brand .logo-text {
        font-size: 1rem !important;
    }
    .user-avatar-circle {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    .navbar .fa-shopping-cart {
        font-size: 1.05rem !important;
    }
    #mobile-cart-count {
        font-size: 0.6rem !important;
        padding: 2px 5px !important;
    }
    .signup-btn {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
    }
    /* Mobile menu proper justification */
    .mobile-menu-sidebar {
        width: 280px;
        max-width: 85%;
    }
    .mobile-menu-header {
        padding: 10px 14px 14px;
        justify-content: space-between;
    }
    .mobile-menu-icons-left {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .mobile-menu-cart-icon,
    .mobile-menu-favorites-icon,
    .mobile-menu-wishlist-icon,
    .mobile-menu-mystery-icon,
    .mobile-menu-profile-icon,
    .mobile-menu-spin-icon,
    .mobile-menu-address-icon {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    .mobile-menu-close {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .mobile-nav-link {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    .mobile-orders-btn {
        font-size: 0.88rem;
        padding: 10px 18px;
    }
}

/* Mobile Navbar - Small to Medium Phones (576px to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar {
        padding: 8px 0;
    }
    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar-brand img {
        height: 36px;
    }
    .navbar-brand .logo-text {
        font-size: 1.1rem !important;
    }
    .user-avatar-circle {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }
    .signup-btn {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
    /* Mobile menu wider on tablets */
    .mobile-menu-sidebar {
        width: 300px;
        max-width: 75%;
    }
    .mobile-menu-header {
        padding: 12px 16px 16px;
    }
    .mobile-menu-icons-left {
        gap: 10px;
    }
    .mobile-menu-cart-icon,
    .mobile-menu-favorites-icon,
    .mobile-menu-wishlist-icon,
    .mobile-menu-mystery-icon,
    .mobile-menu-profile-icon,
    .mobile-menu-spin-icon,
    .mobile-menu-address-icon {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
    .mobile-menu-close {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .mobile-nav-link {
        font-size: 0.92rem;
        padding: 11px 18px;
    }
    .mobile-orders-btn {
        font-size: 0.9rem;
        padding: 11px 20px;
    }
}

/* Mobile Navbar - Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar {
        padding: 8px 0;
    }
    .navbar-brand img {
        height: 38px;
    }
    .navbar-brand .logo-text {
        font-size: 1.15rem !important;
    }
    .user-avatar-circle {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    .signup-btn {
        padding: 6px 14px !important;
        font-size: 0.9rem !important;
    }
    /* Mobile menu on tablet */
    .mobile-menu-sidebar {
        width: 320px;
        max-width: 65%;
    }
    .mobile-menu-header {
        padding: 14px 18px;
    }
    .mobile-menu-icons-left {
        gap: 12px;
    }
    .mobile-menu-cart-icon,
    .mobile-menu-favorites-icon,
    .mobile-menu-wishlist-icon,
    .mobile-menu-mystery-icon,
    .mobile-menu-profile-icon,
    .mobile-menu-spin-icon,
    .mobile-menu-address-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .mobile-menu-close {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .mobile-nav-link {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    .mobile-orders-btn {
        font-size: 0.92rem;
        padding: 12px 22px;
    }
}

/* Logo Circle */
.logo-circle {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0058A3;
    font-size: 18px;
}

/* User Avatar Circle */
.user-avatar-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 40%, #f1f5f9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.12);
    border: 1.5px solid rgba(30, 58, 138, 0.7);
}

.user-avatar-circle:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.16);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Signup Button */
.signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 12px;
    background: linear-gradient(145deg, #1e3a8a 0%, #243b7c 50%, #172a57 100%);
    border-radius: 999px;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.12);
    transition: all 0.25s ease;
    -webkit-font-smoothing: antialiased;
}

.signup-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.18);
}

@keyframes signupShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.signup-btn { background-size: 200% 200%; animation: signupShine 6s linear infinite; }

/* Custom Hamburger Menu */
.navbar-toggler-icon-custom {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.navbar-toggler-icon-custom span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Navigation Links */
.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    color: white !important;
}

.nav-link:hover {
    color: #90ee90 !important;
}

.nav-link:focus,
.nav-link.active {
    color: #90ee90 !important;
}

/* Mobile Cart Icon (Bottom Right) */
.mobile-cart-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.mobile-cart-icon .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
    transition: all 0.3s ease;
}

.mobile-cart-icon .btn:hover {
    background-color: #90ee90 !important;
    border-color: #90ee90 !important;
    color: #1e3a8a !important;
    transform: scale(1.1);
}

.mobile-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
}

.fixed-cart .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.fixed-cart .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ========================================
   Navbar Avatar & Signup Button Overrides
   Enforce navy gradient background with white border and text
   ======================================== */
.user-avatar-circle {
    background: linear-gradient(145deg, #1e3a8a 0%, #243b7c 50%, #172a57 100%) !important;
    color: #ffffff !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.22) !important;
    background-size: 200% 200% !important;
    animation: signupShine 6s linear infinite !important;
    position: relative !important;
}

.user-avatar-circle:hover {
    transform: translateY(-2px) scale(1.06) !important;
    box-shadow: 0 12px 26px rgba(30, 58, 138, 0.25) !important;
}

.user-avatar-circle::after {
    content: '';
    position: absolute;
    inset: 3px; /* leaves the white border visible */
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    pointer-events: none;
}

/* Specific navbar selector to ensure consistent sizing and sheen */
.navbar .user-avatar-circle,
.navbar .user-avatar-circle[style] {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
}

/* Ensure mobile avatar respects the shiny border */
.d-lg-none .user-avatar-circle,
.d-lg-none .user-avatar-circle[style] {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
}

.signup-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 16px !important;
    gap: 8px;
    background: linear-gradient(145deg, #1e3a8a 0%, #243b7c 50%, #172a57 100%) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 8px 26px rgba(30, 58, 138, 0.22) !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    text-transform: none !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 70%;
    background: linear-gradient(120deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.25) 40%, rgba(255,255,255,0.05) 100%);
    transform: rotate(-25deg) translateX(-30%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.3s ease;
    pointer-events: none;
}

.signup-btn:hover::before {
    transform: rotate(-25deg) translateX(0%);
    opacity: 1;
}

.signup-btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 14px 40px rgba(30, 58, 138, 0.32) !important;
}

.signup-btn:focus {
    outline: none !important;
    box-shadow: 0 14px 40px rgba(30, 58, 138, 0.36) !important;
}

/* Navbar styling continues */
        display: none;
    }
    
    .pwa-install-btn i {
        font-size: 1rem;
    }
    
    .signup-btn {
        padding: 6px 10px !important;
        font-size: 0.9rem !important;
    }
    .user-avatar-circle {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}

/* Ensure navbar badge contrast */
#cart-count, #mobile-cart-count, .cart-count, .mobile-cart-count {
    background: linear-gradient(145deg, #1e3a8a 0%, #243b7c 50%, #172a57 100%) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #e55a00;
    border-color: #e55a00;
    color: white;
}

/* Section Backgrounds */
.section-bg {
    background-color: var(--section-bg);
}
/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-section .carousel,
.hero-section .carousel.slide {
    height: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.carousel-item {
    height: 100%;
}

/* Smooth Crossfade - Both slides visible during transition */
.carousel-fade .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    z-index: 2;
}

/* Incoming slide (fading in) should be on top */
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 3;
    opacity: 1;
}

/* Outgoing slide (fading out) stays behind */
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    z-index: 2;
    opacity: 0;
}

/* Hero Slide with continuous zoom-in animation */
.hero-slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    animation: smoothZoomIn 8s ease-out infinite;
}

/* Smooth continuous zoom-in effect */
@keyframes smoothZoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.default-slide-1 {
    background: transparent;
}

.default-slide-2 {
    background: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.5);
    z-index: 2;
    backdrop-filter: blur(2px);
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 3px 15px rgba(0,0,0,0.7), 
                 0 6px 25px rgba(0,0,0,0.5),
                 0 2px 5px rgba(0,0,0,0.8);
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-shadow: 0 3px 15px rgba(0,0,0,0.6),
                 0 5px 25px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
}

.btn-hero {
    background: linear-gradient(135deg, #90ee90 0%, #4caf50 50%, #2e7d32 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.6),
                0 0 30px rgba(144, 238, 144, 0.4);
    position: relative;
    z-index: 10;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #98fb98 0%, #66bb6a 50%, #388e3c 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.8),
                0 0 40px rgba(144, 238, 144, 0.6);
    color: white;
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(5px);
}

.carousel-indicators {
    bottom: 30px;
    gap: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0;
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.6), rgba(76, 175, 80, 0.6));
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.carousel-indicators [data-bs-target].active {
    background: linear-gradient(135deg, #90ee90 0%, #4caf50 50%, #388e3c 100%);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.8),
                0 0 25px rgba(144, 238, 144, 0.5);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 1);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
        margin-bottom: 10px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }
}

/* Categories Section */
.categories-section {
    background-color: #f8f9fa;
}

.section-title {
    color: #0058A3;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Modern Category Cards - Square Design */
.category-card-modern {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin: 0 10px;
    pointer-events: auto;
    user-select: none;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    border: 2px solid #0058A3;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #90ee90, #98fb98);
    border-radius: 50%;
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.category-name {
    color: #333;
    font-weight: 700;
    font-size: 0.75rem !important;
    margin: 0;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.category-card-modern:hover .category-name {
    color: #0058A3;
}

/* Footer Styles - Simple Compact Design */
.footer-simple {
    background: #1e3a8a;
    color: white;
    padding: 8px 0;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-left {
    width: 100%;
}

.footer-brand {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
    margin-top: 0;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 0.75rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    align-items: flex-start;
}

.footer-cart-icon {
    background: #90ee90;
    color: #1e3a8a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-cart-icon:hover {
    background: #98fb98;
    color: #1e3a8a;
    transform: scale(1.1);
}

.footer-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
}

/* Mobile Footer Adjustments */
@media (max-width: 768px) {
    .footer-simple {
        padding: 10px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .footer-contact {
        font-size: 0.7rem;
    }
    
    .footer-right {
        justify-content: center;
        margin-top: 5px;
    }
}

/* Shop Page Styles */
.shop-hero-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.shop-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.shop-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 60, 0.15);
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.shop-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.shop-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Modern Shop Filters */
.shop-filters {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filters-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Modern Search Bar */
.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-input-modern {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.search-input-modern:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-btn-modern {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-btn-modern:hover {
    background: #90ee90;
    color: #1e3a8a;
}

/* Custom Dropdown Filters */
.filter-dropdown-wrapper {
    position: relative;
}

.custom-dropdown {
    position: relative;
    min-width: 160px;
}

.dropdown-selected {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-selected:hover {
    border-color: #1e3a8a;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.custom-dropdown.active .dropdown-options {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar styling for dropdown */
.dropdown-options::-webkit-scrollbar {
    width: 8px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background: #f8f9fa;
}

.dropdown-option.selected {
    background: #1e3a8a;
    color: white;
}

.dropdown-option.selected:hover {
    background: #1e40af;
}

/* Shop Products Section */
.shop-products {
    background: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .shop-hero-title {
        font-size: 2.2rem;
    }
    
    .shop-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .shop-hero-slider {
        height: 300px;
    }
    
    .shop-hero-content {
        height: 300px;
    }
    
    .filters-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-wrapper {
        min-width: 100%;
        order: 1;
    }
    
    .filter-dropdown-wrapper {
        width: 100%;
        order: 2;
    }
    
    .custom-dropdown {
        min-width: 100%;
    }
}

/* Categories Infinite Scroll */
.categories-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    touch-action: pan-x;
}

.categories-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.categories-scroll {
    display: flex;
    animation: scroll-categories 60s linear infinite;
    gap: 20px;
    width: max-content;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition: none !important;
}

.categories-scroll:hover {
    animation-play-state: paused;
}

@keyframes scroll-categories { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* Desktop Categories Scroll */
@media (min-width: 992px) {
    .categories-section .row {
        overflow: hidden;
        position: relative;
    }
    
    .categories-desktop-scroll {
        display: flex;
        animation: scroll-categories-desktop 80s linear infinite;
        gap: 30px;
        width: max-content;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition: none !important;
    }
    
    .categories-desktop-scroll:hover {
        animation-play-state: paused;
    }
    
    @keyframes scroll-categories-desktop {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(-50%, 0, 0); }
    }
}

/* Mobile Categories Scroll */
@media (max-width: 768px) {
    .categories-scroll {
        animation: scroll-categories-mobile 50s linear infinite;
    }
    
    @keyframes scroll-categories-mobile {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(-50%, 0, 0); }
    }
}
/* Mobile Category Cards */
.category-card-mobile {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    min-width: 120px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    user-select: none;
}

.category-card-mobile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-card-mobile:hover .category-icon-mobile {
    background: linear-gradient(135deg, #90ee90, #98fb98);
    transform: scale(1.1);
}

.category-icon-mobile {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.category-icon-mobile i {
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
}

.category-card-mobile:hover .category-name-mobile {
    color: #0058A3;
}

.category-name-mobile {
    color: #333;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.2;
}

/* Old Category Cards - Keep for backward compatibility */
.category-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-card h5 {
    color: var(--text-color);
    margin: 0;
}

/* Products Section */
.products-section {
    background-color: white;
}

/* Modern Product Cards */
.product-card-modern {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    z-index: 1;
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio - Square */
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-image img {
    transform: scale(1.1);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-btn:hover {
    background: #FF6B00;
    color: white;
    transform: scale(1.1);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

.favorite-btn:hover {
    background: #FFD700;
    color: white;
    transform: scale(1.1);
}

.favorite-btn i.fas {
    color: #FFD700;
}

.favorite-btn:hover i.fas {
    color: white;
}

.favorite-btn i.far {
    color: #666;
}

.favorite-btn:hover i.far {
    color: white;
}

.stock-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.stock-badge.in-stock {
    background: #28a745;
    color: white;
}

.stock-badge.out-of-stock {
    background: #dc3545;
    color: white;
}

.stock-badge.limited {
    background: #ffc107;
    color: #000;
}

.product-info {
    padding: 20px;
}

/* Stock status and sold stats in one row */
.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-family: 'Quicksand', sans-serif;
}

.stock-text {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-text.in-stock {
    color: #28a745;
}

.stock-text.out-of-stock {
    color: #dc3545;
}

.stock-text.limited {
    color: #ffc107;
}

.sold-stat {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    font-family: 'Quicksand', sans-serif;
}

.product-title {
    color: #1e3a8a;
    font-weight: 400;
    font-size: 0.95rem;
    margin-bottom: 6px;
    margin-top: 0;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: 'Quicksand', sans-serif;
}

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    font-family: 'Quicksand', sans-serif;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b6b;
}

.original-price {
    font-size: 0.85rem;
    color: #dc2626 !important;
    text-decoration: line-through;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-cart {
    flex: 1;
    background: linear-gradient(145deg, #064e3b 0%, #047857 100%);
    color: white;
    border: 2px solid white;
    padding: 8px 12px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 10px rgba(6, 78, 59, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-cart.added-to-cart {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.4);
    font-size: 0.7rem;
    padding: 8px 6px;
}

.btn-in-cart {
    flex: 1;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 8px 8px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.btn-in-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* Animation for when button changes to "In Cart" */
.btn-in-cart.added-to-cart {
    animation: buttonSuccess 0.6s ease;
}

@keyframes buttonSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(139, 92, 246, 0.6);
    }
    100% {
        transform: scale(1);
    }
}

/* Icon styling for In Cart button */
.btn-in-cart i.fa-check-circle {
    color: #a5f3fc;
    animation: checkPulse 0.5s ease;
}

@keyframes checkPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.btn-cart::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 70%;
    background: linear-gradient(120deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.05) 100%);
    transform: rotate(-25deg) translateX(-30%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.3s ease;
    pointer-events: none;
}

.btn-cart:hover::before {
    transform: rotate(-25deg) translateX(0%);
    opacity: 0;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-buy {
    flex: 1;
    background: linear-gradient(145deg, #1e3a8a 0%, #243b7c 50%, #172a57 100%);
    color: white;
    border: 2px solid white;
    padding: 8px 12px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 70%;
    background: linear-gradient(120deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.05) 100%);
    transform: rotate(-25deg) translateX(-30%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.3s ease;
    pointer-events: none;
}

.btn-buy:hover::before {
    transform: rotate(-25deg) translateX(0%);
    opacity: 0;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.45);
    color: white;
}

/* Old Product Cards - Keep for backward compatibility */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.product-price-original {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
    margin-left: 10px;
}

.product-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-in-stock {
    background-color: #28a745;
    color: white;
}

.status-out-of-stock {
    background-color: #dc3545;
    color: white;
}

.status-limited {
    background-color: var(--primary-color);
    color: white;
}

/* Reviews */
.rating {
    color: var(--accent-color);
}

.rating i {
    margin-right: 2px;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 88, 163, 0.25);
}

/* Filters */
.filters-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Profile Sidebar */
.profile-sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profile-sidebar .nav-link {
    color: var(--text-color);
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.profile-sidebar .nav-link:hover,
.profile-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* User Avatar */
.user-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Order Status */
.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.status-pending {
    background-color: #ffc107;
    color: #000;
}

.status-confirmed {
    background-color: #17a2b8;
    color: white;
}

.status-on-the-way {
    background-color: var(--accent-color);
    color: white;
}

.status-delivered {
    background-color: #28a745;
    color: white;
}

.status-canceled {
    background-color: #dc3545;
    color: white;
}

/* Admin Panel */
.admin-sidebar {
    background-color: var(--primary-color);
    min-height: 100vh;
    color: white;
}

.admin-sidebar .nav-link {
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--accent-color);
    color: white;
}

.admin-stats {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 250px;
    }
    
    .hero-slider .carousel-item {
        height: 250px;
    }
    
    .category-card {
        height: 120px;
        padding: 15px;
    }
    
    .category-card i {
        font-size: 2rem;
    }
    
    .fixed-cart .btn {
        width: 50px;
        height: 50px;
    }
    
    .filters-section {
        padding: 15px;
    }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Variant Selection */
.variant-option {
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-option:hover,
.variant-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 88, 163, 0.1);
}

.color-variant {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-variant:hover,
.color-variant.selected {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.quantity-selector button {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: var(--primary-color);
}

.quantity-selector button:hover {
    background-color: var(--section-bg);
}

.quantity-selector input {
    border: none;
    text-align: center;
    width: 60px;
    padding: 10px 5px;
}

/* Image Gallery */
.product-gallery {
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    border-color: var(--primary-color);
}

/* Checkout */
.checkout-summary {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-method {
    width: 80px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.payment-method img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* About Page */
.about-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.about-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* New About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 60px 0;
    color: white;
}

.about-hero-content-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-hero-icon-left {
    width: 100px;
    height: 100px;
    background: #90ee90;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-hero-icon-left i {
    font-size: 3rem;
    color: #2c3e50;
}

.about-hero-text-left {
    flex: 1;
}

.about-hero-title-left {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.about-hero-subtitle-left {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.about-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(144, 238, 144, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-hero-icon i {
    font-size: 2.5rem;
    color: white;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.about-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.about-content-section {
    background: white;
    padding: 80px 0;
}

.about-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-img {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-logo-default {
    text-align: center;
}

.logo-circle-outer {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 8px solid #FF6B35;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.logo-circle-middle {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 8px solid #4A90E2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-circle-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid #90EE90;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-bag-icon {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2, #5BA3F5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bag-icon i {
    font-size: 30px;
    color: white;
}

.logo-fr-text {
    position: absolute;
    bottom: 50px;
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B35, #FFB366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text-wrapper {
    margin-top: 20px;
}

.logo-collections-text {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.logo-tagline {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin: 0;
}

.about-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 25px;
}

.about-text-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.about-text-content p {
    margin-bottom: 20px;
}

.about-stats-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.stat-card {
    text-align: center;
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon-blue {
    background: #1e3a8a;
}

.stat-icon i {
    font-size: 28px;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-number-blue {
    color: #1e3a8a;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.about-values-section {
    background: white;
    padding: 80px 0;
}

.values-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.value-card-new {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 66, 243, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon-blue {
    background: #1e3a8a;
}

.value-icon i {
    font-size: 28px;
    color: white;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.value-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ========================================
   ENHANCED JOIN COMMUNITY SECTION
   ======================================== */

.about-join-section-new {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    padding: 100px 0;
    overflow: hidden;
    margin-bottom: 0;
}

/* Animated Background */
.join-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.join-floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float-join 20s infinite ease-in-out;
}

.join-floating-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.join-floating-shape.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-delay: 2s;
}

.join-floating-shape.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.join-floating-shape.shape-4 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: 15%;
    animation-delay: 1s;
}

.join-floating-shape.shape-5 {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 50%;
    animation-delay: 3s;
}

@keyframes float-join {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

/* Content Wrapper */
.join-content-wrapper {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Badge */
.join-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-badge i {
    color: #90ee90;
    font-size: 1rem;
}

.join-badge span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Main Title */
.join-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.join-gradient-text {
    background: linear-gradient(135deg, #90ee90 0%, #98fb98 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.join-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 550px;
}

/* Buttons */
.join-buttons-new {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.btn-join-new {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-join-new:active {
    transform: scale(0.97);
}

.btn-join-primary-new {
    background: white;
    color: #1e3a8a !important;
    border-color: white;
    animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 255, 255, 0.4);
    }
}

.btn-join-primary-new:hover {
    background: #10b981 !important;
    color: white !important;
    border-color: #10b981;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.btn-join-secondary-new {
    background: transparent;
    color: white !important;
    border-color: white;
}

.btn-join-secondary-new:hover {
    background: white !important;
    color: #1e3a8a !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

/* Features List */
.join-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.join-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.join-feature-item i {
    color: #90ee90;
    font-size: 1.2rem;
}

.join-feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Visual Wrapper */
.join-visual-wrapper {
    position: relative;
    height: 500px;
    z-index: 1;
    pointer-events: none;
}

/* Circle Background */
.join-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse-join 3s infinite ease-in-out;
}

@keyframes pulse-join {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

/* Large Icon */
.join-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #90ee90 0%, #98fb98 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(144, 238, 144, 0.4);
    animation: float-icon-join 4s infinite ease-in-out;
    z-index: 2;
}

.join-icon-large i {
    font-size: 4rem;
    color: #1e3a8a;
}

@keyframes float-icon-join {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

/* Floating Icons */
.join-floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float-small-join 3s infinite ease-in-out;
}

.join-floating-icon i {
    font-size: 1.5rem;
    color: #1e3a8a;
}

.join-floating-icon.icon-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.join-floating-icon.icon-2 {
    top: 15%;
    right: 20%;
    animation-delay: 0.5s;
}

.join-floating-icon.icon-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.join-floating-icon.icon-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes float-small-join {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Stat Cards */
.join-stat-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float-stat-join 4s infinite ease-in-out;
}

.join-stat-card.stat-1 {
    top: 25%;
    left: 5%;
    animation-delay: 0s;
}

.join-stat-card.stat-2 {
    bottom: 25%;
    right: 5%;
    animation-delay: 1s;
}

@keyframes float-stat-join {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-icon-mini {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-mini i {
    color: white;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1;
}

.stat-text {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-join-section-new {
        padding: 80px 0;
    }
    
    .join-main-title {
        font-size: 2.5rem;
    }
    
    .join-visual-wrapper {
        height: 400px;
    }
    
    .join-circle-bg {
        width: 280px;
        height: 280px;
    }
    
    .join-icon-large {
        width: 120px;
        height: 120px;
    }
    
    .join-icon-large i {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .about-join-section-new {
        padding: 60px 0;
    }
    
    .join-main-title {
        font-size: 2rem;
    }
    
    .join-description {
        font-size: 1rem;
    }
    
    .join-visual-wrapper {
        height: 350px;
        margin-top: 30px;
    }
    
    .join-circle-bg {
        width: 250px;
        height: 250px;
    }
    
    .join-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .join-icon-large i {
        font-size: 2.5rem;
    }
    
    .join-floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .join-floating-icon i {
        font-size: 1.2rem;
    }
    
    .join-stat-card {
        padding: 12px 15px;
    }
    
    .stat-icon-mini {
        width: 40px;
        height: 40px;
    }
    
    .stat-num {
        font-size: 1.2rem;
    }
    
    .btn-join-new {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .join-features {
        gap: 15px;
    }
    
    .join-feature-item {
        flex-basis: 100%;
    }
}

/* Responsive Styles for About Page */
@media (max-width: 768px) {
    .about-hero {
        padding: 40px 0;
    }
    
    .about-hero-content-left {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .about-hero-icon-left {
        width: 80px;
        height: 80px;
    }
    
    .about-hero-icon-left i {
        font-size: 2.5rem;
    }
    
    .about-hero-title-left {
        font-size: 2rem;
    }
    
    .about-hero-subtitle-left {
        font-size: 1rem;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content-section {
        padding: 50px 0;
    }
    
    .logo-circle-outer {
        width: 220px;
        height: 220px;
    }
    
    .logo-circle-middle {
        width: 190px;
        height: 190px;
    }
    
    .logo-circle-inner {
        width: 160px;
        height: 160px;
    }
    
    .logo-bag-icon {
        top: 40px;
        width: 50px;
        height: 50px;
    }
    
    .logo-bag-icon i {
        font-size: 24px;
    }
    
    .logo-fr-text {
        bottom: 40px;
        font-size: 32px;
    }
    
    .logo-collections-text {
        font-size: 1.5rem;
    }
    
    .about-section-title {
        font-size: 1.8rem;
    }
    
    .about-stats-section {
        padding: 40px 0;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-values-section {
        padding: 50px 0;
    }
    
    .values-section-title {
        font-size: 1.8rem;
    }
    
    .about-join-section {
        padding: 50px 0 50px 0;
    }
    
    .join-section-title {
        font-size: 1.8rem;
    }
    
    .join-section-subtitle {
        font-size: 1rem;
    }
    
    .join-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-join {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-section {
    background-color: var(--section-bg) !important;
}

/* Affiliate Access Denied Page - Full Page Design */
.affiliate-access-denied-fullpage {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.access-denied-content {
    max-width: 600px;
    margin: 0 auto;
}

.access-denied-icon {
    width: 120px;
    height: 120px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.access-denied-icon i {
    font-size: 60px;
    color: white;
}

.access-denied-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 25px;
}

.access-denied-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
}

.btn-access-auth {
    background: #90ee90;
    color: #2c3e50;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(144, 238, 144, 0.3);
}

.btn-access-auth:hover {
    background: #7ed97e;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(144, 238, 144, 0.5);
}

/* Responsive for Access Denied Full Page */
@media (max-width: 768px) {
    .affiliate-access-denied-fullpage {
        padding: 60px 20px;
    }
    
    .access-denied-icon {
        width: 100px;
        height: 100px;
    }
    
    .access-denied-icon i {
        font-size: 50px;
    }
    
    .access-denied-title {
        font-size: 2.2rem;
    }
    
    .access-denied-text {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .btn-access-auth {
        padding: 15px 50px;
        font-size: 1.1rem;
    }
}

/* =====================================================
   SEARCH RESULTS ANIMATIONS & SMOOTH UX
   ===================================================== */

/* Product cards fade-in animation */
.product-card-modern {
    animation: fadeInUp 0.3s ease-out;
}

/* Smooth fade-in-up animation for search results */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth fade-out animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Loading skeleton effect for search */
.search-loading {
    position: relative;
    overflow: hidden;
}

.search-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Search input active state with smooth focus */
.search-input-modern.active {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.15);
}

/* Dropdown smooth transitions */
.custom-dropdown.active .dropdown-options {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 300px;
    }
}

/* No results animation */
.no-results-message {
    animation: fadeInUp 0.4s ease-out;
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Smooth product container transition */
.shop-products .row {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.shop-products .row.search-loading {
    opacity: 0.6;
}

/* Product image hover effect */
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-image img {
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

/* Smooth category filter update */
.category-filter-updating {
    opacity: 0.7;
    pointer-events: none;
}

/* Badge animations */
.stock-badge {
    animation: fadeInUp 0.3s ease-out 0.1s both;
}

.product-price {
    animation: fadeInUp 0.3s ease-out 0.15s both;
}

/* Button hover animations */
.btn-cart, .btn-buy {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cart:hover, .btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Favorite button pulse animation */
.favorite-btn {
    transition: all 0.3s ease;
}

.favorite-btn i.fas {
    animation: favoriteAdded 0.4s ease-out;
}

@keyframes favoriteAdded {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Search results count indicator */
.search-results-count {
    animation: slideInRight 0.4s ease-out;
    color: #666;
    font-size: 0.95rem;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive animations for mobile */
@media (max-width: 768px) {
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .product-image:hover img {
        transform: scale(1.02);
    }
    
    /* Smaller product cards in mobile - 2 columns layout */
    .product-card-modern {
        border-radius: 10px;
    }
    
    .product-card-modern:hover {
        transform: translateY(-5px);
    }
    
    .product-image {
        padding-top: 100%; /* Keep square ratio on mobile */
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-meta-row {
        margin-bottom: 6px;
    }
    
    .stock-text {
        font-size: 0.6rem;
    }
    
    .sold-stat {
        font-size: 0.65rem;
    }
    
    .product-title {
        font-size: 0.8rem;
        margin-bottom: 3px;
        height: 2.4em;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .product-price {
        margin-bottom: 6px;
        gap: 4px;
    }
    
    .current-price {
        font-size: 0.9rem;
    }
    
    .original-price {
        font-size: 0.7rem;
    }
    
    .product-actions {
        gap: 4px;
    }
    
    .btn-cart, .btn-buy {
        font-size: 0.7rem;
        padding: 7px 10px;
        border-radius: 20px;
        max-width: 80px;
    }
    
    .btn-cart.added-to-cart {
        font-size: 0.58rem;
        padding: 6px 4px;
    }
    
    .favorite-btn {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
        font-size: 0.85rem;
    }
}

/* ========================================
   UNIVERSAL SLIDER OVERLAY SYSTEM
   ======================================== */

/* 
 * This provides a subtle dark blue semi-transparent overlay (rgba(0, 0, 60, 0.25))
 * on all slider images for better text readability while keeping images clearly visible.
 * The overlay sits between the image and text content.
 * Uses ::before pseudo-element for optimal performance.
 */

/* Ensure all slider containers have relative positioning */
.hero-slide,
.carousel-item,
.slide,
.slider-item,
.home-slider .carousel-item,
.shop-slider .carousel-item,
#heroCarousel .carousel-item,
#shopHeroCarousel .carousel-item {
    position: relative;
}

/* Overlay removed - no blue tint */
.hero-slide::before,
.carousel-item .hero-slide::before,
.slide::before,
.slider-item::before,
.carousel-item::before {
    content: none;
    display: none;
}

/* Ensure text content appears above the overlay */
.hero-content,
.shop-hero-content,
.carousel-caption,
.slider-content,
.slide-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Ensure white text is clear and readable */
.hero-title,
.shop-hero-title,
.hero-subtitle,
.shop-hero-subtitle,
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption p,
.slider-content h1,
.slider-content h2,
.slider-content p {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Make sure buttons are also above the overlay */
.btn-hero,
.carousel-caption .btn,
.slider-content .btn {
    position: relative;
    z-index: 2;
}

/* Ensure carousel indicators are above overlay */
.carousel-indicators {
    z-index: 3;
}

/* Ensure carousel controls are above overlay */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}
/* ========================================
   MOBILE VIEW DIMENSIONS ADJUSTMENT
   ======================================== */

/* Shop Page Mobile Dimensions: 413 × 300 */
@media (max-width: 768px) {
    .shop-hero-slider {
        height: 300px !important;
    }
    
    .shop-hero-content {
        height: 300px !important;
    }
    
    .shop-hero-bg,
    .shop-hero-bg-image {
        height: 300px !important;
    }
    
    .shop-hero-title {
        font-size: 2rem !important;
    }
    
    .shop-hero-subtitle {
        font-size: 1rem !important;
    }
}

/* Home Page Mobile Dimensions: 413 × 400 */
@media (max-width: 768px) {
    .hero-section {
        height: 400px !important;
        min-height: 400px !important;
    }
    
    .hero-slide {
        height: 400px !important;
        min-height: 400px !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .btn-hero {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
}

/* Ensure carousel indicators position correctly */
@media (max-width: 768px) {
    .carousel-indicators {
        bottom: 20px !important;
    }
}
/* ========================================
   MOBILE DROPDOWN SIDE BY SIDE - CORRECTED
   ======================================== */

@media (max-width: 768px) {
    .filters-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        align-items: center !important;
    }
    
    .search-wrapper {
        order: 1 !important;
        min-width: 100% !important;
        margin-bottom: 10px !important;
        flex: 0 0 100% !important;
    }
    
    .filter-dropdown-wrapper {
        flex: 0 1 47% !important;
        min-width: 0 !important;
        max-width: 47% !important;
        width: 47% !important;
        margin-bottom: 0 !important;
    }
    
    /* Categories dropdown - Left side */
    .filter-dropdown-wrapper:nth-of-type(1) {
        order: 2 !important;
        text-align: left !important;
    }
    
    /* Sort dropdown - Right side */
    .filter-dropdown-wrapper:nth-of-type(2) {
        order: 3 !important;
    }
    
    .custom-dropdown {
        width: 100% !important;
    }
    
    .dropdown-selected {
        padding: 6px 8px !important;
        font-size: 0.68rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        border: 1px solid #e2e8f0 !important;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .filters-row {
        gap: 4px !important;
    }
    
    .filter-dropdown-wrapper {
        flex: 0 1 47% !important;
        min-width: 0 !important;
        max-width: 47% !important;
        width: 47% !important;
    }
    
    .dropdown-selected {
        padding: 4px 5px !important;
        font-size: 0.58rem !important;
        border: 1px solid #e2e8f0 !important;
    }
}
/* ======================================== */

/* ========================================
   NEW ABOUT HERO SECTION - REDESIGNED
   ======================================== */

.about-hero-new {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    padding: 100px 0 120px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Animated Background */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(144, 238, 144, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: 5s;
    background: rgba(255, 255, 255, 0.05);
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 100px;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: 10%;
    animation-delay: 15s;
    background: rgba(144, 238, 144, 0.08);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-60px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

/* Hero Content */
.about-hero-new .container {
    position: relative;
    z-index: 2;
}

.hero-content-wrapper {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(144, 238, 144, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(144, 238, 144, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    color: #90ee90;
    font-size: 1rem;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #90ee90 0%, #98fb98 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #90ee90, transparent);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Hero Visual Section */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.2) 0%, rgba(152, 251, 152, 0.1) 100%);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
    border: 2px solid rgba(144, 238, 144, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.hero-icon-large {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #90ee90 0%, #98fb98 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(144, 238, 144, 0.4);
    animation: floating 4s infinite ease-in-out;
}

.hero-icon-large i {
    font-size: 5rem;
    color: #1e3a8a;
}

/* Hero Logo Large - Revolving */
.hero-logo-large {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 280px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.3);
    animation: floating 4s infinite ease-in-out;
    padding: 30px;
}

.hero-revolving-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: logoRotate 10s linear infinite;
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Optimized Floating Animation */
@keyframes floating {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10px, -15px) rotate(2deg);
    }
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: floating 3s infinite ease-in-out;
    will-change: transform;
}

.floating-icon i {
    font-size: 1.5rem;
    color: #1e3a8a;
}

.icon-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.icon-2 {
    top: 20px;
    right: 20px;
    animation-delay: 0.5s;
}

.icon-3 {
    bottom: 20px;
    left: 20px;
    animation-delay: 1s;
}

.icon-4 {
    bottom: 20px;
    right: 20px;
    animation-delay: 1.5s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Wave Divider */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero-new {
        padding: 80px 0 100px;
        min-height: 500px;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-image-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .hero-icon-large {
        width: 150px;
        height: 150px;
    }
    
    .hero-icon-large i {
        font-size: 4rem;
    }
    
    .hero-logo-large {
        width: 220px;
        height: 220px;
        padding: 25px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-new {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero-content-wrapper {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats-row {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-stat-item .stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-image-container {
        width: 280px;
        height: 280px;
    }
    
    .hero-icon-large {
        width: 120px;
        height: 120px;
    }
    
    .hero-icon-large i {
        font-size: 3rem;
    }
    
    .hero-logo-large {
        width: 120px;
        height: 120px;
        padding: 12px;
    }
    
    .floating-icon {
        width: 45px;
        height: 45px;
    }
    
    .floating-icon i {
        font-size: 1rem;
    }
    
    .icon-1, .icon-2, .icon-3, .icon-4 {
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }
    
    .icon-1 {
        top: 10px;
        left: 10px;
    }
    
    .icon-2 {
        top: 10px;
        right: 10px;
    }
    
    .icon-3 {
        bottom: 10px;
        left: 10px;
    }
    
    .icon-4 {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-shape {
        opacity: 0.5;
    }
}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats-row {
        gap: 20px;
    }
    
    .hero-stat-item .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-image-container {
        width: 240px;
        height: 240px;
    }
    
    .hero-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .hero-icon-large i {
        font-size: 2.5rem;
    }
    
    .hero-logo-large {
        width: 140px;
        height: 140px;
        padding: 15px;
    }
}

/* ======================================== */

/* Animated Stats Section */
.stats-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    background-size: 400% 400%;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    animation: glowPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.stats-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shine 6s linear infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(59, 130, 246, 0.3),
                0 0 40px rgba(255, 255, 255, 0.15) inset;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(360deg);
}

.stat-icon.happy-customers {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.stat-icon.reviews {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.stat-icon.mystery {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    animation: mysteryPulse 2s ease-in-out infinite;
}

@keyframes mysteryPulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(236, 72, 153, 0.6), 0 0 30px rgba(168, 85, 247, 0.4);
    }
}

.stat-icon.orders {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 15px 0;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    margin-left: 5px;
}

/* Remove plus sign from orders number */
.stat-number.orders-number::after {
    content: '';
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin-top: 10px;
}

/* Mystery Card Special Styling */
.mystery-card {
    background: white;
}

.mystery-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: #a855f7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
}

/* Orders Card Special Styling */
.orders-card {
    background: white;
}

/* Orders Dots Container */
.orders-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.blue-dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #3b82f6 0%, #1e40af 100%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.4);
    animation: dotFloat linear infinite;
    opacity: 0;
}

@keyframes dotFloat {
    0% {
        bottom: -10px;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(var(--dot-drift, 20px)) scale(1);
    }
}

/* Mystery Particles Container */
.mystery-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0.7;
}

.particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--particle-color, #a855f7) 0%, transparent 70%);
    box-shadow: 0 0 10px var(--particle-color, #a855f7);
}

@keyframes particleFloat {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(var(--particle-drift, 30px)) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stat-card {
        min-height: 200px;
        padding: 25px 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .mystery-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 30px 0;
    }
    
    .stat-card {
        min-height: 180px;
        padding: 20px 10px;
        border-radius: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-number::after {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .mystery-label {
        font-size: 1rem;
    }
    
    .particle {
        width: 6px;
        height: 6px;
    }
    
    .blue-dot {
        width: 4px;
        height: 4px;
    }
}


/* ================================================================
   REVIEWS.CSS - Review Component Styles
   ================================================================ */

/* ===== ANIMATED REVIEWS SECTION ===== */
.reviews-section {
    padding: 60px 0;
    background: linear-gradient(135deg, 
        #0f172a 0%, 
        #1e293b 25%,
        #1e3a8a 50%,
        #1e293b 75%,
        #0f172a 100%);
    background-size: 200% 200%;
    animation: shinyGradient 8s ease infinite;
    overflow: visible;
    position: relative;
    border-top: 3px solid rgba(30, 58, 138, 0.6);
    border-bottom: 3px solid rgba(30, 58, 138, 0.6);
}

@keyframes shinyGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Mini Animated Ribbons */
.reviews-section::before,
.reviews-section::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, 
        rgba(59, 130, 246, 0.8) 0%, 
        rgba(139, 92, 246, 0.6) 50%, 
        rgba(236, 72, 153, 0.4) 100%);
    animation: ribbonFall 12s ease-in-out infinite;
    opacity: 0.8;
    z-index: 5;
    pointer-events: none;
    border-radius: 2px;
}

.reviews-section::before {
    left: 10%;
    animation-delay: 0s;
}

.reviews-section::after {
    left: 80%;
    animation-delay: 6s;
}

@keyframes ribbonFall {
    0% {
        top: -40px;
        transform: rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 100%;
        transform: rotate(180deg) translateX(20px);
        opacity: 0;
    }
}

.reviews-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-scroll {
    display: flex;
    gap: 25px;
    width: max-content;
    will-change: transform;
    transition: none !important;
}

.reviews-scroll-left {
    animation: scroll-reviews-right 180s linear infinite;
    transition: none !important;
}

.reviews-scroll-left:hover {
    animation-play-state: paused;
}

@keyframes scroll-reviews-right {
    0% {
        transform: translate3d(-33.33%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.review-card {
    width: 450px;
    height: 180px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 1) 50%, 
        rgba(241, 245, 249, 0.98) 100%);
    border-radius: 20px;
    padding: 20px 25px;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
                inset 0 1px 3px rgba(255, 255, 255, 0.9),
                0 0 30px rgba(59, 130, 246, 0.3);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(
        90deg,
        #3b82f6 0%,
        #60a5fa 25%,
        #93c5fd 50%,
        #60a5fa 75%,
        #3b82f6 100%
    );
    background-size: 200% 100%;
    border-radius: 20px;
    z-index: -1;
    animation: shinyBorder 3s ease infinite;
}

@keyframes shinyBorder {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


/* Additional Light Dots */
.review-card .light-dot-1,
.review-card .light-dot-2,
.review-card .light-dot-3 {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 10;
    animation: moveDot 6s linear infinite;
}

.light-dot-1 {
    background: radial-gradient(circle, #10b981 0%, #047857 100%);
    box-shadow: 0 0 20px #10b981, 0 0 40px #10b981;
    top: 30%;
    right: -5px;
    animation-delay: 1s;
}

.light-dot-2 {
    background: radial-gradient(circle, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 0 20px #f59e0b, 0 0 40px #f59e0b;
    bottom: 30%;
    left: -5px;
    animation-delay: 2s;
}

.light-dot-3 {
    background: radial-gradient(circle, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;
    top: 50%;
    left: -5px;
    animation-delay: 4s;
}

@keyframes moveDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

.review-card:hover {
    transform: none !important;
    background: inherit !important;
    box-shadow: inherit !important;
    color: inherit !important;
}

.review-card:hover * {
    color: inherit !important;
}

.review-card:hover .review-product span {
    color: inherit !important;
    font-weight: inherit !important;
}

.review-card:hover .review-product {
    background: inherit !important;
}

.review-card:hover .review-stars i.active {
    color: inherit !important;
    filter: none !important;
    animation: none !important;
}

@keyframes shimmerStar {
    0%, 100% {
        filter: drop-shadow(0 0 8px #fbbf24) drop-shadow(0 0 15px #fbbf24) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 12px #fcd34d) drop-shadow(0 0 20px #fcd34d) brightness(1.3);
    }
}

.review-card:hover::before {
    display: none !important;
    background: none !important;
    animation: none !important;
}

@keyframes shinyBorderHover {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.review-dots {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.review-dots::before,
.review-dots::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #90ee90, #4caf50);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
    animation: floatDot 3s ease-in-out infinite;
}

.review-dots::before {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.review-dots::after {
    top: 20px;
    right: 15px;
    animation-delay: 1.5s;
}

@keyframes floatDot {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 5px 0;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    font-size: 14px;
    color: #cbd5e1;
}

.review-stars i.active {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.review-text {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1;
}

.review-product {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 10px;
    font-size: 13px;
    color: #64748b;
}

.review-product i {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 40px 0;
    }
    
    .review-card {
        width: 320px;
        height: 200px;
        padding: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .review-text {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    
    .review-header {
        margin-bottom: 10px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .review-name {
        font-size: 14px;
    }
    
    .review-stars i {
        font-size: 12px;
    }
    
    .review-product {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .reviews-scroll {
        gap: 15px;
    }
}


/* ================================================================
   PRODUCT.CSS - Product Page Styles
   ================================================================ */

:root{
  --primary: #1e3a8a;
  --accent: #3b82f6;
  --muted: #64748b;
  --card-bg: #ffffff;
}

/* Page wrapper */
.product-detail-page{background:#f8f9fa;padding:50px 0;}
.product-main-section{background:var(--card-bg);border-radius:14px;padding:30px;box-shadow:0 8px 30px rgba(2,6,23,0.06);}

/* Gallery column */
.product-gallery-container{width:100%;}
.main-product-image{width:100%;height:auto;border-radius:12px;object-fit:cover;display:block;}
.thumbnail-images{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap;}
.thumbnail-item{width:64px;height:64px;border-radius:8px;cursor:pointer;object-fit:cover;border:2px solid transparent;transition:all .2s;}
.thumbnail-item.active{border-color:var(--primary);transform:translateY(-4px);}

/* Product info column */
.product-category-badge{display:inline-block;color:var(--primary);font-weight:700;font-size:0.85rem;text-transform:uppercase;margin-bottom:10px;}
.product-title{font-size:2rem;font-weight:800;color:#0f172a;margin-bottom:12px;line-height:1.15;}
.product-rating{display:flex;align-items:center;gap:8px;margin-bottom:18px;color:var(--muted);font-size:0.95rem;}

.product-price-section{margin-bottom:20px;}
.current-price{font-size:1.3rem;font-weight:800;color:var(--primary);display:inline-block;}
.original-price{font-size:1.1rem;color:#dc2626;text-decoration:line-through;margin-left:12px;}

/* Short description */
.product-description{color:var(--muted);line-height:1.7;margin-bottom:22px;}

/* Variants */
.variant-section{margin-bottom:18px;}
.variant-label{font-weight:700;font-size:1rem;color:var(--heading);margin-bottom:10px;display:block;}
.variant-options{display:flex;gap:12px;flex-wrap:wrap;}
.variant-box{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:8px;border:1px solid #e6eefc;background:#fff;cursor:pointer;min-width:120px;box-shadow:0 4px 12px rgba(2,6,23,0.03);}
.variant-box.active{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 8px 30px rgba(30,58,138,0.12);}
.variant-image{width:30px;height:30px;border-radius:6px;object-fit:cover;}
.variant-name{font-weight:600;font-size:0.9rem;}

/* Quantity */
.quantity-section{margin-bottom:18px;}
.quantity-selector{display:inline-flex;align-items:center;border:1px solid #e6eefc;border-radius:8px;overflow:hidden;}
.quantity-btn{background:#fff;border:none;padding:8px 12px;font-weight:800;color:var(--primary);cursor:pointer;}
.quantity-input{border:none;width:64px;text-align:center;font-weight:800;padding:8px;}

/* Buttons */
.action-buttons{display:flex;gap:12px;margin-top:18px;}
.btn-add-cart{background:linear-gradient(145deg, #10b981 0%, #059669 50%, #047857 100%);color:#ffffff;border:2px solid rgba(255, 255, 255, 0.3);padding:12px 28px;border-radius:50px;font-weight:800;cursor:pointer;box-shadow:0 8px 26px rgba(16, 185, 129, 0.35);}
.btn-buy-now{background:linear-gradient(145deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);color:#ffffff;border:2px solid rgba(255, 255, 255, 0.3);padding:12px 28px;border-radius:50px;font-weight:800;cursor:pointer;box-shadow:0 8px 26px rgba(30, 58, 138, 0.35);}

/* Status */
.status-badge{display:inline-block;padding:8px 14px;border-radius:20px;font-weight:700;}
.status-in-stock{background:#d1fae5;color:#065f46;}
.status-limited{background:#fef3c7;color:#92400e;}
.status-out-stock{background:#fee2e2;color:#991b1b;}

/* Features & related */
.features-section{background:#fff;border-radius:14px;padding:24px;box-shadow:0 4px 20px rgba(2,6,23,0.05);margin-top:20px;}
.related-products-section{margin-top:40px;}
/* Related product cards now use .product-card-modern class from style.css */
.related-products-section .original-price {
    font-size: 0.95rem;
    color: #dc2626; /* Standardized to match existing .original-price color */
    font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .product-title{font-size:1.4rem;}
  .current-price{font-size:1.3rem;}
  .thumbnail-item{width:56px;height:56px;}
}

/* ================================================================
   CARD-COLLECTION.CSS - Card Collection Styles
   ================================================================ */

/* Card Collection System Styles */

/* Collect Card Button Styles */
.btn-collect-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-collect-card:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white;
}

.btn-collect-card:active {
    transform: translateY(0);
}

.btn-collect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-collect-card:hover::before {
    left: 100%;
}

/* Mobile Collect Card Button */
.btn-collect-card-mobile {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-collect-card-mobile:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white;
}

/* Card Collection Modal */
.card-collection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.card-collection-modal.show {
    opacity: 1;
    visibility: visible;
}

.congratulations-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.card-collection-modal.show .congratulations-card {
    transform: scale(1);
}

.congratulations-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.congratulations-card h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.congratulations-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.golden-card {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 25%, #ffd700 50%, #ffb300 75%, #ffd700 100%);
    background-size: 200% 200%;
    animation: goldenShimmer 3s ease-in-out infinite;
}

@keyframes goldenShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.golden-card h2 {
    background: linear-gradient(45deg, #8b4513, #d2691e, #8b4513);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.golden-card p {
    color: #8b4513;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Credit Card Dimensions - GRID LAYOUT */
.collection-card {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.6/1 !important;
    min-height: 50px !important;
    max-height: 70px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.collection-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Card Gradients */
.card-gradient-black {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
}

.card-gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    color: white;
}

.card-gradient-silver {
    background: linear-gradient(135deg, #bdc3c7 0%, #ecf0f1 25%, #bdc3c7 50%, #95a5a6 75%, #bdc3c7 100%);
    background-size: 200% 200%;
    animation: silverShimmer 4s ease-in-out infinite;
    color: #2c3e50;
}

@keyframes silverShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card-gradient-golden {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 25%, #ffd700 50%, #ffb300 75%, #ffd700 100%);
    background-size: 200% 200%;
    animation: goldenShimmer 3s ease-in-out infinite;
    color: #8b4513;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.card-gradient-golden:hover {
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
}

/* Locked Card Styles */
.collection-card.locked {
    background: linear-gradient(135deg, #95a5a6 0%, #bdc3c7 100%);
    color: #7f8c8d;
    cursor: not-allowed;
    opacity: 0.6;
}

.collection-card.locked:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #7f8c8d;
}

/* Phase Container */
.phase-container {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phase-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: white !important;
}

.cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    justify-items: stretch !important;
}

/* Center the 10th card (last card) in its row */
.collection-card:nth-child(10) {
    grid-column: 2 / 3 !important;
    grid-row: 4 / 5 !important;
}

/* Collected Card Green Gradient */
.collected-card {
    background: linear-gradient(135deg, #10b981 0%, #34d399 25%, #6ee7b7 50%, #34d399 75%, #10b981 100%) !important;
    background-size: 200% 200% !important;
    animation: greenShimmer 3s ease-in-out infinite !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4), 
                0 0 30px rgba(52, 211, 153, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.collected-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: collectShimmer 2s linear infinite;
    pointer-events: none;
}

.collected-card:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6), 
                0 0 40px rgba(52, 211, 153, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

@keyframes greenShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes collectShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Card Gradient Colors by Position */
.card-gradient-black {
    background: linear-gradient(135deg, #1f2937 0%, #374151 25%, #4b5563 50%, #374151 75%, #1f2937 100%) !important;
    background-size: 200% 200% !important;
    animation: blackShimmer 3s ease-in-out infinite !important;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.4), 
                0 0 30px rgba(75, 85, 99, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.card-gradient-blue {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #1e40af 100%) !important;
    background-size: 200% 200% !important;
    animation: blueShimmer 3s ease-in-out infinite !important;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4), 
                0 0 30px rgba(59, 130, 246, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.card-gradient-silver {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 25%, #d1d5db 50%, #9ca3af 75%, #6b7280 100%) !important;
    background-size: 200% 200% !important;
    animation: silverShimmer 3s ease-in-out infinite !important;
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.4), 
                0 0 30px rgba(156, 163, 175, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.card-gradient-golden {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 25%, #fcd34d 50%, #f59e0b 75%, #fbbf24 100%) !important;
    background-size: 200% 200% !important;
    animation: goldenShimmer 3s ease-in-out infinite !important;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4), 
                0 0 30px rgba(245, 158, 11, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    color: #92400e !important;
}

@keyframes blackShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blueShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes silverShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes goldenShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .collection-card {
        width: 100% !important;
        height: auto !important;
        min-height: 45px !important;
        max-height: 50px !important;
        aspect-ratio: 1.6/1 !important;
    }
    
    .congratulations-card {
        width: 90%;
        max-width: 400px;
        padding: 30px 20px;
    }
    
    .congratulations-card h2 {
        font-size: 1.5rem;
    }
    
    .congratulations-card p {
        font-size: 1rem;
    }
    
    .card-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .collection-card {
        width: 100% !important;
        height: auto !important;
        min-height: 40px !important;
        max-height: 45px !important;
        aspect-ratio: 1.6/1 !important;
    }
    
    .congratulations-card {
        padding: 25px 15px;
    }
    .congratulations-card h2 {
        font-size: 1.3rem;
    }
    
    .congratulations-card p {
        font-size: 1rem;
    }
}


/* ================================================================
   CUSTOM-DIALOGS.CSS - Dialog/Modal Styles
   ================================================================ */

/* Custom Dialog System - Ultra Modern & Shiny */

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.dialog-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 28px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.35),
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 440px;
    width: 90%;
    padding: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: scale(0.7) translateY(40px);
    opacity: 0;
    animation: slideInBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.1s;
}

@keyframes slideInBounce {
    0% {
        transform: scale(0.7) translateY(40px);
        opacity: 0;
    }
    50% {
        transform: scale(1.02) translateY(-5px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
}

.dialog-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: -45px auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    animation: iconBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-delay: 0.2s;
    position: relative;
    overflow: hidden;
}

.dialog-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes iconBounce {
    0% { 
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.15) rotate(10deg);
    }
    70% {
        transform: scale(0.95) rotate(-5deg);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.dialog-icon.success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    color: white;
    box-shadow: 
        0 15px 40px rgba(16, 185, 129, 0.5),
        0 5px 15px rgba(16, 185, 129, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.dialog-icon.error {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    color: white;
    box-shadow: 
        0 15px 40px rgba(239, 68, 68, 0.5),
        0 5px 15px rgba(239, 68, 68, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.dialog-icon.warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: white;
    box-shadow: 
        0 15px 40px rgba(245, 158, 11, 0.5),
        0 5px 15px rgba(245, 158, 11, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.dialog-icon.info {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    color: white;
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.5),
        0 5px 15px rgba(59, 130, 246, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.dialog-icon.danger {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #db2777 100%);
    color: white;
    box-shadow: 
        0 15px 40px rgba(236, 72, 153, 0.5),
        0 5px 15px rgba(236, 72, 153, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.dialog-content {
    padding: 55px 35px 35px; text-align: center;
}

.dialog-title {
    font-size: 1.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 18px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    animation: titleSlide 0.5s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dialog-message {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 30px 0;
    animation: messageSlide 0.5s ease-out;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dialog-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 35px 35px;
}

.dialog-btn {
    width: 100%;
    padding: 16px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: buttonSlide 0.5s ease-out;
    animation-fill-mode: both;
}

.dialog-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
}

.dialog-btn:hover::before {
    left: 100%;
}

@keyframes buttonSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dialog-btn:nth-child(1) {
    animation-delay: 0.5s;
}

.dialog-btn:nth-child(2) {
    animation-delay: 0.55s;
}

.dialog-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.dialog-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.dialog-btn-cancel {
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.dialog-btn-cancel:hover {
    background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    color: #475569;
}

.dialog-btn-confirm {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    color: white;
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.dialog-btn-confirm:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.5);
}

.dialog-btn-danger {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #db2777 100%);
    color: white;
    box-shadow: 
        0 8px 20px rgba(236, 72, 153, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.dialog-btn-danger:hover {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.5);
}

.dialog-btn-success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    color: white;
    box-shadow: 
        0 8px 20px rgba(16, 185, 129, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.dialog-btn-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

/* Progress Ring for video watching */
.dialog-progress {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.progress-ring {
    width: 80px;
    height: 80px;
    position: relative;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke: #e5e7eb;
    fill: none;
    stroke-width: 8;
}

.progress-ring-progress {
    stroke: url(#progressGradient);
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
}

/* Responsive */
@media (max-width: 640px) {
    .dialog-box {
        width: 92%;
        max-width: 92%;
        border-radius: 24px;
    }
    
    .dialog-icon {
        width: 80px;
        height: 80px;
        margin: -40px auto 20px;
        font-size: 2.4rem;
    }
    
    .dialog-content {
        padding: 48px 28px 28px;
    }
    
    .dialog-buttons {
        padding: 0 28px 28px;
        gap: 10px;
    }
    
    .dialog-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .dialog-title {
        font-size: 1.4rem;
    }
    
    .dialog-message {
        font-size: 0.95rem;
    }
}

/* Loading spinner with modern animation */
.dialog-loading {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-right-color: white;
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add pulse animation for interactive feeling */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Hover effect for the entire dialog box */
.dialog-box:hover {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ================================================================
   GLOBAL CONFIRMATION & DELETE MODALS
   Used across all user pages for confirmations and chatbot suggestions
   ================================================================ */

.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147483647; /* Maximum z-index value */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.confirm-modal.show {
    opacity: 1;
    visibility: visible;
}

.confirm-modal-content {
    background: white;
    border-radius: 20px;
    padding: 35px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.confirm-modal.show .confirm-modal-content {
    transform: scale(1);
}

.confirm-modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirm-modal-icon.warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.confirm-modal-icon.warning i {
    color: #f59e0b;
}

.confirm-modal-icon.danger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.confirm-modal-icon.danger i {
    color: #ef4444;
}

.confirm-modal-icon.info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.confirm-modal-icon.info i {
    color: #1e3a5f;
}

.confirm-modal-icon.success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.confirm-modal-icon.success i {
    color: #10b981;
}

.confirm-modal-icon i {
    font-size: 2rem;
}

.confirm-modal h3 {
    color: #1e3a8a;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.confirm-modal p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.confirm-modal-body {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 18px;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 20px;
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    line-height: 1.6;
    color: #334155;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-modal-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.confirm-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.confirm-modal-btn.cancel {
    background: #f1f5f9;
    color: #64748b;
}

.confirm-modal-btn.cancel:hover {
    background: #e2e8f0;
}

.confirm-modal-btn.confirm {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.confirm-modal-btn.confirm:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.confirm-modal-btn.primary {
    background: linear-gradient(135deg, #1e3a5f, #234681);
    color: white;
}

.confirm-modal-btn.primary:hover {
    background: linear-gradient(135deg, #234681, #2d5aa3);
}

.confirm-modal-btn.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.confirm-modal-btn.success:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.confirm-modal-btn.secondary {
    background: #64748b;
    color: white;
}

.confirm-modal-btn.secondary:hover {
    background: #475569;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .confirm-modal {
        padding: 15px !important;
    }
    
    .confirm-modal-content {
        padding: 25px;
        max-width: 100%;
    }
    
    .confirm-modal-actions {
        flex-direction: column;
    }
    
    .confirm-modal-btn {
        width: 100%;
        justify-content: center;
    }
    
    .confirm-modal h3 {
        font-size: 1.2rem;
    }
    
    .confirm-modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .confirm-modal-icon i {
        font-size: 1.5rem;
    }
}

/* ==========================================
   UNIFIED PRODUCT CARD STYLES
   Navy Blue & White Theme with Animations
   Used on: Shop Page, Home Page, Product Page
   ========================================== */

/* Product Card Container */
.product-card-modern {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    height: 100% !important;
    position: relative !important;
    border: 1px solid rgba(30, 58, 138, 0.08) !important;
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 50%, #1e3a8a 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-modern:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-card-modern:hover::before {
    opacity: 1;
    animation: shimmerGradient 2s linear infinite;
}

@keyframes shimmerGradient {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Product Image Container */
.product-card-modern .product-image {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
}

.product-card-modern .product-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.product-card-modern:hover .product-image img {
    transform: scale(1.1) !important;
}

/* Favorite Button */
.product-card-modern .favorite-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 42px !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 3 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.product-card-modern .favorite-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    transform: scale(1.15) rotate(5deg) !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4) !important;
}

.product-card-modern .favorite-btn i {
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    color: #0f172a !important; /* dark icon for visibility on white button */
}

.product-card-modern .favorite-btn i.fas {
    color: #fbbf24 !important;
}

.product-card-modern .favorite-btn.favorited {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
}

.product-card-modern .favorite-btn.favorited i {
    color: #fbbf24 !important;
}

.product-card-modern .favorite-btn:hover i {
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

/* Product Info Section */
.product-card-modern .product-info {
    padding: 18px 16px 16px !important;
    background: #ffffff !important;
}

/* Product Meta Row */
.product-card-modern .product-meta-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(30, 58, 138, 0.08) !important;
}

.product-card-modern .stock-text {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.product-card-modern .stock-text::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
    animation: pulse 2s infinite !important;
}

.product-card-modern .stock-text.in-stock {
    color: #059669 !important;
    background: rgba(5, 150, 105, 0.1) !important;
}

.product-card-modern .stock-text.in-stock::before {
    background: #10b981 !important;
}

.product-card-modern .stock-text.out-of-stock {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.1) !important;
}

.product-card-modern .stock-text.out-of-stock::before {
    background: #ef4444 !important;
    animation: none !important;
}

.product-card-modern .stock-text.limited {
    color: #d97706 !important;
    background: rgba(217, 119, 6, 0.1) !important;
}

.product-card-modern .stock-text.limited::before {
    background: #f59e0b !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.product-card-modern .sold-stat {
    font-size: 0.72rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.product-card-modern .sold-stat::before {
    content: '🔥' !important;
    font-size: 0.8rem !important;
}

/* Product Title */
.product-card-modern .product-title {
    color: #1e3a8a !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.4 !important;
    height: 1.6em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    transition: color 0.3s ease !important;
}

.product-card-modern:hover .product-title {
    color: #3b82f6 !important;
}

/* Product Price */
.product-card-modern .product-price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}

.product-card-modern .current-price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.product-card-modern .original-price {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

/* Product Action Buttons */
.product-card-modern .product-actions {
    display: flex !important;
    gap: 10px !important;
}

/* Shared button base styles for Cart, In-Cart, and Buy buttons */
.product-card-modern .btn-cart,
.product-card-modern .btn-in-cart,
.product-card-modern .btn-buy {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    height: 38px !important;
    border-radius: 999px !important;
    border: 2px solid white !important;
    background-clip: padding-box !important;
    position: relative !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    -webkit-font-smoothing: antialiased !important;
    overflow: visible !important;
}

/* Cart Button - Green Shiny Gradient */
.product-card-modern .btn-cart {
    background: linear-gradient(145deg, #064e3b 0%, #047857 100%) !important;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.15) !important;
}

.product-card-modern .btn-cart::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: linear-gradient(145deg, #047857 0%, #10b981 25%, #34d399 50%, #10b981 75%, #047857 100%) !important;
    border-radius: 999px !important;
    z-index: -1 !important;
    background-size: 200% 200% !important;
    animation: shinyBorderCart 3s linear infinite !important;
}

@keyframes shinyBorderCart {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.product-card-modern .btn-cart:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.25) !important;
    color: white !important;
}

/* In Cart Button - Dark Red Shiny Gradient */
.product-card-modern .btn-in-cart {
    background: linear-gradient(145deg, #7f1d1d 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 12px rgba(127, 29, 29, 0.15) !important;
}

.product-card-modern .btn-in-cart::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: linear-gradient(145deg, #dc2626 0%, #ef4444 25%, #f87171 50%, #ef4444 75%, #dc2626 100%) !important;
    border-radius: 999px !important;
    z-index: -1 !important;
    background-size: 200% 200% !important;
    animation: shinyBorderInCart 3s linear infinite !important;
}

@keyframes shinyBorderInCart {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.product-card-modern .btn-in-cart:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 18px rgba(127, 29, 29, 0.25) !important;
    color: white !important;
}

/* Wishlist Button (Full Width for Out of Stock) */
.product-card-modern .btn-wishlist-full {
    flex: 1 !important;
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
    width: 100% !important;
}

.product-card-modern .btn-wishlist-full:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
}

/* Buy Button - Navy Blue Shiny Gradient */
.product-card-modern .btn-buy {
    background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 50%, #1e3a8a 100%) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15) !important;
}

.product-card-modern .btn-buy::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: linear-gradient(145deg, #1e3a8a 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #1e3a8a 100%) !important;
    border-radius: 999px !important;
    z-index: -1 !important;
    background-size: 200% 200% !important;
    animation: shinyBorderBuy 3s linear infinite !important;
}

@keyframes shinyBorderBuy {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.product-card-modern .btn-buy:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.25) !important;
    color: white !important;
}

/* ==========================================
   UNIFIED PRODUCT CARD - MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .product-card-modern:hover {
        transform: translateY(-6px) scale(1.01) !important;
    }
    
    .product-card-modern .product-info {
        padding: 14px 12px 12px !important;
    }
    
    .product-card-modern .product-title {
        font-size: 0.9rem !important;
    }
    
    .product-card-modern .current-price {
        font-size: 0.85rem !important;
    }
    
    /* Unified button sizing for mobile - all buttons EXACTLY same size */
    .product-card-modern .btn-cart,
    .product-card-modern .btn-buy,
    .product-card-modern .btn-in-cart {
        flex: 1 1 0 !important;
        width: 50% !important;
        max-width: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 8px !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        border-radius: 999px !important;
        height: 32px !important;
        border: 2px solid white !important;
        box-sizing: border-box !important;
    }
    
    .product-card-modern .btn-wishlist-full {
        flex: 1 1 100% !important;
        width: 100% !important;
        padding: 6px 8px !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        border-radius: 999px !important;
        height: 32px !important;
    }
    
    .product-card-modern .product-actions {
        display: flex !important;
        gap: 6px !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Hide swipe instruction on mobile to avoid clutter */
    .swipe-instruction {
        display: none !important;
    }
    
    .product-card-modern .favorite-btn {
        width: 36px !important;
        height: 36px !important;
        top: 8px !important;
        right: 8px !important;
    }
    
    .product-card-modern .favorite-btn i {
        font-size: 0.9rem !important;
    }
    
    .product-card-modern .stock-text {
        font-size: 0.6rem !important;
        padding: 3px 8px !important;
    }
    
    .product-card-modern .sold-stat {
        font-size: 0.65rem !important;
    }
    
    .product-card-modern .product-meta-row {
        margin-bottom: 8px !important;
        padding-bottom: 6px !important;
    }
    
    .product-card-modern .product-price {
        margin-bottom: 10px !important;
        gap: 6px !important;
    }
    
    .product-card-modern .original-price {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .product-card-modern .product-info {
        padding: 12px 10px 10px !important;
    }
    
    .product-card-modern .product-title {
        font-size: 0.85rem !important;
        height: auto !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
    }
    
    /* Even smaller buttons for very small screens - all EXACTLY same size */
    .product-card-modern .btn-cart,
    .product-card-modern .btn-buy,
    .product-card-modern .btn-in-cart {
        flex: 1 1 0 !important;
        width: 50% !important;
        max-width: 50% !important;
        padding: 5px 6px !important;
        font-size: 0.65rem !important;
        height: 28px !important;
    }
    
    .product-card-modern .btn-wishlist-full {
        padding: 5px 6px !important;
        font-size: 0.65rem !important;
        height: 28px !important;
    }
    
    .product-card-modern .product-actions {
        gap: 4px !important;
    }
}

/* ===========================================
   SHOP PAGE DROPDOWN OVERRIDES - HIGHEST PRIORITY
   These styles override all other dropdown styles
   =========================================== */
body.shop-page .custom-dropdown,
body.shop-page .shop-filters .custom-dropdown {
    position: relative !important;
    min-width: 160px !important;
}

body.shop-page .dropdown-selected,
body.shop-page .shop-filters .dropdown-selected {
    padding: 14px 18px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e3a8a !important;
    user-select: none !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.shop-page .dropdown-selected:hover,
body.shop-page .shop-filters .dropdown-selected:hover {
    border-color: #3b82f6 !important;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15) !important;
}

body.shop-page .dropdown-arrow,
body.shop-page .shop-filters .dropdown-arrow {
    font-size: 12px !important;
    color: #3b82f6 !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

body.shop-page .custom-dropdown.active .dropdown-arrow,
body.shop-page .shop-filters .custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg) !important;
    color: #1e3a8a !important;
}

body.shop-page .custom-dropdown.active .dropdown-selected,
body.shop-page .shop-filters .custom-dropdown.active .dropdown-selected {
    border-color: #3b82f6 !important;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 8px 25px rgba(59, 130, 246, 0.2) !important;
    border-radius: 14px 14px 0 0 !important;
}

body.shop-page .dropdown-options,
body.shop-page .shop-filters .dropdown-options {
    position: absolute !important;
    top: calc(100% - 2px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 2px solid #3b82f6 !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.2) !important;
    z-index: 1000 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: perspective(500px) rotateX(-10deg) !important;
    transform-origin: top center !important;
    transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

body.shop-page .custom-dropdown.active .dropdown-options,
body.shop-page .shop-filters .custom-dropdown.active .dropdown-options {
    max-height: 320px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: perspective(500px) rotateX(0deg) !important;
    overflow-y: auto !important;
}

body.shop-page .dropdown-option,
body.shop-page .shop-filters .dropdown-option {
    padding: 14px 18px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
    text-align: left !important;
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.shop-page .dropdown-option:last-child,
body.shop-page .shop-filters .dropdown-option:last-child {
    border-bottom: none !important;
    border-radius: 0 0 12px 12px !important;
}

body.shop-page .dropdown-option:hover,
body.shop-page .shop-filters .dropdown-option:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(30, 58, 138, 0.05) 100%) !important;
    color: #1e3a8a !important;
    padding-left: 24px !important;
}

body.shop-page .dropdown-option.selected,
body.shop-page .shop-filters .dropdown-option.selected {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    color: white !important;
    font-weight: 600 !important;
}

body.shop-page .dropdown-option.selected:hover,
body.shop-page .shop-filters .dropdown-option.selected:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    padding-left: 24px !important;
}

/* Clear Filters Button Override */
body.shop-page .clear-filters-btn,
body.shop-page .shop-filters .clear-filters-btn,
body.shop-page .clear-all-filters-btn,
body.shop-page .shop-filters .clear-all-filters-btn {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 14px !important;
    border: none !important;
    background: linear-gradient(145deg, #7f1d1d 0%, #991b1b 25%, #dc2626 50%, #b91c1c 75%, #7f1d1d 100%) !important;
    background-size: 200% 200% !important;
    animation: redGradientPulse 3s ease infinite !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4),
                0 2px 4px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

@keyframes redGradientPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

body.shop-page .clear-filters-btn.visible,
body.shop-page .shop-filters .clear-filters-btn.visible,
body.shop-page .clear-all-filters-btn,
body.shop-page .shop-filters .clear-all-filters-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) rotate(0deg) !important;
}

body.shop-page .clear-filters-btn:hover,
body.shop-page .shop-filters .clear-filters-btn:hover,
body.shop-page .clear-all-filters-btn:hover,
body.shop-page .shop-filters .clear-all-filters-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5),
                0 0 20px rgba(220, 38, 38, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
    background: linear-gradient(145deg, #991b1b 0%, #b91c1c 25%, #ef4444 50%, #dc2626 75%, #991b1b 100%) !important;
}

body.shop-page .clear-filters-btn:hover i,
body.shop-page .shop-filters .clear-filters-btn:hover i,
body.shop-page .clear-all-filters-btn:hover i,
body.shop-page .shop-filters .clear-all-filters-btn:hover i {
    transform: rotate(90deg) scale(1.1) !important;
}

body.shop-page .clear-filters-btn i,
body.shop-page .shop-filters .clear-filters-btn i,
body.shop-page .clear-all-filters-btn i,
body.shop-page .shop-filters .clear-all-filters-btn i {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
/* Search Wrapper Override for Shop Page */
body.shop-page .search-wrapper,
body.shop-page .shop-filters .search-wrapper {
    position: relative !important;
    flex: 1 !important;
    min-width: 200px !important;
    max-width: 450px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.shop-page .search-input-container,
body.shop-page .shop-filters .search-input-container {
    position: relative !important;
    flex: 1 !important;
    display: block !important;
}

body.shop-page .search-input-modern,
body.shop-page .shop-filters .search-input-modern {
    width: 100% !important;
    padding: 14px 55px 14px 20px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    font-size: 0.95rem !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

body.shop-page .search-input-modern:focus,
body.shop-page .shop-filters .search-input-modern:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
    background: #ffffff !important;
}

body.shop-page .search-btn-modern,
body.shop-page .shop-filters .search-btn-modern {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    border: none !important;
    color: white !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.shop-page .search-btn-modern:hover,
body.shop-page .shop-filters .search-btn-modern:hover {
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
}

/* ========================================
   SHOP PAGE MOBILE FILTERS - FINAL OVERRIDE
   Search + Clear button on row 1, Dropdowns on row 2
   ======================================== */
@media (max-width: 768px) {
    body.shop-page .filters-row,
    body.shop-page .shop-filters .filters-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        align-items: center !important;
    }
    
    /* Row 1: Search takes flex space, clear button is fixed width */
    body.shop-page .search-wrapper,
    body.shop-page .shop-filters .search-wrapper {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 50px) !important;
        order: 1 !important;
    }
    
    body.shop-page .clear-all-filters-btn,
    body.shop-page .shop-filters .clear-all-filters-btn {
        order: 2 !important;
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }
    
    /* Row 2: Both dropdowns side by side, each 50% */
    body.shop-page .filter-dropdown-wrapper,
    body.shop-page .shop-filters .filter-dropdown-wrapper {
        flex: 0 1 47% !important;
        min-width: 0 !important;
        max-width: 47% !important;
        width: 47% !important;
        order: 3 !important;
    }
    
    body.shop-page .search-btn-modern,
    body.shop-page .shop-filters .search-btn-modern {
        right: 5px !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    body.shop-page .search-input-modern,
    body.shop-page .shop-filters .search-input-modern {
        padding: 10px 42px 10px 14px !important;
        height: 40px !important;
    }
}

@media (max-width: 576px) {
    body.shop-page .filters-row,
    body.shop-page .shop-filters .filters-row {
        gap: 4px !important;
        padding: 6px !important;
    }
    
    body.shop-page .search-wrapper,
    body.shop-page .shop-filters .search-wrapper {
        max-width: calc(100% - 46px) !important;
    }
    
    body.shop-page .clear-all-filters-btn,
    body.shop-page .shop-filters .clear-all-filters-btn {
        flex: 0 0 38px !important;
    }
}

/* ========================================
   PWA Install Prompt - Custom Styling
   ======================================== */
.fr-install-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.15s ease-out;
    will-change: opacity;
}

.fr-install-overlay.visible {
    display: flex;
}

.fr-install-modal {
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
    background-size: 200% 200%;
    animation: modalShine 8s ease-in-out infinite;
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15),
                0 10px 20px rgba(30, 58, 138, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    animation: slideUp 0.2s cubic-bezier(0.4, 0, 0.2, 1), modalShine 8s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.8);
    will-change: transform, opacity;
}

.fr-install-header {
    text-align: center;
    margin-bottom: 30px;
}

.fr-install-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    background: transparent;
    padding: 0;
    position: relative;
    border: 4px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(145deg, #1e3a8a 0%, #243b7c 50%, #172a57 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.fr-install-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
}


.fr-install-title {
    background: linear-gradient(145deg, #020817 0%, #0a1628 20%, #1e3a5f 50%, #2563eb 75%, #1e3a5f 90%, #0a1628 100%);
    background-size: 200% 200%;
    animation: textShine 6s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.fr-install-subtitle {
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.fr-install-features {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.fr-install-feature {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: transform;
}

.fr-install-feature:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.fr-install-feature i {
    font-size: 1.8rem;
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fr-install-feature span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

.fr-install-actions {
    display: flex;
    gap: 12px;
    flex-direction: row;
    justify-content: space-between;
}

.fr-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(145deg, #1e3a8a 0%, #243b7c 50%, #172a57 100%);
    background-size: 200% 200%;
    animation: buttonShine 6s linear infinite;
    border: 1.5px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
    flex: 1;
}

.fr-install-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.fr-install-button:hover::before {
    left: 100%;
}

.fr-install-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.35);
}

.fr-install-button:active {
    transform: translateY(-1px) scale(0.98);
}

.fr-install-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(145deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    background-size: 200% 200%;
    animation: buttonShine 6s linear infinite;
    border-radius: 999px;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
    flex: 1;
}

.fr-install-cancel:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
}

.fr-install-cancel:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes textShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fr-install-modal {
        padding: 30px 24px;
        max-width: 95%;
    }
    
    .fr-install-icon {
        width: 100px;
        height: 100px;
    }
    
    .fr-install-title {
        font-size: 1.6rem;
    }
    
    .fr-install-subtitle {
        font-size: 0.9rem;
    }
    
    .fr-install-features {
        gap: 12px;
    }
    
    .fr-install-feature {
        min-width: 100px;
        padding: 12px;
    }
    
    .fr-install-feature i {
        font-size: 1.5rem;
    }
    
    .fr-install-feature span {
        font-size: 0.75rem;
    }
    
    .fr-install-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .fr-install-cancel {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}