/* SECCIÓN: HERO SECTION */
.tour-hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(15, 10, 5, 0.25) 0%,
        rgba(30, 18, 5, 0.40) 50%,
        rgba(10, 6, 2, 0.55) 100%
    );
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content {
    text-align: left;
    color: white;
    width: 100%;
}

.hero-badge {
    margin-bottom: 20px;
    display: inline-block;
}

.hero-badge img {
    max-width: 30px;
    height: auto;
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-price {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: white;
}

.hero-price .price-highlight {
    color: #D2A44D;
    font-weight: 700;
    -webkit-text-stroke: 4px white;
    paint-order: stroke fill;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.15;
        margin: 0 0 12px 0;
    }
    .hero-price {
        font-size: 22px;
        margin: 0 0 15px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.15;
        margin: 0 0 10px 0;
    }
    .hero-price {
        font-size: 22px;
        margin: 0 0 12px 0;
    }
    .hero-content {
        padding: 50px 0 30px 0;
    }
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: white;
}

.meta-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.meta-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .meta-item {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .meta-item {
        font-size: 16px;
    }
}

.hero-buttons {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  position: absolute;
  bottom: 0px;
  left: 60px;
  width: auto;
}

.hero-btn {
  display: block;
  width: 100px;
  height: 100px;
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s ease;
  box-shadow: none;
  flex-shrink: 0;
}

.hero-btn:nth-child(1) {
  background-color: #D13138;
  border-radius: 20px 0 0 0;
}

.hero-btn:nth-child(2) {
  background-color: #D13138;
  border-radius: 0;
}

.hero-btn:nth-child(3) {
  background-color: #D2A44D;
  border-radius: 0 20px 0 0;
}

.hero-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 25px;
}

.hero-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero-buttons {
    left: 20px;
  }
  
  .hero-btn {
    width: 80px;
    height: 80px;
  }
  
  .hero-btn img {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    left: 20px;
  }
  
  .hero-btn {
    width: 70px;
    height: 70px;
  }
  
  .hero-btn:nth-child(1),
  .hero-btn:nth-child(3) {
    border-radius: 15px 0 0 0;
  }
  
  .hero-btn:nth-child(3) {
    border-radius: 0 15px 0 0;
  }
  
  .hero-btn img {
    padding: 12px;
  }
}

/* SECCIÓN: RESUMEN DE VIAJE */
.tour-resume-section {
    background: #F5F5F5;
    padding: 50px 20px;
    margin-bottom: 0;
}

.resume-container {
    max-width: 1200px;
    margin: 0 auto;
}

.resume-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px 0;
    text-align: left;
    border-bottom: 3px solid #D13138;
    display: inline-block;
}

.resume-icons-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
    margin: 0 auto;
}

.resume-icon-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    text-align: left;
    background: transparent;
    position: relative;
}

.resume-icon-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: #CCCCCC;
}

.icon-image {
    width: 70px;
    flex-shrink: 0;
}

.icon-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.icon-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.icon-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .icon-image {
    width: 60px;
    flex-shrink: 0;
    }
    
    .resume-icons-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .resume-icon-item {
        padding: 0;
        border-right: none;
    }

    .resume-icon-item:not(:last-child)::after {
        display: none;
    }

    .resume-icon-item:nth-child(odd) {
        padding-right: 10px;
        border-right: 1px solid #CCCCCC;
    }
}

@media (max-width: 480px) {
    .icon-image {
    width: 50px;
    flex-shrink: 0;
    }
    
    .resume-icons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .resume-icon-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }
}

/* SECCIÓN: LAYOUT 70/30 */
.tour-two-column-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 40px;
    align-items: start;
}

.tour-main-content {
    min-width: 0;
}

.tour-sidebar-sticky {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.tour-concept-section {
    background: #fff;
    padding: 2px;
    border-radius: 4px;
    margin-bottom: 25px;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.tour-concept-section p {
    margin-bottom: 12px;
}

.tour-places-list {
    background: transparent;
    padding: 0;
    margin-bottom: 25px;
}

.place-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.place-item:last-child {
    border-bottom: none;
}

.place-arrow {
    width: 16px;
    height: 16px;
    color: #D13138;
    flex-shrink: 0;
    margin-top: 2px;
}

.tour-highlight {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 30px;
}

.tour-highlight p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
/* SECCIÓN: 30% */
.booking-tour-header {
    padding: 5px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.booking-tour-title {
    font-size: 15px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0px 0px 0px 0px;
    line-height: 1.35;
}

.booking-tour-price {
    margin: 0;
    letter-spacing: 0.03em;
}

.booking-price-highlight {
    color: #D13138;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.01em;
}

/* SECCIÓN: GALERÍA 4 IMÁGENES */
.tour-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.2);
    z-index: 1;
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::before {
    background: rgba(51, 51, 51, 0.4);
}

.gallery-item img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    z-index: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* SECCIÓN: LIGHTBOX  */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeInLightbox 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
}

@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.lightbox-close:hover {
    color: #D13138;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
    line-height: 1;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(209, 49, 56, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-content img {
        max-width: 95vw;
        max-height: 85vh;
        border-radius: 4px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px;
        z-index: 1;
    }
}

.booking-form-container {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.booking-placeholder {
    text-align: center;
    color: #999;
}

/* SECCIÓN: SISTEMA DE TABS */
.tour-tabs-container {
    margin-bottom: 0;
}

.tabs-navigation-wrapper {
    position: relative;
    margin-bottom: 30px;
    border-bottom: 2px solid #8D8D8D;
}

.tabs-navigation {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #D13138 #8D8D8D;
}

.tab-button {
    flex: 0 0 auto;
    padding: 12px 10px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #8d8d8d;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    color: #D13138;
    background: rgba(240, 173, 78, 0.05);
}

.tab-button.active {
    color: #D13138;
    border-bottom-color: #D13138;
    background: rgba(240, 173, 78, 0.1);
}

.tabs-content {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #8D8D8D;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-inner {
    line-height: 1.8;
    color: #333;
}

.itinerary-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.itinerary-day {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.itinerary-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    background: #e6e6e6;
    user-select: none;
    list-style: none;
}

.itinerary-summary::-webkit-details-marker {
    display: none;
}

.itinerary-summary:hover {
    background: #ddd;
}

.itinerary-day[open] .itinerary-summary {
    background: #D13138;
    color: #fff;
}

.day-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.day-info {
    flex: 1;
    font-size: 16px;
}

.expand-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.itinerary-day[open] .expand-icon {
    transform: rotate(180deg);
}

.itinerary-content {
    padding: 20px;
    background: #fff;
    border-top: 2px solid #D13138;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fafafa;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: #D13138;
    color: #fff;
}

.faq-item[open] .faq-question {
    background: #D13138;
    color: #fff;
}

.faq-answer {
    padding: 16px 20px;
    background: #fff;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        padding: 150px 20px 300px 20px;
    }

    .hero-buttons {
        left: 20px;
        bottom: 0px;
    }
  
    .hero-btn {
        width: 80px;
        height: 80px;
    }
  
    .hero-btn img {
        padding: 15px;
    }
    
    .resume-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tour-two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tour-sidebar-sticky {
        position: static;
        order: 2;
    }

    .tour-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
  .hero-content-wrapper {
    padding: 150px 20px 300px 20px;
  }
  
  .hero-buttons {
    left: 20px;
    bottom: 0px;
  }
  
  .hero-btn {
    width: 70px;
    height: 70px;
  }
  
  .hero-btn:nth-child(1),
  .hero-btn:nth-child(3) {
    border-radius: 15px 0 0 0;
  }
  
  .hero-btn:nth-child(3) {
    border-radius: 0 15px 0 0;
  }
  
  .hero-btn img {
    padding: 12px;
  }
}

@media (max-width: 480px) {
    .tour-hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .resume-title {
        font-size: 24px;
    }

    .resume-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tour-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tour-resume-section {
        padding: 30px 15px;
    }

    .tour-two-column-layout {
        padding: 20px 15px 40px;
    }

    .tabs-content {
        padding: 20px 15px;
    }
}

/* SECCIÓN: GALERÍA 8 IMÁGENES */
.tour-gallery-extended {
    margin-top: 40px;
    margin-bottom: 0;
}

.tour-gallery-extended .gallery-item {
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .tour-gallery-extended {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tour-gallery-extended {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* SECCIÓN: MOVER FORMULARIO DE RESERVAS EN MÓVIL */
@media (max-width: 480px) {
    .tour-two-column-layout {
        display: block;
    }
    
    .tour-sidebar-sticky {
        display: none;
    }
    
    .booking-form-mobile-placeholder {
        display: block;
        margin: 30px 0;
        order: 2;
    }
    
    .booking-form-mobile-placeholder::before {
        content: '';
        display: block;
    }
    
    .tour-main-content {
        position: relative;
    }
}

@media (min-width: 481px) {
    .booking-form-mobile-placeholder {
        display: none;
    }
}

/* SECCIÓN: VIDEO + MAPA */
.hero-video-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 999999999 !important;
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s ease;
}

.hero-video-modal.active {
    display: flex !important;
}

.hero-map-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 999999999 !important;
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s ease;
}

.hero-map-modal.active {
    display: flex !important;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-modal-content {
    position: relative;
    width: 85%;
    max-width: 1100px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.9);
    z-index: 999999999;
    margin: 40px;
}

.video-modal-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-modal-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999999999;
    line-height: 1;
    padding: 8px 12px;
    width: auto;
    height: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    color: #fff;
    background: #D13138;
    transform: scale(1.1);
}

.map-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    z-index: 999999999;
}

.map-modal-content img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.video-modal-close,
.map-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 40px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 999999999;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.video-modal-close:hover,
.map-modal-close:hover {
    color: #D13138;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 92%;
        margin: 20px;
        max-width: none;
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
        padding: 6px 10px;
    }
    
    .map-modal-close {
        top: -40px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .video-modal-close {
        top: 8px;
        right: 8px;
        font-size: 24px;
        padding: 5px 8px;
    }
}

body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
}

body.modal-open .ct-header,
body.modal-open header,
body.modal-open nav,
body.modal-open [data-id="header"] {
    z-index: 9999 !important;
    position: relative !important;
}

.hero-video-modal,
.hero-map-modal,
.hero-video-modal *,
.hero-map-modal * {
    z-index: 999999999 !important;
}

body.modal-open * {
    z-index: auto;
}

body.modal-open .hero-video-modal,
body.modal-open .hero-map-modal {
    z-index: 999999999 !important;
}

.resume-cities {
    font-size: 15px;
    color: #555;
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SECCIÓN: BOOKING FORM */
.booking-form-container .woocommerce-product-gallery,
.booking-form-container figure.woocommerce-product-gallery,
.booking-form-container .product_title,
.booking-form-container h1.product_title,
.booking-form-container .woocommerce-product-rating,
.booking-form-container .product_meta,
.booking-form-container .woocommerce-tabs,
.booking-form-container .related,
.booking-form-container .up-sells,
.booking-form-container .woocommerce-breadcrumb,
.booking-form-container .woocommerce-product-details__short-description,
.booking-form-container .ct-product-divider,
.booking-form-container .woocommerce-notices-wrapper,
.booking-form-container p.price,
.booking-form-container span.price,
.booking-form-container #wc-bookings-booking-cost-div {
    display: none !important;
}
.booking-form-container #required_addons_validation_message,
.booking-form-container .on_message.validation_message,
.booking-form-container .woocommerce-info:has(svg),
.booking-form-container div[id="required_addons_validation_message"] {
    display: none !important;
}
.booking-form-container .wcbis-button-wrap,
.booking-form-container .wcbis-button,
.booking-form-container .woocommerce-back-in-stock-notifications,
.booking-form-container [class*="wcbis"],
.booking-form-container [class*="back-in-stock"] {
    display: none !important;
}

.booking-form-container {
    background: #fff;
    border-radius: 6px;
    border: 2px solid #D13138 !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.09);
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.booking-form-container div.product,
.booking-form-container .product-entry-wrapper,
.booking-form-container .entry-summary,
.booking-form-container div.summary,
.booking-form-container .summary.entry-summary,
.booking-form-container .entry-summary-items,
.booking-form-container .ct-product-add-to-cart {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.booking-form-container .wc-bookings-booking-form::before {
    content: "Reserva este Tour";
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: #D13138 !important;
    padding: 6px 16px !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    margin-bottom: 0 !important;
}

.booking-form-container input#wc_bookings_field_persons_2433,
.booking-form-container input#wc_bookings_field_persons_2434,
.booking-form-container input#wc_bookings_field_persons_2439,
.booking-form-container .wc-bookings-booking-form input[type="number"] {
    height: 19px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.booking-form-container .wc-bookings-booking-form {
    padding: 8px 10px 0px !important;
    text-align: center !important;
}

.booking-form-container #wc-bookings-booking-form,
.booking-form-container .wc-bookings-booking-form {
    margin-bottom: 1px !important;
}

.booking-form-container span.wc-pao-addon-price {
    display: none !important;
}

.booking-form-container .wc-bookings-booking-form .form-field {
    display: inline-block !important;
    width: 22% !important;
    margin: 4px 2% 4px !important;
    padding: 0 !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.booking-form-container .wc-bookings-booking-form .form-field label {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #666 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 2px !important;
    display: block !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.booking-form-container .wc-bookings-booking-form input[type="number"] {
    width: 100% !important;
    padding: 4px 2px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    color: #333 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.booking-form-container .wc-bookings-booking-form input[type="number"]:focus {
    border-color: #D13138 !important;
    outline: none !important;
}

.booking-form-container fieldset.wc-bookings-date-picker {
    text-align: left !important;
}

.booking-form-container .wc-bookings-date-picker .ui-datepicker {
    width: 100% !important;
    font-size: 11px !important;
    box-sizing: border-box !important;
}

.booking-form-container .wc-bookings-date-picker .ui-datepicker-header {
    background: #D2A44D !important;
    color: #fff !important;
    padding: 0px 0px !important;
    border: none !important;
    border-radius: 0 !important;
    line-height: 1.2 !important;
}

.booking-form-container .wc-bookings-date-picker .ui-datepicker-title {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
}

.booking-form-container .wc-bookings-date-picker .ui-datepicker-prev,
.booking-form-container .wc-bookings-date-picker .ui-datepicker-next {
    color: #fff !important;
    top: 3px !important;
}

.booking-form-container .wc-bookings-date-picker table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.booking-form-container .wc-bookings-date-picker th {
    padding: 3px 0 !important;
    font-size: 9px !important;
    color: #888 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.booking-form-container .wc-bookings-date-picker td {
    padding: 1px 0px !important;
    text-align: center !important;
}

.booking-form-container .wc-bookings-date-picker td span,
.booking-form-container .wc-bookings-date-picker td a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    font-size: 10px !important;
    border-radius: 3px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    aspect-ratio: unset !important;
}

.booking-form-container .wc-bookings-date-picker td a.bookable {
    background: #f0ad4e !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.booking-form-container .wc-bookings-date-picker td a.bookable:hover,
.booking-form-container .wc-bookings-date-picker td a.ui-state-active {
    background: #D13138 !important;
}

.booking-form-container p.wc-bookings-date-picker-timezone-info {
    font-size: 9px !important;
    color: #ccc !important;
    text-align: center !important;
    margin: 1px 0 2px !important;
    padding: 0 !important;
}

.booking-form-container .wc-bookings-booking-cost {
    display: block !important;
    padding: 4px 10px !important;
    margin: 0 !important;
    background: transparent !important;
    font-size: 9px !important;
    color: #444 !important;
    line-height: 1.5 !important;
}

.booking-form-container .wc-bookings-booking-cost-string {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #444 !important;
}

.booking-form-container .wc-bookings-booking-cost strong,
.booking-form-container .wc-bookings-booking-cost bdi,
.booking-form-container .wc-bookings-booking-cost .amount {
    display: inline !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #D13138 !important;
}

.booking-form-container .woocommerce-product-addons {
    padding: 4px 10px !important;
    background: transparent !important;
    margin: 0 !important;
}

.booking-form-container .woocommerce-product-addons::before,
.booking-form-container span[data-id="divider_2"],
.booking-form-container span.ct-product-divider {
    display: none !important;
}

.booking-form-container fieldset.wc-pao-fieldset {
    border: none !important;
    padding: 4px 0 0 !important;
    margin: 0 !important;
}

.booking-form-container legend.wc-pao-addon-name {
    font-size: 8px !important;
    font-weight: 700 !important;
    color: #D13138 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding: 0 0 0px !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
}

.booking-form-container .form-row.wc-pao-addon-wrap {
    display: flex !important;
    gap: 2px 6px !important;
    padding: 0 !important;
    margin: 0 0 0px !important;
}

.booking-form-container .wc-pao-addon-wrap > div {
    width: 45% !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 1px 0 !important;
    margin: 0 !important;
}

.booking-form-container .wc-pao-addon-wrap > div label {
    width: auto !important;
    font-size: 10px !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: normal !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.booking-form-container .wc-pao-addon-wrap input[type="radio"],
.booking-form-container .wc-pao-addon-wrap input[type="checkbox"] {
    accent-color: #D13138 !important;
    flex-shrink: 0 !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
}

.booking-form-container .wc-pao-addon {
    padding: 0px 10px !important;
    margin: 0 !important;
    background: transparent !important;
    border-top: none !important;
}

.booking-form-container #product-addons-total {
    display: block !important;
    padding: 4px 10px !important;
    margin: 0 !important;
    background: transparent !important;
    border-top: none !important;
}

.booking-form-container #product-addons-total ul {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.booking-form-container #product-addons-total ul li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 9px !important;
    line-height: 1.5 !important;
    padding: 1px 0 !important;
    color: #333 !important;
}

.booking-form-container #product-addons-total ul li:first-child {
    display: none !important;
}

.booking-form-container #product-addons-total .wc-pao-col1 {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #444 !important;
    flex: 1 !important;
}

.booking-form-container #product-addons-total .wc-pao-col2 {
    font-size: 9px !important;
    color: #D13138 !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.booking-form-container #product-addons-total .wc-pao-col2 span,
.booking-form-container #product-addons-total .wc-pao-col2 strong {
    font-size: 9px !important;
    color: #D13138 !important;
}

.booking-form-container #product-addons-total .wc-pao-subtotal-line {
    border-top: 1px dashed #eee !important;
    padding-top: 2px !important;
    margin-top: 2px !important;
}

.booking-form-container .woocommerce-variation-availability,
.booking-form-container .stock {
    padding: 4px 10px !important;
    font-size: 9px !important;
    margin: 0 !important;
}

/* SECCIÓN: BOTÓN VER CARRITO */
.booking-form-container form.cart {
    padding: 0 !important;
    margin: 0 !important;
}

.booking-form-container .ct-product-add-to-cart {
    position: relative !important;
}

.booking-form-container .single_add_to_cart_button {
    background: #D13138 !important;
    color: #fff !important;
    border: none !important;
    width: 100% !important;
    padding: 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

.booking-form-container .single_add_to_cart_button:hover {
    background: #b02830 !important;
}

.booking-form-container .single_add_to_cart_button.disabled,
.booking-form-container .single_add_to_cart_button[disabled] {
    width: 100% !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.booking-form-container .single_add_to_cart_button {
    padding: 6px !important;
}

.booking-form-container a.added_to_cart.wc-forward {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 34% !important;
    padding: 10px 4px !important;
    background: #444 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
    border-left: 1px solid rgba(255,255,255,0.2) !important;
    transition: background 0.2s !important;
}

.booking-form-container a.added_to_cart.wc-forward:hover {
    background: #555 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.wc-bookings-booking-form {
  border: none !important;
}

.booking-form-container .wc-bookings-booking-form {
    padding: 0px 0px !important;
}

.wc-bookings-booking-form .form-field {
    margin: 5px 0 5px !important;
}

fieldset {
    border: none !important;
}

.wc-bookings-booking-form fieldset {
    margin: 0px !important;
    }

.wc-bookings-date-picker {
    padding: 0px 15px !important;
    padding-top: 0px !important;
}

/* PORCENTAJES DE RESERVA */
.booking-form-container .wc-deposits-wrapper {
  margin: 0px 0 !important;
  padding: 0px 0px!important;
  border-radius: 4px !important;
}

.booking-form-container .wc-deposits-option {
  display: flex !important;
  gap: 6px !important;
  list-style: none !important;
  padding: 0px 8px!important;
  margin: 0 !important;
}

.booking-form-container .wc-deposits-option li {
  float: none !important;
  width: auto !important;
  flex: 1 !important;
  border: 1.5px solid #ccc !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 4px 8px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  cursor: pointer !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.booking-form-container .wc-deposits-option li:has(input:checked) {
  border-color: #D13138 !important;
  background: #fff0f0 !important;
}

.booking-form-container .wc-deposits-option li input[type="radio"] {
  accent-color: #D13138 !important;
  width: 12px !important;
  height: 12px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.booking-form-container .wc-deposits-option li label {
  font-size: 11px !important;
  color: #444 !important;
  font-weight: 600 !important;
  margin: 0 !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
}

.booking-form-container .wc-deposits-payment-description {
  font-size: 10px !important;
  color: #888 !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.booking-form-container .wc-deposits-option li:last-child {
  float: none !important;
}

/* prev - next */
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev,
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-next {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev:hover,
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-next:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev .ui-icon,
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-next .ui-icon,
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev span,
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-next span {
    color: #ffffff !important;
    filter: brightness(0) invert(1) !important; /* Fuerza el ícono a blanco */
}

.wc-bookings-date-picker .ui-icon-circle-triangle-w,
.wc-bookings-date-picker .ui-icon-circle-triangle-e {
    filter: brightness(0) invert(1) !important;
}
