.catalog-remorci-page {
    /* background-color: #EEEFF2; */
    font-family: 'Peridot-PE-Variable', sans-serif;
    color: #000C8D;
}

.sidebar-bg-stretch {
    position: relative;
    background-color: #EEEFF2; 
}

.sidebar-bg-stretch::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -100vw; 
    background-color: #EEEFF2; 
    z-index: -1;
}

.catalog-remorci-page .sidebar-filters {
    padding: 72px 40px;
    background: #EEEFF2;
    position: relative;
    z-index: 1;
    min-height: 100vh;
        /* min-height: auto;
        padding: 30px 20px; */
}

.catalog-remorci-page .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.catalog-remorci-page .filter-header h4 {
    font-family: 'GeneralSans-Medium';
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #010205;
}

.catalog-remorci-page .btn-reset-filters {
    font-size: 12px;
    font-weight: 500;
    color: #010205;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #EEEFF2;
    border-radius: 6px;
    transition: all 0.2s;
    background: #FFFFFF;
    display: flex;
    text-transform: uppercase;
}

.catalog-remorci-page .btn-reset-filters svg{
    margin-right: 5px;
    transition: all 0.2s;
}

/* Filtre Active */
.catalog-remorci-page .active-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.catalog-remorci-page .filter-tag {
    background: #000C8D0D;
    color: #000C8D;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Grupuri de Filtre */
.catalog-remorci-page .filter-group {
    margin-bottom: 25px;
}

.catalog-remorci-page .filter-group-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    display: block;
    color:#010205;
}

.catalog-remorci-page .form-check {
    margin-bottom: 8px;
}

.catalog-remorci-page .form-check-input:checked {
    background-color: #000C8D;
    border-color: #000C8D;
}

.catalog-remorci-page .form-check-label {
    font-size: 14px;
    display: flex;
    font-weight: 400;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    color: #010205;
}

.catalog-remorci-page .item-count {
    color: #36373A;
    font-weight: 400;
}
/* Slider*/
.slider-container {
    position: relative;
    width: 100%;
    height: 8px;
}

.slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    width: 100%;
    border-radius: 10px;
    background: #F1F2F8;
    box-shadow: 2px 2px 21px #6a6a6a40;
}

.custom-slider {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    position: absolute;
    width: 100%;
    height: 8px;
    background: transparent;
    pointer-events: all;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 0px;
    border-radius: 50%;
    background: #000C8D;
    border: 3px solid white;
    pointer-events: all;
    cursor: pointer;
    position: relative;
    z-index: 4;
}

.custom-slider::-webkit-slider-runnable-track{
    background: transparent;
    height: auto;
    width: auto;
    pointer-events: none;
    border: none;
}

.custom-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000C8D;
    border: 2px solid white;
    pointer-events: all;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.catalog-remorci-page .range-value-badge {
    color: #000000;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 14px;
}

/* Catalog Grid */
.catalog-remorci-page .catalog-content-area {
    padding: 64px 24px;
    background: white;
}

.catalog-remorci-page .catalog-title-main {
    font-family: 'GeneralSans-Medium';
    font-weight: 500;
    font-size: 36px;
    line-height: 120%;
    color: #010205;
    margin-bottom: 20px;
}

.catalog-remorci-page .total-count-badge {
    color: #8A8C93;
    font-weight: 400;
}

.catalog-remorci-page .remorca-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* .catalog-remorci-page .remorca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
} */

.catalog-remorci-page .remorca-image-wrapper {
    width: 100%;
    height: 200px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-remorci-page .remorca-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.catalog-remorci-page .remorca-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.catalog-remorci-page .remorca-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.catalog-remorci-page .remorca-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000C8D;
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-remorci-page .remorca-badge img {
    width: 16px;
}

.catalog-remorci-page .remorca-title {
    font-family: 'GeneralSans-Medium';
    font-size: 20px;
    font-weight: 500;
    color: #000C8D;
    margin-bottom: 12px;
}

.catalog-remorci-page .remorca-spec-item {
    font-size: 12px;
    color: #303036;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.catalog-remorci-page .remorca-dimensions {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.catalog-remorci-page .remorca-link {
    color: white;
    background-color: #001489;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    width: fit-content;
    margin-top: auto;
}

.catalog-remorci-page .remorca-link:hover {
    background: #0011C1;
}

.catalog-remorci-page .pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.catalog-remorci-page .pagination-outer {
    background: white;
    padding: 8px;
    border: 1px solid #EEEFF2;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.04);
}

.catalog-remorci-page .pg-arrow {
    width: 41px;
    height: 36px;
    border-radius: 4px;
    padding: 8px 11px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.catalog-remorci-page .pg-arrow.prev { background: #F0F2F5; color: #555; }
.catalog-remorci-page .pg-arrow.next { background: #000C8D; color: white; }

.catalog-remorci-page .pg-list {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
}

.catalog-remorci-page .pg-list a {
    text-decoration: none;
    color: #36373A;
}

.catalog-remorci-page .pg-list .active a {
    color: #000C8D;
    font-weight: 600;
}

/* --- Stiluri Generale (Pastrate din codul tau) --- */
.catalog-remorci-page {
    font-family: 'Peridot-PE-Variable', sans-serif;
    color: #000C8D;
}

.catalog-remorci-page .sidebar-bg-stretch { 
    background-color: #EEEFF2;
     position: relative; 
}

.catalog-remorci-page  .offcanvas-start {
    border-right: none !important;
}

@media (min-width: 992px) {
    #sidebarFilters {
        position: relative !important;
        transform: none !important;
        visibility: visible !important;
        display: block !important;
        
        flex: 0 0 auto !important;
        width: 25% !important;
        
        background-color: transparent !important;
        z-index: 1 !important;
    }

    .offcanvas-header {
        display: none !important;
    }
}

@media (max-width: 991px) {

    .catalog-remorci-page .filter-header, .catalog-remorci-page .active-filter-tags, .sidebar-filters .my-4{
        display: none;
    }

    .catalog-remorci-page .sidebar-filters { 
        border-right: none;
        min-height: auto; 
        padding: 5px 20px;
    }

    #sidebarFilters {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        z-index: 1060;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        visibility: hidden;
        display: block !important;
    }

    #sidebarFilters.show {
        transform: translateX(0);
        visibility: visible;
    } 
    
    .tablet-filter-bar {
        background: #fff;
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .btn-trigger-filters {
        background: #000C8D;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .catalog-content-area {
        padding: 30px 15px !important;
    }

    .catalog-remorci-page .item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .catalog-remorci-page .sidebar-bg-stretch::before { display: none; }
}

@media (max-width: 576px) {
    /* 1 pe rand pe mobilul foarte mic */
    .catalog-remorci-page .item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.offcanvas-backdrop.show {
    opacity: 0.5;
}

/* .remorca-image-wrapper { height: 180px; padding: 15px; text-align: center; } */
.remorca-image { max-width: 100%; height: 100%; object-fit: contain; }

.remorca-content { padding: 20px; flex-grow: 1; }
/* .remorca-title { font-size: 18px; color: #000C8D; margin-bottom: 10px; } */

/* .remorca-link {
    background: #000C8D;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    display: block;
    margin-top: auto;
} */

/* Stiluri Filtre Active */
.filter-tag {
    background: rgba(0, 12, 141, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin: 2px;
}



/**
/* Detalii remorca
*/
.product-detail-page {
    font-family: 'Peridot-PE-Variable', sans-serif;
    overflow-x: hidden; 
    z-index: 1;
    position: relative;
}

.sidebar2-bg-stretch {
    position: relative;
    /* background-color: #000C8D0D;  */
    z-index: 2;
}

.sidebar2-bg-stretch::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -100vw; 
    background-color: #000C8D0D; 
    z-index: -1;
}


.product-detail-page .gallery-content-wrapper {
    padding: 40px 60px 40px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-detail-page .btn-back {
    background: #FFFFFF;
    color: #000C8D;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    padding: 10px 20px;
    width: fit-content;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.product-detail-page .btn-back svg{
    margin-right: 5px;
}

.product-detail-page .main-product-image {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
}

.product-detail-page .btn-fullscreen {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #000C8D;
    opacity: 0.5;
}

.product-detail-page .thumb {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex: 1;
}

.product-detail-page .thumb.active {
    border-color: #000C8D;
}

.product-detail-page .product-title {
    font-family: 'GeneralSans-Medium';
    color: #010205;
    font-weight: 700;
    font-style: Bold;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0%;
}

.product-detail-page .section-subtitle {
    font-family: 'GeneralSans-Medium';
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
}

.product-detail-page .spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: right;

}

.product-detail-page .badge-custom {
    background-color: rgba(0, 12, 141, 0.05);
    color: #000C8D;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

/* Butoane Acțiune */
.product-detail-page .btn-order {
    background-color: #000C8D;
    color: #fff;
    font-weight: 600;
    padding: 9px 16px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
}

.product-detail-page .quantity-selector {
    display: flex;
    border: 1px solid #D5D5D7;
    overflow: hidden;
    width: 170;
    height: 40;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 4px;

}

.product-detail-page .q-btn {
    background: #fff;
    border: none;
    padding: 5px 15px;
    color: #000C8D;
    font-weight: bold;
}

.product-detail-page .q-input {
    width: 45px;
    text-align: center;
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.accessories-box {
    border: 1px solid #EEEFF2;
    border-radius: 12px;
    padding: 16px 20px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.accessories-box:hover {
    border-color: #000C8D;
    background-color: #F9FAFB;
}

.accessories-title {
    font-weight: 700;
    font-size: 16px;
    color: #010205;
    pointer-events: none; 
}

.add-btn {
    color: #000C8D;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.accessories-box:active .add-btn {
    transform: scale(0.9); 
}

.contact-info {
    border-top: 1px solid rgba(0, 12, 141, 0.1) !important; 
    margin-top: 3rem; 
    padding-top: 1.5rem; 
    justify-content: flex-end;
}

.contact-info a {
    color: #000C8D !important; 
    font-weight: 500;
    font-size: 14px; 
    transition: opacity 0.2s ease;
}

.contact-info a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

.contact-info a i {
    font-size: 16px;
    color: #000C8D;
    display: flex;
    align-items: center;
}

/* Stiluri Carusel Sincronizat */
.product-detail-page #sync2 .owl-item {
    cursor: pointer;
}

.product-detail-page #sync2 .owl-item.current img {
    border: 2px solid #007bff;
}

/* .product-detail-page .main-product-image .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
} */

/* .product-detail-page .main-product-image .owl-nav button {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.7) !important;
    padding: 10px !important;
} */


/* Stiluri Accessories */
.product-detail-page .accessories-box {
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.product-detail-page .accessories-box:hover {
    background: #f9f9f9;
}

.product-detail-page .accessories-content {
    display: none;
}

.product-detail-page .accessory-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px;
    height: 100%;
    transition: border-color 0.2s;
    margin-left:10px;
}

.product-detail-page .form-check-input:checked {
    background-color: #000C8D;
    border-color: #000C8D;
}

.product-detail-page .accessories-content .col-6{
   margin-bottom:24px;
}

.product-detail-page .accessory-card:hover {
    border-color: #000C8D;
}


/* Animație Iconiță + în - */
.product-detail-page .add-btn svg {
    transition: transform 0.3s ease;
}

.product-detail-page .is-active .add-btn svg {
    transform: rotate(90deg);
}

.product-detail-page .line-v {
    transition: opacity 0.2s ease;
}

.product-detail-page .is-active .line-v {
    opacity: 0;
}


@media (max-width: 991px) {
    .sidebar2-bg-stretch::before {
        display: none; 
    }
    .gallery-content-wrapper {
        padding: 30px 20px;
    }
    .product-detail-page .product-title {
        font-size: 24px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px !important;
    }
}


