/**
 * Tekden typography — shared roles, mobile first.
 * Manrope: 400 body / 600 labels / 700 headings & controls / 800 display & totals.
 * Loaded after component styles. Important declarations are confined to type
 * properties where legacy theme/plugin rules otherwise override these roles.
 * Do not target icon elements or pseudo-elements: their fonts must be preserved.
 */
@font-face {
 font-family: "Manrope";
 src: url("/wp-content/themes/tekden-native/assets/fonts/Manrope-VariableFont_wght.woff2") format("woff2");
 font-style: normal; font-weight: 200 900; font-display: swap;
}
:root {
 --td-font-ui: "Manrope", "Segoe UI", Arial, sans-serif;
 --td-font-display: var(--td-font-ui);
 --td-type-hero: clamp(2.375rem, 5.5vw, 5rem);
 --td-type-section: clamp(1.875rem, 3.3vw, 3rem);
 --td-type-title: clamp(1.625rem, 2.8vw, 2.5rem);
 --td-type-card: clamp(1.125rem, 1.6vw, 1.375rem);
 --td-type-body: 1rem;
 --td-type-small: .875rem;
 --td-type-label: .75rem;
 --td-type-button: .9375rem;
 --td-type-total: clamp(1.75rem, 2.6vw, 2.25rem);
 --td-button-font-size: var(--td-type-button);
 --td-weight-body: 400;
 --td-weight-label: 600;
 --td-weight-heading: 700;
 --td-weight-display: 800;
 --td-leading-body: 1.6;
 --td-leading-heading: 1.12;
 --td-tracking-heading: -.03em;
}
@media (min-width: 768px) { :root { --td-type-body: 1.0625rem; } }
body.tekden-native-theme { font-family: var(--td-font-ui); font-size: var(--td-type-body); line-height: var(--td-leading-body); }
/* Text containers only: leave icon-font spans/i and the brand artwork alone. */
body.tekden-native-theme :is(main,article,section,nav,header,footer,dialog,h1,h2,h3,h4,h5,h6,p,label,button,input,select,textarea,summary) { font-family: var(--td-font-ui) !important; }
body.tekden-native-theme :is(h1,h2,h3,h4,h5,h6) { font-weight: var(--td-weight-heading) !important; letter-spacing: -.015em; }
body.tekden-native-theme :is(strong,b) { font-weight: var(--td-weight-heading); }
body.tekden-native-theme :is(button,.button,[class*="__button"],.td-button,.td-link-button,.bar-product-primary,.bar-product-secondary,.cp-button,.quiet,.linkbutton,.addbtn) {
 font-family: var(--td-font-ui) !important; font-weight: var(--td-weight-heading) !important;
 font-size: var(--td-type-button); line-height: 1.3; letter-spacing: normal;
}
body.tekden-native-theme :is(input,select,textarea) { font-size: 1rem !important; font-weight: var(--td-weight-body); line-height: 1.5; }
body.tekden-native-theme :is(label,legend) { font-weight: var(--td-weight-label) !important; }

/* Page-level headlines, including landing pages and standard archives. */
body.tekden-native-theme :is(
 .td-hero h1,.td-about__hero h1,.td-contact__hero h1,.td-faqs__hero h1,
 .td-finance-hero h1,.td-shop-landing__intro h1,.td-shop-archive__hero h1,
 .td-blog-archive__hero h1,.td-case-single__hero h1,.td-case-archive__header h1,
 .td-den-guide__copy h1,.td-cabin-hero__copy h1,.td-fallback-hero h1,
 .td-legal__hero h1,.cp-hero h1,.bar-product-hero h1
) {
 font-size: var(--td-type-hero) !important; font-weight: var(--td-weight-display) !important;
 line-height: 1.06 !important; letter-spacing: var(--td-tracking-heading) !important;
 text-wrap: balance; overflow-wrap: break-word;
}
/* One section-heading scale for marketing pages, not all H2s in the UI. */
body.tekden-native-theme :is(
 .td-section-head h2,.td-choice-intro h2,.td-finance__copy>h2,.td-configurator__copy>h2,
 .td-why__copy>h2,.td-case-studies h2,.td-cta-strip h2,
 .td-about__cta h2,.td-about__intro h2,.td-about__partners h2,.td-about__process h2,.td-about__split-copy h2,
 .td-den-guide__cta h2,.td-den-guide__section-head h2,.td-cabin-contact__copy h2,.td-cabin-section__head h2,
 .td-shop-landing__section-head h2,.td-finance-page h2,.td-post-more__head h2,
 .cp-section-heading h2,.bar-section-heading h2,.tl-studio-intro h2,.cp-footer-cta h2,
 .bar-product-return h2,.tl-final h2
) {
 font-size: var(--td-type-section) !important; line-height: var(--td-leading-heading) !important;
 letter-spacing: var(--td-tracking-heading) !important; font-weight: var(--td-weight-heading) !important;
 text-wrap: balance;
}
/* Utility pages and product headings use a quieter scale than a hero. */
body.tekden-native-theme :is(
 .td-product-summary h1,.bar-product-summary h1,.td-brochure h1,.td-auth__title,
 .td-cart-empty h1,.td-cart__hero-copy h1,.td-checkout__hero h1,.td-checkout h1,
 .td-account__hero h1,.td-entry-title,.ct-intro h1
) { font-size: var(--td-type-title) !important; font-weight: var(--td-weight-heading) !important; line-height: 1.15 !important; letter-spacing: -.025em !important; }
body.tekden-native-theme :is(.td-post-article__hero h1) {
 font-size: clamp(2rem,4vw,3.5rem) !important; line-height: 1.12 !important; letter-spacing: -.025em !important;
}
body.tekden-native-theme :is(.td-product-card h3,.td-shop-archive__products .td-product-card h3,.td-cart-item__copy h2,.td-cart-item__copy h2 a) {
 font-size: 1rem !important; font-weight: var(--td-weight-heading) !important; line-height: 1.4 !important;
 letter-spacing: normal !important; max-height: none !important; -webkit-line-clamp: unset;
}
body.tekden-native-theme :is(.td-generic-card h2,.td-search-card h2,.td-case-archive-card h2,.td-post-more-card h3,.td-blog-archive-card h2,.td-shop-category-card h3) {
 font-size: var(--td-type-card); line-height: 1.3 !important; letter-spacing: -.015em !important;
}
body.tekden-native-theme :is(.td-product-card__stock,.td-product-card__shipping,.td-product-card__price,.td-cart-item__options,.td-cart-item__price) {
 font-size: var(--td-type-small) !important; line-height: 1.5 !important;
}
body.tekden-native-theme :is(.td-product-card__price,.td-product-summary .price) { font-weight: var(--td-weight-heading) !important; font-variant-numeric: tabular-nums; }
body.tekden-native-theme :is(.td-product-card__view,.td-product-card__quick-add,.td-product-buybox .button,.td-cart .button,.td-auth .woocommerce-button,.td-auth button.button,.td-contact-hubspot .hs-form .hs-button,.tkf button) {
 font-family: var(--td-font-ui) !important; font-size: var(--td-type-button) !important;
 font-weight: var(--td-weight-heading) !important; line-height: 1.3 !important;
}

/* Standard and refreshed posts share one reading system. */
body.tekden-native-theme :is(.td-post-article__content,.td-post-article--refreshed .article-body,.td-legal__document) {
 font-size: var(--td-type-body); line-height: 1.7;
}
body.tekden-native-theme :is(.td-post-article__content,.td-post-article--refreshed .article-body,.td-legal__document) :is(p,li) {
 font-size: var(--td-type-body); line-height: 1.7;
}
body.tekden-native-theme :is(.td-post-article__content,.td-post-article--refreshed .article-body,.td-legal__document) :is(h2,[data-td-heading="2"]) {
 font-size: clamp(1.5rem,2.5vw,2rem) !important; line-height: 1.25 !important; letter-spacing: -.02em !important;
}
body.tekden-native-theme :is(.td-post-article__content,.td-post-article--refreshed .article-body,.td-legal__document) :is(h3,[data-td-heading="3"]) {
 font-size: 1.375rem !important; line-height: 1.3 !important; letter-spacing: -.015em !important;
}
body.tekden-native-theme :is(.td-post-article__content,.td-post-article--refreshed .article-body,.td-legal__document) h4 { font-size: 1.125rem !important; line-height: 1.4 !important; }
body.tekden-native-theme :is(.td-post-article__content,.td-legal__document,.td-faq__body) strong { font-weight: var(--td-weight-heading) !important; }

/* Eyebrows and supporting copy. Do not enlarge icon glyphs or decorative numbers. */
body.tekden-native-theme :is(.td-eyebrow,.td-kicker,.tl-kicker,.cp-kicker,.ct-eyebrow,.tc-eyebrow,.td-brochure__eyebrow,.studio-kicker,.eyebrow) {
 font-size: var(--td-type-label) !important; font-weight: var(--td-weight-heading) !important;
 letter-spacing: .1em !important; line-height: 1.4 !important;
}
body.tekden-native-theme :is(.tc-banner button,.tc-dialog button,.tc-embed button) { font-size: var(--td-type-button); font-weight: var(--td-weight-heading); }
body.tekden-native-theme :is(.tc-banner h2,.tc-dialog h2) { font-size: 1.5rem; line-height: 1.25; }

/* Both Studio tools and their product/details/quote dialogs share the UI scale. */
body.tekden-native-theme :is(.cp-studio-app,.ct-page,.cq-product-dialog,.cq-option-info,.bar-studio-page,.tkf) { font-family: var(--td-font-ui) !important; }
body.tekden-native-theme .cp-studio-app .studio-heading h2 {
 font-size: clamp(1.75rem,3vw,2.625rem); line-height: 1.12; letter-spacing: -.03em;
}
body.tekden-native-theme .cp-studio-app .studio-heading>p:last-child { font-size: var(--td-type-body); line-height: 1.6; }
body.tekden-native-theme :is(.cp-studio-app #panel h1,.bar-studio-page .ct-option-heading h2,.ct-option-heading h2,.cp-studio-app #panel h2) {
 font-size: clamp(1.5rem,2.2vw,2rem); line-height: 1.2; letter-spacing: -.025em;
}
body.tekden-native-theme :is(.cp-studio-app .card h3,.cq-step h3,.bar-studio-page .cq-group-title) {
 font-size: 1rem !important; font-weight: var(--td-weight-heading) !important; line-height: 1.4 !important; letter-spacing: normal;
}
body.tekden-native-theme :is(.cp-studio-app .card p,.cp-studio-app .card .price,.cp-studio-app .price-note,.cp-studio-app .cost small,.cp-studio-app .cost span,.cp-studio-app .camera-hint,.cq-option-note,.cq-option-price,.cq-product-dialog .cq-product-description) {
 font-size: var(--td-type-small) !important; line-height: 1.5 !important;
}
body.tekden-native-theme :is(.cp-studio-app .cardactions button,.cp-studio-app .header-actions button,.cp-studio-app .stages button,.cp-studio-app .camera-presets button,.cp-studio-app .camera-hint,.ct-view-icons button span,.cq-view-product,.cq-option-info .cq-info-retry) {
 font-size: var(--td-type-small) !important; line-height: 1.35 !important;
}
body.tekden-native-theme :is(.cp-studio-app .cost strong,.cp-studio-app .view-cost strong,.cq-total strong,.cq-summary-total strong,.bar-configurator-total strong) {
 font-size: var(--td-type-total) !important; font-weight: var(--td-weight-display) !important; line-height: 1.15 !important; font-variant-numeric: tabular-nums;
}
body.tekden-native-theme :is(.cp-studio-app .camera-menu button,.cp-studio-app .camera-presets button) { white-space: normal; }

/* Mobile: allow the words room; never squeeze product names to 12px. */
@media (max-width: 640px) {
 body.tekden-native-theme :is(.td-shop-archive__products,.td-shop-archive__products ul.products,.woocommerce ul.products) { grid-template-columns: minmax(0,1fr); }
 body.tekden-native-theme .td-product-card__actions { flex-wrap: wrap; }
 body.tekden-native-theme :is(.td-product-card__view,.td-product-card__quick-add) { min-height: 44px; }
 body.tekden-native-theme :is(input,select,textarea) { font-size: 1rem !important; }
 body.tekden-native-theme .cp-studio-app .camera-presets .camera-menu { flex-wrap: wrap; }
 body.tekden-native-theme .cp-studio-app .camera-presets button { min-height: 44px; }
 body.tekden-native-theme :is(.cp-studio-app .cardactions,.cp-studio-app .view-cost) { flex-wrap: wrap; }
}
@media (max-width: 380px) {
 body.tekden-native-theme .cp-studio-app .grid { grid-template-columns: minmax(0,1fr); }
}

/* Image-led feature cards remain distinct from compact product cards. */
body.tekden-native-theme .td-choice-card h3 { font-size: clamp(1.5rem,2.8vw,2.25rem); line-height: 1.15; letter-spacing: -.02em; }
body.tekden-native-theme :is(.td-home .td-section-head>p,.td-home .td-choice-intro>p,.td-home .td-configurator__copy>p,.td-home .td-why__copy>p) { font-size: var(--td-type-body); line-height: 1.6; }
body.tekden-native-theme .td-product-card__price { font-size: 1rem !important; }
/* Shared readable supporting text across commerce and both configurators. */
body.tekden-native-theme :is(.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.td-product-page__breadcrumb,.td-product-page__breadcrumb a) { font-size: var(--td-type-small) !important; font-weight: var(--td-weight-label) !important; line-height: 1.5 !important; }
body.tekden-native-theme :is(.cp-hero-copy>p:not([class]),.bar-product-description,.bar-product-intro) { font-size: var(--td-type-body) !important; line-height: 1.6 !important; }
body.tekden-native-theme :is(.cp-eyebrow,.bar-product-eyebrow) { font-size: var(--td-type-label) !important; font-weight: var(--td-weight-heading) !important; letter-spacing: .1em !important; }
body.tekden-native-theme :is(.cq-ral-copy,.cq-ral-copy strong,.bar-family-description,.cq-price small,.ct-details,.ct-angle-help) { font-size: var(--td-type-small) !important; line-height: 1.5 !important; }
body.tekden-native-theme :is(.cq-ral-copy strong,.cq-option-name) { font-weight: var(--td-weight-label) !important; }
body.tekden-native-theme .cq-price strong { font-size: var(--td-type-total) !important; font-weight: var(--td-weight-display) !important; font-variant-numeric: tabular-nums; }
/* Woo Blocks and desktop search previously force smaller text with !important. */
body.tekden-native-theme.woocommerce-checkout :is(
 input,select,textarea,
 .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input
) { font-size: 1rem !important; font-weight: var(--td-weight-body) !important; }
body.tekden-native-theme .header-search .dgwt-wcas-search-input { font-size: 1rem !important; font-weight: var(--td-weight-body) !important; }

/* The password-protected standalone Studio has its scope on body itself. */
body.tekden-native-theme.td-studio-standalone .studio-heading h2 { font-size:clamp(1.75rem,3vw,2.625rem);line-height:1.12;letter-spacing:-.03em; }
body.tekden-native-theme.td-studio-standalone .studio-heading>p:last-child { font-size:var(--td-type-body);line-height:1.6; }
body.tekden-native-theme.td-studio-standalone #panel :is(h1,h2) { font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.2;letter-spacing:-.025em; }
body.tekden-native-theme.td-studio-standalone .card h3 { font-size:1rem!important;font-weight:var(--td-weight-heading)!important;line-height:1.4!important;letter-spacing:normal; }
body.tekden-native-theme.td-studio-standalone :is(.card p,.card .price,.price-note,.cost small,.cost span) { font-size:var(--td-type-small)!important;line-height:1.5!important; }
body.tekden-native-theme.td-studio-standalone :is(.cardactions button,.header-actions button,.stages button,.camera-presets button,.camera-hint) { font-size:var(--td-type-small)!important;line-height:1.35!important; }
body.tekden-native-theme.td-studio-standalone :is(.cost strong,.view-cost strong) { font-size:var(--td-type-total)!important;font-weight:var(--td-weight-display)!important;line-height:1.15!important;font-variant-numeric:tabular-nums; }
body.tekden-native-theme.td-studio-standalone :is(.camera-menu button,.camera-presets button) { white-space:normal; }
@media(max-width:640px) {
 body.tekden-native-theme.td-studio-standalone :is(.camera-presets .camera-menu,.cardactions,.view-cost) { flex-wrap:wrap; }
 body.tekden-native-theme.td-studio-standalone .camera-presets button { min-height:44px; }
}
@media(max-width:380px) {
 body.tekden-native-theme.td-studio-standalone .grid { grid-template-columns:minmax(0,1fr); }
}
