/* PhotoTravel v3: actual Flix layout selectors; keep native booking JS intact */
.wbtm_search_area.pt-compact-page{background:#fbfcfe!important;padding:0!important;border:0!important;box-shadow:none!important}
.wbtm_search_area.pt-compact-page > form.mpForm,.wbtm_search_area.pt-compact-page > .mpForm,.wbtm_search_area.pt-compact-page > .wbtm_search_input_fields_holder,.wbtm_search_area.pt-compact-page > h4{display:none!important}
.wbtm_search_area.pt-compact-page .wbtm_search_result_holder{max-width:1300px!important;margin:0 auto!important;background:transparent!important;display:block!important;padding:0!important}
.pt-compact-page .wbtm_search_result,.pt-compact-page .wbtm_bus_list_area{max-width:100%!important;width:100%!important;padding:0!important;background:transparent!important}
.pt-compact-page .wbtm-list-header,.pt-compact-page .wbtm_bus_left_filter_holder,.pt-compact-page .wbtm-mobile-filter-toggle,.pt-compact-page .wbtm-flix-photo,.pt-compact-page .wbtm-bus-flix-style_bus,.pt-compact-page .wbtm_bus_details_tabs_holder{display:none!important}
.pt-compact-page .wbtm-bus-flix-style.pt-trip-card{display:block!important;max-width:none!important;width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important;overflow:visible!important}
.pt-compact-page .pt-trip-info{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:34px 42px;margin-bottom:22px;background:#fff;border:1px solid #e8ecf2;border-radius:19px;box-shadow:0 12px 35px rgba(30,41,59,.04)}
.pt-compact-page .pt-trip-name{font-size:clamp(23px,3.2vw,43px);font-weight:780;color:#101827;line-height:1.18;letter-spacing:-.035em}
.pt-compact-page .pt-trip-right{border-left:1px solid #e5e7eb;min-width:230px;padding-left:30px;text-align:right;white-space:nowrap}
.pt-compact-page .pt-trip-right small{display:block;color:#8290a5;font-size:13px;margin-bottom:6px}
.pt-compact-page .pt-trip-price{color:#f39b0c;font-size:clamp(24px,3vw,42px);font-weight:800;line-height:1.15}
.pt-compact-page .wbtm_bus_details{display:block;max-width:none!important;width:100%!important;min-height:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.pt-compact-page .wbtm_registration_area{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:100%!important}
.pt-compact-page .wbtm_seat_plan_area,.pt-compact-page .wbtm_ex_service_area,.pt-compact-page .wbtm_attendee_item,.pt-compact-page .wbtm_booking_summary_preview{background:white!important;border:1px solid #e8ecf2!important;box-shadow:0 8px 25px rgba(30,41,59,.035)!important;border-radius:18px!important;overflow:hidden!important}
.pt-compact-page .wbtm_seat_plan_area{padding:24px!important}
.pt-seat-heading{display:flex;gap:14px;align-items:center;margin-bottom:22px;color:#101827}.pt-seat-heading strong{font-size:19px;font-weight:750;display:block}.pt-seat-heading small{font-size:13px;color:#8491a4;display:block;margin-top:3px}.pt-round-icon{display:grid;place-items:center;width:47px;height:47px;background:#fff6e6;border-radius:50%;font-size:25px}
.pt-compact-page .wbtm_ex_service_area{padding:16px!important;margin-bottom:16px!important}
.pt-compact-page .wbtm_ex_service_area>h3,.pt-compact-page .wbtm_booking_summary_title{background:transparent!important;border:0!important;font-size:18px!important;color:#111827!important;font-weight:750!important;margin:0!important;padding:12px 12px 16px!important;text-transform:none!important}
.pt-compact-page .wbtm_ex_service_area table,.pt-compact-page .wbtm_ex_service_area .mpPanel{width:100%!important;border:0!important;box-shadow:none!important;margin:0!important}
.pt-compact-page .wbtm_ex_service_area table thead{display:none!important}.pt-compact-page .wbtm_ex_service_area tr.pt-room-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;border:1px solid #e8ecf2!important;border-radius:12px;padding:12px!important}.pt-compact-page .wbtm_ex_service_area tr.pt-room-row td{display:block!important;border:0!important;padding:0!important;flex:0 0 auto!important}.pt-compact-page .wbtm_ex_service_area tr.pt-room-row td:first-child{flex:1 1 125px!important}.pt-compact-page .wbtm_ex_service_area tr.pt-room-row td:nth-child(2){flex:1 1 260px!important}.pt-compact-page .pt-original-quantity{display:none!important}
.pt-compact-page select.pt-room-select{display:block!important;appearance:auto!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;width:100%!important;min-height:48px!important;background:#fff!important;border:1px solid #d8dee8!important;border-radius:10px!important;padding:10px!important;color:#111827!important;font:inherit!important;cursor:pointer!important}
.pt-compact-page .wbtm_attendee_item{padding:0!important;margin:0 0 16px!important}.pt-compact-page .wbtm_attendee_item .mpPanelHeader,.pt-compact-page .wbtm_attendee_item .mpPanelBody{background:white!important;padding:20px!important}.pt-compact-page .wbtm_attendee_item .mpPanelHeader{border-bottom:1px solid #eef0f4!important}.pt-compact-page .wbtm_attendee_item .mpPanelBody{display:flex!important;flex-wrap:wrap!important;gap:14px!important;justify-content:space-between!important}.pt-compact-page .wbtm_attendee_item label.mp_form_item{min-width:0!important;flex:0 0 calc(50% - 7px)!important;width:calc(50% - 7px)!important;max-width:none!important;margin:0!important;display:flex!important;flex-direction:column!important;gap:7px!important}.pt-compact-page .wbtm_attendee_item label.mp_form_item>span{font-size:13px!important;color:#263145!important;font-weight:650!important}
.pt-compact-page .wbtm_attendee_item input.formControl,.pt-compact-page .wbtm_attendee_item select.formControl,.pt-compact-page .wbtm_attendee_item textarea.formControl{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:46px!important;height:auto!important;border:1px solid #dce2ec!important;border-radius:10px!important;background:#fafbfc!important;padding:11px 13px!important;font-size:14px!important;color:#162237!important;box-shadow:none!important;opacity:1!important;pointer-events:auto!important;appearance:auto!important}
.pt-compact-page .wbtm_attendee_item input:focus,.pt-compact-page .wbtm_attendee_item select:focus,.pt-compact-page .pt-room-select:focus{outline:2px solid #ffcd55!important;outline-offset:1px!important;border-color:#e2a32a!important}
.pt-compact-page .wbtm_booking_summary_preview{padding:18px!important}.pt-compact-page .wbtm_booking_summary_route,.pt-compact-page .wbtm_booking_summary_subtotal,.pt-compact-page .wbtm_booking_summary_note,.pt-compact-page .wbtm_summary_preview_services{display:none!important}.pt-compact-page .wbtm_booking_summary_card{border:0!important;background:transparent!important;box-shadow:none!important}.pt-compact-page .wbtm_booking_summary_total{font-weight:750!important;color:#111827!important}
.pt-compact-page .wbtm_summary_preview_rows td:first-child{font-size:0!important}.pt-compact-page .wbtm_summary_preview_rows td:first-child .pt-seat-label{font-size:13px!important;font-weight:700!important;color:#101827!important}.pt-compact-page .wbtm_summary_preview_book_now{width:100%!important;min-height:56px!important;border:0!important;border-radius:12px!important;background:#ffca39!important;color:#141414!important;font-weight:780!important;font-size:16px!important;box-shadow:none!important;cursor:pointer!important}.pt-compact-page .wbtm_summary_preview_book_now:disabled{opacity:.5!important}
.pt-compact-page .pt-error{border-color:#dc2626!important}.pt-error-message{font-size:11px;color:#b91c1c}
@media(max-width:760px){.pt-compact-page .pt-trip-info{padding:23px 19px!important;flex-wrap:wrap}.pt-compact-page .pt-trip-name{font-size:25px}.pt-compact-page .pt-trip-right{border-left:0;border-top:1px solid #e5e7eb;padding:13px 0 0;text-align:left;min-width:0;width:100%}.pt-compact-page .wbtm_attendee_item label.mp_form_item{flex-basis:100%!important;width:100%!important}.pt-compact-page .wbtm_seat_plan_area{padding:12px!important}}

/* v3: target real Flix markup regardless of original outer theme containers */
.wbtm_search_result_holder.pt-v3-scope{background:transparent!important;display:block!important;width:100%!important;max-width:1360px!important;margin:auto!important;padding:0!important}
.wbtm_search_result_holder.pt-v3-scope .wbtm-list-header,.wbtm_search_result_holder.pt-v3-scope .wbtm_bus_left_filter_holder{display:none!important}
.wbtm_search_result_holder.pt-v3-scope .wbtm_bus_list_area{width:100%!important;max-width:100%!important;float:none!important;flex:1 1 100%!important;padding:0!important;margin:0!important}
.wbtm_search_result_holder.pt-v3-scope .wbtm-bus-flix-style_bus,.wbtm_search_result_holder.pt-v3-scope .wbtm_bus_details_tabs_holder{display:none!important}
.wbtm_search_result_holder.pt-v3-scope .wbtm-bus-flix-style.pt-trip-card{display:block!important;width:100%!important;padding:0!important;margin:0 0 20px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.wbtm_search_result_holder.pt-v3-scope .pt-trip-info{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;min-height:178px;background:linear-gradient(164deg,#fff 68%,#fff8e8 100%)!important;border-radius:19px!important;border:1px solid #edf0f4!important;padding:34px 44px!important;margin:0!important;box-shadow:0 13px 34px rgba(30,41,59,.06)!important}
.pt-v3-scope .pt-trip-name{display:flex;flex-direction:column;gap:10px;font-size:clamp(25px,3.6vw,52px)!important;font-weight:800!important;letter-spacing:-.045em!important;color:#080e20!important}
.pt-v3-scope .pt-trip-eyebrow{font-size:15px!important;font-weight:650!important;letter-spacing:.25em!important;color:#da8a00!important;line-height:1.5;text-transform:uppercase}
.pt-v3-scope .pt-trip-eyebrow:before{content:'';display:inline-block;vertical-align:middle;width:34px;height:2px;background:#f2a100;margin-right:18px}
.pt-v3-scope .pt-trip-main{display:block;line-height:1.15}
.pt-v3-scope .pt-trip-right{min-width:260px!important;border-left:1px solid #dde2ea!important;padding-left:32px!important;text-align:left!important}
.pt-v3-scope .pt-trip-price{color:#f39a00!important;font-size:clamp(27px,3.6vw,50px)!important;font-weight:800!important}
.pt-v3-scope .wbtm_bus_details{display:block!important;visibility:visible!important;width:100%!important;margin:0!important;border:0!important;background:transparent!important}
.pt-v3-scope .wbtm_registration_area{width:100%!important;max-width:none!important;background:transparent!important}
.pt-v3-scope .wbtm_booking_summary_route,.pt-v3-scope .wbtm_booking_summary_subtotal,.pt-v3-scope .wbtm_booking_summary_note{display:none!important}
.pt-v3-scope .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) td:first-child{font-size:14px!important;font-weight:700!important;color:#161e32!important;white-space:nowrap!important}
.pt-v3-scope .wbtm_hold_badge{font-size:13px!important}
.pt-v3-scope .wbtm_summary_preview_book_now{background:#ffc431!important;color:#141414!important;border-radius:11px!important}
.pt-v3-scope .wbtm_attendee_item label.mp_form_item{position:relative!important}
.pt-v3-scope .wbtm_attendee_item input.formControl,.pt-v3-scope .wbtm_attendee_item select.formControl{background:#fff!important;color:#121827!important}
.pt-v3-scope .wbtm_seat_plan_area,.pt-v3-scope .wbtm_ex_service_area,.pt-v3-scope .wbtm_attendee_item,.pt-v3-scope .wbtm_booking_summary_preview{box-shadow:0 8px 27px rgba(20,33,53,.045)!important}
/* outer search header is usually sibling, not inside the result holder */
body:has(.pt-v3-scope) .wbtm_search_area > form,body:has(.pt-v3-scope) .wbtm_search_area > .wbtm_search_form,body:has(.pt-v3-scope) .wbtm_search_area > .wbtm_search_input_fields_holder{display:none!important}
body:has(.pt-v3-scope) .wbtm_search_form_holder,body:has(.pt-v3-scope) .wbtm-search-form,body:has(.pt-v3-scope) .wbtm_departure_area,body:has(.pt-v3-scope) .wbtm_search_header{display:none!important}
@media(max-width:770px){.wbtm_search_result_holder.pt-v3-scope .pt-trip-info{flex-direction:column;align-items:stretch!important;padding:24px!important;min-height:0!important}.pt-v3-scope .pt-trip-right{min-width:0!important;border-left:0!important;border-top:1px solid #e2e5eb!important;padding:15px 0 0!important}}
/* Search form is a separate block in the actual plugin template. */
#wbtm_area:has(.pt-v3-scope) .wbtm_search_area.wbtm-bar-redesign{display:none!important}
#wbtm_area:has(.pt-v3-scope) .wbtm_journey_route_area,
#wbtm_area:has(.pt-v3-scope) .wbtm-route-topbar,
#wbtm_area:has(.pt-v3-scope) .wbtm_search_topbar,
#wbtm_area:has(.pt-v3-scope) .wbtm_trip_info_area{display:none!important}
.pt-v3-scope .wbtm_booking_summary_preview{border:0!important;padding:22px!important;background:#fff!important}
.pt-v3-scope .wbtm_booking_summary_title{font-size:20px!important}
.pt-v3-scope .wbtm_booking_summary_total .wbtm_summary_preview_total{color:#f39a00!important;font-weight:800!important;font-size:26px!important}
.pt-v3-scope .wbtm_booking_summary_total{padding:15px 0!important}
.pt-v3-scope .wbtm_summary_preview_rows td{border-color:#f0f1f4!important}

/* PhotoTravel v4 - accurate parent selectors; keep the original button in the DOM for AJAX */
#wbtm_area .pt-hide-departure{display:none!important}
#wbtm_area:has(.pt-v3-scope) .wbtm-search-form-holder,
#wbtm_area:has(.pt-v3-scope) .wbtm_search_result_header,
#wbtm_area:has(.pt-v3-scope) .wbtm-search-top,
#wbtm_area:has(.pt-v3-scope) .wbtm-search-summary{display:none!important}
.pt-v3-scope .pt-trip-card .wbtm-bus-flix-style_bus,
.pt-v3-scope .pt-trip-card .wbtm-flix-photo,
.pt-v3-scope .pt-trip-card .wbtm-card-image,
.pt-v3-scope .pt-trip-card .wbtm-card-content,
.pt-v3-scope .pt-trip-card .wbtm-card-price,
.pt-v3-scope .pt-trip-card .wbtm-bus-flix-style_bus,
.pt-v3-scope .pt-trip-card .wbtm_bus_details_tabs_holder{display:none!important}
.pt-v3-scope .pt-trip-card .pt-trip-info{display:flex!important}
.pt-v3-scope .pt-trip-card .pt-trip-name{cursor:default!important;pointer-events:none!important}
.pt-v3-scope .pt-trip-seats{display:block;font-size:13px;color:#64748b;font-weight:550;margin-top:5px}
.pt-v3-scope #get_wbtm_bus_details,.pt-v3-scope .wbtm-seat-book{display:none!important}
.pt-v3-scope .wbtm_seat_plan_area .pt-seat-heading{display:flex!important}
.pt-v3-scope .wbtm_seat_plan_area{background:#fff!important}
.pt-v3-scope .wbtm_attendee_item input[type=tel]{letter-spacing:.15px}

/* v5: use actual markup from MagePeople WBTM_Layout::route_title */
body:has(.wbtm_search_result_holder) .wbtm_search_route_container,
body:has(.wbtm_search_result_holder) .wbtm_bus_tab_wrapper,
body:has(.wbtm_search_result_holder) .wbtm-list-header,
body:has(.wbtm_search_result_holder) .wbtm_search_route_return_date,
body:has(.wbtm_search_result_holder) .wbtm_search_route_cities_wrapper{display:none!important}
body:has(.wbtm_search_result_holder) .wbtm-bus-flix-style_bus,
body:has(.wbtm_search_result_holder) .wbtm_bus_details_tabs_holder{display:none!important}
body:has(.wbtm_search_result_holder) .wbtm-bus-flix-style.pt-trip-card{display:block!important;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
body:has(.wbtm_search_result_holder) .pt-trip-info{display:flex!important;min-height:145px!important;width:100%!important}
body:has(.wbtm_search_result_holder) .wbtm-seat-book{display:none!important}
body:has(.wbtm_search_result_holder) .wbtm_bus_details{display:block!important}
body:has(.wbtm_search_result_holder) .wbtm-bus-lists{min-height:0!important}

/* v6: original search_result.php structure -- only alter display; original form stays alive */
body.pt-v6-page .wbtm_search_route_container,
body.pt-v6-page .pt-v6-hidden-departure{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.pt-v6-page .wbtm_search_result_holder .wbtm-list-header{display:none!important}
body.pt-v6-page .wbtm_search_result_holder .wbtm-bus-list.pt-v6-card{display:block!important;background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important;margin:0 0 16px!important}
body.pt-v6-page .wbtm-bus-list.pt-v6-card > .wbtm-card-wrap{display:none!important}
body.pt-v6-page .wbtm-bus-list.pt-v6-card > .pt-v6-hero{display:flex!important;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(160deg,#fff 65%,#fff8e6);border:1px solid #e9ebef;border-radius:18px;padding:36px 42px;box-shadow:0 10px 30px rgba(15,23,42,.05);min-height:145px}
body.pt-v6-page .pt-v6-trip-name{font-size:clamp(25px,3.4vw,46px);font-weight:800;letter-spacing:-.035em;line-height:1.15;color:#111827;max-width:75%}
body.pt-v6-page .pt-v6-trip-right{border-left:1px solid #e2e5ec;padding-left:28px;min-width:215px;display:flex;flex-direction:column;gap:5px}
body.pt-v6-page .pt-v6-trip-right>span{color:#64748b;font-size:13px}
body.pt-v6-page .pt-v6-price{color:#ef9800;font-size:clamp(26px,3vw,42px);font-weight:800;line-height:1.2}
body.pt-v6-page .pt-v6-price .woocommerce-Price-amount{color:inherit!important}
body.pt-v6-page .pt-v6-seats{font-size:13px;color:#697586}
body.pt-v6-page .wbtm_bus_details{display:block!important;visibility:visible!important}
body.pt-v6-page .wbtm_bus_details .wbtm_registration_area{display:block!important}
body.pt-v6-page .wbtm_seat_legend_item{font-size:0!important}
body.pt-v6-page .wbtm_seat_legend_item::after{font-size:13px!important}
body.pt-v6-page .wbtm_seat_legend_item:has(.is_available)::after{content:'Müsait'}
body.pt-v6-page .wbtm_seat_legend_item:has(.is_selected)::after{content:'Seçili'}
body.pt-v6-page .wbtm_seat_legend_item:has(.is_booked)::after{content:'Dolu'}
@media(max-width:760px){body.pt-v6-page .wbtm-bus-list.pt-v6-card>.pt-v6-hero{padding:23px 20px;flex-direction:column;align-items:stretch;min-height:0}body.pt-v6-page .pt-v6-trip-name{max-width:none}body.pt-v6-page .pt-v6-trip-right{border-left:0;border-top:1px solid #e2e5ec;padding:14px 0 0;min-width:0}}

.pt-checkout-errors{margin:0 0 15px;padding:14px 16px;background:#fff7ed;border:1px solid #fdba74;border-radius:12px;color:#9a3412;font-size:14px;line-height:1.5}.pt-checkout-errors ul{margin:6px 0 0 19px;padding:0}.pt-checkout-errors li{margin:3px 0}


/* v8 — small-screen layout: presentation only, no form or checkout logic changes */
@media (max-width: 991px) {
  body.pt-v6-page .wbtm_search_result_holder,
  body.pt-v6-page .wbtm_bus_list_area,
  body.pt-v6-page .wbtm-bus-list.pt-v6-card,
  body.pt-v6-page .wbtm_bus_details,
  body.pt-v6-page .wbtm_registration_area,
  body.pt-v6-page .wbtm_registration_area form {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    min-width:0!important;float:none!important;
  }
  body.pt-v6-page .wbtm_registration_area .mpRow {
    display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
    width:100%!important;min-width:0!important;gap:14px!important;
  }
  body.pt-v6-page .wbtm_registration_area .mpRow > [class*="col_"] {
    float:none!important;clear:both!important;flex:0 0 auto!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    padding-left:0!important;padding-right:0!important;
  }
  body.pt-v6-page .wbtm_selected_seat_details,
  body.pt-v6-page .wbtm_attendee_area,
  body.pt-v6-page .wbtm_booking_summary_preview {min-width:0!important;max-width:100%!important}
  body.pt-v6-page .wbtm-bus-list.pt-v6-card > .pt-v6-hero {
    box-sizing:border-box!important;min-height:0!important;
    padding:23px 21px!important;gap:12px!important;
    flex-direction:column!important;align-items:stretch!important;
  }
  body.pt-v6-page .pt-v6-trip-name {
    font-size:clamp(19px,4vw,27px)!important;line-height:1.22!important;
    max-width:100%!important;overflow-wrap:anywhere!important;letter-spacing:-.02em!important;
  }
  body.pt-v6-page .pt-v6-trip-right {
    border-left:0!important;border-top:1px solid #edf0f4!important;
    padding:11px 0 0!important;min-width:0!important;gap:2px!important;
  }
  body.pt-v6-page .pt-v6-price,
  body.pt-v6-page .pt-v6-price .woocommerce-Price-amount {font-size:clamp(22px,4.5vw,29px)!important}
  body.pt-v6-page .pt-v6-trip-right>span,
  body.pt-v6-page .pt-v6-seats {font-size:12px!important}
  body.pt-v6-page .wbtm_seat_plan_area {padding:15px 12px!important}
  body.pt-v6-page .pt-seat-heading {margin-bottom:13px!important;gap:10px!important}
  body.pt-v6-page .pt-seat-heading strong {font-size:16px!important;line-height:1.3!important}
  body.pt-v6-page .pt-seat-heading small {font-size:12px!important;line-height:1.3!important}
  body.pt-v6-page .pt-round-icon {width:37px!important;height:37px!important;font-size:19px!important;flex-shrink:0!important}
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody {padding:14px!important;gap:11px!important}
  body.pt-v6-page .wbtm_attendee_item .mpPanelHeader {padding:14px!important}
  body.pt-v6-page .wbtm_attendee_item label.mp_form_item {flex:0 0 100%!important;width:100%!important;min-width:0!important}
  body.pt-v6-page .wbtm_attendee_item input.formControl,
  body.pt-v6-page .wbtm_attendee_item select.formControl,
  body.pt-v6-page .wbtm_attendee_item textarea.formControl {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    min-height:42px!important;padding:9px 11px!important;font-size:13px!important;
  }
  body.pt-v6-page .wbtm_booking_summary_preview {box-sizing:border-box!important;padding:15px!important}
  body.pt-v6-page .wbtm_booking_summary_title {font-size:16px!important;padding:8px 4px 12px!important}
  body.pt-v6-page .wbtm_booking_summary_total .wbtm_summary_preview_total {font-size:21px!important}
  body.pt-v6-page .wbtm_summary_preview_rows td,
  body.pt-v6-page .wbtm_booking_summary_total {font-size:12px!important;overflow-wrap:anywhere!important}
  body.pt-v6-page .wbtm_summary_preview_book_now {min-height:46px!important;font-size:14px!important}
  body.pt-v6-page .wbtm_hold_badge {font-size:11px!important;line-height:1.3!important}
  body.pt-v6-page .wbtm_ex_service_area {padding:12px!important}
  body.pt-v6-page .pt-checkout-errors {font-size:12px!important;padding:11px!important}
}
@media (max-width: 600px) {
  body.pt-v6-page .wbtm_search_result_holder {padding:0 9px!important}
  body.pt-v6-page .wbtm-bus-list.pt-v6-card>.pt-v6-hero {padding:18px 15px!important;border-radius:14px!important}
  body.pt-v6-page .pt-v6-trip-name {font-size:19px!important}
  body.pt-v6-page .pt-v6-price,
  body.pt-v6-page .pt-v6-price .woocommerce-Price-amount {font-size:24px!important}
  body.pt-v6-page .wbtm_seat_plan_lower {box-sizing:border-box!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  body.pt-v6-page .wbtm_seat_plan_lower table {width:100%!important;max-width:100%!important;table-layout:fixed!important}
  body.pt-v6-page .wbtm_seat_plan_lower th,
  body.pt-v6-page .wbtm_seat_plan_lower td {box-sizing:border-box!important;padding:3px 1px!important;min-width:0!important}
  body.pt-v6-page .wbtm_seat_plan_lower .mp_seat_item {max-width:100%!important;min-width:0!important}
  body.pt-v6-page .wbtm_seat_plan_lower .mp_seat {min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  body.pt-v6-page .wbtm_seat_plan_lower .seat_number {font-size:12px!important}
  body.pt-v6-page .wbtm_seat_legend {display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:8px 13px!important}
  body.pt-v6-page .wbtm_seat_legend_item:after {font-size:11px!important}
  body.pt-v6-page .wbtm_summary_preview_rows td {padding:9px 4px!important}
  body.pt-v6-page .wbtm_booking_summary_total {gap:8px!important}
}


/* v9 Mobile spacing and select/summary overflow patch. Desktop unchanged. */
@media (max-width: 767px) {
  body.pt-v6-page .wbtm_search_result_holder,
  body.pt-v6-page .wbtm_bus_details,
  body.pt-v6-page .wbtm_registration_area,
  body.pt-v6-page .wbtm_registration_area form {
    width:100%!important; max-width:100%!important; min-width:0!important;
    padding-left:0!important; padding-right:0!important; box-sizing:border-box!important;
  }
  body.pt-v6-page .wbtm_registration_area .mpRow,
  body.pt-v6-page .wbtm_registration_area .mpRow > [class*="col_"] {
    width:100%!important;max-width:100%!important;min-width:0!important;
    padding:0!important;margin:0!important;box-sizing:border-box!important;
  }
  body.pt-v6-page .wbtm_attendee_item,
  body.pt-v6-page .wbtm_booking_summary_preview {
    margin:0 0 12px!important; padding:0!important; border-radius:13px!important;
    min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  }
  body.pt-v6-page .wbtm_attendee_item .mpPanelHeader {padding:14px 13px!important}
  body.pt-v6-page .wbtm_attendee_item .mpPanelHeader h5 {font-size:16px!important;line-height:1.3!important}
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    padding:12px!important;margin:0!important;gap:12px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  }
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody > label.mp_form_item,
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody > .mp_form_item,
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody > .groupRadioCheck {
    display:flex!important;flex-direction:column!important;grid-column:1/-1!important;
    flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;
  }
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody input.formControl,
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody select.formControl,
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody textarea.formControl {
    display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    min-width:0!important;height:48px!important;min-height:48px!important;
    border-radius:11px!important;border:1px solid #d7dfe9!important;
    padding:11px 13px!important;font-size:15px!important;line-height:24px!important;
    color:#142034!important;background-color:#fff!important;box-shadow:none!important;
  }
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody textarea.formControl {height:82px!important;min-height:82px!important;resize:vertical!important}
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody select.formControl,
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody select[name="duraktercihi[]"],
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody select[name="wbtm_user_gender[]"] {
    -webkit-appearance:none!important;appearance:none!important;
    padding-right:42px!important;cursor:pointer!important;
    background-color:#fff!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23344355' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;background-position:right 13px center!important;background-size:18px 18px!important;
  }
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody label.mp_form_item>span {font-size:12px!important;line-height:1.25!important}
  body.pt-v6-page .wbtm_attendee_item .groupRadioCheck .flexWrap {display:flex!important;gap:8px!important;flex-wrap:wrap!important}
  body.pt-v6-page .wbtm_attendee_item .groupRadioCheck button {flex:1 1 110px!important;min-height:44px!important;border:1px solid #d7dfe9!important;border-radius:10px!important;background:#fff!important;font-size:14px!important}
  body.pt-v6-page .wbtm_seat_legend {
    display:flex!important;align-items:center!important;justify-content:center!important;
    flex-wrap:wrap!important;gap:10px 15px!important;
    width:100%!important;max-width:100%!important;padding:12px 4px!important;margin:0!important;
    box-sizing:border-box!important;
  }
  body.pt-v6-page .wbtm_seat_legend .wbtm_seat_legend_item {
    display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
    flex:0 0 auto!important;gap:5px!important;margin:0!important;padding:0!important;
    font-size:0!important;line-height:1.2!important;white-space:nowrap!important;
  }
  body.pt-v6-page .wbtm_seat_legend .wbtm_seat_legend_item i {
    display:inline-block!important;flex:none!important;width:13px!important;height:13px!important;
    min-width:13px!important;min-height:13px!important;margin:0!important;
  }
  body.pt-v6-page .wbtm_seat_legend .wbtm_seat_legend_item::after {font-size:12px!important;line-height:16px!important;font-weight:500!important}
  body.pt-v6-page .wbtm_booking_summary_preview {padding:13px!important}
  body.pt-v6-page .wbtm_booking_summary_title {padding:0 0 12px!important;margin:0!important;font-size:16px!important;line-height:1.3!important}
  body.pt-v6-page .wbtm_booking_summary_card {padding:0!important;margin:0!important;min-width:0!important}
  body.pt-v6-page .wbtm_booking_summary_table {display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important}
  body.pt-v6-page .wbtm_booking_summary_table tbody {display:block!important;width:100%!important}
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) {
    display:grid!important;grid-template-columns:minmax(0,1fr) 36px minmax(105px,auto)!important;
    align-items:center!important;column-gap:6px!important;width:100%!important;min-width:0!important;
  }
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) td {
    display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;padding:11px 2px!important;margin:0!important;
    font-size:12px!important;line-height:1.35!important;white-space:nowrap!important;
  }
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) td:first-child {text-align:left!important;overflow:hidden!important}
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) td:first-child .pt-seat-label {font-size:12px!important;white-space:nowrap!important}
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) td:nth-child(2) {text-align:center!important}
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) td:last-child {text-align:right!important;justify-self:end!important;font-size:12px!important;font-weight:700!important}
  body.pt-v6-page .wbtm_booking_summary_total {display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:13px 0!important}
  body.pt-v6-page .wbtm_booking_summary_total>span:first-child {font-size:14px!important;flex:0 0 auto!important}
  body.pt-v6-page .wbtm_booking_summary_total .wbtm_summary_preview_total,
  body.pt-v6-page .wbtm_booking_summary_total .wbtm_summary_preview_total .woocommerce-Price-amount {font-size:clamp(18px,5.4vw,25px)!important;white-space:nowrap!important}
  body.pt-v6-page .wbtm_summary_preview_book_now {min-height:48px!important;font-size:15px!important;border-radius:10px!important}
}
@media (max-width: 360px) {
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row){grid-template-columns:minmax(0,1fr) 27px minmax(90px,auto)!important;gap:3px!important}
  body.pt-v6-page .wbtm_booking_summary_table .wbtm_summary_preview_rows tr:not(.wbtm_summary_preview_empty_row) td:last-child{font-size:11px!important}
  body.pt-v6-page .wbtm_attendee_item .mpPanelBody {padding:10px!important}
}
