/* 710 component spacing. Overrides only named 710 components within their owning
   template. Body copy, theme widgets, payment fields, quantity controls and the
   persistent header rows do not receive a global padding or margin reset. */
:root {
 --tn710-s-card:24px; --tn710-s-heading:16px; --tn710-s-action:24px;
 --tn710-s-side:24px; --tn710-s-field:20px; --tn710-s-between:12px;
}
@media (max-width:767px) {
 :root {--tn710-s-card:16px;--tn710-s-heading:12px;--tn710-s-action:20px;--tn710-s-side:16px;--tn710-s-field:16px}
}

/* Let adjacent actions wrap rather than inflating the hero or compressing text. */
.elementor .tnhome-2026.tnhome-b2b .tnh-hero .tnh-actions,
.elementor .tnhome-2026.tnhome-2026 .tnh-consult-actions,
.elementor .tna-section.e-con .tna-actions.e-con,
.elementor .tnterp-root .tnterp-row:has(> .elementor-widget-button + .elementor-widget-button),
.elementor .tn710-coa-page .e-con:has(> .elementor-widget-button + .elementor-widget-button),
.tn710-brand .tn710-brand-hero-actions,.tn710-brand .tn710-brand-consult-links,
.tn710-footer .tnf-actions,.tnfaq-root :is(.tnfaq-filters,.tnfaq-nav) {
 gap:var(--tn710-s-between);row-gap:var(--tn710-s-between);column-gap:var(--tn710-s-between);
}
.elementor .tnhome-2026.tnhome-v1103 :is(.tnh-consult-actions,.tnh-hero-copy) .elementor-button,
.elementor :is(.tn710-coa-page,.tnct-line,.tnfaq-contact,.tnsa-support) .elementor-button,
.tn710-brand .tn710-brand-hero-actions .tn710-brand-action:not(.is-secondary):not(.is-text),
.tn710-brand .tn710-brand-consult-links .tn710-brand-action:not(.is-secondary):not(.is-text),
:is(.tn710-account-surface,.tn710-account-page main) form :is(button[type=submit],input[type=submit]) {
 box-sizing:border-box;min-height:48px;height:auto;max-width:100%;
 padding:12px var(--tn710-s-action);white-space:normal;overflow-wrap:anywhere;line-height:1.4;
}
.tn710-footer .tnf-actions .elementor-button {
 min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:center;
}
.tn710-footer .tnf-actions > .elementor-widget-button {min-width:0}
.elementor .tnterp-root .tnterp-card {
 gap:var(--tn710-s-heading);padding:var(--tn710-s-card)!important;
}
.elementor .tna-section.e-con .tna-grid3.e-con {gap:var(--tn710-s-card)}
.elementor .tnco-section .tnco-links.e-con {gap:var(--tn710-s-card)}
.elementor .tnfaq-root.e-con {gap:var(--tn710-section-space,48px)}
.elementor .tnfaq-root .tnfaq-item.e-con {gap:var(--tn710-s-heading);padding:var(--tn710-s-card)!important}

/* Contact and legal/CoA templates embed later CSS: use the owning container to
   avoid a page-wide widget override. Never restyle the internals of MetForm. */
.elementor .tn710-contact-v1 .tnct-form-panel.e-con,
.elementor .tn710-contact-v1 .tnct-line.e-con {padding:var(--tn710-s-card)}
.elementor .tn710-contact-v1 .tnct-guide-copy.e-con {gap:var(--tn710-s-heading)}
.elementor .tn710-contact-v1 .tnct-intro.e-con {gap:var(--tn710-s-heading)}
.elementor .tn710-legal .e-con:has(> .elementor-widget-heading + .tn710-legal-body) {row-gap:var(--tn710-s-heading)}

/* Product explanation: previously a container gap, headline margin, and the
   first paragraph heading margin could all be added together. Heading->widget
   now has one owner. Leave variation options and add-to-cart layout intact. */
body.single-product .tn710-product > .tn710-section.e-con {row-gap:var(--tn710-s-heading)!important}
body.single-product .tn710-product > .tn710-section > .elementor-widget-heading :is(h2,h3) {margin-block-end:0}
body.single-product .tn710-product .tn710-section .tn710-prose > :first-child:is(h3,h4) {margin-block-start:0}
body.single-product .tn710-product .tn710-faq-open .tn710-faq-item {padding-block:var(--tn710-s-card)}
body.single-product .tn710-product .tn710-faq-open .tn710-faq-item > h3 {margin-block-end:var(--tn710-s-heading)}

/* Catalog controls keep a 44px secondary target; short narrow product cards
   keep their existing special mobile padding instead of forcing desktop widths. */
.tn710-product-archive .tn710-pa-toolbar .tn710-pa-toolbar-actions,
.tn710-product-archive .tn710-pa-toolbar .tn710-pa-sort {gap:var(--tn710-s-between)}
.tn710-brand .tn710-brand-series-head {row-gap:var(--tn710-s-heading);margin-block-end:var(--tn710-s-card)}
.tn710-brand .tn710-brand-series-grid {gap:var(--tn710-s-card)}
.tn710-series-search :is(.tn710-series-query,.tn710-series-select) {row-gap:8px}
.tn710-series-catalog .tn710-series-search {padding:var(--tn710-s-card)}
.tn710-series-catalog .tn710-series-search .tn710-series-controls {gap:var(--tn710-s-between)}

/* Compact purchase and account areas: leave summary tables, form field
   widths, payment providers and sticky cart behavior to WooCommerce. */
:is(.tn710-cart-page,.tn710-cart-empty-page) .wc-proceed-to-checkout {padding-block-start:var(--tn710-s-action)}
.tn710-cart-page .tn710-cart-shell.e-con,
.tn710-checkout-page .tn710-checkout-shell.e-con {padding-inline:var(--tn710-s-side)!important}
.tn710-checkout-page :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper) {row-gap:var(--tn710-s-field)}
.tn710-account-surface .tn710-account-forms #customer_login > :is(.col-login,.col-register),
.tn710-account-surface form.woocommerce-ResetPassword {padding:var(--tn710-s-card)}
:is(.tn710-account-surface,.tn710-account-page main) form :is(.woocommerce-form-row,.form-row) > label:not(.checkbox,.woocommerce-form__label-for-checkbox) {margin-block-end:8px}
.tn710-account-surface .tn710-account-quick-links ul {gap:var(--tn710-s-between)}
@media (max-width:359px) {
 .tn710-account-surface .tn710-account-nav :is(.woocommerce-MyAccount-navigation ul,ul) {grid-template-columns:minmax(0,1fr)}
}
/* Leave persistent rows, search and navigation density alone; separate the
   headings from their lists only inside the open desktop menu. */
.tn710-header-v2 .tnh-mega h2 {margin-block-end:var(--tn710-s-heading)}

/* WoodMart gives main.container a 15px gutter of its own. In these specific
   mobile layouts the 710 template already owns BOTH side gutters. Keep the
   theme gutter on other page structures (e.g. About/Company stretch bands). */
@media (max-width:767px) {
 main.wd-content-layout.container:has(:is(.tn710-brand,.tn710-series-page,.tn710-product,.tn710-account-surface,.tnfaq-root,.tn710-cart-page,.tn710-checkout-page,.tn710-contact-v1,.tn710-message,.tn710-coa-page,.tn710-legal,.tnterp-root)) {
  padding-inline:0;
 }
 .elementor .tnfaq-root .tnfaq-hero.e-con,
 .elementor .tnfaq-root .tnfaq-contact.e-con {padding-inline:0!important}
 .elementor .tn710-contact-v1 .tnct-wrap.e-con {padding-inline:var(--tn710-s-side)}
 .elementor :is(.tn710-coa-page,.tn710-legal).e-con.e-parent {--padding-left:var(--tn710-s-side);--padding-right:var(--tn710-s-side)}
}
@media (max-width:359px) {
 /* Keep both home hero actions on the first line at 320px without sacrificing
    their minimum 48px height. Longer future labels can still wrap naturally. */
 .elementor .tnhome-2026.tnhome-v1103 .tnh-hero .tnh-actions .elementor-button {padding-inline:16px}
}
