/*
 * Small, hand-maintained overrides on top of the vendor theme (style.css).
 * Kept in its own file instead of editing style.css directly so theme
 * updates don't clobber these fixes.
 */

/*
 * .destination-post .content is a single-row flex pill (title + tour count)
 * per the original theme markup. Once destinations started showing a review
 * rating, a third child (.rating) got added to that same row, which starved
 * the title's flex width and made the title text visually overlap the tour
 * count next to it. Force the rating onto its own row above instead.
 */
.destination-post .content {
    flex-wrap: wrap;
    row-gap: 4px;
}

.destination-post .content .rating {
    flex: 0 0 100%;
}

/*
 * .rating .rate is styled `width: 100%; justify-content: center;` in the
 * vendor CSS, which centers "4.6 (14)" within .rating's own box. That's
 * invisible when .rating hugs its content, but now that .rating spans the
 * full card width above, it left the number stranded in the middle of the
 * row instead of sitting next to the stars. Pull it back to the start.
 */
.destination-post .content .rating .rate {
    width: auto;
    justify-content: flex-start;
}

/*
 * Faz 7.1: the Turlar/Tekneler tab toggle shown on city-scoped tour/boat
 * listing pages (/turlar/{country}/{city} and /tekneler/{country}/{city}).
 */
.city-type-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #f4f2ec;
    border-radius: 14px;
    padding: 5px;
    margin: 16px auto 0;
    width: fit-content;
}

.city-type-tabs::-webkit-scrollbar {
    display: none;
}

.city-type-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: .5rem 1.25rem;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

a.city-type-tab:hover {
    color: var(--heading-color);
}

.city-type-tab.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(36, 39, 44, .1);
}

/*
 * Faz 7.4: struck-through original price next to the sale price on tour/boat
 * cards, shown only when a discount badge (-X%) is also displayed.
 */
.card-old-price {
    color: var(--place-holder);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 14px;
    margin-right: 6px;
}

/*
 * Faz 7.3: SEO intro paragraph + the two horizontal strips (popular
 * items, reviews) shown on city-scoped tour/boat listing pages.
 */
.city-seo-intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/*
 * .city-review-card reuses the same inner markup as tours/show.blade.php's
 * .review-item (rating stars, name, comment) but wraps it in its own boxed
 * card since here it sits inside a swiper-slide instead of a stacked list.
 */
.city-review-card {
    height: 100%;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(36, 39, 44, .08);
}

.city-review-subject {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--primary-color);
}

/*
 * Header widening & header search bar next to logo (SPUTNIK style)
 */
.header .header-container {
    width: 100%;
    max-width: 1760px;
    padding-left: 28px;
    padding-right: 28px;
    margin-left: auto;
    margin-right: auto;
}

.header-ct-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search-box {
    position: relative;
    width: 320px;
}

.header-search-form {
    position: relative;
    width: 100%;
}

.header-search-input-wrap {
    position: relative;
    width: 100%;
}

.header-search-input-wrap .header-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--place-holder, #888888);
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.header-search-field {
    width: 100%;
    height: 42px;
    padding-left: 44px !important;
    padding-right: 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    background: #f7f7f8;
    color: var(--heading-color, #1a1a1a);
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.header-search-field:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(235, 103, 43, 0.15);
}

.header-search-field:focus ~ .header-search-icon,
.header-search-input-wrap:focus-within .header-search-icon {
    color: var(--primary-color);
}

/*
 * Destination Search Panel (Dropdown) - Shared for Hero & Header Search
 */
.destination-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 9999;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(36, 39, 44, 0.2);
    padding: 1.25rem;
    max-height: 500px;
    overflow-y: auto;
    text-align: left;
    width: 100%;
}

.header-search-box .destination-search-panel {
    width: 480px;
}

.destination-search-section {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--stoke-color, #e5e7eb);
}

.destination-search-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.destination-search-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color, #1a1a1a);
    margin-bottom: 10px;
}

.destination-search-section-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #eb672b);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.destination-search-section-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.destination-search-chip-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 .5rem;
    padding: 0;
}

.destination-search-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--stoke-color, #e5e7eb);
    color: var(--heading-color, #1a1a1a);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: #ffffff;
    transition: border-color .2s ease, background-color .2s ease;
}

.destination-search-chip:hover {
    border-color: var(--primary-color, #eb672b);
    background: #fbf6ec;
}

.destination-search-heading {
    font-weight: 600;
    font-size: 13px;
    color: var(--place-holder, #888888);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .5rem;
}

.destination-search-list,
.destination-search-popular {
    list-style: none;
    margin: 0 0 .5rem;
    padding: 0;
}

.destination-search-list li a,
.destination-search-popular li a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem;
    border-radius: 10px;
    color: var(--heading-color, #1a1a1a);
    text-decoration: none;
    transition: background-color .2s ease;
}

.destination-search-list li a:hover,
.destination-search-popular li a:hover {
    background: #f7f4ee;
}

.destination-search-list li a img,
.destination-search-popular li a img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.destination-search-list li a span:first-of-type,
.destination-search-popular li a span:first-of-type {
    flex: 1;
}

.destination-search-count {
    color: var(--place-holder, #888888);
    font-size: 13px;
    white-space: nowrap;
}

.destination-search-popular li a span:first-of-type {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.destination-search-popular .rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    flex-shrink: 0;
}

.destination-search-popular .rating .list-star {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.destination-search-popular .rating .list-star .icon,
.destination-search-popular .rating .list-star li {
    color: #ffb800 !important;
    font-size: 13px;
}

.destination-search-popular .rating .list-star .icon-star-o {
    color: #d1d5db !important;
}

.destination-search-popular .rating .rate {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--heading-color, #1a1a1a);
}

.destination-search-popular .rating .rate .total-rate {
    font-weight: 600;
}

.destination-search-popular .rating .rate .review {
    color: var(--place-holder, #888888);
}

.destination-search-popular .price {
    font-weight: 600;
    color: var(--primary-color, #eb672b);
    white-space: nowrap;
    flex-shrink: 0;
}

.destination-search-all-link {
    display: block;
    text-align: center;
    padding: .5rem;
    border-top: 1px solid var(--stoke-color, #e5e7eb);
    margin-top: .5rem;
    color: var(--primary-color, #eb672b);
    font-weight: 600;
    text-decoration: none;
}

.destination-search-empty {
    color: var(--place-holder, #888888);
    padding: .5rem;
    margin: 0;
}

.destination-search-results .destination-search-heading {
    margin-top: 1rem;
}

.destination-search-results .destination-search-heading:first-child {
    margin-top: 0;
}

@media (max-width: 1400px) {
    .header-search-box {
        width: 280px;
    }
    .header-search-box .destination-search-panel {
        width: 420px;
    }
}

@media (max-width: 1200px) {
    .header-search-box {
        width: 240px;
    }
    .header-search-box .destination-search-panel {
        width: 380px;
    }
}

@media (max-width: 991px) {
    .header .header-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    /* Hide search box in main top bar on mobile (placed inside hamburger menu instead) */
    .header-ct-left .header-search-box {
        display: none !important;
    }
    .header .header-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header-ct-right {
        gap: 10px !important;
    }
    .wrap-login-menu {
        gap: 8px;
    }
    .desktop-only-login {
        display: none !important;
    }
    .mobile-hide-text {
        display: none !important;
    }
    .lang-curr-trigger-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    .toggle-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 6px;
        color: #1e293b;
        transition: transform 0.2s ease, color 0.2s ease;
    }
    body:has(.page-title-city-hero) #header.header:not(.is-fixed) .toggle-mobile {
        color: #ffffff !important;
    }
}

.mobile-auth-wrap {
    font-size: 14px;
}

.mobile-auth-link {
    color: var(--heading-color, #1a1a1a);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.mobile-auth-link:hover {
    color: var(--primary-color, #0066cc);
}


/*
 * Mobile Search Box inside Hamburger Menu
 */
.mobile-search-wrap {
    position: relative;
    width: 100%;
}

.mobile-search-form {
    position: relative;
    width: 100%;
}

.mobile-search-form .header-search-input-wrap {
    width: 100%;
    position: relative;
}

.mobile-search-form .header-search-field {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    padding-left: 40px !important;
    padding-right: 16px;
    font-size: 14px;
    color: #1f2937;
    transition: all 0.2s ease;
}

.mobile-search-form .header-search-field:focus {
    border-color: var(--primary-color, #0066cc);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.mobile-search-form .header-search-input-wrap .header-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
}

.mobile-search-form .destination-search-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100% !important;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
}


/*
 * Destination Card & Carousel Slider Styles
 */
.destination-post {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.destination-post .img-style {
    display: block;
    width: 100%;
    height: 270px;
    overflow: hidden;
    border-radius: 16px;
}

.destination-post .img-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.destination-post:hover .img-style img {
    transform: scale(1.06);
}

.destination-post .content {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.destination-post .content h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color, #1a1a1a);
    flex: 1;
    min-width: 0;
}

.destination-post .content h4 a {
    color: inherit;
    text-decoration: none;
}

.destination-post .content .total-tour {
    font-size: 13px;
    font-weight: 600;
    color: var(--place-holder, #888888);
    white-space: nowrap;
    flex-shrink: 0;
}

.tf-sw-location .destination-post {
    height: 100%;
}

.tf-destination-carousel-section.bg-color-first {
    padding-top: 80px;
    padding-bottom: 80px;
}

.tf-destination-carousel-section .box-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.tf-destination-carousel-section .nav-sw-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-prev-location,
.nav-next-location {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--stoke-color, #e5e7eb);
    background: #ffffff;
    color: var(--heading-color, #1a1a1a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.nav-prev-location:hover,
.nav-next-location:hover {
    background: var(--primary-color, #eb672b);
    border-color: var(--primary-color, #eb672b);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(235, 103, 43, 0.3);
}

.nav-prev-location:active,
.nav-next-location:active {
    transform: scale(0.95);
}

/*
 * Compact Recently Viewed Cards
 */
.tf-sw-recently-viewed .item.hover-img {
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tf-sw-recently-viewed .archive-top .img-style img,
.tf-sw-recently-viewed .destination-post .img-style {
    height: 180px !important;
}

.tf-sw-recently-viewed .archive-bottom {
    padding: 12px 14px !important;
}

.tf-sw-recently-viewed .tour-title.h5,
.tf-sw-recently-viewed .tour-title.h3 {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
}

.tf-sw-recently-viewed .rating {
    font-size: 11px !important;
    gap: 4px !important;
}

.tf-sw-recently-viewed .rating .list-star .icon {
    font-size: 11px !important;
}

.tf-sw-recently-viewed .price.h5 {
    font-size: 14px !important;
    font-weight: 700;
}

.tf-sw-recently-viewed .content-info-middle,
.tf-sw-recently-viewed .content-bottom {
    margin-top: 6px !important;
    font-size: 12px !important;
}

/*
 * Recently Viewed Header & Nav Buttons
 */
.tf-recently-viewed-section .box-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.tf-recently-viewed-section .nav-sw-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-prev-recently-viewed,
.nav-next-recently-viewed {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--stoke-color, #e5e7eb);
    background: #ffffff;
    color: var(--heading-color, #1a1a1a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.nav-prev-recently-viewed:hover,
.nav-next-recently-viewed:hover {
    background: var(--primary-color, #eb672b);
    border-color: var(--primary-color, #eb672b);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(235, 103, 43, 0.3);
}

.nav-prev-recently-viewed:active,
.nav-next-recently-viewed:active {
    transform: scale(0.95);
}

/*
 * Tighten default vendor theme 128px section paddings across city page
 */
.flat-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.flat-recommended {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.flat-section.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.flat-section.pt-0 { padding-top: 0 !important; }
.flat-section.pb-0 { padding-bottom: 0 !important; }
.flat-section.pt-2 { padding-top: 10px !important; }
.flat-section.pb-2 { padding-bottom: 10px !important; }
.flat-section.pt-4 { padding-top: 15px !important; }
.flat-section.pb-4 { padding-bottom: 15px !important; }

.flat-section .box-title {
    margin-bottom: 16px !important;
}

.city-quick-stats-wrapper {
    margin-bottom: 12px !important;
}

.city-seo-intro {
    margin-top: 10px !important;
}

/*
 * Comprehensive City Detail Page Styles
 */
/*
 * Comprehensive City Detail Page Styles
 */
.page-title-city-hero {
    position: relative;
    padding: 130px 0 60px;
    border-radius: 0 0 28px 28px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-title-city-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

.page-title-city-hero .container {
    position: relative;
    z-index: 2;
}

.page-title-city-hero .breadcrumb-content,
.page-title-city-hero .breadcrumb,
.page-title-city-hero .breadcrumb-item,
.page-title-city-hero .breadcrumb-item a,
.page-title-city-hero .breadcrumb-item.current,
.page-title-city-hero .breadcrumb-item .icon-CaretRight {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Fix fixed header navigation contrast over dark hero image */
body:has(.page-title-city-hero) #header.header:not(.is-fixed) {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body:has(.page-title-city-hero) #header.header:not(.is-fixed) .menu-nav .nav-link,
body:has(.page-title-city-hero) #header.header:not(.is-fixed) .wrap-login-menu a,
body:has(.page-title-city-hero) #header.header:not(.is-fixed) .wrap-login-menu .lang-switch,
body:has(.page-title-city-hero) #header.header:not(.is-fixed) .wrap-login-menu .login {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Quick Stats Bar & Colorful Theme Icon Boxes */
.city-quick-stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.city-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #eef0f3;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.city-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.city-stat-card .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-tours .icon-box { background: rgba(235, 103, 43, 0.12); color: #eb672b; }
.stat-beaches .icon-box { background: rgba(2, 132, 199, 0.12); color: #0284c7; }
.stat-museums .icon-box { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.stat-restaurants .icon-box { background: rgba(5, 150, 105, 0.12); color: #059669; }
.stat-price .icon-box { background: rgba(217, 119, 6, 0.12); color: #d97706; }

.city-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.city-stat-card .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color, #101828);
    line-height: 1.2;
}

.city-stat-card .stat-label {
    font-size: 12px;
    color: #667085;
    font-weight: 500;
}

/* Sputnik8-Style Horizontal Filter Bar & Category Sidebar */
.sputnik-filter-container {
    margin-bottom: 20px;
}

.sputnik-filter-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 10px;
    width: 100%;
    scrollbar-width: none; /* Firefox */
}

.sputnik-filter-pills-row::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.sputnik-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    line-height: 34px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sputnik-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.sputnik-pill.active,
.sputnik-pill:has(input:checked) {
    background: #eb672b;
    border-color: #eb672b;
    color: #ffffff;
}

.sputnik-pill select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    cursor: pointer;
    height: 100%;
    margin: 0;
    padding: 0;
}

.sputnik-pill select option {
    background: #ffffff;
    color: #0f172a;
}

.sputnik-pill input[type="date"] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 12px;
    color: inherit;
    cursor: pointer;
    height: 100%;
    margin: 0;
    padding: 0;
}

.sputnik-pill-search input[type="text"] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: inherit;
    width: 120px;
    height: 100%;
    margin: 0;
    padding: 0;
}

.sputnik-pill-price-wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.sputnik-pill-price-input {
    border: none;
    background: transparent;
    outline: none;
    width: 40px;
    font-size: 12px;
    color: inherit;
    text-align: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.sputnik-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    line-height: 34px;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.sputnik-reset-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Sputnik8 Categories Sidebar */
.sputnik-category-sidebar {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.sputnik-category-sidebar .title-cat {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color, #0f172a);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.sputnik-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sputnik-category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #475467;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.sputnik-category-item a:hover {
    background: #f8fafc;
    color: var(--primary-color, #eb672b);
}

.sputnik-category-item.active a {
    background: rgba(235, 103, 43, 0.1);
    color: var(--primary-color, #eb672b);
    font-weight: 700;
}

.sputnik-category-item .count {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 10px;
}

.sputnik-category-item.active .count {
    background: rgba(235, 103, 43, 0.2);
    color: var(--primary-color, #eb672b);
}

@media (max-width: 991px) {
    .sputnik-category-sidebar {
        padding: 12px 14px;
        margin-bottom: 20px;
    }
    .sputnik-category-sidebar .title-cat {
        font-size: 13px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    .sputnik-category-list {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .sputnik-category-list::-webkit-scrollbar {
        display: none;
    }
    .sputnik-category-item {
        flex-shrink: 0;
    }
    .sputnik-category-item a {
        padding: 6px 14px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        font-size: 13px;
        gap: 6px;
    }
    .sputnik-category-item.active a {
        background: var(--primary-color, #eb672b);
        color: #ffffff;
        border-color: var(--primary-color, #eb672b);
    }
    .sputnik-category-item.active .count {
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }
}

.filter-checkbox-pill {
    cursor: pointer;
    user-select: none;
}

.filter-price-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border-color: #cbd5e1;
    padding: 6px 12px;
}

.filter-price-input {
    border: none;
    background: transparent;
    outline: none;
    width: 60px;
    font-size: 13px;
    color: #0f172a;
}

.filter-submit-btn {
    border: none;
    background: var(--primary-color, #eb672b);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.filter-submit-btn:hover {
    transform: scale(1.08);
}

.filter-reset-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fecaca;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-reset-pill:hover {
    background: #fee2e2;
    color: #dc2626;
}

.filter-count-badge {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* Swiper Fixes for Popular Tours & Boats */
.tf-sw-city-popular .swiper-slide {
    height: auto;
    display: flex;
}

.tf-sw-city-popular .swiper-slide > .item,
.tf-sw-city-popular .swiper-slide > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tf-sw-city-popular .archive-bottom {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Destination Place Cards (Beaches, Museums, Restaurants, Attractions) */
.destination-place-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.destination-place-card .place-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f4f6f8;
}

.destination-place-card .place-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-place-card:hover .place-card-image img {
    transform: scale(1.06);
}

.place-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-attraction { background: linear-gradient(135deg, #eb672b 0%, #ff8c42 100%); }
.badge-beach { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); }
.badge-museum { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }
.badge-restaurant { background: linear-gradient(135deg, #059669 0%, #34d399 100%); }

.place-rating-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(16, 24, 40, 0.75);
    backdrop-filter: blur(8px);
    color: #ffd166;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.place-price-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: #ffffff;
    color: var(--heading-color, #101828);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.place-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.place-location {
    font-size: 12px;
    color: #667085;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.place-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color, #101828);
    line-height: 1.3;
}

.place-desc {
    font-size: 13px;
    color: #475467;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-surface {
    background-color: #f8fafc;
}

.city-seo-rich-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

/* Mobile Responsiveness Overrides */
@media (max-width: 991px) {
    .page-title-city-hero {
        padding: 100px 0 40px;
    }
    
    .horizontal-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .filter-pill {
        flex-shrink: 0;
    }

    .city-quick-stats-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .city-stat-card {
        flex-shrink: 0;
    }
}

/*
 * GetYourGuide Style Language & Currency Selector
 */
body.lang-currency-modal-open {
    overflow: hidden !important;
}

/* Header Trigger Button */
.lang-curr-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color, #1a1a1a);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.lang-curr-trigger-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--primary-color, #1a73e8);
    border-color: rgba(0, 0, 0, 0.15);
}

.lang-curr-trigger-btn .trigger-icon {
    display: inline-flex;
    align-items: center;
    color: currentColor;
}

.lang-curr-trigger-btn .trigger-divider {
    color: #ccc;
    font-weight: 300;
}

/* Header link override for lang-switch */
.wrap-login-menu .lang-switch-item {
    display: flex;
    align-items: center;
}

/* Modal Backdrop */
.lang-currency-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 22, 33, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 99998;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lang-currency-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Modal Shell */
.lang-currency-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 20px;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lang-currency-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lang-currency-modal-dialog {
    width: 100%;
    max-width: 660px;
    margin: auto;
}

.lang-currency-modal-content {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform: scale(0.94);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.lang-currency-modal.open .lang-currency-modal-content {
    transform: scale(1);
}

/* Modal Header & Tabs */
.lang-currency-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #eef0f4;
    background: #fff;
}

.lang-currency-tabs {
    display: flex;
    gap: 20px;
}

.lang-currency-tab-btn {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    padding: 10px 4px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.lang-currency-tab-btn:hover {
    color: #1a1a1a;
}

.lang-currency-tab-btn.active {
    color: var(--primary-color, #0066cc);
}

.lang-currency-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color, #0066cc);
    border-radius: 3px 3px 0 0;
}

.lang-currency-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-currency-close-btn:hover {
    background: #e5e7eb;
    color: #111827;
}

/* Modal Body */
.lang-currency-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.lang-currency-tab-panel {
    display: none;
}

.lang-currency-tab-panel.active {
    display: block;
    animation: langCurrFadeIn 0.2s ease-out;
}

@keyframes langCurrFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid Layout */
.lang-currency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lang-currency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.18s ease;
    width: 100%;
    text-align: left;
    outline: none;
}

.lang-currency-item:hover {
    border-color: var(--primary-color, #0066cc);
    background: #f8fafc;
}

.lang-currency-item.active {
    border-color: var(--primary-color, #0066cc);
    background: #eff6ff;
}

.item-text-group {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.item-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.item-checkmark {
    color: var(--primary-color, #0066cc);
    flex-shrink: 0;
}

/*
 * Mobile & Desktop Filter Component Styles
 */
.sidebar-filter {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef0f4;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.sidebar-filter .widget-item {
    margin-bottom: 20px;
}

.sidebar-filter .widget-item:last-child {
    margin-bottom: 0;
}

.sidebar-filter select,
.sidebar-filter input[type="text"],
.sidebar-filter input[type="number"],
.sidebar-filter input[type="date"] {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 14px;
    font-size: 14px;
    color: #1f2937;
    transition: all 0.2s ease;
}

.sidebar-filter select:focus,
.sidebar-filter input:focus {
    border-color: var(--primary-color, #0066cc);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

/* Mobile Filter Bar & Backdrop */
body.filter-drawer-open {
    overflow: hidden !important;
}

.mobile-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mobile-filter-info {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.mobile-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--primary-color, #0066cc);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-toggle-btn:hover {
    opacity: 0.9;
}

.mobile-filter-toggle-btn .active-count-pill {
    background: #ffffff;
    color: var(--primary-color, #0066cc);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 22, 33, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 99990;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-filter-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Offcanvas Bottom-Sheet Drawer */
@media (max-width: 1199px) {
    .sidebar-filter {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100vw;
        max-height: 85vh;
        border-radius: 24px 24px 0 0;
        z-index: 99991;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        animation: none !important;
        overflow-y: auto;
        padding: 20px 20px 30px;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    }

    .sidebar-filter.mobile-drawer-open {
        transform: translateY(0);
    }

    .mobile-filter-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid #eef0f4;
    }

    .mobile-filter-close-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #4b5563;
        cursor: pointer;
    }

    .clear-filters-link {
        font-size: 13px;
        font-weight: 600;
        color: #ef4444;
        text-decoration: none;
    }
}

/* Active Filters Chips Wrap */
.active-filters-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.chips-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--primary-color, #0066cc);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    background: #dbeafe;
    color: var(--primary-color, #0066cc);
}

.filter-chip.clear-all-chip {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

.filter-chip.clear-all-chip:hover {
    background: #fee2e2;
}

.chip-remove {
    font-size: 11px;
    opacity: 0.8;
}


/* Mobile responsive */
@media (max-width: 768px) {
    .lang-currency-modal {
        padding: 12px;
    }

    .lang-currency-modal-dialog {
        max-width: 100%;
    }

    .lang-currency-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .lang-currency-modal-body {
        padding: 16px;
    }
}

/*
 * Floating Social Contact Speed-Dial (Instagram / Telegram / WhatsApp)
 * Collapsed by default to a single trigger button; opens upward on click.
 */
.fab-social-dial {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;
    transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-social-dial.scrolled {
    bottom: 96px;
}

.fab-social-dial__menu {
    position: absolute;
    right: 4px;
    bottom: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 16px;
}

.fab-social-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.6);
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.22s ease,
                box-shadow 0.25s ease,
                background-color 0.2s ease;
    transition-delay: 0s;
}

.fab-social-dial.is-open .fab-social-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: calc(var(--fab-i, 0) * 45ms);
}

.fab-social-item svg {
    width: 22px;
    height: 22px;
}

.fab-social-item:hover {
    transform: scale(1.1) !important;
    color: #ffffff;
}

/* Hover label chip, macOS-dock style */
.fab-social-item__label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    background: #1f2937;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.fab-social-item__label::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1f2937;
}

.fab-social-item:hover .fab-social-item__label,
.fab-social-item:focus-visible .fab-social-item__label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.fab-social-item--instagram {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.fab-social-item--telegram {
    background: #29a9eb;
}

.fab-social-item--telegram:hover {
    background: #2299d6;
}

.fab-social-item--whatsapp {
    background: #25d366;
}

.fab-social-item--whatsapp:hover {
    background: #20bd5a;
}

/* Trigger Button */
.fab-social-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color, #c99347);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.2s ease;
}

.fab-social-trigger:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.fab-social-trigger__pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: rgba(201, 147, 71, 0.45);
    background: color-mix(in srgb, var(--primary-color, #c99347) 45%, transparent);
    z-index: -1;
    animation: kf-btn-pulse 2.4s ease-out infinite;
}

.fab-social-dial.is-open .fab-social-trigger__pulse {
    animation-play-state: paused;
    opacity: 0;
}

.fab-social-trigger__icon {
    position: absolute;
    width: 24px;
    height: 24px;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-social-trigger__icon--chat {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.fab-social-trigger__icon--close {
    opacity: 0;
    transform: rotate(-45deg) scale(0.6);
}

.fab-social-dial.is-open .fab-social-trigger__icon--chat {
    opacity: 0;
    transform: rotate(45deg) scale(0.6);
}

.fab-social-dial.is-open .fab-social-trigger__icon--close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

@keyframes kf-btn-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fab-social-dial {
        right: 16px;
        bottom: 20px;
    }
    .fab-social-dial.scrolled {
        bottom: 80px;
    }
    .fab-social-trigger {
        width: 50px;
        height: 50px;
    }
    .fab-social-item {
        width: 42px;
        height: 42px;
    }
    .fab-social-item svg {
        width: 20px;
        height: 20px;
    }
    /* Labels crowd the viewport on narrow screens; icons are self-explanatory */
    .fab-social-item__label {
        display: none;
    }
}

/*
 * BackToTop Button Styling to match WhatsApp & Telegram Floating Buttons
 */
.backtotop {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.4);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.backtotop:hover {
    background: #0f172a;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.6);
}

.backtotop .icon {
    font-size: 20px;
    color: #ffffff;
}

.backtotop .border-progress {
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 2px solid var(--primary-color, #c99347);
    mask-image: conic-gradient(#c99347 var(--progress-angle, 0deg), transparent 0);
    -webkit-mask-image: conic-gradient(#c99347 var(--progress-angle, 0deg), transparent 0);
}

@media (max-width: 768px) {
    .backtotop {
        right: 16px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
    .backtotop .icon {
        font-size: 18px;
    }
}

/*
 * Custom Front Pagination Styling
 */
.front-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
}

.front-pagination-wrap .pagination-info {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.front-pagination-wrap .pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.front-pagination-wrap .page-item {
    display: inline-flex;
    margin: 0;
}

.front-pagination-wrap .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.front-pagination-wrap .page-item:not(.disabled) .page-link:hover {
    background: #ffffff;
    border-color: var(--primary-color, #c99347);
    color: var(--primary-color, #c99347);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 147, 71, 0.2);
}

.front-pagination-wrap .page-item.active .page-link {
    background: var(--primary-color, #c99347);
    border-color: var(--primary-color, #c99347);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(201, 147, 71, 0.35);
}

.front-pagination-wrap .page-item.disabled .page-link {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

.front-pagination-wrap .page-link.ellipsis {
    border: none;
    background: transparent;
    box-shadow: none;
}

/* -------------------------------------------------------------------------- */
/* Modern 5-Column Benefits Section (With Soft Gradient Background)           */
/* -------------------------------------------------------------------------- */
.bg-gradient-benefit {
    background: linear-gradient(135deg, #f8fafc 0%, rgba(224, 242, 254, 0.45) 45%, rgba(253, 242, 228, 0.45) 100%);
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.benefits-5-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 32px;
}

@media (max-width: 1200px) {
    .benefits-5-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .benefits-5-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .benefits-5-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
}

.benefit-card-v5 {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
}

.benefit-card-v5:hover {
    transform: translateY(-4px);
    background-color: #ffffff;
    border-color: rgba(2, 132, 199, 0.25);
    box-shadow: 0 14px 28px -6px rgba(2, 132, 199, 0.12);
}

.benefit-card-v5 .icon-box-v5 {
    width: 48px;
    height: 48px;
    background-color: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
    color: #0284c7;
}

.benefit-card-v5 .icon-box-v5 svg {
    width: 24px;
    height: 24px;
    stroke: #0284c7;
}

.benefit-card-v5 .benefit-content-v5 {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.benefit-card-v5 .benefit-title-v5 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
}

.benefit-card-v5 .benefit-desc-v5 {
    font-size: 13.5px;
    font-weight: 400;
    color: #475569;
    line-height: 1.45;
    margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Sputnik8 Style Top Activity Stories & Sights Bar                           */
/* -------------------------------------------------------------------------- */
.city-activity-stories-section {
    position: relative;
    margin-bottom: 24px;
}

.city-sights-tagline {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.city-sights-tagline .tagline-label {
    font-weight: 700;
    color: #0f172a;
    margin-right: 4px;
}

.city-sights-tagline .sight-link {
    color: #0284c7;
    text-decoration: underline;
    text-decoration-color: rgba(2, 132, 199, 0.35);
    font-weight: 500;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.city-sights-tagline .sight-link:hover {
    color: #0369a1;
    text-decoration-color: #0369a1;
}

.city-activity-stories-container {
    position: relative;
    display: flex;
    align-items: center;
}

.city-activity-stories-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 4px 12px 4px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.city-activity-stories-scroll::-webkit-scrollbar {
    display: none;
}

.activity-story-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    flex-shrink: 0;
    width: 86px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.activity-story-card:hover {
    transform: translateY(-3px);
}

.activity-story-card .story-image-wrap {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.activity-story-card:hover .story-image-wrap {
    border-color: #0284c7;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.2);
}

.activity-story-card.active .story-image-wrap {
    border-color: #0f172a;
    box-shadow: 0 0 0 2px #ffffff, 0 6px 18px rgba(15, 23, 42, 0.25);
}

.activity-story-card .story-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.activity-story-card:hover .story-image-wrap img {
    transform: scale(1.06);
}

.activity-story-card .active-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.activity-story-card .story-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.25;
    margin-top: 8px;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    transition: color 0.2s ease;
}

.activity-story-card.active .story-title {
    font-weight: 700;
    color: #0f172a;
}

.activity-story-card:hover .story-title {
    color: #0284c7;
}

.story-scroll-btn {
    position: absolute;
    right: -12px;
    top: 26px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: #0f172a;
    z-index: 10;
    cursor: pointer;
    transition: all 0.2s ease;
    align-items: center;
    justify-content: center;
}

.story-scroll-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: scale(1.08);
}

/* -------------------------------------------------------------------------- */
/* Mobile Responsive Optimizations for City Page & Activity Stories          */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .city-quick-stats-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 4px;
    }
    
    .city-stat-card {
        padding: 10px 12px;
        border-radius: 12px;
    }
    
    .city-stat-card .icon-box {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .city-stat-card .icon-box svg {
        width: 16px;
        height: 16px;
    }
    
    .city-stat-card .stat-value {
        font-size: 14px;
    }
    
    .city-stat-card .stat-label {
        font-size: 11px;
    }
    
    .city-sights-tagline {
        font-size: 12.5px;
        padding: 0 2px;
        margin-bottom: 12px;
    }
    
    .city-activity-stories-scroll {
        gap: 12px;
        padding: 4px 2px 10px 2px;
    }
    
    .activity-story-card {
        width: 72px;
    }
    
    .activity-story-card .story-image-wrap {
        width: 68px;
        height: 68px;
        border-radius: 16px;
    }
    
    .activity-story-card .story-title {
        font-size: 11px;
        margin-top: 5px;
        line-height: 1.2;
    }

    .story-scroll-btn {
        display: none !important;
    }

    .sputnik-filter-pills-row {
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .sputnik-filter-pills-row::-webkit-scrollbar {
        display: none;
    }
}

/* Swiper card styling for best selling / recommended tours slider */
.tf-best-tours-section .swiper-slide { height: auto; }
.tf-best-tours-section .item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--stoke-color, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .3s linear;
}
.tf-best-tours-section .item:hover { box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.tf-best-tours-section .item .images-group {
    display: block;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.tf-best-tours-section .item .images-group .image-link { display: block; width: 100%; height: 100%; }
.tf-best-tours-section .item .images-group .image-link img { width: 100%; height: 100%; object-fit: cover; }
.tf-best-tours-section .item .archive-bottom {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 18px;
}
.tf-best-tours-section .item .content-info-middle {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.tf-best-tours-section .item .content-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--stoke-color, #e5e7eb);
}
.tf-best-tours-section .item .content-bottom .price { color: var(--primary, #2563eb); }

/* -------------------------------------------------------------------------- */
/* Testimonial Section Refinement & Visual Flow Transition                     */
/* -------------------------------------------------------------------------- */
.flat-testimonial {
    background-color: #fcf8f2 !important;
    padding-top: 75px !important;
    padding-bottom: 75px !important;
    position: relative;
    border-top: 1px solid rgba(220, 165, 70, 0.14);
    border-bottom: 1px solid rgba(220, 165, 70, 0.14);
}

.flat-testimonial .box-title {
    margin-bottom: 36px;
}

.flat-testimonial .box-testimonial-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.flat-testimonial .box-testimonial-item .description {
    font-size: 18px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 20px;
}

.flat-testimonial .box-testimonial-item .info .name {
    color: #0f172a;
    font-size: 17px;
    font-weight: 700;
}

.flat-testimonial .box-testimonial-item .info .position {
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
}

.flat-testimonial .flex-direction-nav.style-hero-1 {
    top: 52%;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    .flat-testimonial {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .flat-testimonial .box-testimonial-item {
        padding: 24px 18px 20px;
    }
    .flat-testimonial .box-testimonial-item .description {
        font-size: 15px;
    }
}

/* Header Auth Button Styling */
.wrap-login-menu .auth-switch-item {
    display: inline-flex;
    align-items: center;
}
.auth-trigger-btn {
    white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Auth (Login / Register) Modal Popup Styling                                */
/* -------------------------------------------------------------------------- */
body.auth-modal-open {
    overflow: hidden !important;
}

.auth-modal-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 99998;
}
.auth-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.auth-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-modal-dialog {
    width: 100%;
    max-width: 440px;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-modal.show .auth-modal-dialog {
    transform: translateY(0) scale(1);
}

.auth-modal-content {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.auth-modal-tabs {
    display: flex;
    gap: 8px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.auth-modal-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-modal-tab-btn.active {
    background: #ffffff;
    color: var(--primary-color, #c48c46);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.auth-modal-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.auth-modal-body {
    padding: 24px;
}

.auth-tab-panel {
    display: none;
}
.auth-tab-panel.active {
    display: block;
}

.auth-modal .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-modal .input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
}
.auth-modal .form-control {
    padding-left: 44px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-modal .form-control:focus {
    border-color: var(--primary-color, #c48c46);
    box-shadow: 0 0 0 3px rgba(196, 140, 70, 0.15);
    outline: none;
}

/* Mobile 2-column Grid Adjustments for Tour & Boat Cards */
@media (max-width: 576px) {
    .tf-grid-layout.sm-col-2 {
        gap: 10px;
    }
    .tf-grid-layout.sm-col-2 .archive-bottom {
        padding: 10px 8px;
    }
    .tf-grid-layout.sm-col-2 .tour-title,
    .tf-grid-layout.sm-col-2 .tour-title a {
        font-size: 13px;
        line-height: 1.25;
    }
    .tf-grid-layout.sm-col-2 .content-info-middle,
    .tf-grid-layout.sm-col-2 .content-bottom {
        font-size: 11.5px;
        flex-wrap: wrap;
        gap: 4px;
    }
    .tf-grid-layout.sm-col-2 .archive-top .images-group {
        height: 130px;
    }
    .tf-grid-layout.sm-col-2 .flag-tag {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Infinite Scroll / Load More Button */
.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 30px;
    background: #ffffff;
    border: 1.5px solid var(--primary-color, #eb672b);
    color: var(--primary-color, #eb672b);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(235, 103, 43, 0.12);
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-load-more:hover {
    background: var(--primary-color, #eb672b);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 103, 43, 0.25);
}
.btn-load-more:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================================================
   GLOBAL RESPONSIVE OVERFLOW & LAYOUT FIT FIXES
   Applies site-wide protection against horizontal scroll / sliding issues across all pages.
   ========================================================================== */

/* 1. Global Viewport & Container Guards */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

#wrapper,
.main-content,
main,
section,
.container-fluid,
.row,
.page-title,
.flat-section,
.flat-property,
.flat-tab-recommend,
.hero {
    max-width: 100% !important;
    box-sizing: border-box;
}

/* .container keeps its own intended max-width (1310px, see style.css) so
   sections stay boxed/centered on wide screens; only cap it from overflowing
   the viewport, never widen it past its own max-width. */
.container {
    max-width: min(1310px, 100%) !important;
    box-sizing: border-box;
}

/* Prevent image, SVG, canvas, and video overflow */
img, svg, video, canvas, iframe {
    max-width: 100%;
}

/* 2. Grid & Flex Overflow Guards */
.tf-grid-layout {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

@media (max-width: 575.98px) {
    .tf-grid-layout.sm-col-2 {
        grid-template-columns: 1fr !important;
    }
    .tf-grid-layout.sm-col-1,
    .tf-grid-layout.sm-col-2 {
        gap: 14px !important;
    }
}

/* Prevent long unbroken text, links, or titles from breaking grid bounds */
h1, h2, h3, h4, h5, h6,
.title, .subtitle,
p, span, a, label, li {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 3. Header & Navigation Overflow Protection */
.header, .header-lower, .top-bar {
    max-width: 100vw !important;
    overflow-x: hidden;
}

/* 4. Swiper & Carousel Overflow Protection */
.swiper, .swiper-container {
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Fix vendor .slider-layout-right calc(100vw - (100vw - 1310px) / 2) breaking layout on screens < 1400px */
@media (max-width: 1399.98px) {
    .slider-layout-right {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
}

/* 5. Search Widgets & Inputs */
.search-box, .widget-search, .search-field {
    max-width: 100% !important;
    box-sizing: border-box;
}

/* 6. Transfer Form Box & Layout Centering Fixes */
.transfer-form-box {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

.transfer-form-box .form-control,
.transfer-form-box .form-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px;
    height: 48px;
    padding-left: 14px;
    padding-right: 14px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}

.transfer-form-box .form-select {
    padding-right: 32px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.transfer-form-box label {
    display: block;
    margin-bottom: 4px;
}

.transfer-form-box .tf-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 48px;
    padding: 10px 16px !important;
    line-height: 1.3 !important;
    font-size: 15px !important;
}

@media (max-width: 575.98px) {
    .transfer-form-box {
        padding: 16px 12px !important;
    }
    .box-title.flex-between {
        display: flex;
        flex-direction: row;
        align-items: flex-end !important;
        justify-content: space-between;
        gap: 12px;
    }
    .box-title .title-left {
        flex: 1;
        min-width: 0;
    }
    .box-title .title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .box-title .subtitle {
        font-size: 13px !important;
    }
}

/*
 * 404 page: brand-neutral map-pin illustration (client deployments swap
 * --primary-color, so no theme/demo artwork or baked-in text) with a large
 * faint "404" numeral behind it for instant recognizability.
 */
.tf-nopage {
    padding-top: 72px;
    padding-bottom: 96px;
}

.wg-404__badge {
    position: relative;
    width: 260px;
    height: 200px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wg-404__code {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 108px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--primary-color, #c99347);
    opacity: 0.12;
    user-select: none;
}

.wg-404__pin {
    position: relative;
    width: 128px;
    height: 128px;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.15));
}

.wg-404__pin path {
    fill: var(--primary-color, #c99347);
}

.wg-404__pin-face {
    fill: #ffffff;
}

.wg-404__pin-mark {
    font-size: 44px;
    font-weight: 800;
    font-family: inherit;
    fill: var(--primary-color, #c99347);
}

.wg-404 .sub {
    max-width: 420px;
}

@media (max-width: 576px) {
    .wg-404__badge {
        width: 200px;
        height: 160px;
    }
    .wg-404__code {
        font-size: 80px;
    }
    .wg-404__pin {
        width: 100px;
        height: 100px;
    }
    .wg-404__pin-mark {
        font-size: 36px;
    }
}
