/**
 * Sensia Retreats — Global Typography
 *
 * Licensed font files are self-hosted on the production server
 * and intentionally excluded from Git.
 */

@font-face {
	font-family: "ABC Arizona Serif";
	src: url("../fonts/ABCArizonaSerif-Light.woff2") format("woff2");
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "ABC Arizona Serif";
	src: url("../fonts/ABCArizonaSerif-LightItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "ABC Arizona Serif";
	src: url("../fonts/ABCArizonaSerif-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

:root {
	--sensia-font-serif: "ABC Arizona Serif", Georgia, "Times New Roman", serif;
	--sensia-font-sans: "ABC Arizona Serif", Georgia, "Times New Roman", serif;
}

/* Sensia editorial typography */
body {
	font-family: var(--sensia-font-serif);
	font-weight: 300;
}

/*
 * Form controls inherit instead of falling back to browser defaults.
 * Individual UI components may explicitly use --sensia-font-sans.
 */
button,
input,
select,
textarea {
	font: inherit;
}

/* ==================================================
   SENSIA TYPOGRAPHY — GLOBAL SOURCE OF TRUTH
================================================== */

/*
 * Base copy:
 * ABC Arizona Serif Light / Regular style.
 */
html,
body,
button,
input,
select,
textarea {
	font-family: var(--sensia-font-serif);
	font-weight: 300;
	font-style: normal;
}

/*
 * Large editorial titles:
 * ABC Arizona Serif Light Italic.
 */
h1,
h2,
h3,
h4,
h5,
h6,
.sensia-about-accordion__trigger,
.sensia-about-links__item,
.sensia-experience-details__title,
.sensia-gift-product__title {
	font-family: var(--sensia-font-serif);
	font-weight: 300;
	font-style: italic;
}

/*
 * Body copy remains light and non-italic.
 */
p,
li,
dd,
dt,
blockquote,
figcaption {
	font-family: var(--sensia-font-serif);
	font-weight: 300;
	font-style: normal;
}

/*
 * Explicitly keep small editorial labels regular,
 * matching the supplied Retreat reference.
 */
.sensia-experience-details__eyebrow,
.sensia-experience-facts,
.sensia-experience-availability,
.sensia-product-senses,
.sensia-community-eyebrow {
	font-family: var(--sensia-font-serif);
	font-weight: 300;
	font-style: normal;
}


/* ==================================================
   SENSIA GLOBAL ACCENT — REMOVE DEFAULT FUCHSIA
================================================== */

/*
 * Replace Elementor / WooCommerce default accent colours
 * with the Sensia burgundy across the frontend.
 */

html body {
        --e-global-color-accent: #8c372d !important;

        --woocommerce: #8c372d !important;
        --wc-primary: #8c372d !important;
        --wc-primary-text: #f2e8d9 !important;

        accent-color: #8c372d;
}


/* Native controls */

body input[type="checkbox"],
body input[type="radio"],
body input[type="range"],
body progress {
        accent-color: #8c372d !important;
}


/* Elementor buttons */

body .elementor-button:hover,
body .elementor-button:focus,
body .elementor-button:focus-visible {
        background-color: #8c372d !important;
        border-color: #8c372d !important;
}


/* WordPress buttons */

body .wp-element-button:hover,
body .wp-element-button:focus,
body .wp-element-button:focus-visible {
        background-color: #8c372d !important;
        border-color: #8c372d !important;
}


/* WooCommerce classic buttons */

body.woocommerce button.button:hover,
body.woocommerce button.button:focus,
body.woocommerce a.button:hover,
body.woocommerce a.button:focus,
body.woocommerce input.button:hover,
body.woocommerce input.button:focus {
        background-color: #8c372d !important;
        border-color: #8c372d !important;
}


/* WooCommerce Blocks */

body .wc-block-components-button:hover,
body .wc-block-components-button:focus,
body .wc-block-components-button:focus-visible {
        border-color: #8c372d !important;
}


/* Focus outlines should use Sensia rather than Elementor pink */

body button:focus-visible,
body a:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible {
        outline-color: #8c372d;
}
