/* Veritas site style: gives every page outside the home page the home page's header, footer, colors and fonts.
   Loaded on all front-end pages except the home page template. Scoped to body.vh-site, which this plugin adds.
   Turn it off with: add_filter('veritas_home_sitewide', '__return_false'); */

/* ---------- Swap the old theme header and footer for ours ---------- */
body.vh-site #masthead,
body.vh-site #colophon,
body.vh-site .carafity-mobile-nav,
body.vh-site .carafity-overlay,
body.vh-site .account-wrap { display: none !important; }

.vh-chrome { font-family: 'Archivo', sans-serif; font-stretch: 100%; color: #2B211C; line-height: 1.55; font-size: 17px; position: relative; z-index: 50; }
.vh-chrome-foot { z-index: 1; }
.vh-chrome .vh-header { position: relative; }

/* ---------- Palette: the theme and Elementor read these ---------- */
body.vh-site {
	--primary: #A45D44;
	--primary_hover: #8E4E39;
	--accent: #2B211C;
	--text: #4A3C31;
	--text_light: #6B5A4A;
	--light: #866E54;
	--background: #F4ECE0;
	--background_light: #FAF5EC;
	--border: #DCCAB1;
	--highlight: #A45D44;

	--e-global-color-primary: #A45D44;
	--e-global-color-primary_hover: #8E4E39;
	--e-global-color-accent: #2B211C;
	--e-global-color-secondary: #2B211C;
	--e-global-color-text: #4A3C31;
	--e-global-color-text_light: #6B5A4A;
	--e-global-color-light: #866E54;
	--e-global-color-background: #F4ECE0;
	--e-global-color-background_light: #FAF5EC;
	--e-global-color-border: #DCCAB1;
	--e-global-color-highlight: #A45D44;

	--e-global-typography-primary-font-family: "Archivo";
	--e-global-typography-secondary-font-family: "Archivo";
	--e-global-typography-text-font-family: "Archivo";
	--e-global-typography-accent-font-family: "Archivo";
	--e-global-typography-heading_title-font-family: "Archivo";

	background-color: #F4ECE0 !important;
	color: #4A3C31;
	font-family: 'Archivo', sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.vh-site #page,
body.vh-site .site-content,
body.vh-site .site-content-page { background-color: transparent; }

/* ---------- Type ---------- */
body.vh-site h1, body.vh-site h2, body.vh-site h3, body.vh-site h4, body.vh-site h5, body.vh-site h6,
body.vh-site .elementor-heading-title,
body.vh-site .entry-title,
body.vh-site .page-title,
body.vh-site .product_title {
	font-family: 'Archivo', sans-serif !important;
	color: #2B211C;
	font-weight: 700;
	font-stretch: 88%;
	letter-spacing: -0.01em;
}
body.vh-site p, body.vh-site li, body.vh-site td, body.vh-site label, body.vh-site input, body.vh-site select, body.vh-site textarea, body.vh-site button { font-family: 'Archivo', sans-serif; }

body.vh-site a { color: #A45D44; }
body.vh-site a:hover { color: #8E4E39; }
body.vh-site .vh-chrome a { color: #2B211C; }
body.vh-site .vh-chrome a:hover { color: #A45D44; }
body.vh-site .vh-chrome .vh-footer a { color: #E2D4C2; }
body.vh-site .vh-chrome .vh-footer a:hover { color: #D2986C; }

/* ---------- Buttons ---------- */
body.vh-site .button,
body.vh-site button[type="submit"],
body.vh-site input[type="submit"],
body.vh-site .elementor-button,
body.vh-site .wp-block-button__link,
body.vh-site .single_add_to_cart_button,
body.vh-site .checkout-button,
body.vh-site #place_order,
body.vh-site .slicewp-button-primary,
body.vh-site .vw-btn {
	background-color: #A45D44 !important;
	border-color: #A45D44 !important;
	color: #FAF5EC !important;
	border-radius: 0 !important;
	font-family: 'Archivo', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	transition: filter .15s;
}
body.vh-site .button:hover,
body.vh-site button[type="submit"]:hover,
body.vh-site input[type="submit"]:hover,
body.vh-site .elementor-button:hover,
body.vh-site .wp-block-button__link:hover,
body.vh-site .single_add_to_cart_button:hover,
body.vh-site .checkout-button:hover,
body.vh-site #place_order:hover,
body.vh-site .slicewp-button-primary:hover,
body.vh-site .vw-btn:hover { filter: brightness(1.08); color: #FAF5EC !important; }

/* ---------- Forms ---------- */
body.vh-site input[type="text"], body.vh-site input[type="email"], body.vh-site input[type="tel"], body.vh-site input[type="url"],
body.vh-site input[type="password"], body.vh-site input[type="number"], body.vh-site input[type="search"],
body.vh-site select, body.vh-site textarea {
	background-color: #FAF5EC;
	border: 1px solid #CDB79C;
	border-radius: 0;
	color: #2B211C;
}
body.vh-site input:focus, body.vh-site select:focus, body.vh-site textarea:focus { border-color: #A45D44; outline: none; box-shadow: 0 0 0 1px #A45D44; }

/* ---------- WooCommerce ---------- */
body.vh-site .price, body.vh-site .woocommerce-Price-amount { color: #2B211C; }
body.vh-site .onsale { background: #A45D44; color: #FAF5EC; border-radius: 0; }
body.vh-site .woocommerce-message, body.vh-site .woocommerce-info { border-top-color: #A45D44; background: #FAF5EC; }
body.vh-site .woocommerce-message::before, body.vh-site .woocommerce-info::before { color: #A45D44; }
body.vh-site table.shop_table, body.vh-site .cart_totals, body.vh-site .woocommerce-checkout-review-order { background: #FAF5EC; border-color: #DCCAB1; }
body.vh-site .woocommerce-MyAccount-navigation a { color: #2B211C; }
body.vh-site .woocommerce-MyAccount-navigation .is-active a { color: #A45D44; }

/* ---------- Plugin pages ---------- */
body.vh-site .vw-notice { background: #FAF5EC; border: 1px solid #DCCAB1; }
body.vh-site .vw-ok { background: #EEF0E8; border-color: #C9CDB6; }
body.vh-site .slicewp-field-label-wrapper label { color: #2B211C; font-weight: 600; }

/* ---------- Elementor and WooCommerce text that the theme sets in its own fonts ---------- */
body.vh-site .elementor-widget-container,
body.vh-site .elementor-widget-container :is(p, span, a, li, div, h1, h2, h3, h4, h5, h6, strong, em, b, label, td, th, button):not([class*="icon"]):not([class*="fa-"]):not([class^="eicon"]),
body.vh-site .elementor-accordion-title,
body.vh-site .elementor-tab-title,
body.vh-site .elementor-toggle-title,
body.vh-site .e-n-accordion-item-title-text,
body.vh-site .textcarousel-title,
body.vh-site .woocommerce,
body.vh-site .woocommerce :is(p, span, a, li, div, h1, h2, h3, h4, label, td, th):not([class*="icon"]):not([class*="fa-"]) {
	font-family: 'Archivo', sans-serif !important;
}
body.vh-site .elementor-accordion-title,
body.vh-site .elementor-tab-title a,
body.vh-site .elementor-toggle-title { color: #2B211C; font-weight: 700; font-stretch: 92%; }

body.vh-site .quantity,
body.vh-site .quantity input,
body.vh-site .quantity button { border-radius: 0 !important; }
