/*
Theme Name: SANSHI
Author: Bailin Muge Trading
Description: SANSHI product showcase and dealer enquiries. Install SANSHI Business companion plugin for editable products and enquiry handling.
Version: 0.3.4
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: sanshi
*/

:root{--ink:#181b1c;--orange:#ed5a26;--gray:#6a6d6c;--paper:#f4f3ee}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid #ddd;background:white;position:sticky;top:0;z-index:10}.brand{font-weight:900;font-size:28px;letter-spacing:1px;display:flex;align-items:center;gap:10px}.mark{display:grid;gap:4px;transform:skew(-22deg)}.mark i{width:29px;height:7px;background:var(--ink);display:block}.mark i:nth-child(2){background:var(--orange)}nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:700}.btn{background:var(--orange);color:white;display:inline-flex;align-items:center;justify-content:center;padding:17px 23px;border:0;cursor:pointer;font-size:13px;font-weight:700}.btn.dark{background:var(--ink)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700;color:var(--orange)}.hero{min-height:650px;display:grid;grid-template-columns:45% 55%;padding:65px 5% 25px;align-items:center;overflow:hidden}.hero h1{font-size:clamp(48px,5.8vw,88px);line-height:.98;letter-spacing:-4px;margin:25px 0}.hero h1 em{color:var(--orange);font-style:normal}.hero p{color:var(--gray);font-size:16px;line-height:1.8;max-width:390px}.hero img{width:110%;margin-left:-5%;mix-blend-mode:multiply}.actions{display:flex;align-items:center;gap:25px;margin-top:30px}.textlink{font-size:13px;font-weight:700;border-bottom:1px solid;padding-bottom:5px}.hero-caption{display:flex;justify-content:space-between;border-top:1px solid #ddd;padding:20px 5%;font-size:11px;letter-spacing:1px}.band{background:var(--ink);color:white;padding:25px 5%;display:flex;gap:30px;justify-content:space-between;font-size:12px}.band span{color:#b8bbb9}.section{padding:85px 5%}.heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.heading h2,h2{font-size:clamp(34px,4vw,55px);letter-spacing:-2px;margin:12px 0}.heading p{max-width:350px;color:var(--gray);line-height:1.7;font-size:14px}.models{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.model{border-top:2px solid var(--ink);padding-top:20px}.model .top{display:flex;justify-content:space-between;align-items:center}.model h3{font-size:32px;letter-spacing:-1px;margin:0}.small{font-size:11px;letter-spacing:1px;color:var(--gray)}.model img{width:100%;height:260px;object-fit:contain}.model p{font-size:14px;line-height:1.7;color:var(--gray)}.spec{display:flex;gap:22px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:15px 0;margin:18px 0}.spec b{display:block;font-size:18px;margin-bottom:5px}.spec span{font-size:10px;letter-spacing:1px;color:var(--gray)}.model button{background:none;border:0;padding:6px 0;font-weight:700;font-size:13px;cursor:pointer}.split{display:grid;grid-template-columns:1fr 1fr;background:var(--paper)}.split .photo{background:white;display:flex;align-items:center}.split img{width:100%;mix-blend-mode:multiply}.split .copy{padding:65px 12%}.copy p{font-size:15px;line-height:1.8;color:var(--gray)}.listrow{border-top:1px solid #ccc;padding:20px 0;display:flex;gap:20px;font-size:14px}.listrow b{color:var(--orange)}.dealer{background:var(--ink);color:white;display:grid;grid-template-columns:1fr 1fr;gap:9%;padding:85px 7%}.dealer p{color:#b4b7b5;line-height:1.8;font-size:15px}.steps{margin-top:35px}.steps div{border-top:1px solid #414444;padding:16px 0;font-size:13px}.steps span{color:var(--orange);margin-right:22px}.form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form label{display:block;font-size:11px;color:#bbb;letter-spacing:.4px}.form input,.form select,.form textarea{display:block;width:100%;border:0;border-bottom:1px solid #626564;background:transparent;color:white;padding:12px 0;border-radius:0;margin-top:4px}.form option{color:#222}.full{grid-column:1/-1}.form textarea{resize:vertical}.notice{font-size:11px!important;line-height:1.6!important}.status{font-size:13px;color:#ffd3bc}.contact{display:flex;justify-content:space-between;align-items:center;gap:30px}.contact p{color:var(--gray);line-height:1.8;font-size:14px}footer{background:var(--paper);padding:30px 5%;display:flex;justify-content:space-between;gap:25px;font-size:11px;color:var(--gray)}.preview{background:#fff0df;color:#7e420b;padding:9px 5%;font-size:11px}.menu{display:none;background:none;border:0;font-size:24px}.whatsapp{position:fixed;bottom:22px;right:22px;background:var(--orange);color:white;padding:14px 18px;font-size:12px;font-weight:700;z-index:9;box-shadow:0 4px 20px #0002}@media(max-width:800px){header{height:70px}.menu{display:block}nav{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:25px 5%;border-bottom:1px solid #ddd;flex-direction:column;align-items:stretch}nav.open{display:flex}.hero{grid-template-columns:1fr;padding-top:40px;min-height:auto}.hero h1{letter-spacing:-2px;font-size:58px}.hero img{width:100%;margin:15px 0}.hero-caption{font-size:9px;gap:15px}.band{flex-wrap:wrap;gap:16px}.section{padding:55px 6%}.heading{display:block}.models{grid-template-columns:1fr}.model img{height:290px}.split,.dealer{grid-template-columns:1fr}.split .copy{padding:40px 7%}.dealer{padding:55px 7%;gap:40px}.contact,footer{align-items:start;flex-direction:column}.whatsapp{bottom:12px;right:12px}}

.brand-logo{width:42px;height:36px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:15px;top:10px;background:white;padding:15px;z-index:100}.admin-bar header{top:32px}.form .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form input[type=checkbox]{display:inline;width:auto}.form .consent{line-height:1.7}.form .notice a{text-decoration:underline}.details{padding:60px 6%;max-width:1100px;margin:auto}.details img{max-width:100%;height:auto}.details .spec{flex-wrap:wrap}.details p{line-height:1.8}.model .textlink{display:inline-block;margin:10px 15px 10px 0}.custom-logo{max-height:45px;width:auto}.contact address{font-style:normal;color:var(--gray);font-size:14px}.form .status{color:#ffd3bc}.entry-content{line-height:1.8}.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid var(--orange);outline-offset:3px}a:focus-visible,button:focus-visible{outline:3px solid var(--orange);outline-offset:4px}@media(max-width:782px){.admin-bar header{top:46px}}

/* Product page refinement 0.1.5 */
.product-details{max-width:1440px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px 60px;align-items:start}
.product-details>.textlink,.product-details>h1{grid-column:1/-1;margin:0}
.product-details>h1{font-size:clamp(38px,5vw,70px)}
.product-photo{background:#fafafa;overflow:hidden}.product-photo img{display:block;width:100%;max-height:620px;object-fit:contain}
.product-summary{min-width:0}.product-summary .spec{margin-top:0;gap:20px}.product-summary .btn{margin-top:20px}
@media(max-width:800px){.product-details{grid-template-columns:minmax(0,1fr);gap:22px;padding:35px 6%}.product-photo img{max-height:420px}.product-summary .btn{width:100%;text-align:center;box-sizing:border-box}}

.catalog-specs,.order-guide{grid-column:1/-1;border-top:1px solid #ddd;padding-top:35px;margin-top:25px;min-width:0}.catalog-specs h2,.order-guide h2{font-size:clamp(28px,3vw,40px);letter-spacing:-1px}.catalog-specs dl{margin:25px 0}.catalog-specs dl>div{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-bottom:1px solid #eee;padding:16px 0}.catalog-specs dt{color:#6a6d6c}.catalog-specs dd{margin:0;font-weight:700}.order-guide p{max-width:760px}.product-details>.textlink{justify-self:start}@media(max-width:500px){.catalog-specs dl>div{grid-template-columns:minmax(0,1fr);gap:7px}.hero h1{font-size:clamp(38px,11vw,58px)}.form{grid-template-columns:minmax(0,1fr)}.form .full{grid-column:1}.product-summary .spec{gap:14px}}

.dealer-faq{max-width:1440px;margin:auto}.dealer-faq details{border-bottom:1px solid #ddd;padding:22px 0}.dealer-faq summary{font-weight:700;cursor:pointer;line-height:1.6}.dealer-faq details p{max-width:850px;color:var(--gray);line-height:1.8}.dealer-faq summary:focus-visible{outline:2px solid var(--orange)}

/* Mobile refinement 0.1.5 */
.menu{color:var(--ink);-webkit-appearance:none;appearance:none}
@media(max-width:800px){
header{height:62px}.brand{font-size:24px;gap:8px}.brand-logo{width:34px;height:30px}nav{top:62px}
.hero{padding:28px 5% 18px;gap:12px}.hero h1{font-size:clamp(34px,8.6vw,46px);line-height:1.06;letter-spacing:-1.5px;margin:16px 0}.hero p{font-size:14px;line-height:1.65;margin:12px 0}.hero .eyebrow{font-size:10px;letter-spacing:1.4px}.actions{gap:16px;flex-wrap:wrap;margin-top:20px}.actions .btn{padding:14px 17px}.hero img{margin:8px 0;width:100%}
.section{padding:38px 6%}.heading{margin-bottom:24px}.heading h2,h2{font-size:clamp(29px,7.5vw,38px);line-height:1.12;letter-spacing:-1px}.heading p{font-size:14px;line-height:1.65}.model h3{font-size:28px}.band{display:grid;grid-template-columns:1fr;gap:12px;padding:20px 6%}.model img{height:auto;max-height:310px;object-fit:contain}.dealer-faq details{padding:17px 0}.dealer-faq details p{font-size:14px}
.whatsapp{font-size:0;line-height:0;width:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;bottom:calc(14px + env(safe-area-inset-bottom));right:14px;background:#181b1c}.whatsapp:before{content:'WA';font:700 14px Arial,sans-serif;letter-spacing:.3px;color:white}.dealer{padding:40px 6%;gap:28px}.product-details{padding-top:30px}
}

#inquiry{scroll-margin-top:100px}.model button{color:var(--orange);-webkit-appearance:none;appearance:none}.model button:hover{text-decoration:underline}@media(max-width:800px){#inquiry{scroll-margin-top:82px}.form input,.form select,.form textarea{font-size:16px}.form select{color-scheme:dark}}

/* Consistent brand size and anchor clearance across templates. */
header .brand{transform:scale(1.15);transform-origin:left center}
#models,#support,#about,#dealer{scroll-margin-top:100px}
@media(max-width:800px){#models,#support,#about,#dealer{scroll-margin-top:82px}.brand{flex-shrink:0}.menu{min-width:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* SS200 catalogue comparison. */
.version-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.version-grid article{background:var(--paper);padding:24px;min-width:0}.version-grid h3{font-size:24px;margin-top:0}.version-grid dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #ddd;padding:12px 0}.version-grid dd{margin:0;font-weight:700}.version-grid dt{color:var(--gray)}@media(max-width:600px){.version-grid{grid-template-columns:minmax(0,1fr)}}
