* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==========================================
   ১. রিভার্স ব্যানার ম্যাচিং হেডার (Navbar)
   বাম দিকে পার্পল/ভায়োলেট শেড এবং ডানে সফট লাইট কালার
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 4px 0; /* উপরে-নিচে খালি জায়গা কমানো হলো */
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    
    /* ব্যাকগ্রাউন্ড উল্টে বামে পার্পল এবং ডানে সফট লাইট স্কাই-হোয়াইট গ্রাডিয়েন্ট */
    background: linear-gradient(90deg, #4338ca 0%, #6366f1 20%, #e0e7ff 55%, #f8fafc 100%);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff; /* বাম পাশে ব্যাকগ্রাউন্ড ডার্ক পার্পল হওয়ায় লোগো স্পষ্ট রাখতে টেক্সট হোয়াইট করা হয়েছে */
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.brand-logo-img {
    max-height: 65px; /* লোগো বড় করা হলো যাতে হেডারের জায়গা কভার করে */
    width: auto;
    object-fit: contain;
    display: block;
}

/* অর্ডার বাটনের কালার ও ইফেক্ট */
.btn-nav {
    background: #4338ca; /* কালো কালার সরিয়ে পার্পল/ইন্ডিগো শেড দেওয়া হলো */
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.25);
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #3730a3; /* হোভার করলে আরও ডিপ পার্পল হবে */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(55, 48, 163, 0.35);
}

/* ==========================================
   স্মুথ ইমেজ স্লাইডার হিরো সেকশন
   ========================================== */
.hero-section {
    position: relative;
    width: 100%;
    padding: 15px; 
    margin: 0 0 30px 0;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;

    background-color: #f8fafc;
    background-image: linear-gradient(135deg, rgba(239, 246, 255, 0.85) 0%, rgba(254, 243, 199, 0.8) 50%, rgba(252, 231, 243, 0.85) 100%);
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* স্লাইডার ফ্রেম */
.hero-slider {
    width: 100%;
    overflow: hidden; /* বাইরের অংশ হাইড রাখবে */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* স্লাইড ট্র্যাক (সবগুলো ইমেজকে এক লাইনে রাখবে) */
.slide-track {
    display: flex;
    width: 400%; /* ৪টি ইমেজের জন্য (৩টি মূল + ১টি লুপ ডুপ্লিকেট) */
    animation: smoothSlide 12s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* প্রতিটি ইমেজ রেসপন্সিভ স্টাইল */
.hero-image {
    width: 25%; /* প্রতিটি ইমেজের সাইজ ১/৪ অংশ */
    height: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================
   স্মুথ স্লাইড অ্যানিমেশন (Keyframes)
   ========================================== */
@keyframes smoothSlide {
    0%, 25% {
        transform: translateX(0%); /* ১ম ইমেজ */
    }
    33%, 58% {
        transform: translateX(-25%); /* ২য় ইমেজ */
    }
    66%, 91% {
        transform: translateX(-50%); /* ৩য় ইমেজ */
    }
    100% {
        transform: translateX(-75%); /* স্মুথলি রি-স্টার্ট করার জন্য */
    }
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 768px) {
    .hero-section {
        padding: 10px;
        margin-bottom: 20px;
    }
}



/* ==========================================
   ৩. লেআউট ও প্রোডাক্ট কার্ডস (আলাদা কালার থিম সহ)
   ========================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ক্লিন হোয়াইট প্রিমিয়াম কার্ড Base */
.product-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* কার্ড ১: রেড/পিঙ্ক থিম */
.product-card:nth-child(6n+1) { border-color: #f43f5e; }
.product-card:nth-child(6n+1):hover { box-shadow: 0 15px 30px rgba(244, 63, 94, 0.18); }
.product-card:nth-child(6n+1) .price { color: #e11d48; }
.product-card:nth-child(6n+1) .btn-order { background: linear-gradient(135deg, #f43f5e, #e11d48); }

/* কার্ড ২: পার্পল/বেগুনি থিম */
.product-card:nth-child(6n+2) { border-color: #a855f7; }
.product-card:nth-child(6n+2):hover { box-shadow: 0 15px 30px rgba(168, 85, 247, 0.18); }
.product-card:nth-child(6n+2) .price { color: #7e22ce; }
.product-card:nth-child(6n+2) .btn-order { background: linear-gradient(135deg, #a855f7, #7e22ce); }

/* কার্ড ৩: গ্রিন/সবুজ থিম */
.product-card:nth-child(6n+3) { border-color: #10b981; }
.product-card:nth-child(6n+3):hover { box-shadow: 0 15px 30px rgba(16, 185, 129, 0.18); }
.product-card:nth-child(6n+3) .price { color: #047857; }
.product-card:nth-child(6n+3) .btn-order { background: linear-gradient(135deg, #10b981, #047857); }

/* কার্ড ৪: ব্লু/নীল থিম */
.product-card:nth-child(6n+4) { border-color: #3b82f6; }
.product-card:nth-child(6n+4):hover { box-shadow: 0 15px 30px rgba(59, 130, 246, 0.18); }
.product-card:nth-child(6n+4) .price { color: #1d4ed8; }
.product-card:nth-child(6n+4) .btn-order { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* কার্ড ৫: ইয়োলো/হলুদ-অরেঞ্জ থিম */
.product-card:nth-child(6n+5) { border-color: #f59e0b; }
.product-card:nth-child(6n+5):hover { box-shadow: 0 15px 30px rgba(245, 158, 11, 0.18); }
.product-card:nth-child(6n+5) .price { color: #d97706; }
.product-card:nth-child(6n+5) .btn-order { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* কার্ড ৬: হট পিঙ্ক/ম্যাজেন্টা থিম */
.product-card:nth-child(6n+6) { border-color: #ec4899; }
.product-card:nth-child(6n+6):hover { box-shadow: 0 15px 30px rgba(236, 72, 153, 0.18); }
.product-card:nth-child(6n+6) .price { color: #be185d; }
.product-card:nth-child(6n+6) .btn-order { background: linear-gradient(135deg, #ec4899, #be185d); }


/* ইমেজ ১:১ স্কয়ার রেশিও */
.image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.product-card:hover .main-img {
    transform: scale(1.05);
}

/* গ্যালারি থাম্বনেইল */
.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-img {
    width: 44px;
    height: 44px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.thumb-img:hover, 
.thumb-img.active {
    opacity: 1;
    border-color: #0f172a;
}

/* টাইটেল, প্রাইস ও টেক্সট */
.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 14px 0 4px 0;
    text-align: center;
}

.sku {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 8px;
}

.description {
    font-size: 0.85rem;
    color: #475569;
    text-align: center;
    margin-bottom: 12px;
}

.price-container {
    text-align: center;
    margin: 12px 0;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
}

.old-price {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}

/* ভ্যারিয়েন্ট ব্যাজ */
.variant-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.variant-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.badge {
    background: #f1f5f9;
    color: #334155;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid #e2e8f0;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.rating {
    color: #f59e0b;
    font-weight: 700;
}

/* ডাইনামিক অর্ডার বাটন */
.btn-order {
    color: #ffffff;
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-order:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* ==========================================
   ৪. প্রিমিয়াম ডার্ক ফুটার (Contrast-এর জন্য)
   ========================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 25px 0;
    margin-top: 80px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.footer-col p i {
    width: 24px;
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.88rem;
    color: #64748b;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================
   ৫. রেসপন্সিভ ডিজাইন
   ========================================== */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}




/* ==========================================
   ক্যাটাগরি হেডিং সেকশন স্টাইল
   ========================================== */
.category-section-title {
    text-align: center;
    margin-bottom: 20px;
}

.category-section-title h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

/* টাইটেলের নিচে আকর্ষনীয় আন্ডারলাইন এফেক্ট */
.category-section-title h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #3498db;
    margin: 6px auto 0;
    border-radius: 2px;
}

.category-section-title p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* ==========================================
   GLOBAL BOX SIZING
========================================== */

* {
    box-sizing: border-box;
}


/* ==========================================
   CATEGORY GRID
   মোবাইল: ৪ কলাম | ডেস্কটপ: ৬ কলাম
========================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 8px;

    /* মোবাইলে দুই পাশে সামান্য জায়গা */
    padding: 10px 10px;

    width: 100%;
    max-width: 100%;
}


/* ==========================================
   CATEGORY CARD
========================================== */

.category-card {
    text-decoration: none;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    width: 100%;
}


/* ==========================================
   CATEGORY IMAGE
========================================== */

.category-img {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    /* সুন্দর রাউন্ডেড কর্নার */
    border-radius: 18px;

    display: block;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);

    transition: transform 0.3s ease;

    max-width: 100%;
}


/* Hover Effect */

.category-card:hover .category-img {
    transform: scale(1.03);
}


/* ==========================================
   CATEGORY TITLE
========================================== */

.category-title {
    display: block;
    width: 100%;

    margin-top: 7px;
    padding: 6px 3px;

    background: #f5f5f5;
    color: #222;

    border-radius: 8px;

    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;

    /* বড় নামের জন্য Responsive */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================================
   TABLET VIEW
========================================== */

@media (min-width: 576px) {

    .category-grid {
        gap: 12px;

        /* দুই পাশে একটু বেশি জায়গা */
        padding: 12px 20px;
    }

}


/* ==========================================
   DESKTOP VIEW
========================================== */

@media (min-width: 768px) {

    .category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));

        gap: 15px;

        /* ডেস্কটপে দুই পাশে সুন্দর স্পেস */
        padding: 15px 30px;
    }

    .category-img {
        border-radius: 22px;
    }

    .category-title {
        font-size: 0.95rem;
        padding: 8px 5px;
    }

}


/* ==========================================
   LARGE DESKTOP
========================================== */

@media (min-width: 1200px) {

    .category-grid {
        padding-left: 50px;
        padding-right: 50px;
    }

}