* { 
    -webkit-tap-highlight-color: transparent; 
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #FFFBF5;
    overflow-x: hidden;
}

/* Scrollbar Styling */
.custom-scrollbar::-webkit-scrollbar { 
    width: 6px; 
}
.custom-scrollbar::-webkit-scrollbar-track { 
    background: transparent; 
}
.custom-scrollbar::-webkit-scrollbar-thumb { 
    background-color: rgba(15, 76, 58, 0.3); 
    border-radius: 20px; 
}

/* Glassmorphism */
.glass { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1.2s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active .hero-content-delay-1 { 
    transition-delay: 0.2s; 
}
.hero-slide.active .hero-content-delay-2 { 
    transition-delay: 0.4s; 
}
.hero-slide.active .hero-content-delay-3 { 
    transition-delay: 0.6s; 
}

/* Button Animations */
.btn-hover { 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.btn-hover:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px -5px rgba(15, 76, 58, 0.4); 
}
.btn-hover:active { 
    transform: translateY(0); 
}

/* Loader */
.spinner {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

/* Drawer Styles */
.drawer-backdrop {
    transition: opacity 0.3s ease;
}

.drawer-content-right {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-content-left {
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-open .drawer-content-right,
.drawer-open .drawer-content-left {
    transform: translateX(0);
}

/* Product Card Hover */
.product-card {
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Hide scrollbar for horizontal scroll */
.no-scrollbar::-webkit-scrollbar { 
    display: none; 
}
.no-scrollbar { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

/* Stagger Animation */
.stagger-item { 
    opacity: 0; 
    transform: translateX(20px); 
}
.drawer-open .stagger-item { 
    animation: staggerIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes staggerIn {
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Text clamp */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* ==================== CATEGORY SCROLL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.islamic-categories {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f8faf9 0%, #e8f5e9 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.categories-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px; /* Increased gap for desktop */
    flex-wrap: nowrap; /* Keep in one line */
    width: 100%;
    max-width: 800px; /* Constrain width for better centering */
    margin: 0 auto;
}

/* Main Icon Container */
.live-icon {
    cursor: pointer;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.icon-orbit {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    animation: orbit-float 4s ease-in-out infinite;
}

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

/* Image Container */
.image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid white;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.15),
        0 4px 12px rgba(0,0,0,0.1),
        inset 0 0 10px rgba(0,0,0,0.05);
    background: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Live Background - FIXED ZOOM */
.live-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: live-move 12s ease-in-out infinite alternate;
    will-change: transform;
}

/* Reduced zoom effect */
@keyframes live-move {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15); /* Reduced from 1.2 to 1.15 */
    }
}

/* Specific Backgrounds - ADDED object-fit behavior */
.ihram-bg {
    background-image: url('./images/ihramicon.jpg');
    background-size: cover;
    background-position: center top; /* Adjust based on your image */
}

.kaaba-bg {
    background-image: url('./images/makkahicon.avif');
    background-position: center center;
}

.wear-bg {
    background-image: url('./images/best_seller_badge_85x85.webp');
    background-size: contain; /* For badge type images */
    background-repeat: no-repeat;
    background-color: #fff;
}

.essential-bg {
    background-image: url('./images/prayermaticon.png');
    background-size: contain; /* For icon type images */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f5f5f5;
}

/* Overlay to ensure text visibility */
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
   
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
    animation: float-particle 3s ease-in-out infinite;
}

.particle-1 { top: 30%; left: 20%; }
.particle-2 { top: 50%; right: 25%; animation-delay: 1s; }
.particle-3 { bottom: 30%; left: 40%; animation-delay: 2s; }

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

/* Badge for Best Sellers */
.badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: badge-pulse 2s ease-in-out infinite;
}

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

/* Arabic Text */
.icon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-family: 'Traditional Arabic', 'Arial', sans-serif;
   
}

/* Glow Rings */
.glow-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: glow-rotate 4s linear infinite;
    
}

.glow-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 3px solid rgba(46, 125, 50, 0.2);
    border-top-color: rgba(46, 125, 50, 0.8);
    border-right-color: rgba(46, 125, 50, 0.5);
}

.glow-ring.gold::before {
    border-color: rgba(255, 193, 7, 0.2);
    border-top-color: rgba(255, 193, 7, 0.8);
    border-right-color: rgba(255, 193, 7, 0.5);
}

.glow-ring.blue::before {
    border-color: rgba(33, 150, 243, 0.2);
    border-top-color: rgba(33, 150, 243, 0.8);
    border-right-color: rgba(33, 150, 243, 0.5);
}

.glow-ring.green::before {
    border-color: rgba(76, 175, 80, 0.2);
    border-top-color: rgba(76, 175, 80, 0.8);
    border-right-color: rgba(76, 175, 80, 0.5);
}

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

/* Category Name */
.category-name {
    margin-top: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #1b5e20;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.live-icon:hover .category-name {
    color: #2e7d32;
    transform: translateY(2px);
}

/* FIXED Hover Effect - was 0.1 now 1.08 */
.live-icon:hover .image-container {
    transform: scale(1.08);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 5px 15px rgba(0,0,0,0.15);
}

.live-icon:hover .live-bg {
    animation-duration: 6s; /* Speed up slightly on hover */
}

/* ================= RESPONSIVE FIXES ================= */

/* Tablet */
@media (max-width: 1024px) {
    .categories-container {
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .islamic-categories {
        padding: 40px 15px;
    }
    
    .categories-container {
        gap: 20px; /* Smaller gap on mobile */
        max-width: 100%;
    }
    
    .icon-orbit,
    .image-container {
        width: 75px;
        height: 75px;
    }
    
    .glow-ring {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
    }
    
    .category-name {
        font-size: 10px;
        letter-spacing: 0.5px;
        margin-top: 10px;
    }
    
    .icon-text {
        font-size: 18px;
    }
    
    .badge {
        font-size: 24px;
    }
    
    .particle {
        width: 2px;
        height: 2px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .categories-container {
        gap: 15px;
    }
    
    .icon-orbit,
    .image-container {
        width: 65px;
        height: 65px;
    }
    
    .category-name {
        font-size: 9px;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

.premium-home-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.premium-home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(15, 61, 46, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  
}

.container-premium {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== MODERN SECTION HEADER ===== */
.section-header-premium {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.header-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0F3D2E, #1a5c48);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(15, 61, 46, 0.3);
    animation: float-badge 3s ease-in-out infinite;
}

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

.section-title-main {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #0F3D2E;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: capitalize;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #0F3D2E);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 25px auto 40px;
    line-height: 1.6;
    font-weight: 400;
}
/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 28px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    z-index: 1;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F3D2E, #1a5c48);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.filter-tab:hover, .filter-tab.active {
    color: white;
    border-color: #0F3D2E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 61, 46, 0.2);
}

.filter-tab:hover::before, .filter-tab.active::before {
    opacity: 1;
}

/* Navigation Arrows */
.nav-arrows-container {
    position: relative;
}

.nav-arrow-premium {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #0F3D2E;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-arrow-premium:hover {
    background: #0F3D2E;
    color: white;
    border-color: #0F3D2E;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(15, 61, 46, 0.3);
}

.nav-arrow-premium.prev { left: -25px; }
.nav-arrow-premium.next { right: -25px; }

@media (max-width: 1300px) {
    .nav-arrow-premium { display: none; }
}

/* ===== PRODUCT GRID ===== */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

@media (max-width: 1400px) {
    .premium-grid { gap: 20px; }
    .section-title-main { font-size: 42px; }
}

@media (max-width: 1200px) {
    .premium-grid { grid-template-columns: repeat(4, 1fr); }
    .section-title-main { font-size: 36px; }
}

@media (max-width: 992px) {
    .premium-grid { grid-template-columns: repeat(3, 1fr); }
    .section-title-main { font-size: 32px; }
    .premium-home-section { padding: 60px 15px; }
}

@media (max-width: 768px) {
    .premium-grid { 
        grid-template-columns: 1fr; 
        max-width: 400px;
        margin: 0 auto 40px;
    }
    .section-title-main { font-size: 28px; }
    .section-subtitle { font-size: 16px; }
    .filter-tabs { gap: 10px; }
    .filter-tab { padding: 10px 20px; font-size: 13px; }
}




/* Badges */
.badges-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-discount {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    animation: pulse-badge 2s infinite;
}

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

.badge-new {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Action Buttons */
.premium-actions {
    position: absolute;
    top: 15px;
    right: -60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.premium-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(20px);
}



.premium-action-btn:hover {
    background: #0F3D2E;
    color: white;
    transform: scale(1.15) !important;
    box-shadow: 0 6px 20px rgba(15, 61, 46, 0.4);
}

.premium-action-btn.wishlist:hover, .premium-action-btn.wishlist.active {
    background: #e74c3c;
}

.premium-action-btn.compare:hover, .premium-action-btn.compare.active {
    background: #3498db;
}

/* Price Section - REMOVED Save Tag */
.premium-price-section {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: auto;
}

.premium-current-price {
    font-size: 20px;
    font-weight: 800;
    color: #e74c3c;
    font-family: 'Poppins', sans-serif;
}

.premium-old-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}



.stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 600;
}

.progress-bar-bg {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0F3D2E, #d4af37);
    border-radius: 3px;
    transition: width 0.5s;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Add to Cart Button */
.premium-add-cart {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0F3D2E 0%, #1a5c48 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 61, 46, 0.3);
    font-family: inherit;
}

.premium-add-cart::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;
}

.premium-add-cart:hover::before {
    left: 100%;
}

.premium-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 61, 46, 0.4);
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
}

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

.premium-add-cart.added {
    background: #27ae60;
}

/* ===== VIEW ALL BUTTON ===== */
.view-all-wrapper {
    text-align: center;
    margin-top: 50px;
    position: relative;
}

.view-all-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: white;
    color: #0F3D2E;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #0F3D2E;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 61, 46, 0.2);
    font-family: inherit;
}

.view-all-btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F3D2E, #1a5c48);
    transform: translateX(-100%);
    transition: transform 0.4s;
    z-index: 0;
}

.view-all-btn-premium span, .view-all-btn-premium i {
    position: relative;
    z-index: 1;
}

.view-all-btn-premium:hover {
    color: white;
    border-color: #0F3D2E;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(15, 61, 46, 0.3);
}

.view-all-btn-premium:hover::before {
    transform: translateX(0);
}

.view-all-btn-premium i {
    transition: transform 0.3s;
}

.view-all-btn-premium:hover i {
    transform: translateX(8px);
}

/* Decorative elements */
.sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #d4af37;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0.3;
    animation: sparkle-rotate 10s linear infinite;
}

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

@media (max-width: 768px) {
    .sparkle { display: none; }
    .premium-price-section { flex-wrap: wrap; }
}

/* ===== MODAL STYLES ===== */
.premium-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    overflow-y: auto;
}

.premium-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.premium-modal-box {
    background: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
}

.premium-modal-overlay.active .premium-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .premium-modal-box { 
        grid-template-columns: 1fr; 
        border-radius: 20px; 
        max-height: 85vh;
    }
}

.modal-image-section {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-image-section img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal-content-section {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

@media (max-width: 768px) {
    .modal-content-section {
        max-height: unset;
        padding: 30px 20px;
    }
    .modal-image-section {
        padding: 20px;
        max-height: 300px;
    }
    .modal-image-section img {
        max-height: 250px;
    }
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-modal-btn:hover {
    background: #e74c3c;
    color: white;
}

.modal-category {
    font-size: 12px;
    color: #d4af37;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #0F3D2E;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.modal-price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.modal-current-price {
    font-size: 32px;
    font-weight: 800;
    color: #e74c3c;
}

.modal-old-price {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
}

.modal-discount-badge {
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.modal-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #6b7280;
    position: relative;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 14px;
}

.modal-tab.active {
    color: #0F3D2E;
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0F3D2E;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

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

.modal-description {
    color: #6b7280;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
}

.modal-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-tag i {
    color: #27ae60;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #0F3D2E;
}

.policy-section.privacy-data {
    border-left-color: #d4af37;
}

.policy-section.return-exchange {
    border-left-color: #e74c3c;
}

.policy-section h4 {
    color: #0F3D2E;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.policy-section p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

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

.policy-list li {
    padding: 8px 0;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

.policy-list li i {
    color: #27ae60;
    margin-top: 3px;
    flex-shrink: 0;
}

.modal-add-cart-btn {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: #0F3D2E;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.modal-add-cart-btn:hover {
    background: #1a5c48;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 61, 46, 0.2);
}

/* ===== COMPARE FLOATING BAR ===== */
.compare-floating-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: white;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid #0F3D2E;
}

.compare-floating-bar.show {
    transform: translateX(-50%) translateY(0);
}

.compare-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-title {
    font-weight: 700;
    color: #0F3D2E;
    white-space: nowrap;
}

.compare-items-preview {
    display: flex;
    gap: 10px;
}

.compare-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

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

.btn-compare {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 14px;
}

.btn-compare-primary {
    background: #0F3D2E;
    color: white;
}

.btn-compare-primary:hover {
    background: #1a5c48;
    transform: translateY(-2px);
}

.btn-compare-secondary {
    background: #e5e7eb;
    color: #6b7280;
}

.btn-compare-secondary:hover {
    background: #d1d5db;
}

@media (max-width: 768px) {
    .compare-floating-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
        width: 90%;
        max-width: 400px;
        gap: 15px;
    }
    .compare-actions {
        width: 100%;
    }
    .btn-compare {
        flex: 1;
    }
}

/* ===== TOAST ===== */
.premium-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    color: #1a1a1a;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #0F3D2E;
    min-width: 300px;
    font-family: 'Inter', sans-serif;
}

.premium-toast.show {
    transform: translateX(0);
}

.premium-toast i {
    color: #27ae60;
    font-size: 20px;
}

.premium-toast.error i {
    color: #e74c3c;
}

.premium-toast.error {
    border-left-color: #e74c3c;
}

.toast-title {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 16px;
}

.toast-msg {
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .premium-toast {
        top: auto;
        bottom: 30px;
        right: 20px;
        left: 20px;
        transform: translateY(150%);
        min-width: auto;
    }
    .premium-toast.show { 
        transform: translateY(0); 
    }
}


/* ==================== FOOTER STYLES ==================== */
.islamic-footer {
    background: linear-gradient(180deg, #064e3b 0%, #022c22 100%);
    color: #ecfdf5;
    font-family: 'Poppins', sans-serif;
    padding: 60px 20px 0;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

/* Brand */
.brand-box { animation: fadeIn 0.6s; }
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Amiri', serif;
}
.logo i { color: #fbbf24; font-size: 1.8rem; }

.tagline {
    color: #a7f3d0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #d1fae5;
}

.info-item i { color: #fbbf24; width: 20px; }

.socials { display: flex; gap: 10px; }

.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #fbbf24;
    color: #064e3b;
    transform: translateY(-3px);
}

/* Accordion */
.accordion-wrapper {
    display: flex;
    gap: 40px;
    animation: fadeIn 0.6s 0.2s both;
}

.accordion-block { flex: 1; }

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}

.accordion-trigger:hover { color: #fbbf24; }

.accordion-trigger .icon {
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: #6ee7b7;
}

.accordion-trigger .icon.rotate { transform: rotate(45deg); color: #fbbf24; }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-panel li a {
    color: #a7f3d0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: block;
    padding: 4px 0;
}

.accordion-panel li a:hover {
    color: #fbbf24;
    padding-left: 8px;
}

/* Newsletter */
.newsletter-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 25px;
    animation: fadeIn 0.6s 0.4s both;
}

.newsletter-box h3 {
    color: white;
    margin-bottom: 8px;
    font-family: 'Amiri', serif;
    font-size: 1.3rem;
}

.newsletter-box > p {
    color: #a7f3d0;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.sub-form { display: flex; flex-direction: column; gap: 12px; }

.input-group {
    display: flex;
    gap: 8px;
}

.input-group input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    outline: none;
    font-size: 0.9rem;
}

.input-group input:focus { border-color: #fbbf24; }

.input-group input::placeholder { color: #6ee7b7; }

.submit-btn {
    background: #fbbf24;
    color: #064e3b;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

.consent-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6ee7b7;
}

.success-box {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: white;
    animation: slideIn 0.4s;
}

.success-box i { font-size: 2rem; color: #34d399; margin-bottom: 10px; }

.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #d1fae5;
}

.trust-badges i { color: #fbbf24; margin-right: 5px; }

/* Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #6ee7b7;
    font-size: 0.9rem;
}

.footer-bottom i { color: #fbbf24; }

.payments {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.6);
}

.payments span {
    font-size: 0.8rem;
    margin-left: 5px;
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: #a7f3d0;
}

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

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

/* Responsive */
@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
    .brand-col { grid-column: 1 / -1; text-align: center; }
    .logo { justify-content: center; }
    .contact-info { align-items: center; }
    .socials { justify-content: center; }
    .newsletter-col { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .accordion-wrapper { flex-direction: column; gap: 0; }
    .accordion-block {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 16px 0;
    }
    .accordion-block:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
    .accordion-trigger { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .accordion-panel ul { padding-top: 15px; padding-left: 10px; }
    .input-group { flex-direction: column; }
    .submit-btn { justify-content: center; width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
* {
    -webkit-tap-highlight-color: transparent;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    overflow-x: hidden;
    padding-bottom: 120px;
}

/* Animated Islamic Geometric Background */
.islamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    overflow: hidden;
}

.islamic-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(15, 76, 58, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.02) 0px, rgba(212, 175, 55, 0.02) 1px, transparent 1px, transparent 11px),
        repeating-linear-gradient(-45deg, rgba(15, 76, 58, 0.02) 0px, rgba(15, 76, 58, 0.02) 1px, transparent 1px, transparent 11px);
    animation: patternMove 20s linear infinite;
}

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

/* Floating Ornaments */
.ornament {
    position: absolute;
    opacity: 0.05;
    color: #0F4C3A;
    animation: float 6s ease-in-out infinite;
}

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

/* Action Buttons */
.premium-actions {
    position: absolute;
    top: 15px;
    right: -60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

@media (max-width: 1024px) {
    .premium-actions {
        position: absolute;
        top: auto;
        bottom: 15px;
        right: 15px;
        left: 15px;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        opacity: 1;
        transform: none;
    }
}



.premium-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(20px);
}

@media (max-width: 1024px) {
    .premium-action-btn {
        opacity: 1;
        transform: none;
        width: 48px;
        height: 48px;
        font-size: 18px;
        background: rgba(255,255,255,0.95);
    }
}



.premium-action-btn:hover {
    background: #0F4C3A;
    color: white;
    transform: scale(1.15) !important;
}

.premium-action-btn.active {
    background: #e74c3c;
    color: white;
}

/* Badges */
.badge-discount {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.3);
    animation: pulse 2s infinite;
}

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

.badge-new {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

/* Stock Progress */
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0F4C3A, #D4AF37);
    border-radius: 3px;
    transition: width 0.5s;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Add to Cart Button */
.premium-add-cart {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0F4C3A 0%, #1B5E48 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.premium-add-cart::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;
}

.premium-add-cart:hover::before {
    left: 100%;
}

.premium-add-cart:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #b8941f 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.premium-add-cart.added {
    background: #27ae60;
}

/* Modal Styles */
.premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    overflow-y: auto;
}

.premium-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.premium-modal-box {
    background: white;
    width: 100%;
    max-width: 1000px;
    border-radius: 30px;
    position: relative;
    margin: auto;
    transform: scale(0.9) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    overflow: hidden;
    z-index: 100000;
}

.premium-modal-overlay.active .premium-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .premium-modal-box {
        grid-template-columns: 1fr;
        border-radius: 20px;
        margin: 10px auto;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.modal-image-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.modal-image-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

@media (max-width: 768px) {
    .modal-image-section {
        padding: 20px;
        min-height: 300px;
    }
}

.modal-content-section {
    padding: 50px;
    max-height: 80vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .modal-content-section {
        padding: 30px 20px;
        max-height: none;
    }
}

/* Pagination */
.pagination-btn {
    padding: 14px 28px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #0F4C3A;
    color: #0F4C3A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 76, 58, 0.1);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #0F4C3A, #1B5E48);
    color: white;
    border-color: #0F4C3A;
    box-shadow: 0 5px 15px rgba(15, 76, 58, 0.2);
}

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

/* Filter Sidebar */
.filter-sidebar {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(0,0,0,0.05);
}

.filter-checkbox:checked {
    background-color: #0F4C3A;
    border-color: #0F4C3A;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0F4C3A;
    border-radius: 4px;
}

/* Toast Notification */
.premium-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 100001;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #0F4C3A;
    max-width: 400px;
    min-width: 300px;
}

.premium-toast.show {
    transform: translateX(0);
}

/* Mobile Toast */
@media (max-width: 768px) {
    .premium-toast {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(150%);
        max-width: none;
        width: calc(100% - 40px);
        min-width: auto;
        z-index: 998;
    }
    
    .premium-toast.show {
        transform: translateY(0);
    }
    
    body.compare-open .premium-toast {
        display: none !important;
        transform: translateY(150%) !important;
    }
}

/* Compare Bar */
#compareBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-bottom: env(safe-area-inset-bottom);
}

#compareBar.show {
    transform: translateY(0);
    z-index: 1000;
}

@media (max-width: 768px) {
    #compareBar {
        z-index: 1000;
        padding: 10px 0;
    }
    
    body {
        padding-bottom: 180px;
    }
}
/* Targeted Mobile Filter Button Only */
#mobileFilterBtn.mobile-filter-btn {
    position: fixed;
    top: 75px; /* Upper side position */
    left: 15px; /* Left side position */
    bottom: auto; /* Purani bottom position cancel karne ke liye */
    right: auto;
    transform: translateX(0); /* Center se hata kar left pe lane ke liye */
    
    /* Aapka Original Formula */
    background: linear-gradient(
        135deg,
        rgba(15, 76, 58, 0.4),
        rgba(27, 94, 72, 0.7)
    );
    backdrop-filter: blur(1px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    
    /* Design & Typography */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: none; /* Desktop pe hidden */
    align-items: center;
    gap: 8px;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    
    /* iOS Animation */
    animation: iosPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2) forwards;
    transition: transform 0.2s ease, background 0.3s ease;
}

/* Hover & Active States */
#mobileFilterBtn.mobile-filter-btn:active {
    transform: scale(0.5); /* iOS Click Effect */
}

/* Animation */
@keyframes iosPop {
    from { opacity: 0; transform: scale(0.8) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Mobile Display Logic */
@media (max-width: 1024px) {
    #mobileFilterBtn.mobile-filter-btn {
        display: flex; /* Sirf mobile/tablet pe show hoga */
    }
}

@media (max-width: 1024px) {
    .filter-sidebar { display: none; }
    .filter-sidebar.mobile-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 50;
        border-radius: 0;
        overflow-y: auto;
        top: 0;
        padding-top: 80px;
    }
}

/* Header */
.store-header {
    background: linear-gradient(135deg, #0F4C3A 0%, #1B5E48 50%, #0d3d2f 100%);
    position: relative;
    overflow: hidden;
}

.store-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Price Tag */
.price-tag {
    position: relative;
    display: inline-block;
}

.price-tag::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #0F4C3A);
    border-radius: 2px;
}

/* Mobile Filter Overlay Close Button */
.mobile-filter-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 51;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: none;
}

@media (max-width: 1024px) {
    .mobile-filter-close.show {
        display: flex;
    }
}

/* Modal Close Button */
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    color: #333;
    font-size: 18px;
}

.modal-close-btn:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg);
}/* Compare checkbox ko force hide karo */
.compare-checkbox-container,
.compare-checkbox-wrapper,
[class*="compare-checkbox"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

}



/* Profile Photo Styles */
#userProfilePhoto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#userDefaultIcon {
    font-size: 2.5rem;
    color: white;
}

/* Photo upload hover effect */
.relative.group:hover #userProfilePhoto,
.relative.group:hover #userDefaultIcon {
    opacity: 0.8;
}

/* Overlay Styling */
.overlay-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none; /* Hidden by default */
    flex-direction: column;
    padding: 20px;
    animation: fadeIn 0.4s ease-out;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 30px;
}

.close-btn {
    background: none;
    border: none;
    color: gold;
    font-size: 35px;
    cursor: pointer;
}

/* Cards Container */
.arrival-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.arrival-card {
    position: relative;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.arrival-card:active {
    transform: scale(0.95);
}

/* Card Images (Add your URLs here) */
.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ihram-img { background-image: url('ihram-thumb.jpg'); }
.zamzam-img { background-image: url('zamzam-thumb.jpg'); }
.mat-img { background-image: url('mat-thumb.jpg'); }

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.card-info h4 { margin: 0; font-size: 1.2rem; color: #FFD700; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== UNIFIED PRODUCT CARD ==================== */

.premium-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* ===== IMAGE SECTION ===== */
.premium-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Desktop: Square */
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}



.premium-card-img,
.premium-card-img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Center se crop */
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card-img-hover {
    opacity: 0;
    transform: scale(1.1);
}

.premium-card:hover .premium-card-img {
    opacity: 0;
    transform: scale(1.05);
}

.premium-card:hover .premium-card-img-hover {
    opacity: 1;
    transform: scale(1);
}

/* ===== BADGES (Top Left) ===== */
.badges-container {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-discount {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
}

.badge-new {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ===== COMPARE CHECKBOX (Top Left - Next to badges) ===== */
.compare-checkbox {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 11;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.95);
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s;
}

/* Agar badge hai toh compare neeche shift */
.premium-card-image:has(.badges-container) .compare-checkbox {
    top: 50px;
}

.compare-checkbox:hover {
    border-color: #0F3D2E;
}

.compare-checkbox input {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #0F3D2E;
    margin: 0;
}

/* Mobile pe compare chhota */
@media (max-width: 640px) {
    .compare-checkbox {
        padding: 4px 8px;
        font-size: 10px;
        top: 8px;
        left: 8px;
    }
    
    .premium-card-image:has(.badges-container) .compare-checkbox {
        top: 45px;
    }
    
    .compare-checkbox input {
        width: 12px;
        height: 12px;
    }
}

/* ===== ACTION BUTTONS (Desktop: Right side slide) ===== */
.premium-actions {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) translateX(20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Card hover pe icons slide in */
.premium-card:hover .premium-actions {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.premium-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.8);
    opacity: 0;
}

/* Stagger animation */
.premium-card:hover .premium-action-btn {
    transform: scale(1);
    opacity: 1;
}

.premium-card:hover .premium-action-btn:nth-child(1) { transition-delay: 0.05s; }
.premium-card:hover .premium-action-btn:nth-child(2) { transition-delay: 0.1s; }
.premium-card:hover .premium-action-btn:nth-child(3) { transition-delay: 0.15s; }
.premium-card:hover .premium-action-btn:nth-child(4) { transition-delay: 0.2s; }

.premium-action-btn:hover {
    background: #0F3D2E;
    color: white;
    transform: scale(1.15) !important;
    box-shadow: 0 6px 20px rgba(15, 61, 46, 0.4);
}

.premium-action-btn.active {
    background: #e74c3c;
    color: white;
}

/* ===== MOBILE: 1 CARD PER ROW + FIX BUTTONS ===== */
@media (max-width: 640px) {
    .premium-actions {
        position: absolute;
        top: auto !important;
        bottom: 12px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) !important;
        flex-direction: row;
        gap: 10px;
        opacity: 1;
        transition: none;
    }
    
    .premium-action-btn {
        transform: scale(1);
        opacity: 1;
        width: 40px;
        height: 40px;
        font-size: 16px;
        background: rgba(255,255,255,0.98);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transition-delay: 0s !important;
    }
    
    .premium-card:hover .premium-action-btn {
        transition-delay: 0s !important;
    }
}

/* ===== CARD CONTENT ===== */
.premium-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Category */
.premium-card-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4af37;
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-card-category i {
    font-size: 9px;
}

/* Title - 2 lines max (attached image jaisa) */
.premium-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px; /* 2 lines ka height */
}

/* Mobile pe title chhota */
@media (max-width: 640px) {
    .premium-card-title {
        font-size: 14px;
        min-height: 40px;
    }
}

/* Price Section */
.premium-price-section {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 4px 0;
}

.premium-current-price {
    font-size: 18px;
    font-weight: 800;
    color: #e74c3c;
    font-family: 'Poppins', sans-serif;
}

.premium-old-price {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Stock */
.stock-progress {
    margin: 6px 0 10px 0;
}

.stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #6b7280;
}

.stock-progress.low-stock .stock-label span:first-child {
    color: #e74c3c;
}

.progress-bar-bg {
    height: 5px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0F3D2E, #d4af37);
    border-radius: 3px;
    transition: width 0.3s;
}

.stock-progress.low-stock .progress-bar-fill {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
}

/* Add to Cart Button */
.premium-add-cart {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0F3D2E 0%, #1a5c48 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(15, 61, 46, 0.3);
}

.premium-add-cart:hover {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.premium-add-cart i {
    font-size: 14px;
}

/* Mobile pe button chhota */
@media (max-width: 640px) {
    .premium-add-cart {
        padding: 12px;
        font-size: 12px;
    }
}

/* ===== GRID LAYOUTS ===== */

/* Desktop: 4 columns */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tablet: 3 columns */
@media (max-width: 1200px) {
    .premium-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Small Tablet: 2 columns */
@media (max-width: 900px) {
    .premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile: 1 column (FULL WIDTH) */
@media (max-width: 640px) {
    .premium-grid {
        grid-template-columns: 1fr; /* 1 card per row */
        gap: 16px;
        padding: 0 16px;
    }
    
    .premium-card-content {
        padding: 16px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}
/* Quick View Popup Styles */
#quickViewPopup {
    animation: fadeIn 0.3s ease;
}

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

.popup-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Mobile pe popup chhota */
@media (max-width: 768px) {
    #quickViewPopup .popup-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    #quickViewPopup .grid {
        grid-template-columns: 1fr;
    }
    
    #quickViewPopup img {
        min-height: 200px;
    }
}
/* Quick View Popup Styles */
#quickViewPopup {
    animation: fadeIn 0.3s ease;
}

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

.popup-content {
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

/* Mobile pe popup chhota */
@media (max-width: 768px) {
    #quickViewPopup .popup-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
        border-radius: 20px;
    }
    
    #quickViewPopup .grid {
        grid-template-columns: 1fr;
    }
    
    #quickViewPopup img {
        max-height: 250px;
    }
}

/* Product Detail Page specific */
.product-gallery .main-image {
    transition: transform 0.3s;
}

.product-gallery .main-image:hover {
    transform: scale(1.02);
}

.size-btn.active {
    background: #0F4C3A;
    color: white;
    border-color: #0F4C3A;
}

/* Tab animations */
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.tab-content.active {
    display: block;
    opacity: 1;
}   

/* product */
  .main-image-container {
    position: relative;
    background: transparent !important;
    overflow: hidden;
}

        .main-image { transition: transform 0.5s ease; }
        .main-image-container:hover .main-image { transform: scale(1.05); }
        
        .thumbnail { cursor: pointer; border: 2px solid transparent; transition: all 0.3s; opacity: 0.7; }
        .thumbnail:hover, .thumbnail.active { border-color: #0F4C3A; opacity: 1; transform: translateY(-2px); }
        
        .size-btn { 
            padding: 12px 24px; 
            border: 2px solid #e5e7eb; 
            border-radius: 12px; 
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            background: white;
        }
        .size-btn:hover { border-color: #0F4C3A; color: #0F4C3A; }
        .size-btn.active { 
            border-color: #0F4C3A; 
            background: #0F4C3A; 
            color: white; 
            box-shadow: 0 4px 12px rgba(15, 76, 58, 0.3);
        }
        
        .coupon-banner {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            overflow: hidden;
        }
        .coupon-banner::before {
            content: '';
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px);
            animation: move 20s linear infinite;
        }
        @keyframes move { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }
        
        .feature-card {
            background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
            border-left: 4px solid #0F4C3A;
            transition: all 0.3s;
        }
        .feature-card:hover { transform: translateX(5px); box-shadow: 0 10px 25px rgba(15, 76, 58, 0.1); }
        
        .review-card { 
            background: white; 
            padding: 24px; 
            border-radius: 16px; 
            margin-bottom: 16px;
            border: 1px solid #e5e7eb;
            transition: all 0.3s;
        }
        .review-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
        
        .tab-btn {
            padding: 16px 32px;
            font-weight: 600;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
            color: #6b7280;
            position: relative;
            white-space: nowrap;
        }
        .tab-btn:hover { color: #0F4C3A; }
        .tab-btn.active { color: #0F4C3A; border-bottom-color: #0F4C3A; }
        
        .tab-content { display: none; animation: fadeIn 0.4s ease; }
        .tab-content.active { display: block; }
        
        .specs-table tr { border-bottom: 1px solid #e5e7eb; }
        .specs-table tr:last-child { border-bottom: none; }
        .specs-table td { padding: 16px; }
        .specs-table td:first-child { font-weight: 600; color: #374151; width: 40%; }
        
        .copy-btn { transition: all 0.3s; }
        .copy-btn:hover { transform: scale(1.05); }
        .copy-btn.copied { background: #10B981 !important; }
        
        .middle-banner {
            background: linear-gradient(135deg, #000000 0%, #000000 50%, #ffffff 100%);
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            margin: 20px 0;
        }
        .middle-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        .middle-banner img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
        
        .stock-bar-container { background: #e5e7eb; border-radius: 9999px; overflow: hidden; height: 8px; }
        .stock-bar { height: 100%; background: linear-gradient(90deg, #0F4C3A 0%, #D4AF37 100%); transition: width 0.5s ease; border-radius: 9999px; }
        
        .add-to-cart-btn {
            background: linear-gradient(135deg, #0F4C3A 0%, #1B5E48 100%);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .add-to-cart-btn::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;
        }
        .add-to-cart-btn:hover::before { left: 100%; }
        .add-to-cart-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(15, 76, 58, 0.3); }
        
        .toast {
            position: fixed;
            bottom: 30px; right: 30px;
            background: white;
            padding: 16px 24px;
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            border-left: 4px solid #0F4C3A;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 9999;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .toast.show { transform: translateX(0); opacity: 1; }
        .toast.error { border-left-color: #ef4444; }
        .toast.success { border-left-color: #10B981; }
        
        .faq-item { border-bottom: 1px solid #e5e7eb; }
        .faq-question { cursor: pointer; transition: all 0.3s; }
        .faq-question:hover { color: #0F4C3A; }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .faq-answer.open { max-height: 500px; }

        .wishlist-btn { transition: all 0.3s; }
        .wishlist-btn.active { background: #fee2e2; border-color: #ef4444; color: #ef4444; }
        .wishlist-btn.active i { animation: heartbeat 0.5s; }
        @keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

        @media (max-width: 1024px) {
            .tab-btn { padding: 12px 20px; font-size: 14px; }
        }
        @media (max-width: 768px) {
            .middle-banner { margin: 15px 0; border-radius: 12px; }
            .size-btn { padding: 10px 16px; font-size: 14px; }
            .tab-btn { padding: 10px 16px; font-size: 13px; }
        }
        @media (max-width: 640px) {
            .toast { left: 20px; right: 20px; bottom: 20px; transform: translateY(100px); }
            .toast.show { transform: translateY(0); }
        }
        /* ==========================================
   DRAWER ANIMATIONS
   ========================================== */
.drawer-content-left {
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.drawer-content-right {
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.drawer-open {
    transform: translateX(0) !important;
}

.drawer-backdrop {
    transition: opacity 0.3s ease;
}

/* ==========================================
   PRODUCT DETAIL STYLES
   ========================================== */
.main-image-container { 
    overflow: hidden; 
    position: relative; 
}

.main-image { 
    transition: transform 0.5s ease; 
}

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

.thumbnail { 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: all 0.3s; 
    opacity: 0.7; 
}

.thumbnail:hover, .thumbnail.active { 
    border-color: #0F4C3A; 
    opacity: 1; 
    transform: translateY(-2px); 
}

.size-btn { 
    padding: 12px 24px; 
    border: 2px solid #e5e7eb; 
    border-radius: 12px; 
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    background: white;
}

.size-btn:hover { 
    border-color: #0F4C3A; 
    color: #0F4C3A; 
}

.size-btn.active { 
    border-color: #0F4C3A; 
    background: #0F4C3A; 
    color: white; 
    box-shadow: 0 4px 12px rgba(15, 76, 58, 0.3);
}

.coupon-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.coupon-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px);
    animation: move 20s linear infinite;
}

@keyframes move { 
    0% { transform: translate(0, 0); } 
    100% { transform: translate(50px, 50px); } 
}

.feature-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left: 4px solid #0F4C3A;
    transition: all 0.3s;
}

.feature-card:hover { 
    transform: translateX(5px); 
    box-shadow: 0 10px 25px rgba(15, 76, 58, 0.1); 
}

.review-card { 
    background: white; 
    padding: 24px; 
    border-radius: 16px; 
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.review-card:hover { 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    transform: translateY(-2px); 
}

.tab-btn {
    padding: 16px 32px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    color: #6b7280;
    position: relative;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
}

.tab-btn:hover { 
    color: #0F4C3A; 
}

.tab-btn.active { 
    color: #0F4C3A; 
    border-bottom-color: #0F4C3A; 
}

.tab-content { 
    display: none; 
    animation: fadeIn 0.4s ease; 
}

.tab-content.active { 
    display: block; 
}

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

.specs-table tr { 
    border-bottom: 1px solid #e5e7eb; 
}

.specs-table tr:last-child { 
    border-bottom: none; 
}

.specs-table td { 
    padding: 16px; 
}

.specs-table td:first-child { 
    font-weight: 600; 
    color: #374151; 
    width: 40%; 
}

.copy-btn { 
    transition: all 0.3s; 
}

.copy-btn:hover { 
    transform: scale(1.05); 
}

.copy-btn.copied { 
    background: #10B981 !important; 
}

.middle-banner {
    background: linear-gradient(135deg, #0F4C3A 0%, #1B5E48 50%, #0F4C3A 100%);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 20px 0;
}

.middle-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.middle-banner img { 
    width: 100%; 
    height: auto; 
    display: block; 
    position: relative; 
    z-index: 1; 
}

.stock-bar-container { 
    background: #e5e7eb; 
    border-radius: 9999px; 
    overflow: hidden; 
    height: 8px; 
}

.stock-bar { 
    height: 100%; 
    background: linear-gradient(90deg, #0F4C3A 0%, #D4AF37 100%); 
    transition: width 0.5s ease; 
    border-radius: 9999px; 
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #0F4C3A 0%, #1B5E48 100%);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::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;
}

.add-to-cart-btn:hover::before { 
    left: 100%; 
}

.add-to-cart-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(15, 76, 58, 0.3); 
}

.toast {
    position: fixed;
    bottom: 30px; 
    right: 30px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-left: 4px solid #0F4C3A;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.show { 
    transform: translateX(0); 
    opacity: 1; 
}

.toast.error { 
    border-left-color: #ef4444; 
}

.toast.success { 
    border-left-color: #10B981; 
}

.faq-item { 
    border-bottom: 1px solid #e5e7eb; 
}

.faq-question { 
    cursor: pointer; 
    transition: all 0.3s; 
}

.faq-question:hover { 
    color: #0F4C3A; 
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease; 
}

.faq-answer.open { 
    max-height: 500px; 
}

.wishlist-btn { 
    transition: all 0.3s; 
}

.wishlist-btn.active { 
    background: #fee2e2; 
    border-color: #ef4444; 
    color: #ef4444; 
}

.wishlist-btn.active i { 
    animation: heartbeat 0.5s; 
}

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

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* No scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Safe area for mobile */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Button hover effect */
.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .tab-btn { 
        padding: 12px 20px; 
        font-size: 14px; 
    }
}

@media (max-width: 768px) {
    .middle-banner { 
        margin: 15px 0; 
        border-radius: 12px; 
    }
    .size-btn { 
        padding: 10px 16px; 
        font-size: 14px; 
    }
    .tab-btn { 
        padding: 10px 16px; 
        font-size: 13px; 
    }
}

@media (max-width: 640px) {
    .toast { 
        left: 20px; 
        right: 20px; 
        bottom: 20px; 
        transform: translateY(100px); 
    }
    .toast.show { 
        transform: translateY(0); 
    }
}
/* ==========================================
   FULL WIDTH BANNER - Edge to Edge
   ========================================== */

.middle-banner-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Alternative if parent has overflow hidden */
.middle-banner-fullwidth-alt {
    width: 100%;
    max-width: 100%;
}

/* Banner Container */
.middle-banner-fullwidth > div {
    position: relative;
    width: 100%;
}

/* Responsive Heights */
@media (max-width: 640px) {
    .middle-banner-fullwidth > div {
        height: 350px !important;
    }
    .middle-banner-fullwidth h2 {
        font-size: 2.5rem !important;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .middle-banner-fullwidth > div {
        height: 300px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .middle-banner-fullwidth > div {
        height: 350px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .middle-banner-fullwidth > div {
        height: 400px !important;
    }
}

@media (min-width: 1281px) {
    .middle-banner-fullwidth > div {
        height: 450px !important;
    }
}

/* Content Animation */
.middle-banner-fullwidth h2,
.middle-banner-fullwidth h3,
.middle-banner-fullwidth p,
.middle-banner-fullwidth a {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.middle-banner-fullwidth h3 {
    animation-delay: 0.2s;
}

.middle-banner-fullwidth p {
    animation-delay: 0.4s;
}

.middle-banner-fullwidth a {
    animation-delay: 0.6s;
}

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

/* Button Hover Effect */
.middle-banner-fullwidth a {
    position: relative;
    overflow: hidden;
}

.middle-banner-fullwidth a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.3s ease;
    z-index: -1;
}

.middle-banner-fullwidth a:hover::before {
    left: 0;
}

.middle-banner-fullwidth a:hover {
    color: #0F4C3A;
}

/* Image Zoom on Hover */
.middle-banner-fullwidth:hover img {
    transform: scale(1.05);
    transition: transform 6s ease;
}

/* Text Shadow for Readability */
.middle-banner-fullwidth h2,
.middle-banner-fullwidth h3 {
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Gradient Overlay Animation */
.middle-banner-fullwidth::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,76,58,0.8) 0%, rgba(15,76,58,0.4) 50%, transparent 100%);
    z-index: 1;
}

/* Ensure content is above overlay */
.middle-banner-fullwidth .relative.z-10 {
    z-index: 10;
}

/* Product Detail Page - Image Container */
.main-image-container {
    aspect-ratio: 1 / 1; /* Square ratio */
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 1rem;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover kare pura area */
    object-position: center;
}

/* Thumbnails bhi square */
.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail.active {
    border-color: #0F4C3A;
}

/* Agar image contain karni hai (poori image dikhani hai) */
.main-image-container.contain-style img {
    object-fit: contain;
    padding: 1rem;
}
/* ==========================================
   BEST SELLERS PAGE STYLES
   ========================================== */

:root {
    --primary: #0F4C3A;
    --primary-light: #1a6b52;
    --primary-dark: #0a3629;
} 
        /* Premium Custom Styles */
        .font-playfair { font-family: 'Playfair Display', serif; }
        .font-inter { font-family: 'Inter', sans-serif; }
        
        /* Glassmorphism */
        .glass-premium {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(26, 95, 74, 0.1);
        }
        
        /* Countdown Timer Premium */
        .countdown-premium {
            background: linear-gradient(135deg, #1a5f4a 0%, #0d3326 100%);
            position: relative;
            overflow: hidden;
        }
        
        .countdown-premium::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        
        .countdown-box {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            padding: 20px;
            min-width: 90px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .countdown-box::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #d4af37, #f9d76c, #d4af37);
            animation: shimmer 2s infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .countdown-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
            line-height: 1;
            display: block;
            font-variant-numeric: tabular-nums;
        }
        
        .countdown-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(255, 255, 255, 0.8);
            margin-top: 8px;
            font-weight: 600;
        }
        
        /* Premium Product Cards */
        .product-card-premium {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(0, 0, 0, 0.04);
        }
        
        .product-card-premium:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(26, 95, 74, 0.15);
            border-color: rgba(26, 95, 74, 0.1);
        }
        
        .card-image-container {
            position: relative;
            height: 280px;
            overflow: hidden;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        
        .card-image-premium {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .product-card-premium:hover .card-image-premium {
            transform: scale(1.08);
        }
        
        /* Premium Badges */
        .badge-flash {
            position: absolute;
            top: 16px;
            left: 16px;
            background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
            color: white;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
            animation: pulse-flash 2s infinite;
            z-index: 10;
        }
        
        @keyframes pulse-flash {
            0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4); }
            50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 75, 43, 0.6); }
        }
        
        .badge-bestseller-premium {
            position: absolute;
            top: 16px;
            right: 16px;
            background: linear-gradient(135deg, #d4af37 0%, #f9d76c 100%);
            color: #1a1a1a;
            padding: 8px 14px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
            z-index: 10;
        }
        
        .badge-stock-premium {
            position: absolute;
            bottom: 16px;
            left: 16px;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(10px);
            color: white;
            padding: 8px 14px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .badge-stock-premium.low {
            background: rgba(239, 68, 68, 0.9);
            animation: pulse-danger-premium 1.5s infinite;
        }
        
        @keyframes pulse-danger-premium {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.85; }
        }
        
        /* Action Buttons Premium */
        .card-actions-premium {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%) translateX(20px);
            display: flex;
            flex-direction: column;
            gap: 12px;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .product-card-premium:hover .card-actions-premium {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
        }
        
        .action-btn-premium {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: white;
            border: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            color: #1a1a1a;
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            transform: scale(0.8);
        }
        
        .product-card-premium:hover .action-btn-premium {
            transform: scale(1);
        }
        
        .action-btn-premium:hover {
            background: #1a5f4a;
            color: white;
            transform: scale(1.1) !important;
            box-shadow: 0 6px 20px rgba(26, 95, 74, 0.3);
        }
        
        .action-btn-premium:nth-child(1) { transition-delay: 0.05s; }
        .action-btn-premium:nth-child(2) { transition-delay: 0.1s; }
        .action-btn-premium:nth-child(3) { transition-delay: 0.15s; }
        
        /* Card Content Premium */
        .card-content-premium {
            padding: 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card-category-premium {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #1a5f4a;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .card-title-premium {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 12px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 3em;
            transition: color 0.3s ease;
        }
        
        .card-title-premium:hover {
            color: #1a5f4a;
        }
        
        .card-rating-premium {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }
        
        .stars-premium {
            color: #f59e0b;
            font-size: 0.9rem;
        }
        
        .rating-count {
            color: #9ca3af;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        /* Price Section Premium */
        .price-container-premium {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }
        
        .price-current-premium {
            font-size: 1.4rem;
            font-weight: 800;
            color: #1a5f4a;
        }
        
        .price-old-premium {
            font-size: 1rem;
            color: #9ca3af;
            text-decoration: line-through;
            font-weight: 500;
        }
        
        .discount-badge-premium {
            background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 800;
        }
        
        /* Progress Bar Premium */
        .stock-progress-premium {
            margin-bottom: 20px;
        }
        
        .stock-header-premium {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        .stock-header-premium .urgent {
            color: #ef4444;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .progress-bar-premium {
            height: 6px;
            background: #e5e7eb;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        
        .progress-fill-premium {
            height: 100%;
            background: linear-gradient(90deg, #1a5f4a 0%, #2d8a6e 100%);
            border-radius: 10px;
            transition: width 1s ease;
            position: relative;
        }
        
        .progress-fill-premium.low {
            background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
        }
        
        .progress-fill-premium::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer-progress 2s infinite;
        }
        
        @keyframes shimmer-progress {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        /* Add to Cart Button Premium */
        .btn-add-cart-premium {
            width: 100%;
            padding: 14px 24px;
            background: linear-gradient(135deg, #1a5f4a 0%, #0d3326 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            margin-top: auto;
            position: relative;
            overflow: hidden;
        }
        
        .btn-add-cart-premium::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-add-cart-premium:hover::before {
            left: 100%;
        }
        
        .btn-add-cart-premium:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(26, 95, 74, 0.35);
        }
        
        .btn-add-cart-premium:active {
            transform: translateY(0);
        }
        
        .btn-add-cart-premium.added {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        }
        
        .btn-add-cart-premium:disabled {
            background: #9ca3af;
            cursor: not-allowed;
            transform: none;
        }
        
        /* Filter Buttons Premium */
        .filter-container-premium {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            margin-bottom: 40px;
        }
        
        .filter-btn-premium {
            padding: 14px 28px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 2px solid #e5e7eb;
            background: white;
            color: #6b7280;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .filter-btn-premium::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #1a5f4a 0%, #0d3326 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }
        
        .filter-btn-premium span {
            position: relative;
            z-index: 1;
        }
        
        .filter-btn-premium:hover {
            border-color: #1a5f4a;
            color: #1a5f4a;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(26, 95, 74, 0.1);
        }
        
        .filter-btn-premium.active {
            border-color: #1a5f4a;
            color: white;
            box-shadow: 0 4px 15px rgba(26, 95, 74, 0.25);
        }
        
        .filter-btn-premium.active::before {
            opacity: 1;
        }
        
        /* Section Header Premium */
        .section-header-premium {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-subtitle-premium {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #1a5f4a;
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 20px;
        }
        
        .section-title-premium {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 16px;
            line-height: 1.2;
        }
        
        .section-desc-premium {
            font-size: 1.2rem;
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }
        
        /* Toast Notification */
        .toast-premium {
            position: fixed;
            top: 100px;
            right: 20px;
            background: white;
            padding: 16px 24px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 9999;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-left: 4px solid #22c55e;
        }
        
        .toast-premium.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .toast-premium.error {
            border-left-color: #ef4444;
        }
        
        /* Loading Animation */
        .loader-premium {
            width: 50px;
            height: 50px;
            border: 3px solid #e5e7eb;
            border-top-color: #1a5f4a;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .countdown-box {
                min-width: 70px;
                padding: 15px;
            }
            .countdown-number {
                font-size: 1.8rem;
            }
            .card-image-container {
                height: 220px;
            }
            .filter-btn-premium {
                padding: 12px 20px;
                font-size: 0.85rem;
            }
        }
        
        /* Animation Classes */
        .fade-in-up {
            opacity: 0;
            transform: translateY(30px);
        }
        
        .fade-in-up.animate {
            opacity: 1;
            transform: translateY(0);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
    

/* ==========================================
   NEW ARRIVALS SLIDER - FIXED & RESPONSIVE
   No overlapping, clean layout
========================================== */

.na-slider-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.na-slider-modal.hidden {
    display: none !important;
}

.na-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.na-modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Close Button */
.na-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.na-close-btn:hover {
    background: #e74c3c;
    color: white;
}

/* Progress Bar */
.na-progress {
    width: 100%;
    height: 3px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.na-progress-fill {
    height: 100%;
    background: #0F4C3A;
    width: 0%;
    transition: width 0.1s linear;
}

/* Header - FIXED */
.na-header {
    text-align: center;
    padding: 24px 20px 16px;
    flex-shrink: 0;
    background: white;
}

.na-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0F4C3A;
    margin-bottom: 8px;
    font-weight: 600;
}

.na-brand i {
    color: #d4af37;
}

.na-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.na-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Slider Container - FIXED */
.na-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0; /* IMPORTANT: Prevents overflow */
}

/* Individual Slide - FIXED */
.na-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    
    box-sizing: border-box;
}

.na-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 10;
}

.na-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
}

/* Slide Inner Layout */
.na-slide-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    width: 100%;
}

/* Slide Image - FIXED */
.na-slide-img {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f8f8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.na-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Content - FIXED */
.na-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Prevents text overflow */
}

.na-slide-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    background: #0F4C3A;
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.na-slide-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.2;
    word-wrap: break-word;
}

.na-slide-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.na-slide-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.na-slide-price .current {
    font-size: 28px;
    font-weight: 600;
    color: #0F4C3A;
}

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

.na-slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.na-feature-tag {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.na-feature-tag i {
    color: #0F4C3A;
    font-size: 10px;
}

.na-slide-btn {
    padding: 14px 28px;
    background: #0F4C3A;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    align-self: flex-start;
    flex-shrink: 0;
}

.na-slide-btn:hover {
    background: #1B5E48;
}

/* Navigation */
.na-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.na-nav:hover {
    background: #0F4C3A;
    color: white;
    border-color: #0F4C3A;
}

.na-prev { left: 16px; }
.na-next { right: 16px; }

/* Dots */
.na-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    flex-shrink: 0;
    background: white;
}

.na-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.na-dot.active {
    background: #0F4C3A;
    width: 24px;
    border-radius: 4px;
}

/* Footer */
.na-footer {
    padding: 16px 20px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: white;
}

.na-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #0F4C3A;
    border: 2px solid #0F4C3A;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.na-cta-btn:hover {
    background: #0F4C3A;
    color: white;
}

/* ==========================================
   TABLET RESPONSIVE (768px - 1024px)
========================================== */
@media (max-width: 1024px) {
    .na-modal-content {
        max-width: 90vw;
    }
    
    .na-slide {
        padding: 20px 50px;
    }
    
    .na-slide-inner {
        gap: 30px;
    }
    
    .na-slide-img {
        height: 300px;
    }
    
    .na-slide-content h3 {
        font-size: 26px;
    }
}

/* ==========================================
   MOBILE RESPONSIVE (< 768px)
========================================== */
@media (max-width: 767px) {
    .na-slider-modal {
        padding: 0;
    }
    
    .na-modal-content {
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
        max-width: 100%;
    }
    
    .na-header {
        padding: 60px 16px 12px;
    }
    
    .na-header h2 {
        font-size: 24px;
    }
    
    .na-slider {
        overflow-y: auto; /* Allow scroll if needed */
    }
    
    .na-slide {
        position: relative; /* Stack instead of absolute */
        transform: none;
        opacity: 1;
        padding: 16px;
        display: none; /* Hide all by default */
        min-height: calc(100vh - 200px);
    }
    
    .na-slide.active {
        display: flex; /* Show only active */
        transform: none;
    }
    
    .na-slide.prev {
        display: none;
    }
    
    .na-slide-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .na-slide-img {
        height: 280px;
        order: -1; /* Image upar */
    }
    
    .na-slide-content {
        align-items: center;
    }
    
    .na-slide-tag {
        align-self: center;
    }
    
    .na-slide-content h3 {
        font-size: 22px;
    }
    
    .na-slide-content p {
        font-size: 14px;
    }
    
    .na-slide-price {
        justify-content: center;
    }
    
    .na-slide-price .current {
        font-size: 24px;
    }
    
    .na-slide-features {
        justify-content: center;
    }
    
    .na-slide-btn {
        align-self: center;
        width: 100%;
        max-width: 280px;
    }
    
    .na-nav {
        display: none; /* Mobile pe swipe use karo */
    }
    
    .na-dots {
        padding: 12px;
    }
}

/* ==========================================
   SMALL MOBILE (< 480px)
========================================== */
@media (max-width: 479px) {
    .na-header h2 {
        font-size: 20px;
    }
    
    .na-slide-img {
        height: 240px;
    }
    
    .na-slide-content h3 {
        font-size: 20px;
    }
    
    .na-slide-price .current {
        font-size: 22px;
    }
}/* Slider Container - Ensure it has space */
.na-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Force a minimum height for desktop */
    display: flex;
    align-items: center;
}

/* Individual Slide */
.na-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    opacity: 0;
    visibility: hidden; /* Added: fully hide when not active */
    transform: translateX(50px); /* Subtle slide effect instead of 100% */
    transition: all 0.5s ease;
    box-sizing: border-box;
}

.na-slide.active {
    opacity: 1;
    visibility: visible; /* Show active slide */
    transform: translateX(0);
    z-index: 10;
}

/* Fix for Images not showing */
.na-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to ensure product is seen */
    display: block;
}

/* Mobile Responsive Fix */
@media (max-width: 767px) {
    .na-slide {
        padding: 15px;
        position: absolute; /* Keep it absolute for transitions */
        height: 100%;
        width: 100%;
    }
    
    .na-slide-inner {
        display: flex;
        flex-direction: column;
        gap: 15px;
        overflow-y: auto; /* Content scrollable if long */
        height: 100%;
    }

    .na-slide-img {
        height: 200px; /* Smaller height for mobile */
        width: 100%;
    }
}

.ihram-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ihram-modal.hidden { display: none; }

.ihram-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 76, 58, 0.2); /* Theme color shade */
    backdrop-filter: blur(15px);
}

.ihram-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    animation: slideUp 0.4s ease-out;
}

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

.ihram-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f5f5f5;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.ihram-modal-header { text-align: center; margin-bottom: 25px; }

.ihram-icon-circle {
    width: 60px;
    height: 60px;
    background: #0F4C3A;
    color: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    box-shadow: 0 0 20px rgba(15, 76, 58, 0.3);
}

.checklist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.checklist-item:hover { background: #f9f9f9; }

.item-title { display: block; font-weight: 600; color: #333; font-size: 15px; }
.item-desc { font-size: 12px; color: #777; }

.item-status {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 10px;
    background: #eee;
    color: #666;
    text-transform: uppercase;
}

.item-status.recommended { background: #e3f2fd; color: #1976d2; }
.item-status.essential { background: #fff3e0; color: #ef6c00; }

.ihram-modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-primary { background: #0F4C3A; color: white; }
.btn-secondary { background: #f5f5f5; color: #333; }
.btn-primary:hover { background: #1a634e; }

.mat-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.mat-modal.hidden { display: none; }

.mat-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.mat-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 35px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    animation: matPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes matPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mat-header h2 { font-family: 'Playfair Display', serif; color: #0F4C3A; margin: 10px 0 5px; }
.mat-header p { color: #666; font-size: 14px; margin-bottom: 25px; }

.mat-icon-box {
    width: 60px; height: 60px; background: #E8F5E9; color: #2E7D32;
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto; font-size: 24px;
}

.mat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }

.mat-card {
    background: #f8f9fa; border: 2px solid transparent; border-radius: 20px;
    padding: 20px; cursor: pointer; transition: all 0.3s ease; position: relative;
}

.mat-card:hover { border-color: #0F4C3A; transform: translateY(-5px); background: #fff; }

.mat-card i { font-size: 30px; color: #0F4C3A; margin-bottom: 12px; }
.mat-card h3 { font-size: 15px; margin: 10px 0; color: #333; }
.mat-card p { font-size: 11px; color: #777; line-height: 1.4; }

.mat-badge {
    position: absolute; top: 10px; right: 10px; font-size: 9px;
    background: #0F4C3A; color: white; padding: 3px 8px; border-radius: 10px;
}

.mat-badge.gold { background: #d4af37; }

.view-all-mats {
    width: 100%; background: #0F4C3A; color: white; border: none;
    padding: 15px; border-radius: 15px; font-weight: 600; cursor: pointer;
    transition: 0.3s;
}

.mat-footer p { font-size: 12px; color: #2E7D32; margin-bottom: 15px; font-weight: 500; }
.mat-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer; color: #999; }


/* ==========================================
   SEARCH STYLES - COMPACT & PROFESSIONAL
   ========================================== */

.search-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.search-item:hover {
    border-color: #0F4C3A;
    box-shadow: 0 4px 12px rgba(15, 76, 58, 0.08);
    transform: translateY(-1px);
}

.search-item-main {
    display: flex;
    gap: 12px;
    padding: 12px;
}

.search-item-img-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

.search-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-badge {
    position: absolute;
    top: 3px;
    left: 3px;
    background: #ef4444;
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
}

.search-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1px 0;
}

.search-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
}

.search-cat {
    font-size: 9px;
    font-weight: 600;
    color: #0F4C3A;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(15, 76, 58, 0.08);
    padding: 2px 6px;
    border-radius: 10px;
}

.search-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: #f59e0b;
    font-weight: 600;
}

.search-rating i {
    font-size: 9px;
}

.search-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.search-price {
    font-size: 14px;
    font-weight: 700;
    color: #0F4C3A;
}

.search-old {
    font-size: 10px;
    color: #9ca3af;
    text-decoration: line-through;
}

.search-discount {
    font-size: 9px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.search-stock {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
    color: #22c55e;
}

.search-stock.low {
    color: #ef4444;
}

.search-stock i {
    font-size: 9px;
}

.search-actions {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.search-btn-cart {
 display: none;
}

.search-btn-cart:hover:not(:disabled) {
    background: #0a3d2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 76, 58, 0.25);
}

.search-btn-cart:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

.search-btn-cart i {
    font-size: 12px;
}

.search-btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: white;
    color: #374151;
    border: 1.5px solid #e5e7eb;
    padding: 8px 54px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-btn-view:hover {
    border-color: #0F4C3A;
    color: #0F4C3A;
    background: rgba(15, 76, 58, 0.02);
}

.search-btn-view i {
    font-size: 10px;
}

.search-btn-wishlist {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #ef4444;
    border: 1.5px solid #fecaca;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-btn-wishlist:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: scale(1.05);
}

.search-btn-wishlist.active {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

/* Utilities */
.text-primary { color: #0F4C3A; }
.bg-primary { background-color: #0F4C3A; }
.border-primary { border-color: #0F4C3A; }
.hover\:border-primary:hover { border-color: #0F4C3A; }
.hover\:text-primary:hover { color: #0F4C3A; }
.focus\:border-primary:focus { border-color: #0F4C3A; }

.bg-emerald-50 { background-color: #ecfdf5; }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }
.hover\:bg-emerald-600:hover { background-color: #059669; }

.bg-amber-50 { background-color: #fffbeb; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.hover\:bg-amber-600:hover { background-color: #d97706; }

.bg-teal-50 { background-color: #f0fdfa; }
.text-teal-600 { color: #0d9488; }
.text-teal-700 { color: #0f766e; }
.hover\:bg-teal-600:hover { background-color: #0d9488; }

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 20px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Backdrop blur */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


 
        /* ==================== ISLAMIC HERO GRID STYLES ==================== */
        .islamic-hero-grid {
            padding: 40px 5%;
            background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
            font-family: 'Poppins', sans-serif;
        }

        .islamic-hero-grid .container-g {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            max-width: 1400px;
            margin: 0 auto;
            min-height: 600px;
        }

        /* Left Side - Main Hero */
        .hero-main {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(6, 78, 59, 0.15);
        }

        .hero-image-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 600px;
        }

        .hero-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, rgba(106, 150, 141, 0.9), rgba(188, 218, 211, 0.4));
            z-index: 1;
        }

        .hero-content-g {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px;
            color: white;
        }

        .hero-badge-g {
            display: inline-block;
            padding: 8px 20px;
            background: rgba(245, 158, 11, 0.2);
            border: 1px solid #f59e0b;
            color: #fbbf24;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 20px;
            width: fit-content;
            backdrop-filter: blur(10px);
        }

        .hero-title-g {
            font-size: clamp(32px, 4vw, 52px);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            font-family: 'Amiri', serif;
        }

        .hero-desc-g {
            font-size: 1.1rem;
            opacity: 0.95;
            margin-bottom: 30px;
            max-width: 90%;
            line-height: 1.6;
        }

        .hero-btn-g {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 32px;
            background: white;
            color: #064e3b;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            width: fit-content;
            transition: all 0.3s;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            border: 2px solid white;
        }

        .hero-btn-g:hover {
            background: transparent;
            color: white;
            transform: translateY(-3px);
        }

        /* Right Side - Categories Grid */
        .categories-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 20px;
        }

        .category-card-g {
            position: relative;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
        }

        .category-card-g:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(6, 78, 59, 0.15);
            border-color: #10b981;
        }

        .card-bg {
            position: relative;
            height: 65%;
            overflow: hidden;
            background: #f0fdf4;
        }

        .card-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }

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

        .card-content {
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            flex: 1;
        }

        .card-content h3 {
            color: #064e3b;
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0;
            font-family: 'Amiri', serif;
        }

        .arrow-icon {
            width: 40px;
            height: 40px;
            background: #064e3b;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .category-card-g:hover .arrow-icon {
            background: #f59e0b;
            color: #064e3b;
            transform: rotate(-45deg);
        }

        /* ==================== MOBILE RESPONSIVE ==================== */
        @media (max-width: 968px) {
            .islamic-hero-grid .container-g {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .hero-image-wrapper {
                min-height: 400px;
            }

            .hero-content-g {
                padding: 40px 30px;
                text-align: center;
                align-items: center;
            }

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

            .categories-grid {
                gap: 15px;
            }

            .category-card-g {
                border-radius: 16px;
            }
        }

        @media (max-width: 640px) {
            .islamic-hero-grid {
                padding: 20px 4%;
            }

            .hero-image-wrapper {
                min-height: 350px;
            }

            .hero-content-g {
                padding: 30px 20px;
            }

            .hero-badge-g {
                font-size: 0.8rem;
                padding: 6px 16px;
            }

            .hero-title-g {
                font-size: 1.75rem;
            }

            .hero-desc-g {
                font-size: 0.95rem;
            }

            .hero-btn-g {
                padding: 14px 28px;
                font-size: 0.95rem;
            }

            .categories-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }

            .card-content {
                padding: 15px;
            }

            .card-content h3 {
                font-size: 0.95rem;
            }

            .arrow-icon {
                width: 32px;
                height: 32px;
                font-size: 0.8rem;
            }

            .card-bg {
                height: 60%;
            }
        }

        /* RTL Support */
        [dir="rtl"] .hero-title-g,
        [dir="rtl"] .card-content h3 {
            font-family: 'Amiri', 'Noto Nastaliq Urdu', serif;
        }

        [dir="rtl"] .arrow-icon i {
            transform: scaleX(-1);
        }

        [dir="rtl"] .category-card-g:hover .arrow-icon {
            transform: rotate(45deg);
        }
    

                 /* 3D Card Flip Styles */
        .perspective-1000 {
            perspective: 1000px;
        }

        .transform-style-3d {
            transform-style: preserve-3d;
        }

        .backface-hidden {
            backface-visibility: hidden;
        }

        .rotate-y-180 {
            transform: rotateY(180deg);
        }

        .group:hover .group-hover\:rotate-y-180 {
            transform: rotateY(180deg);
        }

        /* Smooth Scroll Reveal */
        .reveal-up {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        }

        .reveal-up.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Floating Animation */
        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-20px);
            }
        }

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }

        /* Gradient Text Animation */
        @keyframes gradient-shift {

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

            50% {
                background-position: 100% 50%;
            }
        }

        .bg-gradient-to-r {
            background-size: 200% auto;
            animation: gradient-shift 3s ease infinite;
        }
    
    
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f8f9fa;
        }

        /* Main Marquee Container */
        .announcement-bar {
            background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
            border-bottom: 1px solid #e9ecef;
            padding: 12px 0;
            overflow: hidden;
            position: relative;
        }

        /* Subtle top accent line */
        .announcement-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #1a5f4a, #d4af37, #1a5f4a, transparent);
        }

        /* Marquee Track */
        .marquee-track {
            display: flex;
            animation: scroll 30s linear infinite;
            width: max-content;
        }

        .marquee-track:hover {
            animation-play-state: paused;
        }

        /* Individual Items */
        .marquee-item {
            display: flex;
            align-items: center;
            padding: 0 50px;
            white-space: nowrap;
            position: relative;
        }

        /* Separator dots */
        .marquee-item::after {
            content: '•';
            position: absolute;
            right: 0;
            color: #d4af37;
            font-size: 20px;
            font-weight: bold;
        }

        /* Icons */
        .icon {
            margin-right: 10px;
            font-size: 18px;
        }

        /* Text Styling */
        .marquee-text {
            color: #2c3e50;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }

        /* Special styling for discount */
        .highlight-discount {
            background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            margin: 0 8px;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(26, 95, 74, 0.3);
        }

        /* Urgent text */
        .urgent {
            color: #c0392b;
            font-weight: 700;
            animation: pulse 2s infinite;
        }

        /* Trust badge */
        .trust-badge {
            color: #1a5f4a;
            font-weight: 700;
        }

        /* Animations */
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .marquee-text {
                font-size: 12px;
            }
            .marquee-item {
                padding: 0 30px;
            }
        }




/* ==========================================
   HERO SECTION CSS - HIGH PRIORITY
   ========================================== */

/* Hero Section Base */
.hero-slide {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: scale(1.05) !important;
    z-index: 1 !important;
}

.hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    z-index: 10 !important;
}

/* Hero Content Animations */
.hero-content {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-slide.active .hero-content {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero-slide.active .hero-content-delay-1 { 
    transition-delay: 0.2s !important; 
}

.hero-slide.active .hero-content-delay-2 { 
    transition-delay: 0.4s !important; 
}

.hero-slide.active .hero-content-delay-3 { 
    transition-delay: 0.6s !important; 
}

/* ==========================================
   HERO BUTTONS - CRITICAL FIXES
   ========================================== */

/* All anchor tags in hero - FORCE CLICKABLE */
.hero-slide a,
.hero-slide a:link,
.hero-slide a:visited,
.hero-slide a:hover,
.hero-slide a:active {
    display: inline-block !important;
    position: relative !important;
    z-index: 100 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    text-decoration: none !important;
}

/* Button styling inside hero */
.hero-slide a {
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Primary Button (Gold) */
.hero-slide a:first-child,
.hero-slide a.bg-\[\#d4af37\] {
    background-color: #d4af37 !important;
    color: #0F4C3A !important;
}

.hero-slide a:first-child:hover,
.hero-slide a.bg-\[\#d4af37\]:hover {
    background-color: #b8941f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* Secondary Button (Outline) */
.hero-slide a.border {
    background-color: transparent !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: white !important;
}

.hero-slide a.border:hover {
    background-color: rgba(255,255,255,0.1) !important;
}

/* Shop Now / Order Now buttons */
.hero-slide a.bg-white {
    background-color: white !important;
    color: #111827 !important;
}

.hero-slide a.bg-white:hover {
    background-color: #f3f4f6 !important;
}

.hero-slide a.bg-blue-500 {
    background-color: #3b82f6 !important;
    color: white !important;
}

.hero-slide a.bg-blue-500:hover {
    background-color: #60a5fa !important;
}

/* Slide 4 specific button */
.hero-slide a[href="./guide.html"] {
    background-color: white !important;
    color: #0c4a6e !important;
    padding: 14px 32px !important;
}

.hero-slide a[href="./guide.html"]:hover {
    background-color: #f3f4f6 !important;
}

/* ==========================================
   SLIDER DOTS & CONTROLS
   ========================================== */

.slider-dot {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.slider-dot.active {
    width: 32px !important;
    background-color: #d4af37 !important;
}

/* Slider navigation buttons */
button[onclick*="prevSlide"],
button[onclick*="nextSlide"],
button[onclick*="goToSlide"] {
    cursor: pointer !important;
    z-index: 20 !important;
    position: relative !important;
}

/* ==========================================
   FIX OVERLAY ISSUES
   ========================================== */

/* Ensure content is above background */
.hero-slide > div {
    position: relative !important;
    z-index: 5 !important;
}

/* Remove any overlay that might block clicks */
.hero-slide::before {
    content: none !important;
}

/* Ensure no pseudo elements block clicks */
.hero-slide *::before,
.hero-slide *::after {
    pointer-events: none !important;
}

/* ==========================================
   MOBILE SPECIFIC FIXES
   ========================================== */

@media (max-width: 768px) {
    .hero-slide a {
        padding: 14px 28px !important;
        font-size: 16px !important; /* Larger for mobile touch */
        min-height: 48px !important; /* Minimum touch target */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Ensure proper stacking on mobile */
    .hero-slide {
        z-index: 1 !important;
    }
    
    .hero-slide.active {
        z-index: 10 !important;
    }
}

/* ==========================================
   DISABLE ANY CONFLICTING STYLES
   ========================================== */

/* Force enable pointer events on all interactive elements */
.hero-slide button,
.hero-slide a,
.hero-slide [onclick] {
    pointer-events: auto !important;
}

/* Remove any inherited disabled states */
.hero-slide a:not([disabled]) {
    opacity: 1 !important;
}

/* Ensure visibility */
.hero-slide.active * {
    visibility: visible !important;
}
/* Option 2: Center se thoda neeche */
.hero-slide > div {
    align-items: center !important;
    padding-top: 30px !important; /* Top se push */
}

  
        /* ==================== STORE PROMISE STYLES ==================== */
        .store-promise-section {
            padding: 80px 5%;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            font-family: 'Poppins', sans-serif;
        }

        .promise-container {
            max-width: 1280px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #064e3b;
            margin-bottom: 48px;
            font-family: 'Amiri', serif;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #10b981, #d4af37);
            margin: 16px auto 0;
            border-radius: 2px;
        }

        .promise-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        /* Promise Cards */
        .promise-card {
            background: #ffffff;
            border-radius: 24px;
            padding: 40px 24px;
            text-align: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
        }

        .promise-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgba(6, 78, 59, 0.1), 0 10px 10px -5px rgba(6, 78, 59, 0.04);
            border-color: #10b981;
        }

        .promise-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #10b981, #d4af37);
            transform: scaleX(0);
            transition: transform 0.4s;
        }

        .promise-card:hover::before {
            transform: scaleX(1);
        }

        /* Icon Wrapper */
        .icon-wrapper {
            width: 80px;
            height: 80px;
            margin: 0 auto 24px;
            background: #f0fdf4;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #064e3b;
            transition: all 0.3s;
        }

        .promise-card:hover .icon-wrapper {
            background: #064e3b;
            color: white;
            transform: scale(1.1);
        }

        .icon-wrapper svg {
            width: 40px;
            height: 40px;
        }

        /* Typography */
        .promise-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .promise-card p {
            font-size: 0.95rem;
            color: #64748b;
            line-height: 1.6;
            margin-bottom: 24px;
            min-height: 48px;
        }

        /* Button */
        .promise-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: #0f172a;
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid #0f172a;
        }

        .promise-btn:hover {
            background: transparent;
            color: #0f172a;
            transform: translateX(4px);
        }

        .promise-btn i {
            font-size: 0.8rem;
            transition: transform 0.3s;
        }

        .promise-btn:hover i {
            transform: translateX(4px);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .promise-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }

        @media (max-width: 640px) {
            .store-promise-section {
                padding: 60px 4%;
            }

            .section-title {
                font-size: 1.75rem;
                margin-bottom: 32px;
            }

            .promise-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .promise-card {
                padding: 32px 20px;
            }

            .icon-wrapper {
                width: 64px;
                height: 64px;
            }

            .icon-wrapper svg {
                width: 32px;
                height: 32px;
            }

            .promise-card h3 {
                font-size: 1.1rem;
            }
        }

        /* RTL Support */
        [dir="rtl"] .promise-btn i {
            transform: scaleX(-1);
        }

        [dir="rtl"] .promise-btn:hover i {
            transform: scaleX(-1) translateX(-4px);
        }

        /* Dark Mode Support (Optional) */
        @media (prefers-color-scheme: dark) {
            .store-promise-section {
                background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            }

            .promise-card {
                background: #1e293b;
                border-color: #334155;
            }

            .promise-card h3 {
                color: #f8fafc;
            }

            .promise-card p {
                color: #94a3b8;
            }

            .section-title {
                color: #f8fafc;
            }
        }
    