/* =========================================================
   NB Pro Bike Specs and Brand Grid Styles
   ========================================================= */

.nbp-specs-wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nbp-specs-section-title {
    background-color: #EBEBEB !important;
    color: #333 !important;
    padding: 10px 15px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: 1px solid #ddd !important;
    margin: 0 !important;
    display: block !important;
}

.nbp-specs-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #ddd !important;
    margin: 0 !important;
    border-top: none !important;
    background: #fff !important;
}

.nbp-specs-table td {
    border: 1px solid #eee !important;
    padding: 8px 15px !important;
    font-size: 14px !important;
    vertical-align: middle;
}

.nbp-specs-label {
    color: #666 !important;
    background-color: #f9f9f9 !important;
    width: 25% !important;
    font-weight: 500 !important;
}

.nbp-specs-value {
    color: #000 !important;
    font-weight: 700 !important;
    width: 25% !important;
}

.nbp-disclaimer {
    background: #FFF9D7 !important;
    border: 1px solid #E6DB55 !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
    margin-top: 10px !important;
}

.nbp-brand-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    background: #fff;
    margin: 20px 0;
}

.nbp-brand-card {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 30px 10px;
    text-align: center;
    transition: 0.3s;
}

.nbp-brand-card:hover {
    background: #fcfcfc;
}

.nbp-brand-logo-box {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.nbp-brand-logo-box img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
}

.nbp-brand-name {
    font-size: 15px;
    color: #444;
    font-weight: bold;
}

/* মোবাইল ভার্সন ফিক্স - আপনার ছবির মতো করার জন্য */
@media (max-width: 768px) {
    .nbp-specs-table tr {
        display: flex !important; /* টেবিল রো কে ফ্লেক্স করা হয়েছে */
        flex-wrap: wrap !important;
        border-bottom: 1px solid #ddd;
    }

    .nbp-specs-table td {
        display: flex !important;
        align-items: center;
        box-sizing: border-box !important;
        border: none !important; /* ডুপ্লিকেট বর্ডার রিমুভ */
    }

    /* মোবাইলে প্রতিটি রো ফুল উইথ (১০০%) হবে */
    .nbp-specs-label {
        width: 40% !important; /* ছবির মতো অনুপাত */
        background-color: #f9f9f9 !important;
    }

    .nbp-specs-value {
        width: 60% !important;
        background-color: #fff !important;
    }

    .nbp-brand-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}