/* WP Travel Machine — Public Styles */
:root {
    --wptm-primary: #fd4621;
    --wptm-primary-hover: #e23410;
    --wptm-primary-light: #ff7a5c;
    --wptm-secondary: #ff8a3d;
    --wptm-accent: #f59e0b;
    --wptm-success: #10b981;
    --wptm-danger: #ef4444;
    --wptm-dark: #1a1410;
    --wptm-text: #44403c;
    --wptm-muted: #a8a29e;
    --wptm-border: #ececea;
    --wptm-bg: #faf8f6;
    --wptm-white: #ffffff;
    --wptm-glass: rgba(255,255,255,0.7);
    --wptm-glass-border: rgba(255,255,255,0.3);
    --wptm-gradient: linear-gradient(135deg, #fd4621, #ff8a3d);
    --wptm-primary-soft: rgba(253,70,33,0.08);
    --wptm-primary-ring: rgba(253,70,33,0.18);
    --wptm-ribbon-discount: var(--wptm-primary);
    --wptm-ribbon-featured: #f59e0b;
    --wptm-icon-color: var(--wptm-primary);
    --wptm-radius: 18px;
    --wptm-radius-sm: 12px;
    --wptm-shadow: 0 4px 6px -1px rgba(26,20,16,.07),0 2px 4px -2px rgba(26,20,16,.05);
    --wptm-shadow-lg: 0 24px 40px -12px rgba(26,20,16,.16),0 8px 16px -8px rgba(26,20,16,.08);
    --wptm-shadow-brand: 0 12px 28px rgba(253,70,33,.32);
    --wptm-font: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    --wptm-font-display: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

/* Base typography for plugin-rendered regions */
.wptm-single-content,
.wptm-single-hero,
.wptm-sticky-bar,
.wptm-booking-form,
.wptm-checkout {
    font-family: var(--wptm-font);
    -webkit-font-smoothing: antialiased;
    color: var(--wptm-text);
}

/* Grid System */
.wptm-grid { display: grid; gap: 24px; }
.wptm-grid-2 { grid-template-columns: repeat(2,1fr); }
.wptm-grid-3 { grid-template-columns: repeat(3,1fr); }
.wptm-grid-4 { grid-template-columns: repeat(4,1fr); }
@media(max-width:1024px) { .wptm-grid-4,.wptm-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px) { .wptm-grid-2,.wptm-grid-3,.wptm-grid-4 { grid-template-columns: 1fr; } }

/* List layout (block/widget "List" option) — horizontal cards, one per row. */
.wptm-grid--list { grid-template-columns: 1fr; }
.wptm-grid--list .wptm-trip-card,
.wptm-grid--list .wptm-hotel-card { flex-direction: row; }
.wptm-grid--list .wptm-trip-card__image,
.wptm-grid--list .wptm-hotel-card__image { flex: none; width: 38%; max-width: 340px; height: auto; min-height: 220px; }
.wptm-grid--list .wptm-trip-card__body,
.wptm-grid--list .wptm-hotel-card__body { flex: 1; }
.wptm-grid--list .wptm-trip-card:hover,
.wptm-grid--list .wptm-hotel-card:hover { transform: none; }
@media(max-width:640px) {
    .wptm-grid--list .wptm-trip-card,
    .wptm-grid--list .wptm-hotel-card { flex-direction: column; }
    .wptm-grid--list .wptm-trip-card__image,
    .wptm-grid--list .wptm-hotel-card__image { width: 100%; max-width: none; height: 200px; min-height: 0; }
}

/* AI Style generator panel (block editor inspector). */
.wptm-blk-ai__note { font-size: 12px; color: #757575; margin: 4px 0 0; }
.wptm-blk-ai__err { font-size: 12px; color: #cc1818; margin: 8px 0 0; }
.wptm-blk-ai__hint { font-size: 12px; color: #757575; margin: 12px 0 6px; }
.wptm-blk-ai__presets { display: flex; flex-direction: column; gap: 8px; }
.wptm-blk-ai__preset {
    display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 8px 10px; text-align: left;
}
.wptm-blk-ai__preset:hover { border-color: #1e1e1e; }
.wptm-blk-ai__sw { display: inline-flex; flex: none; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.wptm-blk-ai__sw i { width: 18px; height: 26px; display: block; }
.wptm-blk-ai__name { font-size: 12.5px; font-weight: 600; color: #1e1e1e; }

/* ═══ Premium Trip Card ═══ */
.wptm-trip-card {
    background: var(--wptm-white);
    border: 1px solid var(--wptm-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16,24,40,.05);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.wptm-trip-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -20px rgba(16,24,40,.28); border-color: transparent; }
.wptm-trip-card__image { position: relative; overflow: hidden; height: 232px; }
.wptm-trip-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,9,.5), rgba(12,10,9,.05) 42%, transparent 60%); }
.wptm-trip-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.wptm-trip-card:hover .wptm-trip-card__image img { transform: scale(1.1); }
.wptm-trip-card__badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--wptm-ribbon-discount);
    color: #fff; padding: 5px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
/* Featured ribbon (trips & hotels) */
.wptm-card-ribbon--featured {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--wptm-ribbon-featured);
    color: #fff; padding: 5px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
/* Keep the wishlist button clear of a featured ribbon. */
.wptm-trip-card__image:has(.wptm-card-ribbon--featured) .wptm-trip-card__wishlist,
.wptm-hotel-card__image:has(.wptm-card-ribbon--featured) .wptm-hotel-card__wishlist { top: 52px; }
.wptm-trip-card__wishlist {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
    color: var(--wptm-dark); cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.12); transition: all .2s;
}
.wptm-trip-card__wishlist:hover, .wptm-trip-card__wishlist.active { background: var(--wptm-danger); color: #fff; }
.wptm-trip-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.wptm-trip-card__title {
    font-family: var(--wptm-font-display); font-size: 19px; font-weight: 700; letter-spacing: -.015em;
    color: var(--wptm-dark); margin: 0 0 12px; line-height: 1.32;
}
.wptm-trip-card__title a { color: inherit; text-decoration: none; transition: color .2s; }
.wptm-trip-card__title a:hover { color: var(--wptm-primary); }
.wptm-trip-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wptm-trip-card__meta span {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px; font-weight: 500; color: var(--wptm-muted);
    background: var(--wptm-bg); border: 1px solid var(--wptm-border);
    padding: 4px 10px; border-radius: 999px;
}
.wptm-trip-card__footer {
    margin-top: auto; display: flex; justify-content: space-between; align-items: center;
    padding-top: 14px; border-top: 1px solid var(--wptm-border);
}
.wptm-trip-card__price { font-family: var(--wptm-font-display); line-height: 1.1; }
.wptm-trip-card__price .amount { font-size: 24px; font-weight: 700; color: var(--wptm-primary); letter-spacing: -.02em; }
.wptm-trip-card__price .old-price { text-decoration: line-through; color: var(--wptm-muted); font-size: 14px; margin-right: 6px; }
.wptm-trip-card__price .per { font-size: 12px; color: var(--wptm-muted); }

/* ═══ Premium Hotel Card ═══ */
.wptm-hotel-card {
    background: var(--wptm-white); border: 1px solid var(--wptm-border); border-radius: 20px;
    overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.05);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
    position: relative; display: flex; flex-direction: column;
}
.wptm-hotel-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -20px rgba(16,24,40,.28); border-color: transparent; }
.wptm-hotel-card__image { position: relative; height: 212px; overflow: hidden; }
.wptm-hotel-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,9,.55), rgba(12,10,9,.05) 42%, transparent 60%); }
.wptm-hotel-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.wptm-hotel-card:hover .wptm-hotel-card__image img { transform: scale(1.1); }
.wptm-hotel-card__stars {
    position: absolute; bottom: 12px; left: 14px; z-index: 2;
    background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
    padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.14);
}
.wptm-hotel-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.wptm-hotel-card__title { font-family: var(--wptm-font-display); font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--wptm-dark); margin: 0 0 8px; line-height: 1.32; }
.wptm-hotel-card__title a { color: inherit; text-decoration: none; transition: color .2s; }
.wptm-hotel-card__title a:hover { color: var(--wptm-primary); }
.wptm-hotel-card__location {
    font-size: 12.5px; font-weight: 500; color: var(--wptm-muted); margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--wptm-bg); border: 1px solid var(--wptm-border); padding: 4px 10px; border-radius: 999px; align-self: flex-start;
}
.wptm-hotel-card__footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--wptm-border); }
.wptm-hotel-card__price { font-family: var(--wptm-font-display); line-height: 1.1; }
.wptm-hotel-card__price .amount { font-size: 22px; font-weight: 700; color: var(--wptm-primary); letter-spacing: -.02em; }
.wptm-hotel-card__price .per { font-size: 12px; color: var(--wptm-muted); }

/* Buttons */
.wptm-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 24px; border: none; border-radius: var(--wptm-radius-sm);
    font-size: 14px; font-weight: 500; font-family: var(--wptm-font);
    cursor: pointer; transition: all .25s; text-decoration: none;
}
.wptm-btn--primary { background: linear-gradient(135deg,var(--wptm-primary),var(--wptm-primary-light)); color: #fff; }
.wptm-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(253,70,33,.35); color: #fff; }
.wptm-btn--outline { background: transparent; border: 2px solid var(--wptm-primary); color: var(--wptm-primary); }
.wptm-btn--outline:hover { background: var(--wptm-primary); color: #fff; }
.wptm-btn--sm { padding: 8px 16px; font-size: 13px; }
.wptm-btn--lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

/* Search Form */
.wptm-search-form {
    background: var(--wptm-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--wptm-glass-border); border-radius: var(--wptm-radius);
    padding: 24px; box-shadow: var(--wptm-shadow-lg);
}
.wptm-search-form.horizontal .wptm-search-fields { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.wptm-search-form.vertical .wptm-search-fields { display: flex; flex-direction: column; gap: 16px; }
.wptm-search-field { flex: 1; min-width: 160px; }
.wptm-search-field label { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; color: var(--wptm-muted); margin-bottom: 6px; }
.wptm-search-field input,
.wptm-search-field select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--wptm-border);
    border-radius: var(--wptm-radius-sm); font-size: 14px; font-family: var(--wptm-font);
    background: var(--wptm-white); transition: all .2s;
}
.wptm-search-field input:focus,
.wptm-search-field select:focus { outline: none; border-color: var(--wptm-primary); box-shadow: 0 0 0 3px rgba(253,70,33,.1); }
.wptm-search-field--submit { flex: 0; }
.wptm-search-range { display: flex; align-items: center; gap: 6px; }
.wptm-search-range input { width: 100%; min-width: 70px; }
.wptm-search-range__sep { color: var(--wptm-muted); font-weight: 500; }

/* Booking Form */
.wptm-booking-form {
    background: var(--wptm-white); border-radius: var(--wptm-radius);
    padding: 28px; box-shadow: var(--wptm-shadow-lg); border: 1px solid var(--wptm-border);
}
.wptm-booking-form__header { margin-bottom: 20px; }
.wptm-booking-form__header h3 { font-family: var(--wptm-font-display); font-size: 20px; font-weight: 600; margin: 0; }
.wptm-booking-form .wptm-form-group { margin-bottom: 16px; }
.wptm-booking-form .wptm-form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--wptm-text); }
.wptm-booking-form .wptm-form-group input,
.wptm-booking-form .wptm-form-group select,
.wptm-booking-form .wptm-form-group textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--wptm-border);
    border-radius: var(--wptm-radius-sm); font-size: 14px; font-family: var(--wptm-font); transition: all .2s;
}
.wptm-booking-form .wptm-form-group input:focus,
.wptm-booking-form .wptm-form-group select:focus,
.wptm-booking-form .wptm-form-group textarea:focus { outline: none; border-color: var(--wptm-primary); box-shadow: 0 0 0 3px rgba(253,70,33,.1); }
.wptm-booking-form .wptm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wptm-booking-form__summary { background: var(--wptm-bg); border-radius: var(--wptm-radius-sm); padding: 16px; margin: 20px 0; }
.wptm-booking-form__summary .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.wptm-booking-form__summary .total { border-top: 1px solid var(--wptm-border); margin-top: 8px; padding-top: 8px; font-weight: 600; font-size: 18px; color: var(--wptm-primary); }

/* Destinations Grid */
.wptm-destinations-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 16px; }
.wptm-destination-card {
    position: relative; border-radius: var(--wptm-radius); overflow: hidden;
    height: 240px; display: block; text-decoration: none;
}
.wptm-destination-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wptm-destination-card:hover img { transform: scale(1.1); }
.wptm-destination-card__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 56px; line-height: 1;
    background: linear-gradient(135deg, #fd4621, #ff8a3d);
    transition: transform .5s;
}
.wptm-destination-card__placeholder .wptm-icon { width: 40px; height: 40px; color: #fff; opacity: .95; }
.wptm-destination-card:hover .wptm-destination-card__placeholder { transform: scale(1.1); }
.wptm-destination-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent,rgba(0,0,0,.7));
    padding: 20px; color: #fff;
}
.wptm-destination-overlay h3 { margin: 0; font-family: var(--wptm-font-display); font-size: 18px; font-weight: 600; }
.wptm-destination-overlay span { font-size: 13px; opacity: .8; }

/* Single Trip/Hotel */
.wptm-single-hero { position: relative; height: 500px; overflow: hidden; border-radius: 0 0 var(--wptm-radius) var(--wptm-radius); }
.wptm-single-hero img { width: 100%; height: 100%; object-fit: cover; }
.wptm-single-hero__overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,rgba(0,0,0,.6)); padding: 40px; color: #fff; }
.wptm-single-content { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
@media(max-width:900px) { .wptm-single-content { grid-template-columns: 1fr; } }
.wptm-single-main {}
.wptm-single-sidebar { position: sticky; top: 100px; height: fit-content; }

/* Section Blocks */
.wptm-section { margin-bottom: 32px; }
.wptm-section__title { font-family: var(--wptm-font-display); font-size: 22px; font-weight: 600; color: var(--wptm-dark); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--wptm-border); }

/* Related items ("You may also like") */
.wptm-related { background: var(--wptm-bg, #faf7f5); border-top: 1px solid var(--wptm-border); }
.wptm-related__inner { max-width: 1200px; margin: 0 auto; padding: 48px 20px 56px; }
.wptm-related__title { margin-bottom: 24px; }

/* Itinerary Timeline */
/* Location map (Leaflet + OpenStreetMap) */
.wptm-map {
    width: 100%; height: 340px;
    border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm);
    overflow: hidden; z-index: 0; background: var(--wptm-bg);
}
.wptm-map .leaflet-control-attribution { font-size: 10px; }
.wptm-map-embed { line-height: 0; border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm); overflow: hidden; }
.wptm-map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }
.wptm-location__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.wptm-location__addr { font-size: 14px; color: var(--wptm-text); }
.wptm-location__directions { font-size: 14px; font-weight: 500; color: var(--wptm-primary); text-decoration: none; white-space: nowrap; }
.wptm-location__directions:hover { text-decoration: underline; }

/* Enquiry form (admin-configurable fields) */
.wptm-enquiry { max-width: 640px; }
.wptm-enquiry__intro { font-size: 14px; color: var(--wptm-muted); margin: 0 0 16px; }
.wptm-enquiry-form .wptm-form-group { margin-bottom: 14px; }
.wptm-enquiry-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--wptm-text); }
.wptm-enquiry-form label .wptm-req { color: var(--wptm-primary); }
.wptm-enquiry-form input,
.wptm-enquiry-form select,
.wptm-enquiry-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--wptm-border);
    border-radius: var(--wptm-radius-sm); font-size: 14px; font-family: var(--wptm-font); background: var(--wptm-white);
}
.wptm-enquiry-form input:focus,
.wptm-enquiry-form select:focus,
.wptm-enquiry-form textarea:focus { outline: none; border-color: var(--wptm-primary); box-shadow: 0 0 0 3px rgba(253,70,33,.1); }
.wptm-enquiry__status { display: none; margin-top: 14px; font-size: 14px; padding: 10px 14px; border-radius: var(--wptm-radius-sm); background: rgba(34,197,94,.1); color: #15803d; }
.wptm-enquiry__status.is-error { background: rgba(239,68,68,.1); color: #b91c1c; }

/* FAQ accordion (native <details>) */
.wptm-faq { display: flex; flex-direction: column; gap: 10px; }
.wptm-faq__item { border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm); background: var(--wptm-white); overflow: hidden; transition: border-color .15s; }
.wptm-faq__item[open] { border-color: var(--wptm-primary); }
.wptm-faq__item:hover { border-color: var(--wptm-primary); }
.wptm-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px; cursor: pointer; list-style: none; user-select: none;
    font-family: var(--wptm-font-display); font-size: 15px; font-weight: 600; color: var(--wptm-dark);
}
.wptm-faq__q::-webkit-details-marker { display: none; }
.wptm-faq__chevron {
    flex-shrink: 0; width: 9px; height: 9px;
    border-right: 2px solid var(--wptm-muted); border-bottom: 2px solid var(--wptm-muted);
    transform: rotate(45deg); transition: transform .2s;
}
.wptm-faq__item[open] .wptm-faq__chevron { transform: rotate(-135deg); border-color: var(--wptm-primary); }
.wptm-faq__a { padding: 0 18px 16px; font-size: 14px; line-height: 1.65; color: var(--wptm-text); }
.wptm-faq__a p { margin: 0 0 8px; }
.wptm-faq__a p:last-child { margin-bottom: 0; }

/* Day-by-day itinerary — collapsible timeline (native <details>) */
.wptm-itinerary__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.wptm-itinerary__bar .wptm-section__title { margin: 0; }
.wptm-itinerary__toggle-all {
    display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
    padding: 8px 14px; font-size: 13px; font-weight: 500; font-family: var(--wptm-font);
    color: var(--wptm-primary); background: var(--wptm-white);
    border: 1px solid var(--wptm-primary); border-radius: 999px; cursor: pointer; transition: all .15s;
}
.wptm-itinerary__toggle-all:hover { background: var(--wptm-primary); color: #fff; }
.wptm-itinerary__toggle-icon {
    width: 8px; height: 8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .2s;
}
.wptm-itinerary__toggle-all.is-open .wptm-itinerary__toggle-icon { transform: rotate(-135deg); }

.wptm-itinerary { position: relative; padding-left: 32px; }
.wptm-itinerary::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--wptm-primary),var(--wptm-secondary)); }
.wptm-itinerary__day {
    position: relative; margin-bottom: 14px;
    background: var(--wptm-white); border: 1px solid var(--wptm-border);
    border-radius: var(--wptm-radius-sm); overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.wptm-itinerary__day:hover { border-color: var(--wptm-primary); }
.wptm-itinerary__day[open] { box-shadow: 0 4px 18px rgba(0,0,0,.06); border-color: var(--wptm-primary); }
/* Timeline dot, aligned with the summary header */
.wptm-itinerary__day::before {
    content: ''; position: absolute; left: -27px; top: 18px; z-index: 1;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--wptm-primary); border: 3px solid var(--wptm-white); box-shadow: 0 0 0 2px var(--wptm-primary);
}

/* Clickable header */
.wptm-itinerary__head {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    padding: 14px 18px; list-style: none; user-select: none;
}
.wptm-itinerary__head::-webkit-details-marker { display: none; }
.wptm-itinerary__daynum {
    flex-shrink: 0; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
    color: var(--wptm-primary); background: rgba(253,70,33,.1); padding: 4px 10px; border-radius: 999px;
}
.wptm-itinerary__title { flex: 1; font-family: var(--wptm-font-display); font-size: 16px; font-weight: 600; color: var(--wptm-dark); }
.wptm-itinerary__chevron {
    flex-shrink: 0; width: 9px; height: 9px; margin-right: 4px;
    border-right: 2px solid var(--wptm-muted); border-bottom: 2px solid var(--wptm-muted);
    transform: rotate(45deg); transition: transform .2s;
}
.wptm-itinerary__day[open] .wptm-itinerary__chevron { transform: rotate(-135deg); border-color: var(--wptm-primary); }

/* Body */
.wptm-itinerary__body { padding: 0 18px 18px; }
.wptm-itinerary__desc { font-size: 14px; color: var(--wptm-text); margin: 0; line-height: 1.65; }

/* Meals / Accommodation cards */
.wptm-itinerary__facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px; margin-top: 14px;
}
.wptm-itinerary__fact {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; background: var(--wptm-bg);
    border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm);
}
.wptm-itinerary__fact-icon {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: var(--wptm-white);
    border: 1px solid var(--wptm-border); font-size: 16px; line-height: 1;
}
.wptm-itinerary__fact-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wptm-itinerary__fact-label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--wptm-muted); }
.wptm-itinerary__fact-value { font-size: 13.5px; font-weight: 500; color: var(--wptm-dark); line-height: 1.45; }

/* Reviews */
.wptm-reviews {}
.wptm-review { padding: 20px 0; border-bottom: 1px solid var(--wptm-border); }
.wptm-review__header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.wptm-review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--wptm-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.wptm-review__stars { color: var(--wptm-accent); font-size: 14px; }
.wptm-review__content { font-size: 14px; line-height: 1.6; color: var(--wptm-text); }

/* Sticky Booking Bar */
.wptm-sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: var(--wptm-glass); backdrop-filter: blur(20px);
    border-top: 1px solid var(--wptm-glass-border);
    padding: 12px 20px; display: none; align-items: center; justify-content: center; gap: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.wptm-sticky-bar.visible { display: flex; }
.wptm-sticky-bar__price .amount { font-size: 24px; font-weight: 700; color: var(--wptm-primary); }

/* AI Chat Widget */
.wptm-ai-chat {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    font-family: var(--wptm-font);
}
.wptm-ai-chat__toggle {
    width: 60px; height: 60px; border-radius: 50%; border: none;
    background: linear-gradient(135deg,var(--wptm-primary),var(--wptm-secondary));
    color: #fff; font-size: 24px; cursor: pointer;
    box-shadow: 0 8px 24px rgba(253,70,33,.4);
    transition: all .3s; display: flex; align-items: center; justify-content: center;
}
.wptm-ai-chat__toggle:hover { transform: scale(1.1); }
.wptm-ai-chat__window {
    position: absolute; bottom: 72px; right: 0;
    width: min(380px, calc(100vw - 32px));
    height: min(520px, calc(100vh - 120px));
    background: var(--wptm-white); border-radius: var(--wptm-radius);
    box-shadow: var(--wptm-shadow-lg); border: 1px solid var(--wptm-border);
    display: none; flex-direction: column; overflow: hidden;
}
@media(max-width:480px) {
    .wptm-ai-chat { bottom: 16px; right: 16px; }
    .wptm-ai-chat__window { width: calc(100vw - 32px); height: min(70vh, calc(100vh - 96px)); }
}
.wptm-ai-chat__window.open { display: flex; animation: wptmChatIn .3s ease; }
@keyframes wptmChatIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.wptm-ai-chat__header {
    background: linear-gradient(135deg,var(--wptm-primary),var(--wptm-secondary));
    color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
}
.wptm-ai-chat__header h4 { margin: 0; font-size: 16px; font-weight: 500; }
.wptm-ai-chat__close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: .8; }
.wptm-ai-chat__close:hover { opacity: 1; }
.wptm-ai-chat__messages {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: 16px; display: flex; flex-direction: column; gap: 12px;
    scrollbar-width: thin; scrollbar-color: var(--wptm-border) transparent;
}
.wptm-ai-chat__messages::-webkit-scrollbar { width: 8px; }
.wptm-ai-chat__messages::-webkit-scrollbar-thumb { background: var(--wptm-border); border-radius: 999px; border: 2px solid var(--wptm-white); }
.wptm-ai-chat__msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.wptm-ai-chat__msg--user { align-self: flex-end; background: var(--wptm-primary); color: #fff; border-bottom-right-radius: 4px; }
.wptm-ai-chat__msg--bot { align-self: flex-start; background: var(--wptm-bg); color: var(--wptm-text); border-bottom-left-radius: 4px; }
.wptm-ai-chat__input {
    display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--wptm-border); align-items: flex-end;
}
.wptm-ai-chat__input textarea {
    flex: 1; border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm);
    padding: 10px 14px; font-size: 14px; font-family: var(--wptm-font);
    resize: none; min-height: 42px; max-height: 120px; line-height: 1.4;
    overflow-y: auto; overscroll-behavior: contain;
}
.wptm-ai-chat__input textarea:focus { outline: none; border-color: var(--wptm-primary); }
.wptm-ai-chat__msg a { color: var(--wptm-primary); text-decoration: underline; }
.wptm-ai-chat__msg--user a { color: #fff; }
/* Trip/hotel cards the assistant suggests — compact 2-up grid under its reply. */
.wptm-ai-chat__recs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wptm-ai-chat__recs .wptm-ai-rec { padding: 0; background: transparent; border: none; }
.wptm-ai-chat__recs .wptm-trip-card,
.wptm-ai-chat__recs .wptm-hotel-card { border-radius: 12px; }
.wptm-ai-chat__recs .wptm-trip-card:hover,
.wptm-ai-chat__recs .wptm-hotel-card:hover { transform: none; box-shadow: 0 1px 2px rgba(16,24,40,.06); border-color: var(--wptm-border); }
.wptm-ai-chat__recs .wptm-trip-card__image,
.wptm-ai-chat__recs .wptm-hotel-card__image { height: 84px; }
.wptm-ai-chat__recs .wptm-trip-card__body,
.wptm-ai-chat__recs .wptm-hotel-card__body { padding: 9px 10px 10px; }
.wptm-ai-chat__recs .wptm-trip-card__title,
.wptm-ai-chat__recs .wptm-hotel-card__title {
    font-size: 12.5px; margin: 0 0 6px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Hide the busy bits that don't fit a thumbnail — the image/title still link through. */
.wptm-ai-chat__recs .wptm-trip-card__meta,
.wptm-ai-chat__recs .wptm-hotel-card__location,
.wptm-ai-chat__recs .wptm-trip-card__wishlist,
.wptm-ai-chat__recs .wptm-hotel-card__wishlist,
.wptm-ai-chat__recs .wptm-card-ribbon--featured,
.wptm-ai-chat__recs .wptm-trip-card__badge,
.wptm-ai-chat__recs .wptm-trip-card__footer .wptm-btn,
.wptm-ai-chat__recs .wptm-hotel-card__footer .wptm-btn { display: none; }
.wptm-ai-chat__recs .wptm-trip-card__footer,
.wptm-ai-chat__recs .wptm-hotel-card__footer { padding-top: 8px; border-top: none; }
.wptm-ai-chat__recs .wptm-trip-card__price .amount,
.wptm-ai-chat__recs .wptm-hotel-card__price .amount { font-size: 15px; }
.wptm-ai-chat__recs .wptm-trip-card__price .per,
.wptm-ai-chat__recs .wptm-hotel-card__price .per { font-size: 10px; }
.wptm-ai-chat__input button {
    padding: 10px 16px; background: var(--wptm-primary); color: #fff;
    border: none; border-radius: var(--wptm-radius-sm); cursor: pointer; font-weight: 500; transition: all .2s;
}
.wptm-ai-chat__input button:hover { background: var(--wptm-primary-hover); }

/* AI Trip Recommender ([wptm_ai_recommend]) */
.wptm-ai-recommend {
    background: var(--wptm-white); border: 1px solid var(--wptm-border);
    border-radius: var(--wptm-radius); padding: 24px; max-width: 760px;
}
.wptm-ai-recommend__head { margin-bottom: 16px; }
.wptm-ai-recommend__icon { font-size: 22px; }
.wptm-ai-recommend__head h3 { margin: 6px 0 4px; font-family: var(--wptm-font-display); font-size: 20px; font-weight: 600; color: var(--wptm-dark); }
.wptm-ai-recommend__head p { margin: 0; font-size: 14px; color: var(--wptm-muted); }
.wptm-ai-recommend .wptm-form-group { margin-bottom: 14px; }
.wptm-ai-recommend label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--wptm-text); }
.wptm-ai-recommend textarea,
.wptm-ai-recommend input[type="text"] {
    width: 100%; padding: 12px 14px; border: 1px solid var(--wptm-border);
    border-radius: var(--wptm-radius-sm); font-size: 14px; font-family: var(--wptm-font);
}
.wptm-ai-recommend textarea:focus,
.wptm-ai-recommend input[type="text"]:focus { outline: none; border-color: var(--wptm-primary); box-shadow: 0 0 0 3px rgba(253,70,33,.1); }
.wptm-ai-recommend__status { margin: 14px 0 0; font-size: 13px; color: var(--wptm-muted); }
.wptm-ai-recommend__status.is-error { color: #c0392b; }
.wptm-ai-recommend__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 20px; }
@media(max-width:560px) { .wptm-ai-recommend__results { grid-template-columns: 1fr; } }
/* Each result = the AI's reason + match score on top of a real bookable card. */
.wptm-ai-rec {
    border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius);
    background: var(--wptm-primary-soft); padding: 12px 12px 14px;
}
.wptm-ai-rec__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wptm-ai-rec__why { font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--wptm-primary-hover); }
.wptm-ai-rec__score { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--wptm-primary); background: rgba(253,70,33,.12); padding: 2px 9px; border-radius: 999px; }
.wptm-ai-rec__reason { margin: 0 4px 12px; font-size: 13px; line-height: 1.5; color: var(--wptm-text); }
.wptm-ai-rec .wptm-trip-card,
.wptm-ai-rec .wptm-hotel-card { box-shadow: none; }

/* ─── Date picker (booking form) ─── */
.wptm-datepicker { margin-bottom: 16px; }
.wptm-dp-summary {
    display: flex; align-items: stretch; gap: 0; margin: 6px 0 12px;
    border: 1px solid var(--wptm-border); border-radius: 12px; overflow: hidden; background: var(--wptm-white);
}
.wptm-dp-field { flex: 1; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wptm-dp-field__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--wptm-muted); }
.wptm-dp-field__value { font-size: 14px; font-weight: 600; color: var(--wptm-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wptm-dp-arrow { display: flex; align-items: center; padding: 0 4px; color: var(--wptm-muted); background: var(--wptm-bg); }

/* Premium calendar */
.wptm-calendar { background: var(--wptm-white); border-radius: 16px; padding: 16px; border: 1px solid var(--wptm-border); box-shadow: var(--wptm-shadow); user-select: none; }
.wptm-calendar__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.wptm-calendar__header h4 { margin: 0; font-family: var(--wptm-font-display); font-size: 15px; font-weight: 700; color: var(--wptm-dark); }
.wptm-calendar__nav {
    background: var(--wptm-bg); border: 1px solid var(--wptm-border); border-radius: 9px;
    width: 32px; height: 32px; cursor: pointer; font-size: 18px; line-height: 1; color: var(--wptm-text);
    display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.wptm-calendar__nav:hover { background: var(--wptm-primary); color: #fff; border-color: var(--wptm-primary); }
.wptm-calendar__nav[disabled] { opacity: .35; cursor: not-allowed; pointer-events: none; }
.wptm-calendar__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; text-align: center; }
.wptm-calendar__day-name { font-size: 10.5px; font-weight: 600; color: var(--wptm-muted); text-transform: uppercase; padding: 6px 0; }
.wptm-calendar__pad { aspect-ratio: 1; }
.wptm-calendar__day {
    aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1;
    border: none; background: none; border-radius: 9px; font-size: 13.5px; font-weight: 500;
    color: var(--wptm-text); cursor: pointer; transition: background .12s ease, color .12s ease; font-family: var(--wptm-font);
}
.wptm-cal-price { font-size: 9px; font-weight: 600; color: var(--wptm-primary); }
.wptm-calendar__day:hover { background: var(--wptm-primary-soft); color: var(--wptm-primary); }
.wptm-calendar__day.today { box-shadow: inset 0 0 0 1.5px var(--wptm-primary); color: var(--wptm-primary); }
.wptm-calendar__day.is-start,
.wptm-calendar__day.is-end { background: var(--wptm-primary); color: #fff; font-weight: 700; }
.wptm-calendar__day.is-start .wptm-cal-price,
.wptm-calendar__day.is-end .wptm-cal-price { color: rgba(255,255,255,.92); }
.wptm-calendar__day.in-range { background: var(--wptm-primary-soft); color: var(--wptm-primary); border-radius: 0; }
.wptm-calendar__day.is-start { border-radius: 9px 0 0 9px; }
.wptm-calendar__day.is-end { border-radius: 0 9px 9px 0; }
.wptm-calendar__day.disabled { color: var(--wptm-border-strong, #cbd5e1); cursor: not-allowed; pointer-events: none; }
.wptm-calendar__day.blocked {
    color: #b91c1c; cursor: not-allowed; pointer-events: none;
    background: repeating-linear-gradient(135deg, #fef2f2, #fef2f2 4px, #fee2e2 4px, #fee2e2 8px);
    text-decoration: line-through; opacity: .85;
}
.wptm-calendar__day.soldout {
    color: #94a3b8; cursor: not-allowed; pointer-events: none;
    background: var(--wptm-bg); text-decoration: line-through;
}
.wptm-calendar__legend { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--wptm-muted); }
.wptm-cal-leg { display: inline-flex; align-items: center; gap: 6px; }
.wptm-cal-dot { width: 12px; height: 12px; border-radius: 4px; }
.wptm-cal-dot--blocked { background: repeating-linear-gradient(135deg, #fef2f2, #fef2f2 2px, #fee2e2 2px, #fee2e2 4px); border: 1px solid #fecaca; }
.wptm-cal-dot--soldout { background: var(--wptm-bg); border: 1px solid var(--wptm-border-strong, #cbd5e1); }

/* Wishlist Button */
.wptm-wishlist-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border: 1px solid var(--wptm-border); border-radius: 20px;
    background: var(--wptm-white); cursor: pointer; font-size: 13px; font-weight: 500;
    color: var(--wptm-text); transition: all .2s; font-family: var(--wptm-font);
}
.wptm-wishlist-btn:hover { border-color: var(--wptm-danger); color: var(--wptm-danger); }
.wptm-wishlist-btn.active { background: var(--wptm-danger); color: #fff; border-color: var(--wptm-danger); }
/* Wishlist page empty state */
.wptm-wishlist-empty { text-align: center; padding: 60px 20px; }
.wptm-wishlist-empty p { color: var(--wptm-muted); font-size: 18px; margin: 0 0 16px; }

/* Compare Bar */
.wptm-compare-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
    background: var(--wptm-dark); color: #fff;
    padding: 16px 20px; display: none; align-items: center; gap: 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.wptm-compare-bar.visible { display: flex; }
.wptm-compare-bar__items { display: flex; gap: 12px; flex: 1; }
.wptm-compare-bar__item { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.wptm-compare-bar__item .remove { cursor: pointer; opacity: .6; }
.wptm-compare-bar__item .remove:hover { opacity: 1; }

/* Checkout */
.wptm-checkout { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.wptm-checkout__grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
@media(max-width:900px) { .wptm-checkout__grid { grid-template-columns: 1fr; } }

/* Toast Notifications */
.wptm-toast {
    position: fixed; top: 20px; right: 20px; z-index: 99999;
    padding: 14px 20px; border-radius: var(--wptm-radius-sm);
    font-size: 14px; font-weight: 500; color: #fff;
    box-shadow: var(--wptm-shadow-lg);
    animation: wptmToastIn .4s ease;
}
.wptm-toast--success { background: var(--wptm-success); }
.wptm-toast--error { background: var(--wptm-danger); }
@keyframes wptmToastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* Loading Skeleton */
.wptm-skeleton { background: linear-gradient(90deg,var(--wptm-border) 25%,#f1f5f9 50%,var(--wptm-border) 75%); background-size: 200% 100%; animation: wptmShimmer 1.5s infinite; border-radius: 8px; }
@keyframes wptmShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Trip Gallery Layouts */
.wptm-gallery { margin: 0; }
.wptm-gallery__item { margin: 0; }
.wptm-gallery__item img {
    display: block;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}
.wptm-gallery__item img:hover {
    transform: translateY(-3px);
    box-shadow: var(--wptm-shadow, 0 8px 24px rgba(0,0,0,.12));
}

/* Grid — equal tiles */
.wptm-gallery--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.wptm-gallery--grid .wptm-gallery__item img { height: 180px; object-fit: cover; }

/* Masonry — Pinterest-style columns */
.wptm-gallery--masonry {
    column-count: 3;
    column-gap: 8px;
}
.wptm-gallery--masonry .wptm-gallery__item {
    break-inside: avoid;
    margin-bottom: 8px;
}
.wptm-gallery--masonry .wptm-gallery__item img { height: auto; }
@media (max-width: 768px) { .wptm-gallery--masonry { column-count: 2; } }

/* Carousel — horizontal sliding strip */
.wptm-gallery--carousel {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.wptm-gallery--carousel .wptm-gallery__item {
    flex: 0 0 320px;
    scroll-snap-align: start;
}
.wptm-gallery--carousel .wptm-gallery__item img { height: 220px; object-fit: cover; }
@media (max-width: 480px) { .wptm-gallery--carousel .wptm-gallery__item { flex-basis: 80%; } }

/* Mosaic — large feature image + thumbnail grid */
.wptm-gallery--mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 130px;
    gap: 8px;
}
.wptm-gallery--mosaic .wptm-gallery__item img { height: 100%; object-fit: cover; }
.wptm-gallery--mosaic .wptm-gallery__item:first-child {
    grid-column: 1;
    grid-row: span 2;
}
@media (max-width: 600px) {
    .wptm-gallery--mosaic { grid-template-columns: 1fr 1fr; }
    .wptm-gallery--mosaic .wptm-gallery__item:first-child { grid-column: span 2; }
}

/* Gallery Lightbox — navigable, premium */
.wptm-lightbox {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(12,10,8,.92); backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center; padding: 40px;
    opacity: 0; transition: opacity .28s ease;
}
.wptm-lightbox.open { display: flex; opacity: 1; }
.wptm-lightbox__stage {
    margin: 0; max-width: min(1100px, 94vw); max-height: 88vh;
    display: flex; align-items: center; justify-content: center;
}
.wptm-lightbox__stage img {
    max-width: 100%; max-height: 88vh; border-radius: 14px; display: block;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
    opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .3s ease;
}
.wptm-lightbox__stage img.is-in { opacity: 1; transform: scale(1); }
.wptm-lightbox__close {
    position: absolute; top: 22px; right: 26px;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .2s;
}
.wptm-lightbox__close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.wptm-lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff;
    font-size: 30px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .2s;
}
.wptm-lightbox__nav:hover { background: rgba(255,255,255,.24); }
.wptm-lightbox__nav--prev { left: 24px; }
.wptm-lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.wptm-lightbox__nav--next { right: 24px; }
.wptm-lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.wptm-lightbox__counter {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16);
    color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .03em;
    padding: 7px 16px; border-radius: 999px;
}
.wptm-lightbox.is-single .wptm-lightbox__nav,
.wptm-lightbox.is-single .wptm-lightbox__counter { display: none; }
@media(max-width:600px) {
    .wptm-lightbox { padding: 16px; }
    .wptm-lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
    .wptm-lightbox__nav--prev { left: 10px; }
    .wptm-lightbox__nav--next { right: 10px; }
}

/* Misc */
.wptm-rating { color: var(--wptm-accent); }
.wptm-tag { display: inline-block; padding: 6px 14px; background: var(--wptm-primary-soft); border: 1px solid rgba(253,70,33,.14); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--wptm-primary-hover); margin: 2px; }
.wptm-divider { border: none; border-top: 1px solid var(--wptm-border); margin: 24px 0; }

/* ─────────────────────────────────────────────
   Premium Single Trip / Hotel Enhancements
   ───────────────────────────────────────────── */

/* Hero */
.wptm-single-hero { height: 540px; border-radius: 0; }
/* Scrim focused on the lower band so the gallery stays vivid while the title
   remains legible. */
.wptm-single-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10,8,6,0) 50%, rgba(10,8,6,.34) 78%, rgba(10,8,6,.82) 100%),
        radial-gradient(120% 70% at 18% 100%, rgba(10,8,6,.45) 0%, rgba(10,8,6,0) 55%);
}
.wptm-single-hero__overlay {
    background: none; padding: 0; z-index: 2;
}
.wptm-single-hero__inner {
    max-width: 1200px; margin: 0 auto; width: 100%;
    padding: 0 24px 44px; box-sizing: border-box;
}
.wptm-single-hero__title {
    font-family: var(--wptm-font-display);
    font-size: clamp(30px, 5vw, 46px); font-weight: 700;
    line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 14px;
    color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.wptm-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--wptm-gradient); color: #fff;
    padding: 7px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600; letter-spacing: .01em;
    box-shadow: var(--wptm-shadow-brand);
}
.wptm-hero-badge--stars { background: rgba(255,255,255,.16); backdrop-filter: blur(8px); box-shadow: none; letter-spacing: 2px; }
.wptm-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.wptm-hero-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff; padding: 8px 15px; border-radius: 999px;
    font-size: 14px; font-weight: 500;
}

/* Section titles — gradient underline */
.wptm-section__title {
    position: relative; border-bottom: none; padding-bottom: 14px;
    letter-spacing: -.01em;
}
.wptm-section__title::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 56px; height: 4px; border-radius: 4px; background: var(--wptm-gradient);
}

/* Fact cards */
.wptm-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
}
.wptm-fact {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    text-align: center; padding: 20px 14px;
    background: var(--wptm-white); border: 1px solid var(--wptm-border);
    border-radius: var(--wptm-radius-sm); box-shadow: var(--wptm-shadow);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.wptm-fact:hover { transform: translateY(-4px); box-shadow: var(--wptm-shadow-lg); border-color: rgba(253,70,33,.25); }
.wptm-fact__icon {
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; border-radius: 14px; background: var(--wptm-primary-soft); margin-bottom: 4px;
}
.wptm-fact__value { font-family: var(--wptm-font-display); font-size: 18px; font-weight: 600; color: var(--wptm-dark); }
.wptm-fact__label { font-size: 12px; color: var(--wptm-muted); font-weight: 500; }

/* Checklists */
.wptm-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wptm-checklist li {
    position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.5; color: var(--wptm-text);
}
.wptm-checklist li::before {
    content: ''; position: absolute; left: 0; top: 2px;
    width: 20px; height: 20px; border-radius: 50%;
    background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.wptm-checklist--highlight li::before,
.wptm-checklist--yes li::before {
    background-color: rgba(16,185,129,.12);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.wptm-checklist--highlight li::before {
    background-color: var(--wptm-primary-soft);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23fd4621'%3E%3Cpath d='M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14l-5-4.87 7.1-1.01z'/%3E%3C/svg%3E");
}
.wptm-checklist--no li::before {
    background-color: rgba(239,68,68,.1);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}
.wptm-inc-exc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.wptm-inc-exc__head { font-family: var(--wptm-font-display); font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.wptm-inc-exc__head--yes { color: var(--wptm-success); }
.wptm-inc-exc__head--no { color: var(--wptm-danger); }
@media(max-width:600px) { .wptm-inc-exc { grid-template-columns: 1fr; gap: 20px; } }

/* Room cards */
.wptm-room-card {
    display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
    border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius);
    padding: 22px; margin-bottom: 14px; background: var(--wptm-white);
    box-shadow: var(--wptm-shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.wptm-room-card:hover { transform: translateY(-3px); box-shadow: var(--wptm-shadow-lg); border-color: rgba(253,70,33,.25); }
.wptm-room-card__name { margin: 0 0 6px; font-family: var(--wptm-font-display); font-size: 18px; font-weight: 600; color: var(--wptm-dark); }
.wptm-room-card__desc { margin: 0 0 10px; font-size: 13.5px; color: var(--wptm-muted); line-height: 1.5; }
.wptm-room-card__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--wptm-text); }
.wptm-room-card__price { text-align: right; white-space: nowrap; }
.wptm-room-card__price .amount { font-family: var(--wptm-font-display); font-size: 26px; font-weight: 700; color: var(--wptm-primary); }
.wptm-room-card__price .per { display: block; font-size: 12px; color: var(--wptm-muted); }
.wptm-room-card__old { display: block; font-size: 14px; color: var(--wptm-muted); text-decoration: line-through; }
@media(max-width:560px) { .wptm-room-card { grid-template-columns: 1fr; } .wptm-room-card__price { text-align: left; } }

/* Booking form — premium accents */
.wptm-booking-form { border-top: 4px solid transparent; border-image: var(--wptm-gradient) 1; }
.wptm-booking-form__header h3 { color: var(--wptm-dark); letter-spacing: -.01em; }
.wptm-booking-form__header .wptm-trip-card__price .amount { font-family: var(--wptm-font-display); font-size: 30px; font-weight: 700; color: var(--wptm-primary); }
.wptm-booking-form__summary { border: 1px solid var(--wptm-border); }
.wptm-availability-status { font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.wptm-availability-status.available { color: var(--wptm-success); }
.wptm-availability-status.unavailable { color: var(--wptm-danger); }
.wptm-booking-confirmation {
    background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.3);
    border-radius: var(--wptm-radius-sm); padding: 20px; text-align: center; color: #065f46;
}
.wptm-booking-confirmation h3 { margin: 0 0 6px; color: var(--wptm-success); font-family: var(--wptm-font-display); }

/* Sticky bar */
.wptm-sticky-bar { gap: 24px; padding: 14px 24px; }
.wptm-sticky-bar__price .amount { font-family: var(--wptm-font-display); }
.wptm-sticky-bar .wptm-btn--primary { box-shadow: var(--wptm-shadow-brand); }

/* Display-font headings inside content */
.wptm-section__title { font-family: var(--wptm-font-display); }

/* Prose (the_content) + amenities + sticky bar bits (moved off inline styles) */
.wptm-prose { font-size: 15px; line-height: 1.8; color: #475569; }
.wptm-prose p { margin: 0 0 1em; }
.wptm-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.wptm-sticky-bar__title { font-weight: 600; font-size: 16px; color: var(--wptm-dark); }
.wptm-sticky-bar__price .per { font-size: 13px; color: var(--wptm-muted); }
.wptm-booking-form__header .wptm-from { font-size: 13px; font-weight: 500; color: var(--wptm-muted); }

/* Fixed-length trip: read-only "Trip Length" field + date helper note */
.wptm-static-field {
    display: flex; align-items: center; min-height: 46px;
    padding: 12px 14px; border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm);
    background: var(--wptm-bg); color: var(--wptm-dark); font-size: 14px; font-weight: 500;
}
.wptm-date-hint {
    display: flex; align-items: flex-start; gap: 6px; margin: -4px 0 16px;
    font-size: 12.5px; line-height: 1.5; color: var(--wptm-muted);
}
.wptm-date-hint .dashicons { font-size: 16px; width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--wptm-primary); }
.wptm-return-hint { color: var(--wptm-text); font-weight: 500; white-space: nowrap; }

/* Multi-tier ticket selector */
.wptm-tiers { display: flex; flex-direction: column; gap: 10px; }
.wptm-tier-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm);
    background: var(--wptm-white); transition: border-color .15s;
}
.wptm-tier-row:hover { border-color: var(--wptm-primary); }
.wptm-tier-info { display: flex; flex-direction: column; gap: 2px; }
.wptm-tier-label { font-weight: 500; font-size: 14px; color: var(--wptm-dark); }
.wptm-tier-price { font-size: 13px; color: var(--wptm-text); }
.wptm-tier-price del { color: var(--wptm-muted); margin-right: 4px; }
.wptm-tier-price small { color: var(--wptm-muted); }
.wptm-tier-qty { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.wptm-tier-qty .wptm-btn { padding: 4px 10px; line-height: 1; flex-shrink: 0; }
/* High specificity to beat `.wptm-booking-form .wptm-form-group input { width:100% }`. */
.wptm-booking-form .wptm-form-group input.wptm-tier-input {
    width: 56px; flex: 0 0 56px; text-align: center; padding: 8px 4px;
    border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius-sm);
    font-size: 14px; font-family: var(--wptm-font);
    -moz-appearance: textfield; appearance: textfield;
}
.wptm-tier-input::-webkit-outer-spin-button,
.wptm-tier-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ─────────────────────────────────────────────
   Hero Gallery (combined featured image + gallery slider)
   ───────────────────────────────────────────── */
.wptm-single-hero--noimg { background: var(--wptm-gradient); }
.wptm-single-hero::after { z-index: 1; pointer-events: none; }
.wptm-single-hero__overlay { pointer-events: none; }
.wptm-single-hero__overlay .wptm-hero-badge,
.wptm-single-hero__overlay a { pointer-events: auto; }

/* No z-index here on purpose: keeping the media as a plain positioned layer
   (not a stacking context) lets its controls — nav, dots, counter and the
   "Show all photos" button — paint ABOVE the hero scrim/title overlay. */
.wptm-hero-gallery__media { position: absolute; inset: 0; }
.wptm-hero-gallery__track { position: absolute; inset: 0; }
.wptm-hero-gallery__slide {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.wptm-hero-gallery__slide.is-active { opacity: 1; }
.wptm-hero-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
/* Subtle Ken Burns drift on the active slide for a premium, alive feel. */
.wptm-hero-gallery__slide.is-active img { animation: wptm-kenburns 7s ease-out both; }
@keyframes wptm-kenburns {
    from { transform: scale(1.005); }
    to   { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .wptm-hero-gallery__slide.is-active img { animation: none; }
}

/* Collage layouts (grid / masonry / mosaic) — respect Gallery Style setting */
.wptm-hero-gallery__collage {
    position: absolute; inset: 0;
    background: #fff;
    height: 100%;
}
.wptm-hero-gallery__cell { position: relative; margin: 0; overflow: hidden; cursor: zoom-in; }
.wptm-hero-gallery__cell img {
    width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in;
    transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
/* Gentle depth vignette so tiles read as a cohesive, premium collage. */
.wptm-hero-gallery__cell::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.18) 100%);
    opacity: 0; transition: opacity .35s ease;
}
.wptm-hero-gallery__cell:hover img { transform: scale(1.07); }
.wptm-hero-gallery__cell:hover::after { opacity: 1; }

/* Grid — equal tiles, 3 × 2 */
.wptm-hero-gallery--grid .wptm-hero-gallery__collage {
    display: grid; gap: 4px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.wptm-hero-gallery--grid .wptm-hero-gallery__cell:nth-child(n+7) { display: none; }
.wptm-hero-gallery--grid .wptm-hero-gallery__cell:only-child { grid-column: span 3; grid-row: span 2; }

/* Mosaic — large feature + thumbnail grid */
.wptm-hero-gallery--mosaic .wptm-hero-gallery__collage {
    display: grid; gap: 4px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.wptm-hero-gallery--mosaic .wptm-hero-gallery__cell:first-child { grid-column: span 2; grid-row: span 2; }
.wptm-hero-gallery--mosaic .wptm-hero-gallery__cell:nth-child(n+6) { display: none; }
.wptm-hero-gallery--mosaic .wptm-hero-gallery__cell:only-child { grid-column: span 4; }

/* Masonry — Pinterest-style columns (clipped to hero height) */
.wptm-hero-gallery--masonry .wptm-hero-gallery__collage {
    column-count: 3; column-gap: 4px; overflow: hidden;
}
.wptm-hero-gallery--masonry .wptm-hero-gallery__cell {
    break-inside: avoid; margin-bottom: 4px; width: 100%;
}
.wptm-hero-gallery--masonry .wptm-hero-gallery__cell img { height: auto; }

@media(max-width:600px) {
    .wptm-hero-gallery--grid .wptm-hero-gallery__collage,
    .wptm-hero-gallery--mosaic .wptm-hero-gallery__collage { grid-template-columns: repeat(2, 1fr); }
    .wptm-hero-gallery--masonry .wptm-hero-gallery__collage { column-count: 2; }
}

/* "+N more" overlay on the last visible collage tile */
.wptm-hero-gallery__cell--more img { filter: brightness(.55); }
.wptm-hero-gallery__more {
    position: absolute; inset: 0; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    background: rgba(20,16,12,.28); border: none; cursor: pointer;
    color: #fff; font-family: var(--wptm-font-display); font-size: clamp(22px, 4vw, 34px); font-weight: 700;
    letter-spacing: -.01em; transition: background .25s;
}
.wptm-hero-gallery__more:hover { background: rgba(20,16,12,.12); }

/* Bottom-right control bar — video, audio and "Show all photos" line up here
   and share one consistent button style (see .wptm-hero-media-btn). */
.wptm-hero-gallery__bar {
    position: absolute; bottom: 22px; right: 24px; z-index: 4;
    display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px;
}
@media(max-width:600px) {
    .wptm-hero-gallery__bar { bottom: 14px; right: 12px; gap: 8px; }
}

/* Nav arrows — frosted glass */
.wptm-hero-gallery__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); cursor: pointer;
    background: rgba(255,255,255,.18); backdrop-filter: blur(10px); color: #fff;
    font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.22); opacity: 0;
    transition: background .2s, transform .2s, opacity .25s;
}
.wptm-single-hero:hover .wptm-hero-gallery__nav { opacity: 1; }
.wptm-hero-gallery__nav:hover { background: rgba(255,255,255,.34); }
.wptm-hero-gallery__nav--prev { left: 18px; }
.wptm-hero-gallery__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.wptm-hero-gallery__nav--next { right: 18px; }
.wptm-hero-gallery__nav--next:hover { transform: translateY(-50%) translateX(3px); }
@media (hover: none) { .wptm-hero-gallery__nav { opacity: 1; } }

/* Counter */
.wptm-hero-gallery__count {
    position: absolute; top: 20px; right: 20px; z-index: 3;
    background: rgba(26,20,16,.55); backdrop-filter: blur(6px);
    color: #fff; font-size: 13px; font-weight: 500;
    padding: 6px 14px; border-radius: 999px;
}

/* Dots — centered, pill active */
.wptm-hero-gallery__dots {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3;
    display: flex; gap: 7px; padding: 7px 12px;
    background: rgba(20,16,12,.35); backdrop-filter: blur(8px); border-radius: 999px;
}
.wptm-hg-dot {
    width: 7px; height: 7px; border-radius: 999px; border: none; cursor: pointer; padding: 0;
    background: rgba(255,255,255,.55); transition: background .25s, width .25s;
}
.wptm-hg-dot.is-active { background: #fff; width: 22px; }

/* Control-bar buttons (video / audio / show-all) — one consistent pill style */
.wptm-hero-media-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; cursor: pointer;
    font-family: var(--wptm-font); font-size: 13.5px; font-weight: 600; color: var(--wptm-dark);
    background: rgba(255,255,255,.92); box-shadow: 0 8px 22px rgba(0,0,0,.22);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.wptm-hero-media-btn:hover {
    transform: translateY(-2px); background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.wptm-hero-audio-btn.is-playing {
    background: var(--wptm-primary-soft); border-color: rgba(253,70,33,.35); color: var(--wptm-primary);
}
.wptm-hero-media-btn__icon { display: inline-flex; align-items: center; font-size: 13px; line-height: 1; color: var(--wptm-primary); }

/* Video modal */
.wptm-video-modal {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(10,8,6,.88); display: flex; align-items: center; justify-content: center;
    padding: 24px; opacity: 0; transition: opacity .25s ease;
}
.wptm-video-modal.open { opacity: 1; }
.wptm-video-modal__inner { position: relative; width: min(960px, 100%); }
.wptm-video-modal__frame {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #000; border-radius: var(--wptm-radius); overflow: hidden;
    box-shadow: var(--wptm-shadow-lg);
}
.wptm-video-modal__frame iframe,
.wptm-video-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wptm-video-modal__close {
    position: absolute; top: -46px; right: 0;
    background: none; border: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .85;
}
.wptm-video-modal__close:hover { opacity: 1; }

@media(max-width:600px) {
    .wptm-hero-gallery__nav { width: 38px; height: 38px; font-size: 20px; }
    .wptm-hero-media-btn { padding: 9px 13px; font-size: 12.5px; }
}

/* ─── Payment Methods ─── */
.wptm-payment { margin-top: 8px; }
.wptm-payment__label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--wptm-text, #1a1a1a);
}
.wptm-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wptm-payment-method {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid var(--wptm-border);
    border-radius: var(--wptm-radius-sm);
    background: var(--wptm-white, #fff);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.wptm-payment-method:hover {
    border-color: var(--wptm-primary-light);
}
/* The booking form's generic `.wptm-form-group label { display:block }` rule is
   more specific than `.wptm-payment-method`; keep the card a flex row so the
   icon, text and check indicator lay out correctly. */
.wptm-payment-methods label.wptm-payment-method {
    display: flex;
    margin-bottom: 0;
}
/* Visually hide the native radio but keep it accessible/focusable. */
.wptm-payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}
.wptm-payment-method__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--wptm-primary-soft);
    color: var(--wptm-primary);
    transition: background .18s ease, color .18s ease;
}
.wptm-payment-method__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}
.wptm-payment-method__title {
    font-weight: 600;
    font-size: 15px;
    color: var(--wptm-text, #1a1a1a);
}
.wptm-payment-method__desc {
    font-size: 13px;
    line-height: 1.4;
    color: var(--wptm-text-muted, #6b7280);
}
.wptm-payment-method__check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--wptm-border, #d1d5db);
    background: var(--wptm-white, #fff);
    transition: border-color .18s ease, background .18s ease;
    position: relative;
}
/* Checkmark drawn from two borders, hidden until the method is selected. */
.wptm-payment-method__check::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: translate(-50%, -62%) rotate(45deg) scale(0);
    transition: transform .18s ease;
}
/* Selected state (:has() for modern browsers, .is-selected JS fallback). */
.wptm-payment-method:has(input:checked),
.wptm-payment-method.is-selected {
    border-color: var(--wptm-primary);
    background: var(--wptm-primary-soft);
    box-shadow: 0 0 0 3px var(--wptm-primary-ring);
}
.wptm-payment-method:has(input:checked) .wptm-payment-method__icon,
.wptm-payment-method.is-selected .wptm-payment-method__icon {
    background: var(--wptm-primary);
    color: #fff;
}
.wptm-payment-method:has(input:checked) .wptm-payment-method__check,
.wptm-payment-method.is-selected .wptm-payment-method__check {
    border-color: var(--wptm-primary);
    background: var(--wptm-primary);
}
.wptm-payment-method:has(input:checked) .wptm-payment-method__check::after,
.wptm-payment-method.is-selected .wptm-payment-method__check::after {
    transform: translate(-50%, -62%) rotate(45deg) scale(1);
}
/* Keyboard focus ring. */
.wptm-payment-method:focus-within {
    border-color: var(--wptm-primary);
    box-shadow: 0 0 0 3px var(--wptm-primary-ring);
}

/* ─── Online gateway detail areas ─── */
.wptm-payment-detail {
    margin-top: 12px;
}
.wptm-stripe-card {
    padding: 14px 12px;
    border: 1px solid var(--wptm-border);
    border-radius: 10px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.wptm-stripe-card.StripeElement--focus {
    border-color: var(--wptm-primary);
    box-shadow: 0 0 0 3px var(--wptm-primary-ring);
}
.wptm-stripe-card.StripeElement--invalid {
    border-color: #dc2626;
}
.wptm-stripe-error {
    margin-top: 8px;
    font-size: 13px;
    color: #dc2626;
}
.wptm-paypal-buttons {
    margin-top: 4px;
}

/* ─── Status / payment badges ─── */
.wptm-badge, .wptm-pay-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    background: #eef2f7;
    color: #475569;
}
.wptm-badge--pending   { background: #fef3c7; color: #92400e; }
.wptm-badge--confirmed { background: #dcfce7; color: #166534; }
.wptm-badge--completed { background: #dbeafe; color: #1e40af; }
.wptm-badge--cancelled { background: #fee2e2; color: #991b1b; }
.wptm-pay-badge--paid     { background: #dcfce7; color: #166534; }
.wptm-pay-badge--awaiting { background: #fef3c7; color: #92400e; }
.wptm-pay-badge--unpaid   { background: #fee2e2; color: #991b1b; }

/* ─── My Bookings ─── */
.wptm-my-bookings { max-width: 960px; margin: 40px auto; padding: 0 20px; }
.wptm-my-bookings__title { font-family: var(--wptm-font-display); font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.wptm-my-bookings__empty { text-align: center; padding: 60px 0; color: var(--wptm-text-muted, #64748b); }
.wptm-my-bookings__empty p { font-size: 18px; margin-bottom: 16px; }
.wptm-my-bookings__table-wrap { overflow-x: auto; border: 1px solid var(--wptm-border); border-radius: var(--wptm-radius); }
.wptm-my-bookings__table { width: 100%; border-collapse: collapse; background: var(--wptm-white, #fff); }
.wptm-my-bookings__table th,
.wptm-my-bookings__table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--wptm-border); font-size: 14px; }
.wptm-my-bookings__table th { background: #f8fafc; font-weight: 600; color: var(--wptm-text, #1a1a1a); white-space: nowrap; }
.wptm-my-bookings__table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
    .wptm-my-bookings__table thead { display: none; }
    .wptm-my-bookings__table, .wptm-my-bookings__table tbody, .wptm-my-bookings__table tr, .wptm-my-bookings__table td { display: block; width: 100%; }
    .wptm-my-bookings__table tr { border-bottom: 2px solid var(--wptm-border); padding: 8px 0; }
    .wptm-my-bookings__table td { border: none; padding: 6px 16px; display: flex; justify-content: space-between; gap: 16px; }
    .wptm-my-bookings__table td::before { content: attr(data-label); font-weight: 600; color: var(--wptm-text-muted, #64748b); }
}

/* ─── Block / Elementor wrappers — consume style-control variables ─── */
.wptm-blk { }
.wptm-blk .wptm-grid { gap: var(--wptm-blk-gap, 24px); }
.wptm-blk--align-left   { text-align: left; }
.wptm-blk--align-center { text-align: center; }
.wptm-blk--align-right  { text-align: right; }
.wptm-blk-empty { padding: 36px 20px; text-align: center; color: var(--wptm-muted, #64748b); font-size: 15px; }

/* Card radius */
.wptm-blk .wptm-trip-card,
.wptm-blk .wptm-hotel-card { border-radius: var(--wptm-blk-radius, var(--wptm-radius)); }

/* Title color */
.wptm-blk .wptm-trip-card__title a,
.wptm-blk .wptm-hotel-card__title a { color: var(--wptm-blk-title, inherit); }

/* Price / accent color */
.wptm-blk .wptm-trip-card__price .amount,
.wptm-blk .wptm-hotel-card__price .amount { color: var(--wptm-blk-accent, var(--wptm-primary)); }

/* Body text color (only applied when the var is set) */
.wptm-blk[style*="--wptm-blk-text"] .wptm-trip-card__excerpt,
.wptm-blk[style*="--wptm-blk-text"] .wptm-hotel-card__excerpt,
.wptm-blk[style*="--wptm-blk-text"] .wptm-trip-card__meta,
.wptm-blk[style*="--wptm-blk-text"] .wptm-hotel-card__meta { color: var(--wptm-blk-text); }

/* Buttons */
.wptm-blk .wptm-btn--primary {
    background: var(--wptm-blk-btn-bg, linear-gradient(135deg, var(--wptm-primary), var(--wptm-primary-light)));
    color: var(--wptm-blk-btn-color, #fff);
}

/* Editor preview spacing so the SSR output isn't cramped */
.wptm-blk-editor { padding: 4px; }

/* ═══════════════ Premium SVG icon system ═══════════════ */
.wptm-icon { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

/* Inline meta / location / room icons take the brand accent */
.wptm-trip-card__meta .wptm-icon,
.wptm-hotel-card__location .wptm-icon,
.wptm-room-card__meta .wptm-icon,
.wptm-contact-line .wptm-icon { color: var(--wptm-icon-color); }

/* Quick-fact tiles + itinerary facts */
.wptm-fact__icon .wptm-icon,
.wptm-itinerary__fact-icon .wptm-icon { color: var(--wptm-icon-color); }

/* Hero chips/badges: white icons (direct children only, so star rows stay gold) */
.wptm-hero-chip > .wptm-icon,
.wptm-hero-badge > .wptm-icon { color: #fff; }

/* Star ratings — filled gold */
.wptm-stars-row { display: inline-flex; align-items: center; gap: 2px; color: #f5a623; vertical-align: middle; line-height: 0; }
.wptm-stars-row .wptm-icon, .wptm-star { color: #f5a623; }
.wptm-fact__icon .wptm-star { color: #f5a623; }

/* Wishlist heart — outline by default, fills when active, with a little pop */
.wptm-wishlist-btn .wptm-icon,
.wptm-trip-card__wishlist .wptm-icon,
.wptm-hotel-card__wishlist .wptm-icon { transition: transform .2s ease; }
.wptm-wishlist-btn.active .wptm-icon,
.wptm-trip-card__wishlist.active .wptm-icon,
.wptm-hotel-card__wishlist.active .wptm-icon { fill: currentColor; animation: wptmHeartPop .3s ease; }
@keyframes wptmHeartPop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Hotel card wishlist button (mirrors the trip card's) */
.wptm-hotel-card__wishlist {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: var(--wptm-glass); backdrop-filter: blur(8px);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--wptm-dark); transition: all .2s; z-index: 2;
}
.wptm-hotel-card__wishlist:hover,
.wptm-hotel-card__wishlist.active { background: var(--wptm-danger); color: #fff; }

/* Card image fallbacks (replace the old emoji placeholders) */
.wptm-card-fallback {
    height: 220px; display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, #fd4621, #ff8a3d);
}
.wptm-card-fallback--hotel { height: 200px; background: linear-gradient(135deg, #ff8a3d, #fd4621); }
.wptm-card-fallback .wptm-icon { width: 44px; height: 44px; opacity: .92; }

/* Hotel contact lines */
.wptm-contact-line { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }

/* ─── Hotel facilities (grouped, with icons) ─── */
.wptm-facilities { display: grid; gap: 26px; }
.wptm-facility-group__title {
    font-family: var(--wptm-font-display); font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; color: var(--wptm-muted);
    margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--wptm-border);
}
.wptm-facility-group__items {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 18px;
}
.wptm-facility { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--wptm-text); }
.wptm-facility > .wptm-icon {
    flex-shrink: 0; color: var(--wptm-primary);
    width: 34px; height: 34px; padding: 8px; box-sizing: border-box;
    background: var(--wptm-primary-soft); border-radius: 9px;
}
.wptm-amenities .wptm-tag .wptm-icon { color: var(--wptm-icon-color); vertical-align: -0.18em; margin-right: 3px; }

/* ═══════════════ Archive layout + premium filter bar ═══════════════ */
.wptm-archive-hero { padding: 66px 20px 70px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.wptm-archive-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 320px at 82% -25%, rgba(255,255,255,.16), transparent 60%); }
.wptm-archive-hero--trip  { background: linear-gradient(135deg, #fd4621, #ff8a3d); }
.wptm-archive-hero--hotel { background: linear-gradient(135deg, #e23410, #fd4621); }
.wptm-archive-hero__title { font-family: var(--wptm-font-display); font-size: 42px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; position: relative; }
.wptm-archive-hero__sub { font-size: 18px; opacity: .92; max-width: 600px; margin: 0 auto; position: relative; }
.wptm-archive-body { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.wptm-archive-pagination { margin-top: 40px; text-align: center; }
.wptm-no-results { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--wptm-muted); font-size: 16px; }

.wptm-filter-bar {
    background: var(--wptm-white);
    border: 1px solid var(--wptm-border);
    border-radius: 18px;
    box-shadow: 0 16px 38px -22px rgba(16,24,40,.32);
    padding: 18px 20px;
    margin: -46px 0 30px;     /* lift over the hero edge */
    position: relative; z-index: 3;
}
.wptm-filter-bar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wptm-filter-bar__title { display: inline-flex; align-items: center; gap: 7px; font-family: var(--wptm-font-display); font-weight: 700; font-size: 15px; color: var(--wptm-dark); }
.wptm-filter-bar__title .wptm-icon { color: var(--wptm-icon-color); }
.wptm-filter-count { font-size: 13px; font-weight: 600; color: var(--wptm-muted); }
.wptm-filter-bar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 12px; }
.wptm-filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wptm-filter-field--search { grid-column: span 2; }
.wptm-filter-field label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--wptm-muted); }
.wptm-filter-field select,
.wptm-filter-field input {
    width: 100%; padding: 10px 12px; border: 1px solid var(--wptm-border); border-radius: 10px;
    font-size: 13.5px; font-family: var(--wptm-font); background: var(--wptm-white);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.wptm-filter-field select:focus,
.wptm-filter-field input:focus { outline: none; border-color: var(--wptm-primary); box-shadow: 0 0 0 3px rgba(253,70,33,.12); }
.wptm-filter-search { position: relative; }
.wptm-filter-search .wptm-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--wptm-muted); }
.wptm-filter-search input { padding-left: 34px; }
.wptm-filter-price { display: flex; align-items: center; gap: 6px; }
.wptm-filter-price span { color: var(--wptm-muted); font-weight: 500; }
.wptm-filter-bar__actions { margin-top: 14px; display: flex; justify-content: flex-end; }
.wptm-filter-reset { background: none; border: none; color: var(--wptm-primary); font-weight: 600; font-size: 13px; cursor: pointer; padding: 6px 10px; border-radius: 8px; transition: background .15s; }
.wptm-filter-reset:hover { background: var(--wptm-primary-soft); }

.wptm-search-results.is-loading { opacity: .45; pointer-events: none; transition: opacity .2s ease; }

/* Pagination wrap + Load More + numbered pager */
.wptm-pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.wptm-load-more { min-width: 200px; justify-content: center; }
.wptm-pager { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wptm-pager__btn {
    min-width: 40px; height: 40px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--wptm-border); background: var(--wptm-white);
    border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--wptm-text);
    cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.wptm-pager__btn:hover { border-color: var(--wptm-primary); color: var(--wptm-primary); }
.wptm-pager__btn.is-current { background: var(--wptm-primary); border-color: var(--wptm-primary); color: #fff; cursor: default; }
.wptm-pager__btn.is-disabled { opacity: .4; pointer-events: none; }
.wptm-pager__nav { font-size: 18px; }
.wptm-pager__dots { padding: 0 4px; color: var(--wptm-muted); }

@media (max-width: 640px) {
    .wptm-archive-hero__title { font-size: 32px; }
    .wptm-filter-bar { margin-top: 22px; }
    .wptm-filter-field--search { grid-column: 1 / -1; }
}

/* ─── Pickup points (Pro) ─── */
.wptm-pickup-block .wptm-pickup-hint { margin: 2px 0 10px; font-size: 13px; color: #6b6058; }
.wptm-pickups { display: flex; flex-direction: column; gap: 8px; }
.wptm-pickup-item { display: flex; align-items: center; gap: 10px; }
.wptm-pickup-num {
    flex: none; width: 24px; height: 24px; border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--wptm-primary-soft); color: var(--wptm-primary); font-size: 12px; font-weight: 600;
}
.wptm-pickup-select { flex: 1 1 auto; width: 100%; }
