/* Winged Solar Configurator: WooCommerce styling to match wingedsolar.com (loaded site-wide, scoped to WooCommerce markup). */
:root{
  --wsc-orange:#E88A24; --wsc-orange-dark:#D17B1D; --wsc-blue:#3398BE; --wsc-navy:#2E6583;
  --wsc-ink:#242424; --wsc-muted:#7A7A7A; --wsc-line:#DADADA; --wsc-soft:#F3F6F8; --wsc-cream:#FDF8EF;
}
body.woocommerce .site-content,body.woocommerce-page .site-content{font-family:"Montserrat",Arial,sans-serif;color:var(--wsc-ink)}
body.woocommerce-page .entry-title,body.woocommerce .page-title,body.woocommerce-page .woocommerce-products-header__title{font-family:"Montserrat",Arial,sans-serif;font-weight:700;font-size:clamp(32px,4vw,48px);color:var(--wsc-ink)}
body.woocommerce .site-content h1,body.woocommerce .site-content h2,body.woocommerce .site-content h3,body.woocommerce-page .site-content h2,body.woocommerce-page .site-content h3{font-family:"Montserrat",Arial,sans-serif;color:var(--wsc-ink);font-weight:600}

/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce-page #payment #place_order,.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-page a.button,.woocommerce-page button.button,.woocommerce div.product form.cart .button,.woocommerce .single_add_to_cart_button,
.woocommerce-mini-cart__buttons a.button,.wc-block-components-button:not(.is-link),.wp-block-button__link.add_to_cart_button{
  background:var(--wsc-orange)!important;color:#fff!important;border:0!important;border-radius:10px!important;
  font-family:"Montserrat",Arial,sans-serif!important;font-weight:600!important;text-transform:uppercase;letter-spacing:.02em;
  padding:16px 24px!important;transition:background .15s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce-page a.button:hover,.woocommerce-page button.button:hover,.woocommerce .single_add_to_cart_button:hover,.wc-block-components-button:not(.is-link):hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce-page #payment #place_order:hover,.woocommerce .wc-proceed-to-checkout a.checkout-button:hover{background:var(--wsc-orange-dark)!important;color:#fff!important}
.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{opacity:.55}

/* Tables and totals */
.woocommerce table.shop_table{border:1px solid var(--wsc-line)!important;border-radius:10px!important;border-collapse:separate;overflow:hidden;font-family:"Montserrat",Arial,sans-serif}
.woocommerce table.shop_table th{background:var(--wsc-soft);color:var(--wsc-ink);font-weight:600}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--wsc-line)!important}
.woocommerce table.shop_table .product-name a{color:var(--wsc-ink);font-weight:600;text-decoration:none}
.woocommerce table.shop_table .product-name a:hover{color:var(--wsc-orange)}
.woocommerce td.product-name dl.variation{margin:6px 0 0;font-size:13px;color:var(--wsc-muted);display:grid;grid-template-columns:auto 1fr;gap:2px 8px}
.woocommerce td.product-name dl.variation dt{font-weight:600;color:var(--wsc-ink);margin:0}
.woocommerce td.product-name dl.variation dd{margin:0}
.woocommerce td.product-name dl.variation dd p{margin:0}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:#fff}
.woocommerce .cart_totals h2{font-size:22px}
.woocommerce ul#shipping_method li label,.woocommerce-shipping-totals td{font-size:14px;color:var(--wsc-ink)}
.woocommerce .order-total .amount{font-size:22px;font-weight:700}
.woocommerce .coupon{display:none!important} /* no coupons in Phase 1 */

/* Forms */
.woocommerce form .form-row label{font-family:"Montserrat",Arial,sans-serif;font-weight:500;font-size:14px;color:var(--wsc-ink)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single{border:1px solid var(--wsc-line)!important;border-radius:9px!important;background:#fff;font-family:"Montserrat",Arial,sans-serif;font-size:15px;min-height:46px;padding:10px 12px;box-shadow:none}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{line-height:24px;padding-left:0}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{height:44px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{border-color:var(--wsc-blue)!important;outline:2px solid rgba(51,152,190,.25)}

/* Project questions: segmented radios */
.wsc-project-fields{clear:both;background:var(--wsc-soft);border-radius:10px;padding:20px 24px;margin:24px 0}
.wsc-project-fields h3{margin:0 0 12px;font-size:20px}
.wsc-project-fields .form-row{padding:0;margin:0 0 14px}
.wsc-project-fields .wsc-seg .woocommerce-input-wrapper{display:inline-flex;flex-wrap:wrap;border:1.5px solid var(--wsc-line);border-radius:9px;overflow:hidden;background:#fff}
.wsc-project-fields .wsc-seg input.input-radio{position:absolute;opacity:0;width:1px;height:1px}
.wsc-project-fields .wsc-seg label.radio{display:inline-block!important;margin:0!important;padding:9px 18px;cursor:pointer;font-size:14px;font-weight:500;border-right:1px solid var(--wsc-line)}
.wsc-project-fields .wsc-seg label.radio:last-of-type{border-right:0}
.wsc-project-fields .wsc-seg input.input-radio:checked + label.radio{background:var(--wsc-navy);color:#fff}
.wsc-project-fields .wsc-seg input.input-radio:focus-visible + label.radio{outline:3px solid var(--wsc-blue);outline-offset:-3px}
.wsc-project-fields .wsc-seg > label:first-child{display:block;margin-bottom:6px}

/* Consultation / next-steps box */
.wsc-consult{border:1.5px dashed var(--wsc-navy);border-radius:10px;padding:16px 18px;margin:18px 0;background:#fff;font-family:"Montserrat",Arial,sans-serif;font-size:14px}
.wsc-consult p{margin:0 0 8px}
.wsc-consult p:last-child{margin-bottom:0}
.wsc-consult a{color:var(--wsc-navy);font-weight:600}
.wsc-consult-lead{color:var(--wsc-muted);font-size:13px}

/* Payment box */
.woocommerce-checkout #payment{background:var(--wsc-soft)!important;border-radius:10px}
.woocommerce-checkout #payment div.payment_box{background:#fff!important;border-radius:8px}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff!important}

/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:10px;font-family:"Montserrat",Arial,sans-serif;border-top-color:var(--wsc-orange)!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--wsc-orange)!important}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{color:var(--wsc-navy);font-weight:600}

/* Checkout refinements */
.woocommerce-form-coupon-toggle,.woocommerce-checkout .checkout_coupon{display:none!important} /* no coupons in Phase 1 */
.wsc-project-fields .wsc-seg label.radio .required,.wsc-project-fields .wsc-seg label.radio abbr{display:none}
.woocommerce-checkout-review-order-table td.product-name dl.variation{display:block}
.woocommerce-checkout-review-order-table td.product-name dl.variation dt{display:inline;float:none}
.woocommerce-checkout-review-order-table td.product-name dl.variation dd{display:inline;margin:0}
.woocommerce-checkout-review-order-table td.product-name dl.variation dd::after{content:"";display:block}

/* Consultation button (checkout): secondary navy so it doesn't compete with Place order */
.woocommerce .wsc-consult a.button.wsc-consult-btn{display:inline-block;background:var(--wsc-navy)!important;padding:12px 20px!important;font-size:13px;text-decoration:none!important}
.woocommerce .wsc-consult a.button.wsc-consult-btn:hover{background:var(--wsc-blue)!important}

/* Shop, archive and product pages */
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce div.product .product_title{font-family:"Montserrat",Arial,sans-serif;color:var(--wsc-ink);font-weight:600}
.woocommerce div.product .product_title{font-size:clamp(28px,3vw,40px);line-height:1.2}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce .amount{font-family:"Montserrat",Arial,sans-serif;color:var(--wsc-ink)!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{font-weight:700}
.woocommerce ul.products li.product .ast-woo-product-category,.woocommerce .product_meta,.woocommerce .woocommerce-breadcrumb,.woocommerce .woocommerce-result-count{font-family:"Montserrat",Arial,sans-serif;color:var(--wsc-muted)}
.woocommerce .product_meta a,.woocommerce div.product .single-product-category a,.woocommerce .woocommerce-breadcrumb a,.woocommerce ul.products li.product .ast-woo-product-category a{color:var(--wsc-navy)!important}
.woocommerce .product_meta a:hover,.woocommerce .woocommerce-breadcrumb a:hover{color:var(--wsc-orange)!important}
.woocommerce ul.products li.product .ast-on-card-button{background:var(--wsc-orange)!important;color:#fff!important;border-radius:10px!important}
.woocommerce ul.products li.product .ast-on-card-button:hover{background:var(--wsc-orange-dark)!important}
.woocommerce ul.products li.product .ast-on-card-button svg,.woocommerce ul.products li.product .ast-on-card-button .ahfb-svg-iconset{fill:#fff;color:#fff}
.woocommerce span.onsale,.woocommerce .ast-onsale-card{background:var(--wsc-orange)!important;color:#fff!important}
.woocommerce .quantity .qty,.woocommerce-ordering select{border:1px solid var(--wsc-line)!important;border-radius:9px!important;font-family:"Montserrat",Arial,sans-serif}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.woocommerce div.product form.cart .quantity .qty{min-height:52px;width:72px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--wsc-navy);color:#fff}
.woocommerce a.shipping-calculator-button,.woocommerce .woocommerce-shipping-destination a,.woocommerce-cart .cart_totals a{color:var(--wsc-navy)!important}
