/* TechTuke WordPress/WooCommerce bridge over the Higgsfield design system.
   The compiled design CSS (higgsfield.css) supplies tokens + utilities; this
   layer covers WordPress/WooCommerce-generated markup and small gaps. */

:root {
	--tt-graphite: #101014; --tt-nero: #0a0a0d; --tt-ink: #f4f1ea; --tt-bone: #f4f1ea;
	--tt-red: #e42618; --tt-red-dark: #c11d10; --tt-steel: #9a938c; --tt-steel-light: #c6c0b8;
	--tt-paper: #0c0b0f; --tt-cloud: #17161d; --tt-panel: #121119; --tt-line: #26242e;
}

.sr-only, .screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.tt-noscroll { scrollbar-width: none; }
.tt-noscroll::-webkit-scrollbar { display: none; }

/* Header offset under the WP admin bar so the sticky header is not hidden. */
.admin-bar #tt-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #tt-header { top: 46px; } }

.is-stuck { box-shadow: 0 10px 30px -20px rgba(0,0,0,.9); }

/* Page base safety (in case a utility is missing): dark ground + light ink. */
body { background-color: var(--tt-paper); color: var(--tt-ink); }

/* ---------------------------------------------------------------------------
   WooCommerce dark skin — single product, cart, checkout, account, notices.
   Keeps WC's own markup legible in the dark theme (typography via Space Grotesk). */
.woocommerce, .woocommerce-page,
.woocommerce-account .woocommerce, .woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce {
	color: var(--tt-ink); font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}
.tt-main .woocommerce { max-width: 1220px; margin: 0 auto; padding: 2.5rem 1.25rem; }
@media (min-width: 768px) { .tt-main .woocommerce { padding: 2.5rem 2rem; } }

.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce .product_title,
.woocommerce-account h1, .woocommerce-cart h1, .woocommerce-checkout h1 {
	font-family: "Sora", ui-sans-serif, system-ui, sans-serif; color: var(--tt-ink); letter-spacing: -0.02em;
}
.woocommerce a { color: var(--tt-ink); }
.woocommerce a:hover { color: var(--tt-red); }

/* Prices */
.woocommerce .price, .woocommerce .amount, .woocommerce-Price-amount { color: var(--tt-ink); font-family: "Sora", sans-serif; font-weight: 700; }
.woocommerce del, .woocommerce del .amount { color: var(--tt-steel); }
.woocommerce ins { text-decoration: none; }

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit,
.woocommerce .button, .wc-block-components-button {
	background: var(--tt-red); color: #fff; border: 0; border-radius: 0.5rem;
	padding: 0.75rem 1.25rem; font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px;
	transition: background-color .2s; box-shadow: none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce .button:hover {
	background: var(--tt-red-dark); color: #fff;
}
.woocommerce a.button.wc-backward, .woocommerce .button.wc-backward {
	background: transparent; color: var(--tt-ink); border: 1px solid var(--tt-line);
}

/* Inputs */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce .quantity input, .woocommerce select, .woocommerce input[type="text"],
.woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"],
.woocommerce input[type="number"], .select2-container--default .select2-selection--single {
	background: var(--tt-cloud); border: 1px solid var(--tt-line); color: var(--tt-ink);
	border-radius: 0.5rem; padding: 0.65rem 0.85rem; font-size: 14px;
}
.woocommerce label { color: var(--tt-steel-light); font-size: 13px; }

/* Tables / cards / panels */
.woocommerce table.shop_table, .woocommerce .cart-collaterals .cart_totals,
.woocommerce .woocommerce-checkout-review-order-table, .woocommerce-account .woocommerce-MyAccount-content,
.woocommerce ul.order_details, .woocommerce .woocommerce-order {
	background: var(--tt-cloud); border: 1px solid var(--tt-line); border-radius: 0.75rem; color: var(--tt-ink);
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--tt-line); }
.woocommerce .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce .woocommerce-MyAccount-navigation li { border: 1px solid var(--tt-line); border-radius: 0.5rem; margin-bottom: 0.4rem; }
.woocommerce .woocommerce-MyAccount-navigation li a { display: block; padding: 0.6rem 0.9rem; }
.woocommerce .woocommerce-MyAccount-navigation li.is-active { background: var(--tt-red); }
.woocommerce .woocommerce-MyAccount-navigation li.is-active a { color: #fff; }

/* Notices — accessible success / info / warning / error with icon + action. */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
	position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.85rem;
	margin: 0 0 1.5rem; padding: 0.95rem 1.15rem 0.95rem 3rem;
	background: var(--tt-cloud); border: 1px solid var(--tt-line); border-left-width: 3px;
	border-radius: 0.6rem; color: var(--tt-ink); font-size: 14.5px; line-height: 1.5; list-style: none;
	box-shadow: 0 10px 30px -26px rgba(0,0,0,.9);
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
	content: ""; position: absolute; left: 0.95rem; top: 0.9rem; width: 20px; height: 20px;
	background-repeat: no-repeat; background-position: center; background-size: contain;
}
.woocommerce-error li, .woocommerce-info li, .woocommerce-message li { list-style: none; margin: 0; padding: 0; }
.woocommerce-message { border-left-color: #35c56a; }
.woocommerce-message::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335c56a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.woocommerce-info { border-left-color: #4c9ffe; }
.woocommerce-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c9ffe' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); }
.woocommerce-error { border-left-color: var(--tt-red); }
.woocommerce-error::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e42618' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.woocommerce-info.tt-warning, .woocommerce-message.tt-warning { border-left-color: #f5a524; }
.woocommerce-info.tt-warning::before, .woocommerce-message.tt-warning::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5a524' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.tt-notice__text { flex: 1 1 auto; min-width: 55%; }
.woocommerce-message a.button, .woocommerce-info a.button, .tt-notice__action,
.woocommerce-message .button, .woocommerce-info .button {
	margin-left: auto; padding: 0.5rem 0.95rem; font-size: 13px; border-radius: 0.45rem;
	background: var(--tt-red); color: #fff; font-family: "Sora", sans-serif; font-weight: 600; white-space: nowrap;
}
.woocommerce-message a.button:hover, .tt-notice__action:hover { background: var(--tt-red-dark); color: #fff; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { color: var(--tt-red); font-weight: 600; }
@media (max-width: 480px) {
	.woocommerce-message a.button, .woocommerce-info a.button, .tt-notice__action, .woocommerce-message .button {
		margin-left: 0; width: 100%; text-align: center;
	}
}

/* Breadcrumb + result count + ordering */
.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-result-count { color: var(--tt-steel); }
.woocommerce .woocommerce-ordering select { color: var(--tt-ink); }

/* Single product gallery well */
.woocommerce div.product div.images img { background: var(--tt-bone); border-radius: 0.75rem; }
.single-product .tt-main div.product { max-width: 1220px; margin: 0 auto; padding: 2.5rem 1.25rem; }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border-color: var(--tt-line); }
.woocommerce nav.woocommerce-pagination ul li { border-color: var(--tt-line); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	color: var(--tt-ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--tt-red); color: #fff; }

/* techtuke-core forms in the dark theme */
.tt-form, .techtuke-form { max-width: 720px; margin: 0 auto; }
.tt-form input, .tt-form select, .tt-form textarea,
.techtuke-form input, .techtuke-form select, .techtuke-form textarea {
	background: var(--tt-cloud); border: 1px solid var(--tt-line); color: var(--tt-ink);
	border-radius: 0.5rem; padding: 0.7rem 0.9rem; width: 100%; font-size: 14px;
}
.tt-form label, .techtuke-form label { color: var(--tt-steel-light); font-size: 13px; font-weight: 600; }
.tt-notice { border-radius: 0.5rem; padding: 0.8rem 1rem; border: 1px solid var(--tt-line); background: var(--tt-cloud); }
.tt-notice--ok { border-color: var(--tt-red); }

/* ---------------------------------------------------------------------------
   Faithful template runtime states (classes WooCommerce toggles at runtime). */

/* My Account: active nav pill. */
.woocommerce-MyAccount-navigation li.is-active .tt-account-link {
	background: var(--tt-red); border-color: var(--tt-red); color: #fff;
}
.woocommerce-MyAccount-navigation li.is-active .tt-account-link:hover { color: #fff; }

/* Single product: active data tab (WooCommerce adds li.active). */
.tt-tabs ul.tabs li.active .tt-tab-link { color: var(--tt-ink); border-bottom-color: var(--tt-red); }
.tt-tabs .wc-tab { display: none; }
.tt-tabs .wc-tab:first-of-type, .tt-tabs .panel { display: block; }

/* Quantity stepper: strip native number spinners inside our stepper. */
.tt-qty input[type=number]::-webkit-inner-spin-button,
.tt-qty input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tt-qty input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* Variation swatches / add-to-cart spacing on single product. */
.single-product .tt-summary .variations { width: 100%; margin-bottom: 1rem; }
.single-product .tt-summary .variations td, .single-product .tt-summary .variations th { padding: 0.35rem 0; vertical-align: middle; }
.single-product .tt-summary .single_variation_wrap .price { margin: 0.5rem 0; }
.single-product .tt-summary .woocommerce-variation-add-to-cart { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-top: 0.5rem; }
.single-product .tt-addtocart form.cart { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.single-product .tt-addtocart .button, .single-product .tt-summary .single_add_to_cart_button {
	background: var(--tt-red); color: #fff; border-radius: 0.5rem; padding: 0.85rem 1.6rem;
	font-family: "Sora", sans-serif; font-weight: 600;
}
.single-product .tt-addtocart .button:hover { background: var(--tt-red-dark); }

/* ---------------------------------------------------------------------------
   WooCommerce grid + gallery safety (default WC stylesheets are dequeued).
   The faithful templates supply layout via Tailwind; these rules only cover
   WooCommerce-generated markup that the removed WC CSS used to style. */
.woocommerce ul.products, .woocommerce-page ul.products { margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: auto; float: none; margin: 0; padding: 0; list-style: none; clear: none;
}
.woocommerce ul.products li.product::before, .woocommerce ul.products li.product::after { content: none; }

/* Single-product gallery (flexslider) */
.tt-gallery .woocommerce-product-gallery { position: relative; width: 100% !important; }
.tt-gallery .woocommerce-product-gallery__wrapper { margin: 0; padding: 0; list-style: none; }
.tt-gallery .woocommerce-product-gallery__image { list-style: none; }
.tt-gallery .woocommerce-product-gallery__image a { display: block; }
.tt-gallery .woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; }
.tt-gallery .flex-viewport { border-radius: 0.5rem; overflow: hidden; }
.tt-gallery ol.flex-control-thumbs, .tt-gallery .flex-control-thumbs {
	display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0; list-style: none;
}
.tt-gallery .flex-control-thumbs li { width: 64px; margin: 0; }
.tt-gallery .flex-control-thumbs img { width: 100%; height: auto; cursor: pointer; opacity: 0.55; border-radius: 0.375rem; transition: opacity .2s; }
.tt-gallery .flex-control-thumbs img.flex-active, .tt-gallery .flex-control-thumbs img:hover { opacity: 1; }
.tt-gallery .woocommerce-product-gallery__trigger { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 5; }

/* Result count / ordering (WC markup) kept legible */
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select { background: var(--tt-cloud); border: 1px solid var(--tt-line); color: var(--tt-ink); border-radius: 0.5rem; padding: 0.4rem 0.6rem; }

/* ---------------------------------------------------------------------------
   Staging notice bar: the MU-plugin (unchanged) injects it position:fixed and
   it overlays content in full-page views. Present it in the page flow instead
   so it never covers interactive/readable content, at every viewport. */
body > div[style*="2147483647"] {
	position: static !important;
	inset: auto !important;
	width: 100% !important;
}

/* Cart and checkout already sit inside the page template's padded container.
   Avoid a second horizontal inset that leaves only ~230px at a 320px viewport. */
.woocommerce-cart .tt-main .woocommerce,
.woocommerce-checkout .tt-main .woocommerce { padding-inline: 0; }

/* Narrow-phone containment for WooCommerce-generated intrinsic-width markup. */
@media (max-width: 479px) {
	.single-product .tt-summary .variations { table-layout: fixed; max-width: 100%; }
	.single-product .tt-summary .variations th,
	.single-product .tt-summary .variations td { display: block; width: 100%; min-width: 0; }
	.single-product .tt-summary .wcboost-variation-swatches,
	.single-product .tt-summary .wcboost-variation-swatches__wrapper { width: 100%; max-width: 100%; min-width: 0; }
	.single-product .tt-summary .wcboost-variation-swatches__item { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

	.tt-cart > .mt-8 > div,
	.tt-cart .woocommerce-cart-form,
	.tt-cart .tt-cart-lines { width: 100%; max-width: 100%; min-width: 0; }
	.tt-cart .tt-cart-lines { padding-inline: 0; }
	.tt-cart-line > div:first-child { width: 4.5rem; height: 4.5rem; }
	.tt-cart form > .mt-5 { width: 100%; min-width: 0; }
	.tt-cart .tt-coupon { min-width: 0; }
	.tt-cart button[name="update_cart"] { width: 100%; justify-content: center; }
}
/* ---------------------------------------------------------------------------
   WooCommerce pagination — horizontal Facet pills (WC default CSS is dequeued). */
.woocommerce nav.woocommerce-pagination { margin-top: 2.5rem; text-align: center; }
.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; border: 0; list-style: none;
}
.woocommerce nav.woocommerce-pagination ul li {
	display: inline-flex; margin: 0; border: 0; float: none; overflow: visible;
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.6rem;
	border: 1px solid var(--tt-line); border-radius: 0.5rem; background: var(--tt-cloud);
	color: var(--tt-ink); font-family: "Sora", sans-serif; font-weight: 600; font-size: 14px; text-decoration: none; transition: all .2s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--tt-ink); background: var(--tt-graphite); color: var(--tt-bone); }
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--tt-red); border-color: var(--tt-red); color: #fff;
}

/* ---------------------------------------------------------------------------
   Single-product gallery: constrain height + make thumbnails a horizontal row
   (works whether or not flexslider initialises). */
.single-product div.product .tt-gallery { align-self: start; }
.tt-gallery .woocommerce-product-gallery { max-width: 100%; }
.tt-gallery .woocommerce-product-gallery__wrapper { display: block; }
.tt-gallery .flex-viewport { overflow: hidden; }
/* Before flexslider initialises (no .flex-viewport wrapper), show only the first image. */
.tt-gallery .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper > *:not(:first-child) { display: none; }
.tt-gallery .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; margin: 0 auto; }
.tt-gallery ol.flex-control-thumbs, .tt-gallery .flex-control-thumbs {
	display: flex !important; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0; list-style: none; float: none;
}
.tt-gallery .flex-control-thumbs li { width: 68px; height: auto; margin: 0; float: none; }
.tt-gallery .flex-control-thumbs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; cursor: pointer; opacity: 0.55; border-radius: 0.375rem; transition: opacity .2s; }
.tt-gallery .flex-control-thumbs img.flex-active, .tt-gallery .flex-control-thumbs img:hover { opacity: 1; }

/* Hide empty leftover markup (from stripped description images) so it adds no gap. */
.wc-tab p:empty, .wc-tab div:empty, .wc-tab figure:empty, .wc-tab span:empty,
.tt-prose p:empty, .tt-prose div:empty, .tt-prose figure:empty { display: none; }
.wc-tab br + br { display: none; }

/* ===========================================================================
   Customer-experience components: My Account dashboard + Order received.
   Namespaced ttx-* classes (unique to these two surfaces) so they never collide
   with existing template classes or the frozen compiled design system. */

/* Let the dashboard cards sit on the page ground (no nested cloud box). */
.woocommerce-MyAccount-content:has(.ttx-dash) { background: transparent; border: 0; border-radius: 0; padding: 0; }

.ttx-dash, .ttx-thankyou { color: var(--tt-ink); }
.ttx-dash__lead { margin: 0 0 1.5rem; font-size: 14.5px; color: var(--tt-steel-light); }

.ttx-grid { display: grid; gap: 1rem; grid-template-columns: 2fr 1fr; margin-bottom: 1rem; }
.ttx-grid--two { grid-template-columns: 1fr 1fr; }
.ttx-dash > .ttx-card { margin-top: 1rem; }
@media (max-width: 860px) { .ttx-grid, .ttx-grid--two { grid-template-columns: 1fr; } }

.ttx-card { background: var(--tt-cloud); border: 1px solid var(--tt-line); border-radius: 0.85rem; padding: 1.25rem 1.35rem; }
.ttx-card--wide { display: flex; flex-direction: column; }
.ttx-card__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.9rem; }
.ttx-card__title { font-family: "Sora", sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--tt-steel); margin: 0 0 0.9rem; }
.ttx-card__head .ttx-card__title { margin: 0; }
.ttx-card__link { font-family: "Sora", sans-serif; font-size: 13px; font-weight: 600; color: var(--tt-ink); white-space: nowrap; }
.ttx-card__link:hover { color: var(--tt-red); }

.ttx-order { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.2rem 0 0.9rem; border-bottom: 1px solid var(--tt-line); }
.ttx-order__no { display: block; font-family: "Sora", sans-serif; font-size: 16px; font-weight: 700; color: var(--tt-ink); }
.ttx-order__meta { display: block; margin-top: 0.15rem; font-size: 13px; color: var(--tt-steel); }
.ttx-order__right { text-align: right; }
.ttx-order__total { display: block; margin-top: 0.4rem; font-family: "Sora", sans-serif; font-size: 16px; font-weight: 700; }

.ttx-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-family: "Sora", sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; border: 1px solid var(--tt-line); background: rgba(198,192,184,.1); color: var(--tt-steel-light); }
.ttx-badge--processing { background: rgba(245,165,36,.14); color: #f5a524; border-color: rgba(245,165,36,.35); }
.ttx-badge--completed { background: rgba(53,197,106,.14); color: #35c56a; border-color: rgba(53,197,106,.35); }
.ttx-badge--pending, .ttx-badge--pending-payment { background: rgba(76,159,254,.14); color: #4c9ffe; border-color: rgba(76,159,254,.35); }
.ttx-badge--cancelled, .ttx-badge--failed { background: rgba(228,38,24,.14); color: #ff6a5e; border-color: rgba(228,38,24,.4); }

.ttx-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.ttx-actions--wrap { margin-top: 1.5rem; }
.ttx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.7rem 1.1rem; border-radius: 0.55rem; font-family: "Sora", sans-serif; font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s; cursor: pointer; text-align: center; }
.ttx-btn--primary { background: var(--tt-red); color: #fff; }
.ttx-btn--primary:hover { background: var(--tt-red-dark); color: #fff; }
.ttx-btn--ghost { background: transparent; color: var(--tt-ink); border-color: var(--tt-line); }
.ttx-btn--ghost:hover { border-color: var(--tt-ink); color: var(--tt-ink); background: rgba(255,255,255,.03); }
.ttx-btn--block { display: flex; width: 100%; margin-top: 0.9rem; }

.ttx-empty { padding: 0.4rem 0; }
.ttx-empty__title { font-family: "Sora", sans-serif; font-size: 16px; font-weight: 700; margin: 0 0 0.3rem; }
.ttx-empty__text { font-size: 14px; color: var(--tt-steel); margin: 0 0 1rem; max-width: 42ch; }

.ttx-kv { margin: 0; }
.ttx-kv__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--tt-line); }
.ttx-kv__row:last-child { border-bottom: 0; }
.ttx-kv dt { color: var(--tt-steel); font-size: 13px; }
.ttx-kv dd { margin: 0; font-size: 13.5px; font-weight: 600; text-align: right; word-break: break-word; }

.ttx-address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--tt-ink); }
.ttx-address--empty { color: var(--tt-steel); margin: 0 0 0.9rem; }
.ttx-address__extra { margin: 0.4rem 0 0; font-size: 13.5px; color: var(--tt-steel-light); }

.ttx-support__title { color: var(--tt-ink); text-transform: none; letter-spacing: -0.01em; font-size: 17px; }
.ttx-support__text { font-size: 14.5px; line-height: 1.6; color: var(--tt-steel-light); margin: 0 0 0.4rem; max-width: 70ch; }

/* Order received */
.ttx-thankyou > .ttx-card, .ttx-thankyou > .ttx-grid, .ttx-thankyou > .ttx-next, .ttx-thankyou > .ttx-osum { margin-bottom: 1.5rem; }
.ttx-thankyou__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.ttx-thankyou__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 999px; background: rgba(53,197,106,.14); color: #35c56a; border: 1px solid rgba(53,197,106,.4); }
.ttx-thankyou__icon--warn { background: rgba(245,165,36,.14); color: #f5a524; border-color: rgba(245,165,36,.4); font-family: "Sora", sans-serif; font-weight: 800; font-size: 22px; }
.ttx-thankyou__title { font-family: "Sora", sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.ttx-thankyou__lead { margin: 0.3rem 0 0; font-size: 14.5px; color: var(--tt-steel-light); }

.ttx-osum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--tt-line); border: 1px solid var(--tt-line); border-radius: 0.75rem; overflow: hidden; }
.ttx-osum__cell { background: var(--tt-cloud); padding: 0.85rem 1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.ttx-osum__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tt-steel); }
.ttx-osum__v { font-family: "Sora", sans-serif; font-size: 14.5px; font-weight: 700; color: var(--tt-ink); }
@media (max-width: 780px) { .ttx-osum { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .ttx-osum { grid-template-columns: 1fr; } }

.ttx-next .ttx-card__title { margin-bottom: 0.3rem; }
.ttx-steps { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.ttx-steps li { display: flex; align-items: center; gap: 0.7rem; font-size: 14px; color: var(--tt-steel-light); }
.ttx-steps__n { display: inline-grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px; background: var(--tt-panel); border: 1px solid var(--tt-line); font-family: "Sora", sans-serif; font-size: 12px; font-weight: 700; color: var(--tt-ink); }

.ttx-lines { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.ttx-line { display: flex; align-items: center; gap: 0.85rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--tt-line); }
.ttx-line:last-child { border-bottom: 0; padding-bottom: 0; }
.ttx-line__img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 0.5rem; overflow: hidden; background: var(--tt-bone); }
.ttx-line__thumb, .ttx-line__img img { width: 100%; height: 100%; object-fit: contain; }
.ttx-line__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.15rem; }
.ttx-line__name { font-size: 14px; font-weight: 600; color: var(--tt-ink); }
.ttx-line__qty { font-size: 12.5px; color: var(--tt-steel); }
.ttx-line__total { font-family: "Sora", sans-serif; font-size: 14px; font-weight: 700; white-space: nowrap; }

.ttx-totals { border-top: 1px solid var(--tt-line); margin-top: 0.5rem; padding-top: 0.75rem; display: grid; gap: 0.4rem; }
.ttx-totals__row { display: flex; justify-content: space-between; gap: 1rem; font-size: 13.5px; color: var(--tt-steel-light); }
.ttx-totals__row span:first-child { color: var(--tt-steel); }
.ttx-totals__row--grand { border-top: 1px solid var(--tt-line); margin-top: 0.3rem; padding-top: 0.6rem; font-family: "Sora", sans-serif; font-size: 16px; font-weight: 700; color: var(--tt-ink); }
.ttx-totals__row--grand span:first-child { color: var(--tt-ink); }

/* Order-received: secondary (muted) staging payment note. */
.ttx-osum__v--note { font-size: 12.5px; font-weight: 600; color: var(--tt-steel-light); line-height: 1.35; }

/* ---------------------------------------------------------------------------
   Footer trust + legal (eFada verification card, secure checkout, payment
   strip, legal subfooter). Styles only the TECHTUKE container; the official
   eFada seal artwork is supplied via a filter and never imitated here. */
.ttx-trust { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 768px) { .ttx-trust { grid-template-columns: auto 1fr; } }
.ttx-efada { display: inline-flex; align-items: center; gap: 0.9rem; max-width: 480px; padding: 0.9rem 1.1rem; border: 1px solid var(--tt-line); border-radius: 0.7rem; background: rgba(255,255,255,.02); }
.ttx-efada__seal { display: inline-flex; align-items: center; flex-shrink: 0; }
.ttx-efada__seal:empty { display: none; }
/* White inset behind the official seal image for legibility on the dark footer. */
.ttx-efada__seal img { display: block; max-height: 66px; width: auto; background: #fff; border-radius: 0.4rem; padding: 5px; }
.ttx-efada__seal a { display: inline-flex; align-items: center; line-height: 0; }
.ttx-efada__seal iframe { border: 0; background: #fff; border-radius: 0.4rem; }
.ttx-efada__body { display: flex; flex-direction: column; gap: 0.12rem; }
.ttx-efada__title { font-family: "Sora", sans-serif; font-size: 14px; font-weight: 700; color: var(--tt-bone); }
.ttx-efada__sub { font-size: 12px; color: var(--tt-steel-light); }
.ttx-efada__verify { margin-top: 0.25rem; font-family: "Sora", sans-serif; font-size: 12.5px; font-weight: 600; color: var(--tt-red); text-decoration: none; }
.ttx-efada__verify:hover { text-decoration: underline; }
.ttx-efada__verify:focus-visible { outline: 2px solid var(--tt-red); outline-offset: 2px; border-radius: 2px; }
.ttx-secure { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--tt-steel-light); font-size: 13.5px; }
@media (min-width: 768px) { .ttx-secure { justify-self: end; } }

.ttx-legal { display: flex; flex-direction: column; gap: 1rem; font-size: 13px; color: var(--tt-steel); }
@media (min-width: 768px) { .ttx-legal { flex-direction: row; align-items: center; justify-content: space-between; } }
.ttx-legal__pay { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ttx-legal__pay:empty { display: none; }
/* Each payment mark sits on a small white chip so the official brand colours stay
   legible on the dark footer (standard payment-acceptance presentation). */
.ttx-pay { display: inline-flex; align-items: center; justify-content: center; height: 28px; min-width: 44px; padding: 0 7px; background: #fff; border-radius: 5px; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.ttx-pay img { height: 18px; width: auto; display: block; }
.ttx-legal__pay > img, .ttx-legal__pay > svg { height: 26px; width: auto; display: block; }
/* Checkout: truthful unavailable-payment state (TT-002) */
.ttx-pay-note { margin: 0 0 1rem; padding: 0.85rem 1rem; border: 1px solid var(--tt-line, #e5e7eb); border-left: 3px solid var(--tt-red, #e11d2a); border-radius: 8px; background: rgba(225,29,42,.05); color: var(--tt-ink, #14202b); font-size: 14px; line-height: 1.5; }
.ttx-pay-note strong { display: block; margin-bottom: 2px; }
.ttx-place-order--disabled, button.ttx-place-order--disabled { opacity: .55; cursor: not-allowed; filter: grayscale(1); pointer-events: none; }
/* Header language switcher replaces the TranslatePress floating switcher, which
   caused horizontal overflow at tablet/mobile widths (TT-010/011/026). */
.trp-floating-switcher, #trp-floater-ls, .trp-language-switcher.trp-floating-switcher { display: none !important; }
.tt-langswitch svg { opacity: .7; }
/* Quote / CAD structured-field checkboxes (TT-019/020) */
.tt-check { display: flex; align-items: flex-start; gap: .55rem; margin: .5rem 0; font-size: 13.5px; line-height: 1.5; color: var(--tt-ink, #14202b); cursor: pointer; }
.tt-check input { margin-top: .15rem; flex: 0 0 auto; accent-color: var(--tt-red, #e11d2a); }
.tt-check--wide { width: 100%; max-width: none; }
.tt-form .tt-check--wide input[type="checkbox"] { width: 1.125rem !important; height: 1.125rem !important; flex: 0 0 1.125rem !important; }
.tt-check--wide span { flex: 1 1 auto; min-width: 0; }
.tt-form .tt-notice--info { margin-block: 1rem; padding: .9rem 1rem; font-size: 13px; line-height: 1.55; }
.tt-form .tt-notice--info p + p { margin-top: .55rem; }
.tt-form .tt-btn--accent { min-width: 10rem; font-weight: 700; }
.ttx-cookie-open { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ttx-cookie { position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 9999; display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 900px; margin-inline: auto; padding: 1rem 1.1rem; border: 1px solid rgba(255,255,255,.18); border-radius: .8rem; background: #171a1d; color: #fff; box-shadow: 0 16px 50px rgba(0,0,0,.35); }
.ttx-cookie[hidden] { display: none; }
.ttx-cookie h2 { margin: 0 0 .25rem; font-size: 16px; font-weight: 700; }
.ttx-cookie p { margin: 0; max-width: 640px; font-size: 13px; line-height: 1.5; color: #c9ced3; }
.ttx-cookie a { color: #fff; text-decoration: underline; }
.ttx-cookie__actions { display: flex; flex: 0 0 auto; gap: .55rem; }
.ttx-cookie__actions button { min-height: 42px; padding: .65rem .9rem; border: 1px solid rgba(255,255,255,.25); border-radius: .5rem; font-weight: 700; }
.ttx-cookie-accept { border-color: var(--tt-red, #e42618) !important; background: var(--tt-red, #e42618); color: #fff; }
@media (max-width: 680px) { .ttx-cookie { align-items: stretch; flex-direction: column; } .ttx-cookie__actions { width: 100%; } .ttx-cookie__actions button { flex: 1; } }
/* Contain decorative absolute blobs, horizontal carousels and mega-menu panels
   so none of them can cause horizontal document overflow at any width
   (TT-010/011). Applied to the structural regions only (not a global body
   override); vertical overflow — dropdowns dropping down, sticky headers —
   still works because only the x-axis is clipped. */
#tt-header, .tt-main, body > footer { overflow-x: clip; }
@supports not (overflow: clip) { #tt-header, .tt-main, body > footer { overflow-x: hidden; } }
/* Search suggestion + no-results recovery (TT-014/TT-028) */
.ttx-search-suggest { margin: 0 0 1rem; padding: 0.7rem 1rem; border: 1px solid var(--tt-line, #e5e7eb); border-left: 3px solid var(--tt-red, #e11d2a); border-radius: 8px; background: rgba(225,29,42,.05); font-size: 14px; }
.ttx-search-suggest a { font-weight: 600; color: var(--tt-red, #e11d2a); }
.ttx-search-recover { margin: 1.25rem 0; }
.ttx-search-recover p { margin: 0 0 .75rem; color: var(--tt-steel, #6b7280); font-size: 14.5px; }
.ttx-search-recover__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.ttx-search-recover__links a { display: inline-block; border: 1px solid var(--tt-line, #e5e7eb); border-radius: 999px; padding: .45rem .9rem; font-size: 13.5px; color: var(--tt-ink, #14202b); }
.ttx-search-recover__links a:hover { border-color: var(--tt-red, #e11d2a); color: var(--tt-red, #e11d2a); }
.ttx-legal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.1rem; }
.ttx-legal__meta a { color: var(--tt-steel-light); }
.ttx-legal__meta a:hover { color: var(--tt-bone); }
.ttx-legal__meta a:focus-visible { outline: 2px solid var(--tt-red); outline-offset: 2px; border-radius: 2px; }
.ttx-legal__cr { color: var(--tt-steel); }

/* P3 CLS: constrain the pre-initialization image stack, reserve the mobile
   thumbnail rail in the gallery itself, and position generated thumbnails
   inside that reservation. FlexSlider cannot change document flow. Desktop is unchanged. */
@media (max-width: 1023px) {
  .single-product .tt-gallery {
    width: 100%;
    min-width: 0;
  }
  .single-product .tt-gallery .woocommerce-product-gallery {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .single-product .tt-gallery .woocommerce-product-gallery[style*="opacity: 0"] .woocommerce-product-gallery__wrapper {
    max-height: calc(100vw - 40px);
    overflow: hidden;
  }
  .single-product .tt-gallery .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(2)) {
    position: relative;
    padding-bottom: 80px;
  }
  .single-product .tt-gallery .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(5)) { padding-bottom: 156px; }
  .single-product .tt-gallery .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(9)) { padding-bottom: 232px; }
  .single-product .tt-gallery .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(13)) { padding-bottom: 308px; }
  .single-product .tt-gallery .woocommerce-product-gallery > .flex-control-thumbs {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0 !important;
  }
}
