/* =============================================================
   ANIMAL FRIEND — INTEGRACION DEL HEADER AF EN TODO EL SITIO
   El header de AF (assets/ricky/header.html + assets/css/af-header.css)
   se imprime via alvanet_af_header() en wp_body_open.
   Este archivo solo: oculta el header de Astra y compensa el layout.
   ============================================================= */

body {
	--af-green-dark: #0f382c;
	--af-green: #00bc49;
	--af-orange: #ee7200;
	--af-orange-dark: #d86200;
	--af-border: #edf2f0;
	--af-bg-soft: #f6f8f7;
	--af-muted: #8fa69d;
}

/* ---------- OCULTAR EL HEADER DE ASTRA ---------- */
#masthead,
.ast-hfb-header,
.site-header.header-main-layout-1 {
	display: none !important;
}

/* ---------- COMPENSAR EL ESPACIO QUE DEJABA ASTRA ---------- */
body:not(.af-pet-shop-page) .site-content,
body:not(.af-pet-shop-page) #content,
body:not(.af-pet-shop-page) .ast-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* El header AF es fijo en el flujo normal; la pagina arranca debajo. */
.af-site-header-wrap {
	position: relative !important;
	z-index: 99999 !important;
	width: 100% !important;
}

/* ---------- TARJETAS DE PRODUCTO: estilo AF en todo el sitio ---------- */
body:not(.af-pet-shop-page) .sp-wqv-view-button,
body:not(.af-pet-shop-page) .button.sp-wqv-view-button {
	background-color: #00bc49 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 25px !important;
	font-family: 'Quicksand', sans-serif !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	padding: 11px 22px !important;
	box-shadow: 0 4px 15px rgba(0, 188, 73, 0.3) !important;
}
body:not(.af-pet-shop-page) .sp-wqv-view-button:hover {
	background-color: #0f382c !important;
	color: #ffffff !important;
}
body:not(.af-pet-shop-page) ul.products li.product .add_to_cart_button,
body:not(.af-pet-shop-page) .related.products .add_to_cart_button {
	background-color: #0f382c !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 25px !important;
	font-family: 'Quicksand', sans-serif !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	padding: 11px 22px !important;
}
body:not(.af-pet-shop-page) ul.products li.product .add_to_cart_button:hover {
	background-color: #00bc49 !important;
}
body:not(.af-pet-shop-page) ul.products li.product .woocommerce-loop-product__title,
body:not(.af-pet-shop-page) .related.products .woocommerce-loop-product__title {
	font-family: 'Quicksand', sans-serif !important;
	font-weight: 700 !important;
	color: #0f382c !important;
	line-height: 1.35 !important;
}
body:not(.af-pet-shop-page) ul.products li.product .price,
body:not(.af-pet-shop-page) .related.products .price {
	font-family: 'Quicksand', sans-serif !important;
	font-weight: 700 !important;
	color: #00bc49 !important;
}
body:not(.af-pet-shop-page) ul.products li.product,
body:not(.af-pet-shop-page) .related.products li.product {
	font-family: 'Outfit', sans-serif !important;
}
body:not(.af-pet-shop-page) ul.products li.product .onsale {
	background: #ee7200 !important;
	color: #ffffff !important;
	font-family: 'Quicksand', sans-serif !important;
	border-radius: 25px !important;
}

/* La bandera "Hecho en USA" no aplica a un store costarricense */
body:not(.af-pet-shop-page) .img-bandera-pais,
body:not(.af-pet-shop-page) img.img-bandera-pais {
	display: none !important;
}
