/*
Theme Name: Buy Fencing
Description: A gardening and fencing catalogue with callback enquiries.
Version: 2.2.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: buyfencing
*/
:root{--forest:#182e25;--ink:#20332a;--paper:#f7f5ed;--white:#fffdf7;--accent:#dfed9c;--line:#d9dfd2}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,sans-serif}
a{color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #60891f;outline-offset:4px}
.wrap{width:min(100% - 48px,1180px);margin-inline:auto}
.skip-link{position:absolute;left:12px;top:8px;z-index:20;background:white;padding:10px;transform:translateY(-150%)}
.skip-link:focus{transform:none}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.header-inner,.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:82px}
nav,.actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
nav a,.brand,.text-link{text-decoration:none;font-weight:700}
nav a:hover,.text-link:hover{text-decoration:underline}
.brand{display:inline-flex;align-items:center;gap:0;font-size:1.55rem;letter-spacing:-.065em;white-space:nowrap}
.brand > span:last-child{font-weight:450}
.brand-mark{display:inline-flex;gap:3px;margin-right:10px;align-items:center}
.brand-mark i{width:6px;height:21px;background:#4e674d;border-radius:4px 4px 0 0;transform:skewY(-12deg)}
.button{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:5px;background:var(--forest);color:white;padding:13px 21px;font:inherit;font-weight:720;text-decoration:none;cursor:pointer}
.button:hover{background:#315341}
.button.small{font-size:.9rem;padding:9px 15px}
.hero{background:var(--forest);color:var(--white)}
.hero-inner{display:grid;grid-template-columns:1fr 1.12fr;min-height:520px}
.hero-copy{padding:78px 46px 78px 0;align-self:center}
.hero h1,.callback-section h2,.range-section h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.055em;line-height:1.02;margin:0 0 20px}
.hero h1{font-size:clamp(3.4rem,7.2vw,6.1rem);max-width:8ch}
.hero-copy > p:not(.eyebrow){max-width:42ch;color:#e1e9dd;font-size:1.08rem;margin:0 0 24px}
.eyebrow{font-size:.74rem;letter-spacing:.14em;font-weight:780;text-transform:uppercase;margin:0 0 16px}
.hero .eyebrow,.callback-section .eyebrow{color:var(--accent)}
.hero .button{background:var(--accent);color:var(--forest)}
.hero .button:hover{background:#f1f8c3}
.hero-image{background:#48604a url(assets/garden.webp) center / cover no-repeat}
.range-section{padding-block:83px}
.range-section h2,.callback-section h2{font-size:clamp(2.65rem,5vw,4.4rem)}
.range-grid{margin-top:33px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.range-card{background:var(--white);border:1px solid var(--line);border-radius:9px;overflow:hidden;display:flex;flex-direction:column}
.range-copy{padding:23px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.range-card h3{font-size:1.28rem;line-height:1.2;margin:0}
.range-card p{margin:12px 0;color:#49594d}
.range-card ul{padding-left:18px;margin:0 0 17px}
.range-card .text-link{margin-top:auto;font-size:.9rem}
.range-card .price{font-weight:750;color:var(--ink)}
.category-art{height:105px;display:grid;place-items:center;background:#e4eadc}
.category-art span{width:105px;height:60px;border-radius:3px;background:repeating-linear-gradient(90deg,#9c644a 0 15px,#754632 15px 18px);border:3px solid #754632}
.art-posts span{width:65px;background:linear-gradient(90deg,#80553d 25%,transparent 25% 67%,#87918a 67%);border:0}
.art-boards span{height:26px;background:#a49985;border-color:#756b59}
.art-gates span{width:76px;background:linear-gradient(135deg,transparent 44%,#68452f 45% 53%,transparent 54%),repeating-linear-gradient(90deg,#a36d4c 0 13px,#805339 13px 15px)}
.art-trellis span{background:repeating-linear-gradient(45deg,transparent 0 12px,#946b49 12px 17px),repeating-linear-gradient(-45deg,transparent 0 12px,#946b49 12px 17px);border-color:#946b49}
.art-fixings span{width:48px;height:49px;border-width:10px 0 0 10px;border-color:#53645d;background:transparent;transform:rotate(-20deg)}
.callback-section{background:var(--forest);color:var(--white);padding-block:78px}
.callback-inner{display:grid;grid-template-columns:1fr 1.4fr;gap:60px}
.callback-inner > div:first-child p:last-child{max-width:37ch;color:#e1e9dd}
.form-panel{background:var(--white);color:var(--ink);border-radius:9px;padding:26px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
label{display:block;margin:0 0 14px;font-weight:650;font-size:.9rem}
input:not([type=hidden]),select,textarea{display:block;width:100%;padding:9px 11px;margin-top:5px;border:1px solid #aab6aa;border-radius:4px;background:white;color:inherit;font:inherit;font-weight:400}
.optional,.form-note{font-weight:400;color:#4f6052}
.form-note{font-size:.86rem;margin:0 0 16px}
.notice{padding:12px;background:#e4eadc;margin:0 0 16px}
.site-footer{background:var(--white);font-size:.9rem}
.entry{padding-block:50px}
.entry img{max-width:100%;height:auto}
@media(max-width:850px){.hero-inner{min-height:420px}.range-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.callback-inner{gap:27px}}
@media(max-width:640px){.wrap{width:calc(100% - 32px)}.nav-range{display:none}.header-inner{min-height:64px}.hero-inner,.callback-inner,.range-grid,.form-grid{grid-template-columns:1fr}.hero-copy{padding:44px 0 36px}.hero-image{min-height:245px}.range-section,.callback-section{padding-block:52px}.footer-inner{flex-wrap:wrap;gap:4px 16px;padding-block:16px}.footer-inner p{margin:0}.form-panel{padding:17px}}
.catalogue-page{padding-block:34px 66px;min-height:65vh}
.catalogue-page h1{font:400 clamp(2.5rem,7vw,5rem)/1.06 Georgia,serif;letter-spacing:-.055em;margin:28px 0 15px}
.catalogue-page .intro{font-size:1.15rem;max-width:55ch}
.breadcrumbs{font-size:.88rem;gap:12px}
.breadcrumbs a+a::before{content:'/';margin-right:12px;color:#607366}
.range-card h2{font-size:1.25rem;line-height:1.25;margin:0}
.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:28px}
.product-art{height:100%;min-height:240px;border-radius:8px}
.product-art span{scale:1.6}
.product-layout input[name=quantity]{width:105px}
.info-sections,.catalogue-page .form-panel{max-width:730px;margin-block:26px}
.info-sections section{border-top:1px solid var(--line);padding:16px 0}
.info-sections h2,.info-sections p{margin:0 0 6px}
.project-preview{max-width:730px;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:16px}
.project-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0}
.project-line label{margin:0}
.project-line input{width:100px}
.project-line button{font:inherit;color:inherit;background:transparent;border:0;text-decoration:underline;cursor:pointer}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:640px){.product-layout{grid-template-columns:1fr}.header-inner{gap:10px}.header-inner nav{gap:8px;font-size:.79rem}.header-inner .button.small{font-size:.76rem;padding:7px 9px}.header-inner .brand{font-size:1.25rem}.catalogue-page{padding-block:25px 48px}}
:root{--forest:#20382c;--ink:#1d2e23;--paper:#f4f5ee;--white:#fff;--accent:#e7f0b1}
.hero-inner{grid-template-columns:1fr 1.2fr;min-height:440px}
.hero-copy{padding-block:56px}
.hero h1,.range-section h2,.callback-section h2,.catalogue-page h1,.featured-section h2{font-family:system-ui,sans-serif;font-weight:790;letter-spacing:-.055em}
.hero h1{max-width:13ch;font-size:clamp(3rem,6.4vw,5.25rem)}
.shop-strip{border-bottom:1px solid var(--line);background:var(--white)}
.shop-strip .wrap{display:flex;flex-wrap:wrap;gap:10px 24px;padding-block:14px}
.shop-strip a{font-size:.9rem;font-weight:700;text-decoration:none}
.shop-strip a:hover{text-decoration:underline}
.range-section{padding-block:62px}
.range-section h2,.featured-section h2{font-size:clamp(2.2rem,4.5vw,3.5rem);margin:0 0 10px;line-height:1.06}
.featured-section{padding-bottom:64px}
.featured-section .range-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.category-art{background:linear-gradient(145deg,#edf0e8,#dce5d5);height:130px}
.product-art{height:100%;min-height:240px}
.art-picket span{border:0;background:repeating-linear-gradient(90deg,#b18b63 0 10px,transparent 10px 16px);border-bottom:7px solid #856444}
.art-boards-rails span{transform:rotate(-12deg);height:47px}
.art-composite span{background:repeating-linear-gradient(#52635c 0 12px,#334942 12px 15px);border-color:#334942}
.art-concrete span{width:58px;background:#c9c2af;border-color:#8c8573}
.price-note{color:#4e5c51;font-size:.91rem;max-width:62ch}
@media(max-width:850px){.featured-section .range-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hero-inner{grid-template-columns:1fr}.hero-copy{padding-block:39px}.featured-section .range-grid{gap:12px}.featured-section .range-copy{padding:14px}.shop-strip .wrap{gap:7px 14px}}
