/* ১. বেসিক সেটিংস */
* { box-sizing: border-box; }
body { 
    background: #f4f7f6; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Arial, sans-serif; 
    color: #333;
}

/* ২. হেডার ডিজাইন (সাদা ব্যাকগ্রাউন্ড ও নীল বর্ডার) */
header {
    background: #ffffff !important;
    border-bottom: 4px solid #002f5d !important;
    padding: 15px 0 !important;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header a {
    font-size: 24px !important;
    color: #002f5d !important;
    text-decoration: none !important;
    font-weight: bold;
}

/* ৩. কন্টাক্ট এবং সার্চ বার (স্কেচ অনুযায়ী) */
.contact-header {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 15px auto;
    max-width: 95%;
    border: 1px solid #ddd;
}
.phone-links a {
    text-decoration: none;
    color: #002f5d;
    font-weight: bold;
    font-size: 16px;
}

.search-box-container { width: 95%; margin: 15px auto; }
.styled-search-form { display: flex; border: 2px solid #002f5d; border-radius: 25px; overflow: hidden; background: #fff; }
.styled-search-form input { flex: 1; border: none; padding: 10px 15px; outline: none; }
.styled-search-form button { background: #002f5d; color: #fff; border: none; padding: 10px 20px; font-weight: bold; }

/* ৪. সেকশন এবং গ্রিড (এখানেই আপনার ইমেজ সাইজ ঠিক হবে) */
.content-section {
    background: #fff;
    margin: 15px auto;
    width: 95%;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
}
.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.section-title-bar h2, .section-title-bar h3 { font-size: 14px; margin: 0; color: #002f5d; }

/* ছবি ছোট করার মেইন কোড */
.product-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* এক লাইনে ৩টি */
    gap: 10px;
    padding: 10px;
}
.product-item-card {
    border: 1px solid #f0f0f0;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
}
.product-item-card img {
    width: 100%;       /* কার্ডের সমান হবে */
    height: 100px;     /* উচ্চতা ফিক্সড করা হলো যাতে উলোটপালোট না হয় */
    object-fit: contain; /* ছবি কাটবে না, সুন্দরভাবে বসবে */
    margin-bottom: 5px;
}

/* ৫. বাটন এবং টেক্সট */
.btn-all { border: 1px solid #002f5d; color: #002f5d; text-decoration: none; font-size: 10px; padding: 3px 8px; border-radius: 3px; }
.p-info h4 { font-size: 11px; margin: 5px 0; height: 30px; overflow: hidden; }
.p-price { font-weight: bold; color: #e67e22; font-size: 13px; }
.btn-whatsapp {
    background: #25D366;
    color: white;
    text-decoration: none;
    font-size: 10px;
    padding: 6px;
    display: block;
    border-radius: 4px;
    margin-top: 5px;
}

/* ৬. মোবাইল ভিউ (এক লাইনে ২টি প্রোডাক্ট) */
@media (max-width: 600px) {
    .product-layout { grid-template-columns: repeat(2, 1fr); }
    .product-item-card img { height: 90px; }
}

/* ৭. ফুটার ডিজাইন */
footer {
    background: #002f5d;
    color: #fff;
    padding: 30px 15px;
    text-align: center;
    margin-top: 30px;
}
