/* ===== GLOBAL BODY SETUP ===== */ body { margin: 0; padding-top: 40px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #FFFFFF; overflow-x: hidden !important; } /* ===== NAVBAR STYLING ===== */ .navbar { position: fixed; top: 0; left: 0px; height: 80px; width: 100%; overflow: visible; background: #ffffff; z-index: 1000; } .nav-container { height: 100%; max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; } .logo img { height: 155px; margin-left: -80px; width: auto; object-fit: contain; } .search-box { display: flex; width: 40%; min-width: 250px; margin-left: -150px; } .search-box input { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-right: 0; border-radius: 5px 0 0 5px; font-size: 14px; } .search-box button { padding: 8px 15px; border: none; background: #0066cc; color: white; border-radius: 0 5px 5px 0; cursor: pointer; font-size: 14px; } .phone-btn { background: #0066cc; padding: 10px 18px; color: white; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; margin-left: -150px; } /* ===================================== NAVBAR RESPONSIVE ===================================== */ /* ======== 768px BELOW (Tablet + Mobile) ======== */ @media (max-width: 768px) { /* NAVBAR */ .navbar { height: 70px; width: 100%; } .nav-container { padding: 0 10px; gap: 8px; } .logo img { height: 85px; margin-left: -10px; } .search-box { width: 55%; margin-left: 0; } .search-box input { font-size: 13px; padding: 7px 10px; } .search-box button { font-size: 12px; padding: 7px 12px; } .phone-btn { padding: 7px 12px; font-size: 12px; margin-left: 0; white-space: nowrap; } } /* ======== 480px BELOW (Small Mobile) ======== */ @media (max-width: 480px) { /* ONLY EXTRA OVERRIDES — NO DUPLICATES */ .navbar { height: 58px !important; } .nav-container { padding: 0 5px !important; gap: 5px !important; } .logo img { height: 40px !important; margin-left: 0 !important; } .search-box { width: 95px !important; min-width: 95px !important; margin: 0 !important; padding: 0 !important; } .search-box input { padding: 3px 4px !important; font-size: 9.5px !important; } .search-box button { padding: 3px 5px !important; font-size: 9px !important; } .phone-btn { padding: 4px 5px !important; font-size: 9.5px !important; margin-right: 15px !important; } } /* ===== MAIN SLIDER STYLES ===== */ .image-card { width: 99%; margin-left: 5px; height: 47vh; margin-top: 30px; position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); background: #fff; } .image-card .slides { width: 100%; height: 100%; position: relative; } .image-card .slide { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0px 5px; border-radius: 10px; object-fit: contain; opacity: 0; transition: opacity 800ms ease; /* pointer-events: none; */ } .image-card .slide.active { opacity: 1; /* pointer-events: auto; */ } .image-card .controls { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 1px; gap: 8px; pointer-events: none; } .image-card .controls button { pointer-events: auto; background: rgba(255, 255, 255, 0.7); border: none; font-size: 22px; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); } .image-card .controls button:hover { transform: scale(1.03); } .image-card .indicators { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; } .image-card .indicators button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.6); cursor: pointer; padding: 0; } .image-card .indicators button.active { transform: scale(1.35); background: rgba(255, 255, 255, 0.95); } /* ===================================== MAIN SLIDER RESPONSIVE ===================================== */ /* 992px ↓ */ @media (max-width: 992px) { .image-card { height: 40vh; } } /* 768px ↓ */ @media (max-width: 768px) { .image-card { height: 30vh; } } /* 576px ↓ */ @media (max-width: 576px) { .image-card { height: 26vh; } } /* 640px ↓ (existing) */ @media (max-width: 640px) { .image-card { height: 10vh; } } /* ===== TOP CATEGORY CARDS STYLES ===== */ .products-row { display: flex; gap: 20px; overflow-x: auto; white-space: nowrap; padding: 20px; scroll-behavior: smooth; justify-content: center; } .products-row a { text-decoration: none !important; } .product-card { flex: 0 0 80px; height: 110px; /* display: inline-block; */ background: #ECF1FC; border-radius: 8px; box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1); padding: 8px 20px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease; display: flex; flex-direction: column; justify-content: center; align-items: center; } .product-card:hover { box-shadow: 0px 1px 5px #9b9292; transform: scale(1.0); cursor: pointer; } .product-img { /* width: 100%; */ /* margin: auto; */ width: 70px; height: 70px; display: flex; justify-content: center; align-items: center; } .product-img img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; display: block !important; } .products-row::-webkit-scrollbar { display: none; } .product-name { /* margin-bottom: 8px; */ height: 60px; font-size: 12px; font-weight: 600; color: #333; } /* ===================================== TOP CATEGORY RESPONSIVE ===================================== */ /* 992px ↓ */ @media (max-width: 992px) { .products-row { justify-content: flex-start; padding-left: 20px; gap: 18px; } .product-card { flex: 0 0 22%; height: 120px; } } /* 768px ↓ */ @media (max-width: 768px) { .products-row { padding-left: 16px; gap: 16px; } .product-card { flex: 0 0 28%; } .product-img { width: 55px; height: 55px; } } /* 576px ↓ */ @media (max-width: 576px) { .products-row { padding-left: 14px; gap: 14px; } .product-card { flex: 0 0 45%; height: 115px; } .product-img { width: 50px; height: 50px; } } /* 420px ↓ */ @media (max-width: 420px) { .product-card { flex: 0 0 48%; } .product-img { width: 45px; height: 45px; } } /* 360px ↓ */ @media (max-width: 360px) { .product-card { flex: 0 0 48%; } } /* Newly Launched */ /* PRODUCT ROW SLIDER BUTTONS */ .product-slider-container { position: relative; width: 100%; } .p-slide-btn { position: absolute; top: 50%; transform: translateY(-50%); background: white; border: none; width: 40px; height: 40px; font-size: 24px; border-radius: 50%; box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); cursor: pointer; z-index: 10; } .p-slide-btn:hover { transform: translateY(-50%) scale(1.1); } .p-slide-btn.left { left: 5px; } .p-slide-btn.right { right: 5px; } /* Title */ .section-title { margin-left: 30px; margin-top: 15px; margin-bottom: -20px; } .section-title h2 { font-size: 22px; font-weight: 600; color: #333; } /* Cards-Sections */ .product-row { display: flex; gap: 26px; overflow-x: auto; padding: 30px; } .product-row::-webkit-scrollbar { display: none; } .product-row::-webkit-scrollbar-tumb { background: #ccc; border-radius: 10px; } /* ===== PRODUCT SLIDER CARD STYLES ===== */ .p-card { min-width: 150px ; max-width: 170px ; background: #ffffff; border: 1px solid #eee; border-radius: 10px; padding: 8px 15px; box-shadow: 0 0 0 rgba(0, 0, 0, 0); transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; height: 320px !important; display: flex; flex-direction: column; justify-content: space-between; } .p-card:hover { transform: scale(1.0); box-shadow: 0px 1px 3px rgb(135, 134, 134); cursor: pointer; } .p-card * { pointer-events: none; } .p-card .add-btn { pointer-events: auto; } .p-img { width: 100%; height: 160px; /* FIXED SIZE BOX for all images */ border-radius: 8px; background: #ffffff; overflow: hidden; display: flex; align-items: center; justify-content: center; } .p-img img { width: 100%; height: 100%; object-fit: contain; /* Image बिना कटे बराबर दिखेगी */ object-position: center; display: block; } /* Mobile में थोड़ा छोटा box */ @media (max-width: 480px) { .p-img { height: 130px; } } .p-card h3 { font-size: 14px; margin: 8px 0; height: 30px; font-weight: 500; } .price { font-size: 14px; font-weight: 400; } .add-btn { width: 100%; padding: 10px; margin-top: 20px; font-size: 14px; font-weight: bold; background: #1e4ed8; color: #fff; border: none; border-radius: 6px; cursor: pointer; } .product-slider-container { overflow: hidden; } /* ===================================== PRODUCT SLIDER CARD RESPONSIVE (FIXED) ===================================== */ /* DEFAULT FIX — prevent page expanding */ .product-slider { display: flex; gap: 12px; /* default gap */ overflow-x: auto; padding: 5px 0; scroll-snap-type: x mandatory; } .p-card { flex: 0 0 auto; /* important: no expand */ scroll-snap-align: start; border-radius: 8px; } /* 992px ↓ */ @media (max-width: 992px) { .p-img { height: 130px; } .p-card { min-width: 160px; } .product-slider { gap: 12px; } } /* 768px ↓ */ @media (max-width: 768px) { .p-img { height: 120px; } .p-card { min-width: 150px; } .product-slider { gap: 10px; } } /* 576px ↓ */ @media (max-width: 576px) { .p-img { height: 115px; } .p-card { min-width: 140px; } .product-slider { gap: 10px; } } /* 420px ↓ */ @media (max-width: 420px) { .p-img { height: 100px; } .p-card { min-width: 130px; padding: 6px; } .product-slider { gap: 8px; } } /* 360px ↓ */ @media (max-width: 360px) { .p-img { height: 90px; } .p-card { min-width: 120px; } .product-slider { gap: 6px; } } /* ===== PROMOTIONAL BIG CARD SECTION STYLES ===== */ .product-section { width: 100%; display: flex; gap: 20px; margin-left: 30px; flex-wrap: wrap; margin-bottom: 25px; margin-top: 60px; } .card { padding: 0px; border-radius: 12px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); width: 370px; height: 240px; position: relative; overflow: hidden; } .card img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; display: block; } .card:hover img { transform: translateX(10px) scale(1.05); } .card-content { position: absolute; bottom: 50px; left: 15px; width: 65%; } .badge { font-size: 12px; background: #e7ecf7; padding: 4px 10px; border-radius: 6px; display: inline-block; font-weight: 600; } .card-content h3 { font-size: 20px; margin: 10px 0px; font-weight: 700; top: 20px; } .price { font-size: 14px; margin-bottom: 8px; font-weight: 500; color: #444; } .btn { display: inline-block; background: #0a73ff; color: #fff; padding: 7px 16px; font-size: 13px; border-radius: 25px; text-decoration: none; margin-top: 20px; } /* ===================================== PROMOTIONAL BIG CARDS RESPONSIVE ===================================== */ /* 992px ↓ */ @media (max-width: 992px) { .product-section { justify-content: center; margin-left: 0; } .card { width: 45%; } } /* 768px ↓ */ @media (max-width: 768px) { .card { width: 100%; } } /* 576px ↓ */ @media (max-width: 576px) { .card { height: auto; } .card img { height: auto; } } /* 420px ↓ */ @media (max-width: 420px) { .card { height: 200px; } } /* ===== SPECIAL FEATURED CARDS (BIG/SMALL) ===== */ .special-section-title { margin-left: 30px; margin-bottom: 10px; } .special-section-title h2 { font-size: 22px; font-weight: 600; color: #333; } /* Container */ .special-card-section { width: 100%; display: flex; gap: 20px; margin-left: 30px; margin-bottom: 40px; flex-wrap: nowrap; } /* CARDS */ .special-card { height: 240px; background: #ffffff; border-radius: 12px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); display: flex; padding: 15px; overflow: hidden; position: relative; } /* Left Card 60% width */ .special-card.big { width: 60%; } /* Right Card 30% width */ .special-card.small { width: 30%; } /* Content Left 70% */ .s-content { width: 70%; display: flex; flex-direction: column; justify-content: center; } /* Image Right 30% */ .s-img { width: 30%; display: flex; align-items: center; justify-content: center; } .s-img img { width: 100%; height: auto; object-fit: contain; } /* Text and buttons */ .s-badge { padding: 2px; border-radius: 6px; font-size: 12px; font-weight: 600; display: inline-block; margin-bottom: 6px; } .s-price { font-size: 14px; margin: 8px 0; color: #444; font-weight: 500; } .s-btn { display: inline-block; background: #0a73ff; padding: 5px 12px; color: #fff; border-radius: 25px; font-size: 13px; text-decoration: none; width: auto; max-width: max-content; white-space: nowrap; margin-top: 10px; } /* 2nd Cards */ .special-section-titles { margin-left: 30px; margin-bottom: 10px; } .special-section-titles h2 { font-size: 22px; font-weight: 600; color: #333; } /* Container */ .special-card-sections { width: 100%; display: flex; gap: 20px; margin-left: 30px; margin-bottom: 40px; flex-wrap: nowrap; } /* CARDS */ .special-cards { height: 240px; background: #fff; border-radius: 12px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); display: flex; padding: 15px; overflow: hidden; position: relative; } /* Left Card 60% width */ .special-card.bigs { width: 30%; } /* Right Card 30% width */ .special-card.smalls { width: 60%; } /* Content Left 70% */ .s-contents { width: 70%; display: flex; flex-direction: column; justify-content: center; } /* Image Right 30% */ .s-imgs { width: 30%; display: flex; align-items: center; justify-content: center; } .s-img imgs { width: 100%; height: auto; object-fit: contain; } /* Text and buttons */ .s-badges { padding: 2px; border-radius: 6px; font-size: 12px; font-weight: 600; display: inline-block; margin-bottom: 6px; } .s-prices { font-size: 14px; margin: 8px 0; color: #444; font-weight: 500; } .s-btns { display: inline-block; background: #0a73ff; padding: 5px 12px; color: #fff; border-radius: 25px; font-size: 13px; text-decoration: none; width: auto; max-width: max-content; white-space: nowrap; margin-top: 10px; } /* ===================================== SPECIAL FEATURED CARDS RESPONSIVE ===================================== */ /* ONE CARD PER ROW + NO BUTTON OVERFLOW (Mobile) */ @media (max-width: 768px) { .special-card-section { flex-direction: column !important; /* 1 card per row */ width: 100%; margin-left: 0 !important; gap: 20px; } .special-card { width: 90% !important; /* Full width card */ height: auto !important; padding: 15px !important; display: flex; flex-direction: column !important; align-items: center !important; text-align: center !important; } .s-content { width: 90% !important; display: flex; flex-direction: column; align-items: center; } .s-btn { margin-top: 10px !important; align-self: center !important; width: auto !important; max-width: 100% !important; } .s-img { width: 100% !important; display: flex; justify-content: center !important; margin-top: 10px; } .s-img img { width: 65% !important; } } /* FOOTER */ .footer{ background: #353434ff; padding: 10px 0; color: #fff } .footer-container { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: flex-start; } .footer-links { display: flex; gap: 60px; padding-right: 500px; } .footer-logo { display: flex; align-items: flex-start; } .footer-logo img{ width: 180px; height: auto; object-fit: contain; margin-top: 0; margin-left: -50px; } .footer-column h4{ font-size: 16px; margin-bottom: 10px; color: #fff; font-weight: 600; white-space: nowrap; } .footer-column a{ color: #ccc; font-size: 14px; display: block; margin: 4px 0; text-decoration: none; transition: 0.3s; } .footer-social { display: flex; gap: 20px; font-size: 22px; } .footer-social{ display: flex; gap: 20px; font-size: 22px; } .footer-social a{ color: #fff; text-decoration: none; transition: 0.3; } /* =========================================== RESPONSIVE CLEANED VERSION (NO DUPLICATION) =========================================== */ /* FOOTER */ .footer-container { flex-direction: column; text-align: center; gap: 30px; padding: 0 20px; } .footer-logo img { margin: auto; } .footer-links { flex-wrap: wrap; justify-content: center; gap: 25px; padding-right: 0; } .footer-column h4 { font-size: 15px; } .footer-column a { font-size: 13px; } .footer-social { justify-content: center; gap: 15px; } }