/* ==========================================================================
   TPCPL <-> WooCommerce theme harmonisation.
   WooCommerce ships its own default typography/colour/button styling that
   doesn't pick up the site's Inter/Poppins fonts or red/cyan brand tokens
   (see fonts.css :root). This file overrides WooCommerce's default CSS on
   shop / category / single-product / cart / checkout / account pages only
   (conditionally enqueued in functions.php) so those pages read as part of
   the same site as the Elementor-built pages, not a bolted-on plugin UI.
   ========================================================================== */

/* ---- Base typography ---- */
.woocommerce,
.woocommerce p,
.woocommerce ul.products li.product,
.woocommerce div.product .woocommerce-tabs,
.woocommerce table.shop_table {
	font-family: "Poppins", sans-serif;
	color: var(--tpc-ink, #282828);
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce h4,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3,
.woocommerce div.product .product_title {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	color: var(--tpc-ink, #282828);
	letter-spacing: -0.01em;
}

/* ---- Links ---- */
.woocommerce a:not(.button):not(.tpc-crumbs a) {
	color: var(--tpc-red, #DD292C);
}
.woocommerce a:not(.button):not(.tpc-crumbs a):hover {
	color: var(--tpc-red-dark, #B91F22);
}

/* ---- Buttons: match .tpc-btn--red pill style sitewide ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce ul.products li.product a.button {
	background: var(--tpc-red, #DD292C);
	border: none;
	color: #fff !important;
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 13px 30px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
	box-shadow: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--tpc-red-dark, #B91F22);
	color: #fff !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--tpc-black, #000);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--tpc-red, #DD292C);
}
.woocommerce a.added_to_cart {
	color: var(--tpc-red, #DD292C);
	font-family: "Inter", sans-serif;
	font-weight: 600;
}

/* ---- Price / catalog-mode placeholder text ---- */
.woocommerce span.price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
	color: var(--tpc-red-dark, #B91F22);
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 15px;
}
.woocommerce del .woocommerce-Price-amount { color: #999; }

/* ---- Product grid cards ---- */
.woocommerce ul.products li.product {
	margin-bottom: 40px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
	font-size: 17px;
	margin: 12px 0 6px;
}
.woocommerce ul.products li.product img {
	border-radius: 2px;
}

/* ---- Result count + ordering bar ---- */
.woocommerce-result-count,
.woocommerce-ordering select {
	font-family: "Poppins", sans-serif;
	color: var(--tpc-grey-foot, #7C7C7C);
	font-size: 14px;
}
.woocommerce-ordering select {
	border: 1px solid var(--tpc-rule, #D0D0D0);
	border-radius: 4px;
	padding: 8px 12px;
}

/* ---- Hide WooCommerce's default plain archive title / description /
   breadcrumb — replaced site-wide by the dark `.tpc-pagehead` band. ---- */
.woocommerce-products-header__title.page-title,
.page-title.woocommerce-products-header__title,
header.woocommerce-products-header .page-title,
.woocommerce-breadcrumb,
.term-description,
.woocommerce-products-header__description {
	display: none;
}

/* ---- Single product ---- */
.woocommerce div.product .product_title {
	font-size: 34px;
	line-height: 1.15;
	margin-bottom: 14px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 20px;
}
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-product-details__short-description p {
	font-family: "Poppins", sans-serif;
	color: var(--tpc-ink, #282828);
	line-height: 1.7;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	color: var(--tpc-ink, #282828);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--tpc-red, #DD292C);
}
.woocommerce div.product .woocommerce-tabs table.shop_attributes,
.woocommerce div.product .woocommerce-tabs table.woocommerce-table--product-attributes {
	border: 1px solid var(--tpc-rule, #D0D0D0);
}
.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
.woocommerce div.product .woocommerce-tabs table th {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	background: #0a0a0a;
	color: #fff;
	width: 220px;
}
.woocommerce div.product .woocommerce-tabs table.shop_attributes td,
.woocommerce div.product .woocommerce-tabs table td {
	background: #fff;
}
.woocommerce span.onsale {
	background: var(--tpc-red, #DD292C);
	font-family: "Inter", sans-serif;
	font-weight: 700;
}

/* ---- Category / tag chips on single product ---- */
.woocommerce div.product .product_meta a {
	color: var(--tpc-red, #DD292C);
}

/* ---- Cart / checkout tables, forms ---- */
.woocommerce table.shop_table th {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	background: #0a0a0a;
	color: #fff;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce #order_review table.shop_table,
.woocommerce-checkout #payment ul.payment_methods {
	font-family: "Poppins", sans-serif;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
	border: 1px solid var(--tpc-rule, #D0D0D0);
	border-radius: 4px;
	padding: 10px 14px;
}

/* ---- Star ratings, notices ---- */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--tpc-red, #DD292C);
}
.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--tpc-cyan, #21C0DE);
}
.woocommerce-message::before { color: var(--tpc-cyan-text, #0B7F94); }
.woocommerce-error {
	border-top-color: var(--tpc-red, #DD292C);
}
.woocommerce-error::before { color: var(--tpc-red, #DD292C); }

/* ---- Pagination ---- */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	border-color: var(--tpc-rule, #D0D0D0);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
	background: var(--tpc-red, #DD292C);
	color: #fff;
}

/* ---- TPCPL dark pagehead band reused on WooCommerce pages ----
   Padding matches .tpc-pagehead exactly (layout-fix.css) — the same
   header container spacing used on Company/Capabilities/Infrastructure/
   Contact: 230/96px top/bottom + 24px sides desktop, 170/72px + 25px
   sides tablet (<=1024), 128/52px + 20px sides mobile (<=767). This class
   lives in each Turbo Header/Footer Builder template's title band (Products
   shop page + its category sub-pages), so Products reads identically to
   every other inner page. */
.tpc-pagehead-inner {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: 230px 24px 96px;
}
.tpc-pagehead-inner .tpc-crumbs {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #bbb;
	margin: 0 0 10px;
}
.tpc-pagehead-inner .tpc-crumbs a { color: #bbb; }
.tpc-pagehead-inner .tpc-crumbs a:hover { color: #fff; }
.tpc-pagehead-inner .tpc-crumbs .tpc-crumbs__current { color: #fff; }
.tpc-pagehead-intro {
	color: #eee;
	font-family: "Poppins", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	font-weight: 500;
	max-width: 720px;
	margin: 0;
}
@media (max-width: 1024px) {
	.tpc-pagehead-inner { padding: 170px 25px 72px; }
}
@media (max-width: 767px) {
	.tpc-pagehead-inner { padding: 128px 20px 52px; }
	.tpc-pagehead-intro { font-size: 16px; }
}

/* ==========================================================================
   Turbo Header & Footer Builder header — WooCommerce shop / category /
   single-product pages. Only the logo+menu row (given the CSS ID
   `tahefobu-sticky-nav` in each Turbo header template's Advanced tab)
   becomes fixed, matching #masthead's exact fixed + scroll-blur "squeeze"
   behaviour (see header-nav.css). The hero/breadcrumb band below it stays
   in normal flow — only the nav strip should stick, not the whole header
   template. Also removes Turbo's built-in opacity fade-in on load so the
   header appears instantly like every other page's header.
   ========================================================================== */
/* #tahefobu-header sets will-change:transform (for its own fade-in reveal),
   which creates a new containing block for `position: fixed` descendants
   per spec — trapping the nav row's fixed positioning relative to this
   wrapper instead of the viewport. Must be neutralised for the nav row's
   fixed position below to anchor to the viewport correctly. */
#tahefobu-header {
	will-change: auto !important;
}
#tahefobu-sticky-nav {
	position: fixed !important;
	top: 0 !important;
	left: 0;
	right: 0;
	z-index: 100;
	transition: background-color .3s ease, box-shadow .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
body.admin-bar #tahefobu-sticky-nav {
	top: 32px;
}
#tahefobu-sticky-nav.tpc-is-stuck {
	background-color: rgba(0,0,0,.94) !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
/* Padding + logo size, matching .elementor-element-hdr0001 / hdr0002's
   default (45px / 154px) and stuck (14px / 75px) values exactly — see
   header-nav.css. Turbo's own row has 0 padding by default, which is why
   the nav looked cramped compared to every other page. */
#tahefobu-sticky-nav {
	padding-top: 45px !important;
	padding-bottom: 45px !important;
	transition: padding .3s ease, background-color .3s ease, box-shadow .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
#tahefobu-sticky-nav.tpc-is-stuck {
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}
#tahefobu-sticky-nav .hfe-site-logo-container,
#tahefobu-sticky-nav .hfe-site-logo-set,
#tahefobu-sticky-nav .hfe-site-logo {
	width: 154px !important;
	flex-shrink: 0 !important;
	transition: width .3s ease;
}
#tahefobu-sticky-nav .hfe-site-logo-container img {
	width: 154px !important;
	max-width: 154px !important;
	transition: width .3s ease, max-width .3s ease;
}
#tahefobu-sticky-nav.tpc-is-stuck .hfe-site-logo-container,
#tahefobu-sticky-nav.tpc-is-stuck .hfe-site-logo-set,
#tahefobu-sticky-nav.tpc-is-stuck .hfe-site-logo {
	width: 75px !important;
}
#tahefobu-sticky-nav.tpc-is-stuck .hfe-site-logo-container img {
	width: 75px !important;
	max-width: 75px !important;
}
@media (max-width: 1024px) {
	#tahefobu-sticky-nav {
		padding-top: 22px !important;
		padding-bottom: 22px !important;
	}
	#tahefobu-sticky-nav .hfe-site-logo-container,
	#tahefobu-sticky-nav .hfe-site-logo-set,
	#tahefobu-sticky-nav .hfe-site-logo {
		width: 118px !important;
	}
	#tahefobu-sticky-nav .hfe-site-logo-container img {
		width: 118px !important;
		max-width: 118px !important;
	}
}

/* Once the hero/breadcrumb band (still in normal flow) scrolls past, the
   now-fixed nav strip would overlap the WooCommerce result grid beneath it
   — push that content down by the nav's own height only. */
body.turbo-hide-theme-header #primary {
	padding-top: 100px;
}
@media (max-width: 1024px) {
	body.turbo-hide-theme-header #primary {
		padding-top: 50px;
	}
}
/* Kill Turbo's own opacity(0 -> 1) fade-in on load; show instantly. */
html.tahefobu-js #tahefobu-header,
html.tahefobu-js #tahefobu-header.tahefobu-ready {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
	pointer-events: auto !important;
}

/* ==========================================================================
   Page width — Hello Elementor's own theme.css caps `.site-main` at 1140px
   for any page that ISN'T Elementor-built (`body:not([class*=elementor-page-])`,
   @media min-width:1200px). Every Elementor-built page on the site is
   exempted from that rule and instead uses the site's own 1400px content
   convention (--container-max-width, layout-fix.css). WooCommerce's
   archive/single templates are never Elementor pages, so they fell back to
   the theme's narrower 1140px — widen them to match every other page.
   ========================================================================== */
@media (min-width: 1200px) {
	body.woocommerce-page:not([class*="elementor-page-"]) .site-main,
	body.woocommerce:not([class*="elementor-page-"]) .site-main {
		max-width: 1400px !important;
	}
}

/* ==========================================================================
   Zero out Hello Elementor's own default side padding — theme.css sets
   padding-inline-start/end on these selectors (header/footer inner wraps,
   the non-Elementor .site-main, and the page-header title) which fights
   the site's own #primary / header-nav.css / layout-fix.css gutters on
   WooCommerce pages. All horizontal spacing for these is owned by this
   child theme instead.
   ========================================================================== */
.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*="elementor-page-"]) .site-main {
	padding-inline-start: 0px;
	padding-inline-end: 0px;
}

/* ==========================================================================
   Mobile menu toggle position — header-nav.css pushes the hamburger/close
   icon to the row's right edge via hardcoded IDs from the ORIGINAL header
   template (.elementor-element-hdr0001/hdr0002/hdr0003, justify-content:
   flex-end on the nav-menu's own Container). Each Turbo header template is
   a separate Elementor document with different element IDs, so none of
   those rules matched — the toggle sat squeezed right next to the logo
   instead of at the row's right edge like every other page. Generic
   equivalent, scoped to the nav row's own structure instead of IDs.
   ========================================================================== */
@media (max-width: 1024px) {
	#tahefobu-sticky-nav .e-con-inner {
		flex-wrap: nowrap !important;
	}
	#tahefobu-sticky-nav .e-con-inner > .e-child:has(.elementor-widget-navigation-menu) {
		justify-content: flex-end !important;
		flex: 0 1 auto !important;
		min-width: 0 !important;
	}
}

/* ==========================================================================
   Mobile edge padding — header-nav.css gives the ORIGINAL header's row
   (.elementor-element-hdr0001) `width: calc(100% - 48px); margin: auto`,
   creating 24px of side spacing so the logo/toggle don't touch the screen
   edge. That's another hdr0001-ID rule that never matched Turbo's header.
   Generic equivalent, applied as padding on the row's own inner wrapper.
   ========================================================================== */
@media (max-width: 1024px) {
	#tahefobu-sticky-nav .e-con-inner {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

/* ==========================================================================
   Logo stays visible above the open mobile drawer — header-nav.css raises
   the ORIGINAL logo container's (.elementor-element-hdr0002) z-index above
   the drawer (z-index:9999) while it's open, since the drawer is a DOM
   descendant sharing the header's stacking context. Same hdr0002-ID
   limitation; generic equivalent via :has() targeting whichever row child
   actually holds the Site Logo widget.
   ========================================================================== */
@media (max-width: 1024px) {
	#tahefobu-sticky-nav:has(.hfe-nav-menu__toggle.hfe-active-menu) {
		background-color: #000 !important;
	}
	#tahefobu-sticky-nav .e-con-inner > *:has(.hfe-site-logo) {
		position: relative;
	}
	body:has(.hfe-nav-menu__toggle.hfe-active-menu) #tahefobu-sticky-nav .e-con-inner > *:has(.hfe-site-logo) {
		z-index: 10000;
	}
}



#primary {
	max-width:1400px;
	margin:auto;
	padding-left:20px;
	padding-right:20px;
}
@media (max-width: 1024px) {
	#primary {
		padding-left: 25px;
		padding-right: 25px;
	}
}
@media (max-width: 767px) {
	#primary {
		padding-left: 20px;
		padding-right: 20px;
	}
}


.related.products h2 {
	padding-top:50px;
	padding-bottom:30px;
	font-family: "Inter", Sans-serif;
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1em;
    letter-spacing: 0.005em;
    color: #0E9DB8;
}

.woocommerce div.product h1.product_title {
	font-family: "Inter", Sans-serif;
    font-size: 55px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1em;
    letter-spacing: 0.005em;
    color: #DD292C;
}

.woocommerce h3 {
	font-size: 55px;
	font-weight: 500;
}

/* Responsive type scale — matches the site's Elementor breakpoints
   (Tablet <= 1024px, Mobile <= 767px) and the same reduction ratios used
   by .tpc-pagehead .elementor-heading-title (layout-fix.css), so these
   WooCommerce headings scale down like every other display heading on the
   site instead of staying fixed at their desktop size. */
@media (max-width: 1024px) {
	.related.products h2 {
		font-size: 44px;
	}
	.woocommerce div.product h1.product_title,
	.woocommerce h3 {
		font-size: 40px;
	}
}
@media (max-width: 767px) {
	.related.products h2 {
		font-size: 30px;
	}
	.woocommerce div.product h1.product_title,
	.woocommerce h3 {
		font-size: 35px;
	}
}

#elex_prod_new_div button {
	    background-color: #DD292C;
    fill: #FFFFFF;
    color: #FFFFFF;
}

.product_meta{
	padding-top:30px;
}

.woocommerce-page .elementor {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.woocommerce-tabs h2 {
	display:none;
}

.tabs.wc-tabs{
	display:none;
}