header .elementor-nav-menu .sub-menu .highlighted.menu-item a { color: #4ca626 !important; font-weight: 600!important; border-top: 1px solid #eee!important; }
header .elementor-nav-menu .sub-menu { min-width:235px!important; }

/* Gallery page */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 22px!important;
    border: 2px solid #eee;
    border-radius: 50px!important;
    background: #fff!important;
    font-family: 'Inter', sans-serif;
    font-size: 13px!important;
    font-weight: 600!important;
    color: #777!important;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover {
    border-color: #4ca626!important;
    color: #4ca626!important;
}
.filter-btn.active {
    background: #4ca626!important;
    border-color: #4ca626!important;
    color: #fff!important;
}
.gallery-card { border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.gallery-img-wrap { position: relative; aspect-ratio: 1200 / 770; overflow: hidden; cursor: pointer; }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-img-wrap:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-img-wrap:hover .gallery-overlay {
    opacity: 1;
}
.gallery-tour-name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}
.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4ca626;
    font-size: 13px;
    font-weight: 600;
}
.gallery-link:hover {
    color: #fff;
}

img.elementor-lightbox-image { border-radius:8px!important; }

/* Build Package */
.builder-selected-wa.disabled .elementor-button { background-color: #3a4a5a!important; border-color: #3a4a5a !important; pointer-events: none; opacity: .6; }
.builder-selected-email.disabled .elementor-button { background-color: #3a4a5a!important; border-color: #3a4a5a !important; pointer-events: none; opacity: .6; }

/* Sitemap */
.e-loop-item .sitemap-tour-number { min-width:28px!important; }
.e-loop-item .sitemap-tour-number .elementor-heading-title { word-break: normal; }

/* Tour Video gallery */
.gallery-grid.el-shortcode {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.el-shortcode .gallery-item {
    aspect-ratio: 670 / 430;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
.el-shortcode .gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.el-shortcode .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.el-shortcode .gallery-item .gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.el-shortcode .gallery-item video { width:100%; height:100%; object-fit:cover; display:block; }

/* Builder Page */
.build-pax-button .elementor-button { cursor: pointer; }
.build-pax-button.active .elementor-button {
    background-color: var( --e-global-color-accent )!important;
    color: #fff!important;
    border-color: var( --e-global-color-accent )!important;
}
.builder-tour-price-wrap .tour-price {
    font-weight: 800;
    color: var( --e-global-color-cdb8627 );
    font-size: 15px;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
}
.builder-tour-item { cursor: pointer; }
.tour-checkbox-wrap input {
    width: 20px;
    height: 20px;
    accent-color: #4ca626;
    flex-shrink: 0;
    cursor: pointer;
}
.builder-tour-item.active { background: #edf7e1!important; border-color: #4ca626!important; }
.tour-checkbox-wrap:before { content: '';
    width: 100%;
    height: 100%;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5; }

/* Bali Guide pages */
.season-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
table.season-table tbody>tr:nth-child(odd)>td, table.season-table tbody>tr:nth-child(odd)>th {
    background-color: #F9FDF5;
}
table.season-table.beige tbody>tr:nth-child(odd)>td, table.season-table.beige tbody>tr:nth-child(odd)>th {
    background-color: transparent;
}
.season-table thead th {
    background: #1E2A38;
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    border-left: none;
    border-right: none;
}
.season-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: middle;
    border-left: none;
    border-right: none;
}
table.season-table tbody>tr:nth-child(even):hover>td, table.season-table tbody>tr:nth-child(even):hover>th,
table.season-table tbody>tr:nth-child(odd):hover>td, table.season-table tbody>tr:nth-child(odd):hover>th,
.season-table tbody tr:hover {
    background: #f0f7e6;
}
table.season-table.beige tbody>tr:nth-child(even):hover>td, table.season-table.beige tbody>tr:nth-child(even):hover>th,
table.season-table.beige tbody>tr:nth-child(odd):hover>td, table.season-table.beige tbody>tr:nth-child(odd):hover>th,
.season-table.beige tbody tr:hover {
    background: #fff3e0;
}
.season-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}
.badge-wet {
    background: #e3f2fd;
    color: #1565c0;
}
.badge-transition {
    background: #fff8e1;
    color: #f57f17;
}
.badge-dry {
    background: #e8f5e0;
    color: #3d7a0a;
}
.badge-best {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    background: #e8f5e0;
    color: #3d7a0a;
}
.season-table.beige .badge-best {
    background: #fff3e0;
    color: #e67e22;
}
.season-table.season-table.compare-table tbody td { font-size:13px; }
.elementor-widget-text-editor ul { margin-left: -20px; }
.season-table.phrase-table tbody td:nth-child(2) { font-style: italic; color: #4ca626; font-weight: 500; }

.newsletter-form .mc4wp-form-fields { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 20px; border: 2px solid rgba(255, 255, 255, 0.15); border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff;
font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; }
.newsletter-form input:focus { border-color: #4ca626; box-shadow:none; }
.elementor-page .newsletter-form button { padding: 14px 28px; background: #4ca626; color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.elementor-page .newsletter-form button:hover { background: #5f9230; }
.newsletter-form .mc4wp-error { margin-top: 10px; color: #ff6f6f; text-align: center; }

@media (max-width: 1024px) {
    header .primary-nav .elementor-nav-menu .menu-item { padding: 4px 2px; border-top: 1px solid #3a434c!important; }
    header .primary-nav .elementor-nav-menu .menu-item a { color:#fff!important; background-color:transparent!important; }
    header .primary-nav .elementor-nav-menu .menu-item .sub-menu .highlighted.menu-item a { border-top: 1px solid #3a434c!important; }
    header .primary-nav .elementor-nav-menu { padding:0 20px; z-index:100; background-color:#272F37!important; margin: 0; }
    header .primary-nav .elementor-nav-menu .sub-menu { z-index:100; background-color:#1f2a33!important; padding:0 10px; }
    header .primary-nav .elementor-nav-menu .sub-menu .menu-item a { font-size:14px!important; }
    header .primary-nav .elementor-nav-menu .sub-menu .highlighted.menu-item a { color: #fff !important; font-weight: 500!important; border-top: 1px solid #eee!important; }
    
}
@media (max-width: 768px) {
    .gallery-grid.el-shortcode { grid-template-columns: 1fr 1fr; }
    table.season-table { width: 100% !important; table-layout: fixed; border-collapse: collapse; }
    table.season-table td, table.season-table th {
        padding: 9px 7px !important;
        font-size: 12.5px !important;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}