/* 1. GLOBAL RESET */
html {
    scroll-behavior: smooth; /* :::: SMOOTH SCROLL ENABLED :::: */
    scroll-padding-top: 100px; /* হেডার ফিক্সড থাকার কারণে কন্টেন্ট যাতে নিচে না ঢাকা পড়ে */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    color: #192533;
    /* ফন্ট স্মুথ করার জন্য */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text Element - Strict Font Control */
h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, select, label {
    font-family: 'Poppins', sans-serif;
}

/* :::: CRITICAL FIX FOR ICONS (UPDATED) :::: */
/* আইকনগুলোতে যাতে কোনো ফন্ট বা শ্যাডো ইফেক্ট না পড়ে */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
    text-shadow: none !important; /* আইকনের কালো শ্যাডো রিমুভ করবে */
    box-shadow: none !important;  /* বক্স শ্যাডো রিমুভ করবে */
    text-decoration: none !important; /* আন্ডারলাইন রিমুভ করবে */
    border: none !important; /* বর্ডার রিমুভ করবে */
}

/* 2. HEADER STYLES */
.announcement-bar {
    background-color: #192533;
    color: white;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-header {
    background-color: white;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000; /* Z-index বাড়িয়ে দেওয়া হলো */
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #40E0D0;
    font-size: 32px;
    font-weight: 900;
    text-transform: lowercase;
    cursor: pointer;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 800;
    margin: 0 15px;
    font-size: 14px;
}
.nav-menu a:hover { color: #40E0D0; }

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-wrapper {
    position: relative;
    background-color: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.search-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 12px;
    width: 100px;
    font-family: 'Poppins', sans-serif;
}

.icon-link {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px; right: -8px;
    background-color: #40E0D0;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 16px; height: 16px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
}

/* 4. SHOP LAYOUT & OTHERS (অপরিবর্তিত) */
.shop-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

.sidebar { width: 250px; flex-shrink: 0; }

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filter-header h3 { font-size: 14px; font-weight: 900; }
.clear-all { font-size: 11px; color: #888; text-decoration: underline; }

.filter-group {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-title {
    font-size: 13px; font-weight: bold;
    display: flex; justify-content: space-between; cursor: pointer;
}

.filter-options {
    margin-top: 10px;
    display: flex; flex-direction: column; gap: 5px;
    font-size: 13px; background-color: #f9f9f9; padding: 10px;
}

.product-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    transition: box-shadow 0.3s;
}
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.product-image img { width: 100%; border-radius: 5px; }

.product-info h3 {
    font-size: 14px; margin: 15px 0 5px; font-weight: 800;
    text-transform: uppercase; line-height: 1.2;
}

.stars { color: #ff4081; font-size: 12px; margin-bottom: 10px; }
.stars span { color: #888; margin-left: 5px; }

.price-row { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 18px; font-weight: 900; }

.add-btn {
    background: none; border: 2px solid #ff4081; color: #ff4081;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    font-size: 14px; transition: all 0.2s;
}
.add-btn:hover { background: #ff4081; color: white; }

@media (max-width: 768px) {
    .shop-container { flex-direction: column; }
    .sidebar { width: 100%; }
}