/* WePlan Marketplace · public site. Brand: navy #002F67, gold #F8C848. */
:root {
	--wpm-navy: #002f67;
	--wpm-navy-2: #0b4a94;
	--wpm-gold: #f8c848;
	--wpm-ink: #1a1f2b;
	--wpm-muted: #5d6573;
	--wpm-line: #e3e6ec;
	--wpm-bg: #f6f7f9;
	--wpm-ok: #1b7a4a;
	--wpm-err: #b42318;
	--wpm-wa: #1fa855;
	--wpm-radius: 14px;
	--wpm-shadow: 0 6px 24px rgba(10, 30, 60, .10);
}
.wpm-page, .wpm-home, .wpm-alta, .wpm-section { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--wpm-ink); line-height: 1.5; }
.wpm-page *, .wpm-home *, .wpm-section *, .wpm-alta * { box-sizing: border-box; }
.wpm-page { background: #fff; padding-bottom: 48px; }
.wpm-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wpm-full > .wpm-home { margin-top: 0; }

/* Buttons */
.wpm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--wpm-line); background: #fff; color: var(--wpm-ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .1s, box-shadow .2s, background .2s; line-height: 1.2; }
.wpm-btn:hover { box-shadow: var(--wpm-shadow); }
.wpm-btn:active { transform: translateY(1px); }
.wpm-btn-primary { background: var(--wpm-navy); border-color: var(--wpm-navy); color: #fff; }
.wpm-btn-primary:hover { background: var(--wpm-navy-2); color: #fff; }
.wpm-btn-gold { background: var(--wpm-gold); border-color: var(--wpm-gold); color: var(--wpm-navy); }
.wpm-btn-wa { background: #fff; border-color: var(--wpm-wa); color: var(--wpm-wa); }
.wpm-btn-wa:hover { background: var(--wpm-wa); color: #fff; }
.wpm-btn-block { width: 100%; }
.wpm-link { color: var(--wpm-navy); font-weight: 600; text-decoration: none; }
.wpm-link:hover { text-decoration: underline; }

/* Hero + search */
.wpm-hero { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--wpm-navy) var(--hero, none) center/cover no-repeat; padding: 64px 20px; }
.wpm-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 25, 60, .35), rgba(0, 25, 60, .65)); }
.wpm-hero-in { position: relative; max-width: 860px; width: 100%; }
.wpm-hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; margin: 0 0 12px; color: #fff; font-weight: 800; letter-spacing: -.5px; }
.wpm-hero p { font-size: clamp(16px, 2vw, 20px); margin: 0 0 28px; opacity: .95; color: #fff; }
.wpm-search { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 8px; box-shadow: var(--wpm-shadow); max-width: 820px; margin: 0 auto; }
.wpm-search-f { display: flex; align-items: center; gap: 8px; flex: 1; padding: 0 14px; color: var(--wpm-muted); min-width: 0; }
.wpm-search-q { flex: 1.6; border-right: 1px solid var(--wpm-line); }
.wpm-search input, .wpm-search select { border: 0 !important; outline: none; background: transparent !important; font-size: 16px; width: 100%; min-width: 0; color: var(--wpm-ink); padding: 10px 0 !important; box-shadow: none !important; margin: 0 !important; height: auto !important; }
.wpm-search .wpm-btn { padding: 12px 28px; }
.wpm-archive-top { background: var(--wpm-navy); padding: 20px 0; }
.wpm-archive-top .wpm-search { box-shadow: none; }

/* Category chips */
.wpm-chips { display: flex; gap: 10px; overflow-x: auto; padding: 22px 2px 6px; scrollbar-width: none; }
.wpm-chips::-webkit-scrollbar { display: none; }
.wpm-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--wpm-line); border-radius: 999px; color: var(--wpm-ink); text-decoration: none; font-weight: 600; font-size: 14px; background: #fff; white-space: nowrap; }
.wpm-chip:hover { border-color: var(--wpm-navy); color: var(--wpm-navy); }
.wpm-chip .dashicons { color: var(--wpm-navy); }

/* Sections + carousels */
.wpm-section { margin: 36px 0; }
.wpm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.wpm-section-head h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0; font-weight: 800; color: var(--wpm-ink); letter-spacing: -.3px; }
.wpm-section-head p { margin: 4px 0 0; color: var(--wpm-muted); }
.wpm-section-head .wpm-link { white-space: nowrap; }
.wpm-carousel { position: relative; }
.wpm-car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.wpm-car-track::-webkit-scrollbar { display: none; }
.wpm-car-track > * { scroll-snap-align: start; }
.wpm-car-btn { position: absolute; top: 34%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--wpm-line); background: #fff; box-shadow: var(--wpm-shadow); font-size: 26px; line-height: 1; cursor: pointer; color: var(--wpm-ink); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.wpm-car-prev { left: -18px; }
.wpm-car-next { right: -18px; }
.wpm-car-btn[disabled] { opacity: 0; pointer-events: none; }
.wpm-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px 20px; }

/* Card */
.wpm-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--wpm-radius); overflow: hidden; min-width: 0; }
.wpm-card-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--wpm-radius); overflow: hidden; background: var(--wpm-bg); }
.wpm-card-img img { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; object-fit: cover; display: block; transition: transform .4s; }
.wpm-card:hover .wpm-card-img img { transform: scale(1.04); }
.wpm-card-ph { position: absolute; inset: 0; margin: auto; font-size: 54px; width: 54px; height: 54px; color: #b8c2d3; }
.wpm-badge-card { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--wpm-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.wpm-card-body { padding: 10px 2px 4px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.wpm-card-meta { margin: 0; font-size: 13px; color: var(--wpm-muted); }
.wpm-card-title { font-size: 16px; line-height: 1.3; margin: 0; font-weight: 700; }
.wpm-card-title a { color: var(--wpm-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wpm-card-title a::after { content: ""; position: absolute; inset: 0; }
.wpm-card { position: relative; }
.wpm-card-title a:hover { text-decoration: underline; }
.wpm-card-facts { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--wpm-muted); }
.wpm-card-facts li { display: inline-flex; align-items: center; gap: 3px; }
.wpm-card-facts .dashicons { font-size: 16px; width: 16px; height: 16px; }
.wpm-ok-txt { color: var(--wpm-ok) !important; }
.wpm-price { margin: auto 0 0; padding-top: 6px; font-size: 14px; color: var(--wpm-muted); }
.wpm-price strong { color: var(--wpm-ink); font-size: 17px; }
.wpm-price s, .wpm-book-head s { color: var(--wpm-err); margin-right: 4px; }
.wpm-price .wpm-quote { font-size: 15px; color: var(--wpm-navy); }
.wpm-stars { display: inline-flex; align-items: center; gap: 4px; margin: 0; font-size: 13px; color: var(--wpm-muted); }
.wpm-stars-fill { position: relative; display: inline-block; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.wpm-stars-fill::before { content: "★★★★★"; color: #d9dde4; }
.wpm-stars-fill::after { content: "★★★★★"; color: #1b7a4a; position: absolute; left: 0; top: 0; width: var(--v); overflow: hidden; white-space: nowrap; }
.wpm-stars b { color: var(--wpm-ink); }

/* Destinations */
.wpm-dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wpm-dest { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 180px; border-radius: var(--wpm-radius); overflow: hidden; padding: 16px; color: #fff; text-decoration: none; background: var(--wpm-navy) var(--img, none) center/cover; }
.wpm-dest::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 20, 50, .75)); }
.wpm-dest span, .wpm-dest small { position: relative; }
.wpm-dest span { font-size: 20px; font-weight: 800; }
.wpm-dest:hover { color: #fff; }

/* Trust + CTA */
.wpm-trust { margin: 48px 0; padding: 36px; background: var(--wpm-bg); border-radius: 20px; }
.wpm-trust h2 { margin: 0 0 20px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.wpm-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.wpm-trust-item .dashicons { font-size: 32px; width: 32px; height: 32px; color: var(--wpm-navy); }
.wpm-trust-item h3 { margin: 10px 0 4px; font-size: 17px; }
.wpm-trust-item p { margin: 0; color: var(--wpm-muted); font-size: 15px; }
.wpm-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 32px 36px; border-radius: 20px; background: var(--wpm-navy); color: #fff; margin: 32px 0; }
.wpm-cta h2 { color: #fff; margin: 0 0 4px; font-size: 26px; }
.wpm-cta p { margin: 0; opacity: .9; }
.wpm-prov-link { text-align: center; color: var(--wpm-muted); }

/* Archive */
.wpm-archive-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 24px 0 18px; }
.wpm-archive-head h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.wpm-count { margin: 4px 0 0; color: var(--wpm-muted); }
.wpm-archive-cols { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.wpm-filters { position: sticky; top: 20px; }
.wpm-filters fieldset { border: 0; border-bottom: 1px solid var(--wpm-line); margin: 0; padding: 14px 0; }
.wpm-filters legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.wpm-filters label { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 15px; cursor: pointer; }
.wpm-filters input[type=number], .wpm-filters select { width: 100%; padding: 9px 10px; border: 1px solid var(--wpm-line); border-radius: 8px; font-size: 15px; }
.wpm-filters .wpm-btn-block { margin: 16px 0 8px; }
.wpm-filters-toggle { display: none; }
.wpm-pager { margin: 32px 0; text-align: center; }
.wpm-pager .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; margin: 0 2px; border-radius: 999px; border: 1px solid var(--wpm-line); color: var(--wpm-ink); text-decoration: none; }
.wpm-pager .current { background: var(--wpm-navy); color: #fff; border-color: var(--wpm-navy); }
.wpm-empty { padding: 48px; text-align: center; background: var(--wpm-bg); border-radius: var(--wpm-radius); }

/* Currency switch */
.wpm-curr { display: inline-flex; border: 1px solid var(--wpm-line); border-radius: 999px; overflow: hidden; }
.wpm-curr button { border: 0; background: #fff; padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--wpm-muted); }
.wpm-curr button[aria-pressed=true] { background: var(--wpm-navy); color: #fff; }

/* Single */
.wpm-crumbs { font-size: 14px; color: var(--wpm-muted); margin: 20px 0 10px; }
.wpm-crumbs a { color: var(--wpm-muted); text-decoration: none; }
.wpm-crumbs a:hover { text-decoration: underline; }
.wpm-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 8px; font-weight: 800; letter-spacing: -.5px; }
.wpm-subline { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: var(--wpm-muted); margin: 0 0 18px; font-size: 15px; }
.wpm-subline .dashicons { font-size: 18px; vertical-align: -3px; }
.wpm-code { font-size: 12px; background: var(--wpm-bg); padding: 2px 8px; border-radius: 6px; }
.wpm-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; border-radius: var(--wpm-radius); overflow: hidden; }
.wpm-gal-item { display: block; overflow: hidden; background: var(--wpm-bg); }
.wpm-gal-item:first-child { grid-row: 1 / 3; }
.wpm-gal-item img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; transition: transform .4s; }
.wpm-gal-item:hover img { transform: scale(1.03); }
.wpm-gallery-few { grid-template-columns: 2fr 1fr; }
.wpm-gallery-1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.wpm-gallery-1 .wpm-gal-item:first-child { grid-row: 1; }
.wpm-gal-ph { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; color: #b8c2d3; }
.wpm-gal-ph .dashicons { font-size: 64px; width: 64px; height: 64px; }
.wpm-gal-all { position: absolute; right: 14px; bottom: 14px; border: 0; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; box-shadow: var(--wpm-shadow); }
.wpm-single-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; margin-top: 28px; align-items: start; }
.wpm-lead-txt { font-size: 18px; margin: 0 0 20px; }
.wpm-facts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wpm-facts li { display: flex; gap: 10px; align-items: flex-start; }
.wpm-facts .dashicons { color: var(--wpm-navy); font-size: 22px; width: 22px; height: 22px; margin-top: 1px; }
.wpm-facts li.wpm-ok-txt .dashicons { color: var(--wpm-ok); }
.wpm-facts b { display: block; color: var(--wpm-ink); }
.wpm-facts span { color: var(--wpm-muted); font-size: 14px; }
.wpm-block { border-top: 1px solid var(--wpm-line); padding: 24px 0; }
.wpm-block h2 { font-size: 22px; margin: 0 0 12px; font-weight: 800; }
.wpm-content p { margin: 0 0 12px; }
.wpm-incexc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.wpm-inc, .wpm-exc, .wpm-rec, .wpm-itin { list-style: none; padding: 0; margin: 0; }
.wpm-inc li, .wpm-exc li, .wpm-rec li { position: relative; padding: 4px 0 4px 28px; }
.wpm-inc li::before { content: "✓"; position: absolute; left: 4px; color: var(--wpm-ok); font-weight: 800; }
.wpm-exc li::before { content: "✕"; position: absolute; left: 4px; color: var(--wpm-err); font-weight: 800; }
.wpm-rec li::before { content: "•"; position: absolute; left: 8px; color: var(--wpm-navy); font-weight: 800; }
.wpm-itin { counter-reset: it; border-left: 2px solid var(--wpm-line); margin-left: 12px; }
.wpm-itin li { counter-increment: it; position: relative; padding: 4px 0 14px 26px; }
.wpm-itin li::before { content: counter(it); position: absolute; left: -13px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--wpm-navy); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wpm-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.wpm-dl dt { font-weight: 700; }
.wpm-dl dd { margin: 0; color: var(--wpm-muted); }
.wpm-dl dd ul { margin: 0; }
.wpm-rates { width: 100%; border-collapse: collapse; }
.wpm-rates td { padding: 10px 0; border-bottom: 1px solid var(--wpm-line); }
.wpm-rates td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }

/* Booking box */
.wpm-book { position: sticky; top: 20px; }
.wpm-book-card { border: 1px solid var(--wpm-line); border-radius: 18px; padding: 22px; box-shadow: var(--wpm-shadow); background: #fff; display: flex; flex-direction: column; gap: 12px; }
.wpm-book-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.wpm-book-head .wpm-curr { margin-left: auto; }
.wpm-from { color: var(--wpm-muted); font-size: 14px; }
.wpm-book-price { font-size: 26px; font-weight: 800; }
.wpm-unit { color: var(--wpm-muted); font-size: 14px; }
.wpm-book-form { display: flex; flex-direction: column; gap: 10px; }
.wpm-bf { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--wpm-ink); }
.wpm-bf input, .wpm-bf textarea { width: 100%; border: 1px solid #cfd5df; border-radius: 10px; padding: 10px 12px; font-size: 15px; font-weight: 400; font-family: inherit; }
.wpm-bf input:focus, .wpm-bf textarea:focus { outline: 2px solid var(--wpm-navy); outline-offset: 0; border-color: var(--wpm-navy); }
.wpm-bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wpm-estimate { margin: 0; padding: 10px 12px; background: var(--wpm-bg); border-radius: 10px; font-size: 15px; }
.wpm-book-note { margin: 0; text-align: center; font-size: 13px; color: var(--wpm-muted); }
.wpm-hp { position: absolute !important; left: -9999px !important; }
.wpm-alert { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.wpm-ok { background: #e7f6ee; color: #0f5132; }
.wpm-err { background: #fdecea; color: #8a1c13; }
.wpm-mobile-bar { display: none; }

/* Lightbox */
.wpm-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(5, 12, 25, .92); display: flex; align-items: center; justify-content: center; }
.wpm-lb img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.wpm-lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.wpm-lb-close { top: 18px; right: 18px; }
.wpm-lb-prev { left: 18px; }
.wpm-lb-next { right: 18px; }

/* Provider sign-up form */
.wpm-alta { max-width: 860px; }
.wpm-alta .wpm-group { border: 1px solid var(--wpm-line); border-radius: var(--wpm-radius); padding: 18px 20px; margin: 0 0 16px; }
.wpm-alta legend { font-weight: 800; padding: 0 6px; font-size: 17px; }
.wpm-alta .wpm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.wpm-alta .wpm-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.wpm-alta .wpm-field input, .wpm-alta .wpm-field select, .wpm-alta .wpm-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd5df; border-radius: 10px; font-size: 15px; font-family: inherit; }
.wpm-alta .description { color: var(--wpm-muted); font-size: 13px; margin: 4px 0 0; }
.wpm-catchecks { display: flex; flex-wrap: wrap; gap: 8px; }
.wpm-chip-check { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--wpm-line); border-radius: 999px; cursor: pointer; font-size: 14px; }
.wpm-chip-check:has(input:checked) { border-color: var(--wpm-navy); background: #eef3fb; color: var(--wpm-navy); font-weight: 700; }
.wpm-tabla table { width: 100%; }

/* Responsive */
@media (max-width: 1100px) {
	.wpm-car-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
	.wpm-single-cols { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
}
@media (max-width: 860px) {
	.wpm-car-track { grid-auto-columns: calc((100% - 20px) / 2.15); }
	.wpm-car-btn { display: none; }
	.wpm-archive-cols { grid-template-columns: 1fr; }
	.wpm-filters { position: static; }
	.wpm-filters-toggle { display: inline-flex; }
	.wpm-filters-body { display: none; }
	.wpm-filters.is-open .wpm-filters-body { display: block; }
	.wpm-single-cols { grid-template-columns: 1fr; }
	.wpm-book { position: static; }
	.wpm-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
	.wpm-gal-item:first-child { grid-column: 1 / 3; grid-row: 1; }
	.wpm-gal-item:nth-child(n+4) { display: none; }
	.wpm-gallery-1 { grid-template-columns: 1fr; grid-template-rows: 260px; }
	.wpm-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; padding: 10px 16px; background: #fff; border-top: 1px solid var(--wpm-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
}
@media (max-width: 600px) {
	.wpm-container { padding: 0 16px; }
	.wpm-hero { min-height: 380px; padding: 48px 16px; }
	.wpm-search { flex-direction: column; border-radius: 18px; }
	.wpm-search-q { border-right: 0; border-bottom: 1px solid var(--wpm-line); }
	.wpm-search-f { padding: 4px 10px; }
	.wpm-search .wpm-btn { width: 100%; }
	.wpm-archive-top .wpm-search { flex-direction: row; flex-wrap: wrap; }
	.wpm-car-track { grid-auto-columns: 78%; gap: 14px; }
	.wpm-incexc { grid-template-columns: 1fr; }
	.wpm-trust, .wpm-cta { padding: 24px 20px; }
	.wpm-archive-head { flex-direction: column; align-items: flex-start; }
	.wpm-dl { grid-template-columns: 1fr; gap: 2px; }
	.wpm-dl dd { margin-bottom: 8px; }
}

/* Language switcher */
.wpm-lang { display: inline-flex; border: 1px solid var(--wpm-line); border-radius: 999px; overflow: hidden; background: #fff; vertical-align: middle; }
.wpm-lang a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; font-weight: 700; font-size: 13px; color: var(--wpm-muted); text-decoration: none; line-height: 1.2; }
.wpm-lang a:hover { color: var(--wpm-navy); }
.wpm-lang a[aria-current=true] { background: var(--wpm-navy); color: #fff; }
.wpm-lang + .wpm-curr { margin-left: 8px; }
.wpm-lang-float { position: fixed; left: 16px; bottom: 16px; z-index: 9990; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); border-radius: 999px; }
.wpm-lang-float .wpm-lang { border-color: transparent; }
.wpm-hero-tools { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; }
.wpm-hero-tools .wpm-lang, .wpm-hero-tools .wpm-curr { box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
@media (max-width: 782px) {
	.wpm-lang-float { bottom: 84px; left: 12px; }
	.wpm-hero-tools { top: 10px; right: 10px; }
}
body:has(.wpm-hero-tools) .wpm-lang-float { display: none; }

/* Quote cart */
.wpm-cart-page { max-width: 1180px; margin: 0 auto; padding: 24px 20px 64px; }
.wpm-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wpm-cart-head h1 { margin: 0; color: var(--wpm-navy); }
.wpm-steps { display: flex; gap: 8px; list-style: none; counter-reset: s; padding: 0; margin: 18px 0 22px; flex-wrap: wrap; }
.wpm-steps li { counter-increment: s; flex: 1; min-width: 150px; padding: 10px 12px; border-radius: 10px; background: #f2f5fa; color: var(--wpm-muted); font-weight: 600; font-size: 14px; }
.wpm-steps li::before { content: counter(s); display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; margin-right: 8px; font-size: 12px; }
.wpm-steps li:nth-child(-n+2), .wpm-steps[data-paso="4"] li:nth-child(3), .wpm-steps[data-paso="5"] li { background: #eaf1fb; color: var(--wpm-navy); }
.wpm-steps[data-paso="3"] li:nth-child(3), .wpm-steps[data-paso="4"] li:nth-child(4) { background: var(--wpm-navy); color: #fff; }
.wpm-steps[data-paso="3"] li:nth-child(3)::before, .wpm-steps[data-paso="4"] li:nth-child(4)::before { color: var(--wpm-navy); }
.wpm-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.wpm-cart-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 14px; padding: 14px; border: 1px solid var(--wpm-line); border-radius: 14px; margin-bottom: 12px; background: #fff; }
.wpm-cart-item img, .wpm-cart-noimg { width: 110px; height: 90px; object-fit: cover; border-radius: 10px; background: #eef2f8; display: block; }
.wpm-cart-name { font-weight: 700; color: var(--wpm-ink); text-decoration: none; font-size: 16px; }
.wpm-cart-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wpm-cart-fields label { display: flex; flex-direction: column; font-size: 12px; color: var(--wpm-muted); gap: 2px; }
.wpm-cart-fields input { border: 1px solid var(--wpm-line); border-radius: 8px; padding: 6px 8px; font-size: 14px; width: 80px; }
.wpm-cart-fields input[type=date] { width: 150px; }
.wpm-cart-fields .wpm-cart-notas { flex: 1 1 100%; }
.wpm-cart-fields .wpm-cart-notas input { width: 100%; }
.wpm-cart-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; white-space: nowrap; }
.wpm-cart-del { border: 0; background: none; color: #b42318; cursor: pointer; text-decoration: underline; font-size: 13px; }
.wpm-cart-form { position: sticky; top: 90px; }
.wpm-cart-total { font-size: 17px; margin: 0 0 12px; }
.wpm-empty { padding: 32px; text-align: center; border: 1px dashed var(--wpm-line); border-radius: 14px; }
.wpm-added { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; margin: 4px 0; }
.wpm-added strong { color: #1b7a4a; }
.wpm-cart-float { position: fixed; right: 16px; bottom: 90px; z-index: 9990; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 999px; background: var(--wpm-navy); color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 47, 103, .35); }
.wpm-cart-float[hidden] { display: none; }
.wpm-cart-count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: #F8C848; color: var(--wpm-navy); font-size: 12px; }
.wpm-cart-count[hidden] { display: none; }
.wpm-cart-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; }
.wpm-cot-box { border: 1px solid var(--wpm-line); border-radius: 14px; padding: 18px; background: #fff; }
.wpm-cot-tabla { margin-bottom: 14px; }
.wpm-cot-pill { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #fff4d6; color: #8a5a00; }
.wpm-cot-pill-respondida { background: #eaf1fb; color: var(--wpm-navy); }
.wpm-cot-pill-pagada { background: #e7f6ee; color: #0f5132; }
.wpm-cot-no_disponible td { opacity: .65; }
.wpm-btn-pay { font-size: 17px; padding: 14px 28px; }
@media (max-width: 900px) {
	.wpm-cart-grid { grid-template-columns: 1fr; }
	.wpm-cart-form { position: static; }
	.wpm-cart-item { grid-template-columns: 80px minmax(0, 1fr); }
	.wpm-cart-item img, .wpm-cart-noimg { width: 80px; height: 70px; }
	.wpm-cart-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
	.wpm-cot-box { overflow-x: auto; }
	.wpm-cart-float { bottom: 140px; right: 12px; }
}
.wpm-book-form [hidden], .wpm-cart-page [hidden] { display: none !important; }

/* ------------------------------------------------------------------ *
 * Price calculator (service page)
 * ------------------------------------------------------------------ */
.wpm-motor { display: grid; gap: 14px; }
.wpm-motor .wpm-bf select, .wpm-motor .wpm-bf input { width: 100%; min-height: 44px; border: 1px solid #cfd5df; border-radius: 10px; padding: 8px 12px; font-size: 15px; font-weight: 400; background: #fff; }
.wpm-st-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wpm-line); }
.wpm-st-row b { display: block; font-size: 15px; }
.wpm-st-row small { display: block; color: var(--wpm-muted); font-size: 12.5px; }
.wpm-stepper { display: inline-flex; align-items: center; border: 1px solid var(--wpm-line); border-radius: 999px; overflow: hidden; flex: none; }
.wpm-stepper button { width: 40px; height: 40px; border: 0; background: #fff; color: var(--wpm-navy); font-size: 20px; font-weight: 700; cursor: pointer; padding: 0; }
.wpm-stepper button:disabled { color: #c3c8d1; cursor: default; }
.wpm-stepper output { min-width: 34px; text-align: center; font-weight: 700; font-size: 16px; }
.wpm-ninos { display: grid; gap: 8px; }
.wpm-nino { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 8px; background: var(--wpm-bg); border-radius: 10px; padding: 6px 10px; }
.wpm-nino select { min-height: 38px; }
.wpm-del-nino { border: 0; background: none; color: var(--wpm-err); font-size: 20px; cursor: pointer; padding: 0 6px; }
.wpm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wpm-chip { border: 1px solid var(--wpm-line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--wpm-ink); }
.wpm-chip.is-on { background: var(--wpm-navy); border-color: var(--wpm-navy); color: #fff; }
.wpm-extras, .wpm-comidas { display: grid; gap: 8px; }
.wpm-extras label, .wpm-comida label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; cursor: pointer; }
.wpm-comida { display: grid; gap: 6px; padding: 8px 10px; border: 1px solid var(--wpm-line); border-radius: 10px; }
.wpm-motor-info { margin: 0; font-size: 13px; color: var(--wpm-muted); }
.wpm-motor-total { border-radius: 12px; background: var(--wpm-bg); padding: 12px 14px; }
.wpm-motor-lineas { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 6px; }
.wpm-motor-lineas td { padding: 4px 0; border: 0; vertical-align: top; }
.wpm-motor-lineas td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.wpm-motor-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: var(--wpm-navy); color: #fff; border-radius: 10px; padding: 12px 14px; margin-top: 6px; }
.wpm-motor-sum span { font-weight: 600; }
.wpm-motor-sum strong { font-size: 24px; color: var(--wpm-gold); }
.wpm-motor-bloqueo { background: #fdecea; color: var(--wpm-err); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.wpm-motor-bloqueo ul { margin: 8px 0 0; padding-left: 18px; }
.wpm-motor-bloqueo a { color: var(--wpm-navy); font-weight: 700; }
.wpm-motor-aviso { margin: 8px 0 0; background: #fff6e0; color: #7a5200; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; }
.wpm-motor-nota { margin: 8px 0 0; font-size: 12.5px; color: var(--wpm-muted); }
.wpm-motor-falta { margin: 0; color: var(--wpm-muted); font-size: 14px; }
.wpm-motor-nineras { margin: 0 0 8px; font-weight: 700; color: var(--wpm-navy); }
.wpm-editando { background: #e8f0fb; color: var(--wpm-navy); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.wpm-btn-sm { padding: 7px 12px; font-size: 13.5px; }
.wpm-link { border: 0; background: none; color: var(--wpm-navy-2); text-decoration: underline; cursor: pointer; padding: 0; font: inherit; font-size: 13px; }
.wpm-added { background: #e7f5ee; color: var(--wpm-ok); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.wpm-added a { color: var(--wpm-navy); font-weight: 700; }
.wpm-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(5, 15, 35, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.wpm-modal-card { background: #fff; border-radius: var(--wpm-radius); max-width: 640px; width: 100%; max-height: 88vh; overflow: auto; padding: 22px; position: relative; }
.wpm-modal-card h3 { margin: 0 0 6px; color: var(--wpm-navy); }
.wpm-modal-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; cursor: pointer; line-height: 1; }
.wpm-modal-buscar { width: 100%; min-height: 44px; margin: 8px 0 12px; border: 1px solid var(--wpm-line); border-radius: 10px; padding: 0 12px; }
.wpm-zonas { display: grid; gap: 10px; }
.wpm-zona { border: 1px solid var(--wpm-line); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.wpm-zona-h { display: flex; justify-content: space-between; gap: 10px; }
.wpm-zona p { margin: 0; font-size: 13px; color: var(--wpm-muted); }
.wpm-zona .wpm-btn { justify-self: start; }

/* Cart page items. */
.wpm-cart-sum { margin: 2px 0; font-size: 14px; }
.wpm-cart-falta { color: var(--wpm-err); }
.wpm-cart-det { font-size: 13px; color: var(--wpm-muted); }
.wpm-cart-det ul { list-style: none; margin: 6px 0 0; padding: 0; }
.wpm-cart-det li { display: flex; justify-content: space-between; gap: 10px; }
.wpm-cart-more { margin-top: 6px; }
@media (max-width: 560px) {
	.wpm-bf-row { grid-template-columns: 1fr; }
}

/* Filters: some themes hide native checkboxes, so force them visible. */
.wpm-filters input[type="checkbox"], .wpm-filters input[type="radio"] { -webkit-appearance: auto !important; appearance: auto !important; display: inline-block !important; position: static !important; opacity: 1 !important; visibility: visible !important; width: 16px !important; height: 16px !important; margin: 0 6px 0 0 !important; clip: auto !important; accent-color: var(--wpm-navy); vertical-align: middle; }
.wpm-filters label { cursor: pointer; }

/* Cart page adapts to the width the theme gives it, not just the screen. */
.wpm-cart-page { container-type: inline-size; }
@container (max-width: 860px) {
	.wpm-cart-grid { grid-template-columns: 1fr; }
}
.wpm-cart-items { container-type: inline-size; }
@container (max-width: 560px) {
	.wpm-cart-item { grid-template-columns: 80px minmax(0, 1fr); }
	.wpm-cart-item img, .wpm-cart-noimg { width: 80px; height: 70px; }
	.wpm-cart-side { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
}
.wpm-motor [hidden], .wpm-book [hidden] { display: none !important; }
.wpm-added a.wpm-btn-primary { color: #fff; }

/* Header menu: darker, bolder links (Tourm theme + swapped WePlan menu). */
.main-menu > ul > li > a,
.wpm-menu-item > a {
	color: var(--wpm-navy) !important;
	font-weight: 600 !important;
	font-size: 14px;
	letter-spacing: .1px;
}
.main-menu > ul > li > a:hover,
.wpm-menu-item > a:hover,
.main-menu > ul > li.current-menu-item > a,
.wpm-menu-item.current-menu-item > a {
	color: var(--wpm-navy-2) !important;
}
@media (min-width: 1200px) {
	.wpm-chips-movil { display: none; }
}

/* Header: hide the old theme's "Request a Quote" button and WooCommerce cart. */
header a[href*="wa.link"],
.th-header a[href*="wa.link"],
header a[href*="/cart"],
header a[href*="/carrito"],
header [class*="cart"],
.th-header [class*="cart"],
.sidemenu-cart-wrapper,
.th-cart-wrapper {
	display: none !important;
}

/* Adding services to an existing quote / previous quotes. */
.wpm-cot-vinculada { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; background: #fff8e1; border-left: 4px solid var(--wpm-gold); }
.wpm-link-btn { background: none; border: 0; padding: 0; color: var(--wpm-navy-2); text-decoration: underline; cursor: pointer; font: inherit; }
.wpm-mis-cot { margin: 0 0 14px; font-size: 14px; color: var(--wpm-muted); }
.wpm-mis-cot a { color: var(--wpm-navy); font-weight: 700; }
.wpm-cot-agregar { border: 2px solid var(--wpm-navy); color: var(--wpm-navy); background: #fff; }

/* Header menu: use all the free width (the old button and cart are hidden). */
@media (min-width: 1200px) {
	.row > [class*="col"]:has(> .main-menu),
	.row > [class*="col"]:has(> nav .main-menu),
	.row > [class*="col"]:has(> .main-menu-wrap) {
		flex: 1 1 0 !important;
		max-width: none !important;
		width: auto !important;
		min-width: 0;
	}
	.main-menu {
		display: block !important;
		width: 100%;
	}
	.main-menu > ul {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		column-gap: 26px;
		row-gap: 4px;
	}
	.main-menu > ul > li {
		margin: 0 !important;
	}
	.main-menu > ul > li > a {
		padding-left: 0 !important;
		padding-right: 0 !important;
		white-space: nowrap;
	}
}
