/*
Theme Name: Grab Bars China
Theme URI: https://grabbarschina.com/
Author: Xiamen Kebeile Technology Co., Ltd.
Description: Full 6-page B2B supply site theme for grabbarschina.com: Home, Products, Wholesale & OEM, Factory Proof, FAQ, Inquiry. English only in this version; Spanish core pages are deferred until a reviewer is appointed. Construction noindex is on by default and must only be switched off in Customize after the full pre-launch check passes.
Version: 2.7
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: grabbarschina
*/
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#1a2a33;line-height:1.6;background:#fff}
a{color:#0b5e7a}header.site-header{border-bottom:3px solid #0b5e7a;padding:14px 20px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.logo{font-weight:800;font-size:20px}.logo small{display:block;font-weight:400;font-size:13px;color:#555}
nav.main-nav{display:flex;flex-wrap:wrap;gap:8px}nav.main-nav a{text-decoration:none;font-weight:600;padding:10px 6px;min-height:44px;display:inline-flex;align-items:center}
main{max-width:1080px;margin:0 auto;padding:0 20px 40px}
.hero{padding:44px 0 28px;border-bottom:1px solid #ddd}.hero h1{font-size:clamp(28px,5vw,44px);line-height:1.2;margin:0 0 12px}
.hero p{font-size:18px;max-width:760px}.cta-wrap{text-align:center}.cta{display:inline-block;background:#0b5e7a;color:#fff;padding:12px 22px;text-decoration:none;font-weight:700;border-radius:6px;margin-top:10px}
.trust{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.trust span{border:1px solid #cfd8dc;padding:8px 12px;border-radius:20px;background:#f2f7f9}
section{padding:34px 0;border-bottom:1px solid #eee}h2{font-size:26px;margin:0 0 12px}h3{margin:10px 0 6px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.card{border:1px solid #ddd;border-radius:8px;padding:16px}
.slot-img{width:100%;height:auto;display:block;object-fit:contain;background:#eef2f3;border:1px solid #ddd;border-radius:8px;margin-bottom:12px}.slot-img-hero{width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center;background:transparent;border:0}.slot-img-card{aspect-ratio:4/3}figure{margin:0}.caption{font-size:14px;color:#555;margin-top:6px}figcaption{font-size:14px;color:#555;margin-top:6px}

/* Carousel: container ratio is locked to the slot ratio. Images must match that ratio exactly, so no object-fit is used to mask a mismatch. */
.carousel{position:relative;width:100%;overflow:hidden;border-radius:8px;margin-bottom:12px}
.carousel-hero{aspect-ratio:16/9}
.carousel-shower{aspect-ratio:4/3}
.carousel-slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;pointer-events:none}
.carousel-slide.active{opacity:1;pointer-events:auto}
.carousel-slide img{width:100%;height:100%;display:block}
.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:22px;cursor:pointer;z-index:2}
.carousel-prev{left:10px}.carousel-next{right:10px}
.carousel-dots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:2}
.carousel-dot{width:12px;height:12px;border-radius:50%;border:0;background:rgba(255,255,255,.6);cursor:pointer;padding:0}
.carousel-dot.active{background:#fff}
table{width:100%;border-collapse:collapse}th,td{border:1px solid #ddd;padding:8px;text-align:left;vertical-align:top}th{background:#f2f7f9}
form.inquiry-form{max-width:680px;display:grid;gap:12px}label{font-weight:600}input,select,textarea{width:100%;padding:10px;border:1px solid #bbb;border-radius:6px;font:inherit}
button[type="submit"]{background:#0b5e7a;color:#fff;border:0;padding:13px 32px;border-radius:6px;font-weight:700;cursor:pointer;justify-self:center;min-height:48px}
.note{background:#fff8e1;border:1px solid #ffe082;padding:12px 14px;border-radius:6px}.notice{background:#e8f5e9;border:1px solid #a5d6a7;padding:12px 14px;border-radius:6px}
footer.site-footer{max-width:1080px;margin:0 auto;padding:24px 20px 40px;color:#555}
.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:#fff;padding:8px}
@media(max-width:640px){header.site-header{display:block}nav.main-nav{margin-top:10px}.hero{padding:28px 0}table{font-size:14px}}
