/* WooCommerce skin: cart, checkout (CheckoutWC "copify"), my-account, single product.
   Loaded only on those pages and only while the restyle is active. Visual only:
   no field, gateway, coupon or add-on behaviour is changed. */

/* Design tokens from the static site */
body.o30c-rs-shop{
  --o30c-primary:#0048c2;--o30c-primary-2:#0b5ef4;--o30c-cta:#fe8a10;--o30c-cta-hover:#ffb780;--o30c-cta-text:#2f1500;
  --o30c-ink:#191c1e;--o30c-ink-2:#424655;--o30c-line:#c3c6d8;--o30c-surface:#f7f9fc;--o30c-card:#ffffff;--o30c-soft:#f2f4f7;
  /* CheckoutWC variables */
  --cfw-body-background-color:#f7f9fc;--cfw-body-text-color:#191c1e;
  --cfw-body-font-family:Inter,system-ui,sans-serif;--cfw-heading-font-family:"Barlow Condensed",system-ui,sans-serif;
  --cfw-header-background-color:#f7f9fc;--cfw-footer-background-color:#f7f9fc;
  --cfw-cart-summary-background-color:#ffffff;--cfw-cart-summary-mobile-background-color:#ffffff;--cfw-cart-summary-text-color:#191c1e;--cfw-cart-summary-link-color:#0048c2;
  --cfw-body-link-color:#0048c2;
  --cfw-buttons-primary-background-color:#fe8a10;--cfw-buttons-primary-text-color:#2f1500;
  --cfw-buttons-primary-hover-background-color:#ffb780;--cfw-buttons-primary-hover-text-color:#2f1500;
  --cfw-buttons-secondary-background-color:#eceef1;--cfw-buttons-secondary-text-color:#191c1e;
  --cfw-buttons-secondary-hover-background-color:#e0e3e6;--cfw-buttons-secondary-hover-text-color:#191c1e;
  --cfw-cart-summary-item-quantity-background-color:#0048c2;--cfw-cart-summary-item-quantity-text-color:#ffffff;
  --cfw-breadcrumb-current-text-color:#0048c2;--cfw-breadcrumb-current-accent-color:#0048c2;
  --cfw-breadcrumb-completed-text-color:#424655;--cfw-breadcrumb-completed-accent-color:#424655;
  --cfw-breadcrumb-next-text-color:#5c6070;--cfw-breadcrumb-next-accent-color:#c3c6d8;
}

/* Typography */
body.o30c-rs-shop,body.o30c-rs-shop input,body.o30c-rs-shop select,body.o30c-rs-shop textarea,body.o30c-rs-shop button{font-family:Inter,system-ui,sans-serif}
body.o30c-rs-shop :is(h1,h2,h3,.product_title,.woocommerce-products-header__title,.cfw-module h3,.cfw-review-pane h3){font-family:"Barlow Condensed",system-ui,sans-serif!important;font-weight:700;letter-spacing:.01em;color:var(--o30c-ink)}
body.o30c-rs-shop h1,body.o30c-rs-shop .product_title{text-transform:uppercase}
body.o30c-rs-shop :is(.elementor-widget-text-editor,.woocommerce,.cfw-container,#cfw) a:not(.button):not(.cfw-primary-btn):not(.cfw-secondary-btn):not(.elementor-button){color:var(--o30c-primary)}
body.o30c-rs-shop :is(.woocommerce-Price-amount,.amount){font-family:Inter,system-ui,sans-serif}

/* Primary buttons = static site "Enroll Now" (orange, dark text) */
body.o30c-rs-shop :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .checkout-button,.single_add_to_cart_button,.woocommerce-form-login__submit,.woocommerce-form-register__submit,.woocommerce-Button,#place_order,.cfw-primary-btn,.wc-proceed-to-checkout a.checkout-button){
  background:var(--o30c-cta)!important;color:var(--o30c-cta-text)!important;border:0!important;border-radius:.25rem!important;
  font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;font-size:15px!important;line-height:20px!important;letter-spacing:.01em!important;text-transform:none!important;
  padding:12px 24px!important;box-shadow:0 1px 3px rgba(16,28,50,.06)!important;text-decoration:none!important;transition:background-color .15s ease}
body.o30c-rs-shop :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .checkout-button,.single_add_to_cart_button,.woocommerce-form-login__submit,.woocommerce-form-register__submit,.woocommerce-Button,#place_order,.cfw-primary-btn):is(:hover,:focus-visible){background:var(--o30c-cta-hover)!important;color:var(--o30c-cta-text)!important}
body.o30c-rs-shop :is(.woocommerce a.button,.woocommerce button.button,.single_add_to_cart_button,#place_order,.cfw-primary-btn):focus-visible{outline:2px solid var(--o30c-primary-2)!important;outline-offset:3px}
/* Secondary buttons (update cart, apply coupon, view, edit) */
body.o30c-rs-shop :is(.woocommerce button[name=update_cart],.woocommerce button[name=apply_coupon],.cfw-secondary-btn,.woocommerce-orders-table .button,.woocommerce-MyAccount-content .button.view){
  background:var(--o30c-soft)!important;color:var(--o30c-ink)!important;border:1px solid var(--o30c-line)!important;box-shadow:none!important}
body.o30c-rs-shop :is(.woocommerce button[name=update_cart],.woocommerce button[name=apply_coupon],.cfw-secondary-btn):hover{background:#e6e8eb!important}
body.o30c-rs-shop .woocommerce button.button:disabled,body.o30c-rs-shop .woocommerce button.button:disabled[disabled]{opacity:.55!important}

/* Form fields */
body.o30c-rs-shop :is(.woocommerce form .input-text,.woocommerce-Input,.woocommerce form select,.wc-pao-addon-select,.cfw-text-input input,.cfw-select-input select,#cfw input.input-text,#cfw select){
  border:1px solid var(--o30c-line)!important;border-radius:.25rem!important;background:#fff!important;color:var(--o30c-ink)!important;font-size:15px!important;box-shadow:none!important}
body.o30c-rs-shop :is(.woocommerce form .input-text,.woocommerce-Input,.woocommerce form select,.wc-pao-addon-select,#cfw input.input-text,#cfw select):focus{border-color:var(--o30c-primary-2)!important;outline:2px solid rgba(11,94,244,.25)!important;outline-offset:0}
body.o30c-rs-shop :is(.woocommerce form .form-row label,.wc-pao-addon-name,.woocommerce-form__label){font-weight:600;color:var(--o30c-ink);font-size:14px}

/* Notices */
body.o30c-rs-shop :is(.woocommerce-message,.woocommerce-info){border-top-color:var(--o30c-primary)!important;background:#fff!important;color:var(--o30c-ink)!important;border-radius:.25rem}
body.o30c-rs-shop :is(.woocommerce-message,.woocommerce-info)::before{color:var(--o30c-primary)!important}
body.o30c-rs-shop .woocommerce-error{border-top-color:#ba1a1a!important;background:#fff!important;border-radius:.25rem}

/* Cart */
body.o30c-rs-shop.woocommerce-cart table.shop_table th{font-family:Inter,system-ui,sans-serif;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--o30c-ink-2);background:var(--o30c-soft)}
body.o30c-rs-shop.woocommerce-cart .cart_totals h2{font-size:22px;text-transform:uppercase}
body.o30c-rs-shop.woocommerce-cart .order-total .amount{color:var(--o30c-ink);font-weight:700}

/* My account */
body.o30c-rs-shop.woocommerce-account :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword){background:#fff;border:1px solid var(--o30c-line)!important;border-radius:.5rem!important;padding:24px!important}
body.o30c-rs-shop.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--o30c-line);border-radius:.5rem;background:#fff;overflow:hidden}
body.o30c-rs-shop.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 16px;color:var(--o30c-ink)!important;font-weight:600;font-size:14px}
body.o30c-rs-shop.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--o30c-soft);color:var(--o30c-primary)!important}

/* Single product (incl. Buy 2 Get 1 Free, product 2508) */
body.o30c-rs-shop.single-product .summary .price{color:var(--o30c-ink)!important;font-family:"Barlow Condensed",system-ui,sans-serif;font-weight:700;font-size:32px!important}
body.o30c-rs-shop.single-product .summary .price del{color:#5c6070!important;opacity:1;font-size:.7em}
body.o30c-rs-shop.single-product .summary .price ins{text-decoration:none}
body.o30c-rs-shop.single-product .wc-pao-addon-container{margin-bottom:16px}
body.o30c-rs-shop.single-product .woocommerce-breadcrumb{font-size:13px;color:var(--o30c-ink-2)}
body.o30c-rs-shop.single-product .woocommerce-breadcrumb a{color:var(--o30c-primary)!important}
body.o30c-rs-shop.single-product .woocommerce-tabs ul.tabs li.active a{color:var(--o30c-primary)!important}

/* CheckoutWC (copify): keep its layout, align surfaces */
body.o30c-rs-shop #cfw :is(.cfw-panel,.cfw-module){border-color:var(--o30c-line)}
body.o30c-rs-shop #cfw .cfw-input-wrap label{color:var(--o30c-ink-2)}
body.o30c-rs-shop #cfw #cfw-totals-list .order-total .amount,body.o30c-rs-shop #cfw .cfw-totals-list .order-total .amount{color:var(--o30c-ink)!important}

/* Page canvas overrides (beats the existing CheckoutWC custom CSS background) */
body.o30c-rs-shop.page-id-1253,body.o30c-rs-shop.woocommerce-checkout{background-color:#f7f9fc!important}
body.o30c-rs-shop .elementor-1437 .elementor-heading-title{white-space:nowrap}
/* Sale badge and product meta */
body.o30c-rs-shop .onsale{background:var(--o30c-cta)!important;color:var(--o30c-cta-text)!important;font-family:Inter,system-ui,sans-serif;font-weight:700}
body.o30c-rs-shop.single-product .product_meta a,body.o30c-rs-shop.single-product .posted_in a{color:var(--o30c-primary)!important}
body.o30c-rs-shop.single-product ul.products li.product .price{color:var(--o30c-ink)!important}
body.o30c-rs-shop.single-product ul.products li.product .woocommerce-loop-product__title{font-family:"Barlow Condensed",system-ui,sans-serif!important}
/* My account container */
body.o30c-rs-shop.woocommerce-account .site-main{max-width:1200px;margin-left:auto;margin-right:auto;padding:32px 24px 48px}
body.o30c-rs-shop.woocommerce-account .woocommerce-form-login{max-width:560px}
@media (max-width:640px){body.o30c-rs-shop.woocommerce-account .site-main{padding:24px 16px 40px}}
html:has(body.o30c-rs-shop){--cfw-body-background-color:#f7f9fc}
body.o30c-rs-shop #cfw-cart-summary .elementor-heading-title,body.o30c-rs-shop .cfw-grid .elementor-heading-title{white-space:nowrap}
body.o30c-rs-shop :is(.vi-sctv-price del,.cfw-items-summary-item-discount del,.price del) :is(.amount,bdi){color:#a8150f!important}

/* Orange WooCommerce page banners (cart hero .elementor-element-224620c is #FF9100 → #F9733A).
   White title text fails WCAG AA (~2.2:1). Keep the orange, use #2f1500 — same pairing as the
   blog orange heroes and Enroll Now buttons. Applies to any similar shop-page banner that
   reuses this container or heading widget. */
body.o30c-rs-shop :is(.elementor-element-224620c,.elementor-element-21804a7) :is(h1,h2,p,span,a,.elementor-heading-title){color:#2f1500!important}
