/*
Theme Name: T-MATS Premium
Theme URI: https://tmats.co.uk
Author: T-MATS
Description: Lightweight WooCommerce-ready T-MATS storefront.
Version: 1.2.0
Requires PHP: 7.4
Text Domain: tmats-premium
*/
:root{--red:#ec071a;--ink:#0a1020}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#fff}a{color:inherit;text-decoration:none}button,input{font:inherit}.wrap{max-width:1420px;margin:auto;padding:0 28px}.site-head{height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{font-size:37px;font-weight:1000;font-style:italic;letter-spacing:-3px;white-space:nowrap;line-height:.85}.brand b{color:var(--red)}.brand small{display:block;font-size:9px;font-style:normal;letter-spacing:3px;text-align:center;margin-top:9px}.menu{display:flex;gap:27px;align-items:center;font-size:14px;font-weight:700}.menu a:hover,.head-actions a:hover{color:var(--red)}.head-actions{display:flex;gap:20px;font-size:13px;align-items:center}.mobile-toggle{display:none}.hero{position:relative;min-height:535px;background-image:linear-gradient(90deg,rgba(245,248,253,.92) 0%,rgba(245,248,253,.75) 31%,rgba(245,248,253,0) 65%),url('assets/hero.jpg');background-size:cover;background-position:center}.hero-inner{position:relative;min-height:535px;padding-top:48px;padding-bottom:30px}.eyebrow{letter-spacing:5px;font-size:13px}.hero h1{font-size:clamp(35px,4.4vw,69px);font-weight:1000;letter-spacing:-2px;line-height:.98;margin:12px 0}.hero h1 span{color:var(--red);display:block}.hero-desc{max-width:530px;font-size:18px;line-height:1.4;margin:12px 0}.finder{max-width:665px;margin-top:24px;filter:drop-shadow(0 8px 20px #0002)}.tabs{display:flex;background:#f6f7f9;border-radius:13px 13px 0 0;overflow:hidden}.tabs button{flex:1;border:0;padding:18px 8px;background:transparent;cursor:pointer;font-weight:700;font-size:14px}.tabs button.active{background:var(--red);color:white}.finder-body{background:white;padding:22px;border-radius:0 0 13px 13px;min-height:174px}.finder-body h2{font-size:20px;margin:0 0 5px}.finder-body p{margin:0 0 15px;color:#485267}.finder-pane{display:none}.finder-pane.active{display:block}.finder-form{display:flex;gap:12px}.reg-field{display:flex;align-items:center;background:#ffdf4b;border-radius:7px;overflow:hidden;flex:1;min-width:0}.reg-field strong{background:#064cba;color:#fff;padding:13px 9px;font-size:12px;align-self:stretch;display:flex;align-items:center}.reg-field input{min-width:0;width:100%;background:transparent;border:0;padding:12px 16px;font-size:24px;font-weight:800;outline:none;text-transform:uppercase}.red-btn{background:var(--red);color:#fff;border:0;border-radius:7px;padding:15px 23px;font-weight:800;cursor:pointer}.finder-note{font-size:12px!important;margin:10px 0 0!important}.finder-embed{margin-top:8px}.finder-embed:empty{display:none}.select-row{display:flex;gap:8px;flex-wrap:wrap}.select-row select{padding:13px;border:1px solid #ccd1db;border-radius:6px;min-width:145px;flex:1}.assistant-float{position:absolute;right:35px;bottom:20px;background:#fff;padding:16px 24px;border-radius:16px;box-shadow:0 8px 25px #0004;min-width:250px}.assistant-float strong{font-size:24px}.assistant-float strong span{color:var(--red)}.assistant-float p{font-size:13px;margin:3px 0}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:25px 0;border-bottom:1px solid #e5e8ee}.benefit{display:flex;gap:15px;align-items:center}.benefit .symbol{font-size:33px;color:var(--red)}.benefit b{display:block;font-size:14px}.benefit small{color:#4b5568}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:30px 0 18px}.section-head h2{font-size:30px;margin:0;font-weight:1000}.section-head p{margin:4px 0;color:#586275}.outline{border:1px solid #cdd3df;border-radius:9px;padding:13px 20px}.range{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:48px}.range-card{position:relative;height:225px;border-radius:12px;overflow:hidden;background:#111;color:#fff;display:flex;align-items:flex-end;padding:23px}.range-card:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000d,#0002 75%),var(--photo);background-position:center;background-size:cover;transition:transform .2s}.range-card:hover:before{transform:scale(1.04)}.range-card div{position:relative}.range-card h3{font-size:24px;margin:0 0 7px}.range-card h3 span{color:var(--red)}.range-card p{margin:0;max-width:290px}.range-card.car{--photo:url('assets/car.jpg')}.range-card.rubber{--photo:url('assets/rubber.jpg')}.range-card.boot{--photo:url('assets/boot.jpg')}.footer{background:#101723;color:#fff;padding:30px 0;font-size:13px}.footer .wrap{display:flex;justify-content:space-between;gap:25px}.content-area{padding-top:40px;padding-bottom:70px;min-height:50vh}.woocommerce ul.products li.product a img{border-radius:8px}@media(max-width:1050px){.menu{gap:12px;font-size:12px}.assistant-float{display:none}.hero{background-position:58% center}}@media(max-width:760px){.wrap{padding:0 18px}.site-head{height:68px}.brand{font-size:28px}.brand small{font-size:7px}.mobile-toggle{display:block;background:none;border:0;font-size:26px;cursor:pointer}.menu{display:none;position:absolute;top:68px;left:0;right:0;z-index:10;background:white;padding:20px;box-shadow:0 10px 20px #0002;flex-direction:column;align-items:flex-start;font-size:15px}.menu.open{display:flex}.head-actions{margin-left:auto}.head-actions .account{display:none}.hero{background-image:linear-gradient(180deg,rgba(250,251,253,.95),rgba(250,251,253,.83) 60%,rgba(250,251,253,.3)),url('assets/hero.jpg');background-position:65% center}.hero-inner{padding-top:35px;padding-bottom:35px}.hero h1{font-size:43px}.hero-desc{font-size:16px}.finder{margin-top:22px}.tabs button{font-size:11px;padding:14px 4px}.finder-body{padding:16px}.finder-form{flex-direction:column}.reg-field input{font-size:22px}.benefits{grid-template-columns:repeat(2,1fr)}.range{grid-template-columns:1fr}.section-head h2{font-size:24px}.footer .wrap{flex-direction:column}}@media(max-width:420px){.hero h1{font-size:36px}.eyebrow{font-size:10px;letter-spacing:3px}.benefits{gap:16px}.benefit{gap:8px}.benefit .symbol{font-size:25px}.benefit b{font-size:11px}.benefit small{font-size:11px}}
/* T-MATS V2: dedicated mobile composition and accessible controls */
@media (max-width:760px){
 body{overflow-x:hidden}
 .site-head{height:72px;gap:10px;position:relative;z-index:30;background:#fff}
 .brand{font-size:30px;letter-spacing:-2px;flex-shrink:0}
 .brand small{font-size:6px;letter-spacing:2px;margin-top:7px}
 .head-actions{margin-left:auto;gap:8px;font-size:0}
 .head-actions a:last-child{font-size:0;display:flex;align-items:center;justify-content:center;min-width:42px;min-height:44px}
 .head-actions a:last-child::before{content:'🛒';font-size:22px}
 .mobile-toggle{min-width:44px;min-height:44px;border-radius:8px;font-size:25px}
 .menu{top:72px;left:0;right:0;padding:18px 24px;gap:0}
 .menu a{display:block;padding:14px 4px;width:100%;border-bottom:1px solid #edf0f4}
 .hero{background:#f3f5f8;min-height:0}
 .hero-inner{min-height:0;padding-top:27px;padding-bottom:28px;isolation:isolate}
 .hero-inner::before{content:'';position:absolute;z-index:-1;left:0;right:0;top:170px;height:245px;background-image:linear-gradient(180deg,#f3f5f8 0%,transparent 26%,transparent 68%,#f3f5f8 100%),url('assets/hero.jpg');background-position:center,67% center;background-size:cover;pointer-events:none}
 .eyebrow{font-size:10px;letter-spacing:2.6px;font-weight:700}
 .hero h1{font-size:clamp(31px,8.5vw,43px);letter-spacing:-1.5px;line-height:1.02;margin:10px 0}
 .hero-desc{font-size:14px;line-height:1.45;max-width:500px;margin:10px 0}
 .finder{position:relative;z-index:1;max-width:none;margin:170px 0 0;filter:drop-shadow(0 12px 20px #0a10202a)}
 .tabs{border-radius:12px 12px 0 0;min-height:60px}
 .tabs button{font-size:12px;line-height:1.25;padding:12px 7px;min-height:60px;overflow-wrap:break-word}
 .finder-body{padding:20px 16px 18px;min-height:0}
 .finder-body h2{font-size:19px;line-height:1.2}
 .finder-body p{font-size:13px;line-height:1.35}
 .finder-form{gap:10px}
 .reg-field{min-height:54px}
 .reg-field input{font-size:22px;text-align:center}
 .red-btn{min-height:50px;width:100%;display:flex;align-items:center;justify-content:center;text-align:center}
 .finder-note{font-size:11px!important}
 .assistant-float{display:none}
 .benefits{padding:20px 0;gap:16px 10px}
 .benefit{align-items:flex-start}
 .benefit b{font-size:11px;line-height:1.3}
 .benefit small{display:block;font-size:10px;line-height:1.3;margin-top:3px}
 .section-head{align-items:flex-start;flex-wrap:wrap;margin:28px 0 17px}
 .section-head h2{font-size:25px;line-height:1.1}
 .section-head p{font-size:13px}
 .section-head .outline{padding:10px 15px;font-size:13px}
 .range-card{height:210px}
}
@media (max-width:380px){
 .wrap{padding-left:14px;padding-right:14px}
 .hero-inner::before{top:170px;height:230px}
 .finder{margin-top:155px}
 .tabs button{font-size:10px;padding:10px 4px}
 .hero h1{font-size:30px}
 .reg-field input{font-size:19px}
}

/* V2.1: Boot Mats replaces standalone Rubber Mats category. */
.range-card.bootmat{--photo:url("assets/boot-mats.jpg")}
