/* GetOutlets look on Cart / Checkout / My Account / CartFlows pages.
 * The page body there is still rendered by Astra + WooCommerce (and your Code Snippets),
 * so this file only:
 *  1) shields the GetOutlets header, footer and pop-up from Astra's generic button/input styles,
 *  2) gives the page the GetOutlets fonts and background,
 *  3) recolours the main WooCommerce buttons to the GetOutlets red (shape/size/function untouched).
 */

/* 1) Header / footer / pop-up keep their own look */
body.go-woo :is(.go-header,.go-footer,.go-vip) img{max-width:100%;height:auto;display:block}
body.go-woo :is(.go-header,.go-footer,.go-vip) button{font:inherit}
body.go-woo .go-header .go-logo__img{height:84px;width:auto}
body.go-woo .go-header.is-scrolled .go-logo__img{height:56px}
@media (max-width:749px){body.go-woo .go-header .go-logo__img{height:58px}}
body.go-woo .go-header a,body.go-woo .go-footer a{color:inherit}
body.go-woo .go-header .go-icon-btn,
body.go-woo .go-search .go-icon-btn{padding:0;min-height:0;border:0;border-radius:50%;background:none;box-shadow:none;color:var(--go-text);line-height:1;text-transform:none;letter-spacing:normal}
body.go-woo .go-header .go-icon-btn:hover,body.go-woo .go-header .go-icon-btn:focus,
body.go-woo .go-search .go-icon-btn:hover,body.go-woo .go-search .go-icon-btn:focus{background:var(--go-grey);color:var(--go-text);border-color:transparent}
body.go-woo .go-header svg{display:block}
body.go-woo .go-search__form input[type=search]{height:auto;padding:12px 18px;border:1px solid var(--go-line);border-radius:999px;box-shadow:none;background:#fff;color:var(--go-text);font:inherit}
body.go-woo .go-footer__title{margin:0;font-size:24px;line-height:1.1;font-weight:700;color:var(--go-text)}
body.go-woo .go-footer__form input[type=email]{height:auto;padding:0;border:0;border-radius:0;box-shadow:none;background:none;color:var(--go-text);font:inherit;font-size:16px}
body.go-woo .go-footer__form button{padding:0;min-height:0;border:0;border-radius:50%;background:none;color:var(--go-text);box-shadow:none}
body.go-woo .go-footer__form button:hover,body.go-woo .go-footer__form button:focus{background:var(--go-grey);color:var(--go-text)}
body.go-woo .go-pay{margin:0;padding:0}
body.go-woo .go-pay__i{margin:0}
body.go-woo .go-footer__bottom{color:var(--go-muted)}
body.go-woo .go-toast a{color:#fff}

/* 2) Page canvas */
body.go-woo{background:var(--go-grey)}
body.go-woo #page{background:transparent}
body.go-woo #content{padding-top:40px;padding-bottom:72px}
body.go-woo .entry-title,body.go-woo .entry-header .entry-title{font-family:var(--go-font);font-weight:700;letter-spacing:-.02em;color:var(--go-text)}

/* 3) Main WooCommerce buttons: GetOutlets red (colour only) */
body.go-woo .woocommerce a.button.alt,
body.go-woo .woocommerce button.button.alt,
body.go-woo .woocommerce input.button.alt,
body.go-woo .woocommerce #respond input#submit.alt,
body.go-woo a.checkout-button,
body.go-woo #place_order,
body.go-woo .wc-block-cart__submit-button,
body.go-woo .wc-block-components-checkout-place-order-button,
body.go-woo .woocommerce-account .woocommerce-form-login__submit,
body.go-woo .woocommerce-account .woocommerce-form-register__submit{background-color:var(--go-btn);border-color:var(--go-btn);color:#fff}
body.go-woo .woocommerce a.button.alt:hover,
body.go-woo .woocommerce button.button.alt:hover,
body.go-woo .woocommerce input.button.alt:hover,
body.go-woo a.checkout-button:hover,
body.go-woo #place_order:hover,
body.go-woo .wc-block-cart__submit-button:hover,
body.go-woo .wc-block-components-checkout-place-order-button:hover,
body.go-woo .woocommerce-account .woocommerce-form-login__submit:hover,
body.go-woo .woocommerce-account .woocommerce-form-register__submit:hover{background-color:var(--go-btn-h);border-color:var(--go-btn-h);color:#fff}

/* Prices in the cart: sale price red, old price black (same as the shop) */
body.go-woo .woocommerce del,body.go-woo .wc-block-components-product-price__regular{color:var(--go-text)}
body.go-woo .woocommerce ins,body.go-woo .wc-block-components-product-price__value.is-discounted{color:var(--go-red);text-decoration:none}

/* My Account: tidy card look (links and forms keep their normal behaviour) */
body.go-woo.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;border:1px solid var(--go-line);border-radius:16px;background:#fff}
body.go-woo.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;border:0}
body.go-woo.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;border-radius:10px;text-decoration:none;color:var(--go-text)}
body.go-woo.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:var(--go-grey)}
body.go-woo.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--go-text);color:#fff}
body.go-woo.woocommerce-account .woocommerce-MyAccount-content,
body.go-woo.woocommerce-account form.woocommerce-form-login,
body.go-woo.woocommerce-account form.woocommerce-form-register{background:#fff;border:1px solid var(--go-line);border-radius:16px;padding:24px}
