/* Typography overrides: Poppins for text, Cormorant Garamond for headings */

html,
body {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.page-title,
.product-title,
header .site-title {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
}

/* Remove/override any other font declarations from parent */
@supports (font-variation-settings: normal) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-optical-sizing: auto;
    }
}

/* Ensure forms, buttons and navigations use Poppins for consistency */
button,
input,
select,
textarea,
.btn,
.nav,
.breadcrumb,
.dropdown-menu,
label {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* Increase specificity to beat parent selectors */
body body,
body .container,
body .footer,
body .header {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* Underline slide animation: shared rules for specified link groups */
.account-menu > a,
.elementor-widget .elementor-icon-list-item a {
    position: relative;
    text-decoration: none;
}
.account-menu > a::after,
.elementor-widget .elementor-icon-list-item a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1em;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease;
}
.account-menu > a:hover::after,
.account-menu > a:focus-visible::after,
.account-menu > a.active::after,
.elementor-widget .elementor-icon-list-item a:hover::after,
.elementor-widget .elementor-icon-list-item a:focus-visible::after,
.elementor-widget .elementor-icon-list-item a.elementor-item-active::after {
    transform: scaleX(1);
}
