/*
Theme Name: SPM Trades — Blocksy Child
Theme URI: https://spmtrades.com/
Description: Custom Stock Pitching Machine design for the Blocksy parent theme. Includes WooCommerce-friendly homepage and flyer artwork.
Author: Godzilla Trades, LLC
Template: blocksy
Version: 1.2.0
Text Domain: spm-trades
Requires PHP: 7.4
*/
:root{--spm-navy:#04162c;--spm-blue:#082b4c;--spm-cyan:#24d5ed;--spm-lime:#a5f52a;--spm-white:#fff}
body.home{background:var(--spm-navy)}
.spm-site{color:var(--spm-white);background:linear-gradient(160deg,#04162c 0%,#082b4c 50%,#04162c 100%);font-family:inherit}
.spm-site *{box-sizing:border-box}.spm-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.spm-hero{position:relative;overflow:hidden;isolation:isolate;padding:82px 0 90px;background:radial-gradient(ellipse at 77% 30%,#0b7891 0%,transparent 42%)}
.spm-hero::after{content:"";position:absolute;inset:auto 0 0;height:5px;background:linear-gradient(90deg,transparent,var(--spm-lime),transparent)}
.spm-hero-grid{display:grid;grid-template-columns:1.13fr .87fr;align-items:center;gap:32px}
.spm-kicker{color:var(--spm-cyan);font-weight:800;letter-spacing:.17em;text-transform:uppercase;font-size:.82rem;margin-bottom:16px}
.spm-hero h1{color:#fff;font-weight:900;line-height:1.06;letter-spacing:-.04em;font-size:clamp(2.8rem,6vw,5.8rem);margin:0 0 22px}
.spm-hero h1 span,.spm-section h2 span{color:var(--spm-lime)}
.spm-lead{font-size:clamp(1.08rem,2vw,1.45rem);line-height:1.5;color:#e6f4ff;max-width:650px;margin:0 0 26px}
.spm-hero p.spm-small{color:#b6d5e5;max-width:590px;line-height:1.7}
.spm-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.spm-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:9px;font-weight:800;text-decoration:none!important;transition:transform .2s,background .2s}
.spm-btn:hover{transform:translateY(-2px)}.spm-btn-primary{background:var(--spm-lime);color:#04162c!important}.spm-btn-outline{border:1px solid var(--spm-cyan);color:#fff!important;background:#05233d}
.spm-bull-wrap{position:relative}.spm-bull{width:100%;max-height:550px;object-fit:contain;filter:drop-shadow(0 12px 40px #00d7ff50);border-radius:22px}
.spm-section{padding:80px 0}.spm-section h2{font-size:clamp(2rem,4vw,3.3rem);color:#fff;letter-spacing:-.035em;line-height:1.16;margin:0 0 18px}
.spm-section-intro{color:#b9d3e4;max-width:760px;line-height:1.75;margin:0 0 36px}
.spm-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.spm-feature{padding:28px;border:1px solid #1b6680;border-radius:16px;background:linear-gradient(145deg,#0b3150,#061c35);box-shadow:0 12px 30px #0002}
.spm-feature-icon{font-size:2rem;line-height:1.3;color:var(--spm-lime);margin-bottom:12px}.spm-feature h3{color:#fff;font-size:1.2rem;margin:0 0 12px}.spm-feature p{color:#c2d8e6;line-height:1.65;margin:0}
.spm-band{background:#08243d;border-block:1px solid #1b6078}.spm-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.spm-step-number{font-size:2rem;font-weight:900;color:var(--spm-lime)}.spm-step h3{color:#fff;margin:8px 0}.spm-step p{color:#c2d8e6;line-height:1.65}
.spm-cta{padding:46px;border:1px solid #287c90;border-radius:20px;background:linear-gradient(110deg,#0b3554,#062139);display:flex;align-items:center;justify-content:space-between;gap:30px}
.spm-cta h2{margin:0 0 10px}.spm-cta p{color:#c2d8e6;margin:0}.spm-flyer{max-width:340px;width:100%;height:auto;border-radius:12px;border:1px solid #2b7186}
.spm-two-col{display:grid;grid-template-columns:1fr 340px;gap:42px;align-items:center}
.spm-disclosure{font-size:.85rem;color:#9cb5c7;line-height:1.7;margin-top:24px}.spm-editable{padding:24px 0;color:#e4f3fa}.spm-editable a{color:var(--spm-lime)}
@media(max-width:900px){.spm-hero-grid,.spm-two-col{grid-template-columns:1fr}.spm-hero{padding:55px 0}.spm-bull-wrap{max-width:530px;margin:auto}.spm-features{grid-template-columns:repeat(2,1fr)}.spm-steps{grid-template-columns:1fr}.spm-cta{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.spm-container{width:min(100% - 28px,1180px)}.spm-section{padding:52px 0}.spm-features{grid-template-columns:1fr}.spm-cta{padding:25px}.spm-hero h1{font-size:clamp(2.65rem,11vw,4rem)}}
@media(prefers-reduced-motion:reduce){.spm-btn{transition:none}.spm-btn:hover{transform:none}}

/* SPM brand header and WooCommerce refinement – v1.1 */
body.spm-branded{background:#04162c;color:#e7f4ff}
.spm-skip{position:absolute;left:-9999px;top:0;z-index:9999;background:#a5f52a;color:#04162c;padding:12px}
.spm-skip:focus{left:12px}
.spm-header{position:relative;z-index:50;background:linear-gradient(90deg,#031326,#082b4c);border-bottom:1px solid #176078;box-shadow:0 8px 30px #0004}
.spm-header-inner{display:flex;align-items:center;gap:26px;min-height:96px}
.spm-brand{display:flex;align-items:center;gap:12px;min-width:250px;text-decoration:none!important;color:white!important}
.spm-brand-mark{width:64px;height:64px;object-fit:contain}
.spm-brand-text strong{font-weight:900;font-style:italic;font-size:20px;letter-spacing:.015em;line-height:1.02;display:block}
.spm-brand-text em{color:#a5f52a;font-style:italic;font-size:26px}
.spm-brand-text small{display:block;color:#c5d8e6;font-size:11px;font-style:italic;margin-top:5px}
.spm-custom-logo{max-width:290px;max-height:78px;width:auto;height:auto}
.spm-desktop-nav{margin-left:auto}.spm-menu{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}
.spm-menu li{margin:0;list-style:none}.spm-menu a,.spm-account-link{color:#e4f4ff!important;text-decoration:none!important;font-size:14px;font-weight:700;white-space:nowrap}
.spm-menu a:hover,.spm-account-link:hover,.spm-footer a:hover{color:#a5f52a!important}
.spm-header-actions{display:flex;align-items:center;gap:16px}.spm-header-cta{background:#a5f52a;color:#04162c!important;padding:11px 18px;border-radius:7px;font-weight:900;text-decoration:none!important;white-space:nowrap}
.spm-header-cta:hover{background:#c5ff67}.spm-mobile-nav{display:none}
.spm-footer{background:#031326;border-top:1px solid #176078;color:#d1e4ef;padding:40px 0 22px}
.spm-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.spm-footer strong{color:white;font-size:19px}.spm-footer strong span{color:#a5f52a}.spm-footer p{font-size:13px;margin:5px 0}.spm-footer a{color:#d1e4ef;text-decoration:none;margin-left:18px;font-size:14px}.spm-footer-risk{border-top:1px solid #17445d;padding-top:18px;margin-top:24px;font-size:12px;color:#a8c2d1}
/* Keep WooCommerce usable and visually consistent without replacing its templates. */
body.woocommerce-page #main,body.woocommerce-page main#primary,body.woocommerce-page .site-main{color:#eaf6ff}
body.woocommerce-page .ct-container,body.woocommerce-page .site-content{--theme-text-color:#eaf6ff;--theme-link-initial-color:#24d5ed}
.woocommerce .woocommerce-breadcrumb,.woocommerce .woocommerce-result-count,.woocommerce .product_meta{color:#b5d0e0!important}
.woocommerce ul.products li.product,.woocommerce div.product .woocommerce-tabs,.woocommerce form.checkout,.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-cart .cart_totals{background:#092944;border:1px solid #205c76;border-radius:12px;padding:20px;color:#eaf6ff}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce div.product .product_title,.woocommerce-page h1,.woocommerce-page h2,.woocommerce-page h3{color:#fff}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:#a5f52a!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt{background:#a5f52a!important;color:#04162c!important;border-radius:7px!important;font-weight:800!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#c6ff72!important}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info{background:#0b3554;color:#eaf6ff;border-top-color:#a5f52a}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce-page input.input-text{background:#fff!important;color:#142338!important;border:1px solid #82a4b7!important;border-radius:5px;padding:10px}
.woocommerce table.shop_table{border-color:#285a72;color:#eaf6ff}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:#285a72}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0 0 10px}.woocommerce-account .woocommerce-MyAccount-navigation a{color:#24d5ed}
@media(max-width:1120px){.spm-header-inner{gap:14px}.spm-menu{gap:12px}.spm-brand{min-width:220px}.spm-brand-text strong{font-size:17px}.spm-brand-text em{font-size:23px}.spm-account-link{display:none}}
@media(max-width:980px){.spm-desktop-nav,.spm-header-actions{display:none}.spm-header-inner{min-height:78px}.spm-mobile-nav{display:block;margin-left:auto;position:relative}.spm-mobile-nav summary{list-style:none;cursor:pointer;color:#fff;border:1px solid #3a7891;border-radius:8px;padding:9px 12px;font-weight:700}.spm-mobile-nav summary::-webkit-details-marker{display:none}.spm-mobile-nav nav{position:absolute;right:0;top:calc(100% + 10px);background:#06213b;border:1px solid #24657d;border-radius:12px;padding:16px;min-width:240px;box-shadow:0 15px 30px #0008}.spm-mobile-nav .spm-menu{display:flex;flex-direction:column;align-items:stretch;gap:15px}.spm-mobile-account{display:block;margin-top:18px;color:#a5f52a!important}.spm-footer-inner{align-items:flex-start;flex-direction:column}.spm-footer a{margin:0 16px 0 0}}
@media(max-width:520px){.spm-brand{min-width:0}.spm-brand-mark{width:46px;height:46px}.spm-brand-text strong{font-size:14px}.spm-brand-text em{font-size:19px}.spm-brand-text small{font-size:9px}.spm-custom-logo{max-width:210px}.spm-mobile-nav summary span{display:none}}
