/* Product Specific Styles - Burhani Engineering Technology */

.product-specs-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

.table-responsive {
    margin-bottom: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef2f6;
}

.bet-spec-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
    background-color: #ffffff;
}

.bet-spec-table thead th {
    background-color: var(--heading-color);
    color: #ffffff;
    padding: 18px 15px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    border: none;
    vertical-align: middle;
    text-align: left;
}

.bet-spec-table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f4f8;
    font-family: var(--default-font);
    color: var(--default-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.bet-spec-table tbody tr:nth-of-type(even) {
    background-color: #f8fbff;
}

.bet-spec-table tbody tr:hover {
    background-color: #f0f7ff;
    transition: 0.3s ease;
}

.bet-spec-table .inner-divider {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 10px 0;
}

/* Specific Column Handling */
.bet-spec-table td:nth-child(2) {
    /* Model No */
    font-weight: 600;
    color: var(--heading-color);
    min-width: 150px;
}

.bet-spec-table td:nth-child(4) {
    /* Dimensions */
    font-size: 0.85rem;
    color: #555;
    min-width: 200px;
}

.bet-spec-table .btn-watch {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.bet-spec-table .product-img {
    transition: transform 0.3s ease;
}

.bet-spec-table tr:hover .product-img {
    transform: scale(1.1);
}

/* Mobile Stacking Logic */
@media (max-width: 991px) {
    .bet-spec-table thead {
        display: none;
    }

    .bet-spec-table,
    .bet-spec-table tbody,
    .bet-spec-table tr,
    .bet-spec-table td {
        display: block;
        width: 100%;
    }

    .bet-spec-table tr {
        margin-bottom: 25px;
        border: 1px solid #eef2f6;
        border-radius: 8px;
        background-color: #fff !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    }

    .bet-spec-table td {
        text-align: right;
        padding: 12px 15px 12px 45%;
        position: relative;
        border-bottom: 1px solid #f0f4f8;
        min-height: 45px;
    }

    .bet-spec-table td:last-child {
        border-bottom: none;
    }

    .bet-spec-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--heading-color);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Adjust specific alignment for mobile */
    .bet-spec-table .product-img {
        max-width: 80px;
    }

    .bet-spec-table .btn-watch {
        display: inline-block;
    }
}
.sidebar-box {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.col-lg-4 {
    position: relative;
}


@media (max-width: 991px) {
    .sidebar-box {
        position: static;
        top: auto;
    }
}

/* ===== SEO Keyword Block ===== */
.seo-keyword-block {
    background: #f0f7ff;
    border-left: 4px solid #1a5276;
    border-radius: 6px;
    padding: 12px 18px;
    margin: 12px 0 20px;
}
.seo-keyword-block .seo-kw-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a5276;
    margin-bottom: 8px;
}
.seo-keyword-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.seo-keyword-block ul li a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a5276;
    text-decoration: none;
    padding: 4px 12px;
    background: #d6eaf8;
    border-radius: 20px;
    transition: 0.2s;
    display: inline-block;
    font-style: italic;
}
.seo-keyword-block ul li a:hover {
    background: #1a5276;
    color: #fff;
}
.seo-para-keywords {
    font-style: italic;
    font-weight: 700;
    color: #1a5276;
}

/* ===== Lite YouTube Embeds ===== */
.youtube-player {
    position: relative;
    cursor: pointer;
}
.youtube-player img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.youtube-player:hover img {
    transform: scale(1.02);
    filter: brightness(0.95);
}
.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(33, 37, 41, 0.8);
    border: none;
    border-radius: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    cursor: pointer;
}
.youtube-play-btn::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}
.youtube-player:hover .youtube-play-btn {
    background-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Normalized Category Cards Grid Layout */
.row-cols-md-3 .card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
}

.row-cols-md-3 .card .card-img-top,
.row-cols-md-3 .card img.card-img-top {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 6px !important;
}

.row-cols-md-3 .card .card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.row-cols-md-3 .card .card-title {
    min-height: 55px !important;
}

.row-cols-md-3 .card .card-text {
    min-height: 40px !important;
}

.row-cols-md-3 .card .btn {
    margin-top: auto !important;
}


