/* ==========================================================================
   Oasis Event Detail Page
   Oasis event detail experience.

   SPECIFICITY STRATEGY:
   Legacy theme uses selectors like:
     .single-tour .tourmaster-with-sidebar .tourmaster-tour-info-outer .tourmaster-tour-info-wrap
     .single-tour .tourmaster-tour-info-wrap .tourmaster-tour-info
     .tourmaster-tour-style-1 .tourmaster-booking-tab-title

   We prefix critical overrides with body.single-tour or
   #tourmaster-page-wrapper to guarantee higher specificity.
   ========================================================================== */

/* ==========================================================================
   0. Design Tokens (CSS custom properties scoped to this page)
   ========================================================================== */
.tourmaster-page-wrapper {
    --od-blue-50:  #e8f9fa;
    --od-blue-100: #d1f4f6;
    --od-blue-200: #a8e9ec;
    --od-blue-400: #32c4cc;
    --od-blue-500: #00aebb;
    --od-blue-600: #008b98;
    --od-blue-700: #066f78;

    --od-slate-50:  #f8fafc;
    --od-slate-100: #f1f5f9;
    --od-slate-200: #e2e8f0;
    --od-slate-300: #cbd5e1;
    --od-slate-400: #94a3b8;
    --od-slate-500: #64748b;
    --od-slate-600: #475569;
    --od-slate-700: #334155;
    --od-slate-800: #1e293b;
    --od-slate-900: #0f172a;

    --od-green-500: #22c55e;
    --od-red-500:   #ef4444;
    --od-amber-500: #f59e0b;

    --od-gray-100: #f3f4f6;
    --od-gray-200: #e5e7eb;
    --od-gray-300: #d1d5db;
    --od-gray-700: #374151;
    --od-gray-900: #111827;

    --od-radius-sm:  6px;
    --od-radius-md:  10px;
    --od-radius-lg:  14px;
    --od-radius-xl:  18px;

    --od-shadow-sm:  0 1px 2px rgba(0,0,0,.05);
    --od-shadow-md:  0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --od-shadow-lg:  0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --od-shadow-xl:  0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);

    --od-transition: 0.2s cubic-bezier(.4,0,.2,1);
    --od-focus-ring: 0 0 0 3px rgba(0,174,187,.16);
}


/* ==========================================================================
   1. Hero Header
   ========================================================================== */
body.single-tour .tourmaster-single-header {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
}
body.single-tour .tourmaster-single-header-background-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 100%) !important;
}

/* Hero container */
body.single-tour .tourmaster-single-header-container-inner {
    position: relative;
}
body.single-tour .tourmaster-single-header-title-wrap {
    padding-right: 400px !important;
}

/* Hide the hero price badge — price is shown on the sidebar instead */
body.single-tour .tourmaster-single-header .tourmaster-header-price {
    display: none !important;
}

body.single-tour .tourmaster-single-header-title {
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
    letter-spacing: -0.02em;
}

/* Hero price badge — hidden, see sidebar instead */
body.single-tour .tourmaster-single-header .tourmaster-header-price-ribbon {
    display: none !important;
}
body.single-tour .tourmaster-single-header .tourmaster-header-price-wrap {
    display: none !important;
}


/* ==========================================================================
   2. Info Bar (duration, dates, capacity chips)

   Legacy uses: float:left + width:50% then float:none in responsive
   We override with flex and kill the floats/widths/paddings.
   ========================================================================== */
body.single-tour .tourmaster-tour-info-outer {
    background: #fff !important;
    border-bottom: 1px solid var(--od-gray-200);
    padding: 0 !important;
}

body.single-tour .tourmaster-tour-info-outer .tourmaster-tour-info-wrap {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 15px !important;
    margin-bottom: 0 !important;
    float: none !important;
}

/* Keep desktop space for the right booking bar to prevent overlap */
body.single-tour .tourmaster-with-sidebar .tourmaster-tour-info-outer .tourmaster-tour-info-wrap {
    padding: 18px 410px 18px 15px !important;
}

/* Kill legacy float/width on individual chips */
body.single-tour .tourmaster-tour-info-outer .tourmaster-tour-info {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: var(--od-slate-50);
    border: 1px solid var(--od-slate-200);
    border-radius: var(--od-radius-md);
    padding: 12px 16px !important;
    font-size: 13.5px !important;
    font-weight: 600;
    color: var(--od-slate-700);
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    transition: all var(--od-transition);
    letter-spacing: .01em;
}
body.single-tour .tourmaster-tour-info-outer .tourmaster-tour-info:hover {
    background: var(--od-blue-50);
    border-color: var(--od-blue-200);
}

/* Kill the .tourmaster-item-pdlr side padding on chips */
body.single-tour .tourmaster-tour-info.tourmaster-item-pdlr {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

body.single-tour .tourmaster-tour-info-outer .tourmaster-tour-info i {
    color: var(--od-blue-500);
    font-size: 16px;
    width: 22px;
    height: 22px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 0 !important;
    flex-shrink: 0;
}

/* Hide empty chips (no text content) */
body.single-tour .tourmaster-tour-info:empty {
    display: none !important;
}


/* ==========================================================================
   3. Tab Navigation (Detaylar / Plan / Oteller / Resimler / Harita)
   ========================================================================== */
#tourmaster-page-wrapper .tourmaster-content-navigation-item-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
#tourmaster-page-wrapper .tourmaster-content-navigation-item-outer {
    background-color: var(--od-slate-100) !important;
}
#tourmaster-page-wrapper .tourmaster-content-navigation-item-outer.tourmaster-fixed {
    background-color: rgba(241, 245, 249, .95) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
#tourmaster-page-wrapper .tourmaster-content-navigation-item {
    display: flex;
    gap: 4px;
    background: transparent;
    border-radius: var(--od-radius-lg);
    padding: 5px !important;
    overflow-x: auto;
    scrollbar-width: none;
}
#tourmaster-page-wrapper .tourmaster-content-navigation-item::-webkit-scrollbar {
    display: none;
}
#tourmaster-page-wrapper .tourmaster-content-navigation-tab {
    padding: 10px 22px !important;
    border-radius: var(--od-radius-md) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--od-slate-500) !important;
    background: transparent !important;
    border: none !important;
    transition: all var(--od-transition) !important;
    text-decoration: none !important;
    white-space: nowrap;
    position: relative;
}
#tourmaster-page-wrapper .tourmaster-content-navigation-tab:hover {
    color: var(--od-slate-700) !important;
    background: rgba(255,255,255,.55) !important;
}
#tourmaster-page-wrapper .tourmaster-content-navigation-tab.tourmaster-active {
    color: var(--od-gray-900) !important;
    background: #fff !important;
    box-shadow: var(--od-shadow-sm) !important;
}
#tourmaster-page-wrapper .tourmaster-content-navigation-slider {
    display: none !important;
}


/* ==========================================================================
   4. Content Sections
   ========================================================================== */
#tourmaster-page-wrapper .tourmaster-template-wrapper {
    background: var(--od-slate-50) !important;
}
#tourmaster-page-wrapper .tourmaster-template-wrapper .gdlr-core-page-builder-body {
    background: transparent;
}
body.single-tour .gdlr-core-page-builder-body > .gdlr-core-pbf-wrapper {
    padding: 36px 0 !important;
    background: transparent !important;
}
body.single-tour .gdlr-core-page-builder-body > .gdlr-core-pbf-wrapper + .gdlr-core-pbf-wrapper {
    padding-top: 0 !important;
}

/* --- Section Titles --- */
#tourmaster-page-wrapper .gdlr-core-title-item-title.gdlr-core-skin-title {
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--od-slate-800) !important;
    letter-spacing: -0.01em;
    line-height: 1.3 !important;
}
#tourmaster-page-wrapper .gdlr-core-title-item-title .gdlr-core-title-item-left-icon i {
    color: var(--od-blue-500) !important;
    font-size: 17px !important;
    margin-right: 10px;
}
#tourmaster-page-wrapper .gdlr-core-title-item-title-divider {
    display: none !important;
}

/* --- Detail Content Text --- */
#tourmaster-page-wrapper .gdlr-core-text-box-item-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--od-gray-700);
}
#tourmaster-page-wrapper .gdlr-core-text-box-item-content p {
    margin-bottom: 14px;
}

/* --- Service Sections (dahil / haric / tavsiye / ek) --- */
.oasis-service-section {
    margin-bottom: 8px;
}
.oasis-service-title {
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--od-slate-800) !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}
.oasis-service-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--od-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.oasis-service-included .oasis-service-icon {
    background: rgba(34, 197, 94, .1);
    color: var(--od-green-500);
}
.oasis-service-excluded .oasis-service-icon {
    background: rgba(239, 68, 68, .1);
    color: var(--od-red-500);
}
.oasis-service-tips .oasis-service-icon {
    background: rgba(59, 130, 246, .1);
    color: var(--od-blue-500);
}
.oasis-service-extra .oasis-service-icon {
    background: rgba(245, 158, 11, .1);
    color: var(--od-amber-500);
}

.oasis-service-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.oasis-service-list li {
    background: #fff;
    border: 1px solid var(--od-slate-200);
    border-radius: var(--od-radius-sm);
    padding: 10px 14px !important;
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--od-gray-700);
    line-height: 1.5;
    transition: border-color var(--od-transition);
}
.oasis-service-list li:hover {
    border-color: var(--od-slate-300);
}
.oasis-service-check {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 11px;
    margin-top: 1px;
}
.oasis-service-included .oasis-service-check {
    background: rgba(34, 197, 94, .1);
    color: var(--od-green-500);
}
.oasis-service-excluded .oasis-service-check {
    background: rgba(239, 68, 68, .1);
    color: var(--od-red-500);
}
.oasis-service-tips .oasis-service-check {
    background: rgba(59, 130, 246, .1);
    color: var(--od-blue-500);
}
.oasis-service-extra .oasis-service-check {
    background: rgba(245, 158, 11, .1);
    color: var(--od-amber-500);
}

/* Legacy icon-list-item fallback (keep for any remaining usage) */
#tourmaster-page-wrapper .gdlr-core-icon-list-item ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    gap: 6px;
}
#tourmaster-page-wrapper .gdlr-core-icon-list-item li {
    background: #fff;
    border: 1px solid var(--od-slate-200);
    border-radius: var(--od-radius-sm);
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center;
    gap: 12px;
    transition: border-color var(--od-transition);
}
#tourmaster-page-wrapper .gdlr-core-icon-list-item li:hover {
    border-color: var(--od-slate-300);
}
#tourmaster-page-wrapper .gdlr-core-icon-list-icon-wrap {
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--od-radius-sm);
    flex-shrink: 0;
    font-size: 13px;
}
/* Color-coded icons */
#tourmaster-page-wrapper .gdlr-core-icon-list-icon.fa-check  { color: var(--od-green-500) !important; }
#tourmaster-page-wrapper .gdlr-core-icon-list-icon.fa-close  { color: var(--od-red-500) !important; }
#tourmaster-page-wrapper .gdlr-core-icon-list-icon.fa-money  { color: var(--od-amber-500) !important; }
#tourmaster-page-wrapper .gdlr-core-icon-list-icon.fa-info   { color: var(--od-blue-500) !important; }

#tourmaster-page-wrapper .gdlr-core-icon-list-content {
    font-size: 14px !important;
    color: var(--od-gray-700) !important;
    font-weight: 500;
    line-height: 1.45;
}

/* --- Dividers --- */
#tourmaster-page-wrapper .gdlr-core-divider-line {
    border-color: var(--od-gray-200) !important;
}


/* ==========================================================================
   5. Toggle Boxes (Plan / Hotels)
   ========================================================================== */
#tourmaster-page-wrapper .gdlr-core-toggle-box-item-tab {
    margin-bottom: 8px !important;
    border-radius: var(--od-radius-md) !important;
    overflow: hidden;
    border: 1px solid var(--od-slate-200) !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color var(--od-transition);
}
#tourmaster-page-wrapper .gdlr-core-toggle-box-item-tab:hover {
    border-color: var(--od-slate-300) !important;
}
#tourmaster-page-wrapper .gdlr-core-toggle-box-item-title {
    background: #fff !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--od-slate-800) !important;
    border-radius: 0 !important;
    transition: background var(--od-transition);
    cursor: pointer;
}
#tourmaster-page-wrapper .gdlr-core-toggle-box-item-title:hover {
    background: var(--od-slate-50) !important;
}
#tourmaster-page-wrapper .gdlr-core-toggle-box-item-title .gdlr-core-head {
    color: var(--od-blue-600) !important;
    font-weight: 700;
    margin-right: 8px;
}
#tourmaster-page-wrapper .gdlr-core-toggle-box-item-content {
    padding: 18px 20px !important;
    font-size: 14px;
    line-height: 1.75;
    color: var(--od-gray-700);
    border-top: 1px solid var(--od-gray-200);
}


/* ==========================================================================
   6. Registration Form Sidebar
   ========================================================================== */

/* -- Sidebar Card Shell -- */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer {
    border-radius: var(--od-radius-xl) !important;
    overflow: hidden;
    box-shadow: var(--od-shadow-lg) !important;
    border: 1px solid rgba(148, 163, 184, .2);
    transition: box-shadow 0.3s ease;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer:hover {
    box-shadow: var(--od-shadow-xl) !important;
}

/* -- Sidebar Price Badge: always visible above the form -- */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-wrap .tourmaster-header-price {
    display: block !important;
    margin: 0 !important;
    border-radius: var(--od-radius-xl) var(--od-radius-xl) 0 0;
    overflow: hidden;
    position: relative;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-header-price-ribbon {
    background: linear-gradient(135deg, var(--oasis-navy-light), var(--oasis-teal-dark)) !important;
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 10px 20px !important;
    color: rgba(255,255,255,.9);
    text-align: center;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-header-price-wrap {
    background: linear-gradient(160deg, var(--od-blue-600) 0%, var(--od-blue-500) 50%, var(--od-blue-600) 100%) !important;
    padding: 20px 24px 22px !important;
    text-align: center;
    position: relative;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-header-price-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
    pointer-events: none;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-header-price-overlay {
    display: none !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-tour-price-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-tour-price .tourmaster-tail {
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-tour-price-info {
    font-size: 14px !important;
    color: rgba(255,255,255,.7) !important;
    cursor: help;
    transition: color var(--od-transition);
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer .tourmaster-tour-price-info:hover {
    color: #fff !important;
}

/* -- Form Title Bar (Kayit Formu) -- */
body.single-tour .tourmaster-tour-style-1 .tourmaster-booking-tab-title,
#tourmaster-page-wrapper .tourmaster-booking-tab-title {
    background: #fff !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--od-slate-200) !important;
}
body.single-tour .tourmaster-booking-tab-title-item,
#tourmaster-page-wrapper .tourmaster-booking-tab-title-item {
    padding: 14px 24px !important;
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--od-slate-700) !important;
    text-align: center;
    letter-spacing: .02em;
    text-transform: uppercase;
    background: transparent !important;
    width: 100%;
    box-sizing: border-box;
}
body.single-tour .tourmaster-booking-tab-title-item.tourmaster-active,
#tourmaster-page-wrapper .tourmaster-booking-tab-title-item.tourmaster-active {
    background: transparent !important;
    color: var(--od-slate-700) !important;
}

/* -- Form Body -- */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-inner {
    background: #fff !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-enquiry-wrap {
    padding: 4px 0 !important;
}
#tourmaster-page-wrapper .tourmaster-enquiry-form {
    padding: 22px 24px !important;
}

/* -- Form Labels -- */
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-head {
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--od-slate-700) !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    letter-spacing: .01em;
}
#tourmaster-page-wrapper .tourmaster-req {
    color: var(--od-red-500) !important;
    margin-left: 2px;
}

/* -- Form Inputs & Selects -- */
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail input[type="text"],
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail input[type="email"],
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail input[type="number"],
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail input[type="date"],
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail textarea,
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-combobox-wrap select {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 2px solid var(--od-gray-200) !important;
    border-radius: var(--od-radius-md) !important;
    font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 14px !important;
    font-weight: 400;
    color: var(--od-slate-800) !important;
    background: #fff !important;
    transition: border-color var(--od-transition), box-shadow var(--od-transition) !important;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
    height: auto !important;
}
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail input::placeholder,
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail textarea::placeholder {
    color: var(--od-slate-400);
    font-weight: 400;
}
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail input:focus,
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail textarea:focus,
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-combobox-wrap select:focus {
    border-color: var(--od-blue-400) !important;
    box-shadow: var(--od-focus-ring) !important;
}
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail textarea {
    min-height: 80px !important;
    resize: vertical;
}

/* -- Select Caret -- */
#tourmaster-page-wrapper .tourmaster-combobox-wrap {
    position: relative;
}
#tourmaster-page-wrapper .tourmaster-combobox-wrap::after {
    content: '' !important;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0 !important;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--od-slate-400);
    pointer-events: none;
    font-family: inherit !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transition: border-color var(--od-transition);
}
#tourmaster-page-wrapper .tourmaster-combobox-wrap:focus-within::after {
    border-top-color: var(--od-blue-500);
}
#tourmaster-page-wrapper .tourmaster-combobox-wrap select {
    padding-right: 36px !important;
    cursor: pointer;
}

/* -- Field Spacing -- */
#tourmaster-page-wrapper .tourmaster-enquiry-field {
    margin-bottom: 14px !important;
    padding: 0 !important;
}
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail {
    padding: 0 !important;
}

/* -- Date Picker Calendar Icon -- */
#tourmaster-page-wrapper .tourmaster-enquiry-field .tourmaster-tail .fa-calendar {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--od-slate-400);
    font-size: 14px;
    pointer-events: none;
}
#tourmaster-page-wrapper .tourmaster-enquiry-field-travel-date .tourmaster-tail {
    position: relative;
}

/* -- Person Info Cards -- */
#tourmaster-page-wrapper .persons {
    background: var(--od-slate-50);
    border: 1px solid var(--od-gray-200);
    border-radius: var(--od-radius-md);
    padding: 14px;
    margin-bottom: 12px;
    transition: border-color var(--od-transition);
}
#tourmaster-page-wrapper .persons:hover {
    border-color: var(--od-slate-300);
}
#tourmaster-page-wrapper .persons .tourmaster-enquiry-field {
    margin-bottom: 8px !important;
}
#tourmaster-page-wrapper .persons .tourmaster-enquiry-field:last-child {
    margin-bottom: 0 !important;
}
#tourmaster-page-wrapper .persons > .tourmaster-enquiry-field:first-child .tourmaster-head {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--od-blue-600) !important;
}

/* -- Radio Buttons -- */
#tourmaster-page-wrapper .tourmaster-enquiry-field input[type="radio"] {
    accent-color: var(--od-blue-500);
    margin-right: 4px;
    cursor: pointer;
}
#tourmaster-page-wrapper .tourmaster-enquiry-field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--od-gray-700);
    cursor: pointer;
    transition: color var(--od-transition);
}
#tourmaster-page-wrapper .tourmaster-enquiry-field label:hover {
    color: var(--od-slate-800);
}

/* -- Required-fields footnote -- */
#tourmaster-page-wrapper .tourmaster-enquiry-form > .tourmaster-head {
    font-size: 12px !important;
    color: var(--od-slate-400) !important;
    font-weight: 400 !important;
}

/* -- KVKK / Terms Checkbox -- */
#tourmaster-page-wrapper .tourmaster-enquiry-term {
    font-size: 12px !important;
    line-height: 1.65 !important;
    color: var(--od-slate-500) !important;
    padding: 12px 14px !important;
    background: var(--od-slate-50);
    border-radius: var(--od-radius-sm);
    border: 1px solid var(--od-gray-200);
}
#tourmaster-page-wrapper .tourmaster-enquiry-term input[type="checkbox"] {
    accent-color: var(--od-blue-500);
    margin-right: 6px;
    cursor: pointer;
}
#tourmaster-page-wrapper .tourmaster-enquiry-term a {
    color: var(--od-blue-500) !important;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--od-transition);
}
#tourmaster-page-wrapper .tourmaster-enquiry-term a:hover {
    color: var(--od-blue-700) !important;
    text-decoration: underline;
}

/* -- reCAPTCHA -- */
#tourmaster-page-wrapper .tourmaster-enquiry-form .g-recaptcha {
    margin: 10px 0;
    transform: scale(0.9);
    transform-origin: left top;
}

/* -- Submit Button -- */
#tourmaster-page-wrapper .tourmaster-enquiry-form input[type="submit"],
#tourmaster-page-wrapper .tourmaster-enquiry-form .tourmaster-button {
    display: block;
    width: 100% !important;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, var(--od-blue-500) 0%, var(--od-blue-600) 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: none !important;
    border-radius: var(--od-radius-lg) !important;
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--od-transition) !important;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
    text-align: center;
    line-height: 1.4 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
}
#tourmaster-page-wrapper .tourmaster-enquiry-form input[type="submit"]:hover,
#tourmaster-page-wrapper .tourmaster-enquiry-form .tourmaster-button:hover {
    background: linear-gradient(135deg, var(--od-blue-600) 0%, var(--od-blue-700) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.35) !important;
}
#tourmaster-page-wrapper .tourmaster-enquiry-form input[type="submit"]:active,
#tourmaster-page-wrapper .tourmaster-enquiry-form .tourmaster-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37,99,235,.25) !important;
}


/* ==========================================================================
   7. Sidebar Widgets (exchange rates, why oasis, contact)
   ========================================================================== */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget {
    padding-top: 24px !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .widget {
    background: #fff;
    border: 1px solid var(--od-slate-200);
    border-radius: var(--od-radius-lg);
    padding: 0 !important;
    margin-bottom: 24px;
    overflow: visible !important;
    transition: box-shadow var(--od-transition);
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .widget:hover {
    box-shadow: var(--od-shadow-md);
}

/* Kill legacy negative margin-top on space shortcodes that eat widget spacing */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-space-shortcode {
    margin-top: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* Widget titles */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-list-shortcode {
    background: #fff !important;
    padding: 0 !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-list-shortcode-title,
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode-title {
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    color: var(--od-blue-700) !important;
    margin-bottom: 0 !important;
    padding: 14px 20px !important;
    border-bottom: 2px solid var(--od-blue-500);
    background: linear-gradient(135deg, var(--od-blue-50), #fff) !important;
    position: relative;
    overflow: visible !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    text-overflow: unset !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
}

/* Widget list items */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-list-shortcode ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-list-shortcode li {
    padding: 12px 20px !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--od-slate-700);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--od-slate-100);
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-list-shortcode li:last-child {
    border-bottom: none;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-list-shortcode li i {
    color: var(--od-blue-500) !important;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Contact box widget */
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode {
    background: #fff !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: none !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode-content {
    padding: 16px 20px !important;
    font-size: 14px;
    color: var(--od-slate-600);
    line-height: 1.65;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode-content p {
    margin-bottom: 8px !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode-content p:last-child {
    margin-bottom: 0 !important;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode-content i {
    color: var(--od-blue-500) !important;
    margin-right: 8px;
    width: 18px;
    display: inline-block;
    text-align: center;
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode-content a {
    color: var(--od-blue-600) !important;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--od-transition);
}
#tourmaster-page-wrapper .tourmaster-tour-booking-bar-widget .gdlr-core-widget-box-shortcode-content a:hover {
    color: var(--od-blue-700) !important;
    text-decoration: underline;
}


/* ==========================================================================
   8. Gallery Slider & Photos
   ========================================================================== */
#tourmaster-page-wrapper .gdlr-core-gallery-item-style-slider .gdlr-core-flexslider {
    border-radius: var(--od-radius-lg);
    overflow: hidden;
    box-shadow: none !important;
    border: none !important;
}
#tourmaster-page-wrapper .gdlr-core-gallery-item-style-slider .gdlr-core-flexslider img {
    border-radius: var(--od-radius-lg);
    display: block;
}
#tourmaster-page-wrapper .gdlr-core-gallery-list .gdlr-core-image-overlay {
    background: rgba(0,0,0,.25) !important;
    border-radius: var(--od-radius-lg);
    transition: background var(--od-transition);
}
#tourmaster-page-wrapper .gdlr-core-gallery-list:hover .gdlr-core-image-overlay {
    background: rgba(0,0,0,.4) !important;
}
#tourmaster-page-wrapper .gdlr-core-gallery-list .gdlr-core-image-overlay-icon {
    color: #fff !important;
}
/* Gallery bullet nav */
#tourmaster-page-wrapper .gdlr-core-flexslider .flex-control-nav {
    margin-top: 12px !important;
}
#tourmaster-page-wrapper .gdlr-core-flexslider .flex-control-nav li a {
    background: var(--od-slate-300) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    border: none !important;
    transition: background var(--od-transition);
}
#tourmaster-page-wrapper .gdlr-core-flexslider .flex-control-nav li a.flex-active {
    background: var(--od-blue-500) !important;
}


/* ==========================================================================
   9. Map
   ========================================================================== */
#tourmaster-page-wrapper .gdlr-core-text-box-item iframe {
    border-radius: var(--od-radius-lg);
    border: 1px solid var(--od-gray-200) !important;
}


/* ==========================================================================
   10. KVKK & Generic Modals
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(15,23,42,.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal-content {
    background: #fff;
    margin: 4vh auto;
    border: none;
    width: min(90%, 800px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--od-radius-xl);
    box-shadow: var(--od-shadow-xl);
    animation: modalSlideUp .25s ease-out;
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--od-blue-600) 0%, var(--od-blue-500) 100%);
    color: #fff;
    border-radius: var(--od-radius-xl) var(--od-radius-xl) 0 0;
    flex-shrink: 0;
}
.modal-header h3 {
    margin: 0;
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 17px;
    font-weight: 700;
}
.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.7;
    color: var(--od-gray-700);
}
.modal-footer {
    padding: 14px 24px;
    background: var(--od-slate-50);
    border-top: 1px solid var(--od-gray-200);
    text-align: center;
    flex-shrink: 0;
    border-radius: 0 0 var(--od-radius-xl) var(--od-radius-xl);
}
.modal-close-btn {
    background: linear-gradient(135deg, var(--od-blue-500) 0%, var(--od-blue-600) 100%);
    color: #fff;
    border: none;
    padding: 10px 32px;
    font-family: "Inter Variable", Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--od-radius-sm);
    transition: all var(--od-transition);
    box-shadow: 0 2px 6px rgba(37,99,235,.2);
}
.modal-close-btn:hover {
    background: linear-gradient(135deg, var(--od-blue-600) 0%, var(--od-blue-700) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.close {
    color: rgba(255,255,255,.85);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color var(--od-transition);
}
.close:hover,
.close:focus {
    color: #fff;
}


/* ==========================================================================
   11. Loader Overlay
   ========================================================================== */
.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,.8);
}
.loader img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 999px) {
    /* Keep in-page nav visible on tablet widths */
    #tourmaster-page-wrapper .tourmaster-content-navigation-item-wrap {
        display: block !important;
    }

    #tourmaster-page-wrapper .tourmaster-content-navigation-item {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    #tourmaster-page-wrapper .tourmaster-content-navigation-tab {
        flex: 0 0 auto;
    }

    /* Resolve 960-999px mismatch (theme CSS vs JS breakpoints) */
    body.single-tour .tourmaster-tour-booking-bar-container-inner .tourmaster-tour-booking-bar-anchor {
        display: none !important;
    }

    body.single-tour .tourmaster-tour-booking-bar-container-inner .tourmaster-tour-booking-bar-wrap {
        position: static !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 24px 0 0 !important;
    }

    body.single-tour .tourmaster-single-header .tourmaster-header-price {
        display: none !important;
    }

    body.single-tour .tourmaster-single-header-title-wrap {
        padding-right: 20px !important;
    }

    body.single-tour .tourmaster-with-sidebar .gdlr-core-container,
    body.single-tour .tourmaster-with-sidebar .tourmaster-single-main-content,
    body.single-tour .tourmaster-with-sidebar .tourmaster-single-review,
    body.single-tour .tourmaster-with-sidebar .tourmaster-single-related-tour-container {
        padding-right: 20px !important;
    }

    body.single-tour .tourmaster-with-sidebar .tourmaster-tour-info-outer .tourmaster-tour-info-wrap {
        padding: 14px 20px !important;
    }
}

@media (max-width: 767px) {
    body.single-tour .tourmaster-single-header-title-wrap {
        padding-right: 0 !important;
    }
    body.single-tour .tourmaster-single-header .tourmaster-header-price {
        display: none !important;
    }
    body.single-tour .tourmaster-single-header-title {
        font-size: 24px !important;
    }
    body.single-tour .tourmaster-tour-info-outer .tourmaster-tour-info-wrap {
        gap: 8px;
        padding: 14px 12px !important;
    }
    body.single-tour .tourmaster-tour-info-outer .tourmaster-tour-info {
        font-size: 12px !important;
        padding: 10px 14px !important;
    }
    #tourmaster-page-wrapper .tourmaster-content-navigation-item {
        gap: 2px;
    }
    #tourmaster-page-wrapper .tourmaster-content-navigation-tab {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    #tourmaster-page-wrapper .tourmaster-enquiry-form {
        padding: 16px !important;
    }
    #tourmaster-page-wrapper .tourmaster-booking-tab-title-item {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }
    #tourmaster-page-wrapper .tourmaster-tour-booking-bar-outer {
        border-radius: var(--od-radius-lg) !important;
    }
    .modal-content {
        width: 95%;
        margin: 2vh auto;
        max-height: 92vh;
        border-radius: var(--od-radius-lg);
    }
    .modal-header {
        padding: 14px 18px;
        border-radius: var(--od-radius-lg) var(--od-radius-lg) 0 0;
    }
    .modal-footer {
        border-radius: 0 0 var(--od-radius-lg) var(--od-radius-lg);
    }
    #tourmaster-page-wrapper .gdlr-core-toggle-box-item-title {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    #tourmaster-page-wrapper .gdlr-core-toggle-box-item-content {
        padding: 14px !important;
    }
    .oasis-service-list {
        grid-template-columns: 1fr;
    }
    .oasis-service-title {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    body.single-tour .tourmaster-single-header {
        min-height: 280px;
    }
    body.single-tour .tourmaster-single-header-title {
        font-size: 20px !important;
    }
    #tourmaster-page-wrapper .tourmaster-enquiry-form .g-recaptcha {
        transform: scale(0.82);
    }
}
