/*
 * ONEEXISTS v1.6.1 — Typography (v4: Fraunces as primary font sitewide)
 * Fraunces variable serif = brand voice everywhere.
 * Inter kept for micro-UI (buttons, eyebrows, small labels).
 * JetBrains Mono for technical specs.
 */

:root {
    --oe-font-head: "Fraunces", "Times New Roman", Georgia, serif;
    --oe-font-body: "Fraunces", "Times New Roman", Georgia, serif;
    --oe-font-ui:   "Inter", "Helvetica Neue", Arial, sans-serif;
    --oe-ls-display: -0.025em;
    --oe-ls-h1: -0.02em;
    --oe-ls-h2: -0.015em;
}

/* Universal: Fraunces on body + all text descendants */
body.oe-theme,
body.oe-theme p,
body.oe-theme li,
body.oe-theme dd,
body.oe-theme dt,
body.oe-theme blockquote,
body.oe-theme .oe-body-copy,
body.oe-theme .entry-content p,
body.oe-theme .entry-content li,
body.oe-theme .woocommerce-product-details__short-description,
body.oe-theme .product .summary,
body.oe-theme .oe-hero__sub,
body.oe-theme .oe-lab__addr,
body.oe-theme .oe-lab__hours {
    font-family: "Fraunces", "Times New Roman", Georgia, serif !important;
    font-variation-settings: "opsz" 14, "wght" 400;
    letter-spacing: -0.005em;
}

/* Headings — bigger optical size + weight */
body.oe-theme h1,
body.oe-theme h2,
body.oe-theme h3,
body.oe-theme h4,
body.oe-theme h5,
body.oe-theme h6,
body.oe-theme .oe-display,
body.oe-theme .oe-h1,
body.oe-theme .oe-h2,
body.oe-theme .oe-h3,
body.oe-theme .display,
body.oe-theme .h1,
body.oe-theme .h2,
body.oe-theme .h3,
body.oe-theme .oe-hero__title,
body.oe-theme .oe-section-title,
body.oe-theme .product_title,
body.oe-theme h1.product_title,
body.oe-theme .oe-product-title {
    font-family: "Fraunces", "Times New Roman", Georgia, serif !important;
    font-optical-sizing: auto;
    font-feature-settings: "ss01" 1, "ss02" 1;
    font-weight: 500 !important;
    letter-spacing: -0.015em;
}

body.oe-theme .oe-display,
body.oe-theme .display {
    font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 30 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.02 !important;
}

body.oe-theme h1,
body.oe-theme .oe-h1,
body.oe-theme .h1,
body.oe-theme .oe-hero__title {
    font-variation-settings: "opsz" 72, "wght" 500, "SOFT" 20 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.08 !important;
}

body.oe-theme h2,
body.oe-theme .oe-h2,
body.oe-theme .h2 {
    font-variation-settings: "opsz" 48, "wght" 500, "SOFT" 15 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.15 !important;
}

body.oe-theme h3,
body.oe-theme .oe-h3 {
    font-variation-settings: "opsz" 32, "wght" 500, "SOFT" 10 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
}

body.oe-theme.oe-product .product_title,
body.oe-theme.oe-product h1.product_title,
body.oe-theme.oe-product .oe-product-title {
    font-variation-settings: "opsz" 72, "wght" 500, "SOFT" 15 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.05 !important;
}

body.oe-theme.oe-home .oe-hero__title,
body.oe-theme.oe-home .oe-hero h1,
body.oe-theme.oe-home .oe-hero h2 {
    font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 25 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.02 !important;
}

/* Keep micro-UI on Inter — buttons, eyebrows, small labels for readability at 12-14px */
body.oe-theme .oe-announcement,
body.oe-theme .oe-eyebrow,
body.oe-theme .oe-caption,
body.oe-theme .oe-badge,
body.oe-theme .site-header nav a,
body.oe-theme .oe-nav a,
body.oe-theme nav a,
body.oe-theme .oe-btn,
body.oe-theme .button,
body.oe-theme button,
body.oe-theme .oe-price,
body.oe-theme .price,
body.oe-theme input,
body.oe-theme textarea,
body.oe-theme select,
body.oe-theme label,
body.oe-theme .oe-form-label,
body.oe-theme .oe-form-field,
body.oe-theme .woocommerce-form-row,
body.oe-theme .oe-spec-code {
    font-family: var(--oe-font-ui) !important;
    letter-spacing: 0.01em;
}

/* Mono for technical spec labels */
body.oe-theme .oe-spec,
body.oe-theme .oe-sku,
body.oe-theme .sku,
body.oe-theme .oe-dimensions,
body.oe-theme code,
body.oe-theme pre {
    font-family: "JetBrains Mono", "SF Mono", ui-monospace, Consolas, monospace !important;
    letter-spacing: 0;
}
