/*
Theme Name: Xylox
Theme URI: https://example.com/xylox
Author: Xylox
Description: Website theme for the Xylox multi-vendor marketplace app: services, vendor sign-up and app download.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xylox
*/
:root{--navy:#0B2A3C;--teal:#0E7C86;--gold:#C9A24B;--cream:#F6F3EC;--ink:#10222E;--muted:#4B5E69;--line:#E3DDD0}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:-apple-system,"Helvetica Neue",Arial,sans-serif;font-size:17px;line-height:1.6}
img{max-width:100%;height:auto}
a{color:var(--teal)}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
h1,h2,h3{line-height:1.2;margin:0 0 .5em}
h1{font-size:clamp(2rem,5vw,3.2rem)}h2{font-size:clamp(1.6rem,3.5vw,2.2rem)}h3{font-size:1.15rem}
.container{width:min(1120px,92%);margin-inline:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;clip:auto;background:#fff;padding:10px 14px;z-index:100}
.btn{display:inline-block;min-height:48px;padding:12px 24px;border-radius:14px;background:var(--teal);color:#fff;font-weight:600;text-decoration:none;border:2px solid var(--teal)}
.btn:hover{background:#0B6870;border-color:#0B6870}
.btn-ghost{background:transparent;color:var(--teal)}
.btn-ghost:hover{background:#E6F2F3;color:var(--teal)}
/* hero */
.hero{background:linear-gradient(135deg,var(--navy),#12485A);color:#fff;padding:72px 0}
.hero-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center}
.hero p{font-size:1.15rem;max-width:34em;color:#E3EEF1}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero .btn-ghost{color:#fff;border-color:#fff}.hero .btn-ghost:hover{background:rgba(255,255,255,.14);color:#fff}
.hero-art{display:flex;justify-content:center}
.hero-art img{width:min(340px,72%);border-radius:50%;filter:drop-shadow(0 14px 30px rgba(0,0,0,.35))}
/* sections */
.section{padding:72px 0}
.section-head{max-width:40em;margin-bottom:36px}
.section-head p{color:var(--muted);margin:0}
.grid{display:grid;gap:20px}
.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.card p{color:var(--muted);margin:0}
.icon{width:36px;height:36px;margin-bottom:12px;stroke:var(--teal);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.step-num{display:inline-flex;width:40px;height:40px;border-radius:50%;background:var(--teal);color:#fff;font-weight:700;align-items:center;justify-content:center;margin-bottom:12px}
.band{background:var(--navy);color:#fff}
.band .card{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.2)}
.band .card p,.band .section-head p{color:#D7E3E8}
.vendor-box{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:40px}
.vendor-box ul{margin:0;padding-left:1.2em;color:var(--muted)}
/* content pages */
.content-area{padding:56px 0}
.entry{background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px;margin-bottom:24px}
.entry-title a{color:var(--ink);text-decoration:none}
.entry-meta{color:var(--muted);font-size:.9rem}
.entry-content :where(h2,h3){margin-top:1.4em}
.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none}
@media (max-width:900px){
.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:1fr}
.hero-grid,.vendor-box{grid-template-columns:1fr}.hero{padding:48px 0}.section{padding:48px 0}
}
@media (max-width:520px){.grid-4{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* service links and pages */
.card-link{display:block;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.card-link:hover{border-color:var(--teal);box-shadow:0 6px 18px rgba(11,42,60,.12)}
.card-link p{margin-bottom:12px}
.more{color:var(--teal);font-weight:600}
.hero-small{padding:48px 0}
.crumb{margin:0 0 12px}.crumb a{color:#fff}
.feature-list{list-style:none;margin:0 0 32px;padding:0;display:grid;gap:12px}
.feature-list li{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 20px}
.cta{background:var(--navy);color:#fff;border-radius:24px;padding:36px;margin:40px 0}
.cta p{color:#D7E3E8}.cta .btn-ghost{color:#fff;border-color:#fff}.cta .btn-ghost:hover{background:rgba(255,255,255,.14);color:#fff}

/* air booking */
.air-booking{background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;margin-bottom:40px}
.air-booking h2{margin-bottom:16px}
.notice{background:#FFF3D9;border:1px solid #E6C77A;border-radius:12px;padding:12px 16px;margin:0 0 20px;color:var(--ink)}
.air-status{min-height:1.5em;margin-bottom:12px;font-weight:600}
.air-status.is-error{color:#9A3412}
.air-form,.air-pay-form{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.field{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.95rem}
.field label{font-weight:600}
.combo{position:relative}
.combo-list{position:absolute;z-index:30;top:100%;left:0;right:0;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid #CFC8B8;border-radius:12px;box-shadow:0 12px 28px rgba(11,42,60,.18);max-height:340px;overflow-y:auto;font-weight:400}
.combo-list[hidden]{display:none}
.combo-group{padding:8px 10px 4px;font-size:.8rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.combo-opt{display:flex;flex-direction:column;padding:8px 10px;border-radius:8px;cursor:pointer}
.combo-opt span{font-size:.85rem;color:var(--muted)}
.combo-opt.is-active,.combo-opt:hover{background:#E6F2F3}
.combo-empty{padding:12px 10px;color:var(--muted)}
.field input,.field select{min-height:48px;border:1px solid #CFC8B8;border-radius:12px;padding:0 12px;font-size:1rem;background:#fff;color:var(--ink);font-family:inherit}
.field small{font-weight:400;color:var(--muted)}
.span-2{grid-column:1/-1}
.check{display:flex;align-items:center;gap:10px;font-weight:600}
.check input{width:22px;height:22px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
button.btn{cursor:pointer;font-family:inherit;font-size:1rem}
button.btn:disabled{opacity:.45;cursor:not-allowed}
.flights{list-style:none;margin:16px 0;padding:0;display:grid;gap:12px}
.flight{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:16px;padding:16px;cursor:pointer;background:#fff}
.flight-external{cursor:default;flex-wrap:wrap}
.flight-external .flight-price{margin-left:auto}
.flight-external .btn{margin-left:8px}
.flight.is-selected{border:2px solid var(--teal);background:#E6F2F3;padding:15px}
.flight-main,.flight-price{display:flex;flex-direction:column}
.flight-price{text-align:right}
.flight small,.summary dt{color:var(--muted)}
.summary{background:var(--cream);border-radius:16px;padding:16px 20px;margin:0 0 20px}
.summary div{display:flex;justify-content:space-between;gap:16px;padding:4px 0}
.summary dt,.summary dd{margin:0}
.stays{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}
.stays ul{display:flex;gap:12px;flex-wrap:wrap;list-style:none;margin:12px 0 0;padding:0}
#air-live-fields{display:grid;gap:16px}
.pax{border:1px solid var(--line,#d9e2e8);border-radius:12px;padding:14px;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.pax legend{font-weight:600;padding:0 6px}
.live-tag{font-style:normal;font-size:.8rem;color:#0a7a5a;font-weight:600}
.air-pay-form .muted{color:#5b6b75;font-size:.9rem;margin:0}
@media (max-width:700px){.pax{grid-template-columns:1fr}}
@media (max-width:700px){.air-form,.air-pay-form{grid-template-columns:1fr}.air-booking{padding:20px}.flight{flex-direction:column;align-items:flex-start}.flight-price{text-align:left}}

/* booking extras */
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border:1px solid #CFC8B8;border-radius:14px;background:#fff;font-weight:600;cursor:pointer}
.chip input{position:absolute;opacity:0;inset:0;cursor:pointer}
.chip:has(input:checked){border:2px solid var(--teal);background:#E6F2F3}
.chip:focus-within{outline:3px solid var(--gold);outline-offset:2px}
.field legend{font-weight:600;margin-bottom:8px}
fieldset.field{border:0;padding:0;margin:0}
.driver{margin-top:16px}
.portals{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}
.portals ul{display:flex;gap:12px;flex-wrap:wrap;list-style:none;margin:12px 0 0;padding:0}

[hidden]{display:none!important}
.contents{display:contents}

.taxi-wrap{display:grid;gap:10px}
.taxi-tools{display:flex;flex-wrap:wrap;gap:8px}
.taxi-tools [aria-pressed=true]{border-color:var(--teal,#1b7f8c);box-shadow:inset 0 0 0 2px var(--teal,#1b7f8c)}
.taxi-map{height:340px;border-radius:16px;overflow:hidden;border:1px solid #d9e2e8;margin:12px 0}
.muted{color:#5b6b75;font-size:.9rem;margin:0}
.drv-card{background:#fff;border:1px solid #d9e2e8;border-radius:16px;padding:16px 20px;margin:12px 0}
.drv-card h3{margin:0 0 8px}
.drv-card .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.drv-jobs{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.drv-jobs li{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #d9e2e8;border-radius:14px;padding:12px 16px}
.drv-status{font-weight:600}
@media (max-width:700px){.taxi-map{height:280px}}

.mtcc-link{grid-column:1/-1;margin-top:12px}

.sea-extra{margin-top:28px;border-top:1px solid #d9e2e8;padding-top:20px}
.sea-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:.95rem}
.sea-table th,.sea-table td{text-align:left;padding:8px 10px;border-bottom:1px solid #e6edf1}
@media (max-width:700px){.sea-table{display:block;overflow-x:auto}}

/* ---------- header (2.0) ---------- */
.site-header{--topbar-h:40px;position:sticky;top:calc(-1 * var(--topbar-h));z-index:50;background:#fff;color:var(--navy)}
.admin-bar .site-header{top:calc(32px - var(--topbar-h))}
@media (max-width:782px){.admin-bar .site-header{top:calc(46px - var(--topbar-h))}}
@media (max-width:600px){.admin-bar .site-header{top:calc(0px - var(--topbar-h))}}
.topbar .container{width:min(1280px,94%)}
.topbar{height:var(--topbar-h);background:#08202E;color:#C9D8DE;font-size:.85rem}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:100%}
.topbar-note{margin:0;display:flex;gap:20px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar a{color:#fff;text-decoration:none}.topbar a:hover{color:var(--gold)}
.header-main{background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line);transition:box-shadow .2s}
.site-header.is-stuck .header-main{box-shadow:0 8px 24px rgba(11,42,60,.12)}
.header-inner{width:min(1280px,94%);display:flex;align-items:center;gap:24px;min-height:80px}
.brand{display:flex;align-items:center;gap:12px;color:var(--navy);text-decoration:none;flex:none}
.brand img{width:56px;height:56px;border-radius:50%;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-size:1.3rem;letter-spacing:.14em;font-weight:800}
.brand-text small{font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--teal);font-weight:600;margin-top:3px}
.main-nav{flex:1;min-width:0}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2px;flex-wrap:wrap;justify-content:center}
.main-nav a{position:relative;display:block;padding:10px 13px;color:var(--navy);text-decoration:none;font-weight:600;font-size:.97rem;border-radius:10px}
.main-nav a::after{content:"";position:absolute;left:13px;right:13px;bottom:4px;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{color:var(--teal)}
.main-nav a:hover::after,.main-nav .current-menu-item>a::after,.main-nav .current_page_item>a::after{transform:scaleX(1)}
.header-search{flex:none;display:flex;align-items:center;gap:8px;width:290px;height:46px;padding:0 5px 0 14px;border-radius:999px;background:#F1EEE6;border:2px solid transparent;color:var(--muted);transition:border-color .15s,background .15s}
.header-search:focus-within{background:#fff;border-color:var(--teal)}
.header-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;font:inherit;font-size:.95rem;color:var(--ink);outline:none}
.header-search input::placeholder{color:#7A8B94}
.header-search input::-webkit-search-cancel-button{display:none}
.header-search button{height:34px;padding:0 16px;border:0;border-radius:999px;background:var(--teal);color:#fff;font:inherit;font-weight:600;font-size:.88rem;cursor:pointer}
.header-search button:hover{background:#0B6870}
.header-actions{flex:none;display:flex;align-items:center;gap:10px}
.cart-link{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--navy);color:#fff;text-decoration:none;transition:background .15s}
.cart-link:hover{background:var(--teal)}
.cart-count{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--gold);color:var(--navy);font-size:.75rem;font-weight:800;line-height:20px;text-align:center;border:2px solid #fff;box-sizing:content-box}
.cart-count[hidden]{display:none}
.nav-toggle{display:none;place-items:center;width:46px;height:46px;border-radius:12px;border:2px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer;padding:0}
.bars,.bars::before,.bars::after{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s}
.bars{position:relative}.bars::before,.bars::after{content:"";position:absolute;left:0}
.bars::before{top:-6px}.bars::after{top:6px}
.nav-toggle[aria-expanded=true] .bars{background:transparent}
.nav-toggle[aria-expanded=true] .bars::before{transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded=true] .bars::after{transform:translateY(-6px) rotate(-45deg)}
.social{list-style:none;margin:0;padding:0;display:flex;gap:6px;align-items:center}
.social a{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#E8D9AE;transition:background .15s,color .15s}
.social a:hover{background:var(--gold);color:var(--navy)}
.social .soc-icon{width:18px;height:18px}
@media (max-width:1100px){
.header-inner{flex-wrap:wrap;gap:12px 14px;min-height:0;padding:12px 0}
.brand{order:1;margin-right:auto}
.header-actions{order:2}
.nav-toggle{display:grid}
.header-search{order:3;width:100%}
.main-nav{order:4;flex:0 0 100%;display:none}
.main-nav.is-open{display:block;border-top:1px solid var(--line);padding-top:8px}
.main-nav ul{flex-direction:column;justify-content:flex-start;gap:0}
.main-nav a{padding:13px 8px;border-radius:0;border-bottom:1px solid var(--line)}
.main-nav a::after{display:none}
}
@media (max-width:640px){
.topbar-note{display:none}.topbar-inner{justify-content:center}
.site-header:not(.has-social){--topbar-h:0px}.site-header:not(.has-social) .topbar{display:none}
.brand img{width:48px;height:48px}.brand-text strong{font-size:1.15rem}
}

/* ---------- footer (2.0) ---------- */
.site-footer{background:var(--navy);color:#D7E3E8}
.site-footer a{color:#D7E3E8;text-decoration:none}
.site-footer a:hover{color:var(--gold)}
.site-footer ul{list-style:none;margin:0;padding:0}
.footer-cta{background:linear-gradient(120deg,#0E7C86 0%,#0B4F5E 55%,#0B2A3C 100%);border-bottom:3px solid var(--gold)}
.footer-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:36px 0;flex-wrap:wrap}
.footer-cta h2{color:#fff;margin:0 0 6px;font-size:clamp(1.4rem,3vw,1.9rem)}
.footer-cta p{margin:0;color:#E3EEF1}
.footer-cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn-gold{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.btn-gold:hover{background:#B8913C;border-color:#B8913C;color:var(--navy)}
.site-footer .btn-gold,.site-footer .btn-gold:hover{color:var(--navy)}
.btn-outline-light{background:transparent;border-color:rgba(255,255,255,.7);color:#fff}
.btn-outline-light:hover{background:rgba(255,255,255,.14);border-color:#fff}
.site-footer .btn-outline-light,.site-footer .btn-outline-light:hover{color:#fff}
.footer-main{padding:56px 0 40px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px}
.footer-brand .brand{color:#fff}
.footer-brand .brand-text small{color:var(--gold)}
.footer-brand .brand img{width:72px;height:72px}
.footer-brand p{margin:16px 0 20px;max-width:26em;color:#B9CCD4}
.footer-col h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.14em;color:var(--gold);margin:0 0 18px}
.footer-col li{margin-bottom:10px}
.footer-contact li{display:flex;gap:10px;align-items:flex-start}
.footer-contact svg{flex:none;margin-top:4px;color:var(--gold)}
.social-foot a{width:40px;height:40px;border:1px solid rgba(255,255,255,.25);color:#fff}
.social-foot .soc-icon{width:19px;height:19px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);background:#08202E;font-size:.9rem}
.footer-bottom-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 0}
.footer-bottom p{margin:0;color:#B9CCD4}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr}.footer-cta-actions .btn{width:100%;text-align:center}}

/* ---------- accounts and wallet (2.1) ---------- */
@media (min-width:1101px){.header-search{width:250px}}
.acct-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 16px;border-radius:999px;border:2px solid var(--navy);background:transparent;color:var(--navy);font:inherit;font-weight:600;font-size:.92rem;cursor:pointer;transition:background .15s,color .15s}
.acct-btn:hover{background:var(--navy);color:#fff}
.acct-reg{height:46px;padding:0 18px;border-radius:999px;border:0;background:var(--gold);color:var(--navy);font:inherit;font-weight:700;font-size:.92rem;cursor:pointer;transition:background .15s}
.acct-reg:hover{background:#B8913C}
.wallet-chip{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 16px 0 12px;border-radius:999px;background:#EAF4F5;color:var(--navy);text-decoration:none;border:1px solid #CFE3E6;transition:background .15s}
.wallet-chip:hover{background:#DCEEF0}
.wallet-chip svg{color:var(--teal);flex:none}
.wallet-chip-text{display:flex;flex-direction:column;line-height:1.05}
.wallet-chip-text small{font-size:.66rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-weight:700}
.wallet-chip-text strong{font-size:.95rem;font-weight:800;white-space:nowrap}
.acct-menu{position:relative}
.acct-avatar{width:46px;height:46px;border-radius:50%;border:0;background:var(--teal);color:#fff;font:inherit;font-weight:800;font-size:1.05rem;cursor:pointer;transition:background .15s}
.acct-avatar:hover{background:#0B6870}
.acct-pop{position:absolute;right:0;top:calc(100% + 10px);width:250px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px rgba(11,42,60,.18);padding:8px;z-index:60}
.acct-pop[hidden]{display:none}
.acct-who{margin:0;padding:10px 12px 12px;border-bottom:1px solid var(--line);margin-bottom:6px;display:flex;flex-direction:column;min-width:0}
.acct-who strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-who small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-pop a{display:block;padding:11px 12px;border-radius:10px;color:var(--navy);text-decoration:none;font-weight:600}
.acct-pop a:hover{background:#F1EEE6;color:var(--teal)}
@media (max-width:1100px){
.acct-reg{display:none}
.acct-btn{width:46px;padding:0;justify-content:center}.acct-text{display:none}
.wallet-chip-text small{display:none}
}
@media (max-width:520px){
.brand-text{display:none}
.wallet-chip{padding:0 13px}.wallet-chip svg{display:none}.wallet-chip-text strong{font-size:.88rem}
.header-actions{gap:8px}
}
/* sign-in window */
.auth-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px}
.auth-modal[hidden]{display:none}
.auth-backdrop{position:absolute;inset:0;background:rgba(8,32,46,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.auth-card{position:relative;width:min(440px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;color:var(--ink);border-radius:24px;padding:28px 28px 24px;box-shadow:0 30px 80px rgba(0,0,0,.35);outline:0}
.auth-logo{display:block;margin:0 auto 14px;border-radius:50%}
.auth-x{position:absolute;top:10px;right:12px;width:40px;height:40px;border:0;background:transparent;font-size:1.9rem;line-height:1;color:var(--muted);cursor:pointer;border-radius:10px}
.auth-x:hover{background:#F1EEE6}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#F1EEE6;border-radius:12px;padding:4px;margin-bottom:16px}
.auth-tabs button{height:42px;border:0;border-radius:9px;background:transparent;font:inherit;font-weight:600;color:var(--muted);cursor:pointer}
.auth-tabs button.is-on{background:#fff;color:var(--navy);box-shadow:0 1px 4px rgba(11,42,60,.15)}
.auth-form{display:grid;gap:14px}.auth-form[hidden]{display:none}
.auth-error{background:#FDECEA;border:1px solid #F3B8B0;color:#8A2A1D;border-radius:12px;padding:10px 14px;margin:0 0 14px;font-weight:600;font-size:.95rem}
.auth-error[hidden]{display:none}
.auth-links{margin:0;text-align:center;font-size:.92rem}
.auth-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
body.auth-open{overflow:hidden}
/* wallet page */
.wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:28px}
.wallet-card{background:linear-gradient(135deg,var(--navy),#12485A);color:#fff;border-radius:20px;padding:28px;border-bottom:4px solid var(--gold)}
.wallet-label{margin:0;color:#B9CCD4;text-transform:uppercase;letter-spacing:.1em;font-size:.8rem;font-weight:700}
.wallet-balance{margin:8px 0 12px;font-size:clamp(2rem,6vw,2.8rem);font-weight:800;line-height:1.1}
.wallet-hint{margin:0;color:#D7E3E8;font-size:.95rem}
.wallet-topup{display:grid;gap:14px;align-content:start;border:1px solid var(--line);border-radius:20px;padding:24px}
.wallet-topup h3{margin:0}
.wallet-topup .muted{margin:0;font-size:.9rem}
.wallet-presets{display:flex;gap:8px;flex-wrap:wrap}
.wallet-presets button{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid #CFC8B8;background:#fff;font:inherit;font-weight:600;color:var(--navy);cursor:pointer}
.wallet-presets button:hover{border-color:var(--teal);color:var(--teal)}
.wallet-history{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.wallet-history li{display:flex;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--line);align-items:center}
.wallet-history li:last-child{border-bottom:0}
.wh-main,.wh-amt{display:flex;flex-direction:column;min-width:0}
.wh-amt{text-align:right;font-weight:800;flex:none}
.wallet-history small{font-weight:400;color:var(--muted)}
.is-plus{color:#177245}.is-minus{color:#9A3412}
.wallet-guest{text-align:center;padding:12px 0}
@media (max-width:760px){.wallet-grid{grid-template-columns:1fr}}

/* wallet-only checkout */
.wallet-pay{border:1px solid #E3DDCF;border-radius:14px;background:#FBF8F1;padding:14px 16px;display:grid;gap:8px}
.wallet-pay-row{display:flex;justify-content:space-between;gap:12px;font-size:.95rem}
.wallet-pay-row.is-total{border-top:1px dashed #CFC8B8;padding-top:8px;font-size:1.05rem}
.wallet-pay-note{margin:0;color:var(--navy);font-size:.92rem}
.wallet-pay-note.is-bad{color:#9A3412}
.wallet-pay-actions{margin:0;display:flex;gap:8px;flex-wrap:wrap}
.wallet-pay-actions .btn-small{min-height:38px;padding:0 16px;font-size:.9rem}

.wallet-withdraw{margin-top:28px;padding-top:8px;border-top:1px solid #E3DDCF}
.wallet-withdraw .air-pay-form{margin:12px 0}
.wallet-history .btn-link{background:none;border:0;padding:0;color:var(--navy);text-decoration:underline;cursor:pointer;font:inherit}
.wallet-history .wh-amt a{color:var(--navy);font-weight:600}
