/*
Theme Name: PegFrame Recovery
Version: 0.1.0
Text Domain: pegframe
*/
:root{--ink:#141b24;--red:#ad242b;--muted:#59606b;--line:#e5e7e9}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#fff}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,.button,input[type=submit]{cursor:pointer}
img{max-width:100%;height:auto}
.wrap{width:min(100% - 48px,1360px);margin:auto}
.announcement{height:44px;background:#131a23;color:white;text-align:center;font-size:12px;display:flex;align-items:center;justify-content:center}
.site-header{position:relative;z-index:10;background:#f5f5f5}
.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:flex;align-items:center;flex:none}
.brand img{width:280px;max-height:64px;object-fit:contain;object-position:left}
.primary-nav{display:flex;align-items:center;gap:48px;font-size:14px;font-weight:600}
.header-actions{display:flex;align-items:center;gap:22px}
.icon-link{border:0;background:none;padding:8px;position:relative;display:inline-flex;align-items:center}
.icon-link svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
.cart-count{position:absolute;top:0;right:0;background:var(--red);color:#fff;border-radius:50%;font-size:10px;min-width:16px;text-align:center}
.menu-toggle{display:none}
.nav-dropdown{display:none;position:absolute;top:100%;left:0;right:0;background:white;box-shadow:0 14px 25px #0002;padding:30px 0}
.nav-group:hover .nav-dropdown,.nav-group:focus-within .nav-dropdown{display:block}
.nav-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.nav-grid a{padding:6px 0;display:block}
.nav-grid a:hover,.footer-links a:hover{color:var(--red)}
.hero{height:min(620px,58vw);min-height:430px;border-radius:8px;overflow:hidden;position:relative;background:#131313}
.hero img{width:100%;height:100%;object-fit:cover}
.hero:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#0008)}
.hero-content{position:absolute;z-index:1;bottom:48px;left:5%;right:5%;color:white;display:flex;justify-content:space-between;align-items:end;gap:24px}
h1,h2,h3,p{margin-top:0}
.hero h1{font-size:clamp(35px,4.5vw,72px);line-height:1.02;max-width:730px;margin:0;letter-spacing:0}
.pill{border:1px solid var(--red);border-radius:30px;padding:14px 22px;display:inline-flex;gap:18px;align-items:center;color:var(--red);font-size:14px;background:white;white-space:nowrap}
.pill:hover{color:white;background:var(--red)}
.intro{display:grid;grid-template-columns:40% 1fr;gap:60px;padding:75px 0 70px}
.intro h2{font-size:clamp(32px,3vw,52px);line-height:1.05}
.intro h3{font-size:30px}
.intro p{line-height:1.7;color:var(--muted)}
.section{padding:60px 0}
.section h2{font-size:40px}
.product-grid,.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}
.product-card{min-width:0}
.product-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#f7f7f7;border-radius:8px}
.product-card h3{font-size:16px;line-height:1.4;margin:14px 0 8px}
.product-card .price{color:var(--red);font-weight:600}
.dark-band{background:#131a23;color:#fff;padding:130px 0;margin-top:50px}
.dark-band h2{max-width:650px;font-size:46px;line-height:1.1}
.dark-band p{max-width:650px;line-height:1.7}
.feature-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.feature-tiles img{aspect-ratio:1.15;object-fit:cover;border-radius:8px}
.feature-tiles h3{font-size:24px;text-align:center;margin:18px 0}
.feature-tiles .pill{display:table;margin:auto}
.stats{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;gap:20px;padding:90px 0}
.stats strong{font-size:46px;display:block}
.footer-features{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:60px 0;text-align:center}
.footer-features strong{display:block;margin-bottom:10px}
.footer-features small{color:var(--muted)}
.site-footer{background:#131a23;color:white;padding:70px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:40px}
.footer-grid h3{font-size:24px}
.footer-links{display:grid;gap:12px;font-size:14px;color:#cbd0d4}
.footer-bottom{border-top:1px solid #ffffff22;margin-top:65px;padding:25px 0;font-size:12px;color:#cbd0d4}
.page-title{padding:50px 0 25px;font-size:44px}
.page-content{line-height:1.7;min-height:55vh;padding-bottom:80px}
.page-content img{max-width:100%}
.collection-description{line-height:1.6;max-width:760px;color:var(--muted)}
.woocommerce .products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;margin:32px 0!important}
.woocommerce .products:before,.woocommerce .products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}
.woocommerce ul.products li.product img{aspect-ratio:1;object-fit:contain;background:#f6f6f6;border-radius:8px}
.woocommerce ul.products li.product .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:var(--red);color:#fff;border-radius:24px;padding:13px 22px}
.woocommerce div.product{padding:50px 0}
.woocommerce div.product div.images img{max-height:680px;object-fit:contain}
.woocommerce div.product .product_title{font-size:38px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--red)}
.woocommerce .quantity .qty{min-height:44px}
.woocommerce div.product form.cart .variations select{min-height:44px;padding:8px}
.woocommerce div.product .woocommerce-tabs{padding-top:60px}
.woocommerce .woocommerce-breadcrumb{padding-top:24px}
.contact-form{display:grid;gap:16px;max-width:650px}
.contact-form input,.contact-form textarea{border:1px solid #ccc;padding:14px;width:100%}
.contact-form label{font-weight:600}
.contact-form textarea{min-height:150px}
.contact-form button{border:0;background:var(--red);color:white;padding:14px 25px;width:max-content}
@media(max-width:800px){
 .wrap{width:min(100% - 32px,1360px)}
 .header-inner{height:68px}
 .brand img{width:170px}
 .menu-toggle{display:inline-flex}
 .primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:18px;flex-direction:column;align-items:stretch;gap:0;max-height:75vh;overflow:auto;box-shadow:0 12px 20px #0002}
 .primary-nav.open{display:flex}
 .primary-nav>a,.nav-group>button{padding:15px 5px;border:0;background:none;text-align:left;font-weight:600;width:100%}
 .nav-dropdown{position:static;box-shadow:none;padding:0}
 .nav-group:hover .nav-dropdown{display:none}
 .nav-group.open .nav-dropdown{display:block}
 .nav-grid{grid-template-columns:repeat(2,1fr);font-size:13px}
 .header-actions{gap:5px}
 .hero{height:580px;min-height:0}
 .hero-content{bottom:26px;display:block}
 .hero h1{font-size:42px;margin-bottom:25px}
 .intro{grid-template-columns:1fr;gap:20px;padding:55px 0}
 .product-grid,.collection-grid,.woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .feature-tiles{grid-template-columns:1fr}
 .stats,.footer-features{grid-template-columns:repeat(2,1fr)}
 .footer-grid{grid-template-columns:repeat(2,1fr)}
 .footer-grid>div:first-child{grid-column:span 2}
 .page-title{font-size:34px}
}
@media(max-width:420px){
 .brand img{width:145px}
 .hero{height:520px}
 .hero h1{font-size:36px}
 .section h2,.dark-band h2{font-size:32px}
 .footer-grid{gap:25px}
}
