:root {
    --e8e8-font-display: "Google Sans Flex", Arial, sans-serif;
    --e8e8-font-body: "Google Sans Flex", Arial, sans-serif;
    --e8e8-font-weight-light: 300;
    --e8e8-font-weight-regular: 400;
    --e8e8-font-weight-semibold: 600;
    --e8e8-font-weight-bold: 700;
}

html,
body,
button,
input,
textarea,
select {
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
}

html,
body {
    font-family: var(--e8e8-font-body) !important;
    font-weight: var(--e8e8-font-weight-regular) !important;
}

h1, h2, h3, h4, h5, h6,
.et-db #et-boc .et-l h1,
.et-db #et-boc .et-l h2,
.et-db #et-boc .et-l h3,
.et-db #et-boc .et-l h4,
.et-db #et-boc .et-l h5,
.et-db #et-boc .et-l h6 {
    font-family: var(--e8e8-font-display);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0;
    margin: 0;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
    font-weight: var(--e8e8-font-weight-semibold) !important;
}

body, p, li, label, input, textarea, select,
#page-container,
#et-main-area,
.et-l,
.et_builder_inner_content,
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et-db #et-boc .et-l,
.et-db #et-boc .et-l p,
.et-db #et-boc .et-l li,
.et-db #et-boc .et-l label,
.et-db #et-boc .et-l input,
.et-db #et-boc .et-l textarea,
.et-db #et-boc .et-l select,
.et_pb_text,
.et_pb_text_inner,
.et_pb_module,
.woocommerce,
.woocommerce-page,
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation a,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li,
.woocommerce-account .woocommerce-MyAccount-content label,
.woocommerce-account .woocommerce-MyAccount-content input,
.woocommerce-account .woocommerce-MyAccount-content textarea,
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce form,
.woocommerce form .form-row,
.woocommerce form .form-row label,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form select {
    font-family: var(--e8e8-font-body) !important;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
    font-weight: var(--e8e8-font-weight-regular) !important;
    font-size: var(--e8e8-type-body,15px);
    color: #1d1d1f;
    line-height: 1.6;
}

button,
.button,
.et_pb_button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    font-family: var(--e8e8-font-body) !important;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
}
p {margin-bottom: 1em;}
strong {font-weight: var(--e8e8-font-weight-bold) !important;}
h1 { font-size: var(--e8e8-type-page); line-height: var(--e8e8-type-page-line); letter-spacing: -.025em; }
h2 { font-size: var(--e8e8-type-section); line-height: var(--e8e8-type-section-line); letter-spacing: -.02em; }
h3 { font-size: var(--e8e8-type-card); line-height: 1.3; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.85rem; }

.et-db #et-boc .et-l .et_pb_module h1,
.et-db #et-boc .et-l .et_pb_module h2,
.et-db #et-boc .et-l .et_pb_module h3,
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3 {
    font-family: var(--e8e8-font-display) !important;
    font-weight: var(--e8e8-font-weight-semibold) !important;
}

.et-db #et-boc .et-l .et_pb_module h4,
.et-db #et-boc .et-l .et_pb_module h5,
.et-db #et-boc .et-l .et_pb_module h6,
.et_pb_module h4,
.et_pb_module h5,
.et_pb_module h6 {
    font-family: var(--e8e8-font-display) !important;
    font-weight: var(--e8e8-font-weight-semibold) !important;
}

.et-db #et-boc .et-l .et_pb_text_inner,
.et-db #et-boc .et-l .et_pb_text_inner p,
.et_pb_text_inner,
.et_pb_text_inner p,
.woocommerce div.product,
.woocommerce div.product p,
.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
    font-family: var(--e8e8-font-body) !important;
    font-weight: var(--e8e8-font-weight-regular) !important;
}

h4, h5, h6,
.subheading,
.subtitle,
.eyebrow,
.et_pb_blurb_description strong,
.e8e8-subheading,
.e8e8-order-assist__label,
.e8e8-live-product-price__meta,
.rush-site-footer__nav h4 {
    font-weight: var(--e8e8-font-weight-semibold) !important;
}

small,
.small,
.fine-print,
.legal,
.terms,
.rush-site-footer__bottom,
.rush-site-footer__bottom *,
.woocommerce-terms-and-conditions,
.woocommerce-privacy-policy-text,
.woocommerce form .form-row .description {
    font-family: var(--e8e8-font-body) !important;
    font-weight: var(--e8e8-font-weight-light) !important;
}

.quadmenu-navbar-nav,
.quadmenu-navbar-nav a,
#quadmenu,
#quadmenu a,
.et_pb_menu,
.et_pb_menu a,
.et_pb_fullwidth_menu,
.et_pb_fullwidth_menu a {
    font-family: var(--e8e8-font-display) !important;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
    font-weight: var(--e8e8-font-weight-semibold) !important;
    letter-spacing: 0;
}

ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product .wc-block-grid__product-title,
.wc-block-grid__product .wp-block-post-title,
.wc-block-grid__product .wp-block-post-title a {
  font-size: 1rem !important;
  font-weight: var(--e8e8-font-weight-regular, 400) !important;
  padding: 0 .25rem;
}
/* Product thumbnail title Divi specificity exception */
.et-db #et-boc .et-l ul.products li.product h2.woocommerce-loop-product__title,
.et-db #et-boc .et-l .woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.et-db #et-boc .et-l .woocommerce-page ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 1rem !important;
  font-weight: 400 !important;
  padding: 0 .25rem !important;
}

/* Shared typography vocabulary. Canvas labels retain independent backing-pixel sizes. */
:root {
 --e8e8-font-weight-medium:500;
 --e8e8-type-page:clamp(34px,3.3vw,44px);
 --e8e8-type-page-line:1.08;
 --e8e8-type-section:clamp(24px,2.3vw,28px);
 --e8e8-type-section-line:1.2;
 --e8e8-type-card:clamp(18px,1.7vw,20px);
 --e8e8-type-body:15px;
 --e8e8-type-support:#626262;
 --e8e8-type-support-on-dark:#e8e8ed;
 --e8e8-space-section:clamp(24px,4vw,48px);
 --e8e8-space-content:clamp(16px,2vw,24px);
 --e8e8-card-radius:20px;
 --e8e8-card-gap:16px;
 --e8e8-type-support-weight:500;
 --e8e8-type-control-size:14px;
 --e8e8-type-control-line:1.4;
 --e8e8-proof-view-size:22px;
 --e8e8-proof-placement-size:18px;
 --e8e8-proof-label-weight:500;
}

/* Supporting text is an explicit role, never inferred from every h4/span. */
.e8e8-subheading,.subheading,.subtitle,.e8e8-inline-subheading {
 color:var(--e8e8-type-support);font-size:var(--e8e8-type-body);font-weight:400!important;line-height:1.55;
}
.e8e8-inline-subheading {display:inline;font-family:var(--e8e8-font-body)}
