/* Product details review section */
.gomobd-review-section{font-family:'Poppins',sans-serif;width:100%;}
.gomobd-review-section .gomobd-review-title{font-size:20px;color:#222;line-height:1.3;}
.gomobd-review-section .gomobd-review-btn{background:#ff7300;border-color:#ff7300;font-weight:600;}
.gomobd-review-section .gomobd-review-list{display:flex;flex-direction:column;gap:14px;margin:0;}
.gomobd-review-section .gomobd-review-list > .col-12{padding:0;width:100%;}
.gomobd-review-section .gomobd-review-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px 20px;box-shadow:0 3px 12px rgba(15,23,42,.07);transition:transform .2s ease,box-shadow .2s ease;}
.gomobd-review-section .gomobd-review-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(15,23,42,.11);}
.gomobd-review-section .gomobd-review-card-header{display:flex;align-items:flex-start;gap:12px;}
.gomobd-review-section .gomobd-review-card-header > .d-flex{min-width:0;flex:1;}
.gomobd-review-section .gomobd-review-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:#198754;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;}
.gomobd-review-section .gomobd-review-meta{min-width:0;flex:1;}
.gomobd-review-section .gomobd-review-name{font-size:16px;line-height:1.35;margin:0;color:#222;overflow-wrap:anywhere;}
.gomobd-review-section .gomobd-review-date{display:block;font-size:12px;line-height:1.4;color:#8a8f98;margin-top:3px;}
.gomobd-review-section .gomobd-review-stars{flex:0 0 auto;color:#f8b400;font-size:16px;line-height:1.2;white-space:nowrap;}
.gomobd-review-section .gomobd-review-body{margin-top:14px;padding-top:12px;border-top:1px solid #f0f1f3;color:#4b5563;font-size:15px;line-height:1.75;}
.gomobd-review-section .gomobd-review-body p{margin:0;}
.gomobd-review-section .gomobd-review-body i{font-size:14px;}
.gomobd-review-section .gomobd-review-empty{background:#f9fafb;border-radius:12px;color:#777;}

/* Shared product-page content must remain inside its Bootstrap columns. */
.main-details-page,
.main-details-page .row,
.main-details-page .row > *,
.main-details-page .details_right,
.main-details-page .pro_details_area,
.main-details-page .details-action-box {
    min-width: 0;
}

.main-details-page img,
.main-details-page video,
.main-details-page iframe {
    max-width: 100%;
}

.main-details-page .description,
.main-details-page .details-action-box {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.main-details-page .description img,
.main-details-page .description video,
.main-details-page .description iframe {
    height: auto;
}

.main-details-page .description iframe,
.main-details-page .description video {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.main-details-page .description table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
}

.main-details-page .description pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* The description/video section is outside .main-details-page in the shared template. */
.pro_details_area,
.pro_details_area .container,
.pro_details_area .row,
.pro_details_area .row > *,
.pro_details_area .description,
.pro_details_area .description-content,
.pro_details_area .pro_vide {
    min-width: 0;
    max-width: 100%;
}



.pro_details_area .description-content > * {
    max-width: 100% !important;
    min-width: 0;
}

.pro_details_area .description-content iframe,
.pro_details_area .description-content video,
.pro_details_area .pro_vide iframe,
.pro_details_area .pro_vide video {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

/* Keep the review and related-product sections inside the mobile container. */
.main-details-page + .description-nav-wrapper + .pro_details_area,
.related-product-section,
.related-product-section .container,
.related-product-section .related-product-shell,
.related-product-section .related-carousel-wrap,
.related-product-section .product-inner {
    min-width: 0;
    max-width: 100%;
}

/* Performance-only containment for below-the-fold product sections.
   Keeps the same layout/design while reducing early paint/layout work. */
.description-nav-wrapper,
.pro_details_area,
.related-product-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1200px;
}

.description-nav-wrapper {
    contain-intrinsic-size: 1px 80px;
}
.related-product-section .related-product-shell,
.related-product-section .related-carousel-wrap,
.related-product-section .related_slider {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.related-product-section .related-title {
    margin-bottom: 15px;
}

.related-product-section .related_slider {
    max-width: 100%;
}

.related-product-section .owl-stage-outer {
    overflow: hidden;
}

.related-product-section .owl-item {
    height: auto;
}

.related-product-section .owl-item > .product_item {
    width: 100%;
}

.gomobd-review-section,
.gomobd-review-section .row,
.gomobd-review-section .row > *,
.gomobd-review-section .gomobd-review-card,
.gomobd-review-section .gomobd-review-card-header,
.gomobd-review-section .gomobd-review-card-header > *,
.gomobd-review-section .gomobd-review-meta,
.gomobd-review-section .gomobd-review-body {
    min-width: 0;
    max-width: 100%;
}

.gomobd-review-section .gomobd-review-name,
.gomobd-review-section .gomobd-review-body,
.gomobd-review-section .gomobd-review-body p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (min-width: 768px) {
    .main-details-page .details_slider {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-details-page .dimage_item img {
        height: 400px !important;
        max-height: 620px;
        object-fit: contain;
        width: 100%;
    }

    .main-details-page .indicator_thumb {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .pro_details_area .details-action-box{
        margin-left:20px!important;
        margin-right:0!important;
    }
    .pro_details_area > .container > .row > .col-12.col-lg-8{
        flex:0 0 100%;
        width:100%;
        max-width:100%;
    }
    .pro_details_area #writeReview{
        width:calc(100% - 24px)!important;
        margin:20px auto 0!important;
        padding:24px 0!important;
        box-sizing:border-box;
    }
    .gomobd-review-section{display:block;width:100%!important;max-width:100%;margin:0!important;padding:0!important;box-sizing:border-box;}
    .gomobd-review-section .gomobd-review-list.row{--bs-gutter-x:0;--bs-gutter-y:0;margin-left:0;margin-right:0;}
    .gomobd-review-section .gomobd-review-header{align-items:flex-start;gap:10px;margin-bottom:16px!important;}
    .gomobd-review-section .gomobd-review-title{font-size:19px;margin:0!important;}
    .gomobd-review-section .gomobd-review-btn{font-size:12px;padding:8px 10px;white-space:nowrap;}
    .gomobd-review-section .gomobd-review-list > .col-12{width:100%;max-width:100%;padding-left:0!important;padding-right:0!important;}
    .gomobd-review-section .gomobd-review-card{display:block;width:100%;max-width:100%;margin-left:0!important;margin-right:0!important;box-sizing:border-box;border-radius:13px;padding:16px 15px;}
    .gomobd-review-section .gomobd-review-card-header{gap:10px;}
    .gomobd-review-section .gomobd-review-avatar{width:44px;height:44px;flex-basis:44px;font-size:17px;}
    .gomobd-review-section .gomobd-review-name{font-size:15px;}
    .gomobd-review-section .gomobd-review-stars{font-size:15px;}
    .gomobd-review-section .gomobd-review-body{font-size:15px;line-height:1.8;margin-top:13px;padding-top:11px;}

    .main-details-page .dimage_item img {
        height: auto !important;
        max-height: 220px;
    }

    .main-details-page .details_slider,
    .main-details-page .indicator_thumb,
    .main-details-page .details_right {
        max-width: 100%;
    }

    .main-details-page .details_right {
        padding-left: 12px;
        padding-right: 12px;
    }

    .main-details-page .indicator_thumb {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .main-details-page .details_right .name,
    .main-details-page .details_right h1,
    .main-details-page .details_right h2,
    .main-details-page .details_right h3 {
        overflow-wrap: anywhere;
    }

    .related-product-section .product-inner,
    .related-product-section .related-product-shell,
    .related-product-section .related-carousel-wrap,
    .related-product-section .related_slider {
        overflow: hidden;
        width: 100%;
    }

    .related-product-section button.owl-prev {
        left: 0;
    }

    .related-product-section button.owl-next {
        right: 0;
    }
}