:root {
    --bk-primary: #0073aa;
    --bk-secondary: #f39c12;
    --bk-success: #00a32a;
    --bk-error: #d63638;
    --bk-text: #333;
    --bk-text-muted: #646970;
    --bk-bg-light: #f6f7f7;
    --bk-border: #dcdcde;
    --bk-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --bk-radius: 12px;
}

/* CHECKOUT PROGRESS BAR */
.bk-checkout-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.bk-checkout-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--bk-border);
    z-index: 1;
}

.bk-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.bk-step-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 2px solid var(--bk-border);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--bk-text-muted);
    transition: all 0.3s ease;
}

.bk-step.active .bk-step-icon {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.2);
}

.bk-step.completed .bk-step-icon {
    background: #fff;
    border-color: var(--bk-primary);
    color: var(--bk-primary);
}

.bk-step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--bk-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bk-step.active .bk-step-label {
    color: var(--bk-primary);
}

/* PREMIUM BOXES */
.bk-box-premium {
    background: #fff;
    border-radius: var(--bk-radius);
    padding: 30px;
    box-shadow: var(--bk-shadow);
    border: 1px solid var(--bk-border);
    margin-bottom: 30px;
}

.bk-box-premium h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bk-icon-svg {
    width: 24px;
    height: 24px;
    fill: var(--bk-primary);
}

/* SUCCESS/ERROR BOXES */
.bk-status-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.bk-status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bk-status-icon.success {
    background: #e8f5e9;
    color: var(--bk-success);
}

.bk-status-icon.error {
    background: #fbe9e7;
    color: var(--bk-error);
}

.bk-status-icon svg {
    width: 48px;
    height: 48px;
}

.bk-status-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--bk-text);
}

.bk-status-msg {
    color: var(--bk-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* BUTTONS & LINKS */
.bk-btn-primary {
    background: var(--bk-primary);
    color: #fff !important;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 115, 170, 0.2);
}

.bk-btn-primary:hover {
    background: var(--bk-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 115, 170, 0.3);
}

.bk-btn-secondary {
    background: #fff;
    color: var(--bk-primary) !important;
    border: 1px solid var(--bk-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.bk-btn-secondary:hover {
    background: rgba(0, 115, 170, 0.05);
    transform: translateY(-1px);
}

.bk-btn-link {
    color: var(--bk-text-muted);
    font-size: 0.95rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.bk-btn-link:hover {
    color: var(--bk-primary);
}

/* LAYOUT HELPERS */
.bk-checkout-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.bk-checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .bk-checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .bk-tour-summary-mini {
        order: -1;
    }
}

.bk-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.bk-summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bk-item-label {
    font-size: 0.8rem;
    color: var(--bk-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bk-item-value {
    font-size: 1rem;
    color: var(--bk-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bk-mini-icon {
    width: 16px;
    height: 16px;
    fill: var(--bk-primary);
}

/*FORMULARIO DE RESERVA TOUR*/
.bk-form-group {
    margin-bottom: 15px;
}

.bk-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

#bk-wa-submit {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.3s;
}

#bk-wa-submit:hover {
    background: #128c7e;
}

#bk-wa-error {
    margin-top: 10px;
    color: red;
    font-size: 13px;
    text-align: center;
    display: none;
}

/*FILTRO LISTADO */
.bookreatic-booking-form-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.bookreatic-booking-form-wrapper h3 {
    margin-top: 0;
}

.bk-form-row {
    margin-bottom: 15px;
}

.bk-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.bk-form-row input,
.bk-form-row select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s;
}

.bk-form-row input:focus,
.bk-form-row select:focus {
    border-color: var(--bk-primary);
    outline: none;
}

.bk-message {
    margin-top: 15px;
}

.bk-message .success {
    color: green;
}

.bk-message .error {
    color: red;
}

.bk-total-price {
    font-size: 1.25em;
    font-weight: bold;
    margin: 15px 0;
    color: var(--bk-primary);
}

.bk-pax-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.bk-pax-row input,
.bk-pax-row select {
    flex: 1;
    min-width: 120px;
}

/* ARCHIVE GRID */
.bk-archive-container {
    margin: 0 auto;
}

.bk-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.bk-tour-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.bk-tour-card:hover {
    transform: translateY(-8px);
}

.bk-tour-category-tag {
    transition: background 0.2s;
}

.bk-tour-image {
    position: relative;
    height: 220px;
}

.bk-tour-category-tag:hover {
    background: #e2e8f0 !important;
}

.bk-breadcrumbs a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.bk-breadcrumbs a:hover {
    opacity: 0.7;
}

.bk-gallery-item {
    transition: transform 0.2s;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.bk-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.bk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.bk-gallery-item:hover {
    transform: scale(1.05);
}

.bk-hero-cat {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bookreatic-booking-form input[type="date"],
.bookreatic-booking-form select,
.bookreatic-booking-form input[type="number"],
.bookreatic-booking-form input[type="text"] {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 10px !important;
    font-size: 14px !important;
}

.bk-form-group label {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #444 !important;
}

#bk_apply_coupon {
    background: #eee;
    border: 1px solid #ccc;
    font-weight: bold;
}

/* LIGHTBOX */
.bk-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.bk-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.bk-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid #fff;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.bk-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.bk-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-price-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--bk-secondary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    text-align: right;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bk-price-badge span {
    font-size: 11px;
    display: block;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: bold;
}

.bk-price-badge strong {
    font-size: 1.2em;
}

.bk-tour-content {
    padding: 25px;
}

.bk-tour-title {
    margin: 0 0 12px;
    font-size: 1.4em;
    line-height: 1.3;
}

.bk-tour-title a {
    color: var(--bk-text);
    text-decoration: none;
    transition: color 0.2s;
}

.bk-tour-title a:hover {
    color: var(--bk-primary);
}

.bk-tour-meta {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.bk-tour-meta i {
    color: var(--bk-primary);
    font-size: 18px;
    vertical-align: middle;
}

.bk-tour-excerpt {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bk-btn-view {
    display: block;
    background: var(--bk-primary);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, transform 0.2s;
}

.bk-btn-view:hover {
    background: #005a87;
    transform: scale(1.02);
    color: #fff;
}

/* SINGLE TOUR */
.bk-single-tour-wrapper {
    background: #fff;
}

.bk-tour-hero {
    height: 55vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bk-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bk-hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.bk-hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bk-hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.bk-hero-meta span {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.bk-hero-meta i {
    font-size: 24px;
    color: var(--bk-secondary);
}

.bk-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.bk-tour-grid-single {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.bk-section {
    margin-bottom: 60px;
}

.bk-section h2 {
    border-left: 6px solid var(--bk-secondary);
    padding-left: 20px;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.bk-tabs-section {
    background: #fcfcfc;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    border: 1px solid #eee;
}

.bk-tab-content {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bk-tab-content:last-child {
    margin-bottom: 0;
}

.bk-tab-content h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.3em;
}

/*PAGINATION*/
.bk-pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.bk-pagination>* {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    ;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bk-pagination .nav-links>* {
    margin-right: 1rem;
}

.bk-pagination .nav-links .next,
.bk-pagination .nav-links .prev {
    background: var(--color-principal);
    color: #fff;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.bk-pagination .current {
    color: rgba(0, 0, 0, 0.3);
}

/* TIMELINE */
.bk-itinerary-timeline {
    position: relative;
    padding-left: 60px;
    margin-top: 40px;
}

.bk-itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #eee;
}

.bk-itinerary-item {
    position: relative;
    margin-bottom: 50px;
}

.bk-itinerary-number {
    position: absolute;
    left: -60px;
    width: 48px;
    height: 48px;
    background: var(--bk-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bk-itinerary-info h3 {
    margin-bottom: 8px;
    font-size: 1.4em;
}

.bk-item-duration {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 15px;
}

.bk-itinerary-img {
    width: 100%;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* SIDEBAR */
.bk-tour-sidebar {
    position: relative;
}

.bk-booking-sidebar-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    top: 30px;
    border: 1px solid #f0f0f0;
}

.bk-booking-sidebar-card h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6em;
    margin-top: 0px;
}

.bk-sidebar-price {
    margin: 0 -35px 30px;
    padding: 25px;
    background: #fff9f0;
    text-align: center;
    border-top: 1px solid #ffecce;
    border-bottom: 1px solid #ffecce;
}

.bk-sidebar-price span {
    font-size: 0.9em;
    text-transform: uppercase;
    color: #a27c3e;
    font-weight: bold;
}

.bk-sidebar-price strong {
    font-size: 2.4em;
    color: var(--bk-secondary);
    display: block;
    margin-top: 5px;
}

/*Add*/
.bk-filters-container {
    padding: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0px 0px 15px rgba(5, 5, 15, 0.2);
    border-radius: 20px;
    background: #fff;
    margin: 2rem auto;
}

.bk-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.bk-filter-group {
    display: block;
}

.bk-filters-container label {
    padding-bottom: 0.5rem;
    font-weight: 600;
    display: block;
}

#bk-filter-keyword,
#bk-filter-category,
#bk-filter-days,
#bk-filter-hours {
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    box-sizing: border-box;
}

.bk-price-slider-wrapper {
    display: inline-block;
}

#bk-price-display {
    font-weight: 600;
}

#bk-results-count {
    background: var(--color-principal);
    color: #fff;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/*Ancho*/
.checkout-tour .container,
.confirmar-tour .container,
.pagar-tour .container {
    width: var(--size-general-content);
    margin: auto;
}

/*Breadcrumbs*/
.bk-breadcrumbs {
    color: var(--color-principal);
}

/*SINGLE TOUR*/
.bk-form-group {
    display: flex;
    flex-direction: column;
}

.bk-form-group textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.bk-video iframe {
    border-radius: 20px;
    width: 500px;
    height: 300px;
}

#bk_apply_coupon {
    border-radius: 5px;
}

/*CHECKOUT TOUR*/
.bk-box {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.bk-grid-2 {
    display: flex;
    gap: 1rem;
    margin-bottom: 10px;
}

.bk-grid-2>* {
    flex: auto;
}

.bk-full-btn {

    font-size: 1.2em;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    display: block;
}

.bk-field input,
.bk-field select {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.bk-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.bk-checkout-step {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.bk-tour-header {
    border: 1px solid #eee;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(0, 0, 15, 0.1);
}

.bk-form-checkout {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/*CONFIRMAR TOUR*/
.bk-pax-review {
    flex: 1;
}

/* FILTRO MOBILE OFF-CANVAS */
.bk-mobile-filter-toggle {
    display: none;
    background: var(--bk-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    align-items: center;
    gap: 8px;
}

.bk-filter-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.bk-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

/* Responsive */
@media (max-width: 992px) {
    .bk-mobile-filter-toggle {
        display: flex;
    }

    #bk-tour-filters {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        transition: right 0.3s ease;
        overflow-y: auto;
        margin: 0;
        border-radius: 0;
        padding: 60px 25px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        display: block;
        /* Force block in mobile to vertical stack */
    }

    #bk-tour-filters .bk-filter-row {
        flex-direction: column;
        gap: 20px;
    }

    #bk-tour-filters .bk-filter-close {
        display: block;
    }

    body.bk-filters-active {
        overflow: hidden;
    }

    body.bk-filters-active #bk-tour-filters {
        right: 0;
    }

    body.bk-filters-active .bk-filter-overlay {
        opacity: 1;
        visibility: visible;
    }

    .bk-tour-grid-single {
        display: block !important;
    }

    .bk-tour-main-content {
        width: 100% !important;
        min-width: 0 !important;
    }

    .bk-tour-hero {
        height: 45vh;
    }

    .bk-hero-content h1 {
        font-size: 2.2em;
    }

    .bk-hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    .bk-filter-actions {
        margin-top: 2rem;
    }
}

/* Lightbox Styles */
.bk-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.bk-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bk-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    object-fit: contain;
}

.bk-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.bk-lightbox-close:hover {
    color: #ccc;
}

/* TOUR GALLERY SLIDER */
.bk-gallery-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.bk-gallery-container.bk-slider-active .bk-gallery-slider-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.bk-gallery-container.bk-slider-active .bk-gallery-item {
    flex: 0 0 calc(100% / var(--bk-slides-per-view, 3));
    padding: 0 7.5px;
    box-sizing: border-box;
    transform: none !important;
    /* Disable hover scale in slider mode for performance */
}

.bk-gallery-container.bk-slider-active .bk-gallery-item img {
    height: 220px !important;
}

/* Slider Navigation */
.bk-slider-nav {
    display: none;
}

.bk-slider-active .bk-slider-nav {
    display: block;
}

.bk-slider-prev,
.bk-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    color: var(--bk-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bk-slider-prev:hover,
.bk-slider-next:hover {
    background: var(--bk-primary);
    color: #fff;
}

.bk-slider-prev {
    left: 5px;
}

.bk-slider-next {
    right: 5px;
}

.bk-slider-prev:disabled,
.bk-slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive Overrides for Slider */
/* Responsive Overrides for Slider - Dynamic calculation via --bk-slides-per-view */

.bk-lightbox-nav span {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    user-select: none;
    border-radius: 5px;
    transition: background 0.3s;
    line-height: 1;
}

.bk-lightbox-nav span:hover {
    background: rgba(0, 0, 0, 0.8);
}

.bk-lightbox-prev {
    left: -80px;
}

.bk-lightbox-next {
    right: -80px;
}

@media (max-width: 900px) {
    .bk-lightbox-prev {
        left: -50px;
    }

    .bk-lightbox-next {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .bk-lightbox-nav span {
        font-size: 30px;
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.5);
    }

    .bk-lightbox-prev {
        left: 0;
    }

    .bk-lightbox-next {
        right: 0;
    }

    .bk-lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* BREADCRUMBS */
.bookreatic-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9em;
}

.bk-bc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.bk-bc-item {
    display: inline-flex;
    align-items: center;
}

.bk-bc-item:not(:last-child)::after {
    content: "Â»";
    margin: 0 10px;
    color: #ccc;
}

.bk-bc-item a {
    text-decoration: none;
    color: inherit;
}

.bk-bc-item a:hover {
    text-decoration: underline;
}

.bk-bc-item:last-child {
    color: #666;
    font-weight: 500;
}

/* CATEGORY GRID */
.bookreatic-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bk-category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bk-category-card:hover {
    transform: translateY(-5px);
}

.bk-category-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.bk-category-image {
    position: relative;
    height: 100%;
    width: 100%;
}

.bk-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bk-category-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
}

.bk-category-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
}

.bk-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #fff;
}

.bk-category-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.bk-category-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ARCHIVE & SINGLE TEMPLATE REFINEMENTS */
.bk-archive-header {
    margin-bottom: 40px;
    text-align: center;
}

.bk-archive-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.bk-archive-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.bk-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.bk-results-info {
    font-size: 0.95em;
    color: #666;
}

.bk-results-info b,
.bk-results-info strong {
    color: #331 !important;
}

.bk-total-count {
    background: var(--bk-primary, #0073aa);
    color: #fff;
    padding: 2px 10px;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 5px;
}

.bk-results-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bk-results-sorting label {
    font-size: 0.9em;
    font-weight: 600;
}

.bk-results-sorting select {
    padding: 8px 30px 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.9em;
    cursor: pointer;
}

/* SINGLE TOUR HERO */
.bk-tour-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.bk-tour-hero .bk-container {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 5;
}

.bk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.bk-hero-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.bk-hero-content h1 {
    font-size: 3em;
    margin: 0 0 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bk-hero-cat {
    background: var(--bk-secondary, #f39c12);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 15px;
    display: inline-block;
    color: #fff;
}

.bk-hero-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.1em;
    flex-wrap: wrap;
}

.bk-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bk-hero-meta .dashicons {
    color: var(--bk-secondary, #f39c12);
}

.bk-tour-excerpt-box {
    background: #fdfdfd;
    border-left: 4px solid var(--bk-primary, #0073aa);
    padding: 20px;
    margin-bottom: 30px;
    font-style: italic;
    color: #555;
    font-size: 1.1em;
}

/* SINGLE DESTINO SPECIFIC */
.bk-hero-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.bk-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.bk-hero-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.bk-hero-section h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 3;
    color: #fff;
}

.bk-single-destino-wrapper .bk-row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.bk-col-main {
    flex: 2;
    min-width: 300px;
    padding: 15px;
}

.bk-col-sidebar {
    flex: 1;
    min-width: 300px;
    padding: 15px;
}

.bk-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.bk-data-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* ATTACHED DOC */
.bk-attached-doc {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bk-doc-info {
    display: flex;
    align-items: center;
}

.bk-doc-icon {
    font-size: 40px;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    color: #3182ce;
}

/* MAP */
.bk-map-container {
    overflow: hidden;
    border-radius: 4px;
}

.bk-map-container iframe {
    width: 100%;
    vertical-align: middle;
}

/* BREADCRUMBS OVERRIDE FOR TEMPLATES */
.bk-breadcrumbs-inline {
    margin-bottom: 30px;
    font-size: 0.9em;
    color: #777;
}

.bk-bc-active {
    font-weight: 500;
    color: var(--bk-primary, #0073aa);
}

/* TOUR DETAIL SECTIONS */
.bk-section {
    margin-bottom: 40px;
}

.bk-section h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    color: #333;
}

/* ITINERARY */
.bk-itinerary-timeline {
    position: relative;
    padding-left: 50px;
}

.bk-itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.bk-itinerary-item {
    position: relative;
    margin-bottom: 30px;
}

.bk-itinerary-number {
    position: absolute;
    left: -50px;
    top: 0;
    z-index: 2;
}

.bk-itinerary-number span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bk-primary, #0073aa);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1em;
    border: 4px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bk-itinerary-info {
    background: #fff;
    padding: 2px 0 10px 10px;
}

.bk-itinerary-info h3 {
    margin: 0 0 5px;
    font-size: 1.3em;
}

.bk-item-duration {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 10px;
}

.bk-item-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.bk-itinerary-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin-top: 15px;
}

/* TABS SECTIONS (Includes/Recommendations) */
.bk-tabs-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.bk-tab-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.bk-tab-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.bk-tab-content h3 .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* VIDEO CONTAINER */
.bk-video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bk-video-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

@media (max-width: 768px) {
    .bk-video-container iframe {
        height: 250px;
    }

    .bk-hero-content h1 {
        font-size: 2em;
    }
}



/* RESPONSIVE TABLES */
.bk-tour-main-content table,
.bk-tabs-section table,
.bk-tab-box table,
.tabla-scroll table {
    width: 100% !important;
    border-collapse: collapse;
    margin-bottom: 20px;
}

@media (max-width: 992px) {

    .bk-tour-main-content table,
    .bk-tabs-section table,
    .bk-tab-box table,
    .tabla-scroll {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Asegurar que las celdas no se compriman demasiado */
    .bk-tour-main-content table td,
    .bk-tabs-section table td,
    .bk-tab-box table td,
    .tabla-scroll table td {
        min-width: 120px;
    }
}