/*
 * 3Dinga — product DETAIL page refresh (2026-09-13) — _fixes/DETAIL_20260913/
 * Additive CSS only. No blade/PHP changes required.
 * Rollback: remove this <link> from begin.blade.php.
 * ------------------------------------------------------------- */

/* ============ 4) GALLERY — cleaner main image + active thumb ring ======== */
.gallery.xzoom-container {
    background: #f7f9fa;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}
.gallery .xzoom4 {
    border-radius: 8px;
    max-width: 100%;
    height: auto !important;      /* keep natural ratio, responsive */
    min-height: 320px;
    object-fit: contain;
    background: #fff;
}
/* thumbnails row: cleaner cards */
.xzoom-thumbs .xzoom-gallery4 {
    border-radius: 8px;
    border: 2px solid transparent !important;
    opacity: .75;
    transition: all .2s ease;
    background: #fff;
    padding: 2px;
}
/* active/selected thumb = blue border (xzoom marks active with .xactive) */
.xzoom-thumbs .xzoom-gallery4.xactive,
.xzoom-thumbs .xzoom-gallery4:hover {
    border-color: #34b6ea !important;
    opacity: 1;
    box-shadow: 0 3px 10px rgba(52,182,234,.25);
}

/* ============ 5) SIMILAR MODELS — horizontal scroll strip w/ arrows ======== */
/* the block is already an owl carousel; restyle it like a filmstrip */
.home_part5 .owl-carousel-model .owl-stage-outer { padding: 4px 0; }
.home_part5 .owl-carousel-model .owl-item .proBox { padding: 6px; }
/* Owl nav buttons: round floating arrows */
.home_part5 .owl-carousel-model .owl-nav {
    margin: 0 !important;
}
.home_part5 .owl-carousel-model .owl-nav .owl-prev,
.home_part5 .owl-carousel-model .owl-nav .owl-next {
    position: absolute;
    top: 42%;
    width: 40px; height: 40px;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(20,40,60,.18);
    color: #1587b5 !important;
    font-size: 1.4rem !important;
    line-height: 40px !important;
    text-align: center;
    z-index: 5;
    transition: transform .18s ease, box-shadow .18s ease;
}
.home_part5 .owl-carousel-model .owl-nav .owl-prev:hover,
.home_part5 .owl-carousel-model .owl-nav .owl-next:hover {
    transform: scale(1.1);
    color: #34b6ea !important;
}
.home_part5 .owl-carousel-model .owl-nav .owl-prev { right: -10px; }
.home_part5 .owl-carousel-model .owl-nav .owl-next { left: -10px; }

/* ============ 6) PRICE/DOWNLOAD BOX STICKY (desktop) ============ */
@media (min-width: 992px) {
    .detail_part1 .detail_right_side .box_style6 {
        position: sticky;
        top: 90px;                  /* below the sticky header */
        z-index: 5;
        border-radius: 12px;
        box-shadow: 0 6px 24px rgba(20,40,60,.10);
        background: #fff;
    }
}

/* ============ 7) TECH SPECS as a clean table ============ */
.object_spec {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}
.object_spec ul.step1 { margin: 0; padding: 0; list-style: none; }
.object_spec ul.step1 li.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f4f6;
    margin: 0 !important;
}
.object_spec ul.step1 li.item:last-child { border-bottom: none; }
.object_spec ul.step1 li.item:nth-child(odd) { background: #fafbfc; }
.object_spec .name {
    color: #7b8794;
    font-size: .92rem;
    margin: 0;
}
.object_spec .val {
    color: #232a33;
    font-weight: 600;
    margin: 0;
    text-align: left;
}
/* same treatment for the stats box */
.object_static {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    overflow: hidden;
}
.object_static ul.step1 { margin: 0; padding: 0; list-style: none; }
.object_static ul.step1 li.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f4f6;
}
.object_static ul.step1 li.item:last-child { border-bottom: none; }
