        /* --- VARIABLES & RESET --- */
        :root {
            --primary-orange: #ff6600;
            --primary-red: #db3030;
            --primary-black: #222222;
            --text-grey: #666666;
            --bg-body: #f5f7f9;
            --white: #ffffff;
            --border-green: #a6cfa6;
            --border-light: #eaeaea;
            --hero-blue: #0088cc;
            --star-yellow: #ffc107;
            --shadow-card: 0 5px 15px rgba(0,0,0,0.05);
            --shadow-header: 0 4px 20px rgba(0,0,0,0.06);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--bg-body);
            overflow-x: hidden;
            padding-bottom: 60px;
        }

        a { text-decoration: none; }

        /* --- HEADER --- */
        header {
            background-color: var(--white);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-top: 5px solid var(--border-green);
            box-shadow: var(--shadow-header);
        }

        .navbar-main {
            max-width: 1400px; margin: 0 auto; height: 80px; display: flex;
            align-items: center; justify-content: space-between; padding: 0 30px;
            position: relative; background: #fff;
        }

        /* Nav Left */
        .nav-left { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
        .hamburger { font-size: 26px; cursor: pointer; display: none; color: var(--primary-black); }
        .logo img { height: 48px; width: auto; display: block; }

        /* Nav Middle */
        .nav-middle { flex-grow: 1; display: flex; align-items: center; justify-content: center; gap: 20px; }
        .cat-trigger-btn {
            background-color: #f1f1f1; color: var(--primary-black); padding: 8px 18px;
            border-radius: 50px; font-size: 13px; font-weight: 600; cursor: pointer;
            display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: 0.3s;
        }
        .cat-trigger-btn:hover { background-color: var(--primary-orange); color: #fff; }
        
        .nav-links { display: flex; list-style: none; gap: 30px; }
        .nav-links li a {
            color: var(--primary-black); font-weight: 700; font-size: 14px;
            text-transform: uppercase; display: flex; align-items: center; gap: 8px;
        }
        .nav-links li a:hover { color: var(--primary-orange); }

        /* Nav Right */
        .nav-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
        .icon-btn { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--primary-black); transition: 0.2s; }
        .icon-btn:hover { color: var(--primary-orange); transform: scale(1.1); }

        /* Search Logic */
        .desktop-search-wrapper { display: none; width: 100%; max-width: 450px; position: relative; animation: fadeIn 0.3s; }
        .desktop-search-input { width: 100%; padding: 10px 40px 10px 20px; border: 2px solid var(--primary-orange); border-radius: 50px; outline: none; }
        .desktop-search-close { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #777; }
        
        .mobile-search-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 100; display: none; align-items: center; padding: 0 15px; }
        .mobile-search-input { width: 100%; padding: 12px 45px 12px 20px; border: 2px solid var(--primary-orange); border-radius: 50px; outline: none; }
        .mobile-search-close { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 20px; }

        /* --- CATEGORY PILL BAR (The Fixed Part) --- */
        .category-bar { 
            background: #fff; 
            border-bottom: 1px solid #eee; 
            max-height: 0; 
            overflow: hidden; 
            transition: max-height 0.4s; 
        }
        .category-bar.open { max-height: 90px; }
        
        .category-scroll { 
            display: flex; 
            /* Default for Desktop: Center the items */
            justify-content: center; 
            gap: 15px; 
            padding: 20px; 
            overflow-x: auto; 
            scrollbar-width: none; 
            width: 100%;
        }
        
        .cat-pill {
            display: flex; align-items: center; gap: 10px; padding: 8px 18px;
            border: 1px solid var(--primary-orange); border-radius: 30px;
            color: var(--primary-black); font-size: 13px; font-weight: 600; background: #fff; flex-shrink: 0;
            transition: 0.2s;
        }
        .cat-pill i { color: var(--primary-orange); }
        .cat-pill:hover { background: var(--primary-orange); color: #fff; box-shadow: 0 4px 10px rgba(255,102,0,0.2); }
        .cat-pill:hover i { color: #fff; }

        /* --- HERO SLIDER --- */
        .hero-section { width: 100%; padding: 20px 0; display: flex; justify-content: center; }
        .hero-slider-container { width: 100%; max-width: 1400px; height: 420px; border-radius: 20px; overflow: hidden; position: relative; margin: 0 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .hero-slides-wrapper { display: flex; width: 300%; height: 100%; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
        .slide { width: 33.333%; height: 100%; background: linear-gradient(105deg, #2a2a2a, #444); display: flex; align-items: center; padding: 0 60px; overflow: hidden; }
        .slide-content { flex: 1; z-index: 2; color: white; }
        .slide-title { font-size: 42px; font-weight: 800; margin-bottom: 15px; }
        .slide-desc { color: #ddd; max-width: 500px; margin-bottom: 25px; }
        .hero-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--hero-blue); color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: 600; }
        .slide-image { flex: 1; display: flex; justify-content: center; height: 80%; }
        .slide-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
        .hero-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
        .dot { width: 10px; height: 10px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; }
        .dot.active { background: #fff; width: 30px; border-radius: 10px; }

        /* --- POPULAR CATEGORIES (Grid) --- */
        .pop-cat-section { width: 100%; padding: 20px; display: flex; justify-content: center; }
        .pop-cat-container { width: 100%; max-width: 1400px; }
        .pop-cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .pop-cat-header h2 { font-size: 20px; font-weight: 700; color: var(--primary-black); }
        .pop-cat-header a { font-size: 14px; color: var(--primary-orange); font-weight: 600; }
        
        .pop-cat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
        }
        
        .pop-card {
            background: white; border: 1px solid var(--border-light); border-radius: 10px;
            padding: 20px 10px; display: flex; flex-direction: column; align-items: center;
            transition: 0.3s;
        }
        .pop-card:hover { border-color: var(--primary-orange); transform: translateY(-3px); box-shadow: var(--shadow-card); }
        
        .pop-img-wrapper {
            width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin-bottom: 15px;
            background: #f9f9f9;
        }
        .pop-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
        .pop-card span { font-size: 13px; font-weight: 600; color: var(--primary-black); text-align: center; line-height: 1.3; }

        /* --- PRODUCT SHELVES --- */
        .shelf-section { width: 100%; padding: 20px 20px; display: flex; justify-content: center; }
        .shelf-container { width: 100%; max-width: 1400px; }
        
        .shelf-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee;
        }
        .shelf-title { font-size: 22px; font-weight: 700; color: var(--primary-black); position: relative; }
        .shelf-title::after { content: ''; position: absolute; bottom: -11px; left: 0; width: 50px; height: 3px; background: var(--primary-orange); }
        
        .see-all-link { font-size: 14px; color: var(--primary-orange); font-weight: 600; display: flex; gap: 5px; align-items: center; }
        
        /* Product Scroller */
        .product-scroll-view {
            display: flex; gap: 20px; overflow-x: auto; padding: 10px 5px 25px 5px;
            scroll-behavior: smooth; scrollbar-width: none;
            /* Ensure alignment starts from left on all devices */
            justify-content: flex-start; 
        }
        .product-scroll-view::-webkit-scrollbar { display: none; }

        .prod-card {
            min-width: 220px; max-width: 220px;
            background: #fff; border: 1px solid var(--border-light); border-radius: 12px;
            position: relative; display: flex; flex-direction: column; overflow: hidden;
            transition: all 0.3s ease;
        }
        .prod-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: #ddd; transform: translateY(-5px); }

        .badge {
            position: absolute; top: 12px; left: 12px; z-index: 2;
            background: var(--primary-red); color: #fff; font-size: 11px; font-weight: 700;
            padding: 4px 8px; border-radius: 4px;
        }
        .badge.new { background: var(--hero-blue); }
        .badge.out { background: #e0e0e0; color: #888; }

        .prod-img-box {
            width: 100%; height: 200px;
            padding: 20px;
            display: flex; align-items: center; justify-content: center;
            background: #fff;
        }
        .prod-img-box img {
            max-width: 100%; max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
        }
        .prod-card:hover .prod-img-box img { transform: scale(1.08); }

        .prod-details {
            padding: 15px; display: flex; flex-direction: column; gap: 6px;
            border-top: 1px solid #f9f9f9; flex-grow: 1;
        }
        .rating { font-size: 12px; color: var(--star-yellow); display: flex; gap: 3px; align-items: center; }
        .rating span { color: #aaa; margin-left: 5px; font-size: 11px; }

        .prod-title {
            font-size: 14px; font-weight: 600; color: #333; line-height: 1.4;
            height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        }

        .price-box { display: flex; align-items: center; gap: 8px; margin-top: auto; }
        .current-price { font-size: 17px; font-weight: 700; color: var(--primary-red); }
        .old-price { font-size: 13px; color: #999; text-decoration: line-through; }

        /* Sidebar & Overlay */
        .sidebar { position: fixed; left: -300px; top: 0; width: 280px; height: 100%; background: #fff; z-index: 2000; transition: left 0.3s; display: flex; flex-direction: column; }
        .sidebar.active { left: 0; }
        .sidebar-header { padding: 20px; border-bottom: 2px solid #f0f0f0; display: flex; justify-content: center; }
        .sidebar-header img { height: 50px; }
        .sidebar-menu { list-style: none; padding: 10px 0; overflow-y: auto; }
        .sidebar-menu li a { display: flex; align-items: center; gap: 15px; padding: 15px 25px; color: #000; font-weight: 700; text-transform: uppercase; }
        .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1500; display: none; }
        .overlay.active { display: block; }
        @keyframes fadeIn { from{opacity:0; transform:translateY(5px);} to{opacity:1; transform:translateY(0);} }

        /* --- RESPONSIVE / MOBILE FIXES --- */
        @media (max-width: 992px) {
            .navbar-main { height: 75px; padding: 0 15px; }
            .hamburger { display: block; }
            .nav-links { display: none !important; }
            .nav-middle { justify-content: flex-end; flex-grow: 0; }
            .cat-trigger-btn span { display: none; }
            .cat-trigger-btn { padding: 14px; border-radius: 12px; font-size: 18px; background-color: #f4f4f4; }
            
            /* FIX FOR CATEGORY SCROLL ON MOBILE */
            .category-scroll {
                /* Left align ensures first item isn't cut off */
                justify-content: flex-start; 
                padding-left: 15px; /* Ensure padding on left edge */
            }

            .hero-slider-container { height: 480px; margin: 0 10px; }
            .slide { flex-direction: column-reverse; padding: 30px; text-align: center; }
            .slide-title { font-size: 28px; }
            .slide-image { height: 40%; width: 100%; }

            .pop-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .shelf-section { padding: 10px 15px; }
            .prod-card { min-width: 170px; max-width: 170px; }
            .prod-img-box { height: 150px; }
        }
        
        body.desktop-search-active .nav-links { display: none; }
        body.desktop-search-active .desktop-search-wrapper { display: block; }
/* --- Footer General Settings --- */
.site-footer {
    background-color: #ffffff;
    padding: 50px 0 20px;
    font-family: 'Arial', sans-serif;
    border-top: 1px solid #eaeaea;
    color: #000000; /* Black Color */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Columns */
.footer-col {
    width: 22%; /* Creates the 4 column layout */
    margin-bottom: 30px;
}

/* Make the first column (Logo section) slightly wider like the image */
.footer-col.first-col {
    width: 30%;
    padding-right: 20px; 
}

/* Logo */
.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
    display: block;
}

/* Description Text (Black & Bold) */
.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    font-weight: 700; /* Bold */
    margin-bottom: 20px;
}

/* Headings (Black & Bold) */
.footer-col h4 {
    font-size: 16px;
    color: #000000;
    font-weight: 800; /* Extra Bold */
    margin-bottom: 20px;
    text-transform: capitalize;
}

/* Links List */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Links Text (Black & Bold) */
.footer-col ul li a, 
.footer-col ul li span {
    font-size: 14px;
    color: #000000;
    font-weight: 700; /* Bold */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ff6600; /* Orange hover effect */
}

/* --- Social Icons (Circles like image) --- */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid #ddd; /* Light grey circle border */
    border-radius: 50%;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: hwb(29 3% 15% / 0.911);
    color: #fff;
    border-color: hwb(27 1% 92%);
}

/* --- Contact Icons Styling --- */
.contact-col i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Colors for Icons matches image */
.icon-orange {
    color: #ff6600; /* Orange for map, phone, email */
}

.icon-green {
    color: #25d366; /* WhatsApp Green */
}

/* WhatsApp Text Green */
.whatsapp-link span {
    color: #25d366 !important;
}

/* --- Copyright Bar --- */
.footer-bottom {
    border-top: 1px solid #eaeaea;
    margin-top: 20px;
    padding-top: 20px;
    text-align: left; /* Image shows it aligned left/start */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: #000000;
    font-weight: 700; /* Bold */
}

/* --- MOBILE RESPONSIVENESS (Phone Settings) --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-col, 
    .footer-col.first-col {
        width: 100%; /* Full width on phone */
        padding-right: 0;
        margin-bottom: 25px;
        text-align: left; /* FORCE LEFT ALIGNMENT ON PHONE */
    }
    
    .social-links {
        justify-content: flex-start; /* Icons start from left */
    }
}
/* --- SHELF CONTAINER STYLES --- */
.shelf-section {
    padding: 20px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.shelf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.shelf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.shelf-title {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

.see-all-link {
    font-size: 14px;
    color: #ff4500;
    font-weight: 700;
    text-decoration: none;
}

/* Horizontal Scroll Layout */
.product-scroll-view {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px; /* Space for scrollbar */
    scroll-behavior: smooth;
    /* Hide Scrollbar for cleaner look (optional) */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.product-scroll-view::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* --- PROFESSIONAL CARD STYLES --- */
.pro-card {
    min-width: 260px; /* Fixed width for scrolling items */
    max-width: 260px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.pro-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #ddd;
}

/* Image Box */
.pro-img-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    height: 200px; /* Uniform height */
    background: #f9f9f9;
}

.pro-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the box nicely */
    display: block;
}

/* Red Discount Badge */
.pro-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff0000;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Badge Variation: NEW */
.pro-discount.new {
    background-color: #25d366; /* Green */
}

/* Hover Icons (Heart/Eye) */
.pro-hover-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

.pro-card:hover .pro-hover-icons {
    opacity: 1;
    transform: translateX(0);
}

.icon-btn {
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: #000;
    color: #fff;
}

/* Buttons Area */
.pro-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-cart {
    flex-grow: 1;
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.3s;
}

.btn-cart:hover {
    background-color: #e63e00;
}

.btn-whatsapp {
    width: 38px;
    background-color: #25d366;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

/* Details */
.pro-details {
    padding: 0 2px;
}

.pro-rating {
    color: #ffc107;
    font-size: 11px;
    margin-bottom: 5px;
}

.pro-rating span {
    color: #888;
    margin-left: 5px;
    font-weight: 600;
}

.pro-title {
    margin: 5px 0;
    line-height: 1.3;
    font-size: 14px; /* Reset header size */
}

.pro-title a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit title to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-title a:hover {
    color: #ff4500;
}

.pro-price {
    font-size: 16px;
    font-weight: 800;
    margin-top: 5px;
}

.new-price {
    color: #ff0000;
    margin-right: 8px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 400;
}

/* Mobile Fix for Icons */
@media (max-width: 768px) {
    .pro-hover-icons {
        opacity: 1;
        transform: translateX(0);
    }
}


/* --- 1. PRODUCT CARD HOVER (Orange Glow) --- */
.pro-card {
    /* Existing styles... */
    transition: all 0.3s ease-in-out; /* Smooth transition */
    border: 1px solid #f0f0f0;
}

.pro-card:hover {
    border-color: #ff4500; /* Orange Border on Hover */
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.15); /* Soft Orange Shadow */
    transform: translateY(-5px); /* Moves card up slightly */
}

/* --- 2. ADD TO CART BUTTON (Perfect Hover) --- */
.btn-cart {
    background-color: #ff4500;
    color: white;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Bouncy smooth effect */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cart:hover {
    background-color: #000000; /* Turns Black for contrast */
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4); /* Orange Glow */
    transform: translateY(-2px); /* Lifts up */
}

/* Optional: Shine effect on button hover */
.btn-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: 0.5s;
    z-index: -1;
}
.btn-cart:hover::before {
    left: 100%; /* slides shine across button */
}

/* --- 3. WHATSAPP BUTTON (Perfect Hover) --- */
.btn-whatsapp {
    background-color: #25d366;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-whatsapp:hover {
    background-color: #128c7e; /* Darker WhatsApp Green */
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); /* Green Glow */
    transform: translateY(-2px);
}

/* --- 4. TOP RIGHT ICONS (Heart/Eye) --- */
.icon-btn {
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background-color: #ff4500; /* Orange Background */
    color: #ffffff; /* White Icon */
    border-color: #ff4500;
    transform: scale(1.1); /* Slight Zoom */
}

/* --- 5. PRODUCT TITLE HOVER --- */
.pro-title a {
    transition: color 0.3s ease;
}

.pro-title a:hover {
    color: #ff4500; /* Turns Orange */
    text-decoration: underline;
}

/* --- 6. "SEE ALL" LINK HOVER --- */
.see-all-link {
    transition: all 0.3s ease;
}

.see-all-link:hover {
    color: #000000; /* Turns black on hover */
    transform: translateX(5px); /* Moves arrow slightly right */
}


/* --- CATEGORY GRID PAGE STYLES --- */

/* Hide sections by default, JS will toggle them */
.section-view {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header for Category Page */
.category-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    background: #f9f9f9;
    margin-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
}

.category-page-title {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
}

.btn-back {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    border: 1px solid #000;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #000;
    color: #fff;
}

/* THE GRID SYSTEM */
.product-grid {
    display: grid;
    /* Desktop: 4 items per row */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    padding: 0 15px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure Product Card fills the grid cell */
.product-grid .pro-card {
    width: 100%;
    max-width: 100%;
    margin: 0; /* Remove margin from carousel version */
}

/* --- MOBILE RESPONSIVENESS (1 Product Per Line) --- */
@media (max-width: 768px) {
    .product-grid {
        /* Phone: 1 item per row (Full Width) */
        grid-template-columns: 1fr; 
        gap: 25px;
    }

    .category-page-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


/* --- PROFESSIONAL CATEGORY HEADER DESIGN --- */

/* 1. The Container Box */
.category-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Modern Look: Subtle Gradient & rounded corners */
    background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
    padding: 30px 40px; 
    border-radius: 16px; 
    margin: 20px auto 30px auto; 
    max-width: 1400px;
    
    /* Professional Depth (Soft Shadow) */
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    
    /* Branded Accent Bar on the Left */
    border-left: 6px solid #ff6600; 
    position: relative;
    overflow: hidden;
}

/* Optional: Background Decoration Pattern */
.category-page-header::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.03));
    transform: skewX(-20deg);
}

/* 2. The Title Text */
.category-page-title {
    font-size: 28px;
    font-weight: 800; /* Extra Bold */
    color: #222;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0;
    position: relative;
    z-index: 1;
    
    /* Cool Underline Effect */
    display: inline-block;
}

/* 3. The "Back to Home" Button */
.btn-back {
    text-decoration: none;
    
    /* Shape & Color */
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 50px; /* Pill Shape */
    
    /* Border & Shadow */
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    
    /* Flex for Icon Alignment */
    display: flex;
    align-items: center;
    gap: 12px;
    
    /* Smooth Transition for Hover */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

/* 4. Button Hover Effects (The Attractive Part) */
.btn-back:hover {
    background: #ff6600; /* Turns Orange */
    color: #ffffff;      /* Text turns White */
    border-color: #ff6600;
    
    /* Lifts up slightly */
    transform: translateY(-3px);
    
    /* Adds a glowing orange shadow */
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

/* 5. Icon Animation on Hover */
.btn-back i {
    transition: transform 0.3s ease;
}

.btn-back:hover i {
    /* Moves the arrow slightly to the left when hovered */
    transform: translateX(-4px); 
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .category-page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
        border-left: none; /* Remove side accent on mobile */
        border-top: 5px solid #ff6600; /* Move accent to top */
    }
    
    .category-page-header::before { display: none; }
    
    .btn-back {
        width: 100%; /* Full width button on phone */
        justify-content: center;
    }
}

/* --- CSS UPDATES FOR BODY VIEWS & WHATSAPP CHECKOUT --- */

/* 1. TOAST NOTIFICATION (Pop-up message) */
.toast-notification {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.85); color: #fff; padding: 12px 25px; border-radius: 50px;
    font-size: 14px; font-weight: 600; z-index: 3000;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.toast-notification.show { opacity: 1; bottom: 40px; }
.toast-notification i { color: #25d366; }

/* 2. CART VIEW (IN BODY) */
.cart-page-container {
    max-width: 1000px; margin: 0 auto; padding: 20px;
    background: #fff; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.cart-table-header {
    display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; 
    padding: 15px; border-bottom: 2px solid #eee; font-weight: 700; color: #555;
    text-transform: uppercase; font-size: 13px;
}
.cart-item-row {
    display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; align-items: center;
    padding: 20px 15px; border-bottom: 1px solid #f0f0f0;
}
.cart-product-info { display: flex; align-items: center; gap: 15px; }
.cart-product-img { width: 70px; height: 70px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; padding: 5px; }
.cart-product-name { font-weight: 600; color: #333; font-size: 14px; line-height: 1.4; }
.cart-price { font-weight: 700; color: #555; }
.cart-qty-wrapper { display: flex; align-items: center; gap: 10px; }
.cart-qty-btn { width: 25px; height: 25px; background: #f0f0f0; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; }
.cart-remove { color: var(--primary-red); cursor: pointer; font-size: 18px; transition: 0.2s; text-align: right;}
.cart-remove:hover { transform: scale(1.2); }

.cart-summary-box {
    margin-top: 30px; background: #f9f9f9; padding: 25px; border-radius: 10px;
    display: flex; flex-direction: column; align-items: flex-end; gap: 15px;
}
.cart-total-row { font-size: 20px; font-weight: 800; color: #000; }
.btn-whatsapp-checkout {
    background: #25d366; color: #fff; padding: 15px 40px; border-radius: 50px;
    font-size: 16px; font-weight: 700; text-decoration: none; display: inline-flex;
    align-items: center; gap: 10px; border: none; cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); transition: 0.3s;
}
.btn-whatsapp-checkout:hover { background: #128c7e; transform: translateY(-2px); }

/* Mobile Cart Adjustments */
@media (max-width: 768px) {
    .cart-table-header { display: none; } /* Hide headers on mobile */
    .cart-item-row { grid-template-columns: 1fr; gap: 15px; position: relative; }
    .cart-product-info { width: 100%; }
    .cart-price { font-size: 16px; color: var(--primary-orange); }
    .cart-remove { position: absolute; top: 20px; right: 15px; }
    .cart-qty-wrapper { justify-content: flex-start; margin-top: 5px; }
}

/* 3. CONTACT PAGE PROFESSIONAL */
.contact-hero-modern {
    background: var(--primary-black); color: #fff; padding: 60px 20px; text-align: center;
    border-radius: 20px; margin-bottom: -40px; position: relative; z-index: 1;
}
.contact-container-modern {
    max-width: 1100px; margin: 0 auto; padding: 0 20px 60px;
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; position: relative; z-index: 2;
}
.contact-card-modern {
    background: #fff; border-radius: 15px; padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); display: flex; flex-direction: column; gap: 25px;
}
.contact-method { display: flex; align-items: flex-start; gap: 15px; }
.method-icon { 
    width: 45px; height: 45px; background: #fff0e6; color: var(--primary-orange); 
    border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; 
}
.method-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.method-text p, .method-text a { font-size: 13px; color: #666; line-height: 1.5; text-decoration: none; }

/* 4. DEALS PAGE (Horizontal Scroll Reset) */
/* Re-uses .shelf-section styles from main code */

/* --- PROFESSIONAL TOAST NOTIFICATION --- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 50px); /* Start slightly lower */
    background: #ffffff;
    color: #333;
    padding: 14px 25px;
    border-radius: 50px; /* Pill shape */
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 5px solid #25d366; /* WhatsApp Green Accent */
    min-width: 280px;
    justify-content: center;
}

.toast-notification.show {
    opacity: 1;
    transform: translate(-50%, 0); /* Slide up to position */
}

.toast-notification i {
    color: #25d366;
    font-size: 18px;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* --- WISHLIST GRID LAYOUT --- */
.wishlist-grid {
    display: grid;
    /* Smart Responsive Grid: Fits as many 250px cards as possible */
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}

/* Ensure cards in wishlist stretch to full height */
.wishlist-grid .pro-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0; /* Reset any margins */
    width: 100%; /* Fill the grid cell */
}

/* --- EMPTY WISHLIST STATE --- */
#wishlist-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

#wishlist-empty i {
    font-size: 60px;
    color: #eee;
    margin-bottom: 20px;
    display: block;
}

#wishlist-empty h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

#wishlist-empty p {
    color: #777;
    margin-bottom: 25px;
}


/* =========================================
   START OF NEW CSS UPDATES
   (Add this below your existing CSS)
   ========================================= */

/* --- 1. SECTION VIEW LOGIC (Switching Pages) --- */
.section-view {
    display: none; /* Hidden by default */
    animation: fadeIn 0.4s ease-out;
    padding-bottom: 60px;
}
.section-view[style*="block"] {
    display: block !important;
}
.page-intro {
    text-align: center;
    margin: 30px 0 40px;
    padding: 0 20px;
}
.page-intro h2 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    color: var(--primary-black);
}
.page-intro h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- 2. PREMIUM TOAST NOTIFICATION (Dark & Bouncy) --- */
.toast-notification {
    position: fixed;
    bottom: 40px;
    left: 50%;
    /* Start hidden (pushed down) */
    transform: translateX(-50%) translateY(100px); 
    z-index: 10000; /* On top of everything */

    /* Premium Dark Look */
    background: #1a1a1a; 
    color: #ffffff;
    
    /* Layout & Spacing */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 35px;
    min-width: 320px;
    
    /* Shape & Design */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); /* Deep shadow */
    border-left: 5px solid #ff6600; /* Your Brand Orange */
    
    /* Visibility */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    /* Smooth "Spring" Animation */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Bounce up */
}

.toast-notification i {
    color: #25d366; /* WhatsApp Green Success */
    font-size: 22px;
    background: rgba(37, 211, 102, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.toast-notification span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- 3. NAVIGATION BADGES (Red Dots) --- */
.nav-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ff0000; /* Bright Red */
    color: white;
    font-size: 10px;
    font-weight: 800;
    height: 18px;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-badge.active {
    opacity: 1;
    transform: scale(1);
}

/* --- 4. CART PAGE (Full Body View) --- */
.cart-page-container {
    max-width: 1000px; 
    margin: 0 auto 40px; 
    padding: 20px;
    background: #fff; 
    border-radius: 15px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.cart-table-header {
    display: grid; 
    grid-template-columns: 3fr 1fr 1fr 0.5fr; 
    padding: 15px; 
    border-bottom: 2px solid #eee; 
    font-weight: 800; 
    color: #000;
    text-transform: uppercase; 
    font-size: 13px;
    letter-spacing: 0.5px;
}

.cart-item-row {
    display: grid; 
    grid-template-columns: 3fr 1fr 1fr 0.5fr; 
    align-items: center;
    padding: 20px 15px; 
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}
.cart-item-row:hover {
    background: #fcfcfc;
}

.cart-product-info { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
.cart-product-img { 
    width: 70px; 
    height: 70px; 
    object-fit: contain; 
    border: 1px solid #f0f0f0; 
    border-radius: 8px; 
    padding: 5px; 
    background: #fff;
}
.cart-product-name { 
    font-weight: 700; 
    color: #222; 
    font-size: 14px; 
    line-height: 1.4; 
}

.cart-price { 
    font-weight: 700; 
    color: #555; 
}

.cart-qty-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.cart-qty-btn { 
    width: 28px; 
    height: 28px; 
    background: #f0f0f0; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 800;
    transition: 0.2s;
}
.cart-qty-btn:hover { background: #e0e0e0; }

.cart-remove { 
    color: #ff3333; 
    cursor: pointer; 
    font-size: 16px; 
    transition: 0.2s; 
    text-align: right; 
    padding-right: 10px;
}
.cart-remove:hover { transform: scale(1.2); }

/* Cart Summary & WhatsApp Button */
.cart-summary-box {
    margin-top: 30px; 
    background: #f9f9f9; 
    padding: 30px; 
    border-radius: 12px;
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    gap: 15px;
    border: 1px solid #eee;
}
.cart-total-row { 
    font-size: 22px; 
    font-weight: 800; 
    color: #000; 
}
.btn-whatsapp-checkout {
    background: #25d366; 
    color: #fff; 
    padding: 16px 45px; 
    border-radius: 50px;
    font-size: 16px; 
    font-weight: 700; 
    text-decoration: none; 
    display: inline-flex;
    align-items: center; 
    gap: 12px; 
    border: none; 
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); 
    transition: all 0.3s ease;
}
.btn-whatsapp-checkout:hover { 
    background: #128c7e; 
    transform: translateY(-3px); 
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

/* --- 5. WISHLIST PAGE (Professional Shop Grid) --- */
.wishlist-grid {
    display: grid;
    /* Auto-fit columns: Looks exactly like shop */
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Ensure wishlist cards stretch uniformly */
.wishlist-grid .pro-card {
    width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.wishlist-grid .pro-details {
    flex-grow: 1; /* Pushes content to fill space */
}

/* Empty Wishlist State */
#wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 600px;
    border: 1px dashed #ddd;
}
#wishlist-empty i { font-size: 60px; color: #eee; margin-bottom: 20px; display: block; }
#wishlist-empty h3 { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 10px; }

/* --- 6. CONTACT PAGE (Modern Cards) --- */
.contact-hero-modern {
    background: var(--primary-black); 
    color: #fff; 
    padding: 80px 20px 100px; /* Extra padding bottom for overlap */
    text-align: center;
    border-radius: 0 0 30px 30px; 
    margin-bottom: -60px; /* Pulls content up */
    position: relative; 
    z-index: 1;
}
.contact-hero-modern h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.contact-hero-modern p { color: #aaa; max-width: 600px; margin: 0 auto; }

.contact-container-modern {
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px 60px;
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 30px; 
    position: relative; 
    z-index: 2;
}

.contact-card-modern {
    background: #fff; 
    border-radius: 20px; 
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); 
    display: flex; 
    flex-direction: column; 
    gap: 30px;
    height: fit-content;
}

/* Icons & Methods */
.contact-method { display: flex; align-items: flex-start; gap: 20px; }
.method-icon { 
    width: 50px; 
    height: 50px; 
    background: #fff5eb; /* Light Orange BG */
    color: var(--primary-orange); 
    border-radius: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    flex-shrink: 0;
}
.method-text h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: #222; }
.method-text p, .method-text a { font-size: 14px; color: #666; line-height: 1.6; text-decoration: none; }

/* Contact Form Inputs */
.contact-form-input {
    width: 100%; 
    padding: 14px 18px; 
    border: 1px solid #e0e0e0; 
    border-radius: 10px; 
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: 0.3s;
    background: #fcfcfc;
}
.contact-form-input:focus {
    border-color: var(--primary-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
    outline: none;
}

/* --- 7. RESPONSIVE ADJUSTMENTS (Mobile) --- */
@media (max-width: 768px) {
    /* Cart Mobile */
    .cart-table-header { display: none; }
    .cart-item-row { 
        grid-template-columns: 1fr; 
        gap: 15px; 
        position: relative; 
        border: 1px solid #f0f0f0;
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 15px;
    }
    .cart-remove { position: absolute; top: 15px; right: 15px; }
    .cart-qty-wrapper { justify-content: flex-start; margin-top: 5px; }
    
    /* Wishlist Mobile (2 items per row) */
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
        padding: 0 15px 40px;
    }
    
    /* Contact Mobile */
    .contact-container-modern { grid-template-columns: 1fr; }
    .contact-hero-modern { padding: 60px 20px 90px; }
}

@media (max-width: 480px) {
    /* Wishlist Mobile Small (1 item per row) */
    .wishlist-grid { grid-template-columns: 1fr; }
}
   


        /* ADD THIS FOR THE LOADING SCREEN */
        #global-loader {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #fff;
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            transition: opacity 0.5s ease;
        }
        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--primary-orange, #ff6b00);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }



        
        /* Product Details Layout */
        .details-container { max-width: 1200px; margin: 0 auto; padding: 20px; animation: fadeIn 0.4s; }
        .details-top-bar { margin-bottom: 20px; }
        .btn-back-link { color: #666; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; cursor: pointer; }
        .btn-back-link:hover { color: var(--primary-orange); transform: translateX(-5px); }

        .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
        
        /* Left: Images */
        .detail-image-group { display: flex; flex-direction: column; gap: 15px; }
        .main-detail-img-box {
            width: 100%; height: 450px; background: #fff; border-radius: 20px; 
            border: 1px solid #eee; display: flex; align-items: center; justify-content: center; padding: 20px;
            position: relative; overflow: hidden;
        }
        .main-detail-img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s; }
        /* Zoom effect on hover */
        .main-detail-img-box:hover .main-detail-img { transform: scale(1.2); cursor: zoom-in; }
        
        .thumb-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; justify-content: start; }
        .thumb-row::-webkit-scrollbar { height: 5px; }
        .thumb-row::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
        
        .thumb-img { 
            width: 70px; height: 70px; border: 2px solid #eee; border-radius: 12px; 
            cursor: pointer; object-fit: cover; padding: 3px; background: #fff; transition: 0.2s; flex-shrink: 0;
        }
        .thumb-img:hover, .thumb-img.active { border-color: var(--primary-orange); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

        /* Right: Info */
        .detail-info { display: flex; flex-direction: column; gap: 15px; }
        .detail-title { font-size: 32px; font-weight: 800; color: #111; line-height: 1.2; }
        .detail-price { font-size: 28px; font-weight: 700; color: var(--primary-orange); }
        
        /* Rich Text Description Styling */
        .rich-text-content { font-size: 15px; color: #555; line-height: 1.7; }
        .rich-text-content ul, .rich-text-content ol { margin-left: 20px; margin-bottom: 10px; }
        .rich-text-content p { margin-bottom: 10px; }
        .rich-text-content h1, .rich-text-content h2, .rich-text-content h3 { margin-top: 15px; margin-bottom: 10px; color: #333; }
        
        .spec-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
        .spec-pill { 
            background: #f0fdf4; border: 1px solid #dcfce7; color: #166534;
            padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; 
            display: flex; align-items: center; gap: 6px; 
        }
        .spec-pill i { color: #166534; }

        /* Actions */
        .action-row { display: flex; gap: 15px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
        .btn-whatsapp-big {
            flex-grow: 1; background: #25d366; color: white; padding: 15px 30px; 
            border-radius: 50px; font-weight: 700; font-size: 16px; display: flex; 
            align-items: center; justify-content: center; gap: 10px; transition: 0.3s; border: none; cursor: pointer;
            box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); text-decoration: none;
        }
        .btn-whatsapp-big:hover { background: #128c7e; transform: translateY(-2px); }
        
        .icon-action-btn {
            width: 54px; height: 54px; border-radius: 50%; border: 1px solid #ddd; 
            background: #fff; display: flex; align-items: center; justify-content: center; 
            font-size: 20px; color: #333; cursor: pointer; transition: 0.3s;
        }
        .icon-action-btn:hover { background: var(--primary-orange); color: #fff; border-color: var(--primary-orange); transform: rotate(10deg); }

        /* Reviews Section */
        .reviews-container { margin-top: 60px; border-top: 1px solid #eee; padding-top: 40px; }
        .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
        .btn-rate-us { background: #000; color: #fff; padding: 10px 25px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: 0.3s; }
        .btn-rate-us:hover { background: #333; transform: scale(1.05); }
        
        .review-form-box { background: #f9f9f9; padding: 30px; border-radius: 15px; margin-bottom: 30px; display: none; border: 1px solid #eee; }
        .review-form-box.active { display: block; animation: fadeIn 0.3s; }
        
        .review-list { display: flex; flex-direction: column; gap: 20px; }
        .review-item { display: flex; gap: 15px; background: #fff; border: 1px solid #f0f0f0; padding: 20px; border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
        .review-avatar { width: 50px; height: 50px; background: #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #888; font-size: 18px; }
        .star-rating i { font-size: 12px; margin-right: 1px; }
        .star-rating i.filled { color: #ffc107; }
        .star-rating i.empty { color: #ddd; }
        
        /* Star Select in Form */
        .star-select i { font-size: 28px; color: #ddd; cursor: pointer; transition: 0.2s; margin-right: 5px; }
        .star-select i:hover, .star-select i.active { color: #ffc107; transform: scale(1.2); }

        /* Related Products */
        .related-section { margin-top: 60px; }

        @media (max-width: 900px) {
            .details-grid { grid-template-columns: 1fr; gap: 30px; }
            .main-detail-img-box { height: 350px; }
        }

        /* --- PROFESSIONAL HIGHLIGHTS SECTION --- */

/* 1. The Container Header */
#detail-highlights-container strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 25px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 4px solid var(--primary-orange); /* Orange accent line */
    padding-left: 12px;
}

/* 2. The Grid Layout (2 Items Per Line) */
.spec-pills { 
    display: grid;
    /* This forces exactly two equal columns */
    grid-template-columns: 1fr 1fr; 
    gap: 15px; /* Space between cards */
    margin-bottom: 20px;
}

/* 3. The Individual Highlight Cards */
.spec-pill { 
    background: #ffffff; 
    border: 1px solid #eaeaea; 
    color: #444;
    padding: 12px 16px; 
    border-radius: 10px; 
    font-size: 13px; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* 4. Hover Effect for Professional Feel */
.spec-pill:hover {
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 5. The Check Icon */
.spec-pill i { 
    color: var(--primary-orange); 
    font-size: 16px;
    background: rgba(255, 102, 0, 0.1); /* Light orange circle behind check */
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0; /* Prevents icon from squishing on small screens */
}

/* --- MOBILE ADJUSTMENT --- */
/* On very small phones, switch to 1 item per line so text fits */
@media (max-width: 480px) {
    .spec-pills {
        grid-template-columns: 1fr; 
    }
}
   

  /* LOGO LOADER CSS */
        #global-loader {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #ffffff; /* Clean white background */
            z-index: 99999;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            transition: opacity 0.5s ease;
        }

        .loader-logo {
            width: 120px; /* Adjust size as needed */
            height: auto;
            animation: pulse 1.5s infinite ease-in-out;
        }

        /* Pulse Animation */
        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.7; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* --- BLOG SECTION CSS --- */
.blog-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: #fff; text-align: center; padding: 80px 20px; border-radius: 0 0 20px 20px; margin-bottom: 40px;
}

.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px;
    max-width: 1200px; margin: 0 auto; padding: 0 20px 60px;
}

.blog-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.blog-img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 12px; color: #999; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; }
.blog-card-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #111; line-height: 1.4; }
.blog-desc { font-size: 14px; color: #666; margin-bottom: 20px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read-btn { margin-top: auto; color: var(--primary-orange); font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }

/* --- BLOG DETAIL VIEW CSS --- */
.blog-detail-container {
    max-width: 1200px; margin: 0 auto; padding: 40px 20px;
    display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
}

/* Left Column: Main Content */
.blog-main-content h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.blog-meta-row { display: flex; gap: 20px; color: #777; font-size: 14px; margin-bottom: 20px; align-items: center; }
.blog-detail-img { width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: 16px; margin-bottom: 30px; }
.blog-text { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 30px; }
.blog-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.blog-share { border-top: 1px solid #eee; padding-top: 20px; display: flex; align-items: center; gap: 15px; }

/* Right Column: Sidebar */
.blog-sidebar h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; border-left: 4px solid var(--primary-orange); padding-left: 10px; }
.mini-blog-card { display: flex; gap: 10px; margin-bottom: 20px; cursor: pointer; }
.mini-blog-img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }
.mini-blog-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 5px; line-height: 1.3; }
.mini-blog-info span { font-size: 11px; color: #999; }

@media(max-width: 768px) {
    .blog-detail-container { grid-template-columns: 1fr; }
    .blog-main-content h1 { font-size: 24px; }
}


/* --- FIXED NOTIFICATION BADGES --- */

/* 1. Ensure the parent button allows positioning */
.icon-btn {
    position: relative; /* Anchors the badge to this button */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Allows badge to hang outside slightly */
}

/* 2. The Badge Style */
.nav-badge {
    position: absolute;
    /* This coordinates place it exactly on the top-right corner */
    top: -5px;    
    right: -6px;  
    
    background-color: #ff0000; /* Bright Red */
    color: #ffffff;
    
    /* Size & Shape */
    height: 18px;
    min-width: 18px; /* Grows if number is 10+ */
    padding: 0 4px;
    border-radius: 10px; /* Pill shape */
    
    /* Font Styling */
    font-size: 10px;
    font-weight: 800;
    
    /* Centering the number */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* THE TRICK: White border makes it look cut-out and professional */
    border: 2px solid #ffffff; 
    
    /* Animation defaults */
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

/* 3. Show badge when active */
.nav-badge.active {
    opacity: 1;
    transform: scale(1);
}

/* --- MOBILE ADJUSTMENT --- */
@media (max-width: 768px) {
    .nav-badge {
        top: -2px;   /* Slightly closer on mobile */
        right: -2px; 
        height: 16px;
        min-width: 16px;
        font-size: 9px;
    }
}


/* --- MODERN BLOG DETAILS --- */
.blog-detail-container {
    max-width: 1000px; /* Reduced width for better reading */
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 300px; /* Main content + Sidebar */
    gap: 50px;
    align-items: start;
}

/* Main Content Area */
.blog-main-content {
    background: #fff;
    /* Optional: Paper shadow look */
    /* padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border-radius: 15px; */
}

/* Title & Meta */
.blog-main-content h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
    line-height: 1.25;
}

.blog-meta-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.blog-meta-row span {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-meta-row i { color: var(--primary-orange); }

/* Featured Image */
.blog-detail-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* The Article Text */
.blog-text {
    font-size: 18px; /* Larger font for reading */
    line-height: 1.8;
    color: #2c2c2c;
    font-family: 'Georgia', serif; /* Serif font looks more "news" like */
}

/* Handle images inside blog content */
.blog-text img {
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
}

.blog-text h2 { margin-top: 40px; margin-bottom: 15px; font-size: 24px; font-family: 'Poppins', sans-serif; font-weight: 700; }
.blog-text p { margin-bottom: 20px; }

/* Share Section */
.blog-share {
    margin-top: 50px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
}

/* Sidebar Styling */
.blog-sidebar {
    position: sticky;
    top: 100px; /* Sticks when scrolling */
}

.blog-sidebar h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

.mini-blog-card {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    transition: 0.2s;
}
.mini-blog-card:hover { opacity: 0.7; }

.mini-blog-img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-blog-info h4 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

/* --- MOBILE BLOG ADJUSTMENTS --- */
@media (max-width: 900px) {
    .blog-detail-container {
        grid-template-columns: 1fr; /* Stack sidebar below */
        gap: 40px;
        padding: 20px;
    }
    
    .blog-main-content h1 { font-size: 28px; }
    .blog-detail-img { height: 250px; }
    .blog-text { font-size: 16px; }
    
    .blog-sidebar {
        position: static; /* Remove sticky on mobile */
        border-top: 5px solid #eee;
        padding-top: 30px;
    }
}


/* =========================================
   PROFESSIONAL BLOG IMAGE STYLES
   ========================================= */

/* --- 1. BLOG CARD IMAGES (The List View) --- */
.blog-card {
    /* Ensure the card holds the image correctly */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px; /* Smoother corners */
    overflow: hidden; /* Keeps image inside rounded corners */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* The Image Container - Prevents overflow during zoom */
.blog-img-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden; 
    background-color: #f0f0f0; /* Grey background while loading */
    /* ENFORCE ASPECT RATIO: 16:9 is standard for modern web */
    padding-top: 56.25%; /* 16:9 Ratio */
}

.blog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* THE MAGIC: Covers the area without stretching */
    object-fit: cover; 
    object-position: center;
    
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Zoom effect on hover */
.blog-card:hover .blog-img {
    transform: scale(1.1); /* Subtle zoom */
}


/* --- 2. BLOG DETAIL HERO IMAGE (Single Post) --- */
.blog-detail-img-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.blog-detail-img {
    display: block;
    width: 100%;
    
    /* DESKTOP HEIGHT: Cinematic feel */
    height: 500px; 
    
    object-fit: cover;
    object-position: center;
}


/* --- 3. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Card Images on Phone */
    .blog-img-wrapper {
        /* Make it slightly taller on phone for better visibility (4:3 ratio) */
        padding-top: 65%; 
    }

    /* Detail Image on Phone */
    .blog-detail-img-container {
        border-radius: 12px; /* Smaller radius on phone */
        margin-left: -20px; /* Pull to edges */
        width: calc(100% + 40px); /* Full width overflow */
        margin-bottom: 20px;
    }

    .blog-detail-img {
        height: 280px; /* Reduced height for phone screens */
    }
}


/* =========================================
   PROFESSIONAL PRODUCT DETAILS
   ========================================= */

/* Main Container */
.details-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 0.5s ease;
}

/* Top Navigation Bar */
.details-top-bar {
    margin-bottom: 20px;
}
.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    background: #f5f5f5;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-back-link:hover {
    background: #000;
    color: #fff;
    transform: translateX(-5px);
}

/* --- THE GRID LAYOUT (Desktop) --- */
.details-grid {
    display: grid;
    /* Split: 45% Image, 55% Info */
    grid-template-columns: 0.9fr 1.1fr; 
    gap: 50px;
    align-items: start;
}

/* --- LEFT COLUMN: IMAGES --- */
.detail-image-group {
    position: sticky;
    top: 100px; /* Sticks while scrolling description */
}

/* 1. Main Image Box */
.main-detail-img-box {
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.main-detail-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Keeps whole product visible */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Zoom Hover Effect */
.main-detail-img-box:hover .main-detail-img {
    transform: scale(1.3);
    cursor: zoom-in;
}

/* 2. THUMBNAILS: 3 PER LINE GRID (Requested Feature) */
.thumb-row {
    display: grid;
    /* Exactly 3 columns, equal width */
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
    width: 100%;
}

.thumb-img {
    width: 100%; /* Fill the grid cell */
    aspect-ratio: 1 / 1; /* Make them perfect squares */
    object-fit: contain; /* Don't crop the thumbnail product */
    background: #fff;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    padding: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Active/Hover State */
.thumb-img:hover, 
.thumb-img.active {
    border-color: var(--primary-orange);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
    transform: translateY(-3px);
}

/* --- RIGHT COLUMN: INFO --- */
.detail-info {
    padding-top: 10px;
}

/* Title */
.detail-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* Price */
.detail-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 3px solid rgba(255, 102, 0, 0.2);
    padding-bottom: 5px;
}

/* Description Text */
.rich-text-content {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 30px;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}
.rich-text-content p { margin-bottom: 15px; }

/* Highlights List */
#detail-highlights-container strong {
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}
.spec-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cols for specs */
    gap: 10px;
    margin-bottom: 30px;
}
.spec-pill {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.spec-pill i { color: #25d366; }

/* Action Buttons (Desktop) */
.action-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    align-items: center;
}

.btn-whatsapp-big {
    flex-grow: 1;
    background: #25d366;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 30px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
}
.btn-whatsapp-big:hover {
    background: #1ebc59;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.icon-action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: #fff;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.icon-action-btn:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* --- MOBILE RESPONSIVE (Phone) --- */
@media (max-width: 900px) {
    .details-container {
        padding: 0;
        margin: 0;
    }
    
    .details-top-bar {
        padding: 15px 20px;
        background: #fff;
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .details-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 0;
    }

    /* Mobile Image Box */
    .main-detail-img-box {
        height: 380px; /* Smaller height for phone */
        border-radius: 0; /* Edge to edge */
        border: none;
        border-bottom: 1px solid #eee;
        margin-bottom: 15px;
    }

    /* Thumbnail Grid on Mobile */
    .thumb-row {
        padding: 0 15px 15px 15px;
        /* Still keep 3 per line, but gap slightly smaller */
        gap: 10px; 
    }

    .detail-info {
        padding: 20px;
        background: #fff;
        border-radius: 20px 20px 0 0;
        margin-top: -20px; /* Overlap effect */
        position: relative;
        z-index: 2;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    }
    
    .detail-title { font-size: 24px; }
    .detail-price { font-size: 22px; }
}

/* =========================================
   PROFESSIONAL REVIEWS & RELATED (Mobile Perfect)
   ========================================= */

/* --- 1. REVIEWS CONTAINER --- */
.reviews-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px 20px;
    border-top: 1px solid #eaeaea;
    background: #ffffff;
}

/* Header: Title + Button */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.review-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

/* "Write a Review" Button */
.btn-rate-us {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-rate-us:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.25);
}

/* --- 2. WRITE REVIEW FORM (Hidden by default) --- */
.review-form-box {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: none; /* JS toggles this */
    animation: slideDown 0.4s ease-out;
}
.review-form-box.active { display: block; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Inputs */
.review-form-box textarea, 
.review-form-box input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    transition: 0.3s;
    background: #fff;
}
.review-form-box textarea:focus, 
.review-form-box input:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* Star Selector (Big & Touch Friendly) */
.star-select {
    display: flex;
    gap: 10px;
    margin: 10px 0 20px;
}
.star-select i {
    font-size: 32px; /* Big for fingers */
    color: #e0e0e0;
    cursor: pointer;
    transition: transform 0.2s;
}
.star-select i:hover, 
.star-select i.active {
    color: #ffc107;
    transform: scale(1.2);
}

/* --- 3. REVIEWS LIST --- */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    transition: 0.2s;
}
.review-item:hover {
    background: #f9f9f9;
    border-color: #eee;
}

/* Avatar Circle */
.review-avatar {
    width: 50px;
    height: 50px;
    background: #222; /* Dark elegant bg */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

/* --- 4. RELATED PRODUCTS (Horizontal Scroll) --- */
.related-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.shelf-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.shelf-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

/* The Scroll Container */
.product-scroll-view {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px 25px 5px;
    
    /* SMOOTH NATIVE FEEL */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* SNAP EFFECT: Makes cards stop perfectly */
    scroll-snap-type: x mandatory; 
}

/* Hide Scrollbar */
.product-scroll-view::-webkit-scrollbar { display: none; }

/* Ensure Cards Snap */
.product-scroll-view .pro-card {
    min-width: 200px; /* Fixed width */
    scroll-snap-align: start; /* Snap to start */
}


/* =========================================
   MOBILE PERFECTION (Max-Width 768px)
   ========================================= */
@media (max-width: 768px) {
    
    /* --- REVIEWS MOBILE --- */
    .reviews-container {
        padding: 30px 20px; /* More breathing room */
        margin-top: 20px;
        background: #fcfcfc; /* Slight separation from details */
    }

    /* Stack Header */
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    /* Full Width Button */
    .btn-rate-us {
        width: 100%; 
        text-align: center;
        padding: 14px;
        font-size: 14px;
        background: #fff;
        color: #000;
        border: 1px solid #000;
    }

    /* Review Card Layout */
    .review-item {
        flex-direction: column; /* Stack Avatar and Text */
        gap: 10px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        border: none; /* Cleaner look on mobile */
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* --- RELATED PRODUCTS MOBILE --- */
    .related-section {
        padding: 20px 0 80px; /* Extra bottom padding for sticky bar */
        background: #fff;
        border-top: 10px solid #f4f4f4; /* Divider */
    }

    .shelf-title {
        margin-left: 20px; /* Align title with padding */
        font-size: 20px;
    }

    .product-scroll-view {
        padding-left: 20px; /* Start scrolling from edge padding */
        padding-right: 20px;
        gap: 15px;
    }

    /* Cards on Mobile */
    .product-scroll-view .pro-card {
        min-width: 160px; /* Slightly smaller cards */
        max-width: 160px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        border: 1px solid #eee;
    }
}


/* --- HERO SLIDER (PERFECTED) --- */
.hero-section { width: 100%; padding: 20px 0; display: flex; justify-content: center; }

.hero-slider-container { 
    width: 100%; 
    max-width: 1400px; 
    height: 500px; 
    border-radius: 20px; 
    overflow: hidden; 
    position: relative; 
    margin: 0 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

.hero-slides-wrapper { 
    display: flex; 
    width: 300%; 
    height: 100%; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* THE SLIDE */
.slide { 
    width: 33.333%; 
    height: 100%; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* FLEXBOX CENTERING MAGIC */
    display: flex; 
    flex-direction: column; /* Stack text vertical */
    align-items: flex-start; /* Desktop: Align Left */
    justify-content: center; /* Desktop: Vertically Center */
    
    padding: 0 80px; 
    position: relative; 
}

/* THE DARK OVERLAY */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient: Darker on left for desktop text */
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* THE CONTENT CARD */
.slide-content { 
    position: relative;
    z-index: 2; 
    color: white; 
    max-width: 600px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align button left on desktop */
}

.slide-title { 
    font-size: 48px; 
    font-weight: 800; 
    margin-bottom: 15px; 
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.1;
}

/* DESCRIPTION (White & Truncated) */
.slide-desc { 
    font-size: 18px; 
    color: #ffffff;  /* PURE WHITE */
    margin-bottom: 30px; 
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9); /* Stronger shadow for contrast */
    opacity: 0.95;
    
    /* Truncate text logic */
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    background: var(--primary-orange); 
    color: #fff; 
    padding: 14px 35px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
    transition: 0.3s;
}

.hero-btn:hover {
    background: #fff;
    color: var(--primary-orange);
    transform: translateY(-3px);
}

.slide-image { display: none; } 

.hero-dots { 
    position: absolute; 
    bottom: 25px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 10px; 
    z-index: 5;
}

/* --- MOBILE PHONE ADJUSTMENTS (The "Perfect" Center) --- */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 450px; /* Optimal height for mobile */
        margin: 0 10px;
    }

    .slide { 
        padding: 0 25px; 
        
        /* FORCE CENTER ALIGNMENT */
        align-items: center;      /* Horizontal Center */
        justify-content: center;  /* Vertical Center */
        text-align: center;       /* Text Center */
    }
    
    .slide::before {
        /* Darker, uniform overlay for mobile readability */
        background: rgba(0,0,0,0.65); 
    }

    .slide-content {
        align-items: center; /* Center the button */
        justify-content: center;
        max-width: 100%;
    }

    .slide-title { 
        font-size: 30px; /* Readable size */
        margin-bottom: 10px;
    }
    
    .slide-desc {
        font-size: 15px;
        color: #ffffff; /* Ensure White */
        margin-bottom: 25px;
        -webkit-line-clamp: 4; /* Allow more text on mobile */
    }
    
    .hero-btn {
        padding: 12px 30px; /* Slightly smaller button */
    }
}

/* --- HERO SLIDER (CENTERED DESKTOP & MOBILE) --- */
.hero-section { width: 100%; padding: 20px 0; display: flex; justify-content: center; }

.hero-slider-container { 
    width: 100%; 
    max-width: 1400px; 
    height: 500px; 
    border-radius: 20px; 
    overflow: hidden; 
    position: relative; 
    margin: 0 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

.hero-slides-wrapper { 
    display: flex; 
    width: 300%; 
    height: 100%; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* THE SLIDE */
.slide { 
    width: 33.333%; 
    height: 100%; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* CENTER EVERYTHING (Desktop & Mobile) */
    display: flex; 
    flex-direction: column; 
    align-items: center;      /* Center Horizontally */
    justify-content: center;  /* Center Vertically */
    text-align: center;       /* Center Text Alignment */
    
    padding: 0 60px; /* Padding for desktop */
    position: relative; 
}

/* THE DARK OVERLAY */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Uniform dark overlay so centered text is readable anywhere */
    background: rgba(0,0,0,0.65); 
    z-index: 1;
}

/* THE CONTENT CARD */
.slide-content { 
    position: relative;
    z-index: 2; 
    color: white; 
    max-width: 800px; /* Wider max-width for centered desktop text */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the button */
}

.slide-title { 
    font-size: 56px; /* Big, bold title for desktop */
    font-weight: 800; 
    margin-bottom: 20px; 
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    line-height: 1.1;
    letter-spacing: -1px;
}

/* DESCRIPTION (White & Truncated) */
.slide-desc { 
    font-size: 20px; 
    color: #ffffff;  /* PURE WHITE */
    margin-bottom: 35px; 
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9);
    opacity: 1;
    
    /* Truncate text logic */
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 700px; /* Keep description from getting too wide */
}

.hero-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    background: var(--primary-orange); 
    color: #fff; 
    padding: 16px 40px; /* Larger button for desktop */
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
    transition: 0.3s;
}

.hero-btn:hover {
    background: #fff;
    color: var(--primary-orange);
    transform: translateY(-3px) scale(1.05);
}

.slide-image { display: none; } 

.hero-dots { 
    position: absolute; 
    bottom: 25px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 10px; 
    z-index: 5;
}

/* --- MOBILE PHONE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 450px; 
        margin: 0 10px;
    }

    .slide { 
        padding: 0 20px; 
    }

    /* Adjust font sizes for phone */
    .slide-title { 
        font-size: 32px; 
        margin-bottom: 15px;
    }
    
    .slide-desc {
        font-size: 16px;
        -webkit-line-clamp: 4; 
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 12px 30px; 
        font-size: 14px;
    }
}


/* --- HERO SLIDER (CENTERED TEXT UPDATE) --- */
.hero-section { 
    width: 100%; 
    padding: 20px 0; 
    display: flex; 
    justify-content: center; 
}

.hero-slider-container { 
    width: 100%; 
    max-width: 1400px; 
    height: 500px; /* Height of the banner */
    border-radius: 20px; 
    overflow: hidden; 
    position: relative; 
    margin: 0 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

.hero-slides-wrapper { 
    display: flex; 
    width: 300%; 
    height: 100%; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* THE SLIDE - Flexbox Centering Magic */
.slide { 
    width: 33.333%; 
    height: 100%; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* CENTERING COMMANDS */
    display: flex; 
    flex-direction: column; 
    align-items: center;      /* Center Horizontally */
    justify-content: center;  /* Center Vertically */
    text-align: center;       /* Center Text Alignment */
    
    padding: 0 20px; 
    position: relative; 
}

/* THE DARK OVERLAY (Uniform dark for readability) */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); /* 60% Black Overlay */
    z-index: 1;
}

/* THE CONTENT CARD */
.slide-content { 
    position: relative;
    z-index: 2; 
    color: white; 
    max-width: 800px; /* Limits width so text doesn't stretch too far */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the button inside the wrapper */
}

.slide-title { 
    font-size: 48px; 
    font-weight: 800; 
    margin-bottom: 20px; 
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    line-height: 1.1;
    letter-spacing: -1px;
}

/* DESCRIPTION */
.slide-desc { 
    font-size: 18px; 
    color: #f0f0f0;  
    margin-bottom: 35px; 
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    
    /* Truncate text if too long */
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    background: var(--primary-orange); 
    color: #fff; 
    padding: 14px 40px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
    transition: 0.3s;
}

.hero-btn:hover {
    background: #fff;
    color: var(--primary-orange);
    transform: translateY(-3px) scale(1.05);
}

.slide-image { display: none; } 

.hero-dots { 
    position: absolute; 
    bottom: 25px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 10px; 
    z-index: 5;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 450px; 
        margin: 0 10px;
    }

    .slide { 
        padding: 0 15px; 
    }

    .slide-title { 
        font-size: 32px; 
    }
    
    .slide-desc {
        font-size: 15px;
        -webkit-line-clamp: 4; 
    }
}


/* --- HERO SLIDER (PERFECTLY CENTERED) --- */
.hero-section { 
    width: 100%; 
    padding: 20px 0; 
    display: flex; 
    justify-content: center; 
}

.hero-slider-container { 
    width: 100%; 
    max-width: 1400px; 
    height: 500px; /* Height of the banner */
    border-radius: 20px; 
    overflow: hidden; 
    position: relative; 
    margin: 0 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

.hero-slides-wrapper { 
    display: flex; 
    width: 300%; 
    height: 100%; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* THE SLIDE - Perfect Centering on All Devices */
.slide { 
    width: 33.333%; 
    height: 100%; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* PERFECT CENTERING */
    display: flex; 
    flex-direction: column; 
    align-items: center;      /* Center Horizontally */
    justify-content: center;  /* Center Vertically */
    text-align: center;       /* Center Text */
    
    padding: 0 40px; 
    position: relative; 
}

/* THE DARK OVERLAY */
.slide::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.65); /* Dark overlay for readability */
    z-index: 1;
}

/* THE CONTENT CARD */
.slide-content { 
    position: relative;
    z-index: 2; 
    color: white; 
    max-width: 900px; /* Wider on desktop */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all children */
    justify-content: center;
}

.slide-title { 
    font-size: 56px; /* Larger for desktop impact */
    font-weight: 800; 
    margin-bottom: 20px; 
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.7);
    line-height: 1.1;
    letter-spacing: -1px;
}

/* DESCRIPTION - Pure White for Contrast */
.slide-desc { 
    font-size: 20px; 
    color: #ffffff;  /* Pure white */
    margin-bottom: 35px; 
    font-weight: 500;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9); /* Stronger shadow */
    
    /* Truncate text if too long */
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 700px; /* Prevent text from being too wide */
}

.hero-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    background: var(--primary-orange); 
    color: #fff; 
    padding: 16px 45px; /* Larger button for desktop */
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #fff;
    color: var(--primary-orange);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.5);
}

.slide-image { display: none; } 

.hero-dots { 
    position: absolute; 
    bottom: 25px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 10px; 
    z-index: 5;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 450px; 
        margin: 0 10px;
    }

    .slide { 
        padding: 0 20px; 
    }

    .slide-title { 
        font-size: 32px; /* Smaller for mobile */
        margin-bottom: 15px;
    }
    
    .slide-desc {
        font-size: 16px;
        -webkit-line-clamp: 4; 
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 14px 35px;
        font-size: 14px;
    }
}

/* --- MOBILE RESPONSIVENESS (Phone Settings) --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-col, 
    .footer-col.first-col {
        width: 100%; /* Full width on phone */
        padding-right: 0;
        margin-bottom: 25px;
        text-align: left; /* FORCE LEFT ALIGNMENT ON PHONE */
    }
    
    .social-links {
        justify-content: flex-start; /* Icons start from left */
    }
}


/* --- MOBILE BOTTOM NAVIGATION BAR --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none; /* Hidden on Desktop */
    justify-content: space-around;
    align-items: center;
    padding: 12px 0 15px; /* Extra padding bottom for iPhone home bar */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.06);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top: 1px solid #f0f0f0;
}

/* Show only on Mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Push body content up so it doesn't hide behind nav */
    body {
        padding-bottom: 90px; 
    }
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    font-weight: 600;
    width: 25%; /* Equal width */
    position: relative;
    transition: all 0.2s;
}

.mob-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s;
}

/* Active State (Orange) */
.mob-nav-item.active {
    color: var(--primary-orange);
}

.mob-nav-item.active i {
    transform: translateY(-2px);
}

/* Optional: Active Indicator Dot */
.mob-nav-item.active::after {
    content: '';
    position: absolute;
    top: -12px;
    width: 40px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 0 0 4px 4px;
}

/* Class to hide the bar on scroll down */
.mobile-bottom-nav.nav-hidden {
    transform: translateY(100%);
}

/* --- ACTIVE STATE (ORANGE) --- */
.mob-nav-item.active {
    color: #ff6600 !important; /* Primary Orange */
}

/* Force specific elements to be orange */
.mob-nav-item.active i,
.mob-nav-item.active span {
    color: #ff6600 !important;
    transform: translateY(-2px); /* Slight lift effect */
}

/* --- PROFESSIONAL MESSAGES TABLE --- */

/* 1. Avatar Circle (Generated from initials) */
.msg-avatar-initial {
    width: 40px;
    height: 40px;
    background-color: #e0f2fe; /* Light Blue */
    color: #0284c7;            /* Dark Blue Text */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* 2. Sender Info Column */
.msg-sender-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.msg-name {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    display: block;
    line-height: 1.2;
}
.msg-email-small {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

/* 3. Message Snippet (Truncated) */
.msg-snippet-text {
    color: #374151;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px; /* Limits width to force ... */
    display: block;
}

/* 4. Date Badge */
.msg-date-badge {
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
}

/* --- PROFESSIONAL MESSAGE MODAL (READ VIEW) --- */

/* The Modal Container */
.msg-modal-content {
    border-radius: 20px !important;
    overflow: hidden;
    padding: 0 !important; /* Reset default padding */
    width: 600px;
    max-width: 95%;
    border: none;
}

/* Header: Colored strip at top */
.msg-reader-header {
    background: #f9fafb;
    padding: 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.msg-reader-sender {
    display: flex;
    gap: 15px;
}

.msg-reader-meta h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.msg-reader-meta p {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* The Body Text */
.msg-reader-body {
    padding: 40px 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    white-space: pre-wrap; /* Preserves paragraphs */
    background: #fff;
    min-height: 200px;
}

/* Footer Actions */
.msg-reader-footer {
    padding: 20px 30px;
    background: #fff;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-reply {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-reply:hover { background: #f3f4f6; color: #000; }

.btn-delete-solid {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.btn-delete-solid:hover { background: #dc2626; }
/* --- FIXED WHATSAPP FLOATING BUTTON --- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px; /* Default for Desktop */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp Green */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9995; /* Below the loader/nav, above content */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Pulse Animation Effect */
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- MOBILE ADJUSTMENT (Sits above the Bottom Nav) --- */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        bottom: 85px; /* Pushes it up above the mobile navbar (approx 60-70px tall) */
        right: 20px;
        width: 50px; /* Slightly smaller on phone */
        height: 50px;
        font-size: 28px;
    }
}


/* --- FIXED WHATSAPP FLOATING BUTTON --- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px; /* Default for Desktop */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp Green */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9995; /* Below the loader/nav, above content */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Pulse Animation Effect */
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- MOBILE ADJUSTMENT (Sits above the Bottom Nav) --- */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        bottom: 85px; /* Pushes it up above the mobile navbar (approx 60-70px tall) */
        right: 20px;
        width: 50px; /* Slightly smaller on phone */
        height: 50px;
        font-size: 28px;
    }
}

/* --- TRENDING CATEGORIES (Hybrid Scroll) --- */
.pop-cat-section { 
    width: 100%; 
    padding: 30px 0 50px 0; 
    background: #ffffff;
    border-bottom: 1px solid #f9f9f9;
}

.pop-cat-container { 
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
    /* Remove padding here to allow scroll to touch edges on mobile */
}

.pop-cat-header { 
    padding: 0 20px; 
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.pop-cat-header h2 { 
    font-size: 24px; 
    font-weight: 800; 
    text-transform: uppercase; 
    color: #111;
    position: relative;
    display: inline-block;
}

.pop-cat-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

/* --- THE SCROLL CONTAINER --- */
.trending-scroll-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 20px 30px 20px; /* Padding for shadow clearance */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Hide Scrollbar */
.trending-scroll-wrapper::-webkit-scrollbar { display: none; }

/* --- THE CARDS --- */
.trend-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0; /* Prevent shrinking */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    
    /* Default Size (Small Cards) */
    width: 160px;
    height: 220px;
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.trend-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.trend-card:hover img {
    transform: scale(1.1);
}

/* --- THE HIGHLIGHT CARD (First Item) --- */
.trend-card.highlight {
    /* Larger Dimensions */
    width: 340px;
    height: 220px;
}

/* --- TEXT OVERLAY --- */
.trend-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%; /* Gradient height */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: #fff;
}

.trend-name {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.trend-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 12px;
    width: fit-content;
    backdrop-filter: blur(4px);
}

.trend-card.highlight .trend-name {
    font-size: 24px; /* Larger text for highlight */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .trend-card.highlight {
        width: 280px; /* Slightly smaller on phone but still wide */
    }
    .trend-card {
        width: 140px;
    }
}


/* --- POPULAR SECTION (Matches Your Image) --- */
.pop-cat-section { 
    width: 100%; 
    padding: 30px 20px; 
    background: #f9f9f9; /* Light background to make white cards pop */
}

.pop-cat-container { 
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
}

/* Header */
.pop-cat-header { 
    margin-bottom: 20px; 
    padding-left: 5px;
}

.pop-cat-header h2 { 
    font-size: 24px; 
    font-weight: 800; 
    color: #111; 
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* --- THE SCROLL CONTAINER --- */
.popular-scroll-view {
    display: flex;
    gap: 15px; /* Space between cards */
    overflow-x: auto;
    padding: 5px 5px 20px 5px; /* Padding for shadow clearance */
    
    /* Smooth Scroll */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Hide Scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.popular-scroll-view::-webkit-scrollbar { display: none; }

/* --- THE CARD DESIGN (White Box) --- */
.pop-card {
    min-width: 160px; /* Fixed width like the image */
    max-width: 160px;
    background: #ffffff;
    border: 1px solid #eaeaea; /* Subtle border */
    border-radius: 12px; /* Rounded corners */
    padding: 20px 10px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover Effect */
.pop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* --- CIRCLE IMAGE --- */
.pop-img-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Makes image round */
    overflow: hidden;
    margin-bottom: 15px;
    background: #f4f4f4;
}

.pop-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pop-card:hover .pop-img-circle img {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* --- TEXT STYLE --- */
.pop-title {
    font-size: 14px;
    font-weight: 700; /* Bold Text */
    color: #000;
    
    /* Truncate long text with ... */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* --- OPTIONAL: HIGHLIGHT FIRST ITEM (Stand Out) --- */
/* If you still want the first item larger, un-comment this: */
/*
.pop-card.highlight {
    min-width: 180px;
    max-width: 180px;
    background: #fff0e6; 
    border-color: var(--primary-orange);
}
.pop-card.highlight .pop-img-circle {
    width: 120px;
    height: 120px;
}
*/

/* Mobile Fix */
@media (max-width: 768px) {
    .pop-card {
        min-width: 140px;
        max-width: 140px;
    }
    .pop-img-circle {
        width: 80px;
        height: 80px;
    }
}


/* =========================================
   PRODUCT CARD IMAGE FIX FOR MOBILE
   ========================================= */

/* Base Product Card Styles */
.pro-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Product Image Container */
.pro-img-box {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f9fafb;
}

/* Product Image */
.pro-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows full product without cropping */
    padding: 15px; /* Space around image */
    transition: transform 0.3s ease;
}

.pro-img-box:hover .pro-img {
    transform: scale(1.05);
}

/* Product Details Section */
.pro-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pro-title {
    font-size: 15px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.4;
    color: #1f2937;
}

.pro-title a {
    color: inherit;
    text-decoration: none;
}

.pro-price {
    margin-top: auto;
    padding-top: 10px;
}

.new-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-orange, #f97316);
}

.old-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 8px;
}

/* Product Buttons */
.pro-buttons {
    display: flex;
    gap: 8px;
    padding: 0 15px 15px 15px;
}

.btn-cart {
    flex: 1;
    padding: 10px;
    background: var(--primary-orange, #f97316);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    padding: 10px 15px;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* =========================================
   MOBILE OPTIMIZATION (PHONE SCREENS)
   ========================================= */

@media (max-width: 768px) {
    /* Reduce image container size */
    .pro-img-box {
        padding-top: 85%; /* Shorter aspect ratio for mobile */
    }

    /* Smaller image with more padding */
    .pro-img {
        padding: 12px; /* Less space around image */
        object-fit: contain; /* Ensures full product is visible */
    }

    /* Compact card details */
    .pro-details {
        padding: 12px;
    }

    .pro-title {
        font-size: 14px;
        margin: 6px 0;
        /* Limit to 2 lines */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pro-rating {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .new-price {
        font-size: 16px;
    }

    .old-price {
        font-size: 13px;
    }

    /* Compact buttons */
    .pro-buttons {
        padding: 0 12px 12px 12px;
        gap: 6px;
    }

    .btn-cart {
        padding: 9px;
        font-size: 13px;
    }

    .btn-whatsapp {
        padding: 9px 12px;
        font-size: 13px;
    }

    /* Badge adjustments */
    .pro-discount {
        font-size: 10px;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }

    /* Hover icons smaller */
    .pro-hover-icons .icon-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* =========================================
   EXTRA SMALL PHONES (< 480px)
   ========================================= */

@media (max-width: 480px) {
    /* Even more compact for small screens */
    .pro-img-box {
        padding-top: 80%; /* Flatter ratio */
    }

    .pro-img {
        padding: 10px; /* Tighter padding */
    }

    .pro-details {
        padding: 10px;
    }

    .pro-title {
        font-size: 13px;
    }

    .new-price {
        font-size: 15px;
    }

    .btn-cart,
    .btn-whatsapp {
        padding: 8px;
        font-size: 12px;
    }
}

/* =========================================
   PRODUCT GRID RESPONSIVE
   ========================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

/* =========================================
   PRODUCT SCROLL VIEW (Horizontal)
   ========================================= */

.product-scroll-view {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.product-scroll-view .pro-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .product-scroll-view {
        gap: 12px;
        padding: 15px;
    }

    .product-scroll-view .pro-card {
        flex: 0 0 220px; /* Narrower cards on mobile */
    }
}

@media (max-width: 480px) {
    .product-scroll-view .pro-card {
        flex: 0 0 180px; /* Even narrower for small phones */
    }
}