/*
Theme Name: PHAIBOON TOUR
Description: Premium bilingual travel booking theme — staging candidate.
Version: 0.5.7
*/
:root{--navy:#0b2d70;--deep:#102b58;--orange:#ff7900;--ink:#182b48;--muted:#66758a;--line:#e3eaf3;--light:#f4f8fd;--white:#fff;--accent:#0b2d70}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:#fff;color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1200px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 16px #0b2d7008}body.admin-bar .site-header{top:32px}.nav-wrap{display:flex;align-items:center;gap:35px;min-height:78px}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);font-weight:900;line-height:1.05;letter-spacing:.025em;white-space:nowrap}.brand small{display:block;font-size:12px;text-align:center;letter-spacing:.25em}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:linear-gradient(135deg,#ffb13b,#ff7900);color:white;font-size:27px}.main-nav{display:flex;align-items:center;gap:28px;flex:1;font-weight:650;font-size:14px}.main-nav a:hover,.text-link:hover{color:var(--orange)}.nav-actions{display:flex;align-items:center;gap:18px}.lang-switch{font-size:13px;font-weight:800;white-space:nowrap}.lang-switch span{color:#9aa8bc;margin:0 4px}.lang-switch .active{color:var(--orange);text-decoration:underline}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--navy);color:white;border:0;border-radius:9px;padding:13px 23px;font-weight:750;font-size:14px;line-height:1.35;cursor:pointer;transition:transform .2s,background .2s}.button:hover{background:#16459a;transform:translateY(-1px);color:#fff}.button-orange{background:var(--orange)}.button-orange:hover{background:#e96b00}.button-outline{background:transparent;border:1px solid #ffffffa8}.button-outline:hover{background:#ffffff25}.menu-toggle{display:none}.hero-premium{min-height:470px;background:linear-gradient(120deg,#09284b 0%,#0b5e83 60%,#27b5c0 100%);color:#fff;position:relative}.hero-shade{background:linear-gradient(90deg,#071c3b8c,transparent);min-height:470px}.hero-inner{padding:100px 0 120px}.hero-kicker,.eyebrow{font-size:12px;font-weight:850;letter-spacing:.17em;text-transform:uppercase}.hero-kicker{color:#cbe9ff}.hero-premium h1{font-size:clamp(37px,4.5vw,62px);line-height:1.18;max-width:730px;margin:12px 0 18px;letter-spacing:-.025em}.hero-lead{max-width:560px;font-size:18px;color:#e7f5ff}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.search-overlap{position:relative;margin-top:-48px;z-index:3}.tour-search{background:#fff;box-shadow:0 15px 35px #142c5220;border:1px solid var(--line);border-radius:15px;padding:16px;display:flex;gap:16px;align-items:end}.tour-search label{flex:1;display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:800}.tour-search select{padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit}.tour-search .button{min-width:200px}.trust-strip{padding:35px 0 10px}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.trust-grid>div{display:flex;align-items:center;gap:12px;font-size:13px}.trust-grid span{width:42px;height:42px;border-radius:50%;background:#eaf2ff;color:var(--navy);display:grid;place-items:center;font-size:24px;flex:none}.section{padding:64px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:24px}.eyebrow{color:var(--orange);margin:0 0 6px}.section h2{font-size:clamp(26px,3vw,35px);line-height:1.25;margin:0;color:var(--deep)}.text-link{color:var(--navy);font-weight:800;font-size:14px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.product-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #0b2d700a;display:flex;flex-direction:column}.product-media{height:180px;display:flex;align-items:flex-start;padding:12px;background:linear-gradient(140deg,#0b5780,#16a6b5 65%,#a4dbca);background-size:cover;background-position:center}.media-label{font-size:11px;font-weight:750;color:#fff;background:var(--orange);border-radius:6px;padding:3px 9px}.product-body{padding:17px;display:flex;flex-direction:column;flex:1}.product-body h3{font-size:16px;line-height:1.4;margin:0 0 10px;color:var(--deep)}.product-meta{color:var(--muted);font-size:12px;margin:0}.price{font-size:17px;font-weight:850;color:var(--navy);margin:12px 0}.price small{display:block;font-size:11px;font-weight:500;color:var(--muted)}.price-muted{font-size:14px}.card-button{width:100%;margin-top:auto;padding:10px}.destination-section{background:#f2f7fd}.destination-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.destination-card{min-height:155px;padding:23px;border-radius:12px;background:linear-gradient(125deg,#123f76,#138b9c);color:white;display:flex;flex-direction:column;justify-content:end;transition:transform .2s}.destination-card:nth-child(3n+2){background:linear-gradient(125deg,#174c7c,#27a2b5)}.destination-card:nth-child(3n){background:linear-gradient(125deg,#153b65,#197b94)}.destination-card:hover{transform:translateY(-3px)}.destination-card span{font-size:22px;font-weight:850}.destination-card small{opacity:.9}.empty-state,.content-card,.notice{border:1px solid var(--line);border-radius:12px;padding:23px;margin:20px 0}.notice{background:#fff8e8}.muted{color:var(--muted)}.site-footer{background:#0b2450;color:#d9e7fa;padding:45px 0}.site-footer strong{color:white}.site-footer p{font-size:14px}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:18px}.tour-page{padding-top:30px}.tour-gallery{height:380px;border-radius:16px;overflow:hidden;background:linear-gradient(120deg,#12466d,#2a9da7);display:flex;align-items:center;justify-content:center;color:white}.tour-cover{height:100%;width:100%;object-fit:cover}.tour-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:35px;align-items:start;margin-top:30px}.tour-main h1{font-size:clamp(28px,3.4vw,42px);line-height:1.25;margin:7px 0 16px;color:var(--deep)}.tour-pills{display:flex;gap:10px;flex-wrap:wrap}.tour-pills span{padding:6px 12px;border-radius:20px;background:#edf4ff;color:var(--navy);font-size:12px;font-weight:750}.tour-content{margin-top:25px;overflow-wrap:anywhere}.tour-content h2,.tour-content h3{color:var(--deep)}.booking-sidebar{position:sticky;top:110px}.booking-box{padding:25px;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 26px #0b2d7014}.booking-box h2{font-size:25px}.booking-box p{color:var(--muted);font-size:14px}.booking-button{display:flex;width:100%;margin-top:20px}.booking-disclaimer{font-size:12px!important;text-align:center}.product-featured-image img{width:100%;max-height:450px;object-fit:cover;border-radius:14px}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,1fr)}.nav-wrap{gap:18px}.main-nav{gap:14px}}@media(max-width:780px){body.admin-bar .site-header{top:46px}.nav-wrap{min-height:68px;flex-wrap:wrap}.menu-toggle{display:block;margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 12px;color:var(--navy);font-size:20px}.main-nav{display:none;order:4;width:100%;flex-basis:100%;flex-direction:column;align-items:stretch;padding:0 0 16px}.main-nav.is-open{display:flex}.nav-actions{margin-left:auto}.nav-cta{display:none}.hero-premium,.hero-shade{min-height:390px}.hero-inner{padding:70px 0 95px}.tour-search{flex-direction:column;align-items:stretch}.tour-search .button{width:100%}.trust-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.destination-grid{grid-template-columns:repeat(2,1fr)}.tour-layout{grid-template-columns:1fr}.booking-sidebar{position:static}.tour-gallery{height:280px}.section{padding:45px 0}}@media(max-width:520px){.brand{font-size:13px}.brand-mark{width:34px;height:34px}.lang-switch{font-size:12px}.hero-premium h1{font-size:35px}.hero-lead{font-size:15px}.product-grid,.destination-grid{grid-template-columns:1fr}.product-media{height:210px}.trust-grid{grid-template-columns:1fr 1fr;gap:12px}.trust-grid>div{font-size:11px;align-items:flex-start}.trust-grid span{width:32px;height:32px;font-size:17px}.section-head{align-items:start;flex-direction:column}.tour-gallery{height:230px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Premium finishing pass — responsive and accessible */
.hero-premium.has-hero-photo{background-size:cover;background-position:center 48%;background-repeat:no-repeat}
.hero-premium.has-hero-photo .hero-shade{background:transparent}
.brand-logo{height:48px;max-width:165px;width:auto;object-fit:contain}
.why-us{background:#fff}.why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.why-grid>div{border:1px solid var(--line);border-radius:14px;padding:24px 18px;text-align:center;box-shadow:0 4px 20px #0b2d7008}.why-grid span{font-size:28px;color:var(--navy)}.why-grid h3{font-size:14px;color:var(--deep);margin:8px 0 0}
.tour-gallery-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:12px}.tour-gallery-grid:not(:has(.tour-thumbs)){grid-template-columns:1fr}.tour-gallery-primary{height:390px}.tour-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:189px;gap:12px}.tour-thumbs a{overflow:hidden;border-radius:12px;background:var(--light)}.tour-thumbs img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.tour-thumbs a:hover img{transform:scale(1.05)}.tour-jump-links{display:flex;gap:24px;margin-top:24px;padding:0 0 12px;border-bottom:1px solid var(--line);color:var(--navy);font-size:14px;font-weight:800}.tour-jump-links a:hover{color:var(--orange)}.tour-gallery-primary{border-radius:14px}.tour-gallery-empty{min-height:300px}
:focus-visible{outline:3px solid #ff9a30;outline-offset:3px}.product-card:hover{box-shadow:0 12px 32px #0b2d7020;transform:translateY(-2px);transition:transform .2s,box-shadow .2s}.destination-card:focus-visible,.button:focus-visible{outline-offset:4px}
@media(max-width:900px){.why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tour-gallery-grid{grid-template-columns:1fr}.tour-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:120px}.tour-gallery-primary{height:320px}}
@media(max-width:520px){.why-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.why-grid>div{padding:16px 10px}.tour-thumbs{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:115px}.tour-gallery-primary{height:240px}.brand-logo{max-width:120px;height:38px}}

/* PHAIBOON TOUR v0.5.0 — visual-only staging refinement */
:root{--navy:#102f61;--deep:#09294c;--orange:#f58220;--ink:#172b42;--muted:#607387;--line:#e5edf2;--light:#f3f8fa}
body{font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;line-height:1.65}
.container{width:min(1180px,92%)}
.site-header{box-shadow:0 8px 26px rgba(13,39,71,.045)}
.nav-wrap{min-height:84px}.brand-mark{box-shadow:0 6px 16px rgba(245,130,32,.22)}
.hero-premium{background:linear-gradient(100deg,rgba(3,27,53,.94),rgba(5,50,78,.68) 58%,rgba(8,90,111,.18)),url('assets/ang-thong-hero.jpg') center 53%/cover no-repeat;min-height:560px}
.hero-premium.has-hero-photo{background-size:cover;background-position:center}
.hero-shade{min-height:560px;background:transparent}
.hero-inner{padding:116px 0 155px}
.hero-kicker{color:#d7f6f5;letter-spacing:.22em}
.hero-premium h1{font-size:clamp(38px,4.7vw,66px);max-width:790px;line-height:1.15;text-wrap:balance;text-shadow:0 2px 22px rgba(0,0,0,.13)}
.hero-lead{font-size:clamp(16px,1.55vw,19px);max-width:590px}
.button{border-radius:10px;min-height:46px}.button-orange{background:#f58220}.button-orange:hover{background:#dd7013}
.search-overlap{margin-top:-57px}.tour-search{border-radius:18px;padding:20px 22px;box-shadow:0 22px 50px rgba(9,41,76,.14)}
.tour-search select{min-height:47px;border-radius:9px}
.trust-strip{padding:38px 0 18px}.trust-grid>div{font-size:13px}
.section{padding:76px 0}.section h2{letter-spacing:-.025em}
.product-grid{gap:22px}.product-card{border-radius:17px;overflow:hidden;box-shadow:0 8px 26px rgba(13,43,76,.06);border:1px solid #e7eef3}
.product-media{background-position:center;background-size:cover}
.product-body{padding:19px}.product-body h3{line-height:1.45}.product-card .button{width:100%}
.destination-section{background:#f1f7f9}.destination-card{border-radius:16px;min-height:172px;box-shadow:0 9px 22px rgba(9,41,76,.08)}
.why-grid>div{background:#fff;border-radius:16px}
.site-footer{background:#09274b;padding:56px 0}
.tour-gallery-primary{height:430px}.tour-gallery-grid{gap:14px}.tour-thumbs{gap:14px;grid-auto-rows:208px}
.booking-box{border-radius:18px;box-shadow:0 14px 38px rgba(13,43,76,.11)}
@media(max-width:900px){.hero-premium,.hero-shade{min-height:490px}.hero-inner{padding:90px 0 130px}.tour-gallery-primary{height:320px}.tour-thumbs{grid-auto-rows:120px}}
@media(max-width:780px){.nav-wrap{min-height:68px}.hero-premium,.hero-shade{min-height:420px}.hero-inner{padding:70px 0 108px}.tour-search{padding:16px}.section{padding:52px 0}}
@media(max-width:520px){.hero-premium,.hero-shade{min-height:410px}.hero-premium h1{font-size:36px}.hero-inner{padding:65px 0 108px}.hero-lead{font-size:15px}.search-overlap{margin-top:-38px}.product-grid{gap:16px}.tour-gallery-primary{height:240px}.tour-thumbs{grid-auto-rows:110px}}


/* PHAIBOON Frontend Design Release — visual-only, 2026-10-31 */
:root{--navy:#102d46;--deep:#09283f;--orange:#f58220;--ink:#17354a;--muted:#617888;--line:#e0e9ed;--light:#f5f9fa;--accent:#087f82}
body{background:#f9fbfc;color:var(--ink);font-family:Inter,"Noto Sans Thai",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;-webkit-font-smoothing:antialiased}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #f7a54c;outline-offset:3px}
.container{width:min(1200px,calc(100% - 44px))}
.site-header{background:rgba(255,255,255,.97);border-color:#e9eff2;box-shadow:0 5px 28px rgba(14,49,68,.055);backdrop-filter:blur(16px)}
.nav-wrap{min-height:82px}.brand{color:#102d46}.main-nav{gap:32px}.main-nav a{transition:color .2s}.nav-actions .button{border-radius:12px}
.button{border-radius:12px;box-shadow:0 6px 15px rgba(11,45,70,.09);transition:background .2s,transform .2s,box-shadow .2s}.button:hover{box-shadow:0 11px 22px rgba(11,45,70,.15)}
.button-orange{background:#f58220}.button-orange:hover{background:#e16c0d}
.hero-premium{min-height:550px;background-color:#0c4057;background-image:linear-gradient(105deg,rgba(7,31,49,.88) 0%,rgba(8,48,65,.56) 55%,rgba(9,51,64,.25) 100%),url('assets/ang-thong-hero.jpg');background-position:center 49%;background-size:cover}
.hero-premium.has-hero-photo{background-position:center center;background-size:cover}
.hero-shade{min-height:550px;background:transparent}.hero-inner{padding-top:100px;padding-bottom:125px;max-width:1200px}.hero-premium h1{max-width:780px;font-size:clamp(38px,5vw,68px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}.hero-premium .hero-lead{max-width:600px;font-size:clamp(16px,1.5vw,20px);line-height:1.7}
.hero-kicker,.eyebrow{letter-spacing:.14em;font-weight:850}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.hero-buttons .button{padding:15px 24px}
.search-overlap{position:relative;z-index:2}.tour-search{border:1px solid #e7eff1;border-radius:20px;box-shadow:0 22px 60px rgba(12,49,68,.14);padding:20px 24px;background:#fff}.tour-search select{min-height:50px;border-radius:11px;border:1px solid #d8e5eb;background:#fff}.tour-search .button{min-height:50px}
.trust-strip{background:#fff}.trust-grid{gap:16px}.trust-grid>div{border-radius:14px}.trust-grid strong{font-size:13px}
.section{padding-top:78px;padding-bottom:78px}.section-head{margin-bottom:28px}.section-head h2{font-size:clamp(27px,3vw,40px);line-height:1.22;letter-spacing:-.025em;color:#102d46}
.product-grid{gap:24px}.product-card{border:1px solid #e4edf0;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 10px 35px rgba(14,47,67,.065);transition:transform .24s,box-shadow .24s}.product-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(14,47,67,.14)}.product-media{min-height:235px;background-color:#dceaf0;background-size:cover;background-position:center}.product-body{padding:23px}.product-body h3{font-size:19px;line-height:1.4;min-height:2.8em}.product-meta{color:#65808b}.product-card .price{color:#087f82}.card-button{margin-top:auto}
.destination-section{background:linear-gradient(180deg,#f3f8f9,#edf6f6)}.destination-grid{gap:18px}.destination-card{border:1px solid #dfe9ee;border-radius:18px;box-shadow:0 8px 25px rgba(12,49,68,.05);transition:transform .2s,box-shadow .2s}.destination-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(12,49,68,.11)}
.why-us{background:#fff}.why-grid>div{border:1px solid #e3edf0;border-radius:17px;background:#f9fcfc}.site-footer{background:#0c2c46;color:#e8f2f4;padding:55px 0}
.tour-page{background:#f7fafb}.tour-gallery-primary,.tour-gallery-primary img{border-radius:20px}.tour-content,.booking-box{border-radius:18px;box-shadow:0 10px 32px rgba(14,47,67,.07)}.booking-box{border:1px solid #e0eaee}.tour-jump-links a{border-radius:9px}
/* Booking template is heavily scoped and has its own inline styles: change presentation only. */
#pb-booking{--pb-navy:#123449;--pb-teal:#087f82;--pb-line:#dfe9ed;--pb-muted:#617a89;max-width:1480px!important;margin-top:34px!important}
#pb-booking .pb-hero{border-radius:23px!important;background:linear-gradient(115deg,#10384d 0%,#087f82 100%)!important;box-shadow:0 16px 38px rgba(11,51,67,.13)!important}
#pb-booking .pb-layout{gap:22px!important}
#pb-booking .pb-form-shell,#pb-booking .pb-aside{border-radius:20px!important;border-color:#e1ebee!important;box-shadow:0 12px 36px rgba(13,52,68,.07)!important}
#pb-booking input:not([type=checkbox]):not([type=radio]):not([type=hidden]),#pb-booking select,#pb-booking textarea{border-radius:11px!important;border-color:#cddfe5!important;min-height:45px;max-width:100%}
#pb-booking input:focus,#pb-booking select:focus,#pb-booking textarea:focus{border-color:#0b8587!important;box-shadow:0 0 0 3px rgba(8,127,130,.1)}
#pb-booking .pb-price-panel,#pb-booking .pb-quick-estimate{border-radius:14px!important}
#pb-booking .pb-aside{overflow:hidden}
@media(max-width:960px){.hero-premium,.hero-shade{min-height:490px}.hero-inner{padding-top:75px;padding-bottom:110px}.product-grid{gap:18px}#pb-booking .pb-layout{grid-template-columns:minmax(0,1fr)!important}#pb-booking .pb-aside{position:static!important}}
@media(max-width:680px){.container{width:calc(100% - 32px)}.nav-wrap{min-height:68px}.hero-premium,.hero-shade{min-height:450px}.hero-inner{padding-top:70px;padding-bottom:100px}.hero-premium h1{font-size:clamp(33px,9vw,46px)}.hero-premium .hero-lead{font-size:16px}.hero-buttons .button{width:100%}.tour-search{padding:16px;border-radius:16px}.section{padding-top:54px;padding-bottom:54px}.product-grid{grid-template-columns:1fr}.product-media{min-height:230px}.product-body h3{min-height:0}.site-footer{padding:42px 0}#pb-booking{padding:0 12px!important;margin-top:20px!important}#pb-booking .pb-hero{border-radius:16px!important}#pb-booking .pb-form-shell,#pb-booking .pb-aside{border-radius:15px!important}#pb-booking .pb-two-col{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Final frontend finishing — scoped, accessible, no booking/business logic changes */
:where(a,button,input,select,textarea):focus-visible{
  outline:3px solid #ffab4a;
  outline-offset:3px;
}
.product-card:focus-within,.destination-card:focus-visible{
  box-shadow:0 0 0 3px rgba(8,127,130,.16),0 18px 38px rgba(14,47,67,.12);
}
.product-card .product-media{background-repeat:no-repeat}
.product-card .product-body{min-width:0}
.product-card .product-body h3{overflow-wrap:break-word}
.tour-content :is(img,video,iframe){max-width:100%}
.tour-content :is(table,pre){display:block;max-width:100%;overflow-x:auto}
#pb-booking :is(input,select,textarea){font-size:max(16px,1em)}
@media(max-width:780px){
  .site-header .nav-wrap{column-gap:12px}
  .main-nav.is-open{max-height:70vh;overflow-y:auto}
  .tour-jump-links{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
}
@media(max-width:520px){
  .nav-actions{gap:8px}
  .brand{white-space:normal}
  .brand-logo{max-width:105px;height:auto}
  .product-card .product-body{padding:18px}
  .destination-card{min-height:145px}
  .tour-content :is(h2,h3){overflow-wrap:anywhere}
}
@media(hover:none){
  .product-card:hover,.destination-card:hover{transform:none}
}


/* Frontend Completion — scoped to presentation, accessibility and mobile UX */
.skip-link{position:fixed;top:-90px;left:12px;z-index:9999;padding:12px 18px;background:#fff;color:#102d46;border:2px solid #f58220;border-radius:9px;font-weight:750}
.skip-link:focus{top:12px}
html{scroll-padding-top:100px}
body{overflow-wrap:break-word}
:where(button,a,input,select,textarea):focus-visible{outline:3px solid #f58220;outline-offset:3px}
:where(button,a){-webkit-tap-highlight-color:transparent}
.product-body{min-width:0}
.product-body h3{overflow-wrap:break-word}
.product-card:focus-within{box-shadow:0 0 0 2px rgba(245,130,32,.23),0 18px 35px rgba(14,47,67,.11)}
.booking-guide{background:#fff}
.section-intro{margin:12px 0 0;max-width:660px;color:var(--muted);font-size:16px}
.booking-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.guide-step{border:1px solid #dfe9ed;border-radius:18px;background:#f8fbfc;padding:28px;box-shadow:0 8px 24px rgba(12,48,65,.04)}
.guide-number{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e4f5f3;color:#087f82;font-size:17px;font-weight:850}
.guide-step h3{font-size:19px;line-height:1.35;color:#102d46;margin:19px 0 8px}
.guide-step p{margin:0;color:#5e7382;font-size:14px;line-height:1.7}
.guide-action{margin-top:24px}
.site-footer{background:#09283f;color:#eaf4f7;padding:56px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.7fr .8fr 1.2fr;gap:42px}
.footer-brand{font-size:21px;letter-spacing:.035em;color:#fff}
.footer-eyebrow{font-size:11px!important;letter-spacing:.18em;color:#a3d3d6!important;font-weight:800}
.site-footer p{color:#c6d9e1;line-height:1.7}
.footer-about p{max-width:390px}
.footer-links,.footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer-links strong,.footer-contact strong{color:#fff;margin-bottom:7px}
.footer-links a,.footer-contact a{color:#d7e9ee;text-decoration:none;overflow-wrap:anywhere}
.footer-links a:hover,.footer-contact a:hover,.footer-bottom a:hover{color:#ffad65}
.footer-contact p{font-size:12px;margin:5px 0 0}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.15);margin-top:38px;padding-top:20px;color:#bdd2db;font-size:12px}
.footer-bottom a{color:#d7e9ee}
.tour-content :is(img,video,iframe){max-width:100%;height:auto}
.tour-content :is(table,pre){display:block;max-width:100%;overflow-x:auto}
@media(max-width:900px){.booking-guide-grid{gap:12px}.guide-step{padding:22px}.footer-grid{gap:24px}}
@media(max-width:780px){.booking-guide-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-about{grid-column:1/-1}.main-nav.is-open{max-height:65vh;overflow-y:auto}.main-nav a{padding:11px 6px;min-height:44px}.tour-jump-links{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}}
@media(max-width:520px){.footer-grid{grid-template-columns:1fr;gap:30px}.footer-about{grid-column:auto}.footer-bottom{flex-wrap:wrap}.guide-step{padding:22px}.product-card .product-body{padding:18px}.destination-card{min-height:155px}.brand-logo{max-width:110px}.tour-content :is(h2,h3){overflow-wrap:anywhere}}
@media(hover:none){.product-card:hover,.destination-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.product-card,.destination-card{transition:none!important}}

/* Quality release: presentation and accessibility only */
html{scroll-padding-top:92px}
#content:focus{outline:none}
.product-media:focus-visible{outline:3px solid #ffab4a;outline-offset:-4px}
.product-media:not([style*="background-image"]){background-image:linear-gradient(135deg,#0e5471,#198a8c)}
.product-media:not([style*="background-image"])::after{content:"PHAIBOON TOUR";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:rgba(255,255,255,.82);font-weight:800;letter-spacing:.16em;font-size:12px;white-space:nowrap;pointer-events:none}
.product-media{position:relative}
.empty-state{text-align:center;padding:36px 20px;border:1px solid #dce9ed;border-radius:18px;background:#f7fbfc}
.empty-state p{margin:0 0 18px}
.not-found-section{min-height:60vh;display:flex;align-items:center}
.not-found-panel{max-width:690px;margin:auto;text-align:center;padding:50px 24px}
.not-found-panel h1{font-size:clamp(30px,5vw,50px);line-height:1.15}
.not-found-panel p{color:#55717f;line-height:1.7}
.not-found-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}
:where(.site-header,.site-footer) a:focus-visible{outline:3px solid #ffab4a;outline-offset:4px}
@media(max-width:780px){html{scroll-padding-top:72px}.menu-toggle{min-width:44px;min-height:44px}.lang-switch a{min-width:32px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}}
@media(max-width:520px){.not-found-actions .button{width:100%}.not-found-panel{padding:32px 8px}}

/* STAGING: compact mobile header; no desktop/booking changes */
@media(max-width:780px){
 .site-header .nav-wrap{display:grid;grid-template-columns:minmax(0,1fr) 44px auto;align-items:center;column-gap:8px;min-height:64px;position:relative}
 .site-header .brand{min-width:0;max-width:100%;font-size:12px;gap:7px;white-space:nowrap}
 .site-header .brand-mark{width:34px;height:34px;font-size:21px;flex:none}
 .site-header .brand-logo{max-width:98px;max-height:40px;object-fit:contain}
 .site-header .brand small{font-size:9px}
 .site-header .menu-toggle{grid-column:2;grid-row:1;width:44px;height:44px;margin:0;padding:0;justify-self:center}
 .site-header .nav-actions{grid-column:3;grid-row:1;justify-self:end;margin:0;gap:0}
 .site-header .lang-switch{display:flex;align-items:center;gap:0;font-size:12px}
 .site-header .lang-switch a{min-width:27px;min-height:44px;padding:0 2px}
 .site-header .lang-switch span{margin:0 1px}
 .site-header .nav-cta{display:none}
 .site-header .main-nav{grid-column:1/-1;grid-row:2;width:100%;min-width:0;margin:0}
 .site-header .main-nav.is-open{padding:8px 0 12px}
}
@media(max-width:360px){.site-header .nav-wrap{grid-template-columns:minmax(0,1fr) 42px auto;column-gap:4px}.site-header .brand{font-size:11px}.site-header .lang-switch a{min-width:25px}}
