/* Patriot Option 3 v2.2 — native WooCommerce shop archive, Astra Free compatible.
   Scoped to the shop only: product pages, cart, checkout, and Elementor are unaffected. */
body.pf3-shop-redesign{
 --pf3-arch-navy:#0b2244;--pf3-arch-deep:#061936;--pf3-arch-red:#bd1b2a;
 --pf3-arch-text:#142743;--pf3-arch-muted:#526278;--pf3-arch-border:#dbe2ec;
}
body.pf3-shop-redesign .site-content{background:linear-gradient(#fff 0 420px,#f7f8fb 420px 100%)}
body.pf3-shop-redesign .ast-woocommerce-container{max-width:1120px;width:100%;margin:0 auto}
body.pf3-shop-redesign .woocommerce-products-header__title.page-title,
body.pf3-shop-redesign .ast-archive-title{display:none!important}
/* Breadcrumbs are omitted only on the redesigned Shop page. WooCommerce's
   native breadcrumb action is also removed by PF3_Shop_Archive. */
body.pf3-shop-redesign .woocommerce-breadcrumb,
body.pf3-shop-redesign .ast-breadcrumbs-wrapper,
body.pf3-shop-redesign .ast-breadcrumbs,
body.pf3-shop-redesign .woocommerce-breadcrumb-wrapper{display:none!important;margin:0!important;padding:0!important}
body.pf3-shop-redesign .woocommerce-result-count,
body.pf3-shop-redesign .woocommerce-ordering{display:none!important}
body.pf3-shop-redesign .woocommerce-notices-wrapper{margin:0 0 10px}
body.pf3-shop-redesign #primary{padding-top:12px;padding-bottom:36px}
/* Dedicated shop banner, injected before WooCommerce's native product list */
body.pf3-shop-redesign .pf3-archive-hero,body.pf3-shop-redesign .pf3-archive-hero *{box-sizing:border-box}
body.pf3-shop-redesign .pf3-archive-hero{
 display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
 overflow:hidden;min-height:305px;border-radius:9px;color:#fff;
 background:radial-gradient(circle at 16% 5%,rgba(255,255,255,.08) 0 2px,transparent 3px),
 radial-gradient(circle at 47% 28%,rgba(255,255,255,.08) 0 1px,transparent 3px),
 linear-gradient(122deg,#071b3b 0%,#143969 62%,#1b4179 100%);
 background-size:125px 96px,172px 138px,auto;
 box-shadow:0 12px 28px rgba(5,29,65,.12);
 margin:0 0 30px;
}
body.pf3-shop-redesign .pf3-archive-hero-copy{padding:39px 37px 35px;min-width:0;align-self:center}
body.pf3-shop-redesign .pf3-archive-kicker{display:block;color:#d8e4f4;font:800 11px/1.5 Arial,sans-serif;letter-spacing:.16em}
body.pf3-shop-redesign .pf3-archive-hero h1{font-family:Arial,Helvetica,sans-serif;font-weight:900;letter-spacing:-.045em;font-size:clamp(35px,3.7vw,52px);line-height:1.07;color:#fff;margin:12px 0 15px;max-width:650px}
body.pf3-shop-redesign .pf3-archive-stroke{height:7px;width:127px;background:var(--pf3-arch-red);clip-path:polygon(0 15%,100% 0,96% 100%,0 80%);margin-bottom:15px}
body.pf3-shop-redesign .pf3-archive-hero p{font-size:16px;line-height:1.52;color:#e4eaf2;max-width:535px;margin:0 0 20px}
body.pf3-shop-redesign .pf3-archive-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
body.pf3-shop-redesign .pf3-archive-primary{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:4px;min-height:49px;padding:12px 20px;background:var(--pf3-arch-red);color:#fff!important;font:900 13px/1.3 Arial,sans-serif;letter-spacing:.04em;text-decoration:none}
body.pf3-shop-redesign .pf3-archive-primary:hover{background:#a71927;color:#fff}
body.pf3-shop-redesign .pf3-archive-help{color:#e2eaf5;text-decoration:none;font-size:13px;line-height:1.4;white-space:nowrap}
body.pf3-shop-redesign .pf3-archive-help strong{color:#fff}
body.pf3-shop-redesign .pf3-archive-photo{position:relative;min-height:285px;overflow:hidden;border-left:5px solid var(--pf3-arch-red)}
body.pf3-shop-redesign .pf3-archive-photo img{height:100%;width:100%;object-fit:cover;object-position:center;position:absolute;inset:0}
body.pf3-shop-redesign .pf3-archive-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,21,44,.75),transparent 40%);pointer-events:none}
body.pf3-shop-redesign .pf3-archive-photo>span{position:absolute;bottom:14px;left:16px;right:10px;z-index:1;color:#fff;font:900 10px/1.4 Arial,sans-serif;letter-spacing:.14em}
body.pf3-shop-redesign .pf3-archive-products-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:5px 0 18px;scroll-margin-top:90px}
body.pf3-shop-redesign .pf3-archive-products-head span{display:block;color:#b71b2a;font:bold 11px/1.4 Arial,sans-serif;letter-spacing:.15em}
body.pf3-shop-redesign .pf3-archive-products-head h2{font:900 34px/1.16 Arial,sans-serif;letter-spacing:-.04em;color:var(--pf3-arch-text);margin:6px 0 0}
body.pf3-shop-redesign .pf3-archive-products-head p{font-size:14px;line-height:1.5;color:var(--pf3-arch-muted);margin:0 0 3px;max-width:360px;text-align:right}
/* Native WooCommerce product cards (no fake cart forms). */
body.pf3-shop-redesign .ast-woocommerce-container ul.products,
body.pf3-shop-redesign .site-content ul.products,
body.pf3-shop-redesign ul.products{
 display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;gap:24px!important;
 padding:0!important;margin:0 0 28px!important;float:none!important;clear:both!important;list-style:none!important;
}
/* Ensure Astra's 3/4-column CSS cannot reduce our two product cards.
   The body class is set by this plugin and the select lives in Patriot Setup. */
body.pf3-shop-redesign.pf3-shop-columns-2 .ast-woocommerce-container ul.products,
body.pf3-shop-redesign.pf3-shop-columns-2 .ast-woocommerce-container ul.products.columns-4,
body.pf3-shop-redesign.pf3-shop-columns-2 .site-content ul.products{
 grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;
}
body.pf3-shop-redesign.pf3-shop-columns-1 .ast-woocommerce-container ul.products,
body.pf3-shop-redesign.pf3-shop-columns-1 .site-content ul.products{
 grid-template-columns:minmax(0,1fr)!important;
}
body.pf3-shop-redesign .ast-woocommerce-container ul.products:before,
body.pf3-shop-redesign .ast-woocommerce-container ul.products:after{display:none!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product,
body.pf3-shop-redesign .site-content ul.products li.product,
body.pf3-shop-redesign ul.products li.product{
 position:relative!important;display:flex!important;flex-direction:column!important;
 float:none!important;clear:none!important;width:100%!important;max-width:none!important;min-width:0!important;flex-basis:auto!important;box-sizing:border-box!important;
 margin:0!important;padding:0 0 23px!important;background:#fff!important;
 border:1px solid var(--pf3-arch-border)!important;border-radius:7px!important;
 overflow:hidden;box-shadow:0 5px 16px rgba(16,36,72,.06);text-align:left!important;
 transition:box-shadow .2s ease,transform .2s ease;
}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product:hover{box-shadow:0 12px 28px rgba(16,36,72,.12);transform:translateY(-2px)}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product a.woocommerce-LoopProduct-link,
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product a.ast-loop-product__link{display:block!important;text-decoration:none!important;flex:0 0 auto}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product img,
body.pf3-shop-redesign .site-content ul.products li.product img{
 display:block!important;width:100%!important;height:276px!important;max-height:none!important;
 object-fit:cover!important;object-position:center!important;border-radius:0!important;
 background:#edf1f5!important;margin:0 0 18px!important;padding:0!important;
}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product.pf3-archive-replacement img{object-fit:contain!important;background:#f4f6f9!important;padding:19px!important}
body.pf3-shop-redesign .pf3-archive-card-badge{position:absolute;top:14px;left:14px;z-index:2;color:#fff;background:var(--pf3-arch-navy);padding:9px 12px;border-radius:3px;font:900 11px/1.3 Arial,sans-serif;letter-spacing:.07em;box-shadow:0 3px 12px #0002}
body.pf3-shop-redesign .pf3-archive-main .pf3-archive-card-badge{background:var(--pf3-arch-red)}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .astra-shop-summary-wrap,
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .ast-woo-shop-product-summary{display:flex!important;flex-direction:column!important;flex:1!important;padding:0!important;margin:0!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .ast-woo-product-category{margin:0 23px 7px!important;color:#8a2734!important;font-size:12px!important;font-weight:800!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .woocommerce-loop-product__title,
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product h2.woocommerce-loop-product__title{font:900 24px/1.2 Arial,sans-serif!important;letter-spacing:-.025em!important;color:var(--pf3-arch-text)!important;padding:0!important;margin:2px 23px 9px!important;min-height:0!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .star-rating{margin:0 23px 9px!important;color:#d99b31!important;font-size:13px!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .pf3-archive-card-copy{margin:7px 23px 13px!important;font:400 14px/1.55 Arial,sans-serif!important;color:var(--pf3-arch-muted)!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .price{margin:7px 23px 14px!important;color:var(--pf3-arch-text)!important;font:900 23px/1.3 Arial,sans-serif!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product .price .amount{font-weight:900!important;color:var(--pf3-arch-text)!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product a.button,
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product button.button{
 display:inline-flex!important;align-items:center;justify-content:center;
 width:calc(100% - 46px)!important;min-height:53px!important;box-sizing:border-box!important;
 margin:auto 23px 0!important;padding:13px 18px!important;
 border-radius:4px!important;background:var(--pf3-arch-red)!important;color:#fff!important;
 font:900 14px/1.35 Arial,sans-serif!important;letter-spacing:.04em!important;text-align:center!important;
 border:0!important;box-shadow:none!important;white-space:normal!important;text-decoration:none!important;
}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product a.button:hover{background:#9f1723!important;color:#fff!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product a.added_to_cart{margin:10px 23px 0!important;font-weight:bold!important;color:var(--pf3-arch-red)!important}
body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product a:focus-visible,
body.pf3-shop-redesign .pf3-archive-hero a:focus-visible,
body.pf3-shop-redesign .pf3-archive-trust a:focus-visible{outline:3px solid #e0a733!important;outline-offset:3px!important}
/* Light reassurance strip directly under the two products */
body.pf3-shop-redesign .pf3-archive-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 25px;background:#ecf1f6;border:1px solid #dfe6ef;border-radius:6px;margin:3px 0 35px;clear:both}
body.pf3-shop-redesign .pf3-archive-trust-item{display:flex;gap:11px;align-items:center;min-width:0}
body.pf3-shop-redesign .pf3-archive-trust-icon{flex:0 0 35px;width:35px;height:35px;border-radius:50%;background:#fff;color:var(--pf3-arch-red);display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:900}
body.pf3-shop-redesign .pf3-archive-trust-item strong{display:block;color:var(--pf3-arch-text);font:900 13px/1.35 Arial,sans-serif;margin:0 0 3px}
body.pf3-shop-redesign .pf3-archive-trust-item span:last-child,
body.pf3-shop-redesign .pf3-archive-trust-item a{display:block;color:var(--pf3-arch-muted);font:400 12px/1.45 Arial,sans-serif;text-decoration:none}
body.pf3-shop-redesign .pf3-archive-trust-item a:hover{text-decoration:underline}
@media (max-width:900px){
 body.pf3-shop-redesign .pf3-archive-hero{grid-template-columns:minmax(0,1fr) minmax(230px,.65fr)}
 body.pf3-shop-redesign .pf3-archive-hero-copy{padding:28px}
 body.pf3-shop-redesign .pf3-archive-hero h1{font-size:37px}
 body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product img{height:240px!important}
 body.pf3-shop-redesign .pf3-archive-trust{padding:17px;gap:13px}
}
@media (max-width:680px){
 body.pf3-shop-redesign #primary{padding-top:10px}
 body.pf3-shop-redesign .pf3-archive-hero{grid-template-columns:1fr;margin:0 0 23px;border-radius:5px}
 body.pf3-shop-redesign .pf3-archive-hero-copy{padding:28px 23px 24px}
 body.pf3-shop-redesign .pf3-archive-hero h1{font-size:clamp(34px,9.2vw,43px);margin:8px 0 12px}
 body.pf3-shop-redesign .pf3-archive-hero p{font-size:15px}
 body.pf3-shop-redesign .pf3-archive-photo{min-height:180px;max-height:195px;border-left:0;border-top:4px solid var(--pf3-arch-red)}
 body.pf3-shop-redesign .pf3-archive-hero-actions{gap:12px}
 body.pf3-shop-redesign .pf3-archive-products-head{display:block;margin-bottom:16px}
 body.pf3-shop-redesign .pf3-archive-products-head h2{font-size:29px}
 body.pf3-shop-redesign .pf3-archive-products-head p{text-align:left;margin-top:6px;font-size:13px}
 body.pf3-shop-redesign .ast-woocommerce-container ul.products,
 body.pf3-shop-redesign .site-content ul.products,
 body.pf3-shop-redesign ul.products,
 body.pf3-shop-redesign.pf3-shop-columns-1 .ast-woocommerce-container ul.products,
 body.pf3-shop-redesign.pf3-shop-columns-2 .ast-woocommerce-container ul.products,
 body.pf3-shop-redesign.pf3-shop-columns-2 .ast-woocommerce-container ul.products.columns-4,
 body.pf3-shop-redesign.pf3-shop-columns-1 .site-content ul.products,
 body.pf3-shop-redesign.pf3-shop-columns-2 .site-content ul.products{
  grid-template-columns:minmax(0,1fr)!important;gap:18px!important
 }
 body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product img{height:275px!important}
 body.pf3-shop-redesign .pf3-archive-trust{grid-template-columns:1fr;gap:16px;padding:19px;margin-bottom:22px}
}
@media (prefers-reduced-motion:reduce){body.pf3-shop-redesign .ast-woocommerce-container ul.products li.product{transition:none!important;transform:none!important}}
