/*
Theme Name: AMF Platform 3.2
Theme URI: https://dfwcarbattery.com/
Author: AMF Affordable Car Batteries
Description: A mobile-first WordPress theme for a local reconditioned car battery retailer, featuring a lightning-lion hero, click-to-call/text actions, battery selector, reviews, and local SEO markup.
Version: 3.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: amf-batteries
*/
:root{--amf-gold:#ffc400;--amf-yellow:#ffd52a;--amf-red:#e21f26;--amf-black:#050505;--amf-panel:#111;--amf-line:#5d4900;--amf-text:#f7f7f7;--amf-muted:#bdbdbd;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#050505;color:var(--amf-text);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(var(--max),calc(100% - 36px));margin:auto}.screen-reader-text{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;background:#fff;color:#000;padding:10px;z-index:9999}
.topbar{border-bottom:1px solid #272727;background:#020202;font-size:.85rem}.topbar .wrap{display:flex;justify-content:space-between;gap:18px;padding:9px 0;color:#eee}.topbar strong{color:var(--amf-yellow)}
.site-header{position:sticky;top:0;z-index:100;background:rgba(3,3,3,.96);border-bottom:1px solid #262626;backdrop-filter:blur(10px)}.header-inner{min-height:84px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;min-width:235px}.brand-mark{font-weight:1000;font-style:italic;line-height:.78}.brand-amf{display:block;color:var(--amf-yellow);font-size:2.65rem;letter-spacing:-3px;text-shadow:2px 2px 0 #5f4100}.brand-affordable{display:block;font-size:1rem;letter-spacing:1px}.brand-batteries{display:block;color:var(--amf-red);font-size:.8rem;letter-spacing:3px}.primary-nav{margin-left:auto}.primary-nav ul{display:flex;align-items:center;gap:20px;list-style:none;margin:0;padding:0}.primary-nav a{font-size:.82rem;font-weight:800;text-transform:uppercase}.primary-nav a:hover{color:var(--amf-yellow)}.header-actions{display:flex;gap:9px}.menu-toggle{display:none;background:none;border:1px solid #555;color:#fff;padding:9px 12px;border-radius:5px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:5px;padding:14px 20px;font-weight:900;text-transform:uppercase;letter-spacing:.2px;cursor:pointer;transition:.2s transform,.2s filter}.btn:hover{transform:translateY(-2px);filter:brightness(1.08)}.btn-gold{background:var(--amf-yellow);color:#080808}.btn-red{background:var(--amf-red);color:#fff}.btn-dark{background:#090909;color:#fff;border:1px solid var(--amf-gold)}.btn-sm{padding:10px 14px;font-size:.78rem}
.hero{position:relative;overflow:hidden;isolation:isolate;min-height:650px;background:#060606}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.93) 36%,rgba(5,5,5,.42) 62%,rgba(5,5,5,.2) 100%);z-index:-1}.hero-art{position:absolute;z-index:-2;right:0;top:0;width:66%;height:100%;object-fit:cover;object-position:center center;filter:contrast(1.08) saturate(1.08)}.hero-inner{padding:92px 0 70px;max-width:670px}.eyebrow{color:var(--amf-yellow);font-weight:900;text-transform:uppercase;letter-spacing:.5px}.hero h1{font-size:clamp(3rem,6vw,5.5rem);line-height:.94;text-transform:uppercase;margin:14px 0 20px;font-weight:1000;font-style:italic;letter-spacing:-2px}.hero h1 span{color:var(--amf-yellow)}.hero p{font-size:1.15rem;color:#ececec;max-width:620px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.trust-row{display:flex;flex-wrap:wrap;gap:22px;margin-top:30px;padding-top:22px;border-top:2px solid var(--amf-red)}.trust-row span{font-weight:800;font-size:.9rem}.trust-row b{color:var(--amf-yellow);margin-right:5px}.spark{animation:pulse 2.2s infinite}@keyframes pulse{0%,100%{filter:drop-shadow(0 0 2px #ffc400)}50%{filter:drop-shadow(0 0 12px #ffc400)}}
.section{padding:72px 0}.section-dark{background:#0a0a0a}.section-title{text-align:center;margin:0 0 34px;text-transform:uppercase;font-style:italic;font-size:clamp(2rem,4vw,3.2rem)}.section-title span{color:var(--amf-yellow)}.battery-finder{margin-top:-28px;position:relative;z-index:5}.finder-box{background:linear-gradient(180deg,#121212,#090909);border:1px solid var(--amf-line);border-radius:10px;padding:24px;box-shadow:0 16px 40px #000}.finder-grid{display:grid;grid-template-columns:1.2fr repeat(4,1fr) auto;gap:12px;align-items:end}.finder-intro h2{margin:0;text-transform:uppercase;font-style:italic;line-height:1}.finder-intro h2 span{color:var(--amf-yellow)}.finder-intro p{color:var(--amf-muted);margin:8px 0 0;font-size:.9rem}.field label{display:block;font-size:.78rem;font-weight:800;margin-bottom:7px}.field select,.field input,.field textarea{width:100%;background:#191919;color:#fff;border:1px solid #303030;padding:14px;border-radius:4px}.finder-note{font-size:.78rem;color:#aaa;margin:12px 0 0}.feature-grid{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid var(--amf-line);border-radius:8px;overflow:hidden}.feature{padding:28px 16px;text-align:center;background:#111;border-right:1px solid #4b3d00}.feature:last-child{border-right:0}.feature-icon{font-size:2rem;color:var(--amf-yellow)}.feature h3{font-size:1rem;text-transform:uppercase;font-style:italic;margin:10px 0 5px}.feature p{color:#c7c7c7;font-size:.83rem;margin:0}
.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.product{background:#111;border:1px solid var(--amf-line);border-radius:8px;padding:18px;text-align:center}.battery-graphic{height:110px;margin:0 auto 16px;position:relative;width:145px;background:linear-gradient(#242424,#090909);border-radius:5px;border:2px solid #3b3b3b;box-shadow:0 8px 18px #000}.battery-graphic:before,.battery-graphic:after{content:"";position:absolute;top:-10px;width:22px;height:12px;background:#b7b7b7;border-radius:3px}.battery-graphic:before{left:22px}.battery-graphic:after{right:22px;background:#d72b2b}.battery-label{position:absolute;left:14px;right:14px;top:38px;background:#0c0c0c;border:1px solid var(--amf-yellow);color:var(--amf-yellow);font-weight:1000;padding:8px 2px;font-style:italic}.product h3{text-transform:uppercase;font-size:1rem;margin:0}.product p{color:#bbb;font-size:.86rem}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.review{border:1px solid var(--amf-line);background:#101010;border-radius:8px;padding:23px}.stars{color:var(--amf-yellow);letter-spacing:2px}.review blockquote{margin:12px 0;color:#ddd}.review cite{color:#aaa;font-style:normal;font-weight:700}.split{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.panel{background:#111;border:1px solid var(--amf-line);border-radius:10px;padding:30px}.checklist{list-style:none;padding:0}.checklist li{margin:12px 0}.checklist li:before{content:"✓";color:var(--amf-yellow);font-weight:900;margin-right:10px}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px}.contact-list{list-style:none;padding:0}.contact-list li{margin:13px 0}.notice{padding:12px;border-radius:5px;margin-bottom:15px}.notice-success{background:#0d351b;border:1px solid #2a7b42}.notice-error{background:#4a1111;border:1px solid #9f3333}.site-footer{background:#020202;border-top:1px solid #292929;padding:38px 0 90px;color:#aaa}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}.site-footer h3{color:#fff}.site-footer a:hover{color:var(--amf-yellow)}.copyright{border-top:1px solid #222;margin-top:25px;padding-top:20px;font-size:.82rem}.mobile-bar{display:none}
@media(max-width:1050px){.primary-nav{display:none}.menu-toggle{display:block;margin-left:auto}.primary-nav.open{display:block;position:absolute;left:0;right:0;top:84px;background:#050505;padding:18px}.primary-nav.open ul{display:block}.primary-nav.open li{padding:10px}.header-actions{display:none}.finder-grid{grid-template-columns:1fr 1fr 1fr}.finder-intro{grid-column:1/-1}.feature-grid{grid-template-columns:repeat(3,1fr)}.feature:nth-child(3){border-right:0}.feature:nth-child(-n+3){border-bottom:1px solid #4b3d00}.product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.topbar .wrap{display:block;text-align:center}.topbar .wrap span:last-child{display:none}.header-inner{min-height:72px}.brand{min-width:auto}.brand-amf{font-size:2rem}.brand-affordable{font-size:.78rem}.brand-batteries{font-size:.62rem}.hero{min-height:690px}.hero:before{background:linear-gradient(180deg,rgba(5,5,5,.3),#050505 72%)}.hero-art{width:100%;height:58%;object-position:center top;opacity:.78}.hero-inner{padding-top:330px}.hero h1{font-size:2.8rem}.hero-buttons .btn{width:100%}.trust-row{gap:12px}.finder-grid{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr 1fr}.feature{border-bottom:1px solid #4b3d00}.feature:nth-child(odd){border-right:1px solid #4b3d00}.feature:nth-child(even){border-right:0}.product-grid,.reviews-grid,.split,.contact-grid,.footer-grid{grid-template-columns:1fr}.mobile-bar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;left:0;right:0;z-index:200;background:#050505;border-top:1px solid #444}.mobile-bar a{text-align:center;padding:13px 5px;font-weight:900;font-size:.75rem;text-transform:uppercase}.mobile-bar a:nth-child(1){background:var(--amf-yellow);color:#000}.mobile-bar a:nth-child(2){background:var(--amf-red)}.section{padding:52px 0}}

.battery-product-image{display:block;width:100%;height:165px;object-fit:cover;object-position:center;border-radius:5px;margin:0 auto 16px;background:#090909}

/* AMF 2.0 additions */
.doctor-section{background:radial-gradient(circle at 50% 0,rgba(245,196,0,.12),transparent 45%),#08090b;padding:70px 0}.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.health-card{background:#15171b;border:1px solid #2b2f36;border-radius:16px;padding:24px}.health-card h3{color:#f5c400}.battery-product-image{width:100%;height:210px;object-fit:cover;border-radius:12px;margin-bottom:16px}.hero-art{object-fit:cover;object-position:center}.warranty-section{padding:70px 0;background:#111318}@media(max-width:760px){.health-grid{grid-template-columns:1fr}.battery-product-image{height:180px}}

/* AMF 2.1 product-card correction */
.section-lead{max-width:760px;margin:-20px auto 32px;text-align:center;color:#c5c5c5}
.product{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:460px;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.product:hover{transform:translateY(-7px);border-color:var(--amf-gold);box-shadow:0 18px 38px rgba(0,0,0,.55),0 0 24px rgba(255,196,0,.12)}
.product-image-wrap{position:relative;height:250px;padding:18px;background:radial-gradient(circle at 50% 45%,#262626 0,#111 44%,#070707 78%);border-bottom:1px solid var(--amf-line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-image-wrap:after{content:"";position:absolute;left:18%;right:18%;bottom:22px;height:15px;background:rgba(0,0,0,.72);filter:blur(10px);border-radius:50%}
.product-badge{position:absolute;z-index:3;top:13px;left:13px;background:var(--amf-yellow);color:#080808;padding:6px 9px;border-radius:4px;font-size:.67rem;font-weight:1000;text-transform:uppercase;letter-spacing:.5px}
.battery-product-image{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;object-position:center;margin:0;background:transparent;border-radius:0;transition:transform .25s ease,filter .25s ease;mix-blend-mode:screen}
.product:hover .battery-product-image{transform:scale(1.08);filter:drop-shadow(0 0 13px rgba(255,196,0,.35))}
.product-copy{padding:22px 18px 20px;display:flex;flex-direction:column;flex:1;align-items:center}
.product h3{font-size:1.08rem;margin:0 0 9px;line-height:1.25}
.product p{margin:0 0 20px;flex:1}
.product .btn{width:100%;max-width:230px}
@media(max-width:1050px){.product{min-height:430px}.product-image-wrap{height:230px}}
@media(max-width:720px){.product{min-height:auto}.product-image-wrap{height:270px}.battery-product-image{height:100%}}


/* AMF 2.2 category-card artwork and layout */
.section-dark#batteries{background:linear-gradient(180deg,#090909,#050505)}
.section-dark#batteries .wrap{width:min(1480px,calc(100% - 34px))}
.section-dark#batteries .section-title{margin-bottom:22px}
.product-grid{gap:16px}
.product{min-height:500px;background:linear-gradient(180deg,#101010,#090909);border-color:#715900}
.product-image-wrap{height:285px;padding:36px 20px 15px;background:radial-gradient(circle at 50% 52%,#292929 0,#131313 48%,#080808 78%)}
.product-image-wrap:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,213,42,.045),transparent 38%);pointer-events:none}
.product-image-wrap:after{left:16%;right:16%;bottom:18px;height:20px;filter:blur(13px)}
.battery-product-image{width:96%;height:96%;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 17px 14px rgba(0,0,0,.85))}
.product:hover .battery-product-image{transform:scale(1.065);filter:drop-shadow(0 17px 14px rgba(0,0,0,.85)) drop-shadow(0 0 12px rgba(255,196,0,.25))}
.product-badge{top:16px;left:16px;padding:8px 12px;font-size:.72rem;border-radius:5px;box-shadow:0 4px 12px rgba(0,0,0,.35)}
.product-copy{padding:24px 20px 24px}
.product h3{font-size:1.16rem}
.product p{font-size:.93rem;line-height:1.55}
.product .btn{color:var(--amf-yellow);font-size:.86rem}
.product .btn:hover{background:var(--amf-yellow);color:#050505}
@media(max-width:1180px){.product-grid{grid-template-columns:repeat(3,1fr)}.product-image-wrap{height:300px}}
@media(max-width:760px){.section-dark#batteries .wrap{width:min(100% - 24px,1480px)}.product-grid{grid-template-columns:1fr}.product{min-height:auto}.product-image-wrap{height:310px}.battery-product-image{width:94%;height:94%}}


/* AMF Platform 3.2 — Snap It realistic-lion edition */
.amf-snap-hero{min-height:590px;border-bottom:1px solid #3f3200;background:#030303}
.amf-snap-hero .hero-art{width:68%;object-position:center center}
.amf-snap-hero:before{background:linear-gradient(90deg,#030303 0%,rgba(3,3,3,.98) 31%,rgba(3,3,3,.72) 47%,rgba(3,3,3,.12) 76%,rgba(3,3,3,.04) 100%)}
.amf-snap-hero .hero-inner{padding:42px 0 32px;max-width:650px}
.amf-snap-hero h1{font-size:clamp(3.2rem,5.5vw,5.8rem);margin:8px 0 12px;line-height:.88}
.amf-snap-hero h1 span{display:block}
.amf-snap-hero h1 .white-line{color:#fff}
.amf-snap-hero p{max-width:610px;margin:0;font-size:1.08rem}
.hero-trust{display:flex;gap:28px;margin:22px 0 8px;align-items:flex-start}
.hero-trust span{display:flex;gap:8px;font-size:1.4rem;color:var(--amf-yellow)}
.hero-trust b{font-size:.78rem;line-height:1.2;text-transform:uppercase;color:#fff}
.amf-snap-hero .hero-buttons{margin:20px 0 10px}
.amf-snap-hero .btn{min-width:245px;line-height:1.05;font-size:1rem}
.amf-snap-hero .btn strong{font-size:1.3rem}
.response-note{font-size:.82rem;color:#eee;padding-left:84px}
.benefit-strip{background:linear-gradient(180deg,#151515,#070707);border-top:1px solid #292929;border-bottom:1px solid #292929}
.benefit-grid{display:grid;grid-template-columns:repeat(5,1fr)}
.benefit-grid span{text-align:center;text-transform:uppercase;font-size:.75rem;font-weight:900;padding:14px 8px;border-right:1px solid #252525}
.benefit-grid span:last-child{border-right:0}
.battery-categories{padding-top:24px;padding-bottom:34px}
.battery-categories .section-title{font-size:2rem;margin-bottom:6px;font-style:normal}
.battery-categories .section-lead{margin:0 auto 18px;font-size:.82rem}
.battery-categories .product{min-height:0;border-radius:5px;padding:0}
.battery-categories .product-image-wrap{height:190px;padding:28px 12px 8px}
.battery-categories .product-copy{padding:12px 12px 10px}
.battery-categories .product h3{font-size:.95rem;margin-bottom:4px}
.battery-categories .product p{font-size:.78rem;line-height:1.25;margin-bottom:10px}
.battery-categories .product .btn{padding:8px 10px;font-size:.7rem}
.snap-explainer{background:radial-gradient(circle at 80% 50%,rgba(255,196,0,.10),transparent 34%),#080808}
.snap-explainer h2{font-size:clamp(2.3rem,5vw,4.5rem);text-transform:uppercase;font-style:italic;line-height:.95;margin:8px 0 18px}
.snap-card{text-align:center;background:linear-gradient(145deg,#171717,#080808);box-shadow:0 20px 50px #000}
.snap-phone{font-size:5rem}.snap-card h3{text-transform:uppercase;margin:5px 0}.snap-number{font-size:clamp(2rem,5vw,4rem);font-weight:1000;color:var(--amf-yellow)}
.site-footer{padding-bottom:110px}
.mobile-bar{grid-template-columns:repeat(4,1fr)}
.mobile-bar a:nth-child(3){background:var(--amf-yellow);color:#000}.mobile-bar a:nth-child(4){background:#111;color:#fff}
@media(min-width:721px){.mobile-bar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:200;background:#050505;border-top:1px solid #444}.mobile-bar a{text-align:center;padding:12px 5px;font-weight:900;font-size:.78rem;text-transform:uppercase}.mobile-bar a:nth-child(1){background:var(--amf-yellow);color:#000}.mobile-bar a:nth-child(2){background:var(--amf-red)}.mobile-bar a:nth-child(3){background:var(--amf-yellow);color:#000}.mobile-bar a:nth-child(4){background:#111}}
@media(max-width:900px){.benefit-grid{grid-template-columns:repeat(3,1fr)}.benefit-grid span{border-bottom:1px solid #252525}.amf-snap-hero .hero-art{width:100%;opacity:.78}.amf-snap-hero:before{background:linear-gradient(180deg,rgba(3,3,3,.15),#030303 58%)}.amf-snap-hero .hero-inner{padding-top:320px}.hero-trust{flex-wrap:wrap}.response-note{padding-left:0}}
@media(max-width:720px){.amf-snap-hero{min-height:auto}.amf-snap-hero .hero-art{height:360px;object-position:60% top}.amf-snap-hero .hero-inner{padding-top:340px}.amf-snap-hero h1{font-size:2.75rem}.amf-snap-hero .btn{width:100%;min-width:0}.hero-trust{gap:13px}.benefit-grid{grid-template-columns:1fr 1fr}.benefit-grid span{font-size:.66rem}.battery-categories .product-image-wrap{height:260px}.mobile-bar a{font-size:.62rem;padding:11px 3px}}
