.hr-watch{ margin: 0; padding: 20px; }
.section-title { text-align: center; font-size: 20px; font-weight: 600; margin: 20px 0 10px; color: #555; }
.visual-filter-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 34px; margin-bottom: 20px; }
.visual-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; width: 160px; }
.visual-item .img-box { border: 1px solid #dee2e6; border-radius: 8px; padding: 10px; width: 100%; height: auto; display: flex; align-items: center; justify-content: center; transition: all 0.2s; background: #fff; }
.visual-item.active .img-box { border-color: #c29958; box-shadow: 0 8px 6px -6px #c29958 }
.visual-item img { max-width: 150px; max-height: 150px; object-fit: contain; }
.visual-item span { font-size: 16px; margin-top: 8px; text-align: center; font-weight: 500; }
.visual-item.active span { color: #c29958; font-weight: 700; }
.filters-container { border-top: 1px solid #dee2e6; padding-top: 20px; margin-top: 20px; }
/* Responsive Grid Layout */
.dropdown-row { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 12px; 
    margin-bottom: 25px; 
}

/* Tweaks to Bootstrap's default .form-select */
.custom-filter-select {
    font-size: 16px; /* Reduced from 18px for a cleaner, modern dashboard look */
    padding: 10px 35px 10px 15px; /* Comfortable padding */
    color: #333333;
    border-color: #d1d5db; /* Light, sleek gray border */
    border-radius: 6px; /* Soft rounded corners */
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02); /* Very subtle depth */
}

/* Ensuring the focus state matches the bright blue glow */
.custom-filter-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.input-row { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 20px; align-items: center; }
.slider-group { flex: 1; min-width: 250px; }
.slider-group label { display: block; font-size: 18px; font-weight: bold; margin-bottom: 5px; }
.slider-controls { display: flex; align-items: center; gap: 10px; }
.slider-controls input[type="text"] { width: 80px; padding: 5px; border: 1px solid #ccc; border-radius: 4px; text-align: center; font-size: 16px; }
.slider-controls input[type="range"] { flex: 1; }
.text-input-group { flex: 1; min-width: 200px; }
.text-input-group label { display: block; font-size: 18px; font-weight: bold; margin-bottom: 5px; }
.text-input-group input { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-size: 18px; }
.action-bar { background-color: #f8f9fa; padding: 15px; border-radius: 4px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px; }
.action-buttons { display: flex; align-items: center; gap: 15px; }
.btn { padding: 8px 15px; border: none; border-radius: 4px; cursor: pointer; font-size: 18px; font-weight: bold; display: flex; align-items: center; gap: 5px; }
.btn:hover{background-color:#c29958;border-color:#c29958;color: #fff}
.btn-reset { background-color: #d6d6d6; color: #333; }
.view-controls { display: flex; justify-content: flex-end; margin: 20px 0; gap: 10px; }
.view-btn { background: none; border: 1px solid #dee2e6; padding: 8px 15px; cursor: pointer; border-radius: 4px; font-size: 18px; color: #555; }
.view-btn.active { background-color: #081c33; color: white; border-color: #081c33; }
.table-responsive { width: 100%; overflow-x: auto; }
.list-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 1200px; }
.list-table th { background-color:#c29958; color: white; padding: 10px 5px; text-align: center; font-weight: 600; position: sticky; top: 0;font-size: 14px; }
.list-table td { padding: 10px 5px; text-align: center; border-bottom: 1px solid #dee2e6; vertical-align: middle; font-weight: 500; font-size: 16px}
.list-table .watch-img { 
    /*width: 100%; 
    height: 160px;
    object-fit: contain;*/
    height: auto;
    width: auto;
    max-width: 100px; 
}
.list-table .action-col { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.grid-container { display: none; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.product-card { position:relative;border: 1px solid #dee2e6; border-radius: 8px; padding: 15px; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.02); font-size: 12px; }
.product-card .card-img-wrapper { text-align: center; margin-bottom: 15px; }
.product-card .watch-img { width: 100%; height: 220px; object-fit: contain; }
.card-header { margin-bottom: 10px;text-align:center; }
.card-header .ref { color: #c29958; font-weight: bold;font-size:18px }
.card-header .title { font-weight: bold; font-size: 18px; margin-top: 3px; color: #c29958; }
.card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; margin-bottom: 10px; }
.card-details div span.label { color: #666; }
.card-details div span.val { font-weight: bold; color: #333; }
.card-price { font-size: 20px; font-weight: bold; color: #c29958; margin-bottom: 15px;text-align:center; }
.card-buttons { display: flex; gap: 10px;position:absolute;bottom:10px;left:95px }
.btn-icon { padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 16px; font-weight: bold; display: flex; align-items: center; justify-content: center; gap: 5px; background: white; text-decoration: none; }
.btn-whatsapp { border: 1px solid #25D366; color: #25D366; flex: 1; }
.btn-whatsapp:hover { background: #25D366; color: white; }
.btn-eye{border: 1px solid #081c33;color: #081c33}
.btn-email { border: 1px solid #c29958; color: #c29958; flex: 1; }
.btn-email:hover { background: #c29958; color: white; }
.icon-only { width: 32px; height: 32px; padding: 0; flex: none; }
.fs-66{
    font-size: 18px;
}
/* --- Model Swiper Styles --- */
.modelsSwiper {
    overflow: hidden; /* Prevent horizontal scrollbar */
    justify-content: center;
    display: grid;
}
.modelsSwiper .swiper-slide {
    display: flex;
    justify-content: center; /* Centers the item horizontally */
    /*align-items: flex-start;*/
    height: auto;
}
.modelsSwiper .visual-item {
    width: 100%;
    max-width: 130px; 
    text-align: center;
    transition: transform 0.3s ease;
    padding: 10px;
}
.modelsSwiper .visual-item:hover {
    transform: translateY(-5px);
}
.modelsSwiper .img-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}
.modelsSwiper .img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Custom Arrow Colors */
.custom-swiper-nav {
    color: #004d80 !important; 
    transform: scale(0.7); /* Adjust size of arrows */
}
.modelsSwiper span {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    display: block;
}
@media(min-width: 1517px){
    .dropdown-row{
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    }
}
@media(min-width: 1707px){
    .dropdown-row{
        grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    }
}
@media(min-width: 1821px){
    .dropdown-row{
        grid-template-columns: repeat(auto-fill, minmax(187px, 1fr));
    }
}

@media (max-width: 768px) {
    .input-row { flex-direction: column; align-items: stretch; gap: 15px; }
    .action-bar { flex-direction: column; align-items: stretch; text-align: center; }
    .action-buttons { justify-content: space-between; }
    .action-buttons .btn { flex: 1; justify-content: center; }
    .visual-item { width: 100px; }
    .visual-filter-group {gap: 15px}
    .visual-item span{font-size: 16px}
    .filter-select{font-size: 16px}
    .list-table th{font-size: 14px}
}

/* --- SWIPER MODAL STYLES (UPDATED FOR MOBILE FIX) --- */
.product-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.product-modal-overlay.show {
    display: flex;
}

.product-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    max-height: 700px;
    border-radius: 8px;
    position: relative;
    padding: 25px;
    box-sizing: border-box;
}

.close-modal-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 2px solid #fff;
    z-index: 10000;
}

.modal-gallery-layout {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 30px;
}

/* --- SWIPER MODAL STYLES --- */
.product-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.product-modal-overlay.show {
    display: flex;
}

.product-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    max-height: 700px;
    border-radius: 8px;
    position: relative;
    padding: 25px;
    box-sizing: border-box;
}

.close-modal-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 2px solid #fff;
    z-index: 10000;
}

.modal-gallery-layout {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 30px;
}

/* DESKTOP THUMBNAILS (Vertical) */
.thumbSwiper {
    width: 80px; 
    height: 100%;
    flex-shrink: 0;
}

.thumbSwiper .swiper-slide {
    width: 80px !important; /* Force dimensions to prevent swiper flex issues */
    height: 80px !important; 
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #0056b3; 
}

.thumbSwiper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.video-placeholder {
    color: #888;
    font-size: 24px;
}

/* DESKTOP MAIN IMAGE */
.mainSwiper {
    flex-grow: 1;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.mainSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.mainSwiper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.video-placeholder-large {
    background: #000;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.swiper-button-next, .swiper-button-prev {
    color: #ccc;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #888;
}

/* =========================================
   MOBILE & TABLET FIXES
========================================= */
@media (max-width: 768px) {
    .product-modal-content {
        width: 95%;
        height: auto;
        padding: 15px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }

    .modal-gallery-layout {
        flex-direction: column-reverse; /* Force layout: Thumbs bottom, Main top */
        gap: 15px;
        height: auto;
    }

    /* STRICT MOBILE THUMBNAIL CONTAINER */
    .thumbSwiper {
        width: 100% !important; /* Force 100% width */
        height: 70px !important; /* Strict height for horizontal bar */
        display: flex;
    }
    
    .thumbSwiper .swiper-wrapper {
        flex-direction: row !important; /* Force horizontal wrapper */
    }

    /* STRICT MOBILE THUMBNAIL ITEM */
    .thumbSwiper .swiper-slide {
        width: 65px !important; /* Force specific width for mobile slides */
        height: 65px !important; /* Force specific height */
        margin-right: 10px !important; /* Space between slides horizontally */
        margin-bottom: 0 !important; /* Remove vertical spacing */
        flex-shrink: 0;
    }

    /* STRICT MOBILE MAIN IMAGE */
    .mainSwiper {
        width: 100% !important;
        height: 50vh !important; /* Proportional height */
        min-height: 300px;
    }

    .swiper-button-next, .swiper-button-prev {
        transform: scale(0.8); /* Scale arrows down slightly */
    }
}
/*pagination css start*/
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.custom-pagination button {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.custom-pagination button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.custom-pagination button.active {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: bold;
}

.custom-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-pagination span {
    padding: 6px 8px;
    color: #888;
}