.product-category-page{
    margin-top: 0;
}

.product-category-page {
    --tour-card-primary: #133c8b;
    --tour-card-accent: #1bb9cf;
    --tour-card-soft: #eef7ff;
    --tour-card-border: rgba(19, 60, 139, 0.08);
    --tour-card-shadow: 0 20px 45px rgba(18, 49, 104, 0.12);
}

.product-category-page .product-filter-widget,
.product-category-page .product-results-panel {
    background: #fff;
    border: 1px solid var(--tour-card-border);
    border-radius: 30px;
    box-shadow: var(--tour-card-shadow);
}

.product-category-page .product-filter-widget {
    padding: 26px;
    position: sticky;
    top: 20px;
}

.product-category-page .product-filter-header {
    margin-bottom: 20px;
}

.product-category-page .product-filter-header p,
.product-category-page .product-results-subtitle {
    color: #607392;
    line-height: 1.7;
}

.product-category-page .product-filter-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-category-page .product-filter-section-title {
    display: block;
    color: var(--tour-card-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-category-page .product-filter-option-box,
.product-category-page .product-filter-date-box,
.product-category-page .product-filter-select-box {
    padding: 12px 0;
}

.product-category-page .product-filter-option-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 8px;
    max-height: 380px;
    overflow-y: auto;
}

.product-category-page .product-filter-option-box::-webkit-scrollbar {
    width: 5px;
}

.product-category-page .product-filter-option-box::-webkit-scrollbar-track {
    background: transparent;
}

.product-category-page .product-filter-option-box::-webkit-scrollbar-thumb {
    background: rgba(19, 60, 139, 0.2);
    border-radius: 10px;
}

.product-category-page .product-filter-option-box::-webkit-scrollbar-thumb:hover {
    background: rgba(19, 60, 139, 0.4);
}

.product-category-page .product-filter-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
    margin: 0;
    padding: 4px 0 4px calc(var(--filter-depth, 0) * 18px);
    color: #22467d;
    cursor: pointer;
}

.product-category-page .product-filter-option input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.product-category-page .product-filter-option::before {
    content: '';
    position: absolute;
    left: calc(var(--filter-depth, 0) * 18px);
    top: 50%;
    width: 17px;
    height: 17px;
    border: 1.5px solid rgba(30, 76, 150, 0.75);
    border-radius: 6px;
    transform: translateY(-50%);
    background: #fff;
    transition: all .2s ease;
}

.product-category-page .product-filter-option-checkbox::before {
    border-radius: 6px;
}

.product-category-page .product-filter-option input:checked + .product-filter-option-label {
    color: #0f58c7;
    font-weight: 700;
}

.product-category-page .product-filter-option input:checked ~ .product-filter-option-label::before {
    opacity: 1;
}

.product-category-page .product-filter-option-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    flex: 1;
    padding-right: 5px;
    color: #1e4c96;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.product-category-page .product-filter-option-label::before {
    content: '\2713';
    position: absolute;
    left: -24px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, #37c4d3, #1aafc8);
    border-radius: 6px;
    transform: translateY(-50%) scale(0.82);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.product-category-page .product-filter-option-checkbox .product-filter-option-label::before {
    width: 17px;
    height: 17px;
    border-radius: 6px;
}

.product-category-page .product-filter-option-count {
    flex-shrink: 0;
    min-width: 20px;
    text-align: right;
    color: #1e4c96;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.product-category-page .product-filter-option input:checked ~ .product-filter-option-count {
    color: #0f58c7;
}

.product-category-page .product-filter-option input:checked ~ .product-filter-option-label::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.product-category-page .product-filter-select-box .form-select,
.product-category-page .product-filter-date-box .form-control {
    border: 1px solid rgba(19, 60, 139, 0.12);
    border-radius: 8px;
    color: #22467d;
    box-shadow: none;
    min-height: 40px;
}

.product-category-page .product-filter-select-box .form-select:focus,
.product-category-page .product-filter-date-box .form-control:focus {
    border-color: #1bb9cf;
}

.product-category-page .product-filter-select-box .select2-container {
    width: 100% !important;
}

.product-category-page .product-filter-select-box select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.product-category-page .product-filter-select-box .select2-container--default .select2-selection--single {
    min-height: 46px;
    border: 1px solid rgba(27, 185, 207, 0.5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 44px 0 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    color: #22467d;
    box-shadow: 0 10px 24px rgba(19, 60, 139, 0.08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-category-page .product-filter-select-box .select2-container--default.select2-container--focus .select2-selection--single,
.product-category-page .product-filter-select-box .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #1bb9cf;
    box-shadow: 0 0 0 4px rgba(27, 185, 207, 0.12), 0 14px 28px rgba(19, 60, 139, 0.12);
}

.product-category-page .product-filter-select-box .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: #1f4d96;
    line-height: 1.4;
    font-size: 16px;
    font-weight: 600;
}

.product-category-page .product-filter-select-box .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 12px;
}

.product-category-page .product-filter-select-box .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #1f76c2 transparent transparent transparent;
    border-width: 6px 5px 0 5px;
    margin-left: -5px;
    margin-top: -3px;
}

.product-category-page .product-filter-select-box .select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #1bb9cf transparent;
    border-width: 0 5px 6px 5px;
}

.select2-dropdown.product-filter-select2-dropdown {
    margin-top: 8px;
    border: 1px solid rgba(27, 185, 207, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(18, 49, 104, 0.12);
}

.select2-dropdown.product-filter-select2-dropdown .select2-search--dropdown {
    padding: 12px 12px 10px;
    background: linear-gradient(180deg, rgba(238, 247, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
}

.select2-dropdown.product-filter-select2-dropdown .select2-search__field {
    min-height: 34px;
    border: 1px solid rgba(27, 185, 207, 0.22) !important;
    border-radius: 14px !important;
    padding: 6px 12px !important;
    background: #fff;
    color: #1f4d96;
    box-shadow: inset 0 1px 2px rgba(19, 60, 139, 0.04), 0 6px 16px rgba(19, 60, 139, 0.05);
    appearance: none;
    -webkit-appearance: none;
    outline: none !important;
}

.select2-dropdown.product-filter-select2-dropdown .select2-search__field:focus {
    border-color: #1bb9cf !important;
    box-shadow: 0 0 0 4px rgba(27, 185, 207, 0.12), 0 10px 22px rgba(19, 60, 139, 0.08);
    outline: none !important;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results > .select2-results__options {
    max-height: 320px;
    padding: 4px 8px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(19, 60, 139, 0.32) transparent;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results__option {
    margin: 3px 6px;
    padding: 9px 14px;
    border-radius: 14px;
    color: #4a638c;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results__option--selected {
    background: linear-gradient(135deg, rgba(79, 162, 242, 0.2), rgba(27, 185, 207, 0.16));
    color: #133c8b;
    font-weight: 700;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
    background: linear-gradient(135deg, #4fa2f2, #1bb9cf);
    color: #fff;
    transform: translateX(2px);
    box-shadow: 0 10px 22px rgba(27, 185, 207, 0.2);
}

.select2-dropdown.product-filter-select2-dropdown .select2-results__option[aria-disabled=true] {
    color: #7c8da9;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results__option[aria-selected=true] {
    position: relative;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results__option[aria-selected=true]::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1bb9cf;
    transform: translateY(-50%);
}

.select2-dropdown.product-filter-select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar {
    width: 8px;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar-track {
    background: transparent;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
    background: rgba(19, 60, 139, 0.3);
    border-radius: 999px;
}

.select2-dropdown.product-filter-select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 185, 207, 0.55);
}

.select2-dropdown.product-filter-select2-dropdown.select2-dropdown--below {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.select2-dropdown.product-filter-select2-dropdown.select2-dropdown--above {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.product-category-page .product-filter-actions {
    display: flex;
    gap: 12px;
    padding-top: 6px;
}

.product-category-page .theme-btn-outline {
    background: #f3f8ff;
    color: var(--tour-card-primary);
}

.product-category-page .product-results-panel {
    padding: 26px;
}

.product-category-page .product-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.product-category-page .product-results-head .form-control:focus {
    box-shadow: none;
    border-color: #e2e8f0;
}

.product-category-page .product-results-title {
    margin-bottom: 8px;
    color: var(--tour-card-primary);
}

.product-category-page .product-results-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--tour-card-soft);
    color: var(--tour-card-primary);
    font-size: 14px;
    font-weight: 700;
}

.product-category-page .product-results-body {
    position: relative;
}

.product-category-page .product-results-body.is-loading {
    opacity: .65;
    pointer-events: none;
}

.product-category-page .tour-listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tour-card-border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--tour-card-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-category-page .tour-listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(18, 49, 104, 0.18);
}

.product-category-page .tour-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.product-category-page .tour-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.product-category-page .tour-listing-card:hover .tour-card-media img {
    transform: scale(1.06);
}

.product-category-page .tour-card-badge-top {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 14px 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1ec9df, #17a7c8);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(27, 185, 207, 0.35);
}

.product-category-page .tour-card-duration {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--tour-card-primary);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(10, 37, 84, 0.16);
}

.product-category-page .tour-card-quick-view {
    position: absolute;
    left: 16px;
    bottom: -18px;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid #fff;
    background: linear-gradient(135deg, #29c6dd, #14adc7);
    color: #fff;
    box-shadow: 0 12px 28px rgba(20, 173, 199, 0.28);
    transition: transform .2s ease;
}

.product-category-page .tour-card-quick-view:hover {
    color: #fff;
    transform: translateY(-2px);
}

.product-category-page .tour-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.product-category-page .tour-card-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}

.product-category-page .tour-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: 10px;
    background: var(--tour-card-soft);
    color: #2b61bf;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.product-category-page .tour-card-tag.tour-card-tag--accent {
    background: #fff5ea;
    color: #f28518;
}

.product-category-page .tour-card-title {
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.35;
}

.product-category-page .tour-card-title a {
    color: var(--tour-card-primary);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-category-page .tour-card-title a:hover {
    color: #0f58c7;
}

.product-category-page .tour-card-meta {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    color: #5e708f;
    font-size: 15px;
    font-weight: 500;
}

.product-category-page .tour-card-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-category-page .tour-card-meta-item i,
.product-category-page .tour-card-meta-symbol {
    color: #6a7fa8;
    font-size: 14px;
}

.product-category-page .tour-card-meta-symbol {
    display: inline-flex;
    width: 16px;
    justify-content: center;
    line-height: 1;
}

.product-category-page .tour-card-summary {
    margin-bottom: 18px;
    color: #1c3f85;
    font-size: 15px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.product-category-page .tour-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(19, 60, 139, 0.1);
}

.product-category-page .tour-card-price-label {
    margin-bottom: 3px;
    color: #98a6bf;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-category-page .tour-card-price-value {
    color: #2168d6;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.product-category-page .tour-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2d77e2, #1c59bc);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(28, 89, 188, 0.22);
    transition: transform .2s ease;
}

.product-category-page .tour-card-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .product-category-page .product-filter-widget,
    .product-category-page .product-results-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .product-category-page .product-filter-actions,
    .product-category-page .product-results-head {
        flex-direction: column;
    }

    .product-category-page .product-filter-actions .theme-btn {
        width: 100%;
    }

    .product-category-page .tour-card-title {
        font-size: 24px;
    }

    .product-category-page .tour-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .product-category-page .tour-card-link {
        width: 100%;
    }
}

.custom-filter-check { 
    display: flex; 
    align-items: center; 
}
.custom-filter-check .form-check-input { 
    margin-top: 0;     margin-right: 9px;
}
