/* =========================================
   OBITO PRODUCT DETAIL
========================================= */

body.single-product,
body.single-product #main {
    background: #000 !important;
    color: #fff !important;
}

/* ẨN SIDEBAR ƯU ĐÃI */
body.single-product .product-sidebar,
body.single-product aside.product-sidebar,
body.single-product #secondary,
body.single-product .widget-area,
body.single-product .product-main > .row > .large-3 {
    display: none !important;
}

/* FULL WIDTH */
body.single-product .product-main > .row > .large-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* XÓA VẠCH */
body.single-product .product-main,
body.single-product .product-main > .row {
    border: 0 !important;
}

/* =========================================
   2 CỘT
========================================= */

body.single-product .product-gallery {
    width: 52% !important;
    max-width: 52% !important;
    flex: 0 0 52% !important;
    padding-right: 25px !important;
}

body.single-product .product-info {
    width: 48% !important;
    max-width: 48% !important;
    flex: 0 0 48% !important;
    padding-left: 25px !important;
}

/* =========================================
   TÊN + GIÁ
========================================= */

body.single-product .product-info,
body.single-product .product-info p,
body.single-product .product-info span {
    color: #fff;
}

body.single-product .product-title {
    color: #fff !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
}

body.single-product .product-info .price {
    color: #70e000 !important;
    font-size: 28px !important;
}

body.single-product .product-info .price del {
    color: #70e000 !important;
}

/* ẨN MÔ TẢ MẶC ĐỊNH */
body.single-product .product-short-description {
    display: none !important;
}

/* =========================================
   UX
========================================= */

.obito-product-detail {
    width: 100% !important;
    margin-top: 20px !important;
}

.ob-product-custom {
    color: #fff !important;
    font-size: 17px;
    line-height: 1.55;
}

.ob-description {
    margin: 25px 0 30px;
}

.ob-description p {
    color: #fff !important;
    margin: 0;
}

/* BUTTON */

.ob-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ob-btn {
    flex: 1;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 7px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
}

.ob-btn-blue {
    background: #0878d1;
}

.ob-btn-red {
    background: #e00000;
}

.ob-btn:hover {
    color: #fff !important;
    opacity: .9;
}

/* HOTLINE */

.ob-hotline {
    text-align: center;
    margin: 15px 0 30px;
    color: #fff !important;
}

.ob-hotline strong {
    color: #70e000 !important;
    font-size: 18px;
}

.ob-hotline span {
    color: #fff !important;
    font-size: 14px;
}

/* QUYỀN LỢI */

.ob-benefits {
    border: 1px solid #70e000;
    margin-top: 20px;
    background: #000;
}

.ob-benefits-title {
    background: #70e000;
    color: #000 !important;
    padding: 14px 20px;
    font-size: 21px;
    font-weight: 800;
}

.ob-benefits-content {
    padding: 18px 25px;
    color: #fff !important;
    line-height: 1.9;
}

.ob-benefits-content div {
    color: #fff !important;
    margin-bottom: 6px;
}

.ob-benefits-content strong {
    color: #fff !important;
}

/* =========================================
   BẢNG SIZE - BÊN DƯỚI ẢNH
========================================= */

.ob-size-box {
    width: 100%;
    margin-top: 25px;
    color: #fff;
}

.ob-size-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 2px solid #70e000 !important;
    border-radius: 10px !important;
    overflow: hidden;
    background: #000 !important;
}

.ob-size-table th,
.ob-size-table td {
    padding: 9px 6px !important;
    text-align: center !important;
    background: #000 !important;
    color: #fff !important;
    border-right: 1px solid #70e000 !important;
    border-bottom: 1px solid #70e000 !important;
    font-size: 13px !important;
}

.ob-size-table thead th {
    background: #70e000 !important;
    color: #000 !important;
    font-weight: 800 !important;
}

.ob-size-table tbody th {
    background: #70e000 !important;
    color: #000 !important;
    font-weight: 700 !important;
}

.ob-size-table tr:last-child td,
.ob-size-table tr:last-child th {
    border-bottom: 0 !important;
}

.ob-size-table th:last-child,
.ob-size-table td:last-child {
    border-right: 0 !important;
}

.ob-size-note {
    margin: 12px 5px 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-style: italic;
    text-align: center;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    body.single-product .product-gallery,
    body.single-product .product-info {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.single-product .product-title {
        font-size: 25px !important;
    }

    body.single-product .product-info .price {
        font-size: 24px !important;
    }

    .ob-buttons {
        flex-direction: column;
    }

    .ob-btn {
        width: 100%;
        min-height: 52px;
        font-size: 16px;
    }

    .ob-benefits-title {
        font-size: 18px;
    }

    .ob-benefits-content {
        padding: 14px 15px;
        font-size: 14px;
    }

    .ob-size-table th,
    .ob-size-table td {
        padding: 6px 2px !important;
        font-size: 9px !important;
    }

    .ob-size-note {
        font-size: 12px !important;
    }
}
/* =========================================
   XÓA VẠCH TRẮNG BÊN PHẢI
========================================= */

body.single-product .product-main,
body.single-product .product-main > .row,
body.single-product .product-main > .row > .col,
body.single-product .product-main > .row > .large-9,
body.single-product .product-main > .row > .large-3,
body.single-product .product-info,
body.single-product .product-gallery {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}

/* Xóa luôn các đường viền có thể do Flatsome tạo */
body.single-product #main,
body.single-product #main-content,
body.single-product .shop-container,
body.single-product .product-main {
    outline: none !important;
    box-shadow: none !important;
}

/* Cho nền đen phủ toàn bộ chiều ngang */
html,
body {
    background: #000 !important;
}

body.single-product #main {
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
}

/* Đảm bảo row không tự tạo đường viền */
body.single-product .product-main > .row {
    border-right: 0 !important;
    border-left: 0 !important;
}
