/* Tone & Terra — Typography System
   Gilroy Bold (headings) · Gilroy SemiBold (small titles) · Open Sans (body) · Futura Std (promo) */

:root {
    --font-heading: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading-weight-h1: 700;
    --font-heading-weight-h2: 700;
    --font-heading-weight-h3: 700;
    --font-heading-weight-h4: 700;
    --font-heading-weight-h5: 700;
    --font-heading-weight-h6: 700;
    --font-heading-weight-small: 600;
    --font-heading-weight: 700;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-heavy: 800;
    --font-weight-black: 900;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-promo: 'Futura Std', 'Futura', 'Century Gothic', sans-serif;
    --font-price: 'Open Sans', 'Noto Sans Symbols 2', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --text-h1: clamp(36px, 5vw, 56px);
    --text-h2: clamp(30px, 3.8vw, 42px);
    --text-h3: clamp(26px, 3vw, 32px);
    --text-h4: clamp(20px, 2.2vw, 24px);
    --text-h5: clamp(18px, 1.8vw, 20px);
    --text-h6: clamp(16px, 1.6vw, 18px);
    --text-body-lg: 18px;
    --text-body: 16px;
    --text-small: 14px;
    --text-caption: 12px;
    --text-nav: 15px;
    --text-btn: 16px;
    --ls-btn: 0.5px;
    --lh-body: 1.625;
    --lh-heading: 1.2;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-body);
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p,
li,
label,
input,
textarea,
select,
option {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
}

/* ── Heading hierarchy — Gilroy Bold (700) for all main heading levels ── */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading) !important;
    font-style: normal !important;
    font-synthesis: none;
    letter-spacing: 0.01em;
    line-height: var(--lh-heading);
    text-transform: none;
    overflow-wrap: break-word;
}

h1, .h1 { font-weight: var(--font-heading-weight-h1) !important; }
h2, .h2 { font-weight: var(--font-heading-weight-h2) !important; }
h3, .h3 { font-weight: var(--font-heading-weight-h3) !important; }
h4, .h4 { font-weight: var(--font-heading-weight-h4) !important; }
h5, .h5 { font-weight: var(--font-heading-weight-h5) !important; }
h6, .h6 { font-weight: var(--font-heading-weight-h6) !important; }

:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):is(.fw-light) {
    font-weight: var(--font-weight-light) !important;
}

:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):is(.fw-normal) {
    font-weight: var(--font-weight-regular) !important;
}

:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):is(.fw-medium) {
    font-weight: var(--font-weight-medium) !important;
}

:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):is(.fw-semibold) {
    font-weight: var(--font-heading-weight-small) !important;
}

h1:is(.fw-semibold), .h1:is(.fw-semibold),
h2:is(.fw-semibold), .h2:is(.fw-semibold),
h3:is(.fw-semibold), .h3:is(.fw-semibold),
h4:is(.fw-semibold), .h4:is(.fw-semibold),
h5:is(.fw-semibold), .h5:is(.fw-semibold),
h6:is(.fw-semibold), .h6:is(.fw-semibold) {
    font-weight: var(--font-heading-weight) !important;
}

:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):is(.fw-bold, .fw-bolder, .fw-black) {
    font-weight: var(--font-heading-weight) !important;
}

.s-title:is(.fw-light),
.text-display:is(.fw-light) { font-weight: var(--font-weight-light) !important; }
.s-title:is(.fw-normal),
.text-display:is(.fw-normal) { font-weight: var(--font-weight-regular) !important; }
.s-title:is(.fw-medium),
.text-display:is(.fw-medium) { font-weight: var(--font-weight-medium) !important; }
.s-title:is(.fw-semibold),
.text-display:is(.fw-semibold) { font-weight: var(--font-heading-weight-small) !important; }
.s-title:is(.fw-bold),
.text-display:is(.fw-bold),
.s-title:is(.fw-bolder),
.text-display:is(.fw-bolder),
.s-title:is(.fw-black),
.text-display:is(.fw-black) { font-weight: var(--font-heading-weight) !important; }

.tt-heading-light { font-family: var(--font-heading) !important; font-weight: var(--font-weight-light) !important; font-synthesis: none; }
.tt-heading-regular { font-family: var(--font-heading) !important; font-weight: var(--font-weight-regular) !important; font-synthesis: none; }
.tt-heading-medium { font-family: var(--font-heading) !important; font-weight: var(--font-weight-medium) !important; font-synthesis: none; }
.tt-heading-semibold { font-family: var(--font-heading) !important; font-weight: var(--font-heading-weight-small) !important; font-synthesis: none; }
.tt-heading-bold { font-family: var(--font-heading) !important; font-weight: var(--font-heading-weight) !important; font-synthesis: none; }
.tt-heading-heavy { font-family: var(--font-heading) !important; font-weight: var(--font-heading-weight) !important; font-synthesis: none; }
.tt-heading-black { font-family: var(--font-heading) !important; font-weight: var(--font-heading-weight) !important; font-synthesis: none; }

h1, .h1 { font-size: var(--text-h1); }
h2, .h2 { font-size: var(--text-h2); }
h3, .h3 { font-size: var(--text-h3); }
h4, .h4 { font-size: var(--text-h4); }
h5, .h5 { font-size: var(--text-h5); }
h6, .h6 { font-size: var(--text-h6); }

/* Theme section & page titles — Gilroy Bold (700) */
.s-title,
.sect-heading h1,
.sect-heading h2,
.sect-heading h3,
.sect-heading h4,
.sect-heading h5,
.sect-heading h6,
.section-heading h1,
.section-heading h2,
.section-heading h3,
.section-heading h4,
.main-page-title h1,
.main-page-title h2,
.main-page-title h3,
.main-page-title h4,
.main-page-title h5,
.main-page-title h6,
.section-page-title h1,
.section-page-title h2,
.section-page-title h3,
.section-page-title h4,
.section-page-title-single h1,
.section-page-title-single h2,
.section-page-title-single h3,
.tf-page-title h1,
.tf-page-title h2,
.tf-page-title h3,
.tf-shop-title h1,
.tf-blog-title h1,
.tf-blog-title h2,
.tf-slideshow .sld_content h1,
.tf-slideshow .sld_content h2,
.tf-slideshow .sld_content h3,
.banner-v01 .bn_content h1,
.banner-v01 .bn_content h2,
.banner-v01 .bn_content h3,
.title_sld,
.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5,
.cms-content h6,
.cms-page-content h1,
.cms-page-content h2,
.cms-page-content h3,
.cms-page-content h4,
.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6,
.modal-heading .title,
.modal-heading h1,
.modal-heading h2,
.modal-heading h3,
.modal-heading h4,
.modal-heading h5,
.modal-heading h6,
.blog-heading h1,
.blog-heading h2,
.blog-heading h3,
.blog-heading h4,
.tf-landing-footer .col-left .s-title,
.product-infor-name,
.product-infor .name,
.product-infor h3,
.product-infor h4,
.collection-title,
.entry-title,
.heading-section h1,
.heading-section h2,
.heading-section h3,
.heading-section h4,
.tt-brand-promise__title,
.checkout-form-panel > .title,
.checkout-form-panel > .h5.title,
.checkout-form-section__title,
.section-checkout .box-ip-payment > .title,
.page-title-product-detail .main-page-title h3,
.tt-review-form-title,
.modal-title {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-heading-weight) !important;
    font-style: normal !important;
    font-synthesis: none;
}

/* Hero & large display headings */
.text-display,
.headline,
.title-pop,
.tf-slideshow .sld_content h1,
.banner-v01 .bn_content h1 {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-heading-weight) !important;
    font-style: normal !important;
    font-synthesis: none;
}

/* Small titles & labels — Gilroy SemiBold (600) */
.card-product .card-product-info .name,
.card-product .card-product-info .title,
.card-product .card-product-info a.name,
.desc_title,
.heading,
h3.heading,
.tt-ingredient-name,
.tt-commitment-title,
.tt-brand-promise__stat-value,
.section-instagram-posts .tt-ig-card__product,
.nd-title,
.text-emp,
.tf-footer .footer-heading,
footer h5,
footer h6,
.menu-heading,
.footer-heading,
.brand-name,
.countdown-number {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-heading-weight-small) !important;
    font-style: normal !important;
    font-synthesis: none;
}

.sect-heading .s-title,
.sect-heading.type-2 .s-title,
.sect-heading.type-3 .s-title,
.sect-heading.type-4 .s-title,
.sect-heading.type-5 .s-title,
.sect-heading.type-6 .s-title {
    font-family: var(--font-heading) !important;
}

a:not(.name):not(.title):not(.s-title):not(.entry-title):not(.product-infor-name):not(.title_sld) {
    font-family: var(--font-body);
}

.text-body-1 {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: 1.625;
}

.text-caption-01 {
    font-family: var(--font-body);
    font-size: var(--text-small);
    line-height: 1.5;
}

.text-caption-02,
.text-label {
    font-family: var(--font-body);
    font-size: var(--text-caption);
    line-height: 1.4;
}

.font-main,
.font-2,
.font-outfit,
.font-kumbh,
.font-red_hat,
.font-plus_jakarta {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-heading-weight-small) !important;
}

.font-body {
    font-family: var(--font-body);
}

.font-promo,
.tt-promo-text {
    font-family: var(--font-promo);
    font-style: oblique;
    font-weight: 800;
    font-stretch: condensed;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.box-navigation .menu-item .item-link,
.box-navigation .menu-item .item-link .cus-text,
.nav-category_link,
.sub-nav__link,
.nav-category-wrap .btn-nav-drop,
.tf-dropdown-sort,
.tf-dropdown-sort .text-sort-value,
.tf-variant-dropdown .text-sort-value,
.dropdown-filter .text-value,
.nav-icon-list .nav-icon-item,
.mobile-menu .menu-item .item-link,
#wrapper-menu-navigation .item-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-nav);
    letter-spacing: 0.02em;
}

.tf-btn,
.tf-btn-primary,
.tf-btn-outline,
.tf-btn-line,
.tf-btn-line-2,
.tf-btn-line-3,
.tf-btn-effect,
button[type="submit"]:not(.icon),
.btn,
.tt-pdp-buy-now,
#quickView .tt-pdp-buy-now {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-btn);
    letter-spacing: var(--ls-btn);
}

[class*="price-new"],
[class*="price-old"],
.price-on-sale,
.price-wrap .fw-semibold.text-primary,
.product-infor-price .price-on-sale,
.product-infor-price h4.price-on-sale,
.price__prd,
.prd_price,
.quantity-price.text-primary,
.tf-mini-cart-price .fw-semibold,
.card-product .price,
.card-product .price-new,
.card-product .price-old,
.card-product .price-wrap .price-new,
.card-product .price-wrap .price-old,
#qv-price,
#qv-original-price,
#cart-subtotal,
#mini-cart-items-subtotal,
.list-total [id*="summary"],
.last-total span:last-child,
#summary-total,
.tt-inr-amount,
.widget-price .price-val,
.box-order-summary .total-price,
#view-cart-discount,
#summary-discount {
    font-family: var(--font-price) !important;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.product-badge_item.sale,
.badge-sale,
.product-marquee_sale,
.product-marquee_sale .marquee-child-item,
.shop-sale-text,
.shop-sale-text label,
.pop-notice-sale,
.pop-notice-sale .purchase,
.tt-pdp-offers__headline,
[class*="offer-label"],
[class*="sale-banner"],
[class*="discount-badge"],
.slider-wrap_3 .text-sub_sld {
    font-family: var(--font-promo);
    font-style: oblique;
    font-weight: 800;
    font-stretch: condensed;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

footer,
.footer,
.tf-footer,
.tf-footer a,
.tf-footer p,
.tf-footer li {
    font-family: var(--font-body);
}

.form-control,
.form-select,
input:not([type="checkbox"]):not([type="radio"]),
textarea,
.ip-discount-code input,
.tf-field-input input {
    font-family: var(--font-body);
    font-size: var(--text-body);
}

.blog-detail-content,
.blog-detail-content p,
.blog-card-content,
.tf-blog-list .blog-content {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
}

@media (max-width: 767px) {
    :root {
        --text-body: 16px;
        --text-nav: 15px;
        --text-btn: 16px;
    }

    body {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    h1, .h1 { line-height: 1.15; }
    h2, .h2 { line-height: 1.2; }
}
