/* ==========================================================
   CSS Variables & Basic Reset (Premium Yellow & Black)
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --primary-yellow: #FFB300; 
    --hover-yellow: #e5a100;
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-main: #fcfcfc;
    --white: #ffffff;
    --radius-soft: 12px;
    --radius-full: 30px;
    --shadow-soft: 0 8px 25px rgba(0,0,0,0.04);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: var(--bg-main); color: var(--text-dark); line-height: 1.6; overflow-x: hidden;}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 15px; }
.img-fluid { max-width: 100%; height: auto; display: block;}
.radius-10 { border-radius: var(--radius-soft); }
.radius-15 { border-radius: 15px; }

/* Utilities */
.mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } 
.mt-40 { margin-top: 40px; } .mt-50 { margin-top: 50px; } .mt-80 { margin-top: 80px; }
.mt-100 { margin-top: 100px; } .mt-120 { margin-top: 120px; } .mt-150 { margin-top: 150px !important; } 
.mb-30 { margin-bottom: 30px; } .mb-50 { margin-bottom: 50px; } .mb-80 { margin-bottom: 80px; } .mb-150 { margin-bottom: 150px !important; } 
.w-100 { width: 100% !important; }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-yellow { color: var(--primary-yellow) !important; }
.text-black { color: var(--primary-black) !important; }
.text-white { color: var(--white) !important; }
.d-flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Theme Logo */
.theme-logo-text { font-size: 28px; font-weight: 800; color: #000; text-shadow: none; background: none; letter-spacing: 1px; margin: 0;}
.theme-logo-text span { font-weight: 300; }

/* ==========================================================
   Header 
   ========================================================== */
.top-promo-bar { background-color: var(--primary-black); color: var(--primary-yellow); font-size: 12px; padding: 6px 0; font-weight: 500; text-align: center;}
.site-header { background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-middle { padding: 12px 15px; display: flex; justify-content: space-between; align-items: center;}
.header-right-items { display: flex; align-items: center; justify-content: flex-end; gap: 30px; font-size: 13px; font-weight: 500;}
.contact-info-wrap { display: flex; gap: 20px;}
.auth-cart-wrap { display: flex; gap: 25px; align-items: center; border-left: 1px solid #eee; padding-left: 20px;}
.info-link i, .login-link i { margin-right: 5px; font-size: 14px;}
.info-link:hover, .login-link:hover { color: var(--primary-yellow); }

/* Cart Icons */
.cart-icon-wrap { display: flex; align-items: center; }
.cart-icon { position: relative; font-size: 22px; cursor: pointer; color: var(--primary-black); transition: var(--transition);}
.cart-icon:hover { color: var(--primary-yellow); transform: scale(1.1); }
.cart-badge { position: absolute; top: -5px; right: -8px; background: var(--primary-yellow); color: var(--primary-black); font-size: 10px; padding: 2px 6px; border-radius: 50%; font-weight: bold; }

/* Desktop Navigation */
.header-bottom { padding: 10px 0; border-top: 1px solid #f0f0f0;}
.header-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-left { display: flex; align-items: center; gap: 25px; }

/* Dropdowns */
.dept-dropdown { position: relative; }
.btn-all-depts { background: var(--primary-black); color: var(--primary-yellow); border: none; padding: 8px 18px; border-radius: var(--radius-soft); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; cursor: pointer; transition: var(--transition); display: flex; gap: 8px; align-items: center;}
.btn-all-depts:hover { background: var(--primary-yellow); color: var(--primary-black); }
.dept-menu { position: absolute; top: 120%; left: 0; background: var(--white); width: 220px; box-shadow: var(--shadow-soft); border-radius: var(--radius-soft); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 99; padding: 10px 0;}
.dept-dropdown.active .dept-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dept-menu li a { display: block; padding: 10px 20px; color: var(--text-dark); font-size: 13px; font-weight: 500; }
.dept-menu li a:hover { background: #fafafa; color: var(--primary-yellow); padding-left: 25px; }

/* Nav Links */
.main-nav ul { display: flex; gap: 20px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--primary-black); transition: var(--transition);}
.active-yellow { color: var(--primary-yellow) !important; font-weight: 600 !important;}
.main-nav a:hover { color: var(--primary-yellow); }

/* Mega Menu */
.has-mega-menu { position: static; }
.mega-menu { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 99; padding: 30px 0; border-top: 2px solid var(--primary-yellow);}
.has-mega-menu:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu-inner { display: flex; gap: 40px; }
.mega-list h4 { font-size: 16px; color: var(--primary-black); margin-bottom: 15px; font-weight: 700;}
.mega-list ul li { margin-bottom: 10px; }
.mega-list ul li a { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.mega-list ul li a:hover { color: var(--primary-yellow); padding-left: 5px; }
.mega-list i { width: 20px; color: var(--primary-yellow); }
.mega-banner { position: relative; border-radius: 10px; overflow: hidden; width: 300px; height: 180px;}
.mega-banner img { width: 100%; height: 100%; object-fit: cover;}
.mega-banner-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--white);}
.mega-banner-content h5 { font-size: 18px; font-weight: 700; color: var(--primary-yellow);}

/* Header Search */
.nav-right { display: flex; align-items: center; gap: 15px; }
.nav-search { display: flex; background: #f4f4f4; border-radius: var(--radius-full); overflow: hidden; width: 220px; transition: var(--transition); padding: 2px;}
.nav-search:focus-within { box-shadow: 0 0 0 2px var(--primary-yellow); background: var(--white);}
.nav-search input { border: none; padding: 8px 15px; width: 100%; background: transparent; outline: none; font-family: 'Poppins', sans-serif; font-size: 12px;}
.nav-search button { background: var(--primary-yellow); color: var(--primary-black); border: none; padding: 0 15px; border-radius: var(--radius-full); cursor: pointer; transition: var(--transition);}
.nav-search button:hover { background: var(--primary-black); color: var(--primary-yellow); }
.social-icons a { display: inline-flex; width: 28px; height: 28px; background: var(--primary-black); color: var(--white); border-radius: 50%; align-items: center; justify-content: center; font-size: 12px; transition: var(--transition);}
.social-icons a:hover { background: var(--primary-yellow); color: var(--primary-black); transform: translateY(-3px);}

/* Mobile Drawer Elements */
.mobile-toggle { font-size: 24px; cursor: pointer; color: var(--primary-black); }
.hide-desktop { display: none; }
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; visibility: hidden; transition: var(--transition);}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--white); z-index: 2000; transition: var(--transition); display: flex; flex-direction: column;}
.mobile-drawer.active { left: 0; }
.drawer-header { padding: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid #eee;}
.close-drawer { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-dark);}
.drawer-links { padding: 20px; }
.drawer-links li { margin-bottom: 15px; }
.drawer-links a { font-size: 15px; font-weight: 500; color: var(--text-dark); display: block;}

/* ==========================================================
   Global Floating Buttons (WhatsApp & Scroll Top)
   ========================================================== */
.floating-wa { position: fixed; bottom: 30px; left: 30px; background: #25D366; color: #fff; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 999; transition: var(--transition);}
.floating-wa:hover { transform: scale(1.1); }

.scroll-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--primary-yellow); color: var(--primary-black); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); cursor: pointer; }
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--primary-black); color: var(--primary-yellow); transform: translateY(-5px); }

/* ==========================================================
   Animations & Cards
   ========================================================== */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.premium-card { background: var(--white); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 2px solid transparent; transition: 0.3s; padding: 15px; position: relative; display: flex; flex-direction: column; height: 100%;}
.hover-glow-outline:hover { transform: translateY(-5px); border-color: var(--primary-yellow); box-shadow: 0 0 20px rgba(255,179,0,0.2); }
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.btn-glow-yellow { position: relative; z-index: 1; overflow: hidden;}
.btn-glow-yellow::after { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: -100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); transition: 0.5s; z-index: -1;}
.btn-glow-yellow:hover::after { left: 100%; }

/* ==========================================================
   Home Hero Banner & Titles
   ========================================================== */
.hero-slider-wrapper { position: relative; overflow: hidden; width: 100%; border-radius: 15px;}
.hero-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%;}
.hero-banner-img { width: 100%; height: 100%; max-height: 450px; min-height: 250px; object-fit: cover; display: block; border-radius: 15px; }

.hero-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(255,255,255,0.8); border: none; border-radius: 50%; font-size: 16px; cursor: pointer; transition: var(--transition); z-index: 10; display: flex; align-items: center; justify-content: center;}
.hero-btn:hover { background: var(--primary-yellow); color: var(--primary-black); }
.hero-btn.left { left: 20px; }
.hero-btn.right { right: 20px; }

.welcome-title { font-size: 24px; color: var(--primary-black); font-weight: 700; }
.section-title-wrap .pre-title { font-size: 11px; font-weight: 600; letter-spacing: 2px; display: block; margin-bottom: 5px; text-transform: uppercase;}
.section-title { font-size: 24px; font-weight: 700; color: var(--primary-black);}

/* Sections Headers */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px;}
.btn-outline-dark { border: 1px solid #ddd; padding: 6px 18px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; color: var(--primary-black); background: var(--white); transition: var(--transition);}
.btn-outline-dark:hover { background: var(--primary-yellow); border-color: var(--primary-yellow); }

/* Universal Home Sliders */
.slider-wrapper { display: flex; align-items: center; gap: 15px; margin-top: 15px; position: relative;}
.slider-arrow { flex-shrink: 0; width: 40px; height: 40px; background: var(--white); border: 1px solid #ddd; font-size: 14px; color: var(--primary-black); cursor: pointer; border-radius: 50%; transition: var(--transition); box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 2;}
.slider-arrow:hover { background: var(--primary-yellow); color: var(--primary-black); border-color: var(--primary-yellow);}
.infinite-scroll-container { flex: 1; overflow-x: auto; padding: 10px 0; scrollbar-width: none; -ms-overflow-style: none; }
.infinite-scroll-container::-webkit-scrollbar { display: none; }
.infinite-scroll-track { display: flex; gap: 20px; width: max-content; }
.cat-box-wrap { flex: 0 0 180px !important; }
.product-card-wrap { flex: 0 0 260px !important; }
.user-review-card-wrap { flex: 0 0 320px !important; }

/* ==========================================================
   GLOBAL GRID SYSTEM (STRICT 4-3-2 RULES)
   ========================================================== */
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%;}
.mixed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mixed-grid-reversed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Product Cards */
.sale-badge-yellow { position: absolute; top: 12px; left: 12px; background: var(--primary-yellow); color: var(--primary-black); font-size: 10px; padding: 4px 8px; border-radius: 4px; font-weight: 700; z-index: 2; }
.img-wrap { position: relative; text-align: center; background: #fff; border-radius: 8px; margin-bottom: 15px; padding: 10px; overflow: hidden;}
.img-wrap img { width: 100%; height: 160px; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.5s ease;}
.product-card:hover .img-wrap img { transform: scale(1.05); }

.prod-details { display: flex; flex-direction: column; flex-grow: 1; }
.prod-id { font-size: 10px; color: var(--text-muted); margin-bottom: 5px; font-weight: 500;}
.prod-title { font-size: 13px; font-weight: 600; line-height: 1.4; height: 36px; overflow: hidden; margin-bottom: 10px; }
.prod-title a:hover { color: var(--primary-yellow); }
.prod-price { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.prod-price del { font-size: 12px; color: var(--text-muted); }
.prod-price strong { font-size: 16px; color: var(--primary-black); font-weight: 700;}

.prod-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-action { font-family: 'Poppins', sans-serif; padding: 8px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: center; border: none;}
.btn-cart { background: #f0f0f0; color: var(--primary-black); flex: 0 0 auto;}
.btn-cart:hover { background: var(--primary-black); color: var(--white); }
.btn-buy { background: var(--primary-yellow); color: var(--primary-black); flex: 1;}
.btn-buy:hover { background: var(--hover-yellow); }

/* Other Home Elements */
.badge-card { display: flex; align-items: center; gap: 15px; padding: 15px 20px;}
.icon-wrap { width: 45px; height: 45px; background: #fff8e1; color: var(--primary-yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.badge-card h4 { font-size: 14px; margin-bottom: 2px; font-weight: 600;}
.badge-card p { font-size: 12px; color: var(--text-muted); }

.cat-box-premium { height: 220px; border-radius: var(--radius-soft); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 20px; text-align: left; color: var(--white); background-size: cover; background-position: center; transition: var(--transition);}
.cat-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 100%); z-index: 1;}
.cat-box-premium h5 { position: relative; z-index: 2; width: 100%; font-size: 15px; font-weight: 600; margin: 0;}

.premium-usb-banner { background: linear-gradient(135deg, #FFB300 0%, #111111 100%); color: var(--white); padding: 60px 40px; border-radius: var(--radius-soft); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-align: center; box-shadow: var(--shadow-soft);}
.banner-content { position: relative; z-index: 2;}
.banner-content .badge-text { background: var(--primary-black); color: var(--primary-yellow); padding: 5px 12px; font-size: 12px; font-weight: 700; border-radius: 4px; display: inline-block; margin-bottom: 15px;}
.banner-content h2 { font-size: 34px; font-weight: 800; line-height: 1.2;}
.btn-shop-solid { display: inline-block; background: var(--white); color: var(--primary-black); padding: 10px 25px; border-radius: 30px; font-weight: 700; font-size: 14px;}

.vertical-promo { border-radius: var(--radius-soft); overflow: hidden; height: 100%;}
.vertical-promo img { width: 100%; height: 100%; object-fit: cover;}
.feature-box { border-radius: var(--radius-soft); overflow: hidden; height: 350px;}
.feature-box img { width: 100%; height: 100%; object-fit: cover; }

/* Tabs */
.pb-tabs { display: flex; justify-content: center; gap: 20px; border-bottom: 1px solid #eee; margin-bottom: 30px; flex-wrap: wrap;}
.tab-btn { background: none; border: none; padding: 10px 15px; font-size: 14px; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; cursor: pointer;}
.tab-btn.active { color: var(--primary-black); border-bottom-color: var(--primary-black); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUpTab 0.5s ease;}
@keyframes fadeUpTab { from{opacity:0; transform:translateY(15px);} to{opacity:1; transform:translateY(0);} }

/* Testimonials */
.testimonials-layout { display: flex; gap: 20px; align-items: stretch;}
.static-review-box { flex: 0 0 280px; background: var(--white); border-radius: var(--radius-soft); padding: 30px 20px; text-align: center; box-shadow: var(--shadow-soft);}
.google-avatar { width: 60px; height: 60px; background: #f0f0f0; color: var(--primary-black); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; margin: 0 auto;}
.btn-write-review { background: var(--white); border: 1px solid #eee; padding: 10px 0; width: 100%; border-radius: 20px; font-size: 13px; font-weight: 600; margin-top: 25px; cursor: pointer;}
.scrolling-reviews-container { flex: 1; display: flex; align-items: center; gap: 10px; overflow: hidden; padding: 10px 0;}
.user-review-card { height: 100%; padding: 25px; position: relative;}
.r-head { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.r-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px;}
.r-info strong { display: block; font-size: 14px;}
.google-icon { position: absolute; top: 25px; right: 25px; color: #4285F4; font-size: 20px;}
.review-text { font-size: 13px; color: var(--text-muted); margin-bottom: 10px;}
.read-more { font-size: 13px; font-weight: 600; text-decoration: underline;}

/* FAQs */
.faq-section { max-width: 900px; margin-left: auto; margin-right: auto;}
.custom-accordion { border-radius: 12px; background: var(--white); overflow: hidden; box-shadow: var(--shadow-soft);}
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-header { width: 100%; text-align: left; padding: 20px 25px; background: transparent; border: none; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center;}
.accordion-header i { transition: transform 0.3s ease; color: var(--primary-black);}
.accordion-item.active .accordion-header i { color: var(--primary-yellow); }
.accordion-header .icon-minus { display: none; }
.accordion-item.active .accordion-header .icon-plus { display: none; }
.accordion-item.active .accordion-header .icon-minus { display: block; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.content-inner { padding: 0 25px 25px 25px; font-size: 14px; color: var(--text-muted);}

/* ==========================================================
   SIDE CART DRAWER STYLES
   ========================================================== */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2999; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(2px);}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100vh; background: var(--white); z-index: 3000; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: -5px 0 25px rgba(0,0,0,0.1); display: flex; flex-direction: column;}
.cart-drawer.active { transform: translateX(-400px); }
.cart-header { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; background: #fafafa;}
.cart-header h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--primary-black);}
.close-cart { background: var(--white); border: 1px solid #ddd; width: 35px; height: 35px; border-radius: 50%; font-size: 16px; cursor: pointer;}
.close-cart:hover { background: var(--danger); color: var(--white); }
.cart-items-wrapper { flex: 1; overflow-y: auto; padding: 20px 25px; display: flex; flex-direction: column; gap: 20px;}
.cart-item { display: flex; gap: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px;}
.cart-item-img { width: 80px; height: 80px; border: 1px solid #eee; border-radius: 8px; padding: 5px;}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain;}
.cart-item-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--primary-yellow); margin-bottom: 10px;}
.cart-remove-btn { background: none; border: none; color: red; font-size: 14px; cursor: pointer;}
.cart-footer { padding: 20px 25px; border-top: 1px solid #eee; background: var(--white);}
.cart-total-wrap { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 10px;}
.cart-total-wrap strong { font-size: 22px; }
.shipping-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-bottom: 15px;}
.cart-action-btns { display: flex; gap: 10px; }
.btn-view-cart { flex: 1; background: #f0f0f0; border: 1px solid #ddd; padding: 12px 0; border-radius: 8px; font-weight: 600; cursor: pointer;}
.btn-checkout-cart { flex: 1.5; background: var(--primary-yellow); border: none; padding: 12px 0; border-radius: 8px; font-weight: 700; text-transform: uppercase; cursor: pointer;}

/* ==========================================================
   Footer
   ========================================================== */
.main-footer { background-color: var(--primary-black); color: #ccc; padding-top: 60px; font-size: 13px; border-top: 3px solid var(--primary-yellow);}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.brand-col p { margin: 15px 0; }
.footer-col h4 { font-size: 16px; margin-bottom: 20px; font-weight: 600; color: var(--white); position: relative; display: inline-block;}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 20px; height: 2px; background: var(--primary-yellow); }
.footer-socials a { display: inline-flex; width: 30px; height: 30px; background: #222; color: var(--white); border-radius: 50%; align-items: center; justify-content: center; margin-right: 8px;}
.footer-socials a:hover { background: var(--primary-yellow); color: var(--primary-black); transform: translateY(-3px);}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a, .contact-col ul li { display: flex; align-items: flex-start; gap: 10px; transition: var(--transition);}
.footer-bottom { border-top: 1px solid #222; padding: 20px 0; background: #0a0a0a; color: #888;}
.zelova-link { color: var(--primary-yellow); font-weight: 700; position: relative;}

/* ==========================================================
   10000% STRICT RESPONSIVE LOGIC (Fixes Every Page Grid)
   ========================================================== */
/* Tablet */
@media (max-width: 1024px) {
    .product-grid, .mixed-grid, .mixed-grid-reversed, .feature-grid, .trust-badges { grid-template-columns: repeat(3, 1fr) !important; }
    .testimonials-layout { flex-direction: column; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}

/* Large Mobile */
@media (max-width: 768px) {
    .hide-desktop { display: block; }
    .hide-mobile { display: none !important; }
    
    .product-grid, .mixed-grid, .mixed-grid-reversed, .trust-badges { grid-template-columns: repeat(2, 1fr) !important; gap: 15px;}
    .feature-grid { grid-template-columns: repeat(2, 1fr) !important; }
    
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-top { grid-template-columns: 1fr; text-align: left; }
    .footer-col h4::after { left: 0; }
    .d-flex-between { flex-direction: column; gap: 10px; text-align: center; }
}

/* Small Mobile (Strict 2 Items) */
@media (max-width: 480px) {
    .product-grid, .mixed-grid, .mixed-grid-reversed, .trust-badges { grid-template-columns: repeat(2, 1fr) !important; gap: 10px;}
    .feature-grid { grid-template-columns: 1fr !important; } 
    
    .hero-banner-img { min-height: 200px; object-fit: cover; border-radius: 10px;}
    
    .product-card { padding: 10px; display: flex; flex-direction: column; justify-content: space-between;}
    .img-wrap img { height: 120px; }
    .prod-title { font-size: 11px; height: 32px; overflow: hidden; margin-bottom: 5px; line-height: 1.4;}
    .prod-price strong { font-size: 14px; }
    
    .prod-actions { flex-direction: column; width: 100%; gap: 5px;}
    .btn-action { font-size: 11px; padding: 8px; width: 100%;}
    
    .cat-box-wrap { flex: 0 0 calc(50vw - 20px) !important; }
    .cat-box-premium { height: 160px; padding: 15px;}
    .product-card-wrap { flex: 0 0 calc(50vw - 20px) !important; }
    .user-review-card-wrap { flex: 0 0 calc(100vw - 40px) !important; }
    
    .cart-drawer { right: -100%; max-width: 100%; }
    .cart-drawer.active { transform: translateX(-100%); }
    
    .floating-wa { width: 50px; height: 50px; font-size: 26px; left: 15px; bottom: 15px;}
    .scroll-to-top { width: 40px; height: 40px; font-size: 16px; right: 15px; bottom: 15px;}
}

/* ==========================================================
   MOBILE BANNER, ICONS & NEW SLIDER FIXES
   ========================================================== */
/* Hero Banner Mobile Fix */
@media (max-width: 768px) {
    .hero-slider-wrapper {
        width: 100% !important;
        border-radius: 12px;
        overflow: hidden;
    }
    .hero-banner-img {
        width: 100% !important;
        height: auto !important;
        min-height: 180px !important;
        max-height: 250px !important;
        object-fit: cover !important; 
    }
}

/* Testimonial Icons Fix */
.r-avatar {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important; /* Yeh icon ko pichaknay sy rokega */
}
.user-review-card .google-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: #4285F4;
    display: block !important;
}

/* New Slider Positioning Fixes */
.slider-wrapper { 
    position: relative; 
    width: 100%; 
    display: flex; 
    align-items: center;
}
.slider-arrow { z-index: 10; position: absolute; }
.slider-arrow.left { left: -20px; }
.slider-arrow.right { right: -20px; }
@media (max-width: 768px) {
    .slider-arrow.left { left: 0px; }
    .slider-arrow.right { right: 0px; }
}

/* ==========================================================
   MOBILE BANNER & SLIDER RESPONSIVENESS FIXES
   ========================================================== */
@media (max-width: 768px) {
    .hero-slider-wrapper {
        width: 100% !important;
        border-radius: 12px;
        overflow: hidden;
    }
    .hero-banner-img {
        width: 100% !important;
        height: 200px !important; /* Fixed proper height */
        min-height: auto !important;
        max-height: 250px !important;
        object-fit: cover !important; 
    }
    .slider-arrow.left { left: 0px; }
    .slider-arrow.right { right: 0px; }
}

/* ==========================================================
   FINAL FIXES: MOBILE BANNER & TESTIMONIAL ICONS
   ========================================================== */

/* 1. Mobile Banner Perfect Fit */
@media (max-width: 768px) {
    .hero-slider-wrapper {
        width: 100% !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    .hero-banner-img {
        width: 100% !important;
        height: 220px !important; /* Proper mobile height */
        min-height: 220px !important;
        max-height: 250px !important;
        object-fit: cover !important; /* Image ko stretch honay sy rokega */
        border-radius: 12px !important;
    }
}

/* 2. Testimonials Profile Icons Fix */
.r-avatar, .google-avatar {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important; /* Icon ko chota honay ya pichaknay sy rokega */
}

/* Google Icon Fix */
.user-review-card .google-icon {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 20px !important;
    color: #4285F4 !important;
    display: block !important;
}

.r-head {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
}

/* ==========================================================
   FINAL TOUCHES: MOBILE BANNER FIT & TESTIMONIAL AVATARS
   ========================================================== */

/* 1. Mobile Banner Fix (Pura image show hoga crop nahi hoga) */
@media (max-width: 768px) {
    .hero-slider-wrapper {
        background-color: #000000 !important; /* Black background takay empty space cover ho jaye */
    }
    .hero-banner-img {
        width: 100% !important;
        height: 220px !important; /* Size wahi rahay ga */
        object-fit: contain !important; /* Image ko katnay nahi dega, pura andar fit karega */
        object-position: center !important;
    }
}

/* 2. Testimonials Profile Avatars Fix (Gayab icons wapis ayenge) */
.r-head {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
    position: relative !important;
}

.r-avatar {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important; /* Yeh icon ko pichaknay ya gayab honay sy rokega */
    z-index: 2 !important;
}

/* Ensure background colors for profile icons */
.bg-green { background-color: #0F9D58 !important; color: #ffffff !important; }
.bg-yellow { background-color: #FFB300 !important; color: #000000 !important; }
.bg-black { background-color: #000000 !important; color: #ffffff !important; }

/* Google 'G' icon alignment */
.user-review-card .google-icon {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 20px !important;
    color: #4285F4 !important;
    display: block !important;
}

/* ==========================================================
   PERFECT MOBILE HERO BANNER FIX (NO BLACK SPACES)
   ========================================================== */
@media (max-width: 768px) {
    .hero-slider-wrapper {
        width: 100% !important;
        height: auto !important; /* Wrapper ko banner ki height ke sath adjust hone dega */
        background: transparent !important; /* Black empty space ko hamesha ke liye khatam kar dega */
        border-radius: 12px !important;
    }
    .hero-track {
        height: auto !important;
    }
    .hero-banner-img {
        width: 100% !important;
        height: auto !important; /* Apni asli shape (aspect ratio) mein rahay ga */
        min-height: unset !important; /* Puranay restrictions khatam */
        max-height: none !important; /* Puranay restrictions khatam */
        object-fit: contain !important; /* Pura banner bina katay show hoga */
        border-radius: 12px !important;
        display: block !important;
    }
}

/* ==========================================================
   PREMIUM SIDE CART DRAWER STYLING
   ========================================================== */
.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}
.cd-img {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cd-info {
    flex: 1;
    padding-right: 25px; /* Delete button ke liye jagah */
}
.cd-title {
    font-size: 13px;
    font-weight: 600;
    color: #212121;
    line-height: 1.4;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cd-color {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
}
.cd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cd-price {
    font-size: 14px;
    font-weight: 700;
    color: #FFB300;
}
.cd-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    height: 28px;
}
.cd-qty-ctrl button {
    background: #f8f9fa;
    border: none;
    width: 26px;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #212121;
    transition: 0.2s;
}
.cd-qty-ctrl button:hover {
    background: #e2e8f0;
}
.cd-qty-ctrl input {
    width: 30px;
    height: 100%;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 13px;
    color: #212121;
    padding: 0;
    outline: none;
}
.cd-remove-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    padding: 5px;
}
.cd-remove-btn:hover {
    color: #b91c1c;
    transform: translateY(-50%) scale(1.1);
}

/* ==========================================================
   🌟 VIP MINIMALIST SIDE CART DRAWER STYLING 🌟
   ========================================================== */

/* 1. Clean White Drawer Background */
.cart-drawer {
    background: #ffffff;
}

/* 2. Sleek Custom Scrollbar */
.cart-items-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 0 25px; /* Items will touch left/right gracefully */
    background: #ffffff;
}
.cart-items-wrapper::-webkit-scrollbar {
    width: 4px;
}
.cart-items-wrapper::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
.cart-items-wrapper::-webkit-scrollbar-thumb:hover {
    background: #FFB300;
}

/* 3. Header Styling */
.cart-header {
    padding: 20px 25px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.close-cart {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}
.close-cart:hover {
    color: #000;
    transform: rotate(90deg);
}

/* 4. Elegant Item Layout (No bulky cards) */
.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.3s ease;
}
.cart-drawer-item:last-child {
    border-bottom: none;
}

/* 5. Minimal Image Box */
.cd-img {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 6. Refined Text & Details */
.cd-info {
    flex: 1;
    padding-right: 25px; /* Spacing for delete button */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cd-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    margin: 0 0 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cd-color {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    margin-bottom: 12px;
}

/* 7. Price & Quantity Alignment */
.cd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cd-price {
    font-size: 15px;
    font-weight: 700;
    color: #111; /* Black price looks more premium */
}

/* 8. Modern Quantity Selector */
.cd-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    height: 30px;
}
.cd-qty-ctrl button {
    background: transparent;
    border: none;
    width: 28px;
    height: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: #111;
    transition: all 0.2s ease;
}
.cd-qty-ctrl button:hover {
    background: #f8fafc;
    color: #FFB300;
}
.cd-qty-ctrl input {
    width: 35px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 13px;
    color: #111;
    padding: 0;
    outline: none;
}

/* 9. Minimal Delete Button */
.cd-remove-btn {
    position: absolute;
    right: 0;
    top: 25px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cd-remove-btn:hover {
    color: #ef4444; /* Turns red only on hover */
}

/* 10. High-End Footer Buttons */
.cart-footer {
    padding: 25px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}
.cart-total-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.cart-total-wrap strong {
    font-size: 20px;
    font-weight: 700;
    color: #FFB300;
}
.shipping-note {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
}
.cart-action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-view-cart {
    background: #fff;
    color: #111;
    border: 1px solid #111;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-view-cart:hover {
    background: #111;
    color: #fff;
}
.btn-checkout-cart {
    background: #FFB300;
    color: #fff;
    border: 1px solid #FFB300;
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-checkout-cart:hover {
    background: #e6a200;
    border-color: #e6a200;
}

/* ==========================================================
   🌟 VIP BOXED SIDE CART DRAWER STYLING 🌟
   ========================================================== */

/* 1. Drawer Background & Header */
.cart-drawer {
    background: #fbfbfc; /* Light background so white boxes pop out */
    font-family: 'Poppins', sans-serif;
}
.cart-header {
    padding: 20px 25px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.close-cart {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}
.close-cart:hover {
    color: #0f172a;
    transform: rotate(90deg);
}

/* 2. Custom Scrollbar */
.cart-items-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fbfbfc;
}
.cart-items-wrapper::-webkit-scrollbar { width: 5px; }
.cart-items-wrapper::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.cart-items-wrapper::-webkit-scrollbar-thumb:hover { background: #FFB300; }

/* 3. The "Proper Box" for Each Item */
.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #ffffff; /* Proper White Box */
    border: 1px solid #e2e8f0; /* Crisp Border */
    border-radius: 12px; /* Smooth rounded corners */
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.cart-drawer-item:last-child {
    margin-bottom: 0;
}
.cart-drawer-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* 4. Product Image styling inside box */
.cd-img {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 5. Typography & Text layout */
.cd-info {
    flex: 1;
    padding-right: 20px; /* Space for trash icon */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cd-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cd-color {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 10px;
}

/* 6. Price & Quantity Container */
.cd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cd-price {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

/* 7. Premium Quantity Buttons */
.cd-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    height: 30px;
}
.cd-qty-ctrl button {
    background: transparent;
    border: none;
    width: 28px;
    height: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: #0f172a;
    transition: all 0.2s ease;
}
.cd-qty-ctrl button:hover {
    background: #f8fafc;
    color: #FFB300;
}
.cd-qty-ctrl input {
    width: 32px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    font-weight: 600;
    font-size: 13px;
    color: #0f172a;
    padding: 0;
    outline: none;
}

/* 8. Trash / Delete Icon aligned to top right of the box */
.cd-remove-btn {
    position: absolute;
    right: 12px;
    top: 15px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.cd-remove-btn:hover {
    color: #ef4444;
}

/* 9. Footer (Total & Action Buttons) */
.cart-footer {
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.02);
}
.cart-total-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.cart-total-wrap strong {
    font-size: 20px;
    font-weight: 800;
    color: #FFB300;
}
.shipping-note {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-align: center;
    margin-bottom: 15px;
}
.cart-action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-view-cart {
    background: #fff;
    color: #0f172a;
    border: 1px solid #0f172a;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-view-cart:hover {
    background: #0f172a;
    color: #fff;
}
.btn-checkout-cart {
    background: #FFB300;
    color: #fff;
    border: 1px solid #FFB300;
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-checkout-cart:hover {
    background: #e6a200;
    border-color: #e6a200;
}

/* ==========================================================
   🌟 ULTRA PREMIUM FLOATING CART DRAWER & FONT FIX 🌟
   ========================================================== */

/* 1. Global Font Enforcer for Cart Drawer */
.cart-drawer, .cart-drawer * {
    font-family: 'Poppins', sans-serif !important;
}

/* 2. Floating & Curved Drawer Design (Desktop) */
.cart-drawer {
    height: calc(100vh - 40px) !important; /* Vertically thora chota */
    top: 20px !important; /* Upar se fasla */
    bottom: 20px !important; /* Neeche se fasla */
    border-radius: 24px 0 0 24px !important; /* Left edges curved */
    box-shadow: -10px 10px 40px rgba(0,0,0,0.15) !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 3. Mobile Specific Sizing (Not full screen horizontally/vertically) */
@media (max-width: 768px) {
    .cart-drawer {
        width: 85% !important; /* Horizontally aadhi screen se thora zyada */
        height: 80vh !important; /* Vertically screen se chota */
        top: 10vh !important; /* Screen ke center mein */
        bottom: auto !important;
        border-radius: 24px 0 0 24px !important; /* Left edges curved */
    }
}

/* 4. Fix "View Cart" Blue Hover Issue (Force Black & White) */
.btn-view-cart {
    background: #ffffff !important;
    color: #111111 !important;
    border: 2px solid #111111 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}
.btn-view-cart:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

/* 5. Checkout Button Font Styling */
.btn-checkout-cart {
    font-weight: 700 !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif !important;
}

/* 6. Clean Text Fixes */
.cart-total-wrap {
    font-family: 'Poppins', sans-serif !important;
}
.shipping-note {
    font-family: 'Poppins', sans-serif !important;
    color: #888 !important;
}

/* ==========================================================
   🛠️ FINAL CART DRAWER FIXES (ICONS, HOVER & MOBILE VIEW) 🛠️
   ========================================================== */

/* 1. Missing Icons Fix (FontAwesome Conflict Recovery) */
.cart-drawer i.fas, 
.cart-drawer i.far, 
.cart-drawer i.fab,
.close-cart i,
.cd-remove-btn i {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* 2. Stop Close Button from Spinning on Hover */
.close-cart {
    transition: color 0.3s ease !important; /* Only animate color */
}
.close-cart:hover {
    transform: none !important; /* NO SPINNING */
    color: #ef4444 !important; /* Red color on hover */
}

/* 3. Make Delete Icon Visible & Proper Size */
.cd-remove-btn {
    color: #94a3b8 !important;
}
.cd-remove-btn:hover {
    color: #ef4444 !important;
}

/* 4. Perfect Floating Mobile View (Centered, Visible, Proper Size) */
@media (max-width: 768px) {
    .cart-drawer {
        width: 90% !important;       /* Horizontally chota (90% screen) */
        height: 80vh !important;     /* Vertically chota (80% screen) */
        top: 50% !important;         /* Upar se middle mein */
        transform: translateY(-50%) !important; /* Perfectly center vertically */
        border-radius: 20px !important; /* Charon konay gol (Floating Look) */
        right: -100% !important;     /* Default hidden state */
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .cart-drawer.active {
        right: 5% !important;        /* Horizontally perfectly center (5% gap on both sides) */
    }
    
    .cart-items-wrapper {
        padding: 15px !important;
    }
    
    .cart-footer {
        padding: 15px !important;
    }
}

/* ==========================================================
   🛠️ HEADER MEGA MENU & HOME FIXES 🛠️
   ========================================================== */

/* 1. Mega Menu Clean 2-Column Design */
.has-mega-menu { position: relative; }
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 20px 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 550px; /* Space for 2 columns */
}
.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.mega-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-list ul li {
    margin-bottom: 12px;
}
.mega-list ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'Poppins', sans-serif;
}
.mega-list ul li a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.mega-list ul li a:hover {
    color: #FFB300;
}

/* Optional Custom Icon Colors for Dropdown */
.text-green { color: #10b981 !important; }
.text-blue { color: #3b82f6 !important; }
.text-dark { color: #0f172a !important; }
.text-gray { color: #64748b !important; }
.text-red { color: #ef4444 !important; }

/* 2. Write a Review Button Fix (Normal Font & Active Link Style) */
.btn-write-review {
    display: inline-block;
    background: #ffffff;
    color: #4285F4; /* Google Blue */
    border: 1px solid #4285F4;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.3s ease;
    text-transform: none !important; /* Removes uppercase if any */
}
.btn-write-review:hover {
    background: #4285F4;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

/* 3. FAQ Question Font Fix */
.accordion-header {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #0f172a !important;
    text-transform: none !important; /* Normal reading text */
}

/* ==========================================================
   🌟 MEGA MENU VERTICAL GRID FIX (DYNAMIC READY) 🌟
   ========================================================== */

/* Dropdown Container */
.has-mega-menu { position: relative; }
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 25px 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 650px; /* Thoda chora taake 2 columns easily fit hon */
}
.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 🚀 The Core Fix: Strict Vertical Grid Columns 🚀 */
.mega-menu-inner {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Hamesha 2 columns */
    gap: 15px 40px !important; /* Row aur Column ke darmiyan gap */
    align-items: start !important;
}

/* Reset any flex/ul defaults */
.mega-menu-inner ul, .mega-menu-inner li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

/* Link Styling */
.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 0;
    white-space: nowrap; /* Taa ke text toote nahi */
}
.mega-menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.mega-menu-item:hover {
    color: #FFB300;
    transform: translateX(5px); /* Hover par halka sa aage aaye */
}

/* ==========================================================
   🌟 MOBILE DRAWER PREMIUM FIXES & SCROLL 🌟
   ========================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 2001;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0,0,0,0.08);
    border-radius: 0 24px 24px 0 !important; /* Curved right corners */
    overflow-y: auto !important; /* 🔥 FIX: Scrollable categories */
}
.mobile-drawer.active {
    left: 0;
}

/* Sleek scrollbar for mobile menu */
.mobile-drawer::-webkit-scrollbar { width: 4px; }
.mobile-drawer::-webkit-scrollbar-thumb { background: #FFB300; border-radius: 10px; }

.drawer-header {
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fbfbfc;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0 24px 0 0;
}
.drawer-links {
    padding: 15px 20px;
}
.drawer-links li a {
    display: block;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
    transition: 0.3s;
}
.drawer-links li a:hover {
    color: #FFB300;
    padding-left: 5px;
}
#dynMobileCatMenu {
    background: #f8fafc;
    border-radius: 8px;
    padding: 5px 15px;
    margin-top: 5px;
}

/* ==========================================================
   🛠️ MOBILE DRAWER SCROLLBAR EDGE FIX 🛠️
   ========================================================== */
/* اسکرول بار کو گول کونوں کے اوپر جانے سے روکے گا */
.mobile-drawer::-webkit-scrollbar-track {
    margin-top: 25px !important;    /* ٹاپ کے گول کونے سے نیچے رکھے گا */
    margin-bottom: 25px !important; /* باٹم کے گول کونے سے اوپر رکھے گا */
    background: transparent !important;
}

/* ==========================================================
   PRODUCT DETAIL PAGE (PREMIUM DARAZ FLAGSHIP STYLE)
   ========================================================== */
.pro-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; margin-bottom: 40px;}

/* ---------------- LEFT GALLERY ---------------- */
.pro-gallery { width: 100%; position: sticky; top: 120px;}
.main-img-box { position: relative; background: #fafafa; border: 1px solid #f1f5f9; border-radius: 12px; padding: 40px 20px; text-align: center; margin-bottom: 15px;}
.main-img-box img { width: 100%; max-height: 450px; min-height: 400px; object-fit: contain; mix-blend-mode: multiply; transition: 0.3s;}
.pro-badge { position: absolute; top: 15px; left: 15px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.5px; z-index: 2;}

.thumb-slider { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none;}
.thumb-slider::-webkit-scrollbar { display: none; }
.thumb-box { width: 70px; height: 70px; border: 1px solid #ddd; background: #fff; border-radius: 8px; padding: 5px; cursor: pointer; flex-shrink: 0; transition: 0.3s;}
.thumb-box img { width: 100%; height: 100%; object-fit: contain;}
.thumb-box:hover, .thumb-box.active { border-color: var(--primary-black); border-width: 2px;}

/* ---------------- RIGHT INFO ---------------- */
.pro-info { padding-top: 0; }
.pro-id { font-size: 11px; color: #94a3b8; font-weight: 600; margin-bottom: 5px; text-transform: uppercase;}
.pro-title { font-size: 26px; font-weight: 800; color: var(--primary-black); line-height: 1.3; margin-bottom: 15px;}
.pro-subtitle { font-size: 14px; color: #475569; margin-bottom: 20px; line-height: 1.6;}

.pro-pricing { display: flex; align-items: center; gap: 15px; margin-bottom: 25px;}
.pro-pricing del { font-size: 18px; color: #94a3b8; font-weight: 500;}
.pro-pricing strong { font-size: 32px; font-weight: 800; color: var(--primary-yellow); }

/* Color Options */
.pro-colors { margin-bottom: 25px; }
.pro-colors p { font-size: 14px; font-weight: 700; color: var(--primary-black); margin-bottom: 10px;}
.color-options { display: flex; gap: 10px; flex-wrap: wrap;}
.color-btn { background: #fff; border: 1px solid #ddd; padding: 8px 25px; font-size: 13px; font-weight: 600; border-radius: 4px; cursor: pointer; transition: 0.3s; color: var(--primary-black);}
.color-btn:hover { border-color: var(--primary-black); }
.color-btn.active { border-color: var(--primary-black); background: var(--primary-black); color: var(--white);}

/* Action Row (Buttons) */
.pro-actions-row { display: flex; gap: 15px; align-items: stretch; margin-bottom: 30px; flex-wrap: wrap;}
.pro-qty { display: flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; height: 48px; width: 120px; flex-shrink: 0; background: #fff;}
.pro-qty button { background: #fafafa; border: none; width: 35px; font-size: 18px; font-weight: 500; cursor: pointer; color: var(--primary-black); transition: 0.2s;}
.pro-qty button:hover { background: #eee; }
.pro-qty input { width: 50px; border: none; text-align: center; font-size: 15px; font-weight: 700; outline: none; background: transparent; pointer-events: none;}

.btn-add-to-cart-pro { flex: 1; background: #222; color: #fff; border: none; height: 48px; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;}
.btn-add-to-cart-pro:hover { background: var(--primary-yellow); color: var(--primary-black);}
.btn-buy-now-pro { flex: 1; background: var(--primary-yellow); color: var(--primary-black); border: none; height: 48px; border-radius: 6px; font-size: 14px; font-weight: 800; cursor: pointer; transition: 0.3s; text-transform: uppercase;}
.btn-buy-now-pro:hover { background: #e5a100;}

/* Share & Tags */
.pro-share { display: flex; align-items: center; gap: 15px; font-size: 13px; font-weight: 600; color: var(--primary-black);}
.social-circles { display: flex; gap: 8px; }
.social-circles a { width: 30px; height: 30px; color: #fff; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 13px; transition: 0.3s;}
.social-circles a:hover { transform: translateY(-3px); }
.bg-fb { background: #3b5998; } .bg-tw { background: #1da1f2; } .bg-in { background: #0077b5; } .bg-wa { background: #25d366; }

.pro-tags { font-size: 13px; font-weight: 600; color: var(--primary-black);}
.text-green { color: #0F9D58;}

/* Warranty Policy Box */
.policy-warning-box { background: #fff5f5; border: 1px solid #fecaca; padding: 20px; border-radius: 8px; font-size: 12px; color: #dc2626; line-height: 1.6;}
.policy-warning-box strong { display: block; margin-bottom: 8px; font-size: 14px;}
.policy-warning-box ul { padding-left: 20px; list-style-type: disc;}
.policy-warning-box ul li { margin-bottom: 5px; }

/* 4 Trust Feature Grid */
.trust-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center;}
.t-feature { border: 1px solid #f1f5f9; padding: 20px 5px; border-radius: 8px; background: #ffffff; display: flex; flex-direction: column; align-items: center; transition: 0.3s;}
.t-feature:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-color: #e2e8f0;}
.t-feature span { display: block; font-size: 11px; font-weight: 600; color: var(--primary-black); line-height: 1.3;}

/* ==========================================================
   DARAZ STYLE DESCRIPTION & SPECS
   ========================================================== */
.daraz-container { max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 2px 10px rgba(0,0,0,0.02);}

.daraz-title-bar { background: #fafafa; padding: 15px 25px; font-size: 16px; font-weight: 700; color: var(--primary-black); border-bottom: 1px solid #e2e8f0; margin: 0;}
.daraz-content-box { padding: 30px 25px; }

.daraz-bullet-list { padding-left: 20px; margin-bottom: 20px; }
.daraz-bullet-list li { font-size: 14px; color: #333; line-height: 1.8; list-style-type: disc; margin-bottom: 5px;}
.daraz-divider { border: 0; border-top: 1px solid #eee; margin: 30px 0; }

.daraz-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spec-item { display: flex; flex-direction: column; }
.spec-label { font-size: 13px; color: #757575; margin-bottom: 4px;}
.spec-val { font-size: 14px; color: #212121; font-weight: 500;}

/* ==========================================================
   DARAZ STYLE REVIEWS SYSTEM
   ========================================================== */
.reviews-wrapper { max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 50px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.02);}

/* Rating Summary Header */
.rating-summary-top { display: flex; padding: 30px; border-bottom: 1px solid #eee; align-items: center; flex-wrap: wrap; gap: 40px;}
.rating-score-box { text-align: left; min-width: 150px;}
.huge-rating { font-size: 48px; font-weight: 500; color: #212121; line-height: 1; margin: 0;}
.max-score { font-size: 24px; color: #9e9e9e;}
.rating-score-box p { font-size: 13px; color: #757575; margin-top: 5px;}

.rating-progress-box { flex: 1; max-width: 350px;}
.progress-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px;}
.progress-row .stars { width: 75px; font-size: 11px; letter-spacing: 1px;}
.bar-bg { flex: 1; height: 10px; background: #f0f0f0; border-radius: 5px; overflow: hidden;}
.bar-fill { height: 100%; background: var(--primary-yellow); transition: width 0.5s ease;}
.bar-count { font-size: 12px; width: 30px; color: #757575;}

/* Reviews List */
.reviews-filter-bar { padding: 15px 30px; border-bottom: 1px solid #eee; font-size: 14px; color: #212121; display: flex; justify-content: space-between; background: #fafafa;}
.sort-filter { font-size: 13px; color: #757575;}

.daraz-review-item { padding: 25px 30px; border-bottom: 1px solid #eee; }
.daraz-review-item:last-child { border-bottom: none; }
.daraz-review-item .stars { font-size: 12px; margin-bottom: 5px; letter-spacing: 1px;}
.reviewer-name { font-size: 12px; color: #9e9e9e; margin-bottom: 15px;}
.review-text { font-size: 14px; color: #212121; line-height: 1.6; margin-bottom: 15px;}
.review-actions { display: flex; justify-content: space-between; align-items: center;}
.btn-like { background: none; border: none; color: #9e9e9e; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 5px;}
.btn-like:hover { color: var(--primary-yellow); }

/* Write Review Form (Compact inside Box) */
.write-review-form { padding: 30px; background: #fff; border-top: 1px solid #eee;}
.write-review-form h4 { font-size: 15px; font-weight: 700; margin-bottom: 15px; color: var(--primary-black);}
.rating-input { font-size: 12px; font-weight: 700; color: var(--primary-black); margin-bottom: 15px; display: flex; align-items: center; gap: 10px;}
.interactive-stars i { font-size: 18px; cursor: pointer; color: #e0e0e0; transition: 0.2s;}
.interactive-stars i.text-yellow { color: var(--primary-yellow); }
.interactive-stars i:hover { transform: scale(1.2); }

.compact-input { width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 12px 15px; font-family: 'Poppins', sans-serif; font-size: 13px; margin-bottom: 15px; outline: none; background: #fff; transition: 0.3s;}
.compact-input:focus { border-color: var(--primary-yellow); box-shadow: 0 0 0 2px rgba(255,179,0,0.1);}
.btn-submit-review { background: var(--primary-black); color: var(--primary-yellow); border: none; padding: 12px 30px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase;}
.btn-submit-review:hover { background: var(--hover-yellow); color: var(--primary-black);}

/* Mobile Responsive Details */
@media (max-width: 768px) {
    .pro-detail-layout { grid-template-columns: 1fr; gap: 20px;}
    .pro-gallery { position: static; }
    .pro-title { font-size: 22px; }
    .pro-pricing strong { font-size: 26px; }
    .pro-actions-row { flex-direction: column; align-items: stretch; gap: 10px;}
    .pro-qty { width: 100%; justify-content: space-between;}
    .trust-features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .rating-summary-top { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px;}
    .daraz-specs-grid { grid-template-columns: 1fr; gap: 15px;}
    .reviews-filter-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px 20px;}
    .daraz-review-item, .write-review-form { padding: 20px; }
}

/* ==========================================================
   QUANTITY BOX & PREMIUM BUTTONS
   ========================================================== */
.pro-actions-row { 
    display: flex; 
    gap: 15px; 
    align-items: stretch; 
    margin-bottom: 30px; 
    flex-wrap: wrap;
}

/* Quantity Box Styling */
.pro-qty { 
    display: flex; 
    border: 1px solid #d1d5db; 
    border-radius: 4px; /* Classic sharp corners */
    overflow: hidden; 
    height: 48px; 
    width: 120px; 
    flex-shrink: 0; 
    background: #fff;
}
.pro-qty button { 
    background: #f8fafc; 
    border: none; 
    width: 40px; 
    font-size: 20px; 
    font-weight: 500; 
    cursor: pointer; 
    color: var(--primary-black); 
    transition: 0.2s;
}
.pro-qty button:hover { 
    background: #e2e8f0; 
}
.pro-qty input { 
    width: 40px; 
    border: none; 
    text-align: center; 
    font-size: 16px; 
    font-weight: 600; 
    outline: none; 
    background: transparent; 
    pointer-events: none; /* User type nahi karega, sirf +/- use karega */
}

/* 🚀 HIDE DEFAULT NUMBER SPINNERS (UP/DOWN ARROWS) */
.pro-qty input[type=number]::-webkit-inner-spin-button, 
.pro-qty input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
.pro-qty input[type=number] {
    -moz-appearance: textfield; /* For Firefox */
}

/* Premium Add to Cart Button */
.btn-add-to-cart-pro { 
    flex: 1; 
    background: var(--primary-black); 
    color: var(--white); 
    border: none; 
    height: 48px; 
    border-radius: 4px; 
    font-size: 14px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
}
.btn-add-to-cart-pro:hover { 
    background: #333333; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    transform: translateY(-2px);
}

/* Premium Buy Now Button */
.btn-buy-now-pro { 
    flex: 1; 
    background: var(--primary-yellow); 
    color: var(--primary-black); 
    border: none; 
    height: 48px; 
    border-radius: 4px; 
    font-size: 14px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-transform: uppercase;
}
.btn-buy-now-pro:hover { 
    background: #e5a100; 
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3); 
    transform: translateY(-2px);
}

/* ==========================================================
   QUANTITY BOX & PREMIUM BUTTONS (FONT & MOBILE FIX)
   ========================================================== */
.pro-actions-row { 
    display: flex; 
    gap: 15px; 
    align-items: center; 
    margin-bottom: 30px; 
    flex-wrap: wrap;
}

/* Quantity Box Styling */
.pro-qty { 
    display: flex; 
    border: 1px solid #d1d5db; 
    border-radius: 4px; 
    overflow: hidden; 
    height: 45px; 
    width: 130px; 
    flex-shrink: 0; 
    background: #fff;
}
.pro-qty button { 
    background: #e2e8f0; 
    border: none; 
    width: 40px; 
    font-size: 20px; 
    font-weight: 500; 
    cursor: pointer; 
    color: var(--primary-black); 
    transition: 0.2s;
    font-family: 'Poppins', sans-serif !important;
}
.pro-qty button:hover { background: #cbd5e1; }
.pro-qty input { 
    width: 50px; 
    border: none; 
    border-left: 1px solid #d1d5db; 
    border-right: 1px solid #d1d5db; 
    text-align: center; 
    font-size: 16px; 
    font-weight: 700; 
    outline: none; 
    background: #fff; 
    color: var(--primary-black);
    font-family: 'Poppins', sans-serif !important;
    pointer-events: none;
}

/* Premium Buttons */
.btn-add-to-cart-pro { 
    flex: 1; 
    min-width: 180px;
    background: var(--primary-black); 
    color: var(--white); 
    border: none; 
    height: 45px; 
    border-radius: 4px; 
    font-size: 14px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    font-family: 'Poppins', sans-serif !important;
}
.btn-add-to-cart-pro:hover { background: #333; }

.btn-buy-now-pro { 
    flex: 1; 
    min-width: 180px;
    background: var(--primary-yellow); 
    color: var(--primary-black); 
    border: none; 
    height: 45px; 
    border-radius: 4px; 
    font-size: 14px; 
    font-weight: 800; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif !important;
}
.btn-buy-now-pro:hover { background: #e5a100; }

/* Stars Alignment Fix */
.stars { display: inline-flex; flex-wrap: nowrap; gap: 2px; white-space: nowrap;}
.rating-input i { font-size: 18px; }

.bg-gray { background: #e2e8f0 !important; }
.bg-gray:hover { background: #cbd5e1 !important; }

/* MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
    .pro-actions-row { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 12px; 
    }
    .pro-qty { 
        width: 100%; 
        justify-content: space-between; 
        height: 50px; 
    }
    .pro-qty button { width: 60px; }
    .pro-qty input { flex: 1; }
    .btn-add-to-cart-pro, .btn-buy-now-pro { 
        width: 100%; 
        min-width: unset; 
        height: 50px; 
    }
}

/* ==========================================================
   BUTTONS HORIZONTAL FIX & STARS FIX
   ========================================================== */
.action-btn-group {
    display: flex;
    gap: 15px;
    flex: 1;
    width: 100%;
}

.rating-input {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Roke ga content ko bahar jane se */
}

@media (max-width: 768px) {
    .pro-actions-row { 
        flex-direction: column; /* Qty upar, Buttons neechay */
        align-items: stretch;
    }
    .action-btn-group { 
        display: flex; 
        flex-direction: row; /* Buttons amne samne */
        gap: 10px; 
        width: 100%; 
    }
    .btn-add-to-cart-pro, .btn-buy-now-pro { 
        flex: 1; /* Dono 50% 50% width len ge */
        height: 48px; 
        font-size: 13px; /* Mobile ke liye font thora set kiya */
        min-width: unset; 
        padding: 0 5px;
    }
}

/* ==========================================================
   PRODUCT GALLERY THUMBNAILS (DARAZ STYLE)
   ========================================================== */
.thumb-slider { 
    display: flex; 
    gap: 12px; 
    overflow-x: auto; 
    padding: 5px 0; 
    scrollbar-width: none;
}
.thumb-slider::-webkit-scrollbar { 
    display: none; 
}

.thumb-box { 
    width: 65px; 
    height: 65px; 
    border: 1px solid #e2e8f0; /* Light grey border */
    background: #fff; 
    border-radius: 4px; /* Square look with slight curves */
    padding: 2px; 
    cursor: pointer; 
    flex-shrink: 0; 
    transition: 0.2s ease-in-out;
}

.thumb-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
}

.thumb-box:hover {
    border-color: #f97316; /* Daraz Orange on hover */
}

/* Selected/Active Image Style */
.thumb-box.active { 
    border: 2px solid #f97316; /* Daraz Orange solid border */
    padding: 1px; /* Padding kam ki taakay box ka size change na ho */
}   

/* ==========================================================
   PRODUCT GALLERY (MAIN IMAGE & THUMBNAILS)
   ========================================================== */
.pro-gallery { 
    width: 100%; 
    position: sticky; 
    top: 120px;
}

/* Main Image Box */
.main-img-box { 
    position: relative; 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 20px; 
    text-align: center; 
    margin-bottom: 15px; /* Ye space dega main image aur thumbnails ke beech */
}
.main-img-box img { 
    width: 100%; 
    max-height: 450px; 
    min-height: 350px; 
    object-fit: contain; 
    transition: 0.3s;
}
.pro-badge { 
    position: absolute; 
    top: 15px; 
    left: 15px; 
    background: #e10000; 
    color: #fff; 
    font-size: 13px; 
    font-weight: 700; 
    padding: 4px 10px; 
    border-radius: 6px; 
    z-index: 2;
}

/* Thumbnails Slider Box */
.thumb-slider { 
    display: flex; 
    gap: 12px; 
    overflow-x: auto; 
    padding-bottom: 8px; 
    scrollbar-width: thin; /* Firefox scrollbar */
}
.thumb-slider::-webkit-scrollbar { 
    height: 6px; 
}
.thumb-slider::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px; 
}

/* Single Thumbnail Box */
.thumb-box { 
    width: 75px; 
    height: 75px; 
    border: 1px solid #e2e8f0; 
    background: #fff; 
    border-radius: 8px; 
    padding: 4px; 
    cursor: pointer; 
    flex-shrink: 0; 
    transition: 0.2s ease-in-out;
}
.thumb-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
}
.thumb-box:hover {
    border-color: #94a3b8;
}

/* Active/Selected Thumbnail */
.thumb-box.active { 
    border: 2px solid #222222; /* Dark border when selected */
    padding: 3px; 
}

/* ==========================================================
   PRODUCT GALLERY (MAIN IMAGE & THUMBNAILS)
   ========================================================== */
.pro-gallery { width: 100%; position: sticky; top: 120px; }

/* Main Image Box */
.main-img-box { 
    position: relative; 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 20px; 
    text-align: center; 
    margin-bottom: 15px; /* Niche thumbnail ke liye space */
}
.main-img-box img { 
    width: 100%; 
    max-height: 450px; 
    min-height: 350px; 
    object-fit: contain; 
    transition: opacity 0.2s ease-in-out;
}
.pro-badge { 
    position: absolute; top: 15px; left: 15px; background: #e10000; color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; z-index: 2;
}

/* Thumbnails Slider Box */
.thumb-slider { 
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; 
}
.thumb-slider::-webkit-scrollbar { height: 6px; }
.thumb-slider::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* Single Thumbnail Box */
.thumb-box { 
    width: 70px; height: 70px; border: 1px solid #e2e8f0; background: #fff; border-radius: 8px; padding: 4px; cursor: pointer; flex-shrink: 0; transition: 0.2s ease-in-out;
}
.thumb-box img { width: 100%; height: 100%; object-fit: contain; }
.thumb-box:hover { border-color: #94a3b8; }

/* Active/Selected Thumbnail */
.thumb-box.active { 
    border: 2px solid #222222; /* Dark border when selected */
    padding: 3px; 
}

/* ==========================================================
   PRODUCT GALLERY (MAIN IMAGE & THUMBNAILS FIX)
   ========================================================== */
.pro-gallery { width: 100%; position: sticky; top: 120px; }

.main-img-box { 
    position: relative; background: #ffffff; border: 1px solid #e2e8f0; 
    border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 15px; 
}
.main-img-box img { 
    width: 100%; max-height: 450px; min-height: 350px; object-fit: contain; transition: 0.3s;
}

.thumb-slider { 
    display: flex !important; gap: 12px; overflow-x: auto; padding-bottom: 8px; 
}
.thumb-slider::-webkit-scrollbar { height: 6px; }
.thumb-slider::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.thumb-box { 
    width: 70px; height: 70px; border: 1px solid #e2e8f0; background: #fff; 
    border-radius: 8px; padding: 4px; cursor: pointer; flex-shrink: 0; transition: 0.2s;
}
.thumb-box img { width: 100%; height: 100%; object-fit: contain; }
.thumb-box:hover { border-color: #94a3b8; }
.thumb-box.active { border: 2px solid #222222; padding: 3px; }

/* MOBILE SCROLL FIX FOR GALLERY */
@media (max-width: 768px) {
    .pro-gallery { 
        position: relative !important; 
        top: 0 !important; 
    }
}

/* ==========================================================
   CUSTOM TOAST NOTIFICATION (COPY LINK)
   ========================================================== */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #212121;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif;
}
.custom-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.custom-toast i {
    color: #10b981; /* Green Check Mark */
    font-size: 20px;
}

/* ==========================================================
   CUSTOM TOAST NOTIFICATION (COPY LINK)
   ========================================================== */
.custom-toast {
    position: fixed; bottom: 30px; right: 30px;
    background: #212121; color: #ffffff;
    padding: 15px 25px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 12px;
    z-index: 99999; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif;
}
.custom-toast.show { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-toast i { color: #10b981; font-size: 20px; }

/* ==========================================================
   🛠️ FINAL FIXES: EYE ICON INSIDE BOX & HEADER ALIGNMENT
   ========================================================== */

/* 1. Eye Icon Strictly Inside Text Box */
.input-icon-wrap {
    position: relative !important;
    width: 100% !important;
}
.input-icon-wrap input {
    width: 100% !important;
    padding-right: 45px !important; /* Text को Eye आइकॉन के नीचे जाने से रोकेगा */
    box-sizing: border-box !important;
}
.btn-toggle-pass {
    position: absolute !important;
    right: 12px !important; /* बॉक्स के बॉर्डर के बिल्कुल अंदर फिक्स करेगा */
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-toggle-pass:hover {
    color: #111111 !important;
}

/* 2. Fix Double Cart Icons & Header Alignment (Desktop vs Mobile) */
/* Desktop View: फालतू मोबाइल आइकॉन छुप जाएंगे */
.hide-desktop {
    display: none !important;
}
.hide-mobile {
    display: flex !important;
}

/* Mobile View: डेस्कटॉप वाले छुपेंगे और मोबाइल वाले दिखेंगे */
@media (max-width: 1024px) {
    .hide-desktop {
        display: flex !important; 
    }
    .hide-mobile {
        display: none !important; 
    }
}

/* हेडर को परफेक्ट लेफ्ट-राइट अलाइन करेगा */
.header-middle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* ==========================================================
   🛠️ FINAL NAVBAR & HEADER ALIGNMENT FIX
   ========================================================== */

/* 1. Header Middle Layout (Logo left, Contact/Auth right) */
.header-middle.container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

/* 2. Header Bottom Layout (Menu left, Search/Socials right) */
.header-bottom-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

/* 3. Navigation Left & Right Separation */
.nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    flex-grow: 1 !important;
}

.nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-shrink: 0 !important;
}

/* 4. Search Bar Alignment */
.nav-search {
    display: flex !important;
    background: #f4f4f4 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    width: 240px !important;
    height: 40px !important;
}

/* ================= USER LOGGED-IN DROPDOWN ================= */
.user-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: #f1f5f9;
    color: #FFB300;
}

.user-dropdown-menu {
    position: absolute;
    top: 130%;
    right: 0;
    background: #ffffff;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin: 0;
}

/* Hover effect to show the menu smoothly */
.user-dropdown-wrap:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%; 
}

.user-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-dropdown-menu li a i {
    width: 16px;
    text-align: center;
    color: #94a3b8;
    transition: 0.2s;
}

.user-dropdown-menu li a:hover {
    background: #f8fafc;
    color: #FFB300;
    padding-left: 25px; /* Thوڑا سا آگے کھسکنے والا اینیمیشن */
}

.user-dropdown-menu li a:hover i {
    color: #FFB300;
}

/* Global Dashboard & Button Polish */
button, input, select { font-family: 'Poppins', sans-serif !important; }
.btn-auth-submit, .btn-place-order, .btn-dash { font-family: 'Poppins', sans-serif !important; letter-spacing: 0.5px; }

/* Responsive Mobile Fixes */
@media(max-width: 600px) {
    .dash-container { padding: 10px; }
    .dash-content { padding: 15px; }
    .table-responsive { overflow-x: auto; }
}

.user-btn { display: inline-flex !important; align-items: center; gap: 6px; }
#userNameDisplay { font-size: 13px; font-weight: 600; color: #111; }

/* ==========================================================
   🌟 PIN-POINT MOBILE FIX (PRODUCTS 2-GRID, SLIDERS INTACT) 🌟
   ========================================================== */

/* 1. Desktop box styling reset (Agar poori site ko box nahi karna tha) */
body {
    max-width: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    
    /* 2. Sirf Product Grids (Shop, Category, Search results) ko 2 columns karen */
    .product-grid, 
    .shop-grid,
    #mainProductGrid, 
    #dealsProductGrid, 
    #newProductsGrid, 
    #categoryProductGrid, 
    #relatedProductsGrid { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* 3. Horizontal Sliders (Trending, New Arrivals, Categories) ko hargiz wrap na karen - wo side-by-side rahen */
    .horizontal-track, 
    .cat-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 12px !important;
    }

    /* Slider items ki fixed width taake wo toot kar niche na ayen */
    .horizontal-track .product-card-wrap {
        min-width: 160px !important;
        max-width: 160px !important;
        flex: 0 0 160px !important;
    }

    .cat-slide-card {
        min-width: 140px !important;
        max-width: 140px !important;
        flex: 0 0 140px !important;
    }

    /* 4. Product Image Zoom-in & Size Fix (Images ko bilkul fit rakhega) */
    .product-card .img-wrap {
        height: 125px !important;
        padding: 5px !important;
        background: #fff !important;
    }
    
    .product-card .img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important; /* Zoom-in khatam, image poori dikhegi */
        transform: none !important;
    }

    /* 5. Slider Arrows ko mobile par theek jagah rakhna */
    .slider-arrow {
        display: flex !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================
   🌟 FINAL PIN-POINT MOBILE FIX: 2 PRODUCTS FIT & ARROWS CLEAN 🌟
   ========================================================== */
@media (max-width: 768px) {
    
    /* 1. Mobile par har horizontal slider mein 2 items bilkul fit aur barabar aayein */
    .horizontal-track .product-card-wrap {
        min-width: calc(50vw - 22px) !important;
        max-width: calc(50vw - 22px) !important;
        flex: 0 0 calc(50vw - 22px) !important;
    }

    .cat-slide-card {
        min-width: calc(50vw - 22px) !important;
        max-width: calc(50vw - 22px) !important;
        flex: 0 0 calc(50vw - 22px) !important;
    }

    /* 2. Slider ke arrows ko card ke upar aane se rokna aur thoda side par karna */
    .slider-arrow.left {
        left: -5px !important;
        z-index: 10 !important;
    }
    .slider-arrow.right {
        right: -5px !important;
        z-index: 10 !important;
    }

    /* 3. Product card ke text aur padding ko mobile ke liye compact karna */
    .product-card {
        padding: 8px !important;
    }
    
    .product-card .prod-title {
        font-size: 11px !important;
        height: 30px !important;
        white-space: normal !important; /* Text ko wrap hone dega taake lamba na ho */
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* 4. Category card image aur text box ko clean karna */
    .cat-slide-card .hover-lift {
        height: 180px !important; /* Mobile par category card ki height adjust */
    }
}

/* ==========================================================
   🌟 TESTIMONIALS & REVIEWS MOBILE FIX 🌟
   ========================================================== */
@media (max-width: 768px) {
    
    /* 1. Testimonials layout ko vertical stack karna taake box aur scrolling card theek dikhein */
    .testimonials-layout {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 2. Google review static box ko full width karna mobile par */
    .static-review-box {
        min-width: 100% !important;
        width: 100% !important;
        padding: 20px !important;
    }

    /* 3. Scrolling reviews track ko mobile screen ke mutabiq fit karna */
    .scrolling-reviews-container {
        width: 100% !important;
        padding: 0 !important;
    }

    .scrolling-reviews-container .horizontal-track {
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding: 5px 0 !important;
    }

    /* 4. Review card ki width mobile par 85% rakhna taake pehla card dikhe aur doosرا thoda nazar aaye */
    .user-review-card-wrap,
    .scrolling-reviews-container .product-card-wrap {
        min-width: 270px !important;
        max-width: 270px !important;
        flex: 0 0 270px !important;
    }

    .user-review-card {
        padding: 18px !important;
        border-radius: 12px !important;
    }

    /* 5. Review arrows adjustment */
    .scrolling-reviews-container .slider-arrow.left {
        left: -2px !important;
    }
    .scrolling-reviews-container .slider-arrow.right {
        right: -2px !important;
    }
}

/* ==========================================================
   🌟 TESTIMONIALS SNAP SCROLL: 1 CARD FULL VIEW AT A TIME 🌟
   ========================================================== */
@media (max-width: 768px) {
    
    /* 1. Testimonial track ko snap scroll banana */
    .scrolling-reviews-container .horizontal-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 5px 0 !important;
    }

    /* 2. Har review card ki width exact screen ke barabar karna taake poora 1 card fit aaye */
    .scrolling-reviews-container .user-review-card-wrap,
    .scrolling-reviews-container .product-card-wrap {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        scroll-snap-align: center !important;
    }

    /* 3. Review card padding set karna taake text bahar na nikle */
    .user-review-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================
   🌟 CART DRAWER ITEM ALIGNMENT & SPACING FIX 🌟
   ========================================================== */

/* 1. Cart Item Box Layout ko Behtar banana */
.cart-drawer-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
    position: relative !important;
}

/* 2. Text info area ko proper space dena */
.cd-info {
    flex: 1 !important;
    padding-right: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* 3. Title spacing */
.cd-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
}

/* 4. Color / Variant text */
.cd-color {
    font-size: 11px !important;
    color: #64748b !important;
    margin-bottom: 8px !important;
}

/* 5. 🌟 PRICE & QUANTITY CONTROLS ROW (CHIPKNE KA MASLA HAL) 🌟 */
.cd-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 4px !important;
}

/* Price ko ek hi line mein rakhna taake Rs aur Amount na chipkein */
.cd-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important; /* Rs aur 8,999 ko tootne nahi dega */
}

/* 6. Quantity controller styling */
.cd-qty-ctrl {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    height: 30px !important;
    flex-shrink: 0 !important;
}

.cd-qty-ctrl button {
    background: transparent !important;
    border: none !important;
    width: 26px !important;
    height: 100% !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    color: #0f172a !important;
}

.cd-qty-ctrl input {
    width: 28px !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f1f5f9 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    color: #0f172a !important;
    padding: 0 !important;
    outline: none !important;
    background: transparent !important;
}

/* 7. Delete/Trash icon positioning */
.cd-remove-btn {
    position: absolute !important;
    right: 10px !important;
    top: 12px !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    padding: 0 !important;
}
.cd-remove-btn:hover {
    color: #ef4444 !important;
}

/* ==========================================================
   🌟 FINAL BULLET-PROOF CART ITEM & DELETE ICON FIX 🌟
   ========================================================== */

/* 1. Cart Item Box ko normal Flex banana aur padding dena taake icon ke liye jagah bane */
.cart-drawer-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 35px 12px 12px !important; /* Right side par 35px extra jagah chhori hai taake icon andar rahe */
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* 2. Image box */
.cd-img {
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.cd-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* 3. Text and Details wrapper */
.cd-info {
    flex: 1 !important;
    min-width: 0 !important; /* Text ko box se bahar jane se rotega */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.cd-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin: 0 0 3px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.cd-color {
    font-size: 11px !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
}

.cd-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: 2px !important;
}

.cd-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
}

/* 4. Quantity Controller */
.cd-qty-ctrl {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    height: 28px !important;
}

.cd-qty-ctrl button {
    background: transparent !important;
    border: none !important;
    width: 24px !important;
    height: 100% !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    color: #0f172a !important;
}

.cd-qty-ctrl input {
    width: 26px !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f1f5f9 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    color: #0f172a !important;
    padding: 0 !important;
    outline: none !important;
    background: transparent !important;
}

/* 5. 🌟 DELETE ICON BILKUL BOX KE ANDAR RIGHT SIDE PAR FIX 🌟 */
.cd-remove-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    z-index: 5 !important;
}

.cd-remove-btn:hover {
    color: #ef4444 !important;
}

/* ==========================================================
   🌟 CART ITEM DELETE ICON: EXACT TOP RIGHT CORNER FIX 🌟
   ========================================================== */
.cart-drawer-item {
    position: relative !important;
    padding-top: 20px !important;     /* Upar thodi jagah di hai taake icon top border ke sath na chipke */
    padding-right: 35px !important;   /* Right par jagah di hai taake icon andar rahe */
}

.cd-remove-btn {
    position: absolute !important;
    top: 10px !important;             /* بالکل اوپر */
    right: 12px !important;           /* بالکل دائیں کونے میں */
    bottom: auto !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
    z-index: 5 !important;
}

.cd-remove-btn:hover {
    color: #ef4444 !important;
}

/* ==========================================================
   🌟 TRUST BADGES: CENTER ALIGN ONLY (NO FONT/SIZE CHANGE) 🌟
   ========================================================== */

.trust-badges { 
    display: grid !important; 
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 20px !important; 
}

.badge-card { 
    display: flex !important; 
    flex-direction: column !important; 
    align-items: center !important;    /* Item ko center mein laya */
    text-align: center !important;     /* Text ko center kiya */
    padding: 15px 20px !important;
}

.badge-card .icon-wrap {
    margin-left: auto !important;
    margin-right: auto !important;     /* Icon ko center kiya */
    margin-bottom: 10px !important;
}

/* Mobile responsive fix for badge centering */
@media (max-width: 768px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* Welcome Heading Center Align Fix */
#dynWelcomeText {
    text-align: center !important;
}

/* ==========================================================
   🌟 HERO BANNER HEIGHT & PROPER ASPECT RATIO FIX 🌟
   ========================================================== */
.hero-slider-wrapper {
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: transparent !important;
}

.hero-banner-img {
    width: 100% !important;
    height: 420px !important;        /* Desktop par banner ki proper khubsurat height */
    max-height: 420px !important;
    object-fit: cover !important;     /* Image ko stretch hone se bachayega aur poori width cover karega */
    border-radius: 16px !important;
    display: block !important;
}

/* Mobile screen ke liye banner ki height adjust */
@media (max-width: 768px) {
    .hero-banner-img {
        height: 210px !important;     /* Mobile par bilkul fit height */
        max-height: 210px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }
}

/* ==========================================================
   🌟 HERO BANNER PERFECT FIT (NO ZOOM-IN / NO CUTTING) 🌟
   ========================================================== */
.hero-slider-wrapper img, 
.hero-track img, 
#heroImg1 {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important; /* Image ko zoom-in hone se rotega aur poori dikhayega */
    background-color: #000000 !important; /* Agar side ya upar/neeche jagah bache gi toh black clean background rahega */
    border-radius: 15px !important;
    display: block !important;
}

/* ==========================================================
   🌟 PROFESSIONAL BACKGROUND BANNER FIX 🌟
   ========================================================== */
#heroBannerBox {
    width: 100% !important;
    height: 380px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    #heroBannerBox {
        height: 190px !important; /* Mobile par perfect height */
        border-radius: 10px !important;
    }
}

/* ==========================================================
   🌟 BALANCED WELCOME HEADING SIZE FIX 🌟
   ========================================================== */
.welcome-title, 
#dynWelcomeText, 
.welcome-heading {
    font-size: 26px !important;       /* Desktop par bilkul standard aur pyara size */
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center !important;
    line-height: 1.3 !important;
    margin: 20px 0 !important;
    padding: 0 10px !important;
}

/* Mobile screen ke liye balanced size jo chota bhi na ho aur buray tareeqay se tute bhi na */
@media (max-width: 768px) {
    .welcome-title, 
    #dynWelcomeText, 
    .welcome-heading {
        font-size: 19px !important;   /* Mobile par ekdam readable aur fit size */
    }
}

@media (max-width: 1024px) {
    .cart-main-table td.col-details {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-top: 1px solid #f1f5f9 !important;
        margin-top: 8px !important;
        padding-top: 10px !important;
        font-size: 13px !important;
        color: #64748b !important;
        text-align: left !important;
    }
    .cart-main-table td.col-details .detail-label {
        font-weight: 500;
        color: #64748b;
    }
    .cart-main-table td.col-details .detail-val {
        font-weight: 600;
        color: #0f172a !important;
    }
}

/* ==========================================================
   🌟 MOBILE VIEW FIXES: PROMO BAR, HERO BANNER & CATEGORIES 🌟
   ========================================================== */

/* 1. Top Promo Bar Overflow & Wrapping Fix */
.top-promo-bar {
    width: 100% !important;
    overflow: hidden !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    background: #000 !important;
}

.top-promo-bar .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

#dynPromoText {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #FFB300 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    display: block !important;
    text-align: center !important;
}

/* 2. Explore All Categories Text Size Compact */
.cat-slide-card .premium-card h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

.cat-slide-card .premium-card span {
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* 3. Hero Section Mobile Optimization */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 10px !important;
        padding: 0 10px !important;
    }

    .hero-slider-wrapper {
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #000 !important;
    }

    #heroImg1 {
        width: 100% !important;
        height: auto !important;
        max-height: 220px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 12px !important;
        display: block !important;
    }

    .cat-slide-card {
        min-width: 170px !important;
        max-width: 170px !important;
    }

    .cat-slide-card .premium-card {
        height: 210px !important;
    }
}

/* ==========================================================================
   🌟 ULTIMATE RESPONSIVE & ANTI-ZOOM IN FIX (MOBILE -> TABLET -> DESKTOP) 🌟
   ========================================================================== */

/* 1. Global Viewport & Container Scale Lock */
*, *::before, *::after {
    box-sizing: border-box !important;
}

html {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    font-size: 16px !important;
    overflow-x: hidden !important;
}

body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Container Strict Responsive Constraints */
.container {
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 3. Top Promo Bar Wrap & Fit */
.top-promo-bar {
    width: 100% !important;
    overflow: hidden !important;
    padding: 8px 12px !important;
    background: #000 !important;
}

#dynPromoText {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    display: block !important;
    text-align: center !important;
    color: #FFB300 !important;
}

/* 4. Hero Section Proportional Scaling */
.hero-section {
    width: 100% !important;
}

.hero-slider-wrapper {
    width: 100% !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

#heroImg1 {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 15px !important;
}

/* 5. Horizontal Slider & Track Responsive Scaling */
.horizontal-slider-wrap,
.cat-slider-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.horizontal-track,
.cat-track {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 6. Explore Categories Text & Card Size */
.cat-slide-card {
    min-width: 180px !important;
    max-width: 220px !important;
}

.cat-slide-card .premium-card {
    height: 220px !important;
}

.cat-slide-card .premium-card h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

.cat-slide-card .premium-card span {
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* 7. Product Cards Fluid Width */
.horizontal-track .product-card-wrap {
    min-width: 220px !important;
    max-width: 260px !important;
    flex-shrink: 0 !important;
}

/* 8. Trust Badges & Feature Grids */
.trust-badges {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}

/* ==========================================================================
   TABLET RESPONSIVE VIEW (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .testimonials-layout {
        flex-direction: column !important;
    }

    .static-review-box {
        width: 100% !important;
        min-width: 100% !important;
    }

    #heroImg1 {
        max-height: 380px !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE VIEW (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .welcome-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .section-title {
        font-size: 20px !important;
    }

    .trust-badges {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #heroImg1 {
        max-height: 220px !important;
    }

    .horizontal-track .product-card-wrap {
        min-width: 180px !important;
        max-width: 200px !important;
    }

    .cat-slide-card {
        min-width: 150px !important;
        max-width: 170px !important;
    }

    .cat-slide-card .premium-card {
        height: 190px !important;
    }

    .cat-slide-card .premium-card h3 {
        font-size: 13px !important;
    }
}

/* 🌟 HERO BANNER NO-ZOOM / FULL-VIEW FIX 🌟 */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 10px !important;
        padding: 0 10px !important;
    }

    .hero-slider-wrapper,
    .hero-track {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    #heroImg1 {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important; /* 👈 Kisi bhi height par lock nahi karega */
        object-fit: contain !important; /* 👈 Zoom in aur crop bilkul khatam */
        display: block !important;
        border-radius: 12px !important;
    }
}

/* ==========================================================
   🌟 TESTIMONIALS CENTER ALIGN & 1-BY-1 REVIEW MOBILE FIX 🌟
   ========================================================== */

/* 1. Static Google Box Stars Center Alignment */
.static-review-box .stars {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 10px auto 0 auto !important;
    text-align: center !important;
}

/* 2. Reviews Track & Slider Arrows Fix */
.scrolling-reviews-container {
    width: 100% !important;
    padding: 0 !important;
    position: relative !important;
}

#reviewsTrack {
    scroll-snap-type: x mandatory !important;
    display: flex !important;
    gap: 15px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
}

/* 3. Mobile par Sirf 1 Review Card Dikhana (100% Width) */
@media (max-width: 768px) {
    #reviewsTrack .product-card-wrap {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        scroll-snap-align: center !important;
        padding: 0 5px !important;
        box-sizing: border-box !important;
    }

    .user-review-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Arrows positioning on mobile */
    .scrolling-reviews-container .slider-arrow {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    }
    .scrolling-reviews-container .slider-arrow.left {
        left: -8px !important;
    }
    .scrolling-reviews-container .slider-arrow.right {
        right: -8px !important;
    }
}