/* The verified theme classes are deliberately targeted; page content remains intact. */
.pp-theme-footer{position:relative!important;top:auto!important;bottom:auto!important;max-height:none!important;overflow:visible!important}
.ppghf-original-header{background:transparent!important;transition:background-color .2s,box-shadow .2s}
.ppghf-original-header.ppghf-solid,.ppghf-original-header.ppghf-is-scrolled{background:var(--ppghf-scroll,#fff)!important;box-shadow:0 1px 2px rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}
.ppghf-original-header .pp-theme-logo img{display:block;max-height:52px;width:auto;max-width:190px;object-fit:contain}
.ppghf-original-header .pp-theme-nav>ul>li>a{color:#fff}
.ppghf-video-hero{position:relative;isolation:isolate;width:100%;min-height:480px;height:min(calc(100svh - var(--ppghf-bar-h,0px)),var(--ppghf-hero-max,760px));overflow:hidden;background:#07153e;color:#fff;font-family:inherit}
.ppghf-video-hero video,.ppghf-video-shade{position:absolute;inset:0;width:100%;height:100%}
.ppghf-video-hero video{object-fit:cover;z-index:-2}.ppghf-video-shade{background:linear-gradient(180deg,#0002,#07153e8c);z-index:-1}
.ppghf-video-content{position:relative;box-sizing:border-box;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;padding:calc(var(--ppghf-header-offset,80px) + 24px) 24px 70px;max-width:1100px;margin:auto}
.ppghf-video-content h2{color:#fff;font-size:clamp(32px,5vw,64px);line-height:1.2;margin:0 0 20px;font-weight:800}
.ppghf-video-content p{color:#fff;font-size:clamp(15px,2vw,20px);line-height:1.7;margin:0 0 30px}
.ppghf-video-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}.ppghf-video-actions a{display:inline-flex;align-items:center;justify-content:center;padding:14px 28px;border-radius:40px;min-height:48px;color:#fff!important;text-decoration:none;font-weight:700}.ppghf-video-phone{background:#ad7b32}.ppghf-video-line{background:#1bb56b}
.ppghf-video-actions a:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:767px){.ppghf-video-hero{min-height:540px;height:85svh}.ppghf-video-content{padding:calc(var(--ppghf-header-offset,70px) + 18px) 16px 44px}.ppghf-original-header .pp-theme-logo img{max-height:42px;max-width:145px}.ppghf-video-actions{gap:12px}.ppghf-video-actions a{padding:12px 22px}}
@media(prefers-reduced-motion:reduce){.ppghf-original-header{transition:none}}
/* Exact duplicate image observed above the About page content; hide the image only. */
main img[id="542"][alt="P&P Global Trading หน้าแรก"]{display:none!important}

/* Footer map: compact, sits under "ติดต่อเรา", never wider than its column. */
.pp-theme-footer__grid>*{min-width:0}
.pp-theme-footer .ppghf-map-col{min-width:0;max-width:100%}
.ppghf-footer-map{display:block;box-sizing:border-box;width:100%;max-width:100%;margin:14px 0 0;padding:0;border:0;border-radius:10px;overflow:hidden;background:#fff}
.ppghf-footer-map iframe{display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;height:var(--ppghf-map-h,180px)!important;border:0;margin:0}
@media(max-width:767px){.ppghf-footer-map iframe{height:min(var(--ppghf-map-h,180px),200px)!important}}
/* Solid header (Google style): white, soft shadow, dark menu text */
.ppghf-original-header.ppghf-solid,.ppghf-original-header.ppghf-is-scrolled{min-height:64px;padding-top:8px!important;padding-bottom:8px!important}
.ppghf-original-header.ppghf-solid .pp-theme-nav a,.ppghf-original-header.ppghf-is-scrolled .pp-theme-nav a{color:var(--ppghf-header-text,#0b2f75)!important}
.ppghf-header-solid .ppghf-video-content{padding-top:32px}

/* Hamburger (shown 0–960px) */
.ppghf-burger{display:none;flex:0 0 auto;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:48px;height:48px;margin:0 4px 0 -8px;padding:0;border:0;border-radius:50%;background:transparent;color:#3c4043;cursor:pointer}
.ppghf-burger span{display:block;width:22px;height:2px;border-radius:2px;background:currentColor}
.ppghf-burger:hover{background:#f1f3f4}.ppghf-burger:focus-visible{outline:2px solid #0b2f75;outline-offset:2px}
.ppghf-is-scrolled .ppghf-burger,.ppghf-solid .ppghf-burger{color:#3c4043}
@media(max-width:960px){
 .ppghf-original-header .ppghf-hide-m{display:none!important}
 .ppghf-burger{display:inline-flex}
 .ppghf-original-header{min-height:56px!important;padding:4px 12px!important;box-sizing:border-box}
 .ppghf-original-header .ppghf-logo-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:4px;width:100%!important;max-width:none!important;min-height:48px;margin:0!important;padding:0!important}
 .ppghf-original-header .pp-theme-logo img{max-height:36px;max-width:150px}
 /* Full-screen video below the header */
 .ppghf-hero{width:100%!important;min-height:360px!important;height:calc(100svh - var(--ppghf-header-offset,56px) - var(--ppghf-bar-h,0px))!important;max-height:none!important}
 .ppghf-video-content{padding:24px 16px 40px!important;justify-content:flex-end!important}
}

/* Drawer menu */
.ppghf-drawer-backdrop{position:fixed;inset:0;z-index:99996;background:rgba(32,33,36,.5);opacity:0;transition:opacity .2s}
.ppghf-drawer-backdrop.is-open{opacity:1}
.ppghf-drawer{position:fixed;top:0;bottom:0;left:0;z-index:99997;display:flex;flex-direction:column;box-sizing:border-box;width:min(320px,86vw);padding:0 0 calc(16px + env(safe-area-inset-bottom,0px));overflow-y:auto;background:#fff;color:#202124;box-shadow:0 8px 24px rgba(60,64,67,.3);transform:translateX(-100%);transition:transform .22s ease;font-family:inherit}
.ppghf-drawer.is-open{transform:none}
html.ppghf-drawer-open{overflow:hidden}
.ppghf-drawer-head{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:4px 8px 4px 20px;border-bottom:1px solid #e8eaed}
.ppghf-drawer-head img{max-height:36px;width:auto}
.ppghf-drawer-close{width:48px;height:48px;border:0;border-radius:50%;background:transparent;color:#3c4043;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.ppghf-drawer-close:hover{background:#f1f3f4}
.ppghf-drawer ul{list-style:none!important;margin:0!important;padding:0!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;display:block!important;box-shadow:none!important;background:none!important;width:auto!important;min-width:0!important;border:0!important}
.ppghf-drawer-menu{padding:8px 0!important}
.ppghf-drawer li{margin:0;padding:0;border:0}
.ppghf-drawer li::before,.ppghf-drawer li::marker{content:none}
.ppghf-drawer a{display:flex;align-items:center;min-height:48px;padding:0 20px;color:#202124!important;font-size:16px;font-weight:500;text-decoration:none;background:none!important;border-radius:0 24px 24px 0;margin-right:12px}
.ppghf-drawer a:hover,.ppghf-drawer a:focus-visible{background:#f1f5fd!important;color:#0b2f75!important;outline:none}
.ppghf-drawer ul ul a{padding-left:40px;font-size:15px;font-weight:400;color:#5f6368!important}
.ppghf-drawer-actions{display:flex;flex-direction:column;gap:12px;margin-top:auto;padding:16px 20px 0;border-top:1px solid #e8eaed}
.ppghf-drawer-actions a{justify-content:center;margin:0;border-radius:99px;font-weight:600}
.ppghf-drawer-actions .ppghf-drawer-phone{background:#0b2f75!important;color:#fff!important}
.ppghf-drawer-actions .ppghf-drawer-line{border:1px solid #dadce0;color:#0b2f75!important}
/* Drawer: Back / Forward */
.ppghf-drawer-history{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 16px;border-bottom:1px solid #e8eaed}
.ppghf-hist-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border:1px solid #dadce0;border-radius:99px;background:#fff;color:#0b2f75;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.ppghf-hist-btn:hover{background:#f1f5fd}.ppghf-hist-btn:focus-visible{outline:2px solid #0b2f75;outline-offset:2px}
@media(min-width:961px){.ppghf-drawer,.ppghf-drawer-backdrop{display:none!important}}

/* Back-to-top button */
#ppghf-to-top{position:fixed;right:16px;bottom:calc(var(--ppghf-bar-h,0px) + 16px);z-index:99985;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#fff;color:#0b2f75;box-shadow:0 1px 3px rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s,bottom .25s}
#ppghf-to-top.is-visible{opacity:1;visibility:visible;transform:none}
#ppghf-to-top:hover{background:#f1f5fd}#ppghf-to-top:focus-visible{outline:2px solid #0b2f75;outline-offset:3px}
html.ppghf-bar-hidden #ppghf-to-top{bottom:16px}
html.ppghf-drawer-open #ppghf-to-top{visibility:hidden}
@media(min-width:961px){#ppghf-to-top{right:24px;bottom:calc(var(--ppghf-bar-h,0px) + 24px)}html.ppghf-bar-hidden #ppghf-to-top{bottom:24px}}

/* Sticky footer bar — 3 sections: address + pin | menu | logo */
#ppghf-footer-bar{position:fixed;left:0;right:0;bottom:0;z-index:99980;box-sizing:border-box;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;color:#202124;border-radius:16px 16px 0 0;box-shadow:0 -1px 2px rgba(60,64,67,.15),0 -4px 12px rgba(60,64,67,.12);font-family:inherit;transition:transform .25s ease}
#ppghf-footer-bar.ppghf-bar-hide{transform:translateY(110%)}
#ppghf-footer-bar .ppghf-bar-inner{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;align-items:center;gap:24px;max-width:1320px;margin:0 auto}
#ppghf-footer-bar .ppghf-bar-addr{min-width:0;font-size:14px;line-height:1.5;color:#3c4043}
#ppghf-footer-bar .ppghf-bar-company{display:block;color:#0b2f75;font-size:15px;font-weight:700}
#ppghf-footer-bar .ppghf-bar-address{display:block}
#ppghf-footer-bar .ppghf-bar-pin{display:inline-flex;align-items:center;gap:4px;margin-top:6px;padding:4px 12px 4px 8px;border-radius:99px;background:#fce8e6;color:#c5221f!important;font-size:13px;font-weight:600;line-height:1.3;text-decoration:none}
#ppghf-footer-bar .ppghf-bar-pin svg{color:#d93025;flex:0 0 auto}
#ppghf-footer-bar .ppghf-bar-pin:hover{background:#fad2cf}
#ppghf-footer-bar .ppghf-bar-menu{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding-left:24px;border-left:1px solid #e8eaed}
#ppghf-footer-bar .ppghf-bar-menu a{display:block;padding:2px 0;color:#0b2f75!important;font-size:15px;font-weight:600;line-height:1.5;text-decoration:none;white-space:nowrap}
#ppghf-footer-bar .ppghf-bar-menu a:hover,#ppghf-footer-bar .ppghf-bar-menu a[aria-current="page"]{color:#e85d00!important}
#ppghf-footer-bar .ppghf-bar-brand{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
#ppghf-footer-bar .ppghf-bar-social{display:flex;gap:8px}
#ppghf-footer-bar .ppghf-social{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;color:#fff!important;text-decoration:none;transition:transform .15s,box-shadow .15s}
#ppghf-footer-bar .ppghf-social:hover{transform:translateY(-1px);box-shadow:0 2px 6px rgba(60,64,67,.3)}
#ppghf-footer-bar .ppghf-social-facebook{background:#1877f2}#ppghf-footer-bar .ppghf-social-line{background:#06c755}#ppghf-footer-bar .ppghf-social-tiktok{background:#000}
#ppghf-footer-bar .ppghf-bar-logo{display:flex;align-items:center;color:#0b2f75;font-weight:800;text-decoration:none}
#ppghf-footer-bar .ppghf-bar-logo img{display:block;max-height:52px;max-width:150px;width:auto;height:auto}
#ppghf-footer-bar a:focus-visible{outline:2px solid #0b2f75;outline-offset:2px}
body.ppghf-has-bar{padding-bottom:var(--ppghf-bar-h,80px)}
@media(max-width:600px){
 #ppghf-footer-bar{padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))}
 #ppghf-footer-bar .ppghf-bar-inner{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) auto;gap:10px}
 #ppghf-footer-bar .ppghf-bar-addr{font-size:11px;line-height:1.45}
 #ppghf-footer-bar .ppghf-bar-company{font-size:12px}
 #ppghf-footer-bar .ppghf-bar-pin{margin-top:4px;padding:3px 9px 3px 6px;font-size:11px}
 #ppghf-footer-bar .ppghf-bar-pin svg{width:14px;height:14px}
 #ppghf-footer-bar .ppghf-bar-brand{gap:6px}
 #ppghf-footer-bar .ppghf-bar-social{gap:5px}
 #ppghf-footer-bar .ppghf-social{width:26px;height:26px}
 #ppghf-footer-bar .ppghf-social svg{width:15px;height:15px}
 #ppghf-footer-bar .ppghf-bar-menu{padding-left:10px;gap:0}
 #ppghf-footer-bar .ppghf-bar-menu a{font-size:13px;padding:3px 0}
 #ppghf-footer-bar .ppghf-bar-logo img{max-height:36px;max-width:64px}
}
@media(prefers-reduced-motion:reduce){#ppghf-footer-bar,.ppghf-drawer,.ppghf-drawer-backdrop,#ppghf-to-top{transition:none}}

/* Full footer — 3 columns: company + address + map | menu | logo + social */
.pp-theme-footer .ppghf-footer-grid{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr)!important;gap:40px!important;align-items:start}
.pp-theme-footer .ppghf-footer-grid>.ppghf-orig-col{display:none!important}
.ppghf-fcol{min-width:0;color:inherit}
.ppghf-fcol .ppghf-fcol-title{margin:0 0 14px;color:inherit;font-size:20px;font-weight:700;line-height:1.4}
.ppghf-fcol-menu .ppghf-fcol-title{font-size:18px}
.ppghf-fcol-address{margin:0;color:inherit;opacity:.9;font-size:15px;line-height:1.7}
.ppghf-fcol-addr .ppghf-footer-map{margin-top:16px}
.ppghf-fcol-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ppghf-fcol-menu a{color:inherit!important;opacity:.9;text-decoration:none;font-size:15px}
.ppghf-fcol-menu a:hover{opacity:1;text-decoration:underline}
.ppghf-fcol-brand{display:flex;flex-direction:column;align-items:flex-end;gap:16px;text-align:right}
.ppghf-fcol-logo{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;background:#fff;color:#0b2f75!important;font-weight:800;text-decoration:none}
.ppghf-fcol-logo img{display:block;max-height:56px;max-width:170px;width:auto;height:auto}
.ppghf-fcol-social{display:flex;gap:10px}
.ppghf-fcol-social .ppghf-social{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#fff!important;text-decoration:none;box-shadow:0 0 0 2px rgba(255,255,255,.85);transition:transform .15s}
.ppghf-fcol-social .ppghf-social:hover{transform:translateY(-2px)}
.ppghf-fcol-social .ppghf-social svg{width:20px;height:20px}
.ppghf-fcol-social .ppghf-social-facebook{background:#1877f2}.ppghf-fcol-social .ppghf-social-line{background:#06c755}.ppghf-fcol-social .ppghf-social-tiktok{background:#000}
.ppghf-fcol-phone{color:inherit!important;text-decoration:none;font-size:15px;opacity:.9}
.ppghf-fcol a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:960px){
 .pp-theme-footer .ppghf-footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px 20px!important}
 .ppghf-fcol-addr{grid-column:1 / -1}
}
@media(max-width:480px){
 .ppghf-fcol .ppghf-fcol-title{font-size:18px}
 .ppghf-fcol-logo img{max-height:44px;max-width:130px}
 .ppghf-fcol-social .ppghf-social{width:36px;height:36px}
}

/* Back-to-top + chat at eye level on the right, follow the screen while scrolling */
html.ppghf-fab-mid{--ppghf-fab-bottom:40vh;--ppghf-fab-right:16px}
html.ppghf-fab-mid #ppghf-to-top,html.ppghf-fab-mid.ppghf-bar-hidden #ppghf-to-top{bottom:var(--ppghf-fab-bottom)!important;right:var(--ppghf-fab-right)!important}
@media(min-width:961px){html.ppghf-fab-mid{--ppghf-fab-right:24px}}

/* Same text style for every video hero (home + all other pages) */
.ppghf-hero h1,.ppghf-hero h2{font-size:clamp(32px,5.5vw,60px)!important;line-height:1.2!important;font-weight:700!important;letter-spacing:0!important;color:#fff!important;margin:0 0 16px!important}
.ppghf-hero p{font-size:clamp(15px,1.9vw,19px)!important;line-height:1.75!important;font-weight:400!important;color:#fff!important;margin:0 0 28px!important}
.ppghf-hero a[href^="tel:"],.ppghf-hero a[href*="line.me"]{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:12px 28px!important;border-radius:99px!important;color:#fff!important;font-size:17px!important;font-weight:600!important;line-height:1.2!important;text-decoration:none!important;border:0!important}
.ppghf-hero a[href^="tel:"]{background:#ad7b32!important}
.ppghf-hero a[href*="line.me"]{background:#06c755!important}
@media(max-width:480px){.ppghf-hero a[href^="tel:"],.ppghf-hero a[href*="line.me"]{padding:12px 22px!important;font-size:16px!important}}
