/*
 * WOW Cha-Am My Trip planner (templates/sections/my-trip.php + trip-*.php, assets/js/wow-trip.js)
 * and the place page "add to trip" popover.
 */

/* Page ------------------------------------------------------------------- */
/* The hero replaces the theme's page title on the My Trip page. */
body:has(.wow-tp--summary) .wowt-page-head { display: none; }
.wowt-page:has(.wow-tp--summary) { padding-top: clamp(12px, 2vw, 24px); }
.wowt-page .wowt-entry:has(.wow-tp) { max-width: none; }
.wow-tp-stat__temp { flex: none; }
.wow-trip { display: grid; gap: clamp(28px, 4vw, 44px); line-height: 1.5; font-size: 1rem; }
.wow-tp { --tp-line: #bcd5f2; --tp-route: var(--wow-primary); min-width: 0; line-height: 1.5; font-size: 1rem; }
.wow-tp ul, .wow-tp ol { margin: 0; padding: 0; list-style: none; }
.wow-tp li { margin: 0; }
.wow-tp a { text-decoration: none; }
.wow-tp .wow-icon { width: 18px; height: 18px; flex: none; }
.wow-tp__muted { color: var(--wow-muted); }
.wow-tp__sub { margin: 6px 0 0; color: var(--wow-muted); }
.wow-tp__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; }
.wow-tp__more { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--wow-primary); font: 500 .95rem var(--wow-font); cursor: pointer; }
.wow-tp__more .wow-icon { width: 16px; height: 16px; }
.wow-tp__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--wow-muted); cursor: pointer; transition: background .2s, color .2s; }
.wow-tp__icon:hover { background: var(--wow-bg-soft); color: var(--wow-primary); }
.wow-tp__icon.is-danger { color: #ef4444; }
.wow-tp__icon.is-danger:hover { background: #fef2f2; color: var(--wow-danger); }
.wow-tp__icon:disabled { opacity: .35; cursor: default; background: none; }
.wow-tp__icon .wow-icon { width: 17px; height: 17px; }
.wow-tp__link { padding: 0; border: 0; background: none; color: var(--wow-primary); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wow-tp__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--wow-line); border-radius: 999px; background: #fff; color: var(--wow-navy); font: 500 .85rem var(--wow-font); cursor: pointer; }
.wow-tp__chip:hover { border-color: var(--wow-primary); color: var(--wow-primary); }
.wow-tp__chip .wow-icon { width: 15px; height: 15px; }
.wow-tp button:focus-visible, .wow-tp-dialog button:focus-visible, .wow-tp-pop button:focus-visible, .wow-addtrip__pop button:focus-visible { outline: 3px solid var(--wow-yellow); outline-offset: 2px; }

/* Hero + summary cards ----------------------------------------------------- */
.wow-tp-hero {
	position: relative; display: grid; align-content: space-between; gap: 28px; min-height: 360px; padding: clamp(20px, 4vw, 44px); border-radius: var(--wow-radius-lg); overflow: hidden;
	background: linear-gradient(100deg, #f4f9ff 0%, #eaf4fd 48%, #cfe9fb 100%);
}
.wow-tp-hero.has-image { background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 36%, rgba(255, 255, 255, 0) 64%), var(--tp-hero) center / cover no-repeat; }
.wow-tp-hero__text { position: relative; z-index: 1; max-width: 600px; }
.wow-tp-hero .wow-breadcrumb { margin-bottom: 12px; }
.wow-tp-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--wow-primary); font-size: .9rem; font-weight: 500; box-shadow: var(--wow-shadow); }
.wow-tp-hero__title { margin: 0; color: var(--wow-navy); font: 700 var(--wow-fs-h1)/1.2 var(--wow-font-head); }
.wow-tp-hero__sub { margin: 12px 0 0; color: var(--wow-text); font-size: 1.08rem; line-height: 1.6; }
.wow-tp-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.wow-tp-hero__tagline { position: absolute; top: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 48px); z-index: 1; max-width: 240px; margin: 0; color: var(--wow-navy); font: italic 500 1.05rem/1.5 var(--wow-font-head); transform: rotate(-4deg); text-align: right; text-shadow: 0 1px 8px rgba(255, 255, 255, .8); }
.wow-tp-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wow-tp-stat { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border-radius: var(--wow-radius); background: rgba(255, 255, 255, .96); box-shadow: var(--wow-shadow); color: var(--wow-text); transition: transform .2s, box-shadow .2s; }
.wow-tp-stat:hover { transform: translateY(-2px); box-shadow: var(--wow-shadow-lg); color: var(--wow-text); }
.wow-tp-stat__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--stat-bg); color: var(--stat); }
.wow-tp-stat__icon .wow-icon { width: 24px; height: 24px; }
.wow-tp-stat:first-child .wow-tp-stat__icon .wow-icon { fill: currentColor; }
.wow-tp-stat__text { display: grid; flex: 1; min-width: 0; }
.wow-tp-stat__text small { color: var(--wow-muted); font-size: .85rem; }
.wow-tp-stat__text strong { overflow: hidden; color: var(--wow-navy); font: 600 1.15rem/1.35 var(--wow-font-head); white-space: nowrap; text-overflow: ellipsis; }
.wow-tp-stat__temp { display: grid; text-align: right; }
.wow-tp-stat__temp b { color: var(--wow-navy); font: 700 1.35rem/1.2 var(--wow-font-head); }
.wow-tp-stat__temp small { color: var(--wow-muted); font-size: .8rem; }
.wow-tp-stat__go { color: var(--wow-muted); }
.wow-tp-stat--weather .wow-tp-stat__go { display: none; }

/* Favourites row ---------------------------------------------------------- */
.wow-tpfavs { --tpfav-w: 196px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--tpfav-w); gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.wow-tpfavs[aria-busy="true"] { min-height: 120px; border-radius: var(--wow-radius); background: linear-gradient(90deg, var(--wow-bg-soft) 0%, #fff 50%, var(--wow-bg-soft) 100%) 0 0 / 200% 100%; animation: wow-tp-shimmer 1.4s infinite linear; }
@keyframes wow-tp-shimmer { to { background-position: -200% 0; } }
.wow-tp--favs.is-all .wow-tpfavs { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(var(--tpfav-w), 1fr)); overflow: visible; }
.wow-tpfav { position: relative; display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; }
.wow-tpfav[draggable="true"] { cursor: grab; }
.wow-tpfav .wow-card { flex: 1; }
.wow-tpfav .wow-card__body { padding: 10px 12px 12px; }
.wow-tpfav .wow-card__title { font-size: .98rem; }
.wow-tpfav .wow-rating, .wow-tpfav .wow-open, .wow-tpfav .wow-badge--soft { display: none; }
.wow-tpfav .wow-card__badges { order: -1; margin: 0 0 6px; }
.wow-tpfav .wow-meta { margin-top: 4px; font-size: .82rem; }
.wow-tpfav__add { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 7px 10px; border: 1px dashed rgba(10, 108, 219, .45); border-radius: 999px; background: #fff; color: var(--wow-primary); font: 500 .88rem var(--wow-font); cursor: pointer; }
.wow-tpfav__add:hover { background: var(--wow-sky-soft); border-style: solid; }
.wow-tpfav__add .wow-icon { width: 15px; height: 15px; }
.wow-tpfav.is-in-day .wow-tpfav__add { border-color: #bbf7d0; color: var(--wow-success); }
.wow-tp__guest-note { flex-wrap: wrap; align-items: center; }
.wow-tp__guest-note span { flex: 1 1 260px; }
.wow-tp__favs-empty[hidden] { display: none; }

/* Planner ------------------------------------------------------------------ */
.wow-tp__card { padding: clamp(16px, 3vw, 28px); border-radius: var(--wow-radius-lg); background: var(--wow-cream); }
.wow-tp__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.wow-tp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wow-tp__actions[hidden], .wow-tp__switch[hidden] { display: none; }
.wow-tp__actions .wow-btn .wow-icon { width: 16px; height: 16px; }
.wow-tp__switch select { min-height: 36px; max-width: 220px; padding: 4px 30px 4px 12px; border: 1px solid var(--wow-line); border-radius: 999px; background-color: #fff; color: var(--wow-navy); font: 500 .9rem var(--wow-font); }
.wow-tp__info { margin-bottom: 18px; padding: 16px 20px; border-radius: var(--wow-radius); background: #fff; box-shadow: 0 2px 10px rgba(15, 46, 92, .04); }
.wow-tp__info:empty { display: none; }
.wow-tp__info .wow-notice { margin-bottom: 10px; }
.wow-tp__nameline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.wow-tp__name { margin: 0; color: var(--wow-navy); font: 700 var(--wow-fs-h3)/1.3 var(--wow-font-head); }
.wow-tp__save { margin-left: auto; color: var(--wow-muted); font-size: .82rem; }
.wow-tp__save.is-saved { color: var(--wow-success); }
.wow-tp__save.is-error { color: var(--wow-danger); }
.wow-tp__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 8px 0 0; color: var(--wow-text); font-size: .95rem; }
.wow-tp__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.wow-tp__meta .wow-icon { color: var(--wow-navy); }
.wow-tp__desc { display: flex; align-items: center; gap: 4px; margin: 8px 0 0; color: var(--wow-muted); }
.wow-tp__grid { display: grid; gap: 22px; }
.wow-tp--planner.has-aside .wow-tp__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: start; }
.wow-tp__main { min-width: 0; padding: 0 0 16px; border-radius: var(--wow-radius); background: #fff; box-shadow: 0 2px 10px rgba(15, 46, 92, .04); }
.wow-tp__aside { display: grid; gap: 18px; min-width: 0; }

/* Day tabs */
.wow-tp__days { display: flex; gap: 8px; overflow-x: auto; padding: 12px 12px 4px; scrollbar-width: thin; }
.wow-tp__day { position: relative; display: grid; flex: 0 0 auto; gap: 2px; min-width: 150px; padding: 10px 18px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-navy); font: inherit; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.wow-tp__day strong { font: 600 1rem var(--wow-font-head); }
.wow-tp__day:has(.wow-tp__daydel) { padding-inline: 26px; }
.wow-tp__sortline { margin: 12px 12px 0; }
.wow-tp__day small { color: var(--wow-muted); font-size: .78rem; }
.wow-tp__day:hover { border-color: var(--wow-primary); }
.wow-tp__day.is-active { border-color: var(--wow-primary); background: var(--wow-primary); color: #fff; }
.wow-tp__day.is-active small { color: rgba(255, 255, 255, .85); }
.wow-tp__day.is-drop { outline: 3px dashed var(--wow-yellow); outline-offset: 2px; }
.wow-tp__daydel { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: inherit; opacity: .8; }
.wow-tp__daydel:hover { background: rgba(255, 255, 255, .2); opacity: 1; }
.wow-tp__daydel .wow-icon { width: 14px; height: 14px; }
.wow-tp__dayadd { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid rgba(10, 108, 219, .45); border-radius: 999px; background: #fff; color: var(--wow-primary); font: 500 .92rem var(--wow-font); cursor: pointer; align-self: center; }
.wow-tp__dayadd .wow-icon { width: 16px; height: 16px; }

/* Timeline */
.wow-tp__timeline { position: relative; display: grid; gap: 14px; margin: 14px 12px 0 !important; padding: 4px 0 !important; }
.wow-tp__timeline::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 9px; border-left: 2px dashed var(--tp-line); }
.wow-tp__timeline.is-drop { outline: 3px dashed var(--wow-yellow); outline-offset: 4px; border-radius: var(--wow-radius-sm); }
.wow-tp__emptyday { position: relative; margin-left: 30px !important; padding: 26px 18px; border: 2px dashed var(--wow-line); border-radius: var(--wow-radius); color: var(--wow-muted); text-align: center; font-size: .95rem; }
.wow-tp-item { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: start; }
.wow-tp-item[draggable="true"] { cursor: grab; }
.wow-tp-item.is-dragging { opacity: .4; }
.wow-tp-item.is-drop-before::before, .wow-tp-item.is-drop-after::after { content: ""; position: absolute; left: 30px; right: 0; height: 4px; border-radius: 4px; background: var(--wow-yellow); }
.wow-tp-item.is-drop-before::before { top: -9px; }
.wow-tp-item.is-drop-after::after { bottom: -9px; }
.wow-tp-item__time { position: relative; display: grid; padding: 10px 0 0 28px; color: var(--wow-navy); font: 600 .98rem/1.2 var(--wow-font-head); }
.wow-tp-item__time small { color: var(--wow-muted); font: 400 .78rem var(--wow-font); }
.wow-tp-item__dot { position: absolute; top: 12px; left: 3px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--wow-primary); box-shadow: 0 0 0 2px var(--wow-primary); }
.wow-tp-item__card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.wow-tp-item:hover .wow-tp-item__card { border-color: #cfe0f5; box-shadow: var(--wow-shadow); }
.wow-tp-item__thumb { position: relative; display: block; align-self: start; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--wow-radius-sm); background: var(--wow-sky-soft); }
.wow-tp-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wow-tp-item__thumb .wow-placeholder { min-height: 0; }
.wow-tp-item__num { position: absolute; top: 6px; left: 6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--pin, var(--wow-primary)); color: #fff; font: 700 .75rem/1 var(--wow-font); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.wow-tp-item__body { display: grid; align-content: start; gap: 4px; min-width: 0; }
.wow-tp-item__top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wow-tp-item__dur { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--wow-muted); font-size: .85rem; white-space: nowrap; }
.wow-tp-item__dur .wow-icon { width: 15px; height: 15px; }
.wow-tp-item__tools { display: inline-flex; gap: 0; }
.wow-tp-item__dur + .wow-tp-item__tools { margin-left: 0; }
.wow-tp-item__top > .wow-badge + .wow-tp-item__tools { margin-left: auto; }
.wow-tp-item__title { margin: 0 !important; color: var(--wow-navy); font: 600 1.02rem/1.35 var(--wow-font-head) !important; }
.wow-tp-item__title a { color: inherit; }
.wow-tp-item__title a:hover { color: var(--wow-primary); }
.wow-tp-item__area { display: flex; align-items: center; gap: 5px; margin: 0; color: var(--wow-muted); font-size: .85rem; }
.wow-tp-item__area .wow-icon { width: 14px; height: 14px; }
.wow-tp-item__note { margin: 4px 0 0; padding: 7px 12px; border: 0; border-radius: var(--wow-radius-sm); background: var(--wow-bg-soft); color: var(--wow-text); font: .88rem/1.45 var(--wow-font); text-align: left; overflow-wrap: anywhere; }
button.wow-tp-item__note { width: 100%; color: var(--wow-muted); cursor: pointer; }
button.wow-tp-item__note:hover { color: var(--wow-primary); }
.wow-tp__mv { display: none; }
@media (hover: none), (pointer: coarse) { .wow-tp__mv { display: inline-grid; } .wow-tp-item[draggable="true"] { cursor: auto; } }
.wow-tp-item:focus-within .wow-tp__mv { display: inline-grid; }

.wow-tp-edit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin-top: 6px; }
.wow-tp-edit label { display: grid; gap: 3px; color: var(--wow-muted); font-size: .8rem; }
.wow-tp-edit__note { grid-column: 1 / -1; }
.wow-tp-edit input, .wow-tp-edit select, .wow-tp-form input, .wow-tp-form select, .wow-tp-form textarea, .wow-tp-create input, .wow-tp-create select { box-sizing: border-box; width: 100%; min-height: 40px; padding: 7px 12px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-text); font: 1rem var(--wow-font); }
.wow-tp-edit input:focus, .wow-tp-edit select:focus, .wow-tp-form :is(input, select, textarea):focus, .wow-tp-create :is(input, select):focus { border-color: var(--wow-primary); outline: 2px solid rgba(10, 108, 219, .2); }
.wow-tp-edit__btns { grid-column: 1 / -1; display: flex; gap: 8px; margin: 2px 0 0; }

.wow-tp__addplace { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 24px); margin: 16px 12px 0; padding: 14px; border: 2px dashed rgba(10, 108, 219, .4); border-radius: var(--wow-radius); background: #fff; color: var(--wow-primary); font: 500 1rem var(--wow-font); cursor: pointer; }
.wow-tp__addplace:hover { background: var(--wow-sky-soft); }
.wow-tp__addplace[hidden] { display: none; }

/* Create trip form */
.wow-tp-create { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center; }
.wow-tp-create__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wow-sky-soft); color: var(--wow-primary); }
.wow-tp-create__icon .wow-icon { width: 28px; height: 28px; }
.wow-tp-create h3 { margin: 0; color: var(--wow-navy); font: 700 1.25rem var(--wow-font-head); }
.wow-tp-create__text p { margin: 4px 0 0; color: var(--wow-muted); }
.wow-tp-create__fields { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1.2fr 1.2fr .8fr; gap: 10px; }
.wow-tp-create label { display: grid; gap: 4px; color: var(--wow-muted); font-size: .85rem; }
.wow-tp-create > p { grid-column: 1 / -1; margin: 0; }
.wow-tp-create.is-dialog { grid-template-columns: 1fr; }
.wow-tp-create.is-dialog .wow-tp-create__icon, .wow-tp-create.is-dialog .wow-tp-create__text { display: none; }
.wow-tp-create.is-dialog .wow-tp-create__fields { grid-template-columns: 1fr 1fr; }
.wow-tp-create.is-dialog .wow-tp-create__fields label:first-child { grid-column: 1 / -1; }

/* Guest login prompt */
.wow-tp__login { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 22px; border-radius: var(--wow-radius); background: #fff; }
.wow-tp__login-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wow-sky-soft); color: var(--wow-primary); }
.wow-tp__login-icon .wow-icon { width: 30px; height: 30px; }
.wow-tp__login h3 { margin: 0 0 4px !important; color: var(--wow-navy); font: 700 1.2rem var(--wow-font-head) !important; }
.wow-tp__login p { margin: 0; color: var(--wow-muted); }
.wow-tp__login-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Side boxes: map, weather, tips */
.wow-tp__box { padding: 16px; border-radius: var(--wow-radius); background: #fff; box-shadow: 0 2px 10px rgba(15, 46, 92, .04); }
.wow-tp__boxhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.wow-tp__boxtitle { display: flex; align-items: center; gap: 8px; margin: 0 !important; color: var(--wow-navy); font: 600 1.08rem/1.3 var(--wow-font-head) !important; }
.wow-tp__boxtitle .wow-icon { width: 22px; height: 22px; color: var(--wow-primary); }
.wow-tp--tips .wow-tp__boxtitle .wow-icon { color: #f59e0b; }

.wow-tp__mapwrap { position: relative; height: 380px; overflow: hidden; border-radius: var(--wow-radius-sm); background: var(--wow-sky-soft); }
.wow-tp__map { position: absolute; inset: 0; }
.wow-tp__maplist { position: absolute; top: 12px; right: 12px; z-index: 500; display: grid; gap: 2px; width: min(200px, 46%); max-height: calc(100% - 24px); overflow: auto; padding: 8px !important; border-radius: var(--wow-radius-sm); background: rgba(255, 255, 255, .96); box-shadow: var(--wow-shadow); }
.wow-tp__maplist:has(> .wow-tp__muted) { width: auto; max-width: 70%; font-size: .85rem; }
.wow-tp-maprow { display: flex; gap: 8px; width: 100%; padding: 6px; border: 0; border-radius: 8px; background: none; color: var(--wow-text); font: inherit; text-align: left; cursor: pointer; }
.wow-tp-maprow:hover { background: var(--wow-bg-soft); }
.wow-tp-maprow strong { display: block; color: var(--wow-navy); font-size: .85rem; line-height: 1.3; }
.wow-tp-maprow small { color: var(--wow-muted); font-size: .76rem; }
.wow-tp-maprow__n { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pin, var(--wow-primary)); color: #fff; font: 700 .78rem/1 var(--wow-font); }
.wow-tp__mapfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 0; }
.wow-tp__mapfoot small { flex: 1 1 200px; color: var(--wow-muted); font-size: .8rem; }
.wow-tp__mapfoot .wow-btn[hidden] { display: none; }
.wow-tp-pin-wrap { background: none; border: 0; }
.wow-tp-pin { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; background: var(--pin, #0a6cdb); color: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transform: rotate(-45deg); }
.wow-tp-pin b { font: 700 .9rem/1 var(--wow-font); transform: rotate(45deg); }
.wow-tp--map.is-full { position: fixed; inset: 0; z-index: 100001; display: flex; flex-direction: column; border-radius: 0; }
.wow-tp--map.is-full .wow-tp__mapwrap { flex: 1; height: auto; }
html.wow-tp-noscroll { overflow: hidden; }

.wow-tpw__now { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.wow-tpw__now > div { display: grid; flex: 1; min-width: 140px; }
.wow-tpw__icon { color: #f59e0b; }
.wow-tpw__icon .wow-icon { width: 54px; height: 54px; }
.wow-tpw__temp { color: var(--wow-navy); font: 700 2rem/1.1 var(--wow-font-head); }
.wow-tpw__now > div span { color: var(--wow-text); }
.wow-tpw__now > div small { color: var(--wow-muted); font-size: .82rem; }
.wow-tpw__facts { display: grid; gap: 4px; font-size: .88rem; color: var(--wow-muted); }
.wow-tpw__facts li { display: flex; align-items: center; gap: 6px; }
.wow-tpw__facts b { margin-left: auto; padding-left: 10px; color: var(--wow-text); font-weight: 600; }
.wow-tpw__facts .wow-icon { width: 15px; height: 15px; }
.wow-tpw__days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78px, 1fr); gap: 8px; overflow-x: auto; margin-top: 14px !important; padding-bottom: 4px !important; }
.wow-tpw__day { display: grid; justify-items: center; gap: 2px; width: 100%; padding: 8px 4px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-text); font: .8rem var(--wow-font); cursor: pointer; }
.wow-tpw__day .wow-icon { width: 24px; height: 24px; color: #f59e0b; }
.wow-tpw__day b { color: var(--wow-navy); font-size: .85rem; }
.wow-tpw__day small { display: inline-flex; align-items: center; gap: 2px; color: var(--wow-primary); }
.wow-tpw__day small .wow-icon { width: 12px; height: 12px; color: inherit; }
.wow-tpw__day.is-active { border-color: var(--wow-primary); background: var(--wow-sky-soft); }
.wow-tpw__note { margin: 12px 0 0; padding: 8px 12px; border-radius: var(--wow-radius-sm); background: #fffbeb; color: #92400e; font-size: .84rem; }

.wow-tp-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.wow-tp-tip { display: grid; align-content: start; gap: 4px; padding: 14px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); }
.wow-tp-tip__icon { color: var(--wow-primary); }
.wow-tp-tip__icon .wow-icon { width: 28px; height: 28px; }
.wow-tp-tip strong { color: var(--wow-navy); font: 600 .95rem/1.35 var(--wow-font-head); }
.wow-tp-tip small { color: var(--wow-muted); font-size: .84rem; line-height: 1.45; }

/* Bottom banner */
.wow-tp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(22px, 4vw, 40px) clamp(20px, 5vw, 56px); border-radius: var(--wow-radius-lg); background: linear-gradient(100deg, #eaf4fd 0%, #d7ecfb 100%); }
.wow-tp-cta.has-image { background: linear-gradient(90deg, rgba(234, 244, 253, .5) 0%, rgba(234, 244, 253, .94) 32%, rgba(234, 244, 253, .94) 100%), var(--tp-cta) left center / cover no-repeat; }
.wow-tp-cta__text { flex: 1 1 340px; }
.wow-tp-cta__title { margin: 0 0 6px !important; color: var(--wow-navy); font: 700 var(--wow-fs-h3)/1.3 var(--wow-font-head) !important; }
.wow-tp-cta__text p { margin: 0; color: var(--wow-text); }
.wow-tp-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Popover (choose day) and dialogs ---------------------------------------- */
.wow-tp-pop { position: absolute; z-index: 100002; display: grid; gap: 6px; min-width: 200px; max-width: calc(100vw - 16px); padding: 12px; border-radius: var(--wow-radius); background: #fff; box-shadow: var(--wow-shadow-lg); }
.wow-tp-pop__q, .wow-addtrip__q { margin: 0 0 2px; color: var(--wow-navy); font: 600 .95rem var(--wow-font-head); }
.wow-tp-pop__day, .wow-addtrip__day { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 12px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-navy); font: 500 .92rem var(--wow-font); text-align: left; cursor: pointer; }
.wow-tp-pop__day small, .wow-addtrip__day small { color: var(--wow-muted); font-size: .8rem; font-weight: 400; }
.wow-tp-pop__day:hover, .wow-addtrip__day:hover { border-color: var(--wow-primary); background: var(--wow-sky-soft); }

.wow-tp-dialog { box-sizing: border-box; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 24px; border: 0; border-radius: var(--wow-radius-lg); background: #fff; color: var(--wow-text); box-shadow: var(--wow-shadow-lg); font: 1rem/1.5 var(--wow-font); }
.wow-tp-dialog::backdrop { background: rgba(15, 46, 92, .45); }
.wow-tp-dialog h3 { margin: 0 36px 14px 0; color: var(--wow-navy); font: 700 1.25rem var(--wow-font-head); }
.wow-tp-dialog__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--wow-bg-soft); color: var(--wow-navy); cursor: pointer; }
.wow-tp-dialog__x .wow-icon { width: 18px; height: 18px; }
.wow-tp-dialog .wow-icon { width: 18px; height: 18px; }
.wow-tp-form { display: grid; gap: 12px; }
.wow-tp-form label { display: grid; gap: 4px; color: var(--wow-muted); font-size: .85rem; }
.wow-tp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wow-tp-form__end { margin: -4px 0 0; color: var(--wow-primary); font-size: .88rem; }
.wow-tp-form__end:empty { display: none; }
.wow-tp-form__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.wow-tp-form__btns .wow-btn--danger-text { margin-left: auto; padding-inline: 8px; border-color: transparent; background: none; }
.wow-tp-share__url { display: flex; gap: 8px; margin: 14px 0; }
.wow-tp-share__url input { flex: 1; min-width: 0; min-height: 40px; padding: 6px 12px; border: 1px solid var(--wow-line); border-radius: 999px; background: var(--wow-bg-soft); color: var(--wow-text); font: .9rem var(--wow-font); }
.wow-tp-share__nets { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.wow-tp-share__net { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-navy); font: 500 .95rem var(--wow-font); cursor: pointer; }
.wow-tp-share__net, .wow-tp-share__net:hover { text-decoration: none; }
.wow-tp-share__net.is-line { border-color: #06c755; background: #06c755; color: #fff; }
.wow-tp-share__net.is-fb { border-color: #1877f2; background: #1877f2; color: #fff; }
.wow-tp-share__net:hover { filter: brightness(.95); }
.wow-tp-share__manage { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--wow-line); }
.wow-tp-pick__search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--wow-line); border-radius: 999px; color: var(--wow-muted); }
.wow-tp-pick__search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; font: 1rem var(--wow-font); outline: 0; }
.wow-tp-pick__label { margin: 14px 0 6px; color: var(--wow-muted); font-size: .85rem; }
.wow-tp-pick__list { display: grid; gap: 6px; max-height: 50vh; margin: 0; padding: 0; overflow: auto; list-style: none; }
.wow-tp-pick__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: var(--wow-radius-sm); }
.wow-tp-pick__row:hover { background: var(--wow-bg-soft); }
.wow-tp-pick__thumb { display: block; width: 56px; height: 42px; overflow: hidden; border-radius: 8px; }
.wow-tp-pick__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wow-tp-pick__thumb .wow-placeholder { min-height: 0; }
.wow-tp-pick__text { display: grid; gap: 2px; min-width: 0; }
.wow-tp-pick__text strong { overflow: hidden; color: var(--wow-navy); font-size: .92rem; white-space: nowrap; text-overflow: ellipsis; }
.wow-tp-pick__text small { color: var(--wow-muted); font-size: .78rem; }

/* Place page: add to trip (ค.5) ------------------------------------------- */
.wow-addtrip { position: relative; display: inline-flex; }
.wow-addtrip__toggle .wow-icon--chevron-down { width: 16px; height: 16px; }
.wow-addtrip__pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 1000; display: grid; gap: 8px; width: 270px; max-width: calc(100vw - 32px); padding: 14px; border-radius: var(--wow-radius); background: #fff; box-shadow: var(--wow-shadow-lg); text-align: left; }
.wow-addtrip__sel { display: grid; gap: 4px; color: var(--wow-muted); font-size: .82rem; }
.wow-addtrip__sel select { min-height: 38px; padding: 4px 10px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); font: .95rem var(--wow-font); }
.wow-addtrip__trip { margin: 0; color: var(--wow-muted); font-size: .88rem; }
.wow-addtrip__days { display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.wow-addtrip__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 0; font-size: .88rem; }
.wow-addtrip__close { padding: 4px 8px; border: 0; background: none; color: var(--wow-muted); font: inherit; cursor: pointer; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1080px) {
	.wow-tp--planner.has-aside .wow-tp__grid { grid-template-columns: 1fr; }
	.wow-tp__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wow-tp__aside > .wow-tp--map { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.wow-tp-stats { grid-template-columns: 1fr; gap: 10px; }
	.wow-tp-hero { min-height: 0; }
	.wow-tp-hero.has-image { background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .85) 55%, rgba(255, 255, 255, .55) 100%), var(--tp-hero) center / cover no-repeat; }
	.wow-tp-hero__tagline { display: none; }
	.wow-tp__aside { grid-template-columns: 1fr; }
	.wow-tp-create__fields { grid-template-columns: 1fr 1fr; }
	.wow-tp-create__fields label:first-child { grid-column: 1 / -1; }
	.wow-tp__login { grid-template-columns: auto minmax(0, 1fr); }
	.wow-tp__login-btns { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.wow-tp-hero { padding: 18px; border-radius: var(--wow-radius); }
	.wow-tp-hero__sub { font-size: 1rem; }
	.wow-tp-stat { padding: 12px 14px; }
	.wow-tp-stat__icon { width: 40px; height: 40px; }
	.wow-tpfavs { --tpfav-w: 158px; gap: 10px; }
	.wow-tp__card { padding: 12px; border-radius: var(--wow-radius); }
	.wow-tp__bar .wow-title { width: 100%; }
	.wow-tp__actions .wow-btn { flex: 1 1 auto; justify-content: center; }
	.wow-tp__info { padding: 14px; }
	.wow-tp__day { min-width: 124px; padding: 8px 12px; }
	.wow-tp__timeline { margin-inline: 8px !important; }
	.wow-tp-item { grid-template-columns: 1fr; gap: 6px; }
	.wow-tp-item__time { display: flex; align-items: baseline; gap: 8px; padding: 0 0 0 28px; }
	.wow-tp-item__dot { top: 2px; }
	.wow-tp-item__card { grid-template-columns: 84px minmax(0, 1fr); margin-left: 28px; padding: 8px; gap: 10px; }
	.wow-tp-item__tools { width: 100%; justify-content: flex-end; margin-left: 0 !important; }
	.wow-tp-item__dur { margin-left: auto; }
	.wow-tp__mv { display: inline-grid; }
	.wow-tp__emptyday { margin-left: 28px !important; }
	.wow-tp__addplace { width: calc(100% - 16px); margin-inline: 8px; }
	.wow-tp__mapwrap { height: auto; overflow: visible; background: none; }
	.wow-tp__map { position: relative; height: 300px; overflow: hidden; border-radius: var(--wow-radius-sm); background: var(--wow-sky-soft); }
	.wow-tp__maplist { position: static; width: auto; max-width: none; max-height: none; margin-top: 8px !important; padding: 0 !important; box-shadow: none; }
	.wow-tp-cta { padding: 20px; border-radius: var(--wow-radius); }
	.wow-tp-cta__btns .wow-btn { flex: 1 1 auto; justify-content: center; }
	.wow-tp-dialog { padding: 20px 16px; }
	.wow-tp-form__row { grid-template-columns: 1fr; }
}

/* Elementor compatibility (kit button/image rules load after this file) */
body[class*="elementor-kit-"] .wow-tp button.wow-tp__icon,
body[class*="elementor-kit-"] .wow-tp button.wow-tp__icon:is(:hover, :focus) { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--wow-muted); box-shadow: none; }
body[class*="elementor-kit-"] .wow-tp button.wow-tp__icon.is-danger { color: #ef4444; }
body[class*="elementor-kit-"] .wow-tp button.wow-tp__day { padding: 10px 18px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-navy); font: inherit; text-transform: none; box-shadow: none; }
body[class*="elementor-kit-"] .wow-tp button.wow-tp__day.is-active { border-color: var(--wow-primary); background: var(--wow-primary); color: #fff; }
body[class*="elementor-kit-"] .wow-tp :is(button.wow-tp__dayadd, button.wow-tp__addplace, button.wow-tpfav__add, button.wow-tp__chip),
body[class*="elementor-kit-"] .wow-tp :is(button.wow-tp__dayadd, button.wow-tp__addplace, button.wow-tpfav__add, button.wow-tp__chip):is(:hover, :focus) { border-color: rgba(10, 108, 219, .45); background: #fff; color: var(--wow-primary); font-family: var(--wow-font); text-transform: none; box-shadow: none; }
body[class*="elementor-kit-"] .wow-tp button.wow-tp__addplace { padding: 14px; border-width: 2px; border-style: dashed; border-radius: var(--wow-radius); }
body[class*="elementor-kit-"] .wow-tp button.wow-tpfav__add { padding: 7px 10px; border-width: 1px; border-style: dashed; border-radius: 999px; }
body[class*="elementor-kit-"] .wow-tp button.wow-tp__dayadd, body[class*="elementor-kit-"] .wow-tp button.wow-tp__chip { padding: 8px 14px; border-width: 1px; border-style: solid; border-radius: 999px; }
body[class*="elementor-kit-"] .wow-tp :is(button.wow-tp__more, button.wow-tp__link, button.wow-tp-maprow, button.wow-tp-item__note),
body[class*="elementor-kit-"] .wow-tp :is(button.wow-tp__more, button.wow-tp__link, button.wow-tp-maprow, button.wow-tp-item__note):is(:hover, :focus) { padding: 0; border: 0; border-radius: 0; background: none; color: var(--wow-primary); font: inherit; text-transform: none; box-shadow: none; }
body[class*="elementor-kit-"] .wow-tp button.wow-tp-maprow { padding: 6px; border-radius: 8px; color: var(--wow-text); }
body[class*="elementor-kit-"] .wow-tp button.wow-tp-item__note { padding: 7px 12px; border-radius: var(--wow-radius-sm); background: var(--wow-bg-soft); color: var(--wow-muted); }
body[class*="elementor-kit-"] .wow-tp button.wow-tpw__day { padding: 8px 4px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-text); text-transform: none; box-shadow: none; }
body[class*="elementor-kit-"] .wow-tp button.wow-tpw__day.is-active { border-color: var(--wow-primary); background: var(--wow-sky-soft); }
body[class*="elementor-kit-"] :is(.wow-tp-pop, .wow-addtrip__pop) :is(button.wow-tp-pop__day, button.wow-addtrip__day) { padding: 9px 12px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; color: var(--wow-navy); text-transform: none; box-shadow: none; }
body[class*="elementor-kit-"] .wow-addtrip__pop button.wow-addtrip__close { padding: 4px 8px; border: 0; background: none; color: var(--wow-muted); }
body[class*="elementor-kit-"] .wow-tp-dialog :is(button.wow-tp-dialog__x, button.wow-tp-share__net) { border-radius: 50%; padding: 0; border: 0; background: var(--wow-bg-soft); color: var(--wow-navy); box-shadow: none; }
body[class*="elementor-kit-"] .wow-tp-dialog button.wow-tp-share__net { padding: 8px 12px; border: 1px solid var(--wow-line); border-radius: var(--wow-radius-sm); background: #fff; }
body[class*="elementor-kit-"] .wow-tp :is(.wow-tp-item__thumb, .wow-tp-pick__thumb) img,
body[class*="elementor-kit-"] .wow-tp-dialog .wow-tp-pick__thumb img { width: 100%; height: 100%; max-width: none; border-radius: 0; object-fit: cover; }

/* Print / PDF --------------------------------------------------------------- */
.wow-tp-print { display: none; }
@media print {
	@page { margin: 14mm 12mm; }
	html, body { background: #fff !important; }
	body:has(> #wow-trip-print) > :not(#wow-trip-print) { display: none !important; }
	#wow-trip-print { display: block !important; color: #111; font: 11pt/1.45 var(--wow-font); }
	.wow-tp-print__site { margin: 0; color: #0a6cdb; font-size: 9.5pt; letter-spacing: .03em; }
	.wow-tp-print__head { padding-bottom: 10px; border-bottom: 2px solid #0f2e5c; }
	.wow-tp-print__head h1 { margin: 2px 0 4px; color: #0f2e5c; font: 700 20pt/1.2 var(--wow-font-head); }
	.wow-tp-print__head p { margin: 2px 0; }
	.wow-tp-print__meta { color: #333; font-weight: 600; }
	.wow-tp-print__day { margin-top: 16px; break-inside: avoid-page; }
	.wow-tp-print__day h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 6px; color: #0f2e5c; font: 700 13pt var(--wow-font-head); }
	.wow-tp-print__day h2 small { color: #444; font-size: 10pt; font-weight: 500; }
	.wow-tp-print__wx { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: #555; font-size: 9pt; font-weight: 400; }
	.wow-tp-print__wx .wow-icon { width: 13px; height: 13px; }
	.wow-tp-print table { width: 100%; border-collapse: collapse; font-size: 10pt; }
	.wow-tp-print th, .wow-tp-print td { padding: 6px 8px; border: 1px solid #cfd8e3; text-align: left; vertical-align: top; }
	.wow-tp-print th { background: #eef4fb; color: #0f2e5c; font-weight: 600; }
	.wow-tp-print td:first-child { width: 92px; white-space: nowrap; font-weight: 600; }
	.wow-tp-print td:nth-child(2) { width: 18px; text-align: center; }
	.wow-tp-print td:nth-child(4) { width: 70px; white-space: nowrap; }
	.wow-tp-print td small { display: block; color: #555; font-size: 8.5pt; }
	.wow-tp-print tr { break-inside: avoid; }
	.wow-tp-print__foot { margin-top: 18px; padding-top: 8px; border-top: 1px solid #cfd8e3; color: #666; font-size: 8.5pt; }
}

/* v1.4 Weather box: same look as the WOW สภาพอากาศ card (blue gradient, white text,
   translucent day tiles). Markup comes from wow-trip.js (.wow-tpw) for members and
   from templates/sections/weather.php for guests. */
.wow-tp--weather .wow-tpw { position: relative; isolation: isolate; overflow: hidden; padding: 18px; border-radius: var(--wow-radius); background: linear-gradient(140deg, #0a6cdb 0%, #2f8ee8 55%, #56b3f2 100%); color: #fff; }
.wow-tp--weather .wow-tpw::before { content: ""; position: absolute; z-index: -1; top: -70px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.wow-tp--weather .wow-tpw__icon { color: var(--wow-yellow); }
.wow-tp--weather .wow-tpw__icon .wow-icon { width: 58px; height: 58px; filter: drop-shadow(0 4px 10px rgba(8, 40, 90, .25)); }
.wow-tp--weather .wow-tpw__temp { color: #fff; font: 700 2.6rem/1 var(--wow-font-head); letter-spacing: -.02em; }
.wow-tp--weather .wow-tpw__now > div { gap: 2px; }
.wow-tp--weather .wow-tpw__now > div span { color: #fff; opacity: .95; }
.wow-tp--weather .wow-tpw__now > div small { color: #fff; opacity: .82; }
.wow-tp--weather .wow-tpw__facts { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: 6px; margin: 0 !important; padding: 0 !important; color: #fff; font-size: .8rem; }
.wow-tp--weather .wow-tpw__facts li { gap: 5px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.wow-tp--weather .wow-tpw__facts b { margin-left: 2px; padding-left: 0; color: #fff; }
.wow-tp--weather .wow-tpw__days { margin-top: 14px !important; padding: 14px 0 4px !important; border-top: 1px solid rgba(255, 255, 255, .24); grid-auto-columns: minmax(74px, 1fr); }
.wow-tp--weather .wow-tpw__day, body[class*="elementor-kit-"] .wow-tp--weather button.wow-tpw__day { padding: 10px 4px; border: 1px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, color .2s; }
.wow-tp--weather .wow-tpw__day:hover, body[class*="elementor-kit-"] .wow-tp--weather button.wow-tpw__day:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.wow-tp--weather .wow-tpw__day .wow-icon { color: #fff; }
.wow-tp--weather .wow-tpw__day b { color: #fff; }
.wow-tp--weather .wow-tpw__day small { color: #d9eeff; }
.wow-tp--weather .wow-tpw__day.is-active, body[class*="elementor-kit-"] .wow-tp--weather button.wow-tpw__day.is-active { border-color: #fff; background: #fff; color: var(--wow-navy); box-shadow: 0 6px 16px rgba(8, 40, 90, .2); }
.wow-tp--weather .wow-tpw__day.is-active .wow-icon { color: #f59e0b; }
.wow-tp--weather .wow-tpw__day.is-active b { color: var(--wow-navy); }
.wow-tp--weather .wow-tpw__day.is-active small { color: var(--wow-primary); }
.wow-tp--weather .wow-tpw__day:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wow-tp--weather .wow-tpw__note { border: 0; background: rgba(255, 255, 255, .16); color: #fff; }
.wow-tp--weather [data-slot="weather"] > .wow-tp__muted { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 18px; border: 1px dashed #c4d8f2; border-radius: var(--wow-radius); background: linear-gradient(140deg, #f2f8ff 0%, #f8fbff 100%); color: var(--wow-navy); font-weight: 500; }
/* Narrow phones (box under ~260px); a media query, not a container query (Elementor flex sizing). */
@media (max-width: 360px) { .wow-tp--weather .wow-tpw__temp { font-size: 2rem; } .wow-tp--weather .wow-tpw__icon .wow-icon { width: 44px; height: 44px; } }

/* v1.8 ตั้งเป็นทริปแนะนำ (administrators) */
.wow-tp-curate__set { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.wow-tp-curate__set legend { margin-bottom: 4px; padding: 0; color: var(--wow-muted); font-size: .85rem; }
.wow-tp-curate__cats { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wow-tp-form label.wow-tp-curate__opt { display: flex; align-items: center; gap: 8px; color: var(--wow-text); font-size: .95rem; cursor: pointer; }
.wow-tp-form .wow-tp-curate__opt input { flex: none; width: 18px; min-height: 0; height: 18px; margin: 0; padding: 0; }
.wow-tp-curate__links { margin: 4px 0 0; font-size: .9rem; }
