:root {
    --primary: #2563eb; /* Royal Blue */
    --primary-dark: #1e40af;
    --accent: #e11d48;  /* Rose Red */
    --text: #0f172a;    /* Deep Black */
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --border: #e2e8f0;
    --success: #22c55e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Hind Siliguri', sans-serif;
    margin: 0; color: var(--text); background: var(--bg);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- 1. Header & Navigation --- */
.site-header {
    background: var(--bg); position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.site-header.shrink { padding: 5px 0; }

.nav-container {
    max-width: 1300px; margin: 0 auto; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.brand-box { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.brand-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.brand-tag { font-size: 0.8rem; font-weight: 500; color: var(--text-light); }

.desktop-menu { display: flex; gap: 25px; align-items: center; }
.menu-link { font-weight: 600; color: var(--text); position: relative; cursor: pointer; }
.menu-link:hover { color: var(--primary); }
.menu-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: 0.3s;
}
.menu-link:hover::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 20px; }
.icon-btn { position: relative; font-size: 1.2rem; cursor: pointer; color: var(--text); }
.cart-count {
    position: absolute; top: -8px; right: -8px; background: var(--accent); color: white;
    font-size: 0.7rem; font-weight: bold; width: 18px; height: 18px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}
.wa-btn-header {
    background: #25D366; color: white; padding: 8px 15px; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 5px;
}
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- 2. Hero Section (With Background Image) --- */
.hero-section {
    position: relative;
    /* প্যাডিং বাড়ানো হয়েছে যাতে ছবি বেশি দেখা যায় */
    padding: 10rem 1rem 8rem; 
    text-align: center;
    /* টেক্সট কালার সাদা করা হয়েছে যাতে ব্যাকগ্রাউন্ডের ওপর ফুটে ওঠে */
    color: white;
    /* ব্যাকগ্রাউন্ড ইমেজ এবং তার ওপর কালো ছায়া (Overlay) */
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1567592763-d954520f8f07?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.hero-title { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; font-weight: 800; }
/* হিরো সেকশনের স্পেশাল কালার */
.hero-title span { color: #60a5fa; /* হালকা নীল */ }
.hero-subtitle { font-size: 1.3rem; color: #cbd5e1; /* হালকা ছাই */ margin-bottom: 3rem; }

.cta-group { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn { padding: 15px 35px; border-radius: 8px; font-weight: 700; cursor: pointer; border: none; transition: 0.3s; font-size: 1.1rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
/* আউটলাইন বাটন এখন সাদা */
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--text); }

/* --- 3. Components & Sections --- */
.section-padding { padding: 5rem 20px; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; font-weight: 800; }
.bg-soft { background: var(--bg-soft); }

/* Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.product-card { background: white; border-radius: 15px; border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
.card-img-box { height: 250px; overflow: hidden; position: relative; background: #f1f5f9; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .card-img { transform: scale(1.1); }
.card-badge { position: absolute; top: 15px; left: 15px; background: white; padding: 6px 12px; border-radius: 30px; font-size: 0.8rem; font-weight: 700; color: var(--primary); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.card-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px 0; }
.card-price { font-size: 1.3rem; color: var(--primary); font-weight: 800; margin-bottom: 15px; }
.card-btn { margin-top: auto; width: 100%; padding: 12px; background: var(--bg-soft); color: var(--text); font-weight: 600; text-align: center; border-radius: 8px; transition: 0.3s; }
.card-btn:hover { background: var(--primary); color: white; }

/* --- 4. Cart Drawer --- */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: none; backdrop-filter: blur(2px); }
.cart-drawer { position: fixed; top: 0; right: -500px; width: 450px; height: 100%; background: white; z-index: 2001; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
.cart-drawer.open { right: 0; }
.cart-header { padding: 25px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--bg-soft); }
.cart-body { flex: 1; padding: 25px; overflow-y: auto; }
.cart-item { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.cart-item img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; }
.cart-details { flex: 1; }
.qty-control { display: flex; align-items: center; gap: 15px; margin-top: 10px; background: var(--bg-soft); width: fit-content; padding: 5px; border-radius: 50px; }
.qty-btn { width: 30px; height: 30px; background: white; border: 1px solid var(--border); cursor: pointer; border-radius: 50%; font-weight: bold; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-footer { padding: 30px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; background: white; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--primary); }

/* --- 5. Product Details & Offer Layouts --- */
.product-layout, .offer-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto; align-items: start; }
.offer-layout { align-items: center; } /* অফার পেজে সেন্টারড হবে */
.media-box { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.media-img { width: 100%; display: block; }
.detail-info h1 { font-size: 3rem; margin-bottom: 15px; line-height: 1.1; }
.price-tag { font-size: 2.5rem; color: var(--primary); font-weight: 800; display: block; margin-bottom: 25px; }
.highlight-box { background: var(--bg-soft); padding: 25px; border-radius: 15px; margin: 25px 0; border: 1px solid var(--border); }
.highlight-box p { line-height: 1.8; color: var(--text); margin: 0; white-space: pre-line; }
.specs-list { margin: 25px 0; }
.specs-list li { margin-bottom: 12px; display: flex; gap: 12px; align-items: center; font-weight: 500; }
.action-buttons { display: flex; gap: 20px; margin-top: 30px; }

/* Offer Page Specific */
.countdown-box { display: flex; gap: 15px; margin-bottom: 30px; }
.time-block { background: var(--text); color: white; padding: 15px 20px; border-radius: 10px; text-align: center; min-width: 80px; }
.time-val { font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.time-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; display: block; opacity: 0.8; }

/* --- 6. Footer & Misc --- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; text-align: center; }
.trust-item i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; background: var(--bg-soft); padding: 20px; border-radius: 50%; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 15px; overflow: hidden; background: white; }
.faq-question { padding: 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--bg-soft); transition: 0.3s; }
.faq-question:hover { color: var(--primary); }
.faq-answer { display: none; padding: 25px; line-height: 1.6; border-top: 1px solid var(--border); color: var(--text-light); }
.faq-item.active .faq-answer { display: block; }

.main-footer { background: #0f172a; color: white; padding: 5rem 20px 2rem; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto; }
.footer-links li { margin-bottom: 12px; color: #94a3b8; cursor: pointer; transition: 0.3s; }
.footer-links li:hover { color: white; padding-left: 5px; }

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .nav-container { padding: 15px; }
    .desktop-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; flex-direction: column; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 1px solid var(--border); }
    .desktop-menu.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.5rem; }
    .hero-section { padding: 6rem 1rem 4rem; }
    .product-layout, .offer-layout { grid-template-columns: 1fr; gap: 30px; }
    .media-box { max-height: 400px; }
    .cart-drawer { width: 90%; right: -100%; }
    .detail-info h1 { font-size: 2.2rem; }
    .action-buttons { flex-direction: column; gap: 10px; }
    .countdown-box { gap: 10px; }
    .time-block { min-width: 60px; padding: 10px; }
    .time-val { font-size: 1.5rem; }
}