/* ==========================================
   TOUR PAGE — public/css/site/tour.css
   ========================================== */

.tour-page {
    padding: 80px 0 60px;
    background: var(--bg);
    min-height: 70vh;
}

/* ====== NOT FOUND / INACTIVE ====== */

.tour-unavailable {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
}

.tour-unavailable__icon {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1;
}

.tour-unavailable__title {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 12px;
}

.tour-unavailable__sub {
    font-size: 15px;
    color: #6f7b93;
    line-height: 1.65;
    margin: 0 0 28px;
}

.tour-unavailable__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tour-unavailable__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
}

.tour-unavailable__btn--primary {
    background: var(--orange);
    color: #ffffff;
}

.tour-unavailable__btn--primary:hover { background: var(--orange-h); }

.tour-unavailable__btn--outline {
    background: #ffffff;
    color: var(--slate);
    border: 1.5px solid #e5e7eb;
}

.tour-unavailable__btn--outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.tour-unavailable__rec-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    text-align: left;
}

.tour-unavailable__rec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
    text-align: left;
}

/* ====== BREADCRUMBS ====== */

.tour-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.tour-breadcrumbs a {
    color: #9ca3af;
    text-decoration: none;
    transition: color .18s ease;
}

.tour-breadcrumbs a:hover { color: var(--blue); }

.tour-breadcrumbs__sep {
    color: #d1d5db;
    font-size: 11px;
}

/* ====== LAYOUT ====== */

.tour-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.tour-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ====== CARDS ====== */

.tour-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(15,29,68,0.07);
    padding: 24px;
}

/* ====== HEAD CARD ====== */

.tour-head-card {
    overflow: hidden;
}

.tour-head-info {
    padding: 0;
}

.tour-head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.tour-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin: 0 0 14px;
}

.tour-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--slate);
}

.tour-meta-item svg { color: var(--blue); flex-shrink: 0; }

.tour-meta-item--org {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.tour-meta-org-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid #e5e7eb;
}

.tour-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ====== HEART — только на странице тура ====== */

.tour-page-heart {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1.5px solid rgba(229, 231, 235,0.8);
    background: #ffffff;
    color: var(--slate);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    box-shadow: 0 2px 8px rgba(15,29,68,0.05);
    line-height: 1;
    flex-shrink: 0;
}

.tour-page-heart:hover {
    border-color: #fca5a5;
    color: #e53935;
    transform: scale(1.08);
}

.tour-page-heart.is-active {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #e53935;
}

/* ====== GALLERY ====== */

.tour-gallery {
    padding: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tour-gallery-main {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #e8eaf2;
    cursor: zoom-in;
    aspect-ratio: 16 / 10;
}

.tour-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.tour-gallery-main:hover img { transform: scale(1.02); }

.tour-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 8px;
}

.tour-gallery-thumb {
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: all .2s ease;
    aspect-ratio: 4/3;
}

.tour-gallery-thumb.is-active { border-color: var(--orange); }
.tour-gallery-thumb:hover { transform: translateY(-1px); }

.tour-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== CONTENT CARD SECTIONS ====== */

.tour-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 16px;
}

.tour-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 12px;
}

.tour-description,
.tour-program-text {
    font-size: 15px;
    color: #44506b;
    line-height: 1.75;
}

/* Tags */
.tour-tags-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
}

.tour-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tour-badge {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(54,154,227,0.1);
    color: var(--blue-2);
    font-size: 13px;
    font-weight: 500;
}

.tour-badge--light {
    background: var(--light);
    color: var(--slate);
}

/* Program */
.tour-program-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tour-program-item {
    border: 1px solid #eef1f8;
    border-radius: 16px;
    padding: 16px 18px;
    background: #fafbff;
}

.tour-program-day {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Organizer box */
.tour-organizer-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour-organizer-box__top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tour-organizer-box__avatar {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--light);
    flex-shrink: 0;
}

.tour-organizer-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-organizer-box__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.tour-organizer-box__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 5px;
    font-size: 13px;
    color: #6f7b93;
}

.tour-organizer-box__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
}

.tour-organizer-stat {
    background: var(--light);
    border-radius: 16px;
    padding: 14px;
    border: 1px solid #eef1f8;
}

.tour-organizer-stat__value {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.tour-organizer-stat__label {
    margin-top: 3px;
    font-size: 12px;
    color: #6f7b93;
}

.tour-organizer-box__desc {
    font-size: 15px;
    color: #44506b;
    line-height: 1.7;
}

.tour-organizer-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tour-organizer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: var(--slate);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.tour-organizer-btn:hover { background: #2d3d4d; }

.tour-organizer-btn.is-disabled {
    background: var(--light);
    color: #94a3b8;
    cursor: default;
}

/* ====== SIDEBAR ====== */

.tour-sidebar {
    position: sticky;
    top: 24px;
}

.tour-booking-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(15,29,68,0.09);
    padding: 24px;
    height: 100%;
}

.tour-booking-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
}

.tour-booking-price-block {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.tour-booking-price-main {
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.tour-booking-price-sub {
    margin-top: 5px;
    font-size: 13px;
    color: #9ca3af;
}

.tour-booking-baby-price {
    margin-top: 12px;
    font-size: 14px;
    color: var(--slate);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tour-booking-baby-price span { font-size: 12px; color: #9ca3af; }

.tour-booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.tour-booking-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-50);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Date select */
.tour-booking-select { position: relative; }

.tour-booking-select__trigger {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease;
}

.tour-booking-select__trigger:hover { border-color: var(--blue); }
.tour-booking-select.is-disabled .tour-booking-select__trigger {
    opacity: .55;
    cursor: not-allowed;
}

.tour-booking-select__arrow {
    color: #9ca3af;
    transition: transform .22s ease;
    font-size: 14px;
}

.tour-booking-select.is-open .tour-booking-select__arrow { transform: rotate(180deg); }

.tour-booking-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15,29,68,0.14);
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .2s ease;
}

.tour-booking-select.is-open .tour-booking-select__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tour-booking-select__item {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--dark);
    transition: background .15s ease;
}

.tour-booking-select__item:hover,
.tour-booking-select__item.is-active { background: var(--light); }

.tour-booking-select__item span { font-size: 14px; font-weight: 500; }
.tour-booking-select__item small { font-size: 12px; color: #9ca3af; }

.tour-date-no-dates {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}

.tour-date-no-dates a { color: var(--blue); text-decoration: underline; }

/* Counter */
.tour-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 50px;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 10px;
    background: #f9fafb;
}

.tour-counter__btn {
    width: 36px; height: 36px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    color: var(--dark);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all .18s ease;
    box-shadow: 0 1px 4px rgba(15,29,68,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-counter__btn:hover:not(:disabled) { background: var(--light); }
.tour-counter__btn:disabled { opacity: .38; cursor: default; box-shadow: none; }

.tour-counter__value {
    min-width: 32px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.tour-booking-total {
    font-size: 14px;
    color: var(--slate);
    margin-bottom: 16px;
}

.tour-booking-total strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.tour-booking-submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: var(--orange);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tour-booking-submit-btn:hover:not(:disabled) {
    background: var(--orange-h);
    transform: translateY(-1px);
}

.tour-booking-submit-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.tour-booking-note {
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
    text-align: center;
}

.tour-request-accepted-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: #ecfdf3;
    color: #166534;
}

.tour-request-accepted-box.is-hidden { display: none; }

.tour-request-accepted-box__icon {
    width: 32px; height: 32px;
    border-radius: 999px;
    background: #16a34a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 16px;
}

.tour-request-accepted-box__text {
    font-size: 14px;
    line-height: 1.5;
}

/* ====== MOBILE OPEN BTN ====== */

.tour-mobile-open-btn {
    position: fixed;
    left: 16px; right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    height: 54px;
    z-index: 120;
    border: none;
    border-radius: 16px;
    background: var(--orange);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(250,106,45,0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s ease;
}

.tour-mobile-open-btn:hover { transform: translateY(-1px); }

/* ====== MOBILE SIDEBAR SHEET ====== */

.tour-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,23,40,0.48);
    backdrop-filter: blur(3px);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.tour-mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.tour-sidebar-mobile-top {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
}

.tour-sidebar-mobile-line {
    width: 48px; height: 5px;
    border-radius: 999px;
    background: #d1d5db;
}

.tour-sidebar-close-btn {
    border: none;
    background: transparent;
    color: #fff;
    text-decoration: underline;
    font-size: 13px;
    cursor: pointer;
}

/* ====== LIGHTBOX ====== */

.tour-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.tour-lightbox.is-open { opacity: 1; visibility: visible; }

.tour-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7,12,22,0.88);
    backdrop-filter: blur(6px);
}

.tour-lightbox__dialog {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100vw - 24px));
    height: 90vh;
    margin: 5vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-lightbox__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
}

.tour-lightbox__content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity .28s ease, transform .28s ease;
    border-radius: 12px;
}

.tour-lightbox__content img.is-loaded { opacity: 1; transform: scale(1); }

.tour-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: background .18s ease;
}

.tour-lightbox__close:hover { background: rgba(0,0,0,0.65); }

.tour-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background .18s ease;
}

.tour-lightbox__nav:hover { background: rgba(0,0,0,0.65); }
.tour-lightbox__nav--prev { left: 12px; }
.tour-lightbox__nav--next { right: 12px; }

.tour-lightbox__spinner {
    position: absolute;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #ffffff;
    animation: tourSpin .8s linear infinite;
    opacity: 0;
    transition: opacity .2s ease;
}

.tour-lightbox__spinner.is-active { opacity: 1; }
@keyframes tourSpin { to { transform: rotate(360deg); } }

/* ====== BOOKING MODAL (desktop) ====== */

.tour-request-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.tour-request-modal.is-open { opacity: 1; visibility: visible; }

.tour-request-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7,15,28,0.65);
    backdrop-filter: blur(5px);
}

.tour-request-modal__dialog {
    position: absolute;
    left: 50%; top: 50%;
    width: min(900px, calc(100% - 24px));
    transform: translate(-50%, -50%) scale(0.96);
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(9,18,35,0.28);
    transition: transform .32s cubic-bezier(.32,.72,0,1), opacity .3s ease;
    opacity: 0;
}

.tour-request-modal.is-open .tour-request-modal__dialog {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.tour-request-modal__close {
    position: absolute;
    right: 14px; top: 14px;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-request-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 520px;
}

/* Left panel — with tour image bg */
.tour-request-modal__left {
    position: relative;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    color: #ffffff;
    min-height: 520px;
    overflow: hidden;
}

.tour-request-modal__left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.tour-request-modal__left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,18,35,0.88) 0%,
        rgba(10,18,35,0.6) 50%,
        rgba(10,18,35,0.3) 100%
    );
}

.tour-request-modal__left-content {
    position: relative;
    z-index: 1;
}

.tour-request-modal__left h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.tour-request-modal__left p {
    margin: 0 0 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.55;
}

.tour-request-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 14px;
    backdrop-filter: blur(8px);
}

.tour-request-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.tour-request-summary__row strong { color: #ffffff; font-weight: 600; }

.tour-request-modal__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tour-request-modal__links a {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Right panel — form */
.tour-request-modal__right {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.tour-request-modal__right h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 20px;
}

.tour-request-error {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
    border-left: 3px solid #b91c1c;
}

.tour-request-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.tour-request-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-50);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tour-request-field input {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    background: #fafbff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tour-request-field input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(54,154,227,0.1);
    background: #ffffff;
}

.tour-request-submit-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: var(--orange);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    margin-top: 4px;
}

.tour-request-submit-btn:hover:not(:disabled) {
    background: var(--orange-h);
    transform: translateY(-1px);
}

.tour-request-submit-btn:disabled { opacity: .65; cursor: default; }

/* Success state */
.tour-request-success {
    padding: 36px 32px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.tour-request-success__icon {
    width: 72px; height: 72px;
    border-radius: 999px;
    background: #dcfce7;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.tour-request-success h3 { margin: 0; font-size: 24px; color: var(--dark); }
.tour-request-success p  { margin: 0; color: #6b7280; font-size: 14px; max-width: 360px; line-height: 1.6; }
.tour-request-success__timer { font-size: 13px; color: var(--blue); font-weight: 500; }

/* ====== MOBILE BOOKING MODAL (fullscreen) ====== */

@media (max-width: 768px) {
    .tour-request-modal__dialog {
        position: fixed;
        left: 0; right: 0; bottom: 0; top: 0;
        width: 100%;
        max-width: 100%;
        transform: translateY(100%);
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 1;
    }

    .tour-request-modal.is-open .tour-request-modal__dialog {
        transform: translateY(0);
        transition: transform .38s cubic-bezier(.32,.72,0,1);
    }

    .tour-request-modal__close {
        position: fixed;
        right: 14px; top: 14px;
        background: rgba(0,0,0,0.3);
        border-color: rgba(255,255,255,0.2);
        color: #ffffff;
        z-index: 10;
    }

    .tour-request-modal__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .tour-request-modal__left {
        min-height: 220px;
        padding: 80px 24px 24px;
        justify-content: flex-end;
    }

    .tour-request-modal__right {
        padding: 24px 24px 40px;
        justify-content: flex-start;
    }

    .tour-request-success {
        min-height: 60vh;
        padding: 40px 24px;
    }
}

/* ====== SECTIONS BELOW ====== */

.tour-section-block { margin-top: 32px; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.section-header a {
    font-size: 14px;
    color: var(--blue);
    font-weight: 500;
    transition: color .18s ease;
}

.section-header a:hover { color: var(--blue-2); }

.tc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1180px) {
    .tour-layout { grid-template-columns: minmax(0,1fr) 320px; }
    .tc-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 992px) {
    .tour-layout { grid-template-columns: 1fr; }

    .tour-sidebar {
        position: fixed;
        left: 0; right: 0; bottom: 0; top: auto;
        z-index: 150;
        transform: translateY(110%);
        transition: transform .3s ease;
        max-height: 90dvh;
        height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overflow: hidden;
        background: transparent;
    }

    .tour-sidebar.is-mobile-open { transform: translateY(0); }

    .tour-booking-card {
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -16px 48px rgba(15,29,68,0.18);
    }

    .tour-sidebar-mobile-top { display: flex; }
    .tour-mobile-backdrop { display: block; }

    .tc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tour-unavailable__rec-grid { grid-template-columns: 1fr; }
}

@media (min-width: 993px) {
    .tour-mobile-open-btn { display: none !important; }
}

@media (max-width: 768px) {
    .tour-page { padding-top: 80px; }
    .tour-title { font-size: 22px; }

    .tour-head-info { padding: 16px 16px 0; }
    /* .tour-gallery { padding: 0 16px 16px; } */
    .tour-card { padding: 18px; }
    .tour-booking-card { padding: 18px; }

    .tour-gallery-thumbs { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .tour-tags-wrap { grid-template-columns: 1fr; }
    .tour-organizer-box__stats { grid-template-columns: 1fr 1fr; }

    .tour-lightbox__nav--prev { left: 8px; }
    .tour-lightbox__nav--next { right: 8px; }
    .tour-lightbox__close { top: 12px; right: 12px; }

    .tc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .tour-unavailable__rec-grid { grid-template-columns: 1fr; }
    .tour-head-top { flex-direction: row; }
}

body.tour-lightbox-open,
body.tour-mobile-sheet-open,
body.tour-request-modal-open { overflow: hidden; }

.is-hidden { display: none !important; }


.org-license-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1d9bf0;
    text-decoration: none;
    transition: opacity .18s ease;
}

.org-license-link:hover { opacity: 0.75; }




/* ====== MOBILE META BLOCK ====== */
.thi-3inf{
display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;
    }
    .thi-main-inf{
        display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px; 
    }
.tour-mobile-sticky { display: none; }

@media (max-width: 768px) {
    .thi-3inf{
        display:none;
    }
    .thi-main-inf{
        align-items:center;
    }
    .tour-mobile-sticky {
        display: block;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        padding: 14px 16px;
        margin: 0px 0 0px 0;
    }

    .tour-mobile-sticky__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1px solid #f1f5f9;
    }

    .tour-mobile-sticky__meta-item {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: #369AE3;
        font-weight: 500;
    }

    .tour-mobile-sticky__meta-item svg { flex-shrink: 0; }

    .tour-mobile-sticky__prices {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .tour-mobile-sticky__price {
        font-size: 22px;
        font-weight: 800;
        color: #152238;
        line-height: 0.8;
        margin: 6px 0 4px 0;
    }

    .tour-mobile-sticky__price span {
        font-size: 12px;
        font-weight: 400;
        color: #7c869f;
    }

    .tour-mobile-sticky__price-baby {
        font-size: 12px;
        font-weight: 400;
        color: #334155;
        margin: 6px 0 0 0;
        opacity: 0.7;
    }

    .tour-mobile-sticky__price-baby span {
        font-size: 11px;
        font-weight: 300;
        color: #7c869f;
    }
}