/* ksec-labs-ui term-archive-hero styles, scoped to .ksec-tah-* */

/* THEME CHROME OVERRIDES, active only on configured term archives via body.ksec-tah-active.
   Hides Shoptimizer's default archive header (the white "Hak5" title bar) since our hero
   already provides the H1, and constrains the product loop wrapper to match our 1500px container. */
body.ksec-tah-active .archive-header,
body.ksec-tah-active .woocommerce-products-header,
body.ksec-tah-active .woocommerce-products-header__title.page-title { display: none !important; }
body.ksec-tah-active .wpf-search-container,
body.ksec-tah-active .site-content > .content-area,
body.ksec-tah-active .woocommerce-notices-wrapper { max-width: 1500px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
/* Mobile: drop the 24px gutter so the product area isn't double-padded on top
   of the theme's own container padding (desktop gutter unchanged). */
@media (max-width: 600px) {
	body.ksec-tah-active .wpf-search-container,
	body.ksec-tah-active .site-content > .content-area,
	body.ksec-tah-active .woocommerce-notices-wrapper { padding-left: 0; padding-right: 0; }
}
/* Reset side padding inside .ksec-tah sections; they handle their own wrap. */
body.ksec-tah-active .ksec-tah { padding-left: 0; padding-right: 0; }

.ksec-tah {
	--ksec-cyan: #03c4eb;
	--ksec-cyan-dk: #02738a; /* WCAG AA-safe text colour against white (5.34) */
	--ksec-accent-text: #02738a; /* default = cyan-dk; per-brand overridden inline when light accent needs darker text */
	--ksec-accent-rgb: 3, 196, 235; /* default cyan as R,G,B for rgba() in gradients */
	--ksec-red: #e21e1d; /* KSEC brand red (matches the "New!" product badge); EU newsletter accent */
	--ksec-ink: #000;
	--ksec-ink-soft: #262626;
	--ksec-paper: #fff;
	--ksec-paper-soft: #f8f9f9;
	--ksec-gold: #c5a572;
	--ksec-navy: #0f1419;
	--ksec-line: #ececec;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.55;
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.ksec-tah__wrap { max-width: 1500px; margin: 0 auto; padding: 0 24px; }
/* The phone gutter the labs child theme sets (ksec-store-sp-labs style.css,
   max-width 992px), repeated here so first paint already has it. Since
   ksec-litespeed-optm 0.3.11 keeps this sheet render blocking, it prints
   after the critical CSS and its 24px above overrode the critical CSS's 15px
   until the deferred child theme sheet landed: the category hero reflowed
   sideways on phones, layout shift 0.34 (DEV-330 run5). Same value as the
   child theme, so the settled page is unchanged. */
@media (max-width: 992px) {
	.ksec-tah__wrap { padding: 0 15px; }
}

.ksec-tah .ksec-tah-eyebrow { color: var(--ksec-accent-text); font-size: clamp(13px,1.2vw,15px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.ksec-tah .ksec-tah-eyebrow--light { color: var(--ksec-cyan); }
/* DEV-312: the hero band is dark, so its eyebrow uses the dark-surface colour, not the white-background --ksec-accent-text. */
.ksec-tah-hero .ksec-tah-eyebrow:not(.ksec-tah-eyebrow--light) { color: var(--ksec-accent-on-dark, var(--ksec-cyan)); }
.ksec-tah .ksec-tah-section__h { font-size: clamp(26px,3.2vw,36px); font-weight: 600; margin: 0 0 14px; max-width: 780px; letter-spacing: -.01em; }
.ksec-tah .ksec-tah-section__sub { color: var(--ksec-ink-soft); font-size: 16px; margin: 0 0 32px; max-width: 780px; }

/* HERO. Atmospheric gradient instead of flat black — adds depth via subtle
   radial-light + diagonal lift. The bottom-right radial uses each brand's
   accent colour via --ksec-accent-rgb so red brands get a red wash, yellow
   brands get yellow, etc. */
.ksec-tah-hero {
	background:
		radial-gradient(ellipse 70% 50% at 22% 32%, rgba(255,255,255,.06), transparent 70%),
		radial-gradient(ellipse 55% 45% at 82% 78%, rgba(var(--ksec-accent-rgb), .08), transparent 70%),
		linear-gradient(135deg, #060708 0%, #0e1116 55%, #060708 100%);
	color: var(--ksec-paper);
	padding: clamp(28px,4vw,44px) 0;
}
.ksec-tah-hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.ksec-tah-hero__grid.is-single { grid-template-columns: 1fr; }
@media (max-width: 980px) { .ksec-tah-hero__grid { grid-template-columns: 1fr; gap: 32px; } }
.ksec-tah-hero__left { min-width: 0; }
.ksec-tah-hero__h { font-size: clamp(34px,5vw,52px); font-weight: 600; line-height: 1.08; margin: 0 0 18px; max-width: 880px; color: #fff; letter-spacing: -.01em; }
.ksec-tah-hero__h-suffix { color: var(--ksec-cyan); font-weight: 600; }
.ksec-tah-hero__sub { font-size: clamp(16px,1.5vw,19px); color: rgba(255,255,255,.85); max-width: 760px; margin: 0 0 24px; }
.ksec-tah-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ksec-tah-pill { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; letter-spacing: .04em; }
.ksec-tah-pill strong { color: var(--ksec-cyan); font-weight: 700; }
.ksec-tah-pill a { color: #fff; text-decoration: underline; }

/* HERO FEATURED CARD
   Selectors target both: .ksec-tah-featured-card itself (which is now a ul.products)
   and any nested li.product inside it. No assumption about extra ul wrappers. */
/* Caps sized against the column the hero grid actually gives this block. At
   1440 the featured column is 592px wide, so the old 360/380 caps left over
   200px of it unused and squeezed two cards down to 185px each. */
.ksec-tah-hero__featured { position: relative; max-width: 420px; }
/* On mobile collapse: keep the cap but center within the now-full-width column */
@media (max-width: 980px) { .ksec-tah-hero__featured { margin: 0 auto; } }

/* Two featured cards side by side. The hero shows at most two picks, so the
   old one-at-a-time carousel is gone and both are visible without interaction.
   The base rule below forces display:block for the single-card case, so this
   modifier has to put the grid back, and override li.product's width:100%.
   BOTH classes are chained deliberately. `.ksec-tah-featured-card--duo` alone
   has the same specificity as the base `.ksec-tah-featured-card` rule and both
   carry !important, so the one appearing later in the file wins. This block
   sits earlier, so it silently lost: the grid never applied, the two cards
   stacked, and the hero went from 661px to 1318px. Chaining makes it 0,3,1 and
   order stops mattering. */
ul.products.ksec-tah-featured-card.ksec-tah-featured-card--duo {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	column-gap: 10px !important;
	row-gap: 0 !important;
}
ul.products.ksec-tah-featured-card.ksec-tah-featured-card--duo li.product {
	width: auto !important;
	margin: 0 !important;
}
/* Duo needs a little more room than a single card so neither column gets
   cramped, but not so much that it crowds the headline beside it. The modifier
   is emitted on the wrapper by part-hero.php rather than inferred with :has(),
   so this does not depend on selector support. */
.ksec-tah-hero__featured--duo { max-width: 520px; }

/* Tablet. At 980px the hero grid collapses to a single column, so the card
   block stops sharing a row with the copy and gets the full width to itself.
   Holding it at the desktop 380px cap left two 185px cards marooned in the
   middle of a 738px column, using under half the screen and squeezing product
   titles into three truncated lines. Widen the block here so each card gets
   roughly 275px. Bounded at both ends so it cannot override the phone caps
   below, which deliberately go the other way. */
@media (min-width: 601px) and (max-width: 980px) {
	.ksec-tah-hero__featured { max-width: 420px; }
	.ksec-tah-hero__featured--duo { max-width: 560px; }
}

/* Phones: step the cap down so the card does not stretch to the full column.
   At 375px a 360px card is effectively edge to edge, which makes a supporting
   hero element read as the main event. */
@media (max-width: 600px) {
	/* Both picks stay on phones, matching the two shown on desktop. The single
	   card this replaces was the right answer to the wrong cause: two cards
	   inside a 280px block are 135px each and unreadable, but the cramping came
	   from the cap, not from the column count. So the duo drops the cap and
	   takes the hero column whole, ~327px at 375px, which lands each card near
	   158px. That is the width the product grid below already runs two-up at on
	   the same screen, so the hero stops being the one two-up block on the page
	   that folds to one. The single-card cap is unchanged and now has to be
	   stated on its own rather than grouped with the duo. */
	.ksec-tah-hero__featured { max-width: 280px; }
	.ksec-tah-hero__featured--duo { max-width: 100%; }
	ul.products.ksec-tah-featured-card.ksec-tah-featured-card--duo { column-gap: 8px !important; }
}
@media (max-width: 460px) {
	/* Narrower still on phones, so the card stays clearly inside the column
	   rather than stretching to the edges. The duo restates its own width here
	   deliberately: this block is later in the file at the same specificity, so
	   grouping the two selectors would silently undo the full width set above. */
	.ksec-tah-hero__featured { max-width: 240px; }
	.ksec-tah-hero__featured--duo { max-width: 100%; }
	/* Brand intros run to five or more lines on a phone and push the first product
	   a screen further down; three lines keep the message. (Category archives
	   already hide it, see the P1 block.) */
	.ksec-tah-hero__sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	/* Cards in the Popular rail stretch to the tallest, so every Add to basket
	   button sits on the same line. */
	.ksec-tah-row--dark ul.products { align-items: stretch !important; }
	.ksec-tah-row--dark ul.products > li.product { align-self: stretch !important; height: auto !important; }
}
/* Hero featured-card is always a single-product list. WC's theme CSS forces
   ul.products to a 2-column grid at <=992px which breaks the featured card.
   Force display:block at all widths so the single li.product fills the slot. */
ul.products.ksec-tah-featured-card {
	display: block !important;
	grid-template-columns: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	column-gap: 0 !important;
	row-gap: 0 !important;
}
ul.products.ksec-tah-featured-card li.product,
ul.products.ksec-tah-featured-card li.product:hover,
ul.products.ksec-tah-featured-card li.product:focus-within {
	background: #fff !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 20px rgba(0,0,0,.25) !important;
	inset: auto !important;
	overflow: hidden;
	float: none !important;
}
ul.products.ksec-tah-featured-card li.product::before,
ul.products.ksec-tah-featured-card li.product::after { display: none !important; }
ul.products.ksec-tah-featured-card li.product h2,
ul.products.ksec-tah-featured-card li.product .woocommerce-loop-product__title,
ul.products.ksec-tah-featured-card li.product .price,
ul.products.ksec-tah-featured-card li.product .price *,
ul.products.ksec-tah-featured-card li.product .woocommerce-loop-product__link { color: var(--ksec-ink) !important; }
ul.products.ksec-tah-featured-card li.product .woocommerce-loop-product__link { text-decoration: none; }
/* Hero featured-pick CTA accent. The featured card sits on the black hero, so
   the default dark add-to-cart button (--ksec-btn-primary #1a1a1a) vanished into
   the background. Give it a store accent: gold on UK (labs), red on EU. These
   vars are set on the card wrapper and cascade down to the button rule below;
   the --eu modifier is emitted by part-hero.php for ksec_is_eu(). */
.ksec-tah-hero__featured {
	--ksec-featured-cta-bg: var(--ksec-gold, #c5a572);
	--ksec-featured-cta-text: #1a1a1a;
	--ksec-featured-cta-bg-hover: #b3945c;
}
.ksec-tah-hero__featured--eu {
	--ksec-featured-cta-bg: var(--ksec-red, #e21e1d);
	--ksec-featured-cta-text: #ffffff;
	--ksec-featured-cta-bg-hover: #c41918;
}
ul.products.ksec-tah-featured-card li.product .button,
ul.products.ksec-tah-featured-card li.product a.add_to_cart_button,
ul.products.ksec-tah-featured-card li.product a.added_to_cart { display: block !important; width: 100% !important; text-align: center !important; box-sizing: border-box !important; background-color: var(--ksec-featured-cta-bg, #c5a572) !important; color: var(--ksec-featured-cta-text, #1a1a1a) !important; border-radius: 4px !important; font-weight: 700 !important; }
ul.products.ksec-tah-featured-card li.product .button:hover,
ul.products.ksec-tah-featured-card li.product a.add_to_cart_button:hover,
ul.products.ksec-tah-featured-card li.product a.added_to_cart:hover { background-color: var(--ksec-featured-cta-bg-hover, #b3945c) !important; color: var(--ksec-featured-cta-text, #1a1a1a) !important; }
/* Constrain inner content padding without expanding the card */
ul.products.ksec-tah-featured-card li.product > a:not(.button),
ul.products.ksec-tah-featured-card li.product > .price,
ul.products.ksec-tah-featured-card li.product > .star-rating,
ul.products.ksec-tah-featured-card li.product > .stock-status-cat { margin-left: 16px !important; margin-right: 16px !important; }
ul.products.ksec-tah-featured-card li.product img { width: 100% !important; }
/* Hero featured-card image fill. Shoptimizer's PLP image carousel reserves
   ~22px padding-bottom on .shoptimizer-plp-image-wrapper for its pagination
   dots, which shows as a white strip under the single featured-pick image (the
   card is one hero product, not a browsable grid card). Drop the reservation so
   the image fills the square; any dots overlay the image bottom edge. The
   ul.products loop rules already normalise the img, but the padding-bottom is
   what left the gap here. */
.ksec-tah-hero__featured .shoptimizer-plp-image-wrapper { padding-bottom: 0 !important; }
.ksec-tah-hero__featured .woocommerce-image__wrapper img,
.ksec-tah-hero__featured .shoptimizer-plp-image-wrapper img { width: 100% !important; height: 100% !important; object-fit: contain !important; }

/* PAGE-HERO (image background, used on /sale-offers/, /worldwide-trusted-suppliers/ etc
   via the [ksec_image_hero] shortcode. Shares pill / eyebrow / H1 vocabulary with the
   term-archive hero but uses an image background instead of solid black. */
.ksec-tah-page-hero {
	color: #fff;
	padding: clamp(48px, 6vw, 80px) 0;
	background-color: #0a0a0a;
	/* No background-size / -position / -repeat here on purpose: the shortcode
	   always writes them inline on the <section> alongside the image URL (or an
	   inline `background:` shorthand when there is no image), so anything
	   declared at this level is overridden on every single render. */
	position: relative;
	overflow: hidden;
}
.ksec-tah-page-hero__inner { max-width: 720px; }

/* Single-column hero: a flat 20px instead of the clamp, separated from what
   follows by a margin. The clamp bought 80px of dead band above and below the
   copy at desktop width, pushing the first row of products most of a fold down
   for nothing. 20px is enough to keep the breadcrumbs off the nav bar and the
   pills off the bottom edge without spending a fold on it.

   Deliberately NOT applied to --split. There the featured product cards are the
   tall column and set the section height, so cutting the padding this far pushes
   them almost into the top and bottom edges of the band (checked on the
   homepage: "Featured picks" ends up hard against the nav bar). Those keep the
   clamp at every width. The higher specificity of :not() is also
   what keeps this winning over the 36px/40px restatement in the 780px block
   below, so phones get the same treatment; split heroes keep their padding at
   every width.

   margin-bottom rather than padding so it collapses: /brands/ already sets 32px
   on the grid underneath and stays at 32px rather than gaining a second gap. */
.ksec-tah-page-hero:not(.ksec-tah-page-hero--split) {
	padding: 20px 0;
	margin-bottom: 20px;
}

/* Gutter for a product loop sitting directly under the hero. /latest-products/
   and /sale-offers/ put the loop in a Gutenberg full-width block, which is
   unconstrained, so the grid ran edge to edge at x=0 while the hero copy sat
   24px in. Capping at 1500px / 24px matches .ksec-tah__wrap so the cards line
   up with the H1 above them, and mirrors what body.ksec-tah-active does for the
   same loop on term archives, including dropping the gutter on phones where the
   theme's own container padding already covers it. */
.ksec-tah-page-hero + .alignfull {
	max-width: 1500px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 24px;
	box-sizing: border-box;
}
@media (max-width: 600px) {
	.ksec-tah-page-hero + .alignfull { padding: 0; }
}
.ksec-tah-page-hero__eyebrow { color: var(--ksec-cyan); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.ksec-tah-page-hero__h { font-size: clamp(36px, 5.4vw, 56px); font-weight: 600; line-height: 1.05; margin: 0 0 18px; color: #fff; letter-spacing: -.01em; }
.ksec-tah-page-hero__h em { color: var(--ksec-cyan); font-style: normal; font-weight: 600; }
.ksec-tah-page-hero__sub { font-size: 18px; color: rgba(255,255,255,.85); max-width: 680px; margin: 0 0 28px; }
/* Split page hero: copy left, featured product cards right. Only applies when
   the shortcode is given `featured` IDs, so the four other pages using
   [ksec_image_hero] are untouched and keep the single-column layout.
   Mirrors .ksec-tah-hero__grid's proportions and 980px collapse so the homepage
   and the term archives behave the same way at the same widths. */
.ksec-tah-page-hero--split .ksec-tah__wrap {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 60px;
	align-items: center;
}
.ksec-tah-page-hero--split .ksec-tah-page-hero__inner { max-width: none; min-width: 0; }
@media (max-width: 980px) {
	.ksec-tah-page-hero--split .ksec-tah__wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* Hero CTAs. The hero previously had no links at all, so there was nothing to
   act on above the fold. Gold primary matches the featured card's add-to-basket
   so the two read as the same call, not competing ones. */
.ksec-tah-page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.ksec-tah-page-hero__cta {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	padding: 14px 24px;
	border-radius: 4px;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,.28);
	color: #fff;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.ksec-tah-page-hero__cta:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.ksec-tah-page-hero__cta.is-primary {
	background: var(--ksec-gold, #c5a572);
	border-color: var(--ksec-gold, #c5a572);
	color: #1a1a1a;
}
.ksec-tah-page-hero__cta.is-primary:hover { background: #b3945c; border-color: #b3945c; color: #1a1a1a; }
.ksec-tah-page-hero__cta:focus-visible { outline: 2px solid var(--ksec-cyan); outline-offset: 2px; }

.ksec-tah-page-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ksec-tah-page-hero__pills .ksec-tah-pill {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.18);
	color: #fff;
	font-size: 12px; font-weight: 600;
	padding: 7px 14px;
	border-radius: 99px;
	letter-spacing: .04em;
}
.ksec-tah-page-hero__pills .ksec-tah-pill strong { color: var(--ksec-cyan); font-weight: 700; }
@media (max-width: 780px) {
	.ksec-tah-page-hero__inner { max-width: none; }
	.ksec-tah-page-hero { padding: 36px 0 40px; }
}

/* BRAND GRID (modern card grid, used on /worldwide-trusted-suppliers/) */
.ksec-tah-brand-grid {
	display: grid;
	grid-template-columns: repeat(var(--ksec-brand-grid-cols, 5), 1fr);
	gap: 20px;
	/* Neutralise the .ksec-tah full-bleed (width:100vw + negative side margins).
	   This grid is a centered, max-width-capped block, and its own `margin:auto`
	   can't produce the negative bleed, so on mobile the inherited 100vw width
	   overflowed off the right edge and pushed the grid in by one gutter on the
	   left. width:auto lets it fill its padded container normally. */
	width: auto;
	max-width: 1500px;
	margin: 32px auto;
	padding: 0 24px;
}
@media (max-width: 1100px) { .ksec-tah-brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 780px)  { .ksec-tah-brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  { .ksec-tah-brand-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 16px; } }
/* SHOP BY BRAND (foot of /all-products/) */
.ksec-tah-brand-shop { max-width: 1500px; margin: 56px auto 32px; padding: 0 24px; }
.ksec-tah-brand-shop__h { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ksec-ink, #000); }
.ksec-tah-brand-shop .ksec-tah-brand-grid { margin-top: 16px; padding: 0; }
@media (max-width: 520px) { .ksec-tah-brand-shop { padding: 0 16px; } }

/* Hide the 10th brand card on the 3-col breakpoint only (521–780px).
   Layout maths: 10 cards / 3 cols = 3+3+3+1 → single orphan in last row.
   4-col (≤1100, >780) = 4+4+2 (acceptable partial row).
   2-col (≤520) = 5+5 (clean).
   Only the 3-col zone needs the 10th hidden. Scoped to the homepage
   brand section so per-brand-archive grids (which may have different
   counts) are unaffected. */
@media (min-width: 521px) and (max-width: 780px) {
	.ksec-tah-brand-section .ksec-tah-brand-card:nth-child(10) { display: none; }
}

.ksec-tah-brand-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ksec-line, #ececec);
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ksec-tah-brand-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
	border-color: var(--ksec-gold, #c5a572);
}
.ksec-tah-brand-card__logo {
	aspect-ratio: 1 / 1;
	background: linear-gradient(135deg, #0a0a0a, #1a1f25);
	display: flex; align-items: center; justify-content: center;
	padding: 10px;
	overflow: hidden;
}
.ksec-tah-brand-card__logo img {
	max-width: 100%; max-height: 100%;
	width: auto; height: auto;
	object-fit: contain;
	filter: brightness(1.05);
}
.ksec-tah-brand-card__placeholder {
	color: #fff; font-weight: 700;
	font-size: clamp(14px, 1.4vw, 18px);
	letter-spacing: .04em;
	text-align: center;
}
.ksec-tah-brand-card__body {
	padding: 14px 16px 18px;
	text-align: center;
	background: #fff;
}
.ksec-tah-brand-card__name {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 4px;
	color: var(--ksec-ink, #000);
	line-height: 1.3;
	letter-spacing: -.005em;
}
.ksec-tah-brand-card__count {
	font-size: 12px;
	color: #666;
	margin: 0;
	letter-spacing: .03em;
}
.ksec-tah-brand-card:hover .ksec-tah-brand-card__name { color: var(--ksec-acc-gold-dk, #8a6d3b); }

/* On the WC shop URL (/all-products/), suppress Shoptimizer's auto-injected
   "All Products" page-title since our hero already carries the H1. Page is
   identifiable via .woocommerce-shop body class.
   IMPORTANT: do NOT hide .woocommerce-products-header itself — our hero +
   category browser are rendered inside it via the_content / archive description.
   Only kill the title H1 + Shoptimizer's archive-header strip. Also neutralise
   the white background + padding the theme paints on the products-header so
   the dark hero butts cleanly up to the breadcrumb. */
body.woocommerce-shop .woocommerce-products-header__title,
body.woocommerce-shop .woocommerce-products-header > .page-title,
body.woocommerce-shop header.woocommerce-products-header h1.page-title,
body.woocommerce-shop .archive-header { display: none !important; }

body.woocommerce-shop header.woocommerce-products-header {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}
body.woocommerce-shop header.woocommerce-products-header .page-description,
body.woocommerce-shop header.woocommerce-products-header .term-description {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	color: inherit !important;
}

/* CATEGORY BROWSER (top-level cats with sub-cat tags, used on /all-products/) */
.ksec-tah-cat-browser {
	display: grid;
	grid-template-columns: repeat(var(--ksec-cat-browser-cols, 2), 1fr);
	gap: 24px;
	/* Neutralise the .ksec-tah full-bleed (width:100vw), as on the brand grid:
	   with margin:auto it sat one gutter in and ran 15px off the right edge on
	   phones, which let the page be dragged sideways. */
	width: auto;
	max-width: 1500px;
	margin: 32px auto;
	padding: 0 24px;
}
@media (max-width: 980px) { .ksec-tah-cat-browser { grid-template-columns: 1fr; } }

.ksec-tah-cat-browser__card {
	background: #fff;
	border: 1px solid var(--ksec-line, #ececec);
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.ksec-tah-cat-browser__card:hover {
	border-color: var(--ksec-gold, #c5a572);
	box-shadow: 0 8px 28px rgba(0,0,0,.10);
}
.ksec-tah-cat-browser__head {
	display: flex; align-items: center; gap: 16px;
	text-decoration: none; color: inherit;
}
.ksec-tah-cat-browser__thumb {
	width: 80px; height: 80px; flex: 0 0 80px;
	background: linear-gradient(135deg, #0a0a0a, #1a1f25);
	border-radius: 8px;
	display: flex; align-items: center; justify-content: center;
	padding: 8px; overflow: hidden;
}
.ksec-tah-cat-browser__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ksec-tah-cat-browser__title-wrap { flex: 1; min-width: 0; }
.ksec-tah-cat-browser__title { font-size: 20px; font-weight: 600; margin: 0 0 4px; color: var(--ksec-ink); line-height: 1.2; }
.ksec-tah-cat-browser__head:hover .ksec-tah-cat-browser__title { color: var(--ksec-acc-gold-dk, #8a6d3b); }
.ksec-tah-cat-browser__count { font-size: 13px; color: #666; margin: 0; }
.ksec-tah-cat-browser__subs {
	display: flex; flex-wrap: wrap; gap: 6px;
	list-style: none; padding: 0; margin: 0;
}
.ksec-tah-cat-browser__subs li { margin: 0; }
.ksec-tah-cat-browser__subs a {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--ksec-paper-soft, #f8f9f9);
	border: 1px solid var(--ksec-line, #ececec);
	color: var(--ksec-ink); font-size: 13px; font-weight: 500;
	padding: 6px 12px; border-radius: 99px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ksec-tah-cat-browser__subs a:hover {
	background: var(--ksec-btn-primary, #1a1a1a); color: var(--ksec-btn-primary-text, #fff);
	border-color: var(--ksec-btn-primary, #1a1a1a);
}
.ksec-tah-cat-browser__subs a span { color: #888; font-size: 11px; font-weight: 600; }
.ksec-tah-cat-browser__subs a:hover span { color: rgba(255,255,255,.7); }

/* PAGINATION upgrade */
.ksec-tah-pagination-status {
	text-align: center;
	font-size: 13px; color: #666;
	margin: 24px 0 8px;
	letter-spacing: .04em;
}
body.ksec-tah-active .woocommerce-pagination ul.page-numbers,
body.woocommerce-shop .woocommerce-pagination ul.page-numbers {
	display: inline-flex; gap: 6px;
	list-style: none; padding: 0; margin: 0;
	border: 0;
}
body.ksec-tah-active .woocommerce-pagination ul.page-numbers li,
body.woocommerce-shop .woocommerce-pagination ul.page-numbers li {
	display: inline-block; margin: 0;
}
body.ksec-tah-active .woocommerce-pagination a.page-numbers,
body.ksec-tah-active .woocommerce-pagination span.page-numbers,
body.woocommerce-shop .woocommerce-pagination a.page-numbers,
body.woocommerce-shop .woocommerce-pagination span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px;
	padding: 0 12px;
	border-radius: 6px;
	border: 1px solid var(--ksec-line, #ececec);
	background: #fff;
	color: var(--ksec-ink);
	font-weight: 600; font-size: 14px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease;
}
body.ksec-tah-active .woocommerce-pagination a.page-numbers:hover,
body.woocommerce-shop .woocommerce-pagination a.page-numbers:hover {
	background: var(--ksec-btn-primary, #1a1a1a); border-color: var(--ksec-btn-primary, #1a1a1a); color: var(--ksec-btn-primary-text, #fff);
}
body.ksec-tah-active .woocommerce-pagination span.page-numbers.current,
body.woocommerce-shop .woocommerce-pagination span.page-numbers.current {
	background: var(--ksec-ink, #000); border-color: var(--ksec-ink, #000); color: #fff;
}
body.ksec-tah-active .woocommerce-pagination .prev,
body.ksec-tah-active .woocommerce-pagination .next,
body.woocommerce-shop .woocommerce-pagination .prev,
body.woocommerce-shop .woocommerce-pagination .next {
	font-weight: 600;
}

/* TRUST STRIP */
.ksec-tah-trust { background: var(--ksec-navy); color: #fff; padding: 22px 0; border-bottom: 1px solid #1f2a36; }
.ksec-tah-trust__grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 780px) { .ksec-tah-trust__grid { grid-template-columns: repeat(2, 1fr); } }
.ksec-tah-trust__item { font-size: 13px; color: rgba(255,255,255,.78); }
.ksec-tah-trust__item strong { display: block; color: var(--ksec-gold); font-size: 22px; font-weight: 700; line-height: 1.1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }

/* PICKS, grid on desktop, mobile-only scroll rail with arrow controls.
   Desktop users see a familiar 4-up grid; mobile users get the "shelf" pattern with
   a peek-card on the right hinting at swipe + arrow buttons for tap-driven nav. */
.ksec-tah-picks { padding: clamp(20px,3vw,36px) 0; }
.ksec-tah-row-eyebrow { font-size: clamp(15px,1.6vw,18px); font-weight: 700; letter-spacing: .04em; color: var(--ksec-ink); text-transform: none; margin: 0 0 16px; padding-left: 12px; border-left: 4px solid var(--ksec-cyan); line-height: 1.2; }
.ksec-tah-row-eyebrow--gap { margin-top: 40px; }

/* PICKS LAYOUT
   Desktop (≥780px): pure CSS grid, 4 columns. Cards wrap to a 2nd row at 5-8 items,
   3rd row at 9-12, etc. No JS, no slider, no fragility.
   Mobile (<780px): horizontal overflow-x with scroll-snap and tap-to-scroll arrows. */

.ksec-tah-picks-rail { position: relative; padding-bottom: 8px; }

/* Mobile-only nav buttons. Hidden on desktop where the grid doesn't scroll. */
.ksec-tah-picks-rail__nav { display: none; position: absolute; top: -52px; right: 0; gap: 8px; z-index: 2; }
.ksec-tah-picks-rail__nav button {
	width: 38px; height: 38px;
	border-radius: 50%;
	border: 1px solid var(--ksec-line);
	background: #fff;
	color: var(--ksec-ink);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	align-items: center; justify-content: center;
	transition: background .15s, border-color .15s, color .15s;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}
.ksec-tah-picks-rail__nav button:hover { background: var(--ksec-btn-primary, #1a1a1a); border-color: var(--ksec-btn-primary, #1a1a1a); color: var(--ksec-btn-primary-text, #fff); }
.ksec-tah-picks-rail__nav button[disabled] { opacity: .35; cursor: default; }

/* HERO FEATURED RAIL (v1.4.32)
   Used when the hero "Featured" slot holds more than one product. Unlike the
   picks rail below (a responsive wrapping grid that rarely overflows), this is a
   genuine 1-up horizontal scroll-snap carousel: one full-width card visible,
   swipe or arrow to the next. Lives inside .ksec-tah-hero__featured (max 360px).
   Reuses .ksec-tah-picks-rail nav-button styling; picks-rail.js wires the arrows. */
.ksec-tah-featured-rail { padding-bottom: 0; }
/* The nav is dormant (display:none) on the picks grid; for the featured rail it
   is always meaningful, so promote it to flex. picks-rail.js sets inline
   display:'' when the rail can scroll (it always can with >1 card), which falls
   back to this rule, and inline display:none when it cannot. */
.ksec-tah-featured-rail .ksec-tah-picks-rail__nav { display: flex; top: -44px; }
ul.products.ksec-tah-featured-card.ksec-tah-featured-card--rail {
	display: flex !important;
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	gap: 0 !important;
}
ul.products.ksec-tah-featured-card.ksec-tah-featured-card--rail::-webkit-scrollbar { display: none; }
ul.products.ksec-tah-featured-card.ksec-tah-featured-card--rail li.product {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	scroll-snap-align: start;
	margin: 0 !important;
}

/* Desktop grid: 6 wide. Matches the main archive product loop cadence shipped
   in 1.3.18 so the picks rail and the loop below align column-for-column.
   6 divides cleanly at every breakpoint (6/3/2) — no orphan cards. */
ul.products.ksec-tah-picks-grid {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}
ul.products.ksec-tah-picks-grid li.product {
	margin: 0 !important;
	float: none !important;
	width: 100% !important;
	box-sizing: border-box;
}

/* Tablet: 3-across grid. */
@media (max-width: 780px) {
	ul.products.ksec-tah-picks-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 12px;
		padding: 0 10px !important;
	}
	.ksec-tah-picks-rail__nav { display: none; }
	/* Legacy mobile-rail props from the pre-grid era — neutralised so the grid
	   above wins cleanly. Keep them here as overrides rather than deleting in
	   case any callers rely on the surrounding flex container. */
	ul.products.ksec-tah-picks-grid--legacy-rail {
		display: flex !important;
		grid-template-columns: none !important;
		flex-wrap: nowrap;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 16px;
		padding: 4px 16px 16px !important;
		margin: 0 -16px !important;
		scrollbar-width: thin;
		scrollbar-color: var(--ksec-cyan-dk) transparent;
		-webkit-overflow-scrolling: touch;
	}
	ul.products.ksec-tah-picks-grid--legacy-rail::-webkit-scrollbar { height: 6px; }
	ul.products.ksec-tah-picks-grid--legacy-rail::-webkit-scrollbar-thumb { background: var(--ksec-cyan-dk); border-radius: 3px; }
	ul.products.ksec-tah-picks-grid--legacy-rail li.product {
		flex: 0 0 70vw !important;
		max-width: 280px;
		scroll-snap-align: start;
		min-width: 0;
		width: auto !important;
	}
}
/* Mobile: a single-row horizontal SWIPE rail, not a stacked grid. On a small
   screen vertical space is the scarce resource — a 6-card 2-col grid grows ~3
   rows tall per rail, and with up to 5 rails that buries the real product loop.
   A swipe rail keeps each grouping to ~1 screen-row regardless of card count.
   We also cap to the first 4 cards: the row head's "View all {group} →" link is
   the path to the rest, so the rail stays short and lazy-loads fewer images. */
@media (max-width: 620px) {
	ul.products.ksec-tah-picks-grid {
		display: flex !important;
		grid-template-columns: none !important;
		flex-wrap: nowrap;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 16px;
		padding: 4px 16px 14px !important;
		margin: 0 -16px !important;
		scrollbar-width: thin;
		scrollbar-color: var(--ksec-cyan-dk) transparent;
		-webkit-overflow-scrolling: touch;
	}
	ul.products.ksec-tah-picks-grid::-webkit-scrollbar { height: 6px; }
	ul.products.ksec-tah-picks-grid::-webkit-scrollbar-thumb { background: var(--ksec-cyan-dk); border-radius: 3px; }
	ul.products.ksec-tah-picks-grid li.product {
		flex: 0 0 44vw !important;
		max-width: 220px;
		scroll-snap-align: start;
		min-width: 0;
		width: auto !important;
	}
	/* Cap to the first 4 — remainder lives behind the row-head "View all" link. */
	ul.products.ksec-tah-picks-grid li.product:nth-child(n+5) { display: none !important; }
}
@media (max-width: 480px) {
	ul.products.ksec-tah-picks-grid--legacy-rail li.product { flex-basis: 78vw !important; }
}

/* Normalise image aspect inside picks cards so rows align even when product photos
   have different intrinsic aspect ratios. */
.ksec-tah-picks-grid .woocommerce-image__wrapper,
.ksec-tah-picks-grid .shoptimizer-plp-image-wrapper {
	aspect-ratio: 1 / 1 !important;
	background: #fff;
	position: relative;
	overflow: hidden;
}
.ksec-tah-picks-grid .woocommerce-image__wrapper img,
.ksec-tah-picks-grid .shoptimizer-plp-image-wrapper img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 10px;
	box-sizing: border-box;
}

.ksec-tah-row-eyebrow { display: inline-block; margin: 0; }
.ksec-tah-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; flex-wrap: wrap; }
.ksec-tah-picks-row--gap .ksec-tah-row-head { margin-top: 40px; }
.ksec-tah-row-viewall { color: var(--ksec-accent-text); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; letter-spacing: .02em; }
.ksec-tah-row-viewall:hover { color: var(--ksec-cyan); text-decoration: underline; }
.ksec-tah-row-viewall span { display: inline-block; transition: transform .2s; }
.ksec-tah-row-viewall:hover span { transform: translateX(3px); }

/* MOBILE SUB-GROUP NAVIGATOR (Tier 2)
   On small screens the stacked product rails push the real product loop way
   down the page. Below 782px we hide the rails and show a compact tap-to-jump
   nav instead — one card per sub-group (the categories within a brand, or the
   brands within a category) that the resolver already computed. Cache-safe:
   both markups ship in one HTML response and we toggle by breakpoint, so there
   is no server-side mobile fork (which would poison the cookieless cache).
   Gated by .ksec-tah-picks--has-nav so manual-ID pages (no group terms, no nav)
   keep their Tier 1 swipe rail. */
.ksec-tah-picks-nav { display: none; }
/* The nav is now the whole section on every screen size (the product rows it
   used to hide on phones are no longer rendered): tiles on desktop, a stack of
   cards on phones. */
.ksec-tah-picks--has-nav .ksec-tah-picks-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 782px) {
	.ksec-tah-picks--has-nav .ksec-tah-picks-nav { display: flex; flex-direction: column; gap: 10px; }
}
.ksec-tah-picks-nav__card {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--ksec-line, #ececec);
	border-radius: 10px;
	text-decoration: none;
	color: var(--ksec-ink, #1a1a1a);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.ksec-tah-picks-nav__card:hover,
.ksec-tah-picks-nav__card:active {
	border-color: var(--ksec-gold, #c5a572);
	box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.ksec-tah-picks-nav__thumb {
	width: 48px; height: 48px; flex: 0 0 48px;
	background: linear-gradient(135deg, #0a0a0a, #1a1f25);
	border-radius: 8px;
	display: flex; align-items: center; justify-content: center;
	padding: 6px; overflow: hidden;
}
.ksec-tah-picks-nav__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ksec-tah-picks-nav__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ksec-tah-picks-nav__title { font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--ksec-ink, #1a1a1a); }
.ksec-tah-picks-nav__count { font-size: 12px; color: #666; }
.ksec-tah-picks-nav__arrow { flex: 0 0 auto; color: var(--ksec-gold, #c5a572); font-size: 18px; line-height: 1; }

/* Equalise title heights across cards in the same row. Scoped strictly to picks
   and the hero featured card; the main product grid keeps the theme's own
   min-height (71px on labs) so the two layers don't fight. */
.ksec-tah-picks-grid .woocommerce-loop-product__title,
ul.products.ksec-tah-featured-card .woocommerce-loop-product__title { min-height: 50px; }

/* INFO HUB RAIL */
.ksec-tah-hub { padding: clamp(20px,3vw,36px) 0; background: var(--ksec-paper-soft); }
.ksec-tah-hub__rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; padding: 4px 24px 18px; scrollbar-width: thin; scrollbar-color: var(--ksec-cyan-dk) transparent; }
.ksec-tah-hub__rail::-webkit-scrollbar { height: 10px; }
.ksec-tah-hub__rail::-webkit-scrollbar-thumb { background: var(--ksec-cyan-dk); border-radius: 3px; }
.ksec-tah-hub__card { background: var(--ksec-paper); border: 1px solid var(--ksec-line); border-radius: 8px; padding: 22px; flex: 0 0 320px; scroll-snap-align: start; display: flex; flex-direction: column; min-height: 200px; }
@media (max-width: 560px) { .ksec-tah-hub__card { flex-basis: 280px; } }
.ksec-tah-hub__tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ksec-accent-text); text-transform: uppercase; margin: 0 0 8px; }
.ksec-tah-hub__h { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.ksec-tah-hub__p { font-size: 14px; color: var(--ksec-ink-soft); margin: 0 0 12px; line-height: 1.6; flex-grow: 1; }
.ksec-tah-hub__a { color: var(--ksec-accent-text); font-weight: 600; font-size: 14px; text-decoration: none; }
.ksec-tah-hub__a::after { content: " \2192"; }

/* FAQ */
.ksec-tah-faq { padding: clamp(20px,3vw,36px) 0; }
.ksec-tah-faq__item { background: var(--ksec-paper); border: 1px solid var(--ksec-line); border-radius: 6px; margin-bottom: 10px; padding: 0; }
.ksec-tah-faq__item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 16px; }
.ksec-tah-faq__item summary::after { content: "+"; float: right; color: var(--ksec-accent-text); font-weight: 700; font-size: 20px; line-height: 1; }
.ksec-tah-faq__item[open] summary::after { content: "\2013"; }
.ksec-tah-faq__a { padding: 0 22px 20px; color: var(--ksec-ink-soft); font-size: 15px; line-height: 1.65; }
.ksec-tah-faq__a p:first-child { margin-top: 0; }

/* ============================================================
   HOMEPAGE COMPONENTS (v1.3.8)
   Used on the labs homepage redesign. All classes namespaced
   under .ksec-tah-* so theme styles don't leak in.
   ============================================================ */

/* shared CTA buttons (used by spotlight + future homepage CTAs).
   Sits on the dark hero — uses the on-dark primary token: white solid rest,
   gold hover. Ghost variant gets the gold-outline secondary treatment so
   the pair (solid + ghost) shares one accent system. */
.ksec-tah-btn {
	display: inline-block;
	background: var(--ksec-btn-on-dark, #fff);
	color: var(--ksec-btn-on-dark-text, #1a1a1a);
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
	letter-spacing: .02em;
	transition: background .15s, color .15s;
}
.ksec-tah-btn:hover { background: var(--ksec-btn-on-dark-hover, #c5a572); color: var(--ksec-btn-on-dark-text, #1a1a1a); }
.ksec-tah-btn--ghost {
	background: transparent;
	color: var(--ksec-gold, #c5a572);
	border: 1px solid var(--ksec-gold, #c5a572);
}
.ksec-tah-btn--ghost:hover { background: var(--ksec-gold, #c5a572); color: var(--ksec-btn-on-dark-text, #1a1a1a); }

/* Brand-grid light variant: lighter logo panel for the homepage.
   Default .ksec-tah-brand-card__logo uses a dark gradient; --light flips
   it to a soft-grey square so square brand thumbnails read as logos
   rather than islands on a black background. */
.ksec-tah-brand-grid--light .ksec-tah-brand-card__logo {
	background: var(--ksec-paper-soft, #f8f9f9);
	padding: 18px;
}
.ksec-tah-brand-grid--light .ksec-tah-brand-card__logo img {
	filter: none;
	max-width: 78%;
	max-height: 78%;
}
.ksec-tah-brand-grid--light .ksec-tah-brand-card__placeholder {
	color: var(--ksec-ink-soft, #262626);
	font-size: 14px;
}

/* PICKS ROW (homepage [ksec_picks_row]) */
.ksec-tah-row { padding: clamp(28px, 4vw, 48px) 0; background: #fff; }
.ksec-tah-row + .ksec-tah-row { padding-top: 0; }
.ksec-tah-row__head {
	display: flex; align-items: end; justify-content: space-between;
	gap: 20px; margin-bottom: 20px; flex-wrap: wrap;
	max-width: 1500px; margin-left: auto; margin-right: auto;
	padding: 0 24px;
}
.ksec-tah-row__head-text { flex: 1 1 auto; }
.ksec-tah-row__eyebrow {
	color: var(--ksec-cyan-dk, #02738a);
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; margin: 0 0 4px;
}
.ksec-tah-row__h {
	font-size: clamp(22px, 2.4vw, 28px); font-weight: 600;
	margin: 0; letter-spacing: -.01em;
}
.ksec-tah-row__link {
	font-size: 13.5px; font-weight: 600;
	color: var(--ksec-cyan-dk, #02738a);
	text-decoration: none; white-space: nowrap;
}
.ksec-tah-row__link:hover { text-decoration: underline; }
/* The <ul class="products columns-5"> here inherits Shoptimizer's gutter rules.
   We constrain it to match the rest of the homepage's 1200px sections and force
   our own 5-col layout — the theme's .columns-5 rules vary across breakpoints
   and conflicted with our card sizing, causing the full-width overflow + the
   different-card-sizes the user saw. !important on width/margin because the
   theme's selectors have higher specificity than ours. */
.ksec-tah-row__grid.products,
.ksec-tah-row__grid {
	max-width: 1500px !important;
	width: auto !important;
	margin: 0 auto !important;
	padding: 0 24px !important;
	list-style: none;
	display: grid !important;
	/* desktop columns = the row's product count (passed via --ksec-tah-row-cols
	   inline style by [ksec_picks_row]). Defaults to 5 if unset. */
	grid-template-columns: repeat(var(--ksec-tah-row-cols, 5), minmax(0, 1fr)) !important;
	gap: 14px !important;
}
/* Tablet: 3-across (works for both 5 and 6-card rows — 6 cards = two clean rows of 3). */
@media (max-width: 980px) {
	.ksec-tah-row__grid.products,
	.ksec-tah-row__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
/* Mobile: 2-across. 6-card row = three clean rows of 2; 5-card row = 2/2/1
   (last card on its own line — that's why the user wants 6 not 5).
   Drop the side padding from 24px to 10px so the two cards have room to breathe
   inside narrow viewports. */
@media (max-width: 620px) {
	.ksec-tah-row__grid.products,
	.ksec-tah-row__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		padding: 0 10px !important;
	}
}
/* Archive trending row: a one-card-high swipe strip on phones.

   This row is the one thing that goes back above the product loop, which is the
   slot 1.4.52 emptied because a ~1,950px wall there pushed the first product 4.9
   screens down on desktop and the move brought mobile to 1.2 screens. Six cards
   at the 2-across rule above would be three stacked rows and over 1,000px, which
   hands most of that back. As a rail it costs one card height.

   Scoped to --rail so the homepage rows keep their 2-across grid untouched. */
@media (max-width: 620px) {
	.ksec-tah-row--rail .ksec-tah-row__grid.products,
	.ksec-tah-row--rail .ksec-tah-row__grid {
		display: flex !important;
		/* The theme ships ul.products as a wrapping flexbox. Without nowrap the
		   six cards wrap into three rows, the container never overflows, so it
		   never scrolls and picks-rail.js correctly hides arrows for a rail that
		   is not a rail. Measured before this line: 2369px tall and the first
		   product 4.27 screens down, which is worse than the wall 1.4.52 removed. */
		flex-wrap: nowrap !important;
		grid-template-columns: none !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 10px !important;
		padding: 0 10px 6px !important;
	}
	/* 46vw shows two cards and a sliver of the third, which is what tells the
	   reader the strip scrolls at all. A full 50vw hides that cue. */
	.ksec-tah-row--rail .ksec-tah-row__grid li.product {
		flex: 0 0 46vw !important;
		max-width: 46vw !important;
		scroll-snap-align: start;
	}
	.ksec-tah-row--rail .ksec-tah-row__grid::-webkit-scrollbar { height: 6px; }
	.ksec-tah-row--rail .ksec-tah-row__grid::-webkit-scrollbar-thumb { background: var(--ksec-cyan-dk); border-radius: 3px; }
	/* picks-rail.js clears the inline display when the strip can actually scroll,
	   which falls straight through to the base rule's display:none. The nav has
	   to be promoted here or the arrows never appear on the one breakpoint that
	   needs them. The archive row carries no "view all" link, so the top right of
	   the head is free for them. */
	.ksec-tah-row--rail .ksec-tah-picks-rail__nav { display: flex; top: -44px; }
}

/* Each card: kill theme floats / first/last margin tweaks that fight the grid. */
.ksec-tah-row__grid > li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}
/* Sale-row variant: red eyebrow + link tint */
.ksec-tah-row--sale .ksec-tah-row__eyebrow,
.ksec-tah-row--sale .ksec-tah-row__link { color: #b94a3a; }

/* PRODUCT SPOTLIGHT (homepage [ksec_product_spotlight]) */
.ksec-tah-spotlight {
	background: #0a0a0a;
	color: #fff;
	padding: clamp(36px, 4vw, 56px) 0;
	background-image: radial-gradient(circle at 20% 20%, rgba(3, 196, 235, .12), transparent 50%);
}
.ksec-tah-spotlight__grid {
	display: grid;
	gap: 36px;
	grid-template-columns: 1fr 1.2fr;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
@media (max-width: 880px) { .ksec-tah-spotlight__grid { grid-template-columns: 1fr; } }
.ksec-tah-spotlight__eyebrow {
	color: var(--ksec-cyan, #03c4eb);
	font-size: 12px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; margin: 0 0 10px;
}
.ksec-tah-spotlight__h {
	font-size: clamp(22px, 2.6vw, 32px); font-weight: 600;
	margin: 0 0 12px; color: #fff;
}
.ksec-tah-spotlight__h em { color: var(--ksec-cyan, #03c4eb); font-style: normal; }
.ksec-tah-spotlight__body { color: rgba(255, 255, 255, .78); font-size: 15.5px; margin: 0 0 14px; max-width: 480px; }
.ksec-tah-spotlight__specs { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.ksec-tah-spotlight__specs li {
	color: rgba(255, 255, 255, .82); font-size: 13.5px;
	display: flex; gap: 8px; align-items: baseline;
}
.ksec-tah-spotlight__specs li::before {
	content: "\2022"; color: var(--ksec-cyan, #03c4eb); font-weight: 700;
}
.ksec-tah-spotlight__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ksec-tah-spotlight__media {
	position: relative; border-radius: 8px; overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	aspect-ratio: 16 / 10;
	background: #000 center / cover no-repeat;
}
.ksec-tah-spotlight__media video,
.ksec-tah-spotlight__media img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.ksec-tah-spotlight__media-badge {
	position: absolute; top: 12px; left: 12px;
	background: rgba(0, 0, 0, .6); color: #fff;
	font-size: 11px; padding: 4px 10px; border-radius: 3px;
	letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
	backdrop-filter: blur(4px);
}

/* Transparent product cutout (media_variant="alpha").
   A PNG or WebP with a real alpha channel wants the band showing through it,
   not a black box behind it, and it must not be cropped: the whole point of a
   cutout is that the product is the shape, so `cover` would trim the product
   itself rather than a background. Supply the asset already padded to 16:10 and
   `contain` then fills the frame edge to edge with no letterbox. */
.ksec-tah-spotlight__media--alpha {
	background: transparent;
	border-color: transparent;
}
.ksec-tah-spotlight__media--alpha img,
.ksec-tah-spotlight__media--alpha video {
	object-fit: contain;
}

/* ROTATOR ([ksec_spotlight_rotator])
   Tabs are named after the products rather than shown as dots: someone landing
   mid-rotation can then tell what they are being offered and what else is there.
   The band keeps its own padding, so the tabs sit inside the same 1200px measure
   as the grid below them. */
.ksec-tah-spotlight__controls {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 8px 16px; justify-content: space-between;
	max-width: 1200px; margin: 0 auto 22px; padding: 0 24px;
}
.ksec-tah-spotlight__tabs {
	display: flex; flex-wrap: wrap; gap: 8px;
}
.ksec-tah-spotlight__tab {
	font: inherit; font-size: 11.5px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase;
	background: transparent; color: rgba(255, 255, 255, .55);
	border: 1px solid rgba(255, 255, 255, .2); border-radius: 3px;
	padding: 8px 14px; cursor: pointer;
	transition: color .15s, border-color .15s;
}
.ksec-tah-spotlight__tab:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.ksec-tah-spotlight__tab[aria-selected="true"] {
	color: var(--ksec-cyan, #03c4eb);
	border-color: var(--ksec-cyan, #03c4eb);
}
/* Keyboard focus has to survive the theme's global focus reset, hence the
   explicit outline rather than relying on the UA default. */
.ksec-tah-spotlight__tab:focus-visible {
	outline: 2px solid var(--ksec-cyan, #03c4eb);
	outline-offset: 2px;
}
/* Belt and braces over the UA rule for [hidden]: the theme sets display on a
   lot of generic containers, and a panel that stays visible would stack two
   slides on top of each other. */
.ksec-tah-spotlight__panel[hidden] { display: none; }

/* Pause control (WCAG 2.2.2). Quieter than the tabs: it is a safety valve, not
   a thing to look at. Same height as a tab so the row does not jump. */
.ksec-tah-spotlight__pause {
	font: inherit; font-size: 11.5px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase;
	background: transparent; color: rgba(255, 255, 255, .45);
	border: 1px solid transparent; border-radius: 3px;
	padding: 8px 12px; cursor: pointer;
	transition: color .15s, border-color .15s;
}
.ksec-tah-spotlight__pause:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.ksec-tah-spotlight__pause:focus-visible {
	outline: 2px solid var(--ksec-cyan, #03c4eb);
	outline-offset: 2px;
}
.ksec-tah-spotlight__pause[hidden] { display: none; }

/* The 44px touch-target rule applies to anything a phone taps. */
@media (max-width: 880px) {
	.ksec-tah-spotlight__tab,
	.ksec-tah-spotlight__pause { padding: 12px 16px; }
}

/* SLIM SECTOR TRUST STRIP (inline HTML, navy + gold band) */
.ksec-tah-sectors {
	background: var(--ksec-navy, #0f1419);
	color: #e8eaed;
	padding: clamp(24px, 3vw, 40px) 0;
}
.ksec-tah-sectors__wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ksec-tah-sectors__head {
	display: flex; align-items: end; justify-content: space-between;
	gap: 20px; margin-bottom: 18px; flex-wrap: wrap;
}
.ksec-tah-sectors__eyebrow {
	color: var(--ksec-gold, #c5a572); font-size: 12px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase; margin: 0 0 4px;
}
.ksec-tah-sectors__lead {
	font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; margin: 0;
	color: #fff; max-width: 780px;
}
.ksec-tah-sectors__lead em { color: var(--ksec-gold, #c5a572); font-style: normal; font-weight: 600; }
.ksec-tah-sectors__grid {
	display: grid; gap: 1px;
	background: rgba(255, 255, 255, .08);
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 6px; overflow: hidden;
}
/* Eight sectors wrap to two rows of four. Never drops to a single column: at
   one-up the band becomes eight stacked cards and swamps a homepage it is meant
   to be subordinate to. Two-up holds fine down to 320px because each card is
   only an icon, a short title and one line. */
@media (max-width: 980px) { .ksec-tah-sectors__grid { grid-template-columns: repeat(2, 1fr); } }
.ksec-tah-sectors__card { background: var(--ksec-navy, #0f1419); padding: 14px 16px; }
/* Gold line glyph above each sector name. Inline SVG from
   includes/sectors-band.php strokes with currentColor, so the colour set here is
   what actually paints it. */
.ksec-tah-sectors__icon {
	display: block; width: 22px; height: 22px;
	margin: 0 0 9px; color: var(--ksec-gold, #c5a572);
}
.ksec-tah-sectors__icon svg { width: 100%; height: 100%; display: block; }
.ksec-tah-sectors__card-title {
	font-size: 12px; font-weight: 600; letter-spacing: .08em;
	text-transform: uppercase; color: var(--ksec-gold, #c5a572); margin: 0 0 4px;
}
.ksec-tah-sectors__card-body { color: #9aa0a6; font-size: 12px; line-height: 1.45; margin: 0; }
/* Slim EU value-prop strip beneath the sector grid. Lets the "Why a
   dedicated EU store" benefits ride under the "Trusted in the field"
   proof as a subordinate tier instead of a second full-card section. */
.ksec-tah-sectors__eu-label {
	color: #9aa0a6; font-size: 11px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; margin: 18px 0 0;
}
.ksec-tah-sectors__eu-strip {
	list-style: none; margin: 10px 0 0; padding: 16px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .08);
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 680px) { .ksec-tah-sectors__eu-strip { grid-template-columns: 1fr; gap: 12px; } }
.ksec-tah-sectors__eu-strip li { font-size: 13px; color: #9aa0a6; line-height: 1.45; }
.ksec-tah-sectors__eu-strip strong {
	display: block; color: var(--ksec-gold, #c5a572); font-size: 11px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; margin: 0 0 3px;
}

/* SLIM STAT STRIP (inline HTML, black + gold, [ksec_stat] driven) */
.ksec-tah-stat-strip {
	background: #000; color: #fff;
	padding: clamp(18px, 2vw, 24px) 0;
	border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a;
}
.ksec-tah-stat-strip__wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ksec-tah-stat-strip__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px; text-align: center;
}
.ksec-tah-stat-strip__num {
	font-size: 30px; font-weight: 700; line-height: 1;
	margin-bottom: 4px; font-variant-numeric: tabular-nums;
	color: var(--ksec-gold, #c5a572);
}
.ksec-tah-stat-strip__label {
	font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
	text-transform: uppercase; color: rgba(255, 255, 255, .78);
}

/* OS TRAINING CROSS-SELL (homepage bottom band) */
.ksec-tah-training {
	background: #000; color: #fff;
	padding: clamp(32px, 4vw, 48px) 0;
}
.ksec-tah-training__wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ksec-tah-training__grid {
	display: grid; gap: 32px;
	grid-template-columns: 1.2fr 1fr; align-items: center;
}
@media (max-width: 780px) { .ksec-tah-training__grid { grid-template-columns: 1fr; } }
.ksec-tah-training__eyebrow {
	color: var(--ksec-cyan, #03c4eb);
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; margin: 0 0 10px;
}
.ksec-tah-training__h {
	font-size: clamp(22px, 2.4vw, 30px); font-weight: 600;
	margin: 0 0 12px; color: #fff;
}
.ksec-tah-training__body {
	color: rgba(255, 255, 255, .78); font-size: 15px;
	margin: 0 0 20px; max-width: 520px;
}
.ksec-tah-training__visual {
	border-radius: 8px; overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
}
.ksec-tah-training__visual img { width: 100%; height: auto; display: block; }

/* ============================================================
   1.3.10 — light section variants + bleed fixes
   ============================================================ */

/* Training band: light variant to match OnlySecurity's light branding */
.ksec-tah-training--light { background: var(--ksec-paper-soft, #f8f9f9); color: var(--ksec-ink-soft, #262626); }
.ksec-tah-training--light .ksec-tah-training__eyebrow { color: var(--ksec-cyan-dk, #02738a); }
.ksec-tah-training--light .ksec-tah-training__h { color: var(--ksec-ink, #000); }
.ksec-tah-training--light .ksec-tah-training__body { color: var(--ksec-ink-soft, #262626); }
.ksec-tah-training--light .ksec-tah-training__visual { border-color: var(--ksec-line, #ececec); }
.ksec-tah-training--light .ksec-tah-btn { background: var(--ksec-btn-primary, #1a1a1a); color: var(--ksec-btn-primary-text, #fff); }
.ksec-tah-training--light .ksec-tah-btn:hover { background: var(--ksec-btn-primary-hover, #000); }

/* Brand-grid section: explicit white background wrapper so it doesn't show
   theme grey behind it on the homepage. The shortcode emits .ksec-tah-brand-grid
   directly with no surrounding section — homepage HTML wraps it. */
.ksec-tah-brand-section { background: #fff; padding: clamp(32px, 4vw, 48px) 0; }
.ksec-tah-brand-section__wrap { max-width: 1500px; margin: 0 auto; padding: 0 24px; }
.ksec-tah-brand-section__head { display: flex; align-items: end; justify-content: space-between;
	gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.ksec-tah-brand-section__eyebrow { color: var(--ksec-cyan-dk, #02738a);
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; margin: 0 0 4px; }
.ksec-tah-brand-section__h { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; margin: 0; }
.ksec-tah-brand-section__link { font-size: 13.5px; font-weight: 600;
	color: var(--ksec-cyan-dk, #02738a); text-decoration: none; white-space: nowrap; }
/* Constrain the grid inside the section so it doesn't span 1500px while the
   section above caps at 1200px (was creating an out-of-line wider grid). */
/* Brand grid inside the homepage section needs max-width:100% (NOT none) so
   it doesn't overflow the parent on mobile where the inner grid's per-col
   widths add up past the viewport. */
.ksec-tah-brand-section .ksec-tah-brand-grid { max-width: 100%; margin: 0; padding: 0; }

/* ============================================================
   1.3.16 — breadcrumbs in heroes (Yoast / WC fallback)
   ============================================================ */

/* Sits ABOVE the eyebrow, inside the dark hero. Small, semi-transparent,
   doesn't compete with the H1. Same styling for term-archive hero
   (.ksec-tah-hero) and page hero ([ksec_image_hero]). Yoast's default
   <p id="breadcrumbs"> wrapper is neutralised so our nav controls layout. */
.ksec-tah-breadcrumb {
	display: block;
	font-size: 12px;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .55);
	margin: 0 0 16px;
	line-height: 1.4;
}
.ksec-tah-breadcrumb p,
.ksec-tah-breadcrumb #breadcrumbs,
.ksec-tah-breadcrumb .ksec-tah-breadcrumb__inner {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: inherit;
	color: inherit;
}
.ksec-tah-breadcrumb a {
	color: rgba(255, 255, 255, .75);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .15s, border-color .15s;
}
.ksec-tah-breadcrumb a:hover,
.ksec-tah-breadcrumb a:focus {
	color: var(--ksec-cyan, #03c4eb);
	border-bottom-color: rgba(3, 196, 235, .4);
}
.ksec-tah-breadcrumb [aria-current="page"],
.ksec-tah-breadcrumb .breadcrumb_last {
	color: #fff;
	font-weight: 500;
}
/* Yoast separator (default " &raquo; ") + WC separator span */
.ksec-tah-breadcrumb .ksec-tah-breadcrumb__sep,
.ksec-tah-breadcrumb .breadcrumb-separator {
	display: inline-block;
	padding: 0 6px;
	opacity: .35;
	color: inherit;
}
@media (max-width: 620px) {
	.ksec-tah-breadcrumb {
		font-size: 11px;
		margin-bottom: 12px;
	}
}

/* ============================================================
   1.3.18 — archive product-loop responsive grid
   ============================================================ */

/* Main WC product loop on category / brand / shop archives.
   Desktop already 6-col (Shoptimizer renders <ul class="products columns-6">).
   Force minmax(0,1fr) for equal widths + clean responsive break: 3 cols
   tablet, 2 cols mobile (6 divides cleanly at every breakpoint, no orphans).
   Scoped via :not() to skip our own grids (homepage picks rows, term-archive
   picks rail, hero featured card) which have their own column rules. */
ul.products.columns-6:not(.ksec-tah-row__grid):not(.ksec-tah-picks-grid):not(.ksec-tah-featured-card) {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 14px !important;
	list-style: none !important;
}
ul.products.columns-6:not(.ksec-tah-row__grid):not(.ksec-tah-picks-grid):not(.ksec-tah-featured-card) > li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	box-sizing: border-box;
}
@media (max-width: 980px) {
	ul.products.columns-6:not(.ksec-tah-row__grid):not(.ksec-tah-picks-grid):not(.ksec-tah-featured-card) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}
}
@media (max-width: 620px) {
	ul.products.columns-6:not(.ksec-tah-row__grid):not(.ksec-tah-picks-grid):not(.ksec-tah-featured-card) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		padding: 0 10px !important;
	}
}

/* ============================================================
   1.3.20 — site footer (`[ksec_footer]` shortcode)
   Dropped into a single Custom HTML widget in the `footer` sidebar.
   Token-aligned with the homepage redesign (dark + cyan + gold).
   ============================================================ */

/* Outer element overrides the .ksec-tah full-bleed trick: footer
   already sits in a 100% sidebar wrapper, no margin gymnastics needed. */
.ksec-tah-footer.ksec-tah {
	width: auto;
	margin-left: 0;
	margin-right: 0;
}
.ksec-tah-footer {
	background: var(--ksec-navy);
	color: #fff;
	font-size: 14px;
	width: 100%;
}

.ksec-tah-footer__wrap {
	max-width: 1500px;
	margin: 0 auto;
	padding: clamp(32px, 3.5vw, 44px) 32px 20px;
}
.ksec-tah-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
}

/* Brand column */
.ksec-tah-footer__logo {
	display: inline-block;
	font-size: 20px; font-weight: 800;
	color: #fff; letter-spacing: .5px;
	text-decoration: none;
	margin: 0 0 14px;
}
.ksec-tah-footer__logo:hover,
.ksec-tah-footer__logo:focus { color: var(--ksec-cyan); }
.ksec-tah-footer__blurb {
	margin: 0 0 18px;
	color: rgba(255,255,255,.65);
	font-size: 13.5px; line-height: 1.55;
	max-width: 320px;
}
.ksec-tah-footer__social {
	display: flex; gap: 12px; align-items: center;
	list-style: none; padding: 0; margin: 0;
}
.ksec-tah-footer__social li { margin: 0; }
.ksec-tah-footer__social a {
	width: 32px; height: 32px; border-radius: 50%;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.08);
	display: inline-flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,.78);
	text-decoration: none;
	transition: color .15s, background-color .15s, border-color .15s;
}
.ksec-tah-footer__social a:hover,
.ksec-tah-footer__social a:focus {
	color: var(--ksec-gold);
	background: rgba(197, 165, 114, .10);
	border-color: rgba(197, 165, 114, .4);
}
.ksec-tah-footer__social a svg { display: block; width: 14px; height: 14px; }

/* Link columns */
.ksec-tah-footer__col h4 {
	margin: 0 0 16px;
	font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ksec-gold);
	font-weight: 700;
}
.ksec-tah-footer__col ul {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; gap: 10px;
}
.ksec-tah-footer__col ul li { margin: 0; }
.ksec-tah-footer__col ul a {
	color: rgba(255,255,255,.88);
	text-decoration: none;
	font-size: 14px;
	transition: color .15s;
}
.ksec-tah-footer__col ul a:hover,
.ksec-tah-footer__col ul a:focus { color: var(--ksec-cyan); }

/* Klaviyo CTA stripe */
.ksec-tah-footer__cta {
	background: linear-gradient(135deg, var(--ksec-navy) 0%, #1a2330 100%);
	color: #fff;
	padding: 36px 32px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.ksec-tah-footer__cta-inner {
	max-width: 1500px; margin: 0 auto;
	display: grid; grid-template-columns: 1.4fr 1fr;
	gap: 56px; align-items: center;
}
.ksec-tah-footer__cta h3 {
	margin: 0 0 8px;
	font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2;
	color: #fff;
}
.ksec-tah-footer__cta h3 em { color: var(--ksec-cyan); font-style: normal; font-weight: 700; }
.ksec-tah-footer__cta p {
	margin: 0;
	color: rgba(255,255,255,.65);
	font-size: 15px; line-height: 1.55;
	max-width: 560px;
}
.ksec-tah-footer__form {
	display: flex; gap: 8px; margin: 0;
}
.ksec-tah-footer__form input[type="email"] {
	flex: 1; min-width: 0;
	padding: 13px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.15);
	background: rgba(255,255,255,.06);
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	box-shadow: none;
	transition: border-color .15s, background-color .15s;
}
.ksec-tah-footer__form input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.ksec-tah-footer__form input[type="email"]:focus {
	border-color: var(--ksec-cyan);
	background: rgba(255,255,255,.1);
}
.ksec-tah-footer__form button {
	padding: 13px 26px;
	border-radius: 4px;
	border: none;
	background: var(--ksec-btn-on-dark, #fff);
	color: var(--ksec-btn-on-dark-text, #1a1a1a);
	font-size: 14px; font-weight: 700; line-height: 1;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}
.ksec-tah-footer__form button:hover,
.ksec-tah-footer__form button:focus { background: var(--ksec-btn-on-dark-hover, #c5a572); color: var(--ksec-btn-on-dark-text, #1a1a1a); }
.ksec-tah-footer__form button[disabled] { opacity: .6; cursor: progress; }
.ksec-tah-footer__cta-hint {
	margin: 10px 0 0;
	font-size: 11.5px;
	color: rgba(255,255,255,.5);
}
.ksec-tah-footer__cta-hint a {
	color: rgba(255,255,255,.75);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ksec-tah-footer__cta-err {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: #ffb8a8;
}
.ksec-tah-footer__cta-err[hidden] { display: none; }
.ksec-tah-footer__form-success {
	color: var(--ksec-cyan, #03c4eb);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

/* Wiser carousel band — LIGHT variant (v1.4.4).
   Wiser carousel moved out of the dark [ksec_footer] into its own light
   surface section that sits ABOVE the dark footer. Provides a calm
   transition between page content (white) and dark footer (navy), and
   keeps social proof high in the visual hierarchy.

   Widget `6a10f20be9ec32905d2583e3` is configured for light theme in the
   Wiser dashboard — navy text on white cards, gold stars, dark slider
   arrows. It also renders its own "What customers say" header + rating
   summary internally, so this wrapper is purely a positioning container
   for the IntersectionObserver lazy-load hook + the band's surface bg. */
.ksec-tah-reviews-band {
	background: var(--ksec-paper-soft, #f8f9f9);
	padding: 0;
	border-top: 1px solid var(--ksec-line, #ececec);
}
.ksec-tah-reviews-band__inner {
	max-width: 1500px;
	margin: 0 auto;
}

/* Legacy dark wrapper from v1.3.x — kept transparent in case
   [ksec_footer] still emits the inner reviews section in any environment
   that hasn't migrated. v1.4.4 removed the markup, so this is dead code
   in practice; keeping the rule as a safety net for ~one release cycle. */
.ksec-tah-footer__reviews {
	padding: 0;
	margin: 0;
}
.ksec-tah-footer__reviews-inner {
	max-width: 1500px;
	margin: 0 auto;
}

/* Wiser carousel dark-theme overrides REMOVED in v1.3.23 — the new widget
   `6a10ddd8e9ec32905d23e922` configures dark theme natively in the Wiser
   dashboard (navy bg, gold stars, white text). The previous CSS !important
   overrides would now fight Wiser's intended dividers and spacing. */

/* Neutralise the parent theme's footer wrappers so the navy footer fills
   edge-to-edge. Three layers of bg/padding to clear, all scoped via :has()
   so they only fire when our [ksec_footer] is present:
   - footer.site-footer  — legacy `#111` bg + padding (child theme `ksecsp.css`)
   - .col-full           — Shoptimizer container with 13px side padding
   - .widget             — Shoptimizer widget with 20px side padding
   Total without these: 33px of theme bg showing around the navy on each side. */
body footer.site-footer:has(.ksec-tah-footer) {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}
body footer.site-footer:has(.ksec-tah-footer) .col-full,
body footer.site-footer:has(.ksec-tah-footer) .widget {
	padding: 0 !important;
	/* Also zero Shoptimizer's `.widget { margin-bottom: 20px }`. That margin
	   left a white body-bg strip between the (often empty) reviews-band widget
	   and the dark footer widget, and a matching strip below the footer. Both
	   footer widgets are full-bleed store sections meant to stack flush. */
	margin: 0 !important;
	max-width: none !important;
}
/* Shoptimizer's `.col-full` inside `footer.site-footer` defaults to
   `display: flex; flex-direction: row` — fine when the sidebar held one
   widget, breaks when we add [ksec_reviews_band] BEFORE [ksec_footer]
   (both widgets render as side-by-side flex children, overflowing the
   viewport). Force column-stack so band + dark footer render top-to-bottom
   as intended. Scoped via :has() so other footer setups stay untouched. */
body footer.site-footer:has(.ksec-tah-footer) .col-full {
	display: block !important;
}
body footer.site-footer:has(.ksec-tah-footer) > .col-full > .widget,
body footer.site-footer:has(.ksec-tah-footer) .widget {
	width: 100% !important;
	float: none !important;
}

/* Trust strip */
.ksec-tah-footer__truststrip {
	background: var(--ksec-navy);
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 18px 32px;
	text-align: center;
}
.ksec-tah-footer__truststrip-inner {
	max-width: 1500px; margin: 0 auto;
	display: flex; justify-content: center; align-items: center;
	gap: 32px; flex-wrap: wrap;
}
.ksec-tah-footer__truststrip-item {
	font-size: 13px;
	color: rgba(255,255,255,.65);
}
.ksec-tah-footer__truststrip-item strong {
	display: inline-block;
	color: var(--ksec-gold);
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	margin-right: 8px;
	vertical-align: -2px;
}

/* Gold accent rule */
.ksec-tah-footer__rule {
	height: 2px;
	background: var(--ksec-gold);
	margin: 0;
}

/* Copyright bar */
.ksec-tah-footer__bar {
	background: var(--ksec-navy-darker, #0a0d11);
	color: rgba(255,255,255,.65);
	font-size: 12px;
	padding: 14px 32px;
}
.ksec-tah-footer__bar-inner {
	max-width: 1500px; margin: 0 auto;
	display: flex; justify-content: space-between; align-items: center;
	gap: 16px; flex-wrap: wrap;
}
.ksec-tah-footer__bar a {
	color: rgba(255,255,255,.78);
	text-decoration: none;
}
.ksec-tah-footer__bar a:hover { color: var(--ksec-cyan); }
.ksec-tah-footer__bar small { font-size: 11px; opacity: .7; }

/* "The KSEC group" cross-brand strip (between trust strip and bar). Dark, to
   match the footer. Current site is cyan-outlined (navy-fill would vanish on
   the navy footer). */
.ksec-tah-footer__group {
	background: var(--ksec-navy);
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 22px 32px;
}
.ksec-tah-footer__group-inner { max-width: 1500px; margin: 0 auto; }
.ksec-tah-footer__group-title {
	font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	color: rgba(255,255,255,.55); margin: 0 0 12px;
}
.ksec-tah-footer__group-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ksec-tah-footer__group-card {
	display: flex; align-items: center; gap: 11px;
	padding: 11px 12px; border-radius: 10px;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.09);
	text-decoration: none;
}
.ksec-tah-footer__group-card:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.ksec-tah-footer__group-chip {
	flex: none; width: 40px; height: 40px; border-radius: 9px; display: block;
}
.ksec-tah-footer__group-text { min-width: 0; display: block; }
.ksec-tah-footer__group-name { display: block; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.25; }
.ksec-tah-footer__group-desc { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.ksec-tah-footer__group-here { display: block; font-size: 11px; font-weight: 600; color: var(--ksec-cyan); margin-top: 2px; }
.ksec-tah-footer__group-card.is-here { background: rgba(3,196,235,.10); border-color: var(--ksec-cyan); }
.ksec-tah-footer__group-card.is-here .ksec-tah-footer__group-chip { box-shadow: 0 0 0 2px var(--ksec-cyan); }
@media (min-width: 620px) { .ksec-tah-footer__group-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .ksec-tah-footer__group-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 600px) { .ksec-tah-footer__group { padding-left: 20px; padding-right: 20px; } }

/* Add the missing token (declared here so the footer is self-contained
   if the .ksec-tah scope doesn't extend through the sidebar wrapper). */
.ksec-tah-footer { --ksec-navy-darker: #0a0d11; }

/* Responsive collapse.
   On tablet + mobile the brand column gets its own row (spans the grid)
   and the three link columns (Shop · Help · Trust & Legal) sit in a 3-up
   row below. Avoids the "one column per row" stack that wasted vertical
   space on mobile (1.4.6 feedback). */
@media (max-width: 980px) {
	.ksec-tah-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.ksec-tah-footer__brand { grid-column: 1 / -1; }
	.ksec-tah-footer__cta-inner { grid-template-columns: 1fr; gap: 24px; }
	.ksec-tah-footer__bar-inner { justify-content: center; text-align: center; }
}
@media (max-width: 620px) {
	.ksec-tah-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.ksec-tah-footer__brand { grid-column: 1 / -1; }
	.ksec-tah-footer__wrap { padding: 28px 20px 16px; }
	.ksec-tah-footer__cta,
	.ksec-tah-footer__reviews,
	.ksec-tah-footer__truststrip,
	.ksec-tah-footer__bar { padding-left: 20px; padding-right: 20px; }
	.ksec-tah-footer__cta { padding-top: 28px; padding-bottom: 28px; }
	.ksec-tah-footer__truststrip-inner { gap: 16px; }
	.ksec-tah-footer__truststrip-item { font-size: 12px; flex-basis: calc(50% - 16px); }
	.ksec-tah-footer__truststrip-item strong { font-size: 17px; display: block; margin: 0 0 2px; vertical-align: baseline; }
}

/* ============================================================
   1.4.10 — PDP upsells / related / cross-sells responsive grid
   ============================================================
   The "Customers also bought" + "Related products" + cross-sells
   carousels emit <section class="products"> wrapping <ul class="products">.
   Shoptimizer's mobile collapse rules key off `ul.products.columns-N`
   selectors that don't match this nested structure, so on narrow
   viewports all 5 cards try to fit horizontally and squeeze to ~43px
   each — cards overlap, CommerceKit badges (`ckit-badge_wrapper`) stack
   into adjacent cards.

   Force the standard responsive grid (4/3/2 like the archive loop
   shipped in 1.3.18) on these specific lists only. Narrow scope: no
   leak to other product loops. */
.up-sells.products ul.products,
.related-wrapper ul.products,
.cross-sells ul.products,
section.up-sells ul.products,
section.related ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.up-sells.products li.product,
.related.products li.product,
.related-wrapper li.product,
.cross-sells li.product {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	scroll-snap-align: none !important;
}
/* Shoptimizer's @media (max-width:992px) rule forces 320px min-width on
   .cross-sells / .related.products / .upsells / .mobile-scroll cards for
   its horizontal scroll-snap carousel pattern. That fights our grid layout —
   at 414px viewport, two 320px cards = 640px → overflow. Reset for these
   specific contexts so the grid can size cards naturally. */
@media (max-width: 992px) {
	.up-sells.products ul.products li.product,
	.upsells.products ul.products li.product,
	.related.products ul.products li.product,
	.related-wrapper ul.products li.product,
	.cross-sells ul.products li.product,
	.mobile-scroll ul.products li.product {
		min-width: 0 !important;
		max-width: none !important;
		width: auto !important;
		scroll-snap-align: none !important;
	}
}
@media (max-width: 980px) {
	.up-sells.products ul.products,
	.related-wrapper ul.products,
	.cross-sells ul.products,
	section.up-sells ul.products,
	section.related ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 620px) {
	.up-sells.products ul.products,
	.related-wrapper ul.products,
	.cross-sells ul.products,
	section.up-sells ul.products,
	section.related ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	/* Cap CommerceKit badge stack on narrow widths so badges don't
	   overflow the card boundary. */
	.up-sells.products .ckit-badge_wrapper,
	.related-wrapper .ckit-badge_wrapper,
	.cross-sells .ckit-badge_wrapper {
		max-width: calc(100% - 16px);
	}
	.up-sells.products .ckit-badge,
	.related-wrapper .ckit-badge,
	.cross-sells .ckit-badge {
		font-size: 9.5px !important;
		padding: 2px 6px !important;
		line-height: 1.3 !important;
	}
}

/* ============================================================
   1.4.0 — My Account redesign (light theme)
   ============================================================
   Light/white surface that differentiates the account area from the
   dark navy footer. Scoped to body.woocommerce-account so it never
   leaks into other pages.
   Tokens used (declared in :root of .ksec-tah above):
     --ksec-cyan (CTA), --ksec-cyan-dk (links on white, AA-safe)
     --ksec-gold (footer numerator) ↦ here we use a darker variant
     defined inline so the gold reads cleanly on white. */

/* Account-area palette. These are ALIASES, not a second set of brand colours.
 *
 * They used to restate the hex values, which meant six of them were the same
 * colour under two names (--ksec-cyan / --ksec-acc-cyan and so on) with nothing
 * keeping the pairs in step. Changing the brand cyan meant remembering two
 * places, in two different scopes, which is how a palette drifts.
 *
 * Each now points at the canonical token, so there is one source of truth per
 * colour. The literal is kept as a var() fallback rather than removed: the
 * canonical tokens come from the theme's :root (ksec-store-sp-labs) and from
 * .ksec-tah, and account markup is not guaranteed to sit inside .ksec-tah, so
 * the fallback covers the case where a different theme is active. Every
 * fallback below is the same value as the token it backs, deliberately, so it
 * cannot render a different colour.
 *
 * The 47 var(--ksec-acc-*) usages elsewhere are unchanged.
 */
body.woocommerce-account {
	--ksec-acc-bg:         var(--ksec-paper-soft, #f8f9f9);
	--ksec-acc-card:       var(--ksec-paper, #fff);
	--ksec-acc-line:       var(--ksec-line, #ececec);
	--ksec-acc-ink:        var(--ksec-navy, #0f1419);
	--ksec-acc-ink-soft:   var(--ksec-ink-soft, #262626);
	--ksec-acc-ink-muted:  #5b6373; /* no canonical equivalent yet */
	--ksec-acc-cyan:       var(--ksec-cyan, #03c4eb);
	--ksec-acc-cyan-dk:    var(--ksec-cyan-dk, #02738a);
	--ksec-acc-gold-dk:    var(--ksec-gold-dk, #8a6d3b);
	background: var(--ksec-acc-bg);
}

/* ---------- shared shell (.woocommerce-MyAccount-navigation + content) ---------- */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--ksec-acc-card);
	border: 1px solid var(--ksec-acc-line);
	border-radius: 10px;
	padding: 12px;
	font-size: 14px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	color: var(--ksec-acc-ink);
	text-decoration: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus {
	background: var(--ksec-acc-bg);
	color: var(--ksec-acc-ink);
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
	background: rgba(26, 26, 26, .06);
	color: var(--ksec-acc-ink);
	font-weight: 600;
}
body.woocommerce-account .woocommerce-MyAccount-content {
	background: transparent;
}

/* ---------- shared input + button + link primitives ---------- */
body.woocommerce-account .ksec-acc-input,
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1px solid var(--ksec-acc-line);
	background: #fff;
	color: var(--ksec-acc-ink);
	font-size: 14px;
	font-family: inherit;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
body.woocommerce-account .ksec-acc-input:focus,
body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
	border-color: var(--ksec-acc-cyan);
	box-shadow: 0 0 0 3px rgba(3, 196, 235, .12);
}
body.woocommerce-account .ksec-acc-label,
body.woocommerce-account .woocommerce-MyAccount-content label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--ksec-acc-ink-soft);
	margin: 0 0 6px;
	text-transform: uppercase;
}
/* TWO-TIER button system (v1.4.26): black primary for "do this thing"
   actions (Pay / Order again / Save / Subscribe); ghost variant for
   secondaries (View / Cancel / etc) is white with a grey border that
   darkens on hover. Light-surface primary tokens come from the labs
   theme (--ksec-btn-primary / --ksec-btn-primary-text / hover).
   Implementation note: the WC core `.woocommerce-MyAccount-content
   a.button` selector outranks a bare `.ksec-acc-btn--ghost` rule on
   specificity, so we scope the primary rule with
   `:not(.ksec-acc-btn--ghost)` and give the ghost rule equal weight
   via `a.ksec-acc-btn--ghost`. */
body.woocommerce-account .ksec-acc-btn:not(.ksec-acc-btn--ghost),
body.woocommerce-account .woocommerce-MyAccount-content button.button:not(.ksec-acc-btn--ghost),
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:not(.ksec-acc-btn--ghost),
body.woocommerce-account .woocommerce-MyAccount-content a.button:not(.ksec-acc-btn--ghost) {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 4px;
	border: none;
	background: var(--ksec-btn-primary, #1a1a1a);
	color: var(--ksec-btn-primary-text, #fff) !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	text-align: center;
	transition: background-color .15s;
}
body.woocommerce-account .ksec-acc-btn:not(.ksec-acc-btn--ghost):hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:not(.ksec-acc-btn--ghost):hover,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:not(.ksec-acc-btn--ghost):hover,
body.woocommerce-account .woocommerce-MyAccount-content a.button:not(.ksec-acc-btn--ghost):hover { background: var(--ksec-btn-primary-hover, #000); color: var(--ksec-btn-primary-text, #fff) !important; }

/* Ghost (secondary) — white pill, grey border, ink text, cyan hover.
   Selector specificity: `.woocommerce-account a.ksec-acc-btn--ghost`
   (3 classes) beats the WC `.woocommerce-MyAccount-content a.button`
   pattern (2 classes + 1 tag), so the ghost rule wins cleanly. */
body.woocommerce-account .ksec-acc-btn.ksec-acc-btn--ghost,
body.woocommerce-account .woocommerce-MyAccount-content a.ksec-acc-btn--ghost,
body.woocommerce-account .woocommerce-MyAccount-content button.ksec-acc-btn--ghost {
	display: inline-block;
	padding: 11px 27px;
	border-radius: 4px;
	background: #fff !important;
	border: 1px solid var(--ksec-acc-line) !important;
	color: var(--ksec-acc-ink) !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	text-align: center;
	transition: border-color .15s, color .15s;
}
body.woocommerce-account .ksec-acc-btn.ksec-acc-btn--ghost:hover,
body.woocommerce-account .woocommerce-MyAccount-content a.ksec-acc-btn--ghost:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.ksec-acc-btn--ghost:hover {
	border-color: var(--ksec-btn-primary, #1a1a1a) !important;
	color: var(--ksec-btn-primary, #1a1a1a) !important;
	background: #fff !important;
}
body.woocommerce-account .ksec-acc-link,
body.woocommerce-account .woocommerce-MyAccount-content a {
	color: var(--ksec-acc-cyan-dk);
	text-decoration: none;
	font-weight: 600;
}
body.woocommerce-account .ksec-acc-link:hover,
body.woocommerce-account .woocommerce-MyAccount-content a:hover { text-decoration: underline; }

/* ---------- LOGGED-OUT — login / register tab toggle (form-login.php) ---------- */
.ksec-acc-login {
	max-width: 1200px;
	margin: 32px auto;
	padding: 0 24px;
}
.ksec-acc-login__card {
	max-width: 480px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--ksec-acc-line, #ececec);
	border-radius: 12px;
	padding: 36px 32px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}
.ksec-acc-login__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #f8f9f9;
	border: 1px solid #ececec;
	border-radius: 999px;
	padding: 4px;
	margin-bottom: 28px;
}
.ksec-acc-login__tab {
	padding: 10px 0;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	border-radius: 999px;
	color: #5b6373;
	cursor: pointer;
	letter-spacing: .04em;
	background: transparent;
	border: 0;
	font-family: inherit;
	transition: background-color .15s, color .15s;
}
.ksec-acc-login__tab.is-active {
	background: var(--ksec-navy, #0f1419);
	color: #fff;
}
.ksec-acc-login__h {
	color: var(--ksec-navy, #0f1419);
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 6px;
	text-align: center;
}
.ksec-acc-login__sub {
	color: #5b6373;
	font-size: 13px;
	margin: 0 0 22px;
	text-align: center;
}
.ksec-acc-login__panel[hidden] { display: none; }
.ksec-acc-login__panel .ksec-acc-field { margin-bottom: 14px; }
.ksec-acc-login__panel .ksec-acc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 14px 0 0;
	font-size: 12.5px;
	color: #5b6373;
}
.ksec-acc-login__panel .ksec-acc-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	font-size: 12.5px;
	margin: 0;
}
.ksec-acc-login__panel .ksec-acc-submit {
	margin-top: 22px;
}
.ksec-acc-login__panel .ksec-acc-submit .ksec-acc-btn { width: 100%; }
.ksec-acc-login__panel .ksec-acc-hint {
	color: #5b6373;
	font-size: 12.5px;
	margin: 0 0 18px;
}

/* ---------- the same card, off the account pages ----------
   The palette aliases and the input / label / button / link primitives above
   are all scoped to `body.woocommerce-account`, because until now the login
   card only ever rendered at /my-account/. It also renders on the order-pay
   payment-link page via woocommerce/global/form-login.php in the labs child
   theme, and that body carries `woocommerce-checkout`, so none of it applied
   there: undeclared aliases resolve to nothing and the fields, button and
   link fell back to Shoptimizer's checkout styling.

   Declaring the aliases on the card itself, and repeating the primitives
   against it, makes the card carry its own styling wherever it is rendered.
   Values are the same ones the account rules use, so the two cards stay
   identical and nothing about /my-account/ changes: inside
   body.woocommerce-account these tie or lose on specificity against rules
   that already declare the same values.

   Specificity note: `.woocommerce-form-login .button` in Shoptimizer's
   cart-checkout.css is two classes, so the button rule is qualified down to
   `.ksec-acc-form button.ksec-acc-btn` to clear it on the checkout body. */
.ksec-acc-login {
	--ksec-acc-line:       var(--ksec-line, #ececec);
	--ksec-acc-ink:        var(--ksec-navy, #0f1419);
	--ksec-acc-ink-soft:   var(--ksec-ink-soft, #262626);
	--ksec-acc-cyan:       var(--ksec-cyan, #03c4eb);
	--ksec-acc-cyan-dk:    var(--ksec-cyan-dk, #02738a);
}
/* Shoptimizer's cart-checkout.css styles `.woocommerce-form-login` as the
   classic checkout's standalone "returning customer" box: width 57% above
   993px, 32px of padding, 20px margins and a 2px dashed border. That is right
   for a box sitting in a full-width checkout column and wrong for a form
   inside our own 480px card, where it measured 236px wide with a dashed
   outline around it. That stylesheet does not load on /my-account/, which is
   why the same markup looks correct there and only breaks on the pay page.
   Reset it back to the card's own geometry. Measured on both pages at 1280px:
   the card is 480, the panel 414, and the form, inputs and button should all
   be 414. */
.ksec-acc-login .ksec-acc-form {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
}
.ksec-acc-login input.ksec-acc-input {
	width: 100%;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1px solid var(--ksec-acc-line);
	background: #fff;
	color: var(--ksec-acc-ink);
	font-size: 14px;
	font-family: inherit;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.ksec-acc-login input.ksec-acc-input:focus {
	border-color: var(--ksec-acc-cyan);
	box-shadow: 0 0 0 3px rgba(3, 196, 235, .12);
}
.ksec-acc-login label.ksec-acc-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--ksec-acc-ink-soft);
	margin: 0 0 6px;
	text-transform: uppercase;
}
.ksec-acc-login .ksec-acc-form button.ksec-acc-btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 4px;
	border: none;
	background: var(--ksec-btn-primary, #1a1a1a);
	color: var(--ksec-btn-primary-text, #fff) !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	text-align: center;
	transition: background-color .15s;
}
.ksec-acc-login .ksec-acc-form button.ksec-acc-btn:hover {
	background: var(--ksec-btn-primary-hover, #000);
	color: var(--ksec-btn-primary-text, #fff) !important;
}
.ksec-acc-login a.ksec-acc-link {
	color: var(--ksec-acc-cyan-dk);
	text-decoration: none;
	font-weight: 600;
}
.ksec-acc-login a.ksec-acc-link:hover { text-decoration: underline; }

/* ---------- LOGGED-IN — dashboard greeting + stat tiles ---------- */
.ksec-acc-dash__greet {
	background: var(--ksec-acc-card, #fff);
	border: 1px solid var(--ksec-acc-line, #ececec);
	border-radius: 10px;
	padding: 24px 28px;
	margin-bottom: 16px;
}
.ksec-acc-dash__h {
	color: var(--ksec-acc-ink, #0f1419);
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 4px;
	text-transform: none;
	letter-spacing: 0;
}
.ksec-acc-dash__h strong { font-weight: 600; }
.ksec-acc-dash__sub {
	color: var(--ksec-acc-ink-muted, #5b6373);
	font-size: 13.5px;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
}
.ksec-acc-dash__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.ksec-acc-stat {
	background: var(--ksec-acc-card, #fff);
	border: 1px solid var(--ksec-acc-line, #ececec);
	border-radius: 10px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
}
.ksec-acc-stat__num {
	color: var(--ksec-acc-ink, #0f1419);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	margin-bottom: 6px;
}
.ksec-acc-stat__num em {
	color: var(--ksec-acc-gold-dk, #8a6d3b);
	font-style: normal;
}
.ksec-acc-stat__label {
	color: var(--ksec-acc-ink-muted, #5b6373);
	font-size: 11.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 12px;
	font-weight: 600;
}
.ksec-acc-stat__label--empty {
	margin-top: 0;
}
.ksec-acc-stat__link {
	color: var(--ksec-acc-cyan-dk, #02738a);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	margin-top: auto;
}
.ksec-acc-stat__link:hover { text-decoration: underline; }
/* Saved with KSEC tile (DEV-225). With four tiles the row is four across when it is wide
   enough and two by two when it is not (the account menu narrows it on mid-width screens),
   measured on the row itself by a container query rather than guessed from the viewport.
   860px keeps a four-figure amount inside a quarter tile; minmax(0, 1fr) keeps the four
   columns equal. Under 900px viewport the one column rule further down still wins. */
.ksec-acc-dash { container-type: inline-size; }
.ksec-acc-dash__stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container (max-width: 860px) {
	.ksec-acc-dash__stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ksec-acc-stat__extra {
	color: var(--ksec-acc-ink-muted, #5b6373);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	margin: -6px 0 12px;
}
.ksec-acc-stat__note {
	color: var(--ksec-acc-ink-muted, #5b6373);
	font-size: 12px;
	line-height: 1.4;
	margin-top: auto;
}

/* ---------- ORDERS LIST — card per order (orders.php) ---------- */
.ksec-acc-orders { display: grid; gap: 12px; margin: 0; padding: 0; }
.ksec-acc-order {
	background: #fff;
	border: 1px solid var(--ksec-acc-line, #ececec);
	border-radius: 10px;
	padding: 18px 20px;
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	gap: 20px;
	align-items: center;
	transition: border-color .15s, box-shadow .15s;
}
.ksec-acc-order:hover {
	border-color: rgba(26, 26, 26, .25);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
.ksec-acc-order__num { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ksec-acc-order__num a { color: var(--ksec-acc-ink, #0f1419); text-decoration: none; }
.ksec-acc-order__num a:hover { color: var(--ksec-btn-primary, #1a1a1a); }
.ksec-acc-order__date { color: var(--ksec-acc-ink-muted, #5b6373); font-size: 12.5px; margin-top: 2px; display: block; }
.ksec-acc-order__items { color: var(--ksec-acc-ink-soft, #262626); font-size: 13px; }
.ksec-acc-order__items strong { color: var(--ksec-acc-ink, #0f1419); display: block; margin-bottom: 2px; }
.ksec-acc-order__items-list { color: var(--ksec-acc-ink-muted, #5b6373); font-size: 12px; }
.ksec-acc-order__total {
	color: var(--ksec-acc-ink, #0f1419);
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}
.ksec-acc-order__total .woocommerce-Price-amount { color: inherit; }
.ksec-acc-order__total .woocommerce-Price-currencySymbol { color: inherit; }
/* Per order "Saved" line under the total (DEV-225), the paperwork's savings green. */
.ksec-acc-order__saved {
	color: var(--ksec-acc-save, #0f5132);
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
}
.ksec-acc-order__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ksec-acc-order__actions .ksec-acc-btn { font-size: 12px; padding: 8px 14px; }
/* Extension column slot (tracking numbers, PDF invoice links, etc.)
   sits below the action buttons on its own row so the row stays
   readable when both an action chain and a tracking link are present.
   The orders.php template buffers the hook output and skips emission
   when the column has no value, so we don't have to defend against
   empty wrappers here. */
.ksec-acc-order__ext {
	flex-basis: 100%;
	margin-top: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--ksec-acc-ink-muted, #5b6373);
}
.ksec-acc-order__ext::before {
	content: attr(data-title);
	font-weight: 700;
	color: var(--ksec-acc-ink-soft, #262626);
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 10.5px;
}
.ksec-acc-order__ext a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
	font-weight: 600;
	color: var(--ksec-acc-ink, #0f1419);
	text-decoration: none;
	padding: 4px 10px;
	border-radius: 4px;
	background: #f4f5f5;
	border: 1px solid var(--ksec-acc-line, #ececec);
	transition: background .15s ease, border-color .15s ease;
}
.ksec-acc-order__ext a:hover,
.ksec-acc-order__ext a:focus-visible {
	background: #ebecec;
	border-color: var(--ksec-btn-primary, #1a1a1a);
}
.ksec-acc-order__ext a::after {
	content: "\2192";
	font-size: 12px;
	opacity: .55;
}

/* status pills */
.ksec-acc-order__status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
/* #006e39 on the tint measures 5.8:1; #018f4a was 3.8:1 at 11px (UX batch OV). */
.ksec-acc-order__status--completed { background: rgba(1, 204, 104, .12); color: #006e39; }
.ksec-acc-order__status--processing,
.ksec-acc-order__status--on-hold { background: rgba(3, 196, 235, .12); color: var(--ksec-acc-cyan-dk, #02738a); }
.ksec-acc-order__status--pending,
.ksec-acc-order__status--pending-payment { background: rgba(197, 165, 114, .16); color: var(--ksec-acc-gold-dk, #8a6d3b); }
.ksec-acc-order__status--refunded { background: rgba(197, 165, 114, .16); color: var(--ksec-acc-gold-dk, #8a6d3b); }
.ksec-acc-order__status--cancelled,
.ksec-acc-order__status--failed { background: rgba(208, 64, 48, .08); color: #d04030; }
/* Order manager statuses (ksec-backorder-manager). Measured on white:
   #8a5a00 on #fdf1dc is 5.3:1, #3b4452 on #ebecee is 8.32:1. */
.ksec-acc-order__status--ksec-backorder { background: rgba(245, 166, 35, .16); color: #8a5a00; }
.ksec-acc-order__status--ksec-held { background: rgba(59, 68, 82, .10); color: #3b4452; }

/* ---------- VIEW ORDER: actions row ----------
   WooCommerce prints Pay / Cancel / the PDF invoice link in the order-details
   tfoot as bare adjacent anchors, with no whitespace between them, in a
   right-aligned cell. Under the generic account button rule above that gave
   three identical black primaries touching each other, and the long
   "KSEC Proforma Invoice" label wrapping onto two lines. Mirror the orders
   list card instead: compact size, a gap, and only Pay / Order again primary. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details a.order-actions-button {
	margin: 4px 0 4px 8px;
	padding: 8px 14px;
	font-size: 12px;
	white-space: nowrap;
	vertical-align: middle;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details a.order-actions-button:not(.pay):not(.order-again) {
	padding: 7px 13px;
	background-color: #fff;
	border: 1px solid var(--ksec-acc-line, #ececec);
	color: var(--ksec-acc-ink, #0f1419) !important;
	transition: border-color .15s, color .15s;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details a.order-actions-button:not(.pay):not(.order-again):hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details a.order-actions-button:not(.pay):not(.order-again):focus-visible {
	background-color: #fff;
	border-color: var(--ksec-btn-primary, #1a1a1a);
	color: var(--ksec-btn-primary, #1a1a1a) !important;
}
/* Shoptimizer styles the table's last tfoot row as the grand total (18px),
   and the actions row is now the last one, so its label came out oversized. */
body.woocommerce-account .woocommerce-order-details tfoot tr:last-child th.order-actions--heading {
	font-size: 14px;
	font-weight: 600;
	vertical-align: middle;
}

.ksec-acc-pagination { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.ksec-acc-empty {
	background: #fff;
	border: 1px solid var(--ksec-acc-line, #ececec);
	border-radius: 10px;
	padding: 28px;
	text-align: center;
}
.ksec-acc-empty p { color: var(--ksec-acc-ink-muted, #5b6373); margin: 0 0 14px; font-size: 14px; }

/* ---------- FORMS (addresses / account / payment) ---------- */
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce-MyAccount-content > form,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-account-fields {
	background: var(--ksec-acc-card, #fff);
	border: 1px solid var(--ksec-acc-line, #ececec);
	border-radius: 10px;
	padding: 28px;
	max-width: 720px;
}

/* WC core renders address forms with .col-1 .col-2 wrappers — flatten on light */
body.woocommerce-account .woocommerce-MyAccount-content .col2-set { display: block; }
body.woocommerce-account .woocommerce-MyAccount-content .col2-set > .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set > .col-2 {
	max-width: 720px;
	margin-bottom: 16px;
}

/* payment-method cards (WC's payment-methods.php emits a .shop_table) */
body.woocommerce-account .woocommerce-MyAccount-paymentMethods,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods {
	background: transparent;
	border: 0;
	padding: 0;
	width: 100%;
	max-width: 720px;
}
body.woocommerce-account .woocommerce-MyAccount-paymentMethods thead { display: none; }
body.woocommerce-account .woocommerce-MyAccount-paymentMethods tbody { display: grid; gap: 12px; }
body.woocommerce-account .woocommerce-MyAccount-paymentMethods tr {
	background: #fff;
	border: 1px solid var(--ksec-acc-line, #ececec);
	border-radius: 10px;
	padding: 16px 20px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
}
body.woocommerce-account .woocommerce-MyAccount-paymentMethods td {
	padding: 0;
	border: 0;
	color: var(--ksec-acc-ink, #0f1419);
	font-size: 14px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
	body.woocommerce-account .ksec-acc-dash__stats { grid-template-columns: 1fr; }
	.ksec-acc-order { grid-template-columns: 1fr; gap: 8px; }
	.ksec-acc-order__total { text-align: left; }
	.ksec-acc-order__actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
	.ksec-acc-login__card { padding: 28px 22px; }
}

/* ============================================================
   1.3.23 — mega-menu phantom-hover fix
   ============================================================ */

/* Shoptimizer mega-menu sub-panels render at rest with:
     visibility: hidden + opacity: 1 + pointer-events: auto
   The panel is invisible but STILL captures mouse hover, so cursor passes
   over invisible links in the sub-panel and the browser status bar flicks
   between URLs ("present despite not seen" symptom).
   Fix: kill pointer-events at rest, restore them when the parent menu item
   is being hovered or focused. Visibility/animation behaviour unchanged. */
/* Structure quirk: full-width mega-menus wrap as
     li.full-width > div.sub-menu-wrapper > div.container > ul.sub-menu
   Simple sub-menus are
     li.menu-item-has-children > ul.sub-menu (or .submenuwrap)
   The v1.4.16 fix only used direct-child combinator and missed the
   .sub-menu-wrapper layer entirely. Use descendant combinator + cover
   all three wrapper class names so the fix bites on all sub-menu shapes. */
#site-navigation .menu-item-has-children .sub-menu-wrapper,
#site-navigation .menu-item-has-children .sub-menu,
#site-navigation .menu-item-has-children .submenuwrap {
	pointer-events: none;
}
#site-navigation .menu-item-has-children:hover .sub-menu-wrapper,
#site-navigation .menu-item-has-children:hover .sub-menu,
#site-navigation .menu-item-has-children:hover .submenuwrap,
#site-navigation .menu-item-has-children:focus-within .sub-menu-wrapper,
#site-navigation .menu-item-has-children:focus-within .sub-menu,
#site-navigation .menu-item-has-children:focus-within .submenuwrap {
	pointer-events: auto;
}

/* ============================================================
   1.4.18 — AJAX load-more pagination
   ============================================================ */

.ksec-tah-loadmore-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 32px 0;
}
.ksec-tah-loadmore {
	min-width: 220px;
	padding: 14px 28px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.ksec-tah-loadmore[disabled] {
	opacity: 0.6;
	cursor: progress;
}
.ksec-tah-loadmore-status:empty {
	display: none;
}
.ksec-tah-loadmore-status {
	font-size: 13px;
	color: #b00020;
}
.ksec-tah-loadmore-status a {
	margin-left: 6px;
	text-decoration: underline;
}

/* ============================================================
   1.4.24 — "Shop by Collection" subcategory tiles revamp

   The performance-tweaks.php hook injects standard WC subcategory
   tiles inside <ul class="products subcategories"> on category
   archives that have subcats. WC core emits the per-tile product
   count inside <mark class="count">(N)</mark> but Shoptimizer
   hides it with display:none. This block:

     - Re-shows the count as a styled badge ("174 products")
     - Tightens the tile so the image doesn't dominate
     - Adds a subtle hover state for clearer affordance
     - Tightens the "Shop by Collection" heading + lede

   Scoped to .products.subcategories so it doesn't bleed into the
   main shop loop or picks rails (both use ul.products).
   ============================================================ */

/* Section heading + lede — tighter, less competing with the page hero */
/* Grid mirrors the brand-grid breakpoints (5/4/3/2) so the subcategory tiles
   and the brand cards read as one system. Overrides Shoptimizer's per-tile
   float/width so the columns are driven by the grid, not theme widths. */
ul.products.subcategories {
	margin-top: 8px;
	margin-bottom: 32px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
ul.products.subcategories > li.product-category {
	width: auto !important;
	max-width: none !important; /* Shoptimizer caps these at max-width:13%; in a
	                              grid that's 13% of the *cell*, collapsing each
	                              tile to a ~36px sliver. Let it fill the cell. */
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	display: block !important; /* theme sets display:flex; force block so the
	                              image + title stack (centred) as designed. */
}
@media (max-width: 1100px) { ul.products.subcategories { grid-template-columns: repeat(4, 1fr); } }

h2 + p.shop-subtitle {
	margin-top: -8px;
	margin-bottom: 20px;
	color: #555;
	font-size: 15px;
}

/* Per-tile container — subtle border, hover lift */
ul.products.subcategories > li.product-category {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
	background: #fff;
}
ul.products.subcategories > li.product-category:hover {
	border-color: #111;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(17, 17, 17, 0.08);
}
ul.products.subcategories > li.product-category a {
	display: block;
	padding: 5px;
	color: #111;
	text-decoration: none;
}

/* Image — cap height so tiles stay compact (was 159px native, now 120px) */
ul.products.subcategories > li.product-category img {
	max-height: 120px;
	width: auto;
	object-fit: contain;
	margin: 0 auto 10px;
	display: block;
}

/* Title — uses h2 in WC core, tighten to feel like a card label.
   Shoptimizer ships `display: flex; justify-content: space-between` on this
   element so the count badge sits to the right of the title text. Override
   to block-layout so the count can stack below the title. */
ul.products.subcategories > li.product-category .woocommerce-loop-category__title {
	display: block !important;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.3;
	color: #111;
	text-align: center;
}

/* The count badge — WC core emits <mark class="count">(N)</mark>. Replace
   visually with a muted "N products" line below the title. We can't change
   the markup from CSS, so we restyle the mark element itself to look like
   a separate label, and rewrite its text via the ::after pseudo on the
   parent title (the inline (N) text inside mark stays for screen readers
   but we hide it via font-size:0 + show the rebuilt label via ::before). */
ul.products.subcategories > li.product-category .woocommerce-loop-category__title mark.count {
	display: block;
	background: none;
	color: #666;
	font-size: 12px;
	font-weight: 500;
	font-style: normal;
	margin-top: 2px;
	padding: 0;
	text-align: center;
}

/* Mobile (≤782px): swap the tile grid for a compact vertical row-card list,
   matching the picks-nav "tap-to-jump" pattern (.ksec-tah-picks-nav__card) —
   48px thumb + title + count + gold chevron. Tiny grid tiles read badly on a
   phone; a scannable list is far better. Pure CSS on the WC subcategory markup,
   so it stays cache-safe (no server-side mobile fork). 782px matches the
   breakpoint where the picks rails themselves switch to the nav list.
   NOTE: this block MUST stay AFTER the desktop tile rules above so it wins
   source order (media queries add no specificity); the desktop title/mark rules
   use !important and would otherwise override display/text-align at ≤782px. */
@media (max-width: 782px) {
	ul.products.subcategories {
		display: flex;
		flex-direction: column;
		gap: 10px;
		grid-template-columns: none;
	}
	ul.products.subcategories > li.product-category {
		border-radius: 10px;
	}
	ul.products.subcategories > li.product-category:hover {
		transform: none; /* no lift on the row cards */
	}
	ul.products.subcategories > li.product-category a {
		display: flex !important;
		flex-direction: row;
		align-items: center;
		gap: 14px;
		padding: 12px 14px;
	}
	/* Shoptimizer wraps the category thumb in span.cat-image-wrapper with 5px
	   top/bottom margin → 10px that inflated the card. Zero it. */
	ul.products.subcategories > li.product-category .cat-image-wrapper {
		margin: 0 !important;
	}
	ul.products.subcategories > li.product-category img {
		width: 48px !important;
		height: 48px;
		flex: 0 0 48px;
		box-sizing: border-box; /* keep the 48px OUTER (incl. 6px padding) so the
		                           card height matches the picks-nav thumb (48px). */
		object-fit: contain;
		background: linear-gradient(135deg, #0a0a0a, #1a1f25); /* match picks-nav thumb panel */
		border-radius: 8px;
		padding: 6px;
		margin: 0;
		max-height: none;
	}
	ul.products.subcategories > li.product-category .woocommerce-loop-category__title {
		display: flex !important;
		flex-direction: column;
		align-items: flex-start; /* theme sets align-items:center → centres the
		                            children in a column flex; force left. */
		gap: 2px;
		flex: 1 1 auto;
		min-width: 0;
		margin: 0;
		padding: 0 !important; /* theme ships 4px top/bottom padding */
		min-height: 0 !important; /* theme sets a min-height to equalise tile
		                             titles → here it inflated the row card to 84px
		                             instead of the thumb-driven 74px. */
		text-align: left !important;
		font-size: 15px !important; /* match picks-nav title; beats the desktop
		                              14px tile rule that wins source order */
		line-height: 1.25;
		font-weight: 600;
	}
	ul.products.subcategories > li.product-category .woocommerce-loop-category__title mark.count {
		margin-top: 0;
		font-size: 12px;
		text-align: left !important;
	}
	ul.products.subcategories > li.product-category a::after {
		content: '\2192'; /* → — match the picks-nav arrow glyph */
		color: var(--ksec-gold, #c5a572);
		font-size: 18px;
		line-height: 1;
		flex: 0 0 auto;
		margin-left: 8px;
	}
}

/* ============================================================
   P1 — CATEGORY MOBILE REDESIGN (v1.4.51)
   Faster path to products on mobile category archives. Hero + trust
   compaction is scoped to body.tax-product_cat so brand-landing heroes
   keep their full treatment. "Shop by Collection" is wrapped in a
   <details class="ksec-collection-toggle"> by performance-tweaks.php:
   collapsed on mobile (tap to expand), force-opened here on desktop.
   ============================================================ */

/* Shop by Collection — collapsible disclosure */
.ksec-collection-toggle { margin: 8px 0 22px; }
.ksec-collection-toggle__summary {
	list-style: none; display: flex; align-items: center; gap: 10px;
	cursor: pointer; padding: 14px 16px; border: 1px solid #e5e7eb;
	border-radius: 12px; background: #fff;
}
.ksec-collection-toggle__summary::-webkit-details-marker { display: none; }
.ksec-collection-toggle__h { font-size: 18px; font-weight: 700; margin: 0; color: #111; line-height: 1.2; }
.ksec-collection-toggle__n { font-size: 14px; font-weight: 600; color: #6b7280; }
.ksec-collection-toggle__chev { margin-left: auto; color: var(--ksec-gold, #c5a572); font-size: 18px; line-height: 1; transition: transform .2s ease; }
.ksec-collection-toggle[open] .ksec-collection-toggle__chev { transform: rotate(180deg); }
.ksec-collection-toggle .shop-subtitle { margin: 12px 0 14px; color: #555; font-size: 15px; }

/* Desktop (≥993px): force the panel open and strip the disclosure chrome so it
   reads exactly like the old "Shop by Collection" heading + grid. The first rule
   overrides the UA's closed-state hide on non-summary children. */
@media (min-width: 993px) {
	/* The <details> is opened on desktop by a parse-time inline script
	   (performance-tweaks.php), so its content shows natively with the grid
	   intact. (CSS-forcing a *closed* details open is unreliable — the box
	   stays summary-height and the content overflows; that was the v1.4.51
	   bug.) Here we only strip the disclosure chrome so it reads as a heading. */
	.ksec-collection-toggle__summary { border: 0; padding: 0; background: none; cursor: default; pointer-events: none; margin-bottom: 4px; }
	.ksec-collection-toggle__n, .ksec-collection-toggle__chev { display: none; }
	.ksec-collection-toggle__h { font-size: 22px; }
	/* Light compaction of the desktop collection grid (smaller imagery). */
	ul.products.subcategories > li.product-category img { max-height: 88px; }
	ul.products.subcategories > li.product-category a { padding: 10px 8px 12px; }
}

/* Short stat labels — hidden everywhere by default; shown only in the mobile
   single-row trust strip on category archives (rule below). */
.ksec-tah-trust__lbl-sm { display: none; }

/* Mobile category compaction (≤992px) — category archives only. */
@media (max-width: 992px) {
	body.tax-product_cat .ksec-tah-hero__sub { display: none !important; }
	body.tax-product_cat .ksec-tah-hero__h,
	body.tax-product_cat .ksec-tah-hero__h-suffix { font-size: 23px !important; line-height: 1.18 !important; }
	body.tax-product_cat .ksec-tah-hero { padding-top: 14px !important; padding-bottom: 16px !important; }
	/* Trust: true single row of 4 compact stats (short labels, phase 3). */
	body.tax-product_cat .ksec-tah-trust { padding-top: 14px !important; padding-bottom: 14px !important; }
	body.tax-product_cat .ksec-tah-trust__grid { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
	body.tax-product_cat .ksec-tah-trust__item { text-align: center; }
	body.tax-product_cat .ksec-tah-trust__item strong { font-size: 19px !important; display: block; line-height: 1.1; }
	body.tax-product_cat .ksec-tah-trust__lbl { display: none !important; }
	body.tax-product_cat .ksec-tah-trust__lbl-sm { display: block !important; font-size: 10px; color: #aeb7c1; margin-top: 2px; line-height: 1.2; }
}

/* --- Newsletter signup band (v1.4.39) -------------------------------------
   Sits on a light surface between the dark trust strip and the picks rail.
   Reuses the footer's [data-ksec-newsletter] JS; styling is self-contained. */
.ksec-tah-signup { background: var(--ksec-paper-soft); border-top: 1px solid var(--ksec-line); border-bottom: 1px solid var(--ksec-line); padding: 28px 0; }
.ksec-tah-signup__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ksec-tah-signup__copy { flex: 1 1 320px; }
.ksec-tah-signup__h { font-size: clamp(18px, 2vw, 22px); font-weight: 800; color: var(--ksec-ink); margin: 0 0 4px; }
.ksec-tah-signup__blurb { font-size: 14px; color: var(--ksec-ink-soft); margin: 0; max-width: 560px; }
.ksec-tah-signup__formwrap { flex: 1 1 320px; max-width: 460px; }
.ksec-tah-signup__form { display: flex; gap: 8px; }
.ksec-tah-signup__form input[type="email"] { flex: 1; min-width: 0; border: 1px solid #cfd3d8; border-radius: 8px; padding: 11px 14px; font-size: 14px; background: #fff; }
.ksec-tah-signup__form input[type="email"]:focus { outline: 2px solid var(--ksec-cyan); outline-offset: 1px; border-color: var(--ksec-cyan); }
.ksec-tah-signup__form button { background: var(--ksec-ink); color: #fff; border: 1px solid var(--ksec-ink); border-radius: 8px; padding: 11px 20px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s; }
.ksec-tah-signup__form button:hover { border-color: var(--ksec-gold); color: var(--ksec-gold); }
.ksec-tah-signup__form button[disabled] { opacity: .6; cursor: default; }
.ksec-tah-signup__err { color: #c0392b; font-size: 13px; margin: 8px 0 0; }
.ksec-tah-footer__form-success, .ksec-tah-signup__formwrap .ksec-tah-footer__form-success { color: #0f834d; font-size: 14px; font-weight: 600; margin: 0; }
@media (max-width: 600px){ .ksec-tah-signup__inner { flex-direction: column; align-items: stretch; } }

/* ============================================================
   UK cross-sell banner (.ksec-tah-uk-crosslink)
   Full-width dark band shown at the foot of the EU homepage,
   pointing non-EU shoppers at labs.ksec.co.uk (GBP + worldwide).
   Was an unstyled <section> paragraph; this makes it a proper
   banner with a CTA button. Works whether the block content is a
   single paragraph with an inline link or a heading + body + link.
   ============================================================ */
.ksec-tah-uk-crosslink {
  background: var(--ksec-navy);
  color: var(--ksec-paper);
  border-top: 2px solid var(--ksec-gold);
  padding: 40px 24px;
  text-align: center;
}
.ksec-tah-uk-crosslink > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
/* Headline (if the block carries one) */
.ksec-tah-uk-crosslink h2,
.ksec-tah-uk-crosslink h3 {
  color: var(--ksec-paper);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  margin: 0 0 10px;
}
/* Body copy */
.ksec-tah-uk-crosslink p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px;
}
/* The link rendered as a CTA button (white on dark, gold on hover —
   matches the theme's --ksec-btn-on-dark convention). */
.ksec-tah-uk-crosslink a {
  display: inline-block;
  background: var(--ksec-paper);
  color: var(--ksec-navy);
  border: 1px solid var(--ksec-paper);
  border-radius: 8px;
  padding: 11px 24px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.ksec-tah-uk-crosslink a:hover,
.ksec-tah-uk-crosslink a:focus {
  background: var(--ksec-gold);
  border-color: var(--ksec-gold);
  color: var(--ksec-navy);
}
.ksec-tah-uk-crosslink a:focus-visible {
  outline: 2px solid var(--ksec-cyan);
  outline-offset: 2px;
}

/* Store top bar extras: arrivals ticker + store chip.

   Rewritten 1.19.0. Until then this block styled a 54px band of our own that
   sat above Shoptimizer's `.top-bar`, both navy, which read as one bar wrapped
   onto a second line. There is now no band here at all: footer.js injects
   these parts INTO `.top-bar .col-full`, so everything below styles children
   of the theme's row rather than a container of ours.

   The `.ksec-eu-bar__*` rules that used to live here are gone with the band.
   Their absence is load-bearing during the cache window: pages cached before
   this deploy still carry the old `#ksec-eu-bar` markup, which is `hidden` in
   the HTML, and with no `display` rule to override it those stale bands stay
   invisible rather than reappearing unstyled above the new row. Do not
   reintroduce a `#ksec-eu-bar` selector.

   Widths are in `ch` throughout, not percentages of the row. The row is 60px
   narrower under the BrikPanel admin shell than under core wp-admin, and more
   to the point it is a different width on every storefront viewport; a
   ch-based size resolves against the font and is therefore the same component
   in all of them. */

#ksec-topbar-extras[hidden] { display: none; }

/* Fallback band, used only when the theme's top bar is absent from the page
   (the Customizer can disable it). Keeps the EU routing reachable instead of
   dropping it, without pretending to be the old 54px band. */
#ksec-topbar-extras.ksec-tbx--standalone {
  background: var(--ksec-navy);
  color: var(--ksec-dim-2);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 24px;
}

/* ---------- arrivals ticker ---------- */

/* SPECIFICITY NOTE, and it is not defensive: the Customizer emits
   `.top-bar, .top-bar a { color: #323232 }` INLINE in <head>. Inline-in-head
   sits last in document order at (0,1,1), so it beats a bare (0,1,0) class on
   any <a> in this bar, and both of these components are anchors. Shipped
   without it in 1.19.0 and the chip rendered #323232 on #0f1419, about 1.3:1,
   effectively invisible.

   So every colour on an anchor here is declared twice: once unscoped, for the
   standalone fallback band which is NOT inside .top-bar, and once as
   `.top-bar .ksec-tbx-*` at (0,2,0), which outranks (0,1,1) because class count
   is compared before element count.

   A local harness cannot catch this. The rule is in the page, not in any file,
   so it only appears in a real browser against the real site. */
.ksec-tbx-ticker,
.top-bar .ksec-tbx-ticker {
  color: var(--ksec-dim-2);
}
.ksec-tbx-chip,
.top-bar .ksec-tbx-chip {
  color: var(--ksec-gold);
}
.top-bar a.ksec-tbx-chip:hover,
.top-bar a.ksec-tbx-chip:focus {
  color: #e0c99a;
}
.top-bar .ksec-tbx-ticker:hover .ksec-tbx-ticker__all {
  color: var(--ksec-cyan);
}

.ksec-tbx-ticker {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  white-space: nowrap;
  /* NO `min-width: 0` here. It was set once and it broke eu: with no
     `.top-bar-left` slot on that store the ticker is a direct flex child of the
     row, and `min-width: 0` let it shrink below its own content while its
     children (all `flex: 0 0 auto`) refused to, so the ticker printed straight
     over the shipping notice. The default `min-width: auto` is what stops that,
     and it is the same thing that keeps the theme's own `.top-bar-left` honest.
     The notice truncates instead, which is safe because it is set to
     ellipsis rather than wrap. */
  text-decoration: none;
  color: var(--ksec-dim-2);
  font-size: 12px;
  line-height: 1.4;
}
.ksec-tbx-ticker[hidden] { display: none; }

/* Placement, and why the flex value differs by store.

   labs has an (empty) `.top-bar-left` text widget carrying `flex: 1 1 0`, which
   mirrors `.top-bar-right` and is the only reason the shipping notice sits
   centred. footer.js drops the ticker inside that slot, so the ticker itself
   must NOT grow or it fights its own container.

   eu has no left widget at all, so there the ticker lands as the row's first
   child and has to supply that `flex: 1 1 0` itself, or eu's centre notice
   drifts left by the ticker's width. */
.top-bar .col-full > .ksec-tbx-ticker { flex: 1 1 0; }
.ksec-tbx-ticker:hover .ksec-tbx-ticker__all { color: var(--ksec-cyan); }

.ksec-tbx-ticker__label {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ksec-gold);
  border: 1px solid rgba(197, 165, 114, 0.38);
  border-radius: 3px;
  padding: 2px 6px;
}

.ksec-tbx-ticker__pulse {
  flex: 0 0 auto;
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ksec-cyan);
  animation: ksec-tbx-pulse 2.4s ease-in-out infinite;
}
/* Ring drawn as a same-colour disc 17px across, scaled from 7/17 to 1 while it
   fades: the picture the old 0 to 5px box-shadow drew, but transform and opacity
   run on the compositor instead of repainting the main thread every frame
   (DEV-330). The dot keeps its own opacity pulse, which also composites. */
.ksec-tbx-ticker__pulse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  margin: -8.5px 0 0 -8.5px;
  border-radius: 50%;
  background: var(--ksec-cyan);
  pointer-events: none;
  animation: ksec-tbx-ring 2.4s ease-in-out infinite;
}
@keyframes ksec-tbx-pulse {
  0%, 100% { opacity: 1; }
  55%      { opacity: 0.6; }
}
@keyframes ksec-tbx-ring {
  0%, 100% { transform: scale(.4118); opacity: .55; }
  55%      { transform: scale(1);     opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ksec-tbx-ticker__pulse,
  .ksec-tbx-ticker__pulse::after { animation: none; }
  .ksec-tbx-ticker__pulse::after { opacity: 0; }
}

/* Fixed width on purpose, and in ch rather than a percentage of the row.

   Fixed, because a viewport sized to its current item shoves the whole rest of
   the row sideways on every rotation. In ch, because this component has to be
   the same size in every container it lands in, and it lands in two different
   ones (labs' `.top-bar-left` slot, eu's bare row) at every storefront width.

   26ch, not more: `.top-bar-left` cannot shrink below its content (default
   `min-width: auto`), so every pixel the ticker takes comes straight off the
   shipping notice next to it, which then wraps to two lines and takes the row
   from 44px to 60px. That is the exact failure this whole change exists to
   remove, so the ticker is sized to leave the notice its single line. */
/* Grows into whatever the row has spare, floor 26ch, ceiling 52ch.

   Deliberately NOT a fixed width, and not breakpoints either. The earlier fixed
   26ch truncated product names to "ESP Key RFID Wiega..." on a 1280 screen that
   had ~180px going spare in `.top-bar-right`, which is `flex: 1 1 0` and holds
   only the currency switcher. Breakpoints were tried first and are the wrong
   tool: the row's usable width depends on the shipping notice's own length and
   on which zones are populated, both of which differ per store, so any hardcoded
   step is right on one store and wrong on the other.

   Letting flex distribute it is self-tuning and cannot over-reach. The floor is
   what protects the notice: `.top-bar-center` keeps its own min-content and
   `max-width: 45%`, and the ticker cannot shrink the notice below that or grow
   past the free space the flex algorithm actually has.

   The ceiling matters as much as the floor. Without it, on a wide viewport the
   ticker would swallow the whole row and the bar would read as one long product
   name with a shipping notice hiding at the end of it.

   The original warning about a resizing viewport still holds and is not violated
   here: what shoves the row on every rotation is a viewport sized to the CURRENT
   ITEM. This one is sized to the available space, which changes only when the
   window does. */
.ksec-tbx-ticker__viewport {
  position: relative;
  /* Basis MUST stay `auto`. footer.js sets an explicit inline width from the
     widest item, and a non-auto flex-basis silently outranks that width: shipped
     as `0 1 26ch` in 1.19.3 and the computed width stayed at 205.8px while the
     inline style read 363px, so the name truncated exactly as before and the
     measurement looked like it had done nothing.
     Grow is off so the slot cannot re-inflate into the dead space that
     measurement exists to remove; shrink stays on so a narrow window can pull it
     back to the floor. Before the JS runs the absolutely-positioned items
     contribute no width, so the floor is what the slot starts at. */
  flex: 0 1 auto;
  min-width: 26ch;
  max-width: 52ch;
  height: 18px;
  overflow: hidden;
}

/* The ticker has to be allowed to grow for the viewport's grow to reach it.
   Inside `.top-bar-left` it was `flex: 0 0 auto` so the slot could size to it;
   now it fills the slot the flex algorithm gives that slot. */
.top-bar-left .ksec-tbx-ticker { flex: 1 1 auto; }

/* Everything below is scoped to the ROUTING stores, and the marker is the
   ABSENCE of eu's provenance chip rather than the presence of the routing
   chip's wrapper. That distinction is load-bearing: footer.js removes the
   wrapper from the DOM on dismiss, and again on load for anyone who dismissed
   it on a previous visit, so a `:has(.ksec-tbx-chip-wrap)` would quietly stop
   applying for every visitor who has ever clicked the x. The static chip has
   no dismiss control by design and never leaves the DOM. */

/* The UK stores carry the currency switcher, 217px eu does not spend, so their
   row is the tight one. Cap the ticker to 38ch (about 300px) against the 412px
   52ch allows: it was the largest single consumer at 508px including its label,
   and the reclaimed 131px is what stops the centre notice clipping. The product
   name's own ellipsis absorbs the cut and "All dates" still links to the full
   list. eu keeps 52ch: its notice measures 353px unclipped at 1280 with 68px of
   row slack, so tightening the ticker there would truncate names to buy space
   nothing needs. */
.top-bar .col-full:not(:has(.ksec-tbx-chip--static)) .ksec-tbx-ticker__viewport {
  max-width: 38ch;
}

/* The centre notice is authored as two spans so it can shed its second clause
   rather than clip mid-sentence. Even with the ticker capped the row cannot
   hold the ticker, both clauses, the chip and the currency switcher below
   ~1300px: measured, the notice wants 441px and gets 422px at 1280. */
@media (max-width: 1299px) {
  .top-bar .col-full:not(:has(.ksec-tbx-chip--static)) .ksec-tbx-note__b {
    display: none;
  }
}

.ksec-tbx-ticker__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  white-space: nowrap;
}
.ksec-tbx-ticker__item.is-in  { opacity: 1; transform: translateY(0); }
.ksec-tbx-ticker__item.is-out { opacity: 0; transform: translateY(-100%); }

.ksec-tbx-ticker__name {
  color: #fff;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ksec-tbx-ticker__when {
  flex: 0 0 auto;
  color: var(--ksec-cyan);
  font-weight: 600;
}
.ksec-tbx-ticker__all {
  flex: 0 0 auto;
  color: var(--ksec-dim);
  font-weight: 600;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

/* Centring the notice is the right ZONE's job, not the chip's.

   labs balances naturally: `.top-bar-left` and `.top-bar-right` are both
   `flex: 1 1 0`, and that symmetry is the only thing centring
   `.top-bar-center` between them. eu renders no `.top-bar-right` at all,
   because WCML suppresses a single-currency switcher, so everything dropped on
   the right sat outside the balance and pushed the notice left: measured 144px
   off centre with the chip and the language switcher both over there.

   A first attempt made the CHIP the counterweight, which only worked while the
   chip was the sole thing on that side and broke the moment the switcher joined
   it. footer.js now creates a `.ksec-tbx-right-shim` where the theme has no
   right zone, and everything right-hand goes inside it. See that rule below. */

/* ---------- store chip ---------- */

.ksec-tbx-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.ksec-tbx-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(197, 165, 114, 0.45);
  border-radius: 4px;
  color: var(--ksec-gold);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
a.ksec-tbx-chip:hover,
a.ksec-tbx-chip:focus {
  border-color: var(--ksec-gold);
  color: #e0c99a;
}
/* eu variant: provenance, not a link. Same shape, no affordance. */
.ksec-tbx-chip--static { cursor: default; }

.ksec-tbx-chip__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ksec-gold);
}

.ksec-tbx-chip__dismiss {
  background: none;
  border: 0;
  color: #7d8894;
  cursor: pointer;
  line-height: 0;
  padding: 5px;
  /* 24px of hit area on a 14px glyph. Not warehouse-grade 44px, but this is a
     storefront control a customer taps once, and a 44px target here would be
     taller than the 44px row it sits in. */
  border-radius: 3px;
}
.ksec-tbx-chip__dismiss:hover { color: #eef1f4; }

.ksec-tbx-ticker:focus-visible,
.ksec-tbx-chip:focus-visible,
.ksec-tbx-chip__dismiss:focus-visible {
  outline: 2px solid var(--ksec-cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ksec-tbx-ticker__pulse { animation: none; }
  .ksec-tbx-ticker__item  { transition: none; }
}

/* Narrow screens: the row cannot hold four things. The ticker is the first to
   go, because its content is one tap away on the restock page whereas the
   shipping notice and the currency switcher are not, and because it is the only
   one of the four that is new. The chip stays at every width: its label is the
   whole message.

   992px is Shoptimizer's own top-bar breakpoint, not an invented one. Below it
   the parent theme clamps the bar's font-size down, and lining up with that
   means the notice gets its full width back at exactly the point the type
   starts shrinking, instead of being truncated through a band of widths where
   the ticker still fits but nothing else does. */
@media (max-width: 1100px) {
  .ksec-tbx-ticker__all { display: none; }
}
/* Hidden only in the BAND where it has nowhere to go: 769 to 992, where the
   row is still one line and too tight for four things. Below 769 the bar goes
   to two rows and the ticker gets the second one to itself, so it comes back. */
@media (max-width: 992px) and (min-width: 769px) {
  .ksec-tbx-ticker { display: none; }
}
/* eu only (the static provenance chip exists only there), 993 to 1299px. The
   ticker's slot width is set inline by footer.js from the widest product name
   (387px at 1000px) and the ticker cannot shrink below it, which left the right
   zone 78px for the 334px that the chip and language switcher need. The chip is
   `flex: 0 0 auto`, so it spilled left onto the centre notice: measured 240px of
   overlap in English at 1000px and 101px in French at 1100px. The routing stores
   shed the notice's second clause at this breakpoint (above); eu's notice is one
   plain sentence, so it sheds the ticker instead, as it already does below 993px.
   1299px is the breakpoint the routing stores use for the same reason. */
@media (min-width: 993px) and (max-width: 1299px) {
  .top-bar .col-full:has(.ksec-tbx-chip--static) .ksec-tbx-ticker { display: none; }
}

/* Mobile, where the ticker shares row two with the currency or language
   control. The slot's JS-measured width is sized for a desktop row and would
   overflow a phone, so it is capped and the floor comes down. The name
   ellipsis absorbs the difference, which is what it is for. */
@media (max-width: 768px) {
  .ksec-tbx-ticker { flex: 1 1 auto; min-width: 0; }
  .ksec-tbx-ticker__viewport {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
  }
  /* The routing chip goes on mobile. There is room for the notice, the ticker
     and ONE control, and the control is the one people came for. eu's
     provenance chip goes with it for the same reason. */
  .ksec-tbx-chip-wrap,
  .ksec-tbx-chip--static {
    display: none;
  }

  /* The ARRIVING label is BACK on mobile (1.21.2). It came off in 1.21.1 to buy
     the product name room while the currency switcher still shared row two;
     that switcher is gone now, so the 136px it was taking pays for the label
     with room to spare, and without the label the row read as a stray line of
     text rather than a component.

     "All dates" stays hidden and a chevron stands in for it: it is the same
     affordance at a fifth of the width, and on a band that is now visibly its
     own thing the link no longer has to announce itself in words. */
  .ksec-tbx-ticker {
    justify-content: flex-start;
    gap: 8px;
  }
  .ksec-tbx-ticker::after {
    content: "\203A";
    margin-left: auto;
    padding-left: 6px;
    color: var(--ksec-dim);
    font-size: 15px;
    line-height: 1;
    flex: 0 0 auto;
  }
}

/* TranslatePress floating language switcher (eu only).
   It is position:fixed at top:0 with z-index 99999, so it overlays whatever
   sits at the very top of the page rather than participating in layout. Its
   own height is 55px (33px inner + 10px padding each side).

   RESCOPED 1.19.0. This used to be scoped `body:has(#ksec-eu-bar)`, trimming
   the padding to 6px so the switcher fitted the 46px EU band and reverting to
   its natural 55px when that band was dismissed, because the topbar underneath
   was 54px. Both halves of that reasoning are now wrong: `#ksec-eu-bar` no
   longer exists so the rule would never match, and the single row it was
   replaced by is 44px, not 54px, so the untrimmed 55px overhangs by 11px in
   the case the old rule treated as correct.

   So it is now scoped to the presence of the theme's top bar, which is
   server-rendered and therefore stable from first paint (scoping to a class
   footer.js adds would flash), and trimmed to 5px each side for a 43px
   switcher inside the 44px row.

   PADDING ONLY. Do NOT set an explicit height or change display here: the
   dropdown list (.trp-switcher-dropdown-list) is a CHILD of this nav, so a
   fixed height clips the open dropdown. That is exactly what 1.4.78/1.4.79 got
   wrong, and it broke the switcher on the live store.

   Guarded to wider screens because the row collapses on narrow ones, at which
   point a fixed padding would clip it.

   !important is REQUIRED here, not defensive. TranslatePress writes its config
   as INLINE custom properties on the <nav> itself (style="--switcher-padding:
   10px 0; ..."), and an inline declaration beats any stylesheet rule of any
   specificity. Without !important this override is silently ignored: the
   computed padding stays 10px 0 and nothing appears to happen. The padding
   longhand is also set directly, so the fix holds even if TranslatePress stops
   routing padding through that variable. */
/* Reserve the TranslatePress switcher's footprint at the end of the row.

   The switcher is position:fixed at the right edge with z-index 99999, so it
   does not participate in layout and will happily sit on top of whatever the
   row's last element is. Before 1.19.0 that was empty space, because eu renders
   no currency switcher (WCML suppresses a single-currency one). 1.19.0 put the
   provenance chip there and it went straight under it: measured 105px of the
   chip covered, so "Ships from Brussels, VAT at checkout" read as "Ships from
   Brussels,".

   150px, not the 121px measured for "English": the switcher is sized to the
   ACTIVE language name, so a visitor reading in Nederlands or Francais widens
   it. Reserving the widest plausible label is cheaper than being wrong for
   every non-English visitor.

   Scoped with :has() so it costs nothing on labs and b2b, where TranslatePress
   is not active and the selector never matches. Guarded to wider screens for
   the same reason as the padding rule below: under 768px the row stacks and the
   switcher is no longer beside anything. */
@media (min-width: 783px) {
  body:has(.trp-floating-switcher):not(.ksec-tbx-lang-inline) .top-bar .col-full {
    padding-right: 150px;
  }
}

/* The switcher, once footer.js has moved it into the row (or, on pages with
   no theme top bar such as the minimal checkout header, into the standalone
   band: UX to-do I10b, same rules under #ksec-topbar-extras.ksec-tbx--standalone).

   `position` back to relative, not static: the dropdown list is a descendant
   and relative keeps this nav as its containing block, which is what stops the
   open list detaching from the control. Everything TRP sets for a floating
   element (top, right, bottom, the fixed positioning itself) has to be undone
   explicitly, and with !important, because TRP writes its configuration as
   INLINE custom properties on this nav and an inline declaration beats any
   stylesheet rule of any specificity.

   `flex: 0 0 auto`, not a grow: the counterweight that centres the notice is
   the right ZONE (the theme's `.top-bar-right`, or the shim footer.js creates
   when there isn't one), exactly as on labs. The switcher just sits inside it. */
.ksec-tbx-right-shim {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}

.top-bar .col-full .trp-floating-switcher,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  flex: 0 0 auto;
  --switcher-padding: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  /* The NAV itself carries the white background, not its inner wrappers.
     1.20.4 recoloured the children and left this, so the "English" label went
     light-on-white and disappeared while the flag stayed visible. */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  /* TranslatePress 3.3.6 (trp-language-switcher-v2.css) sets overflow hidden
     on the floating switcher, which clipped the absolutely positioned list
     below so no language could be clicked once the nav sat in a bar. Found by
     the I10b correctness review, 2026-09-28; also fixes the eu top bar. */
  overflow: visible !important;
}
/* Make the switcher read as part of the bar rather than a white sticker on it.

   TRP styles its floating switcher for a page background, so dropped into a
   navy bar it arrives as a light rounded box. Colours only here: no layout, no
   height, no display changes, because the dropdown list is a descendant and
   those are what break it (1.4.78/1.4.79 broke the switcher on the live store
   doing exactly that). The dropdown keeps its own solid background so it stays
   readable when it opens over the white header below. */
.top-bar .col-full .trp-floating-switcher .trp-language-switcher-inner,
.top-bar .col-full .trp-floating-switcher .trp-language-switcher-container,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher .trp-language-switcher-inner,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher .trp-language-switcher-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.top-bar .col-full .trp-floating-switcher a,
.top-bar .col-full .trp-floating-switcher span,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher a,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher span {
  color: var(--ksec-dim-2) !important;
}
.top-bar .col-full .trp-floating-switcher a:hover,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher a:hover {
  color: var(--ksec-cyan) !important;
}
/* The open list must OVERLAY, not push.

   TRP lays the list out in normal flow, which is fine for a floating switcher
   that owns its own space but not for one sitting in a 44px flex row: opening
   it grew the row and shoved the whole page down. Taking it out of flow is the
   fix, and `.trp-language-switcher-inner` above is `position: relative` to be
   its containing block.

   This is the change the file's own history says to be careful with: 1.4.78 and
   1.4.79 broke this switcher by constraining it. The distinction is that those
   set a HEIGHT on the nav, which clipped the list; this leaves every size alone
   and only changes what the list is positioned against.

   It must also paint solid and sit above the white header it opens over, hence
   the background and the z-index. */
.top-bar .col-full .trp-floating-switcher .trp-switcher-dropdown-list,
.top-bar .col-full .trp-floating-switcher ul,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher .trp-switcher-dropdown-list,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher ul {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  min-width: 100%;
  width: max-content;
  z-index: 1002;
  background: var(--ksec-navy-2) !important;
  border: 1px solid var(--ksec-line-dark) !important;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* The dropdown must escape the 44px row rather than stretch it. */
.top-bar .col-full .trp-floating-switcher .trp-language-switcher-inner,
#ksec-topbar-extras.ksec-tbx--standalone .trp-floating-switcher .trp-language-switcher-inner {
  position: relative;
  /* Containing block for the absolute list above. Height stays auto so the
     44px row is set by the row, not by this. */
}

@media (min-width: 783px) {
  body:has(.top-bar) .trp-floating-switcher {
    --switcher-padding: 5px 0 !important;
    padding: 5px 0 !important;
  }
}

/* ──────────────────────────────────────────────────────────────────
   v1.4.81 — EU newsletter accent = brand red (not the store cyan).
   EU-scoped via the .ksec-tah-footer--eu modifier (added in footer.php
   when ksec_is_eu()); labs keeps the cyan accent. The Klaviyo-hosted
   embedded form (klaviyo-form-T3adfw) renders its Subscribe button with
   the form-designer cyan; a site rule can override it (verified live), so
   the whole band reads red without a Klaviyo dashboard change. */
.ksec-tah-footer--eu .ksec-tah-footer__cta h3 em {
	color: var(--ksec-red);
}
.ksec-tah-footer--eu .ksec-tah-footer__cta .klaviyo-form-T3adfw button {
	background: var(--ksec-red) !important;
	background-color: var(--ksec-red) !important;
	border-color: var(--ksec-red) !important;
}

/* ──────────────────────────────────────────────────────────────────
   v1.4.81 — kill the white strip below the footer on product pages.
   CommerceKit adds body{padding-bottom:70px} on single-product for the
   fixed mobile add-to-basket bar; the body background is white, so that
   clearance shows as a white block under the dark footer. Move the
   clearance onto the dark footer element itself so the reserved space is
   footer-coloured. Scoped to single-product (the only template with the
   sticky bar and the padding). Background propagation makes a body
   background-band unreliable here, so this is the deterministic fix. */
body.single-product {
	padding-bottom: 0 !important;
}
body.single-product .ksec-tah-footer {
	padding-bottom: 74px;
}

/* ==========================================================================
   Globe fulfilment band ([ksec_globe_band])
   Dark "sourced direct, shipped worldwide" proof band, sits directly below the
   homepage hero. Inherits the .ksec-tah full-bleed (100vw + negative side
   margins, same as the hero/footer); __inner caps and pads the content. The
   globe is a lazy, same-origin iframe (assets/globe.html) kept OFF the hero LCP
   path by design.
   ========================================================================== */
.ksec-tah-globe-band {
	background:
		radial-gradient(ellipse 60% 55% at 18% 30%, rgba(var(--ksec-accent-rgb), .10), transparent 70%),
		radial-gradient(ellipse 50% 60% at 88% 80%, rgba(255,255,255,.04), transparent 70%),
		linear-gradient(135deg, #060708 0%, #0e1116 55%, #0b0f14 100%);
	color: var(--ksec-paper);
	/* Kept deliberately tight. This is a supporting proof strip, not a second
	   hero: it sits between the hero and the first product row, so every pixel
	   here is pixels before someone reaches something they can buy. Measured on
	   a live 1920x1041 Chrome, the first sizing ran 548px, TALLER than the
	   510px hero, and made up 37% of the scroll to the first product card. */
	padding: clamp(28px,2.8vw,40px) 0;
}
.ksec-tah-globe-band__inner {
	width: auto;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	/* Three columns: globe, copy, store chooser. The globe is capped so it sits
	   just above the copy column's natural height rather than driving the band
	   taller (at 420px it left 114px of dead space beside the copy and inflated
	   the whole section). The chooser column absorbs the right-hand space that
	   was empty on wide screens, and stays under the globe's height so the band
	   height is still set by the globe. */
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) 292px;
	gap: clamp(24px,3vw,38px);
	align-items: center;
}
.ksec-tah-globe-band__visual { display: flex; justify-content: center; min-width: 0; }
.ksec-tah-globe-band__globe {
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	border: 0;
	display: block;
	background: transparent;
}
.ksec-tah-globe-band__copy { min-width: 0; }
.ksec-tah-globe-band__h {
	font-size: clamp(28px,3.6vw,42px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.01em;
	margin: 0 0 14px;
	color: #fff;
	max-width: 18ch;
}
.ksec-tah-globe-band__sub {
	color: rgba(255,255,255,.72);
	font-size: clamp(15px,1.4vw,17px);
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 52ch;
}
/* One row, always. This was flex-wrap, which was fine while the copy had half
   the band to itself. Adding the store-chooser column narrowed it enough that
   the third stat wrapped to its own line, which pushed the copy column to
   406px, made it the tallest column and inflated the band from 410px to 486px.
   grid-auto-flow:column keeps the tiles on one line and degrades to however
   many tiles actually resolved. */
.ksec-tah-globe-band__stats {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: clamp(14px,1.6vw,24px);
}
.ksec-tah-globe-band__stat { display: flex; flex-direction: column; gap: 4px; }
.ksec-tah-globe-band__stat-n {
	font-size: clamp(26px,3vw,34px);
	font-weight: 700;
	line-height: 1;
	/* Cyan here is DELIBERATE, do not "correct" it to gold for consistency.
	   The site's general rule is gold for figures (footer trust strip, archive
	   trust strip) and cyan for text accents. This band is the documented
	   exception: it sits beside the fulfilment globe, whose markers, arcs and
	   glow are all cyan, so gold numbers read as a foreign element next to it.
	   Tying the figures to the visual they annotate beats matching the other
	   stat rows. Reviewed and kept 2026-07-28. */
	color: var(--ksec-cyan);
	font-variant-numeric: tabular-nums;
	letter-spacing: -.01em;
}
.ksec-tah-globe-band__stat-l {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255,255,255,.6);
}
/* Store chooser (third column). Two store cards plus the EU language links.
   Sits under the globe's height on desktop so it does not grow the band. */
.ksec-tah-globe-band__stores { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ksec-tah-globe-band__stores-label {
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255,255,255,.5);
	margin: 0 0 2px;
}
.ksec-tah-globe-band__store {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 14px;
	border-radius: 11px;
	border: 1px solid rgba(255,255,255,.13);
	background: rgba(255,255,255,.035);
	text-decoration: none;
	color: inherit;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
a.ksec-tah-globe-band__store:hover {
	border-color: var(--ksec-cyan);
	background: rgba(var(--ksec-accent-rgb), .09);
	transform: translateY(-1px);
}
a.ksec-tah-globe-band__store:focus-visible { outline: 2px solid var(--ksec-cyan); outline-offset: 2px; }
/* Current store: present but not actionable, so it reads as orientation
   rather than a dead link. */
.ksec-tah-globe-band__store.is-here {
	border-style: dashed;
	border-color: rgba(255,255,255,.22);
	background: transparent;
}
.ksec-tah-globe-band__store-icon { flex: none; width: 34px; height: 34px; border-radius: 8px; display: block; }
.ksec-tah-globe-band__store-txt { min-width: 0; flex: 1; }
.ksec-tah-globe-band__store-name { display: block; font-size: 13.5px; font-weight: 700; color: #eef3fa; }
.ksec-tah-globe-band__store-desc { display: block; font-size: 11.5px; color: rgba(255,255,255,.58); margin-top: 2px; }
.ksec-tah-globe-band__store-arrow { flex: none; color: var(--ksec-cyan); font-size: 15px; line-height: 1; }
.ksec-tah-globe-band__store-here {
	flex: none;
	font-size: 9.5px;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 20px;
	padding: 3px 8px;
	white-space: nowrap;
}
/* EU language entry points, indented under the EU card to read as belonging
   to it rather than as four more stores. */
.ksec-tah-globe-band__langs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 2px 0 0 16px;
	padding-left: 14px;
	border-left: 1px solid rgba(255,255,255,.12);
}
.ksec-tah-globe-band__lang {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 9px;
	border: 1px solid rgba(255,255,255,.11);
	background: rgba(255,255,255,.025);
	text-decoration: none;
	color: inherit;
	transition: border-color .18s ease, background .18s ease;
}
.ksec-tah-globe-band__lang:hover { border-color: var(--ksec-cyan); background: rgba(var(--ksec-accent-rgb), .08); }
.ksec-tah-globe-band__lang:focus-visible { outline: 2px solid var(--ksec-cyan); outline-offset: 2px; }
.ksec-tah-globe-band__flag { flex: none; display: block; border-radius: 2px; }
.ksec-tah-globe-band__lang-name { font-size: 11.5px; font-weight: 600; color: #dbe4ef; }
/* Language the visitor is reading (EU store only): highlighted, not a link,
   matching the "You are here" store card. */
.ksec-tah-globe-band__lang.is-here {
	border-color: var(--ksec-cyan);
	background: rgba(var(--ksec-accent-rgb), .12);
	cursor: default;
}
.ksec-tah-globe-band__lang.is-here .ksec-tah-globe-band__lang-name { color: #fff; }

@media (max-width: 1080px) {
	/* Chooser drops to a full-width row beneath the globe and copy before the
	   columns get too narrow to read. */
	.ksec-tah-globe-band__inner {
		grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
		grid-template-areas: "globe copy" "stores stores";
		row-gap: 26px;
	}
	.ksec-tah-globe-band__visual { grid-area: globe; }
	.ksec-tah-globe-band__copy   { grid-area: copy; }
	.ksec-tah-globe-band__stores { grid-area: stores; }
	.ksec-tah-globe-band__globe  { max-width: 260px; }
	.ksec-tah-globe-band__stores { flex-flow: row wrap; align-items: stretch; }
	.ksec-tah-globe-band__stores-label { flex: 1 0 100%; }
	.ksec-tah-globe-band__store { flex: 1 1 220px; }
	.ksec-tah-globe-band__langs { flex: 1 1 100%; margin-left: 0; padding-left: 0; border-left: 0; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
}

@media (max-width: 900px) {
	.ksec-tah-globe-band__inner { grid-template-columns: 1fr; grid-template-areas: "globe" "copy" "stores"; gap: 28px; justify-items: center; text-align: center; }
	.ksec-tah-globe-band__h,
	.ksec-tah-globe-band__sub { margin-left: auto; margin-right: auto; }
	.ksec-tah-globe-band__stats { justify-content: center; }
	/* Cards read left-aligned even while the copy above them is centred: an
	   icon, a name and a trailing marker do not centre convincingly. */
	.ksec-tah-globe-band__stores {
		flex-flow: column nowrap;
		width: 100%;
		max-width: 420px;
		text-align: left;
	}
	.ksec-tah-globe-band__stores-label { text-align: center; }
	/* MUST reset the flex shorthand set at the 1080 breakpoint. There the
	   container is a row, so `flex: 1 1 220px` sets a width basis. Here the
	   container is a column, the main axis flips, and that same 220px becomes a
	   HEIGHT basis: each card inflated to 248px and the chooser to 630px,
	   taking the whole band to 1216px at 375px wide. */
	.ksec-tah-globe-band__store { flex: 0 0 auto; }
	.ksec-tah-globe-band__langs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.ksec-tah-globe-band__inner { padding: 0 16px; }
	/* Store chooser is a DESKTOP device: it exists to fill the empty right third
	   on wide screens. On a phone there is no empty space to fill, and it costs
	   289px (band 568px to 857px, over a full viewport height) directly between
	   the hero and the first product row, which is the scroll we deliberately
	   trimmed. Nothing unique is lost: the dismissible EU top bar routes EU
	   visitors, and the footer group strip carries every store link including
	   the language domains. Revisit if mobile EU traffic needs a stronger route. */
	.ksec-tah-globe-band__stores { display: none; }
	/* Keep the band from eating a full mobile screen between the hero and the
	   first product row. At 375px the untuned band ran 752px (0.93 viewport
	   heights), pushing products a whole screen further down; this trims the
	   globe and the vertical rhythm so it reads as a proof strip rather than a
	   second hero. The band exists to support the funnel, not interrupt it. */
	.ksec-tah-globe-band { padding: 28px 0 32px; }
	.ksec-tah-globe-band__inner { gap: 18px; }
	.ksec-tah-globe-band__globe { max-width: 210px; }
	.ksec-tah-globe-band__sub { margin-bottom: 20px; }
	/* Stats in one row rather than a 2 + 1 wrap that orphans the last tile on
	   its own line. Measured at 375px and 320px: fits with no overflow, only
	   "countries reached" wraps to two lines.
	   grid-auto-flow:column (not a fixed repeat(3,1fr)) so the row still reads
	   evenly if a stat resolves empty and its tile is omitted: two tiles give
	   two equal columns rather than two-thirds of a row with a dead gap. */
	.ksec-tah-globe-band__stats {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		gap: 12px;
	}
	.ksec-tah-globe-band__stat-n { font-size: 22px; }
	.ksec-tah-globe-band__stat-l { font-size: 10px; letter-spacing: .04em; }
}

/* ==========================================================================
   Product long description (.ksec-pdp)
   --------------------------------------------------------------------------
   Block based product descriptions for the Pro Pick listings. Core Gutenberg
   blocks (group, columns, heading, list, table, image) carrying these classes,
   deliberately not UAGB: the older Pro Pick pages are hand written
   uagb/info-box JSON, very verbose and painful to edit.

   Palette is Pro Pick as it actually appears on the brand's own banner cards:
   black, white and the gold #c5a572. Gold against black carries the premium tier, which is the whole
   argument for Titan Core, and keeps Pro Pick visually distinct from the KSEC
   house cyan used everywhere else on the store.

   Two variants, set on the root .ksec-pdp element:
     .ksec-pdp--steel     brushed steel gradients, for the Steel Series listings
     .ksec-pdp--blackout  inverted hero panel and solid bars, for the Tactical
                          combos

   COLOUR CASCADE: do NOT put a colour on ".ksec-pdp p". A bare element rule
   there outranks the single component classes and silently repaints badges and
   inverted panels, which has already caused black on black twice. Colour is set
   on the root and inherited, components override locally.

   style.css is already enqueued site wide by ksec_tah_footer_enqueue().
   ========================================================================== */

.ksec-pdp {
	--pp-ink:    #000000;
	--pp-body:   #23262b;
	--pp-muted:  #6b7076;
	--pp-gold:   #c5a572;
	--pp-gold-d: #8a6d3b;
	--pp-line:   #e2e4e7;
	--pp-hair:   #eef0f2;
	--pp-panel:  #f6f7f8;
	color: var(--pp-body);
}

.ksec-pdp > * + * { margin-top: 30px; }

.ksec-pdp__lead {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--pp-ink);
	max-width: 68ch;
}

.ksec-pdp p { line-height: 1.68; max-width: 72ch; }
.ksec-pdp a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ksec-pdp a:hover { color: var(--pp-gold-d); }

.ksec-pdp h2 {
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pp-ink);
	/* margin-top deliberately unset. The shorthand would beat
	   ".ksec-pdp > * + *" on specificity and collapse the section spacing. */
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--pp-ink);
	position: relative;
}

/* Gold tick under the heading rule, the one flash of accent colour. */
.ksec-pdp h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 52px;
	height: 2px;
	background: var(--pp-gold);
}

/* ---- kit panels ---- */

.ksec-pdp-kit {
	border: 1px solid var(--pp-line);
	border-top: 3px solid var(--pp-ink);
	padding: 20px;
	background: #fff;
}

/* Equal height without a percentage height, which resolves against an auto
   height column and lets the tallest panel overflow. */
.ksec-pdp .wp-block-column { display: flex; }
.ksec-pdp .wp-block-column > .ksec-pdp-kit { flex: 1; }

/* Constituent product thumbnail. Sits on its own white tile with contain, so
   the mixed source backgrounds across the catalogue (Titan on white, Skeleton
   on dark slate, Master on warm grey) read as a consistent set of chips, and
   so a light product still shows on the inverted blackout panel. */
.ksec-pdp-kit__thumb {
	margin: -20px -20px 14px;
	background: #fff;
	border-bottom: 1px solid var(--pp-line);
}

.ksec-pdp-kit__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 10px;
	box-sizing: border-box;
}

.ksec-pdp-kit__h a { text-decoration: none; }
.ksec-pdp-kit__h a:hover { color: var(--pp-gold-d); }
.ksec-pdp--blackout .ksec-pdp-kit--hero .ksec-pdp-kit__h a:hover { color: var(--pp-gold); }

@media (max-width: 600px) {
	.ksec-pdp-kit__thumb img { aspect-ratio: 21 / 9; }
}

.ksec-pdp-kit__h {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--pp-ink);
	margin: 0 0 10px;
	line-height: 1.35;
}

/* Construction badge. Handle type separates the ranges, so it leads. Solid
   marks the construction the page is selling, --alt marks the others. */
.ksec-pdp-kit__badge {
	display: inline-block;
	font-size: .625rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: var(--pp-ink);
	color: #fff;
	padding: 5px 10px;
	margin: 0 0 14px;
	line-height: 1.2;
	border-left: 3px solid var(--pp-gold);
}

.ksec-pdp-kit__badge--alt {
	background: transparent;
	color: var(--pp-ink);
	box-shadow: inset 0 0 0 1px var(--pp-line);
	border-left: 3px solid var(--pp-muted);
}

.ksec-pdp-kit__list,
.ksec-pdp ul.ksec-pdp-kit__list {
	margin: 0;
	padding-left: 17px;
	font-size: .875rem;
	line-height: 1.75;
}

.ksec-pdp-kit__list li::marker { color: var(--pp-gold); }

/* ---- specification table ---- */

.ksec-pdp-specs table,
table.ksec-pdp-specs { width: 100%; border-collapse: collapse; font-size: .875rem; }

.ksec-pdp-specs td {
	border: 0;
	border-bottom: 1px solid var(--pp-hair);
	padding: 11px 0;
	vertical-align: top;
}

.ksec-pdp-specs tr:last-child td { border-bottom: 0; }

.ksec-pdp-specs td:first-child {
	width: 34%;
	color: var(--pp-muted);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	padding-right: 18px;
	padding-top: 13px;
}

.ksec-pdp-specs td:last-child { font-weight: 600; color: var(--pp-ink); }

/* ---- caveat callout ---- */

.ksec-pdp-note {
	border-left: 4px solid var(--pp-gold);
	background: var(--pp-panel);
	padding: 14px 18px;
	font-size: .9375rem;
	line-height: 1.6;
	margin: 0;
}

.ksec-pdp-note p { margin: 0; max-width: none; }

/* ---- banners ---- */

.ksec-pdp-banner { margin: 0; }
.ksec-pdp-banner img { display: block; width: 100%; height: auto; }
.ksec-pdp-banner a { display: block; text-decoration: none; }
.ksec-pdp-banner a:hover img { opacity: .93; }

/* ==========================================================================
   Variant: steel. Steel Series listings.
   ========================================================================== */

.ksec-pdp--steel h2 {
	border: 0;
	background: linear-gradient(180deg, #f5f6f7 0%, #e9ebee 100%);
	border-left: 4px solid var(--pp-gold);
	padding: 11px 14px;
	margin-bottom: 18px;
}
.ksec-pdp--steel h2::after { display: none; }

.ksec-pdp--steel .ksec-pdp-kit {
	border: 1px solid #dcdee2;
	border-top: 0;
	background: linear-gradient(180deg, #ffffff 0%, #f4f5f7 55%, #e9ebee 100%);
	box-shadow: inset 0 3px 0 var(--pp-ink), 0 1px 2px rgba(0, 0, 0, .06);
}

.ksec-pdp--steel .ksec-pdp-specs tr:nth-child(odd) td { background: #fafbfc; }
.ksec-pdp--steel .ksec-pdp-specs td:first-child { padding-left: 10px; }
.ksec-pdp--steel .ksec-pdp-specs td:last-child { padding-right: 10px; }
.ksec-pdp--steel .ksec-pdp-note { background: linear-gradient(180deg, #f6f7f9, #eef0f3); }

/* ==========================================================================
   Variant: blackout. Tactical combos.
   ========================================================================== */

.ksec-pdp--blackout h2 {
	border: 0;
	background: var(--pp-ink);
	color: #fff;
	padding: 11px 14px;
	margin-bottom: 18px;
	letter-spacing: .16em;
	border-left: 4px solid var(--pp-gold);
}
.ksec-pdp--blackout h2::after { display: none; }

/* Hero panel is marked explicitly rather than inferred from the badge, so the
   styling does not depend on :has() support or on markup order.

   EVERY rule here is scoped to --blackout. Unscoped, the light text colour also
   applied on the steel variant, where the panel keeps its light gradient
   background because ".ksec-pdp--steel .ksec-pdp-kit" outranks this class. That
   put light grey text on a light grey panel. On steel the hero panel is
   deliberately identical to its siblings and only the solid badge marks it. */
.ksec-pdp--blackout .ksec-pdp-kit--hero {
	background: linear-gradient(165deg, #16191d 0%, #000000 100%);
	border: 1px solid #000;
	border-top: 3px solid var(--pp-gold);
	color: #d9dde1;
}
.ksec-pdp--blackout .ksec-pdp-kit--hero .ksec-pdp-kit__h { color: #fff; }
.ksec-pdp--blackout .ksec-pdp-kit--hero .ksec-pdp-kit__list { color: #c3c8ce; }
.ksec-pdp--blackout .ksec-pdp-kit--hero .ksec-pdp-kit__list li::marker { color: var(--pp-gold); }
.ksec-pdp--blackout .ksec-pdp-kit--hero .ksec-pdp-kit__badge { background: var(--pp-gold); color: #1c1408; border-left: 0; }
.ksec-pdp--blackout .ksec-pdp-kit--hero a { color: #fff; }

.ksec-pdp--blackout .ksec-pdp-note {
	background: var(--pp-ink);
	color: #d9dde1;
	border-left: 4px solid var(--pp-gold);
}


/* ---- OnlySecurity course cards ----------------------------------------- */

/* Three per listing, chosen for relevance to the product rather than a static
   logo. Cards are core columns so they stay editable, styling is here. */
.ksec-pdp-course {
	border: 1px solid var(--pp-line);
	background: #fff;
	display: flex;
	flex-direction: column;
}

.ksec-pdp-course .wp-block-image { margin: 0; }

.ksec-pdp-course img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: var(--pp-panel);
}

.ksec-pdp-course__t {
	margin: 0;
	padding: 11px 13px 13px;
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--pp-ink);
}

.ksec-pdp-course a { text-decoration: none; }
.ksec-pdp-course:hover { border-color: var(--pp-gold); }

.ksec-pdp-courses__note {
	font-size: .8125rem;
	color: var(--pp-muted);
	margin: 12px 0 0;
}

.ksec-pdp--blackout .ksec-pdp-course { border-color: #2a2e33; }

@media (max-width: 600px) {
	.ksec-pdp-course img { aspect-ratio: 21 / 9; }
}

@media (max-width: 768px) {
	.ksec-pdp > * + * { margin-top: 24px; }
	.ksec-pdp-kit { padding: 16px; }
	.ksec-pdp-specs td:first-child { width: 42%; white-space: normal; }
}

/* ==========================================================================
   SHORT DESCRIPTION UPSELL
   .ksec-upsell, rendered by [ksec_upsell], see includes/upsell.php

   Replaces the legacy "Looking for a better deal" banner PNGs, which baked
   their copy into a 600x200 image with an empty alt attribute: unreadable to a
   screen reader, invisible to search, and untranslatable on eu where
   TranslatePress serves /fr/. This carries the same photograph, but the words
   are real text.

   Deliberately NOT namespaced .ksec-pdp-*. It renders inside
   .woocommerce-product-details__short-description, which has no .ksec-pdp root,
   so it cannot inherit the --pp-* tokens and declares its own. Keep it that way:
   scoping it under .ksec-pdp would silently kill it on every listing.

   Sits in the summary column beside the price, which is narrow, so the card is
   horizontal and the type runs smaller than .ksec-pdp-note.
   ========================================================================== */

.ksec-upsell {
	--u-gold:   #c5a572;
	--u-gold-d: #8a6d3b;
	--u-ink:    #000000;
	--u-body:   #23262b;
	--u-muted:  #6b7076;

	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 18px 0 0;
	padding: 14px 16px;
	border-left: 3px solid var(--u-gold);
	background: #f6f7f8;
	color: var(--u-body);
	font-size: .875rem;
	line-height: 1.5;
}

/* White tile with contain, not cover. The catalogue photography sits on three
   different backgrounds and cropping to fill made the cards look like a
   scrapbook. Same reasoning as .ksec-pdp-kit__thumb. */
.ksec-upsell__thumb {
	flex: 0 0 82px;
	display: block;
	width: 82px;
	height: 82px;
	background: #fff;
	border: 1px solid #e6e8ea;
	padding: 5px;
	box-sizing: border-box;
}

.ksec-upsell__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ksec-upsell__body { flex: 1 1 auto; min-width: 0; }

/* Two classes deep so these outrank the ".ksec-upsell p" reset below. */
.ksec-upsell .ksec-upsell__label {
	margin: 0 0 2px;
	color: var(--u-muted);
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ksec-upsell .ksec-upsell__name {
	margin: 0 0 3px;
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.3;
}

.ksec-upsell .ksec-upsell__text { margin: 0; }

.ksec-upsell .ksec-upsell__price {
	margin: 5px 0 0;
	font-weight: 700;
	color: var(--u-ink);
}

/* Woo wraps the pre-sale figure in <del> and appends screen-reader-only spans
   describing both figures. Mute the old price, and leave the .screen-reader-text
   alone so the announcement stays intact. */
.ksec-upsell__price del {
	font-weight: 400;
	color: var(--u-muted);
	margin-right: 5px;
}

.ksec-upsell__price ins { text-decoration: none; }

/* max-width:none because the theme constrains paragraph measure globally. */
.ksec-upsell p { margin: 0; max-width: none; }

.ksec-upsell a {
	color: var(--u-ink);
	text-decoration: underline;
	text-decoration-color: var(--u-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.ksec-upsell a:hover {
	color: var(--u-gold-d);
	text-decoration-color: var(--u-gold-d);
}

.ksec-upsell__thumb,
.ksec-upsell__thumb:hover { text-decoration: none; }

.ksec-upsell--notimg { display: block; }

@media (max-width: 480px) {
	.ksec-upsell { gap: 12px; padding: 12px 14px; margin-top: 16px; }
	.ksec-upsell__thumb { flex-basis: 68px; width: 68px; height: 68px; }
}

/* Brand-motion hero (pro-pick): animated wordmark replaces the visible H1.
   Mount is empty until propick-logo-embed.js paints it; noscript in
   part-hero.php restores the text heading when JS is off. */
.ksec-tah-hero__motion{width:100%;height:250px;margin:2px 0 10px;}
@media (max-width:760px){.ksec-tah-hero__motion{height:180px;}}
.ksec-tah-hero__h--sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;white-space:nowrap;}

/* Brand-motion desktop-only variant (category terms): the mount hides on
   mobile and the h1 is screen-reader-only on desktop but visible on mobile,
   protecting the P1 mobile scroll-to-first-product budget. */
@media (max-width:992px){.ksec-tah-hero__motion--desktop{display:none;}}
@media (min-width:993px){.ksec-tah-hero__h--sr-desktop{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;white-space:nowrap;}}

/* ==========================================================================
   .ksec-pmc, rendered by [ksec_pm_compare], see includes/pm-compare.php

   Platform comparison table for the Proxmark listings. Light content surface,
   so it inherits the description column's type rather than fighting it.

   The table scrolls inside .ksec-pmc__scroll rather than reflowing. A spec
   comparison loses its meaning when the columns stack, because the whole point
   is reading one row across all products, so a horizontal scroll is the honest
   mobile treatment. The page body must never scroll sideways as a result.
   ========================================================================== */

.ksec-pmc {
    margin: 1.6em 0 1.9em;
}

.ksec-pmc__heading {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
}

.ksec-pmc__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.ksec-pmc__table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
}

.ksec-pmc__table th,
.ksec-pmc__table td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ksec-pmc__table tbody tr:last-child th,
.ksec-pmc__table tbody tr:last-child td {
    border-bottom: 0;
}

/* Row-label column: sticky so the spec name stays readable while the product
   columns scroll under it, which is the whole reason the scroll is tolerable. */
.ksec-pmc__table tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 27%;
    background: rgba(0, 0, 0, 0.025);
    font-weight: 600;
    color: rgba(0, 0, 0, 0.72);
}

.ksec-pmc__table thead th {
    background: rgba(0, 0, 0, 0.04);
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.ksec-pmc__table thead th a {
    color: #1a1a1a;
    text-decoration: none;
}

.ksec-pmc__table thead th a:hover {
    text-decoration: underline;
}

.ksec-pmc__price {
    display: block;
    margin-top: 3px;
    font-weight: 400;
    font-size: 13.5px;
    color: rgba(0, 0, 0, 0.6);
}

.ksec-pmc__price del { opacity: 0.6; }
.ksec-pmc__price ins { text-decoration: none; font-weight: 600; }

/* The column for the product being viewed. Gold, matching the accent used by
   .ksec-note and the value banner, so a listing reads as one system. */
.ksec-pmc__table thead th.is-current,
.ksec-pmc__table td.is-current {
    background: rgba(197, 165, 114, 0.09);
}

.ksec-pmc__table thead th.is-current {
    box-shadow: inset 0 3px 0 var(--ksec-gold, #c5a572);
}

.ksec-pmc__badge {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ksec-gold-dk, #8a6d3b);
}
/* === END PROXMARK COMPARISON TABLE === */

/* === CURRENT OFFERS SIDEBAR WIDGET (includes/offers-widget.php) ===
   Self-contained on purpose. The --ksec-* tokens above are scoped to .ksec-tah,
   which also carries width:100vw and negative margins for full-bleed sections.
   A sidebar widget must not use that class or it breaks out of its column, so
   the few tokens this needs are redeclared locally and every var() carries a
   literal fallback. That keeps the widget correct in any sidebar, on any page,
   whether or not a .ksec-tah section happens to be present. */
.ksec-tah-offers {
	--ksec-o-ink: var(--ksec-ink, #000);
	--ksec-o-ink-soft: var(--ksec-ink-soft, #262626);
	--ksec-o-line: var(--ksec-line, #ececec);
	--ksec-o-accent: var(--ksec-cyan-dk, #02738a);
	--ksec-o-red: var(--ksec-red, #e21e1d);
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.ksec-tah-offers__item { margin: 0; padding: 0; border-bottom: 1px solid var(--ksec-o-line); }
.ksec-tah-offers__item:last-child { border-bottom: 0; }
.ksec-tah-offers__link {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 0;
	text-decoration: none;
	color: var(--ksec-o-ink);
	/* 44px minimum touch target, per the estate's own UI rule. */
	min-height: 44px;
}
.ksec-tah-offers__link:hover .ksec-tah-offers__name,
.ksec-tah-offers__link:focus-visible .ksec-tah-offers__name { color: var(--ksec-o-accent); text-decoration: underline; }
.ksec-tah-offers__thumb { position: relative; flex: 0 0 56px; width: 56px; line-height: 0; }
.ksec-tah-offers__thumb img,
img.ksec-tah-offers__img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 3px;
	border: 1px solid var(--ksec-o-line);
	display: block;
	margin: 0;
}
.ksec-tah-offers__badge {
	position: absolute;
	top: -6px;
	left: -6px;
	background: var(--ksec-o-red);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 3px 4px;
	border-radius: 2px;
	letter-spacing: .01em;
	white-space: nowrap;
}
.ksec-tah-offers__body { flex: 1 1 auto; min-width: 0; }
.ksec-tah-offers__name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 4px;
	/* Two lines then ellipsis: product names on this store run long and a
	   sidebar column cannot take four lines per item. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ksec-tah-offers__price { display: block; font-size: 13px; line-height: 1.3; color: var(--ksec-o-ink-soft); }
.ksec-tah-offers__price del { opacity: .65; font-weight: 400; margin-right: 4px; }
.ksec-tah-offers__price ins { text-decoration: none; font-weight: 700; color: var(--ksec-o-ink); }
.ksec-tah-offers__price .woocommerce-Price-currencySymbol { font-weight: inherit; }
.ksec-tah-offers__more { margin: 12px 0 0; font-size: 13px; }
.ksec-tah-offers__more a { color: var(--ksec-o-accent); font-weight: 600; text-decoration: none; }
.ksec-tah-offers__more a:hover, .ksec-tah-offers__more a:focus-visible { text-decoration: underline; }
/* === END CURRENT OFFERS SIDEBAR WIDGET === */

/* --------------------------------------------------------------------------
   Pro Pick profile guide (includes/pick-guide.php)
   -------------------------------------------------------------------------- */
/* Local tokens: --ksec-ink and friends are only defined under .ksec-tah, and this strip sits outside it. */
.ksec-pick-guide, .ksec-pick-chips { --ksec-ink: #000; --ksec-ink-soft: #262626; --ksec-paper: #fff; }
.ksec-pick-guide { border-left: 4px solid var(--ksec-ink); padding: 8px 12px; margin: 12px 0; background: var(--ksec-paper); }
.ksec-pick-guide p { margin: 0; }
.ksec-pick-guide__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ksec-pick-guide__line { font-size: 14px; color: var(--ksec-ink-soft); }
.ksec-pick-pins { display: inline-flex; gap: 3px; }
.ksec-pick-pins i { width: 7px; height: 16px; border: 1px solid var(--ksec-ink); border-radius: 2px; display: inline-block; }
.ksec-pick-pins i.is-on { background: var(--ksec-ink); }
.ksec-pick-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.ksec-pick-chip { border: 1px solid var(--ksec-ink); border-radius: 10px; font-size: 12px; line-height: 18px; padding: 0 7px; color: var(--ksec-ink); }

/* Pro Pick "Help me pick" chooser (includes/pick-chooser.php, assets/pick-chooser.js). Black and gold, tokens local because it sits outside .ksec-tah. */
.ksec-pc { --pc-gold: #c5a572; --pc-ink: #111; --pc-tile: #1b1b1b; --pc-line: #3a3a3a; margin: 0 0 20px; border-radius: 10px; overflow: hidden; color: #f2f2f2; background: radial-gradient(120% 90% at 85% -10%, #3a2f1d 0%, #151515 55%, #0b0b0b 100%); }
.ksec-pc__panel { padding: 4px 20px 22px; }
.ksec-pc h3 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.ksec-pc h3 span { color: var(--pc-gold); }
.ksec-pc__sub { margin: 0 0 14px; font-size: 14px; opacity: .8; }
.ksec-pc__bar { display: flex; gap: 6px; margin: 0 0 16px; }
.ksec-pc__bar i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background .4s; }
.ksec-pc__bar i.on { background: var(--pc-gold); }
.ksec-pc__q { margin: 14px 0; }
.ksec-pc__q > b { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--pc-gold); }
.ksec-pc__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.ksec-pc__tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 8px; border-radius: 8px; border: 1px solid var(--pc-line); background: var(--pc-tile); color: inherit; font: inherit; cursor: pointer; transition: transform .18s, border-color .18s, background .18s, box-shadow .18s; }
.ksec-pc__tile:hover { transform: translateY(-2px); border-color: var(--pc-gold); }
.ksec-pc__tile:focus-visible, .ksec-pc__toggle:focus-visible { outline: 3px solid var(--pc-gold); outline-offset: 2px; }
.ksec-pc__tile.on { background: var(--pc-gold); color: var(--pc-ink); border-color: var(--pc-gold); box-shadow: 0 6px 18px rgba(197, 165, 114, .35); }
.ksec-pc__tile small { font-size: 12px; opacity: .75; }
.ksec-pc__ico svg { width: 34px; height: 34px; display: block; }
.ksec-pc__pins { display: inline-flex; gap: 4px; height: 34px; align-items: flex-end; }
.ksec-pc__pins i { width: 8px; border: 2px solid currentColor; border-radius: 3px; display: inline-block; }
.ksec-pc__pins i:nth-child(1) { height: 14px; }
.ksec-pc__pins i:nth-child(2) { height: 22px; }
.ksec-pc__pins i:nth-child(3) { height: 32px; }
.ksec-pc__pins i.on { background: currentColor; }
.ksec-pc__live:empty { display: none; }
.ksec-pc__res { margin-top: 18px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 10px; background: #161616; border: 1px solid var(--pc-gold); animation: ksec-pc-pop .45s cubic-bezier(.2, .9, .3, 1.2); }
.ksec-pc__res.solo, .ksec-pc__res--add { grid-template-columns: 1fr; }
.ksec-pc__res img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; background: #000; }
.ksec-pc__tag { display: inline-block; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pc-gold); margin-bottom: 4px; }
.ksec-pc__res h4 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.ksec-pc__res p { margin: 0 0 8px; font-size: 14px; }
.ksec-pc__lead { margin-bottom: 2px !important; opacity: .8; }
.ksec-pc__singles { margin: 0 0 10px; padding-left: 18px; font-size: 14px; }
.ksec-pc a:not(.ksec-pc__cta) { color: var(--pc-gold); text-decoration: underline; }
.ksec-pc__cta { display: inline-block; padding: 9px 18px; border-radius: 6px; background: var(--pc-gold); color: var(--pc-ink) !important; font-weight: 700; text-decoration: none; }
.ksec-pc__cta--sm { padding: 6px 12px; font-size: 14px; }
.ksec-pc__alt { margin-top: 10px; font-size: 13px; opacity: .9; }
.ksec-pc__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ksec-pc__card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 8px; border: 1px solid var(--pc-line); background: var(--pc-tile); }
.ksec-pc__card img { width: 100%; height: auto; max-width: 110px; border-radius: 6px; background: #000; }
.ksec-pc__card b { font-size: 14px; }
@keyframes ksec-pc-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .ksec-pc__res { grid-template-columns: 1fr; } .ksec-pc__res img { width: 100%; height: 170px; } }
@media (prefers-reduced-motion: reduce) { .ksec-pc *, .ksec-pc { animation: none !important; transition: none !important; } }

/* Pro Pick animated profile explorer (includes/pick-explorer.php, assets/pick-explorer.js). Black and gold, tokens local. */
.ksec-px { --px-gold: #c5a572; margin: 0 0 20px; border-radius: 10px; overflow: hidden; color: #f2f2f2; padding: 18px 18px 20px; background: radial-gradient(120% 90% at 85% -10%, #3a2f1d 0%, #151515 55%, #0b0b0b 100%); }
.ksec-px--product { margin-top: 24px; }
.ksec-px h3 { margin: 0 0 2px; font-size: 22px; color: #fff; }
.ksec-px h3 span { color: var(--px-gold); }
.ksec-px__sub { margin: 0 0 12px; font-size: 14px; opacity: .8; }
.ksec-px__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ksec-px__tab { border: 1px solid #3a3a3a; background: #1b1b1b; color: inherit; border-radius: 16px; padding: 6px 14px; font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.ksec-px__tab:hover { border-color: var(--px-gold); }
.ksec-px__tab:focus-visible, .ksec-px__ctl button:focus-visible { outline: 3px solid var(--px-gold); outline-offset: 2px; }
.ksec-px__tab[aria-pressed="true"] { background: var(--px-gold); color: #111; border-color: var(--px-gold); font-weight: 700; }
.ksec-px__lock { width: 100%; height: auto; aspect-ratio: 600 / 260; display: block; border-radius: 8px; background: #0e0e0e; }
.ksec-px__info { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; margin-top: 12px; }
.ksec-px__info p { margin: 0; font-size: 14px; }
.ksec-px__badge { font-size: 12px !important; letter-spacing: 1.4px; text-transform: uppercase; color: var(--px-gold); }
.ksec-px__pins { display: inline-flex; gap: 4px; height: 28px; align-items: flex-end; vertical-align: middle; margin-right: 6px; }
.ksec-px__pins i { width: 7px; border: 2px solid currentColor; border-radius: 3px; display: inline-block; }
.ksec-px__pins i:nth-child(1) { height: 12px; }
.ksec-px__pins i:nth-child(2) { height: 19px; }
.ksec-px__pins i:nth-child(3) { height: 27px; }
.ksec-px__pins i.on { background: currentColor; }
.ksec-px__role b { color: var(--px-gold); }
.ksec-px__cta { display: inline-block; padding: 9px 16px; border-radius: 6px; background: var(--px-gold); color: #111 !important; font-weight: 700; text-decoration: none; }
.ksec-px__ctl { display: flex; gap: 8px; margin-top: 10px; font-size: 13px; opacity: .85; align-items: center; }
.ksec-px__ctl button { border: 1px solid #3a3a3a; background: #1b1b1b; color: inherit; border-radius: 6px; padding: 4px 10px; font: inherit; cursor: pointer; }
@media (max-width: 520px) { .ksec-px__info { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ksec-px__ctl { display: none; } }
.ksec-px:not(.ksec-px--js) .ksec-px__ctl, .ksec-px:not(.ksec-px--js) .ksec-px__tabs { visibility: hidden; }

/* Pro Pick header: the "Help me pick" chooser sits to the right of the intro text (includes/pick-chooser.php, ksec_tah_hero_right). */
.ksec-tah-hero__grid.has-right { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ksec-tah-hero__right .ksec-pc { margin: 0; }
@media (max-width: 980px) { .ksec-tah-hero__grid.has-right { grid-template-columns: 1fr; gap: 24px; } }

/* Chooser variants: the header one shows its panel on wide screens and a Help me pick button on narrow ones; the page one (shortcode) is always open. */
.ksec-pc__toggle { display: none; }
.ksec-pc--page { margin: 24px 0; }
@media (max-width: 980px) {
	.ksec-pc--hero.ksec-pc--js .ksec-pc__toggle { display: block; width: 100%; text-align: left; padding: 14px 20px; background: none; border: 0; color: var(--pc-gold); font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; }
	.ksec-pc--hero.ksec-pc--js .ksec-pc__toggle::after { content: "+"; float: right; }
	.ksec-pc--hero.ksec-pc--js.ksec-pc--open .ksec-pc__toggle::after { content: "\2212"; }
	.ksec-pc--hero.ksec-pc--js:not(.ksec-pc--open) .ksec-pc__body { display: none; }
	.ksec-pc--hero.ksec-pc--js .ksec-pc__panel h3 { display: none; }
}


/* ============================================================
   ARCHIVE HERO: featured picks, badges and the dark Popular band
   (Hak5 layout, operator approved 2026-10-26).
   ============================================================ */

/* Phones: drop the three badges from the hero. */
@media (max-width: 782px) {
	/* The export controls notice stays on restricted brands; the two generic badges go. */
	.ksec-tah-hero__pills .ksec-tah-pill:not(.ksec-tah-pill--export) { display: none; }
	/* Two featured picks side by side keep the hero short (the two column grid is
	   the existing ul.ksec-tah-featured-card--duo rule; only the width cap lifts). */
	.ksec-tah-hero__featured--duo { max-width: 100%; }
}

/* Popular right now band: same background as the hero, sits under the trust
   stats. The theme's own cards stay white on it. */
.ksec-tah-row--dark {
	background:
		radial-gradient(ellipse 70% 50% at 22% 32%, rgba(255,255,255,.06), transparent 70%),
		radial-gradient(ellipse 55% 45% at 82% 78%, rgba(var(--ksec-accent-rgb), .08), transparent 70%),
		linear-gradient(135deg, #060708 0%, #0e1116 55%, #060708 100%);
	color: var(--ksec-paper);
	padding: clamp(22px,3vw,34px) 0;
}
.ksec-tah-row--dark .ksec-tah-row__h { color: #fff; }
.ksec-tah-row--dark .ksec-tah-row__eyebrow { color: var(--ksec-cyan); }
.ksec-tah-row--dark .ksec-tah-picks-rail__nav button { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.ksec-tah-row--dark ul.products li.product {
	background: #fff;
	color: #0f1419;
	border-radius: 12px;
	overflow: hidden;
	padding-bottom: 0 !important; /* beats the theme's 5px card padding that left a white strip under the Save bar */
}
/* Add to basket and the Save bar run edge to edge on the card, in the same gold as the
   featured card's button (dark text), so neither sits as an inset black block merging
   into the dark band. */
.ksec-tah-row--dark ul.products li.product a.button {
	left: 0; right: 0; width: 100%; max-width: none;
	background: var(--ksec-featured-cta-bg, #c5a572); color: #1a1a1a; border-radius: 0;
}
/* The card has 15px side padding from the theme (ul.products li.product), which left the photo and the stock bar
   inset in the white card. Pull the image wrapper back out by the same amount so they run edge to edge. */
/* Only above 992px: at 992px and below the theme drops the card padding to 0, so there is nothing to pull out. */
@media (min-width: 993px) {
	.ksec-tah-row--dark ul.products li.product .woocommerce-image__wrapper { margin-left: -15px !important; margin-right: -15px !important; width: auto !important; } /* the theme pins the wrapper's width and margin, so a plain rule did not take */
}
.ksec-tah-row--dark ul.products li.product a.button:hover,
.ksec-tah-row--dark ul.products li.product a.button:focus-visible { filter: brightness(1.15); }
.ksec-tah-row--dark ul.products li.product .ksec-loop-saving-bar {
	width: calc(100% + 30px); max-width: none; margin-left: -15px; margin-right: -15px; border-radius: 0;
}
.ksec-tah-row--dark ul.products li.product .woocommerce-loop-product__title,
.ksec-tah-row--dark ul.products li.product .price,
.ksec-tah-row--dark ul.products li.product .price .amount { color: #0f1419; }
.ksec-tah-price-from { font-weight: 700; }
.ksec-tah-price-from__label { font-weight: 500; font-size: .85em; margin-right: .25em; }


/* ============================================================
   ARCHIVE TILES AND FILTER HEADING (operator QA of /brand/pro-pick/, 2026-10-26)
   ============================================================ */

/* Browse the range tiles: a real picture on desktop (the 48px icon was too small to read),
   a 64px thumbnail in the stacked cards on phones. */
.ksec-tah-picks--has-nav .ksec-tah-picks-nav__thumb { width: 64px; height: 64px; flex-basis: 64px; background: #fff; padding: 0; }
.ksec-tah-picks--has-nav .ksec-tah-picks-nav__thumb img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 783px) {
	.ksec-tah-picks--has-nav .ksec-tah-picks-nav { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
	/* Same look as the Shop by Collection cards on category archives: the picture
	   centred on white with no dark frame, the name and count centred under it. */
	.ksec-tah-picks--has-nav .ksec-tah-picks-nav__card { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 14px 12px 16px; }
	.ksec-tah-picks--has-nav .ksec-tah-picks-nav__thumb { width: 100%; height: 130px; flex: none; border-radius: 8px; }
	.ksec-tah-picks--has-nav .ksec-tah-picks-nav__text { flex: none; align-items: center; }
	.ksec-tah-picks--has-nav .ksec-tah-picks-nav__arrow { display: none; }
}

/* "Filter All Products" (the filter plugin's heading): the same type as the section
   headings, with room above it where it used to sit hard against the band. */
body.ksec-tah-active .wpf-search-container { padding-top: clamp(28px, 4vw, 44px); }
body.ksec-tah-active .wpf-search-container > h2 {
	font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; line-height: 1.15;
	letter-spacing: -.01em; color: #222; margin: 0 0 14px;
}
