/* CSP Landing Pages – shared styles for rebuilt category landing pages.
   Wrap page content in <div class="csp-lp alignfull"> … </div>.
   Colors match the Blocksy theme palette (Rubik, near-black headings, warm sand, copper accent). */
body .csp-lp{--ink:#0D0E16;--text:#333333;--muted:#6E6E75;--line:#E6E0D8;--bg:#F5F2EE;--cream:#F4E7D6;--accent:#A9531A;--accent-dark:#8A4314;--accent-soft:#D98664;--radius:10px;
	color:var(--text);font-size:17px;line-height:1.6;
	width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;float:none!important;box-sizing:border-box!important;
	padding-left:max(16px,calc((100% - 1240px) / 2))!important;padding-right:max(16px,calc((100% - 1240px) / 2))!important}
body .csp-lp *{box-sizing:border-box}
body .csp-lp img{max-width:100%;height:auto;margin:0}
body .csp-lp br{display:none}
body .csp-lp p:empty{display:none}
body .csp-lp ul,body .csp-lp ol{margin-left:0}

/* Headings – never touch WooCommerce product titles */
body .csp-lp h1,body .csp-lp h2:not(.woocommerce-loop-product__title),body .csp-lp h3:not(.woocommerce-loop-product__title){font-family:inherit;text-transform:none;color:var(--ink);font-weight:700}
body .csp-lp h1{font-size:clamp(30px,4.2vw,46px);line-height:1.12;margin:0 0 14px;letter-spacing:-.5px}
body .csp-lp h2:not(.woocommerce-loop-product__title){font-size:clamp(24px,3vw,32px);line-height:1.2;margin:0 0 12px;letter-spacing:-.3px}
body .csp-lp h3:not(.woocommerce-loop-product__title){font-size:20px;line-height:1.3;margin:0 0 8px}
body .csp-lp p{margin:0 0 14px}
body .csp-lp a:not(.woocommerce-LoopProduct-link):not(.button):not(.add_to_cart_button):not(.btn):not(.tile){color:var(--accent);text-decoration:underline;text-underline-offset:2px}
body .csp-lp a:not(.woocommerce-LoopProduct-link):not(.button):not(.add_to_cart_button):not(.btn):not(.tile):hover{color:var(--accent-dark)}

/* Sections */
body .csp-lp section{padding:44px 0;margin:0!important;border-top:1px solid var(--line)}
body .csp-lp section:first-of-type{border-top:0}
body .csp-lp .lead{font-size:19px;color:var(--muted);max-width:760px}

/* Buttons */
body .csp-lp .btn{display:inline-block;background:var(--accent);color:#fff!important;text-decoration:none!important;font-weight:700;padding:13px 22px;border-radius:6px;margin:6px 10px 6px 0;border:2px solid var(--accent);transition:background .15s,border-color .15s}
body .csp-lp .btn:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
body .csp-lp .btn.ghost{background:#fff;color:var(--ink)!important;border-color:var(--ink)}
body .csp-lp .btn.ghost:hover{background:var(--ink);color:#fff!important}

/* Hero */
body .csp-lp .hero{display:grid;grid-template-columns:1.05fr 1fr;gap:36px;align-items:center;padding-top:28px}
body .csp-lp .hero img{width:100%;height:auto;border-radius:var(--radius);display:block;aspect-ratio:4/3;object-fit:cover}
body .csp-lp .checks{list-style:none;padding:0;margin:14px 0 18px}
body .csp-lp .checks li{padding-left:28px;position:relative;margin:6px 0}
body .csp-lp .checks li:before{content:"";position:absolute;left:0;top:7px;width:16px;height:9px;border-left:3px solid var(--accent);border-bottom:3px solid var(--accent);transform:rotate(-45deg)}

/* Trust strip */
body .csp-lp .trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:var(--bg);border-radius:var(--radius);padding:18px;margin-top:26px}
body .csp-lp .trust div{font-size:14.5px;color:var(--muted)}
body .csp-lp .trust strong{display:block;color:var(--ink);font-size:16px}

/* Category tiles */
body .csp-lp .tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:18px}
body .csp-lp .tile{display:block;text-decoration:none!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:box-shadow .15s,transform .15s}
body .csp-lp .tile:hover{box-shadow:0 8px 24px rgba(13,14,22,.09);transform:translateY(-2px)}
body .csp-lp .tile img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
body .csp-lp .tile div{padding:14px 16px 16px}
body .csp-lp .tile h3{font-size:18px;margin:0 0 4px}
body .csp-lp .tile p{font-size:14.5px;color:var(--muted);margin:0}
body .csp-lp .tile .go{display:inline-block;margin-top:8px;font-weight:700;color:var(--accent);font-size:14.5px}

/* Product shelves */
body .csp-lp .shelf-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:8px}
body .csp-lp .shelf-head a{font-weight:700;white-space:nowrap}
body .csp-lp .shelf{margin-bottom:34px}

/* Build steps */
body .csp-lp .build{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}
body .csp-lp ol.steps{counter-reset:s;list-style:none;padding:0;margin:0}
body .csp-lp ol.steps li{counter-increment:s;position:relative;padding:0 0 18px 52px}
body .csp-lp ol.steps li:before{content:counter(s);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
body .csp-lp ol.steps h3{margin-bottom:2px}
body .csp-lp ol.steps p{margin:0;color:var(--muted);font-size:15.5px}

/* Calculator / buying tool */
body .csp-lp .calc{background:var(--bg);border-radius:var(--radius);padding:22px}
body .csp-lp .calc h3{margin-bottom:4px}
body .csp-lp .calc .sub{font-size:15px;color:var(--muted);margin:0 0 6px}
body .csp-lp .calc label{display:block;font-weight:700;font-size:14.5px;margin:12px 0 4px;color:var(--ink)}
body .csp-lp .calc input,body .csp-lp .calc select{width:100%;padding:10px 12px;border:1px solid #CFC8BE;border-radius:6px;font-size:16px;background:#fff;color:var(--ink);font-family:inherit}
body .csp-lp .calc .row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body .csp-lp .calc .secs{margin-top:6px}
body .csp-lp .calc .sec{display:grid;grid-template-columns:1.3fr .8fr .8fr auto;gap:8px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px;margin-top:8px}
body .csp-lp .calc .sec label{margin:0 0 4px;font-size:13px}
body .csp-lp .calc .sec .x{background:none;border:0;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;padding:8px 4px}
body .csp-lp .calc .sec .x:hover{color:var(--accent)}
body .csp-lp .calc .add{background:none;border:1px dashed #BDB4A8;border-radius:6px;color:var(--ink);font-weight:700;font-size:14.5px;padding:9px 14px;margin-top:10px;cursor:pointer;font-family:inherit}
body .csp-lp .calc .add:hover{border-color:var(--ink)}
body .csp-lp .calc .out{margin-top:16px;background:#fff;border:2px solid var(--ink);border-radius:8px;padding:14px 16px}
body .csp-lp .calc .out .big{font-size:30px;font-weight:800;line-height:1.1;color:var(--ink)}
body .csp-lp .calc .out .sm{font-size:14.5px;color:var(--muted);margin-top:4px}
body .csp-lp .calc .out ul{list-style:none;padding:0;margin:10px 0 0;font-size:15px}
body .csp-lp .calc .out li{padding:4px 0;border-top:1px solid var(--line)}
body .csp-lp .calc .alert{background:var(--cream);border-left:4px solid var(--accent);border-radius:0 6px 6px 0;padding:10px 12px;margin-top:10px;font-size:14.5px;color:var(--ink)}
body .csp-lp .calc .note{font-size:13.5px;color:var(--muted);margin:10px 0 0}

/* Comparison table */
body .csp-lp .tbl-wrap{overflow-x:auto}
body .csp-lp .tbl{width:100%;border-collapse:collapse;font-size:15.5px;margin-top:10px}
body .csp-lp .tbl th,body .csp-lp .tbl td{border-bottom:1px solid var(--line);padding:11px 10px;text-align:left;vertical-align:top}
body .csp-lp .tbl th{background:var(--bg);font-size:14px;text-transform:uppercase;letter-spacing:.4px;color:var(--ink)}

/* Code / spec cards */
body .csp-lp .code{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:14px}
body .csp-lp .code > div{border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:#fff}
body .csp-lp .code .num{font-size:28px;font-weight:800;color:var(--accent);line-height:1}
body .csp-lp .warn{border-left:4px solid var(--accent);background:var(--cream);padding:12px 16px;border-radius:0 8px 8px 0;margin-top:18px;font-size:15.5px;color:var(--ink)}

/* Gallery */
body .csp-lp .gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}
body .csp-lp .gallery img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;display:block}

/* Guide */
body .csp-lp .guide{max-width:820px}
body .csp-lp .guide h3{margin-top:22px}
body .csp-lp .byline{font-size:14.5px;color:var(--muted);margin-bottom:16px}

/* FAQ */
body .csp-lp .faq details{border:1px solid var(--line);border-radius:8px;margin:0 0 10px;background:#fff}
body .csp-lp .faq summary{cursor:pointer;font-weight:700;color:var(--ink);padding:15px 44px 15px 18px;list-style:none;position:relative}
body .csp-lp .faq summary::-webkit-details-marker{display:none}
body .csp-lp .faq summary:after{content:"+";position:absolute;right:18px;top:11px;font-size:24px;color:var(--accent)}
body .csp-lp .faq details[open] summary:after{content:"\2013"}
body .csp-lp .faq details div{padding:0 18px 14px;color:var(--text)}

/* CTA band */
body .csp-lp .cta{background:var(--ink);color:#fff;border-radius:var(--radius);padding:34px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:10px 0 40px}
body .csp-lp .cta h2{color:#fff!important;margin:0 0 6px}
body .csp-lp .cta p{color:#CFC8BE;margin:0}
body .csp-lp .cta .btn.ghost{background:transparent;color:#fff!important;border-color:#fff}
body .csp-lp .cta .btn.ghost:hover{background:#fff;color:var(--ink)!important}

/* Related links */
body .csp-lp .related{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
body .csp-lp .related a{border:1px solid var(--line);border-radius:30px;padding:8px 16px;text-decoration:none!important;color:var(--ink)!important;font-size:15px;background:#fff}
body .csp-lp .related a:hover{border-color:var(--ink)}

@media (max-width:980px){
	body .csp-lp .hero,body .csp-lp .build{grid-template-columns:1fr}
	body .csp-lp .tiles,body .csp-lp .gallery{grid-template-columns:repeat(2,1fr)}
	body .csp-lp .trust{grid-template-columns:repeat(2,1fr)}
	body .csp-lp .code{grid-template-columns:1fr}
}
@media (max-width:520px){
	body .csp-lp{font-size:16px}
	body .csp-lp .tiles{gap:12px}
	body .csp-lp .tile div{padding:10px 12px 12px}
	body .csp-lp .tile h3{font-size:16px}
	body .csp-lp .tile p{display:none}
	body .csp-lp .calc .row2{grid-template-columns:1fr}
	body .csp-lp .calc .sec{grid-template-columns:1fr 1fr auto}
	body .csp-lp .calc .sec .type{grid-column:1 / -1}
	body .csp-lp .cta{padding:24px}
}

/* Inside WooCommerce category pages (content blocks above/below the product grid) */
body .csp-lp.csp-cat-before,body .csp-lp.csp-cat-after{padding-left:0!important;padding-right:0!important}
body .csp-lp.csp-cat-before section:first-of-type{padding-top:8px}
body .csp-lp.csp-cat-after{margin-top:40px!important;border-top:1px solid var(--line)}
body .csp-lp .tiles.six{grid-template-columns:repeat(6,1fr)}
body .csp-lp .tiles.six .tile h3{font-size:16px}
body .csp-lp .tiles.six .tile p{font-size:13.5px}
@media (max-width:1100px){body .csp-lp .tiles.six{grid-template-columns:repeat(3,1fr)}}
@media (max-width:520px){body .csp-lp .tiles.six{grid-template-columns:repeat(2,1fr)}}
body .csp-lp .sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:14px}
body .csp-lp .sizes > div{border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:#fff}
body .csp-lp .sizes .num{font-size:24px;font-weight:800;color:var(--accent);line-height:1.1;margin-bottom:6px}
@media (max-width:980px){body .csp-lp .sizes{grid-template-columns:1fr}}

/* Compact "shop by type" strip (category pages) */
body .csp-lp .typestrip{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:4px 0 8px}
body .csp-lp .typestrip a{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px 10px 6px 6px;text-decoration:none!important;color:var(--ink)!important;font-weight:700;font-size:14px;line-height:1.25;transition:border-color .15s,box-shadow .15s}
body .csp-lp .typestrip a:hover{border-color:var(--ink);box-shadow:0 4px 12px rgba(13,14,22,.08)}
body .csp-lp .typestrip img{width:52px;height:52px;object-fit:cover;border-radius:6px;flex:0 0 52px}
body .csp-lp .typestrip small{display:block;font-weight:400;color:var(--muted);font-size:12.5px}
body .csp-lp .strip-title{font-size:13px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
@media (max-width:1100px){body .csp-lp .typestrip{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){body .csp-lp .typestrip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}body .csp-lp .typestrip a{flex:0 0 72%;scroll-snap-align:start}}

/* Compact guide: collapsible subsections */
body .csp-lp .guide details{border-top:1px solid var(--line);padding:0}
body .csp-lp .guide details:last-of-type{border-bottom:1px solid var(--line)}
body .csp-lp .guide summary{cursor:pointer;list-style:none;font-weight:700;color:var(--ink);font-size:17px;padding:13px 36px 13px 0;position:relative}
body .csp-lp .guide summary::-webkit-details-marker{display:none}
body .csp-lp .guide summary:after{content:"+";position:absolute;right:4px;top:8px;font-size:22px;color:var(--accent)}
body .csp-lp .guide details[open] summary:after{content:"\2013"}
body .csp-lp .guide details > div{padding:0 0 12px}
body .csp-lp .cols{display:grid;grid-template-columns:1.2fr 1fr;gap:36px;align-items:start}
body .csp-lp .sizes.compact{grid-template-columns:1fr;gap:8px;margin-top:8px}
body .csp-lp .sizes.compact > div{display:flex;gap:14px;align-items:baseline;padding:10px 14px}
body .csp-lp .sizes.compact .num{font-size:17px;flex:0 0 120px;margin:0}
body .csp-lp .sizes.compact p{margin:0;font-size:14.5px}
body .csp-lp ol.steps.row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
body .csp-lp ol.steps.row li{padding:44px 0 0 0}
body .csp-lp ol.steps.row li:before{top:0}
body .csp-lp .csp-cat-after section,body .csp-lp.csp-cat-after section{padding:30px 0}
@media (max-width:980px){body .csp-lp .cols{grid-template-columns:1fr;gap:10px}body .csp-lp ol.steps.row{grid-template-columns:1fr 1fr}}
@media (max-width:520px){body .csp-lp ol.steps.row{grid-template-columns:1fr}body .csp-lp .sizes.compact > div{display:block}}
