/*
Theme Name: SurfaceLine 2.0
Theme URI: https://surfaceline.co.uk/
Author: SurfaceLine
Description: Lightweight WooCommerce flooring storefront. Does not modify existing URLs or SEO metadata.
Version: 0.2.9
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: surfaceline
*/
:root{--ink:#24302d;--muted:#66716d;--accent:#a76b50;--paper:#f8f7f3;--line:#e5e6e0}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);line-height:1.6;background:#fff}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto}.wrap{width:min(1200px,calc(100% - 40px));margin:auto}.topbar{background:var(--ink);color:white;text-align:center;font-size:12px;padding:7px}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:94px}.brand img{width:260px;height:auto;display:block}.main-nav ul{list-style:none;display:flex;gap:25px;margin:0;padding:0}.header-actions{display:flex;gap:17px;white-space:nowrap;font-size:14px}.menu-toggle{display:none}.hero{background:linear-gradient(105deg,rgba(25,39,34,.86),rgba(25,39,34,.18)),linear-gradient(130deg,#a9a59b,#5b6d60);color:#fff;min-height:510px;display:flex;align-items:center}.hero-content{padding:85px 0;max-width:660px}.eyebrow{text-transform:uppercase;letter-spacing:2.2px;font-size:12px;font-weight:700}.hero h1{font-size:clamp(40px,5vw,68px);line-height:1.08;letter-spacing:-1.6px;margin:18px 0}.hero p{font-size:19px;max-width:520px}.btn,button.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;background:var(--accent)!important;color:#fff!important;border:0;border-radius:2px;padding:13px 24px;font-weight:650;cursor:pointer}.btn.secondary{background:#fff!important;color:var(--ink)!important}.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}.section{padding:68px 0}.section.alt{background:var(--paper)}.section h2{font-size:clamp(28px,3vw,40px);line-height:1.2;margin:0 0 12px}.intro{color:var(--muted);margin:0 0 30px}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tile{border:1px solid var(--line);background:#fff;padding:32px;min-height:190px;display:flex;flex-direction:column;justify-content:end}.tile h3{font-size:24px;margin:0 0 8px}.tile p{color:var(--muted);margin:0}.product-section .products{margin-top:25px!important}.content-area{padding:52px 0;min-height:50vh}.site-footer{background:#24302d;color:#e9ece8;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.site-footer h3{color:#fff}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:9px 0}.footnote{border-top:1px solid #53605a;margin-top:40px;padding-top:20px;font-size:13px;color:#c2c9c3}.woocommerce ul.products li.product{border:1px solid var(--line);padding:14px!important}.woocommerce div.product p.price,.woocommerce ul.products li.product .price{color:var(--accent)}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}.screen-reader-text:focus{position:static;clip:auto;height:auto;width:auto}@media(max-width:900px){.header-inner{flex-wrap:wrap;min-height:75px}.brand img{width:210px}.menu-toggle{display:block;border:1px solid var(--line);background:white;padding:8px 12px}.main-nav{display:none;order:3;width:100%}.main-nav.is-open{display:block}.main-nav ul{flex-direction:column;gap:0;padding:12px 0}.main-nav li{padding:10px 0;border-top:1px solid var(--line)}.header-actions{margin-left:auto}.tiles,.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:580px){.wrap{width:min(100% - 28px,1200px)}.header-actions{font-size:12px;gap:9px}.brand img{width:175px}.hero{min-height:460px}.hero-content{padding:60px 0}.tiles,.footer-grid{grid-template-columns:1fr}.section{padding:46px 0}}

/* Optional photograph, keeping original v0.1 layout and sizing intact */
.hero.has-photo{background-image:linear-gradient(90deg,rgba(22,34,30,.84) 0%,rgba(22,34,30,.48) 55%,rgba(22,34,30,.12) 100%),var(--hero-image);background-position:center;background-size:cover}

/* SurfaceLine v0.2.3: refined four-column footer; preserve homepage and existing URLs. */
.site-footer{position:relative;overflow:hidden;padding:75px 0 24px;color:#e9ece8;background:radial-gradient(ellipse at 90% 4%,rgba(169,124,79,.11),transparent 35%),radial-gradient(ellipse at 0% 100%,rgba(131,116,91,.14),transparent 42%),linear-gradient(120deg,#172521,#101c19 70%,#1a2822)}
.site-footer:before{content:"";position:absolute;pointer-events:none;inset:0;opacity:.14;background:repeating-linear-gradient(133deg,transparent 0,transparent 78px,rgba(203,155,93,.25) 79px,transparent 80px,transparent 160px);mask-image:linear-gradient(90deg,#000,transparent 38%)}
.site-footer>.wrap{position:relative;z-index:1}
.sl-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:clamp(22px,4vw,72px);align-items:start}
.sl-footer-brand p{max-width:340px;margin:22px 0;color:#cbd2ce;line-height:1.75;font-size:15px}
.sl-footer-logo{display:inline-block;max-width:270px}.sl-footer-logo img{display:block;width:100%;height:auto}
.site-footer .sl-footer-col h2{color:#fff;font-size:23px;line-height:1.3;margin:7px 0 29px;font-weight:650}
.site-footer .sl-footer-col h2:after{content:"";display:block;background:#b67b54;width:36px;height:2px;margin-top:16px}
.sl-footer-col ul,.sl-footer-legal ul{padding:0;margin:0;list-style:none}
.sl-footer-col li{margin:0 0 13px}
.sl-footer-col li a{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#e3e8e3;font-size:15px;transition:color .15s}
.sl-footer-col li a:after{content:"›";color:#c68c63;font-size:23px;line-height:1}
.sl-footer-col a:hover,.sl-footer-bottom a:hover{color:#d7a477}
.sl-socials{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.sl-socials a{width:42px;height:42px;border:1px solid #b67b54;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em;transition:background .15s}
.sl-socials a:hover{background:#a76b50;color:#fff}
.sl-support-item{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px;color:#e4e9e5;font-size:14px}
.sl-support-item strong,.sl-support-item span:not(.sl-support-icon),.sl-support-item a{display:block}
.sl-support-item strong{color:#fff;font-size:15px}.sl-support-item span:not(.sl-support-icon){color:#c4cdc7}
.sl-support-icon{flex:0 0 28px;color:#c38b61;font-size:26px;line-height:1.15;text-align:center}
.sl-footer-bottom{border-top:1px solid rgba(197,169,127,.4);margin-top:57px;padding-top:22px;display:flex;gap:20px;align-items:center;justify-content:space-between;color:#d4dbd5;font-size:13px;flex-wrap:wrap}
.sl-footer-legal ul{display:flex;gap:12px;flex-wrap:wrap}
.sl-footer-legal li+li:before{content:"|";color:#74847b;margin-right:12px}
.sl-footer-credit a{font-weight:800;letter-spacing:.03em;color:#fff;margin-left:6px}
.sl-to-top{display:grid;place-items:center;width:40px;height:40px;border:1px solid #bd855d;border-radius:50%;font-size:24px;line-height:1}
@media(max-width:950px){.sl-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 30px}.site-footer{padding-top:55px}}
@media(max-width:580px){.sl-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 17px}.site-footer .sl-footer-col h2{font-size:18px;margin-bottom:20px}.sl-footer-col li a{font-size:13px}.sl-footer-brand p{font-size:13px}.sl-footer-logo{max-width:100%}.sl-support-item{gap:7px;font-size:12px}.sl-support-item strong{font-size:13px}.sl-support-icon{flex-basis:20px;font-size:19px}.sl-footer-bottom{align-items:flex-start;gap:16px}.sl-footer-credit{width:100%}}
