/*
Theme Name:   TORVHALL Child
Theme URI:    https://torvhall.example/
Description:  TORVHALL wholesale visual system. Navy / industrial-orange B2B catalogue built on Storefront. Self-hosted Barlow Condensed (headings) + Inter (body), two-tier header, square 1px-border cards, MOQ and bulk-quote language throughout.
Author:       TORVHALL
Template:     storefront
Version:      1.0.1
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  torvhall-child
Tags:         wholesale, b2b, woocommerce
*/

/* =============================================================================
   0.  SELF-HOSTED FONTS  (woff2, no CDN)
   Paths are relative to this stylesheet: /wp-content/themes/torvhall-child/style.css
   ============================================================================= */

/* Barlow Condensed — headings. Static instances: 600 SemiBold, 700 Bold. */
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/barlow-condensed-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/barlow-condensed-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter — body copy. Shipped by Google Fonts as a VARIABLE font (wght 100..900),
   so one file per subset serves both 400 and 600. */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('assets/fonts/inter-variable-latin-ext.woff2') format('woff2-variations'),
	     url('assets/fonts/inter-variable-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('assets/fonts/inter-variable-latin.woff2') format('woff2-variations'),
	     url('assets/fonts/inter-variable-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================================
   1.  DESIGN TOKENS
   ============================================================================= */

:root {
	/* --- the mandated brand quartet ------------------------------------- */
	--brand-primary: #12294A;
	--brand-accent:  #E4701E;
	--brand-bg:      #F2F4F7;
	--font-head: "Barlow Condensed", sans-serif;
	--font-body: "Inter", sans-serif;

	/* --- derived navy ramp ---------------------------------------------- */
	--navy-900: #0A182B;
	--navy-800: #0D1F38;
	--navy-700: #12294A;   /* == --brand-primary */
	--navy-600: #1B3A66;
	--navy-500: #2B5183;
	--navy-300: #7B90AF;
	--navy-100: #DDE3EC;

	/* --- derived orange ramp -------------------------------------------- */
	--orange-700: #B8540F;
	--orange-600: #CE6215;
	--orange-500: #E4701E;  /* == --brand-accent */
	--orange-300: #F09553;
	--orange-100: #FBE7D7;

	/* --- neutrals -------------------------------------------------------- */
	--ink:        #111827;
	--ink-soft:   #39414F;
	--muted:      #5B6473;
	--muted-2:    #8A93A2;
	--line:       #D8DDE5;
	--line-soft:  #E7EBF1;
	--line-strong:#B9C1CD;
	--surface:    #FFFFFF;
	--surface-alt: #F2F4F7; /* == --brand-bg */

	/* --- shape: everything square --------------------------------------- */
	--radius: 0;
	--bw: 1px;
	--shadow: none;

	/* --- rhythm ---------------------------------------------------------- */
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 24px;
	--sp-6: 32px;
	--sp-7: 48px;
	--sp-8: 64px;

	--container: 1360px;
	--topbar-bg: var(--navy-700);
	--header-h: 78px;
	--ease: cubic-bezier(.2, .6, .3, 1);
}

/* =============================================================================
   2.  BASE / TYPOGRAPHY
   ============================================================================= */

html { -webkit-text-size-adjust: 100%; }

body,
button, input, select, textarea,
.woocommerce-Price-amount,
.widget, .widgettitle {
	font-family: var(--font-body);
}

body {
	background-color: var(--brand-bg);
	color: var(--ink-soft);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.site-title, .widget-title,
.woocommerce-loop-product__title,
.woocommerce-tabs h2,
.related.products > h2,
.entry-title, .page-title {
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--navy-700);
	letter-spacing: .005em;
	line-height: 1.12;
	text-transform: none;
}

h1, .entry-title { font-size: clamp(30px, 3.4vw, 44px); }
h2 { font-size: clamp(25px, 2.6vw, 34px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin: 0 0 var(--sp-4); }

a { color: var(--navy-700); text-decoration: none; transition: color .15s var(--ease); }
a:hover, a:focus { color: var(--brand-accent); }

strong, b { color: var(--ink); font-weight: 600; }

hr { border: 0; border-top: var(--bw) solid var(--line); margin: var(--sp-6) 0; }

::selection { background: var(--brand-accent); color: #fff; }

/* Focus ring — visible, square, on-brand. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--brand-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
	position: absolute !important; word-wrap: normal !important;
}

/* =============================================================================
   3.  LAYOUT / CONTAINER
   ============================================================================= */

#page .col-full {
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sp-5);
	padding-right: var(--sp-5);
	box-sizing: border-box;
}

#content.site-content { background: var(--brand-bg); }

.site-content .col-full { background: transparent; }

#content.site-content { padding-top: var(--sp-6); padding-bottom: var(--sp-8); }

/* Home / archive: give the main column room, keep the wholesale catalogue wide. */
.storefront-full-width-content .site-main { width: 100%; float: none; }

/* =============================================================================
   4.  BUTTONS
   ============================================================================= */

a.button,
button.button,
input[type="submit"],
input[type="button"],
.wc-block-components-button,
.woocommerce-Button,
#respond input#submit,
button:not(.menu-toggle):not(.tv-burger):not(.quantity__button) {
	border-radius: var(--radius) !important;
	box-shadow: var(--shadow) !important;
}

a.button,
button.button,
input[type="submit"],
input[type="button"],
.woocommerce-Button,
#respond input#submit,
a.added_to_cart,
.tv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	background: var(--navy-700);
	color: #fff;
	border: var(--bw) solid var(--navy-700);
	border-radius: var(--radius);
	padding: 12px 20px;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.1;
	cursor: pointer;
	transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
	text-decoration: none;
}

a.button:hover,
a.button:focus,
button.button:hover,
button.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus,
.woocommerce-Button:hover,
.woocommerce-Button:focus,
a.added_to_cart:hover,
.tv-btn:hover,
.tv-btn:focus {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff;
}

/* Accent variant */
.tv-btn--accent {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff;
}
.tv-btn--accent:hover,
.tv-btn--accent:focus {
	background: var(--navy-700);
	border-color: var(--navy-700);
	color: #fff;
}

/* Outline / ghost variant */
.tv-btn--ghost,
a.button.tv-btn--ghost {
	background: transparent;
	color: var(--navy-700);
	border-color: var(--line-strong);
}
.tv-btn--ghost:hover,
.tv-btn--ghost:focus,
a.button.tv-btn--ghost:hover {
	background: var(--navy-700);
	border-color: var(--navy-700);
	color: #fff;
}

.tv-btn--block { width: 100%; }
.tv-btn--sm { padding: 9px 14px; font-size: 14px; }

/* =============================================================================
   5.  FORMS
   ============================================================================= */

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: var(--radius) !important;
	box-shadow: var(--shadow) !important;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	padding: 11px 14px;
	transition: border-color .15s var(--ease);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus,
input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus,
input[type="tel"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
	border-color: var(--navy-700);
	box-shadow: var(--shadow) !important;
}

/* =============================================================================
   6.  HEADER — TIER 1: ANNOUNCEMENT / CONTACT TOP BAR
   ============================================================================= */

.tv-topbar {
	background: var(--topbar-bg);
	color: #C9D3E2;
	font-size: 13px;
	line-height: 1.3;
	border-bottom: var(--bw) solid rgba(255, 255, 255, .08);
}

.tv-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	min-height: 40px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.tv-topbar__notice {
	margin: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	color: #DCE3EE;
}

.tv-topbar__notice strong {
	color: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.tv-topbar__pill {
	display: inline-block;
	background: var(--brand-accent);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .09em;
	text-transform: uppercase;
	padding: 3px 8px;
	margin-right: var(--sp-2);
	white-space: nowrap;
}

.tv-topbar__meta {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tv-topbar__meta li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }

.tv-topbar__meta a { color: #C9D3E2; }
.tv-topbar__meta a:hover, .tv-topbar__meta a:focus { color: var(--orange-300); }

.tv-topbar__meta .tv-dot {
	width: 4px; height: 4px; background: var(--brand-accent); display: inline-block;
}

/* =============================================================================
   7.  HEADER — TIER 2: LOGO / MEGA MENU / ACTIONS
   ============================================================================= */

.site-header {
	background: var(--surface) !important;
	color: var(--ink) !important;
	border-bottom: var(--bw) solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 0 !important;
	margin-bottom: 0 !important;
	position: relative;
	z-index: 999;
}

/* Sticky main row (top bar scrolls away first). */
.tv-header-sticky .site-header { position: sticky; top: 0; }

.site-header > .col-full {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	min-height: var(--header-h);
	padding-top: var(--sp-3);
	padding-bottom: var(--sp-3);
	flex-wrap: nowrap;
}

/* --- branding (left) --- */
/* Storefront sets `.site-branding { width: 100% }`; as a flex item with
   `flex-basis: auto` that resolves to the full row and swallows the nav, so the
   width has to be neutralised explicitly. */
.site-header .site-branding {
	order: 1;
	flex: 0 0 auto;
	width: auto !important;
	max-width: none;
	margin: 0;
	line-height: 1;
}

.site-header .site-branding img {
	max-height: 46px;
	width: auto;
	display: block;
}

.site-title {
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
	margin: 0;
}

.site-title a {
	color: var(--navy-700);
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
}

.site-title a::before {
	content: "";
	width: 10px;
	height: 26px;
	background: var(--brand-accent);
	display: inline-block;
	flex: 0 0 auto;
}

.site-title a:hover, .site-title a:focus { color: var(--brand-accent); }

.site-description {
	display: block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin: 7px 0 0 19px;
	line-height: 1;
}

/* --- actions (right) --- */
.tv-header-actions {
	order: 3;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin-left: auto;
}

.tv-header-quote {
	flex: 0 0 auto;
}

/* Search */
/* Storefront's woocommerce.css sets `.site-search { display: none }` and only
   reveals it at >=768px, moving search into its handheld footer bar instead.
   This theme keeps one search in the masthead at every width.
   `.woocommerce-active .site-header .site-search` (0,3,0) also forces a 21.739%
   width, which outranks a (0,2,0) selector — hence the explicit `!important`. */
.site-header .site-search {
	flex: 0 0 auto;
	margin: 0;
	display: block;
	clear: none;
	float: none;
	width: auto !important;
}
.site-header .widget_product_search { margin: 0; }

.site-header .widget_product_search form,
.tv-header-actions .widget_product_search form {
	display: flex;
	align-items: stretch;
	margin: 0;
	position: relative;
}

.site-header .widget_product_search input[type="search"],
.site-header .widget_product_search #woocommerce-product-search-field-0,
.site-header .widget_product_search input.search-field,
.tv-header-actions input[type="search"] {
	width: 160px;
	height: 42px;
	border: var(--bw) solid var(--line);
	border-right: 0;
	background: var(--surface-alt);
	border-radius: var(--radius) !important;
	padding: 0 12px;
	font-size: 14px;
	transition: background-color .15s var(--ease), border-color .15s var(--ease), width .2s var(--ease);
}

.site-header .widget_product_search input[type="search"]:focus,
.tv-header-actions input[type="search"]:focus {
	background: #fff;
	border-color: var(--navy-700);
	width: 190px;
}

.site-header .widget_product_search button,
.tv-header-actions .widget_product_search button {
	height: 42px;
	width: 46px;
	padding: 0;
	border: var(--bw) solid var(--navy-700);
	background: var(--navy-700);
	color: #fff;
	border-radius: var(--radius) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .15s var(--ease), border-color .15s var(--ease);
}

.site-header .widget_product_search button:hover,
.tv-header-actions .widget_product_search button:hover {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
}

/* Submit button — icon only.
   The widget's <button> carries the visible label "Search"; font-size:0 removes
   it and an inline SVG (no icon-font dependency) supplies the magnifier.
   The `:not(.wp-block-search)` wrapper is required to outrank Storefront's
   `.widget_product_search form:not(.wp-block-search) button[type=submit]`
   screen-reader rule, which otherwise clips this button to 1x1px. */
.site-header .widget_product_search form:not(.wp-block-search) button[type="submit"],
.tv-header-actions .widget_product_search form:not(.wp-block-search) button[type="submit"] {
	position: static;
	flex: 0 0 46px;
	align-self: stretch;
	height: auto;
	min-height: 42px;
	width: 46px;
	padding: 0;
	display: inline-block;
	clip: auto;
	clip-path: none;
	overflow: visible;
	margin: 0;
	word-wrap: normal;
	font-size: 0;
	line-height: 0;
	color: transparent;
	background-color: var(--navy-700);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='square'%3E%3Ccircle cx='10.4' cy='10.4' r='6.4'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 17px 17px;
	border: var(--bw) solid var(--navy-700);
	border-left: 0;
	border-radius: var(--radius) !important;
	cursor: pointer;
	transition: background-color .15s var(--ease), border-color .15s var(--ease);
}

.site-header .widget_product_search form:not(.wp-block-search) button[type="submit"]:hover,
.site-header .widget_product_search form:not(.wp-block-search) button[type="submit"]:focus,
.tv-header-actions .widget_product_search form:not(.wp-block-search) button[type="submit"]:hover,
.tv-header-actions .widget_product_search form:not(.wp-block-search) button[type="submit"]:focus {
	background-color: var(--brand-accent);
	border-color: var(--brand-accent);
}

/* Cart */
.site-header .site-header-cart {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative !important;
	float: none !important;
}

.site-header .site-header-cart > li { margin: 0; }

.site-header .site-header-cart .cart-contents {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 42px;
	padding: 0 13px;
	border: var(--bw) solid var(--line);
	background: var(--surface);
	color: var(--navy-700);
	border-radius: var(--radius);
	position: relative;
	transition: border-color .15s var(--ease), color .15s var(--ease);
}

.site-header .site-header-cart .cart-contents:hover,
.site-header .site-header-cart .cart-contents:focus {
	border-color: var(--navy-700);
	color: var(--brand-accent);
}

/* Shopping-bag mark, inline SVG so no icon font has to be present. */
.site-header .site-header-cart .cart-contents::before {
	content: "";
	order: 1;
	flex: 0 0 auto;
	width: 17px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26' fill='none' stroke='%2312294A' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M3 8h18l-1.6 15H4.6L3 8z'/%3E%3Cpath d='M8.5 8V6.2A3.5 3.5 0 0 1 12 2.7a3.5 3.5 0 0 1 3.5 3.5V8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.site-header .site-header-cart .cart-contents:hover::before,
.site-header .site-header-cart .cart-contents:focus::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26' fill='none' stroke='%23E4701E' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M3 8h18l-1.6 15H4.6L3 8z'/%3E%3Cpath d='M8.5 8V6.2A3.5 3.5 0 0 1 12 2.7a3.5 3.5 0 0 1 3.5 3.5V8'/%3E%3C/svg%3E");
}

.site-header .cart-contents .count {
	order: 2;
	background: var(--brand-accent);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 12px;
	line-height: 1;
	padding: 3px 6px;
	border-radius: var(--radius);
	min-width: 20px;
	text-align: center;
	white-space: nowrap;
}

.site-header .cart-contents .amount {
	order: 3;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: inherit;
	white-space: nowrap;
}

/* Mini-cart dropdown (the second <li> Storefront renders). */
.site-header .site-header-cart > li:nth-child(2) {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 999;
	display: none;
	width: 320px;
	padding-top: var(--sp-3);
}

.site-header .site-header-cart:hover > li:nth-child(2),
.site-header .site-header-cart:focus-within > li:nth-child(2) {
	display: block;
}

/* Skip links */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
}
.skip-link:focus {
	left: var(--sp-4);
	top: var(--sp-2);
	background: var(--brand-accent);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--radius);
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* =============================================================================
   8.  MEGA MENU
   ============================================================================= */

.tv-mainnav {
	order: 2;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	position: static;
}

.tv-burger {
	display: none;
	align-items: center;
	gap: 9px;
	background: var(--navy-700);
	color: #fff;
	border: var(--bw) solid var(--navy-700);
	border-radius: var(--radius);
	padding: 10px 14px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}

.tv-burger__bars {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
}
.tv-burger__bars::before,
.tv-burger__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
}
.tv-burger__bars::before { top: -6px; }
.tv-burger__bars::after { top: 6px; }

.tv-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.tv-menu > li { position: static; margin: 0; }

.tv-menu__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 12px;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--navy-700);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color .15s var(--ease), border-color .15s var(--ease);
	white-space: nowrap;
}

.tv-menu__link:hover,
.tv-menu__link:focus,
.tv-menu > li.is-open > .tv-menu__link {
	color: var(--brand-accent);
	border-bottom-color: var(--brand-accent);
}

.tv-menu__link .tv-caret {
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .15s var(--ease);
	flex: 0 0 auto;
}

.tv-menu > li.is-open > .tv-menu__link .tv-caret,
.tv-menu > li:hover > .tv-menu__link .tv-caret { transform: rotate(-135deg) translateY(-2px); }

.tv-menu__link--accent { color: var(--brand-accent); }

/* The panel ---------------------------------------------------------------- */
.tv-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--surface);
	border-top: var(--bw) solid var(--line);
	border-bottom: var(--bw) solid var(--navy-700);
	box-shadow: var(--shadow);
	padding: var(--sp-6) 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
	z-index: 900;
}

.tv-menu > li:hover > .tv-mega,
.tv-menu > li:focus-within > .tv-mega,
.tv-menu > li.is-open > .tv-mega {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tv-mega__inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) 300px;
	gap: var(--sp-6);
	align-items: start;
}

.tv-mega__title {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin: 0 0 var(--sp-3);
	padding-bottom: var(--sp-2);
	border-bottom: var(--bw) solid var(--line);
}

.tv-mega__list { list-style: none; margin: 0; padding: 0; }

.tv-mega__list li { margin: 0 0 2px; }

.tv-mega__list a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: 7px 0;
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.35;
	border-bottom: var(--bw) solid transparent;
	transition: color .12s var(--ease), border-color .12s var(--ease);
}

.tv-mega__list a:hover,
.tv-mega__list a:focus {
	color: var(--brand-accent);
	border-bottom-color: var(--orange-100);
}

.tv-mega__list .tv-mega__price {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	white-space: nowrap;
}

.tv-mega__list a:hover .tv-mega__price { color: var(--brand-accent); }

.tv-mega__all {
	display: inline-block;
	margin-top: var(--sp-3);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--navy-700);
	border-bottom: 2px solid var(--brand-accent);
	padding-bottom: 2px;
}
.tv-mega__all:hover, .tv-mega__all:focus { color: var(--brand-accent); }

/* Promo block inside the panel */
.tv-mega__promo {
	background: var(--navy-700);
	color: #D6DEEA;
	padding: var(--sp-5);
	border-radius: var(--radius);
}

.tv-mega__promo-kicker {
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--orange-300);
	margin: 0 0 var(--sp-2);
	display: block;
}

.tv-mega__promo h3 {
	color: #fff;
	font-size: 22px;
	margin: 0 0 var(--sp-2);
	line-height: 1.15;
}

.tv-mega__promo p {
	color: #B7C3D6;
	font-size: 14px;
	margin: 0 0 var(--sp-4);
	line-height: 1.55;
}

.tv-mega__promo .tv-btn { width: 100%; }

/* Mobile-only wrappers hidden on desktop */
.tv-drawer-fallback { display: none; }

/* Storefront's own nav is unused, but keep it from showing if a menu is assigned. */
.site-header .storefront-primary-navigation,
.site-header .main-navigation { display: none !important; }

/* =============================================================================
   9.  MOBILE DRAWER
   ============================================================================= */

.tv-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(380px, 88vw);
	background: var(--surface);
	border-left: var(--bw) solid var(--line);
	transform: translateX(100%);
	transition: transform .22s var(--ease);
	z-index: 100000;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	visibility: hidden;
}

.tv-drawer.is-open { transform: translateX(0); visibility: visible; }

.tv-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--sp-4) var(--sp-5);
	background: var(--navy-700);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 2;
}

.tv-drawer__title {
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0;
	color: #fff;
}

.tv-drawer__close {
	background: transparent;
	border: var(--bw) solid rgba(255, 255, 255, .35);
	color: #fff;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	border-radius: var(--radius);
}
.tv-drawer__close:hover { background: var(--brand-accent); border-color: var(--brand-accent); }

.tv-drawer__body { padding: var(--sp-2) 0 var(--sp-6); }

.tv-acc__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	background: transparent;
	border: 0;
	border-bottom: var(--bw) solid var(--line-soft);
	padding: 15px var(--sp-5);
	font-family: var(--font-head);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--navy-700);
	text-align: left;
	cursor: pointer;
	border-radius: var(--radius);
}

.tv-acc__trigger[aria-expanded="true"] { color: var(--brand-accent); }

.tv-acc__trigger .tv-caret {
	width: 8px; height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .15s var(--ease);
	flex: 0 0 auto;
}
.tv-acc__trigger[aria-expanded="true"] .tv-caret { transform: rotate(-135deg); }

.tv-acc__panel {
	display: none;
	background: var(--surface-alt);
	border-bottom: var(--bw) solid var(--line);
	padding: var(--sp-3) var(--sp-5) var(--sp-4);
}
.tv-acc__panel.is-open { display: block; }

.tv-acc__panel ul { list-style: none; margin: 0; padding: 0; }
.tv-acc__panel li { margin: 0; }
.tv-acc__panel a {
	display: block;
	padding: 9px 0;
	color: var(--ink-soft);
	font-size: 15px;
	border-bottom: var(--bw) solid var(--line-soft);
}
.tv-acc__panel a:hover { color: var(--brand-accent); }

.tv-drawer__plain {
	display: block;
	padding: 15px var(--sp-5);
	border-bottom: var(--bw) solid var(--line-soft);
	font-family: var(--font-head);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--navy-700);
}
.tv-drawer__plain:hover, .tv-drawer__plain:focus { color: var(--brand-accent); }

.tv-drawer__foot {
	padding: var(--sp-5);
	background: var(--surface-alt);
	border-top: var(--bw) solid var(--line);
}
.tv-drawer__foot dl { margin: 0 0 var(--sp-4); }
.tv-drawer__foot dt {
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.tv-drawer__foot dd { margin: 0 0 var(--sp-3); color: var(--ink-soft); font-size: 15px; }
.tv-drawer__foot a { color: var(--navy-700); }

.tv-scrim {
	position: fixed;
	inset: 0;
	background: rgba(10, 24, 43, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s var(--ease), visibility .2s;
	z-index: 99999;
}
.tv-scrim.is-open { opacity: 1; visibility: visible; }

body.tv-locked { overflow: hidden; }

/* =============================================================================
   10.  PRODUCT CARDS  (shop loop) — square, 1px border, no radius, no shadow
   ============================================================================= */

/* Storefront lays the loop out with floats and percentage widths. Replacing it
   with CSS Grid keeps the four-up catalogue honest at every container width.
   Scoped to `ul.products` only — a bare `.products` selector would also match
   the `<section class="related products">` wrapper and grid its children. */
ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-5);
	align-items: stretch;
}

#page ul.products li.product { margin-bottom: 0 !important; }

/* Storefront sizes cards with `.columns-N .product { width: 22.05%; float: left;
   margin-right: 3.8% }`. Inside a CSS Grid track that percentage resolves
   against the track, collapsing every card to a sliver — so the float layout
   has to be neutralised completely. */
#page ul.products li.product,
ul.products li.product {
	width: 100% !important;
	float: none !important;
	clear: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* No catalogue sidebar — the grid is the content. */
body.torvhall-catalogue #secondary,
body.torvhall-catalogue .widget-area { display: none !important; }

body.torvhall-catalogue #primary,
body.torvhall-catalogue .content-area {
	width: 100% !important;
	float: none !important;
	margin-right: 0 !important;
}

#page ul.products li.product,
.products li.product {
	background: var(--surface) !important;
	border: var(--bw) solid var(--line) !important;
	border-radius: var(--radius) !important;
	box-shadow: var(--shadow) !important;
	padding: 0 !important;
	margin-bottom: var(--sp-6) !important;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color .16s var(--ease);
	position: relative;
}

#page ul.products li.product:hover,
.products li.product:hover {
	border-color: var(--navy-700) !important;
	box-shadow: var(--shadow) !important;
	transform: none;
}

/* Image plate: white, square, hairline under. */
#page ul.products li.product a.woocommerce-LoopProduct-link,
#page ul.products li.product .woocommerce-loop-product__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-decoration: none;
	color: inherit;
	padding: 0;
	margin: 0;
	position: relative;
}

#page ul.products li.product a.woocommerce-LoopProduct-link > img,
#page ul.products li.product .woocommerce-loop-product__link > img,
#page ul.products li.product > a > img {
	width: 100% !important;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--surface) !important;
	padding: var(--sp-4);
	box-sizing: border-box;
	border-bottom: var(--bw) solid var(--line-soft) !important;
	border-radius: var(--radius) !important;
	margin: 0 !important;
	display: block;
	transition: none;
}

#page ul.products li.product:hover a.woocommerce-LoopProduct-link > img { transform: none; }

/* Card body: title, price, MOQ chips */
.woocommerce-loop-product__title,
#page ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.16;
	color: var(--navy-700);
	margin: 0;
	padding: var(--sp-4) var(--sp-4) var(--sp-1);
	letter-spacing: .005em;
}

#page ul.products li.product .price {
	display: block;
	margin: 0;
	padding: var(--sp-1) var(--sp-4);
	font-family: var(--font-body);
	font-size: 19px;
	font-weight: 600;
	color: var(--brand-accent);
	line-height: 1.35;
}

#page ul.products li.product .price .woocommerce-Price-currencySymbol { font-size: .8em; }

#page ul.products li.product .price del {
	color: var(--muted-2);
	font-size: 14px;
	font-weight: 400;
	opacity: 1;
	margin-right: 4px;
}
#page ul.products li.product .price del .amount { font-weight: 400; }
#page ul.products li.product .price ins {
	background: transparent;
	color: var(--brand-accent);
	font-weight: 600;
	text-decoration: none;
}
#page ul.products li.product .price .screen-reader-text { display: none; }

/* Sale flash — square orange tag, top-left of the image plate. */
#page ul.products li.product .onsale {
	position: absolute;
	top: var(--sp-3);
	left: var(--sp-3);
	right: auto;
	z-index: 3;
	background: var(--brand-accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius);
	padding: 5px 9px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1;
	min-height: 0;
	min-width: 0;
	height: auto;
	margin: 0;
}

/* B2B meta chips injected under the price */
.tv-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: var(--sp-3) var(--sp-4) var(--sp-4);
	margin-top: auto;
}

.tv-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border: var(--bw) solid var(--line-strong);
	color: var(--ink-soft);
	background: var(--surface);
	padding: 4px 8px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.3;
	border-radius: var(--radius);
	white-space: nowrap;
}

.tv-chip--moq {
	background: var(--navy-700);
	border-color: var(--navy-700);
	color: #fff;
}

.tv-chip--accent {
	background: var(--orange-100);
	border-color: var(--brand-accent);
	color: var(--orange-700);
}

.tv-chip--ghost { background: var(--surface-alt); border-color: var(--line); color: var(--muted); }

/* Card actions (below the link) */
.tv-card-actions {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	padding: 0 var(--sp-4) var(--sp-4);
	border-top: 0;
}

#page ul.products li.product .tv-card-actions .tv-btn { width: 100%; }

#page ul.products li.product .button,
#page ul.products li.product .added_to_cart {
	margin: 0;
	width: 100%;
	background: transparent;
	color: var(--muted);
	border: var(--bw) solid var(--line);
	font-size: 13px;
	padding: 9px 12px;
	letter-spacing: .08em;
}

#page ul.products li.product .button:hover,
#page ul.products li.product .button:focus,
#page ul.products li.product .added_to_cart:hover {
	background: var(--surface-alt);
	color: var(--navy-700);
	border-color: var(--line-strong);
}

#page ul.products li.product .star-rating { margin: 0 var(--sp-4) var(--sp-2); }

/* =============================================================================
   11.  B2B BLOCKS — MOQ PANEL, TIER LADDER
   ============================================================================= */

.tv-panel {
	border: var(--bw) solid var(--line);
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	margin: 0 0 var(--sp-5);
}

.tv-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	flex-wrap: wrap;
	background: var(--navy-700);
	color: #fff;
	padding: var(--sp-3) var(--sp-4);
}

.tv-panel__title {
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-2);
}

.tv-panel__title::before {
	content: "";
	width: 4px;
	height: 16px;
	background: var(--brand-accent);
	display: inline-block;
}

.tv-panel__kicker {
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--orange-300);
	margin: 0;
}

.tv-panel__body { padding: var(--sp-4); }

/* --- MOQ grid --- */
.tv-moq__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	margin: 0;
	border-top: var(--bw) solid var(--line-soft);
	border-left: var(--bw) solid var(--line-soft);
}

.tv-moq__cell {
	border-right: var(--bw) solid var(--line-soft);
	border-bottom: var(--bw) solid var(--line-soft);
	padding: var(--sp-3) var(--sp-4);
	margin: 0;
	min-width: 0;
}

.tv-moq__cell--wide { grid-column: span 2; }

.tv-moq__cell dt {
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin: 0 0 3px;
	line-height: 1.3;
}

.tv-moq__cell dd {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--navy-700);
	word-break: break-word;
}

.tv-moq__cell--moq dd { color: var(--brand-accent); font-size: 18px; }

.tv-moq__note {
	margin: var(--sp-3) 0 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.5;
}

.tv-moq__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	align-items: center;
	padding: var(--sp-4);
	border-top: var(--bw) solid var(--line);
	background: var(--surface-alt);
}

/* --- tier ladder --- */
.tv-tiers__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 0;
	border: var(--bw) solid var(--line);
}

.tv-tiers__table thead th {
	background: var(--navy-700);
	color: #fff;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-align: left;
	padding: 10px var(--sp-4);
	border: 0;
	white-space: nowrap;
}

.tv-tiers__table tbody td {
	padding: 11px var(--sp-4);
	border-bottom: var(--bw) solid var(--line-soft);
	color: var(--ink-soft);
	vertical-align: middle;
}

.tv-tiers__table tbody tr:nth-child(even) td { background: var(--surface-alt); }
.tv-tiers__table tbody tr:last-child td { border-bottom: 0; }

.tv-tiers__table tbody tr.is-active td {
	background: var(--orange-100);
	box-shadow: inset 3px 0 0 var(--brand-accent);
}

.tv-tiers__qty {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--navy-700);
}

.tv-tiers__price {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	color: var(--brand-accent);
	white-space: nowrap;
}

.tv-tiers__save {
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}
.tv-tiers__save--hot { color: var(--orange-700); }

.tv-tiers__note {
	margin: var(--sp-3) 0 0;
	font-size: 12.5px;
	color: var(--muted);
	line-height: 1.5;
	display: flex;
	gap: 7px;
	align-items: flex-start;
}

.tv-tiers__note::before {
	content: "";
	flex: 0 0 auto;
	width: 3px;
	align-self: stretch;
	background: var(--brand-accent);
	margin-top: 2px;
}

/* =============================================================================
   12.  SINGLE PRODUCT
   ============================================================================= */

.single-product div.product { position: relative; }

.single-product .woocommerce-product-gallery {
	border: var(--bw) solid var(--line);
	background: var(--surface);
	padding: var(--sp-3);
	border-radius: var(--radius);
}

.single-product .woocommerce-product-gallery img {
	border-radius: var(--radius);
}

.single-product .woocommerce-product-gallery__wrapper { margin: 0; }

.single-product .flex-control-thumbs { margin: var(--sp-3) 0 0; }
.single-product .flex-control-thumbs li { margin: 0 var(--sp-2) var(--sp-2) 0; }
.single-product .flex-control-thumbs img {
	border: var(--bw) solid var(--line);
	border-radius: var(--radius);
	opacity: 1;
}
.single-product .flex-control-thumbs img.flex-active,
.single-product .flex-control-thumbs img:hover { border-color: var(--brand-accent); }

.product_title.entry-title {
	font-family: var(--font-head);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.08;
	color: var(--navy-700);
	margin: 0 0 var(--sp-3);
}

.single-product .summary .price {
	font-family: var(--font-body);
	font-size: 28px;
	font-weight: 600;
	color: var(--brand-accent);
	margin: 0 0 var(--sp-3);
	line-height: 1.25;
}
.single-product .summary .price del {
	color: var(--muted-2);
	font-size: 18px;
	font-weight: 400;
}
.single-product .summary .price ins {
	background: transparent;
	text-decoration: none;
	color: var(--brand-accent);
}

.woocommerce-product-details__short-description {
	font-size: 16px;
	color: var(--ink-soft);
	line-height: 1.7;
	padding-bottom: var(--sp-2);
	border-bottom: var(--bw) solid var(--line-soft);
	margin-bottom: var(--sp-4);
}

/* whitelabel-style eyebrow above the H1, injected by the theme */
.tv-product-eyebrow {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	flex-wrap: wrap;
	margin: 0 0 var(--sp-3);
}

/* Variations form */
.single-product .variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--sp-4);
}
.single-product .variations th,
.single-product .variations td {
	border: var(--bw) solid var(--line-soft);
	padding: 9px var(--sp-3);
	text-align: left;
	vertical-align: middle;
	background: transparent;
}
.single-product .variations th label {
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--navy-700);
	margin: 0;
}
.single-product .variations select { width: 100%; max-width: 100%; }

.single-product .single_variation_wrap { margin-top: var(--sp-3); }
.single-product .woocommerce-variation-price .price { font-size: 24px; }

.single-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--sp-2);
	margin-bottom: var(--sp-4);
}

.single-product div.product form.cart .quantity {
	display: flex;
	align-items: stretch;
	margin: 0;
}

.single-product div.product form.cart .quantity input[type="number"],
.single-product div.product form.cart .qty {
	width: 88px;
	height: auto;
	min-height: 48px;
	text-align: center;
	border: var(--bw) solid var(--line);
	border-radius: var(--radius) !important;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 16px;
	padding: 0 var(--sp-2);
}

.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 48px;
}

.single-product .product_meta {
	border-top: var(--bw) solid var(--line-soft);
	padding-top: var(--sp-3);
	margin-top: var(--sp-4);
	font-size: 14px;
	color: var(--muted);
}
.single-product .product_meta > span { display: block; margin-bottom: 4px; }
.single-product .product_meta a { color: var(--navy-700); text-decoration: underline; }
.single-product .product_meta a:hover { color: var(--brand-accent); }

/* Trust strip under the add-to-cart form */
.tv-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	border: var(--bw) solid var(--line);
	background: var(--surface-alt);
	margin: 0 0 var(--sp-4);
}

.tv-trust__item {
	padding: var(--sp-3) var(--sp-4);
	border-right: var(--bw) solid var(--line);
}

.tv-trust__item:last-child { border-right: 0; }

.tv-trust__label {
	display: block;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin-bottom: 3px;
}

.tv-trust__value {
	display: block;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--navy-700);
	line-height: 1.4;
}

/* --- PDP content sections (.pdp-*) --- */
.woocommerce-Tabs-panel .pdp-sections { max-width: 82ch; }

.pdp-lede {
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink-soft);
	border-left: 4px solid var(--brand-accent);
	background: var(--surface-alt);
	padding: var(--sp-4) var(--sp-5);
	margin: 0 0 var(--sp-6);
}

.pdp-sections h3 {
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--navy-700);
	margin: var(--sp-6) 0 var(--sp-3);
	padding-bottom: var(--sp-2);
	border-bottom: 1px solid var(--line);
	position: relative;
}

.pdp-sections h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 3px;
	background: var(--brand-accent);
}

.pdp-bullets,
.pdp-care,
.pdp-warnings,
.pdp-returns-ok,
.pdp-returns-ex {
	list-style: none;
	margin: 0 0 var(--sp-4);
	padding: 0;
}

.pdp-bullets li,
.pdp-care li,
.pdp-warnings li,
.pdp-returns-ok li,
.pdp-returns-ex li {
	position: relative;
	padding: 9px 0 9px 26px;
	border-bottom: var(--bw) solid var(--line-soft);
	line-height: 1.6;
	color: var(--ink-soft);
}

.pdp-bullets li:last-child,
.pdp-care li:last-child,
.pdp-warnings li:last-child,
.pdp-returns-ok li:last-child,
.pdp-returns-ex li:last-child { border-bottom: 0; }

.pdp-bullets li::before,
.pdp-returns-ok li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	width: 9px;
	height: 9px;
	background: var(--brand-accent);
}

.pdp-care li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	width: 9px;
	height: 9px;
	border: 2px solid var(--navy-700);
	box-sizing: border-box;
}

.pdp-warnings li::before,
.pdp-returns-ex li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	width: 9px;
	height: 9px;
	background: var(--muted-2);
}

.pdp-usage {
	margin: 0 0 var(--sp-4);
	padding: 0 0 0 var(--sp-5);
	counter-reset: pdp-usage;
	list-style: none;
}

.pdp-usage li {
	position: relative;
	padding: 9px 0 9px 34px;
	border-bottom: var(--bw) solid var(--line-soft);
	line-height: 1.6;
	counter-increment: pdp-usage;
}
.pdp-usage li:last-child { border-bottom: 0; }
.pdp-usage li::before {
	content: counter(pdp-usage, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 9px;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	color: var(--brand-accent);
	letter-spacing: .04em;
}

.pdp-spec {
	width: 100%;
	border-collapse: collapse;
	border: var(--bw) solid var(--line);
	margin: 0 0 var(--sp-4);
	font-size: 15px;
	table-layout: fixed;
}

.pdp-spec th,
.pdp-spec td {
	border-bottom: var(--bw) solid var(--line-soft);
	padding: 11px var(--sp-4);
	text-align: left;
	vertical-align: top;
	line-height: 1.55;
}

.pdp-spec th {
	width: 34%;
	background: var(--navy-700);
	color: #fff;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: normal;
}

.pdp-spec tbody tr:nth-child(even) td { background: var(--surface-alt); }
.pdp-spec tbody tr:last-child th,
.pdp-spec tbody tr:last-child td { border-bottom: 0; }

.pdp-returns-window {
	background: var(--surface-alt);
	border-left: 4px solid var(--brand-accent);
	padding: var(--sp-3) var(--sp-4);
	margin: 0 0 var(--sp-3);
}
.pdp-returns-window strong { color: var(--navy-700); }

.pdp-returns-no { margin: var(--sp-4) 0 var(--sp-2); color: var(--muted); }
.pdp-returns-no em { font-style: normal; font-weight: 600; }

/* WooCommerce tabs */
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0 0 var(--sp-5);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border-bottom: 2px solid var(--navy-700);
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after { display: none; }

.woocommerce-tabs ul.tabs li {
	background: transparent;
	border: var(--bw) solid var(--line);
	border-bottom: 0;
	margin: 0 -1px -2px 0;
	padding: 0;
	border-radius: 0 !important;
	box-shadow: none !important;
	float: none;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none; }

.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 20px;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--navy-700);
	background: var(--surface-alt);
	border-bottom: 2px solid transparent;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
	background: var(--surface);
	color: var(--brand-accent);
	border-bottom-color: var(--brand-accent);
}

.woocommerce-tabs .panel {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-top: 0;
	padding: var(--sp-6) var(--sp-6) var(--sp-4);
	margin: 0;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.woocommerce-tabs .panel > h2:first-child { margin-top: 0; }

.single-product .woocommerce-product-attributes.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	border: var(--bw) solid var(--line);
}
.single-product .shop_attributes th,
.single-product .shop_attributes td {
	border-bottom: var(--bw) solid var(--line-soft);
	padding: 11px var(--sp-4);
	text-align: left;
	background: transparent;
}
.single-product .shop_attributes th {
	font-family: var(--font-head);
	font-size: 14px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--navy-700);
	width: 30%;
}
.single-product .shop_attributes p { margin: 0; }

/* Related / upsells */
.related.products,
.upsells.products {
	border-top: 2px solid var(--navy-700);
	padding-top: var(--sp-5);
	margin-top: var(--sp-8);
}

.related.products > h2,
.upsells.products > h2 {
	font-family: var(--font-head);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--navy-700);
	margin: 0 0 var(--sp-5);
}

/* Storefront sticky add-to-cart */
.storefront-sticky-add-to-cart {
	background: var(--navy-700);
	border-radius: var(--radius) !important;
}
.storefront-sticky-add-to-cart .storefront-sticky-add-to-cart__content-product-info,
.storefront-sticky-add-to-cart .storefront-sticky-add-to-cart__content-price,
.storefront-sticky-add-to-cart .storefront-sticky-add-to-cart__content-title { color: #fff; }

/* =============================================================================
   13.  ARCHIVE / SHOP TOOLBAR / PAGINATION / BREADCRUMB
   ============================================================================= */

.woocommerce-breadcrumb,
.storefront-breadcrumb {
	background: transparent !important;
	border-bottom: var(--bw) solid var(--line);
	padding: var(--sp-3) 0 !important;
	margin: 0 0 var(--sp-5) !important;
	font-size: 13px;
	color: var(--muted);
	font-family: var(--font-body);
	letter-spacing: .02em;
}
.woocommerce-breadcrumb a { color: var(--navy-700); }
.woocommerce-breadcrumb a:hover { color: var(--brand-accent); }

.woocommerce-products-header__title.page-title {
	font-family: var(--font-head);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--navy-700);
	margin: 0 0 var(--sp-3);
}

.term-description {
	max-width: 78ch;
	color: var(--ink-soft);
	border-left: 4px solid var(--brand-accent);
	background: var(--surface);
	padding: var(--sp-4) var(--sp-5);
	margin-bottom: var(--sp-5);
}

.woocommerce-result-count,
.woocommerce-ordering {
	font-size: 14px;
	color: var(--muted);
	margin: 0 0 var(--sp-4);
}

.woocommerce-ordering select {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--navy-700);
	padding: 9px 12px;
	min-width: 200px;
}

.woocommerce-pagination ul.page-numbers {
	list-style: none;
	display: flex;
	gap: 0;
	margin: var(--sp-6) 0 0;
	padding: 0;
	border: 0;
	justify-content: center;
}

.woocommerce-pagination ul.page-numbers li { margin: 0; border: 0; }

.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--sp-3);
	border: var(--bw) solid var(--line);
	margin-left: -1px;
	background: var(--surface);
	color: var(--navy-700);
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	border-radius: var(--radius);
}

.woocommerce-pagination ul.page-numbers span.current,
.woocommerce-pagination ul.page-numbers a:hover {
	background: var(--navy-700);
	border-color: var(--navy-700);
	color: #fff;
}

/* =============================================================================
   14.  HOME / BLOG / WIDGETS
   ============================================================================= */

.home .site-main > .page,
.home .site-main > article { background: transparent; }

article.type-post,
.blog .site-main article {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	padding: var(--sp-6);
	margin-bottom: var(--sp-5);
}

.entry-title a { color: var(--navy-700); }
.entry-title a:hover { color: var(--brand-accent); }

.widget-area .widget,
.widget {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: var(--sp-5);
	margin-bottom: var(--sp-5);
}

.widget-title,
.widget .widgettitle {
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--navy-700);
	margin: 0 0 var(--sp-4);
	padding-bottom: var(--sp-3);
	border-bottom: 2px solid var(--navy-700);
	position: relative;
}
.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 40px;
	height: 2px;
	background: var(--brand-accent);
}

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { border-bottom: var(--bw) solid var(--line-soft); padding: var(--sp-2) 0; }
.widget ul li:last-child { border-bottom: 0; }
.widget a { color: var(--ink-soft); }
.widget a:hover { color: var(--brand-accent); }

.widget_product_categories ul li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
}
.widget_product_categories .count {
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

/* =============================================================================
   14b. SHOP BANNER + ORDER ANCHOR
   ============================================================================= */

.tv-shop-banner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--sp-4) var(--sp-6);
	align-items: center;
	background: var(--navy-700);
	color: #C6D2E3;
	border: var(--bw) solid var(--navy-700);
	border-radius: var(--radius);
	padding: var(--sp-5) var(--sp-6);
	margin: 0 0 var(--sp-6);
}

.tv-shop-banner__text { min-width: 0; }

.tv-shop-banner .tv-mega__promo-kicker { display: block; margin-bottom: var(--sp-2); }

.tv-shop-banner__lede {
	margin: 0;
	color: #C6D2E3;
	font-size: 15.5px;
	line-height: 1.6;
	max-width: 72ch;
}

.tv-shop-banner__facts {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-5);
	list-style: none;
	margin: var(--sp-2) 0 0;
	padding: var(--sp-4) 0 0;
	border-top: var(--bw) solid rgba(255, 255, 255, .14);
}

.tv-shop-banner__facts li {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
}

.tv-shop-banner__facts li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--brand-accent);
	flex: 0 0 auto;
}

.tv-shop-banner > .tv-btn { justify-self: end; white-space: nowrap; }

.tv-order-anchor { scroll-margin-top: 120px; display: block; }

[id^="torvhall-"] { scroll-margin-top: 120px; }

/* =============================================================================
   14c. HOMEPAGE HERO
   ============================================================================= */

.tv-hero {
	background: var(--navy-700);
	border: var(--bw) solid var(--navy-700);
	border-radius: var(--radius);
	margin: 0 0 var(--sp-7);
	position: relative;
	overflow: hidden;
}

/* Faint industrial diagonal hatch, drawn with gradients — no image request. */
.tv-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, .035) 0 2px,
		transparent 2px 14px
	);
	pointer-events: none;
}

.tv-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: var(--sp-7);
	align-items: center;
	padding: var(--sp-8) var(--sp-7);
}

.tv-hero__kicker {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--orange-300);
	margin-bottom: var(--sp-3);
	border-left: 3px solid var(--brand-accent);
	padding-left: 10px;
}

.tv-hero__title {
	font-family: var(--font-head);
	font-size: clamp(34px, 4.4vw, 60px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: .005em;
	color: #fff;
	margin: 0 0 var(--sp-4);
	text-transform: none;
}

.tv-hero__lede {
	color: #B9C6D9;
	font-size: 17px;
	line-height: 1.65;
	max-width: 60ch;
	margin: 0 0 var(--sp-6);
}

.tv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-bottom: var(--sp-6);
}

.tv-hero__actions .tv-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, .35);
}
.tv-hero__actions .tv-btn--ghost:hover,
.tv-hero__actions .tv-btn--ghost:focus {
	background: #fff;
	border-color: #fff;
	color: var(--navy-700);
}

.tv-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: var(--sp-4) 0 0;
	border-top: var(--bw) solid rgba(255, 255, 255, .16);
}

.tv-hero__stats > div {
	padding-right: var(--sp-6);
	margin-right: var(--sp-6);
	border-right: var(--bw) solid rgba(255, 255, 255, .16);
}

.tv-hero__stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.tv-hero__stats dt {
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--navy-300);
	margin-bottom: 2px;
}

.tv-hero__stats dd {
	margin: 0;
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	letter-spacing: .02em;
}

/* Category tiles */
.tv-hero__cats {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-3);
}

.tv-cat-tile {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: 0 var(--sp-4);
	align-items: center;
	background: rgba(255, 255, 255, .045);
	border: var(--bw) solid rgba(255, 255, 255, .16);
	border-left: 3px solid var(--brand-accent);
	border-radius: var(--radius);
	padding: var(--sp-4) var(--sp-5);
	color: #fff;
	transition: background-color .15s var(--ease), border-color .15s var(--ease);
}

.tv-cat-tile:hover,
.tv-cat-tile:focus {
	background: rgba(228, 112, 30, .14);
	border-color: var(--brand-accent);
	color: #fff;
}

.tv-cat-tile__count {
	grid-row: 1 / span 2;
	font-family: var(--font-head);
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	color: var(--brand-accent);
	letter-spacing: .01em;
	min-width: 62px;
}

.tv-cat-tile__name {
	font-family: var(--font-head);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.1;
}

.tv-cat-tile__meta {
	font-size: 13px;
	color: var(--navy-300);
	letter-spacing: .02em;
}

.tv-cat-tile__go { display: none; }

.tv-section-title {
	font-family: var(--font-head);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--navy-700);
	margin: 0 0 var(--sp-5);
	padding-bottom: var(--sp-3);
	border-bottom: 2px solid var(--navy-700);
	position: relative;
}

.tv-section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 64px;
	height: 2px;
	background: var(--brand-accent);
}

/* --- front page catalogue block --- */
.tv-front #secondary,
.tv-front .widget-area { display: none !important; }

.tv-front #primary,
.tv-front .content-area {
	width: 100% !important;
	float: none !important;
	margin-right: 0 !important;
}

.tv-home-lines { margin-bottom: var(--sp-7); }

.tv-home-lines__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-4);
	flex-wrap: wrap;
	margin-bottom: var(--sp-5);
}

.tv-home-lines__head .tv-section-title { margin: 0; border-bottom: 0; padding-bottom: 0; }
.tv-home-lines__head .tv-section-title::after { display: none; }

.tv-home-lines__all {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--navy-700);
	border-bottom: 2px solid var(--brand-accent);
	padding-bottom: 3px;
	white-space: nowrap;
}
.tv-home-lines__all:hover, .tv-home-lines__all:focus { color: var(--brand-accent); }

.tv-home-lines .products { margin-bottom: var(--sp-6); }

.tv-home-lines__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	flex-wrap: wrap;
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-left: 4px solid var(--brand-accent);
	padding: var(--sp-5) var(--sp-6);
}

.tv-home-lines__foot p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 15.5px;
	max-width: 62ch;
}

.tv-post-list article {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: var(--radius);
	padding: var(--sp-6);
	margin-bottom: var(--sp-5);
}

/* =============================================================================
   15.  FOOTER
   ============================================================================= */

.site-footer {
	background: var(--navy-900) !important;
	color: #9FB0C7;
	border-top: 4px solid var(--brand-accent);
	padding: var(--sp-8) 0 var(--sp-5) !important;
	margin-top: var(--sp-8);
}

.site-footer .col-full { background: transparent; }

.site-footer .widget {
	background: transparent;
	border: 0;
	box-shadow: var(--shadow);
	padding: 0;
	margin-bottom: var(--sp-6);
}

.site-footer .widget-title,
.site-footer .widget .widgettitle {
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	font-size: 15px;
	letter-spacing: .15em;
}
.site-footer .widget-title::after { background: var(--brand-accent); }

.site-footer a { color: #C3D0E0; }
.site-footer a:hover, .site-footer a:focus { color: var(--brand-accent); }

.site-footer .widget ul li { border-bottom-color: rgba(255, 255, 255, .09); }

.site-footer .site-info,
.site-footer .storefront-handheld-footer-bar ~ * { }

.site-footer .site-info {
	border-top: var(--bw) solid rgba(255, 255, 255, .13);
	margin-top: var(--sp-5);
	padding-top: var(--sp-4);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	font-size: 13px;
	color: #8698AF;
	text-align: left;
}

.site-footer .site-info a { color: #C3D0E0; }
.site-footer .site-info a:hover { color: var(--brand-accent); }

/* Handheld sticky footer bar (Storefront) */
/* Suppressed: this theme keeps search, cart and account in the masthead and the
   drawer at every width, so the bar would only duplicate the search box. */
.storefront-handheld-footer-bar { display: none !important; }

/* =============================================================================
   16.  NOTICES / MISC WOOCOMMERCE
   ============================================================================= */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-left: 4px solid var(--navy-700);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--ink-soft);
	padding: var(--sp-4) var(--sp-5);
	margin-bottom: var(--sp-5);
	list-style: none;
}

.woocommerce-message { border-left-color: var(--brand-accent); }
.woocommerce-info { border-left-color: var(--navy-500); }
.woocommerce-error { border-left-color: #B42318; }

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }

.woocommerce-message .button,
.woocommerce-info .button {
	float: right;
	margin-left: var(--sp-4);
}

/* Mini cart dropdown */
.site-header-cart .widget_shopping_cart_content {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: var(--sp-4);
}

/* Price filter / layered nav */
.widget_price_filter .price_slider_wrapper .ui-slider .ui-slider-range,
.widget_price_filter .price_slider_wrapper .ui-slider .ui-slider-handle {
	background: var(--brand-accent);
	border-radius: var(--radius);
}
.widget_price_filter .ui-slider { background: var(--line); border-radius: var(--radius); }

/* =============================================================================
   17.  RESPONSIVE
   ============================================================================= */

/* --- large desktop: keep 4 up --- */
@media (min-width: 1200px) {
	ul.products li.product.first { clear: none !important; }
}

/* --- desktop grid steps down --- */
@media (max-width: 1280px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.tv-hero__inner { gap: var(--sp-6); }
}

@media (max-width: 1100px) {
	ul.products { gap: var(--sp-4); }
	.tv-hero__inner { grid-template-columns: 1fr; padding: var(--sp-7) var(--sp-6); }
	.tv-hero__cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tv-cat-tile { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: var(--sp-4); }
	.tv-cat-tile__count { grid-row: auto; font-size: 34px; margin-bottom: 4px; }
	.tv-cat-tile__name { font-size: 19px; }
}

/* --- mega menu needs a wide row; below this it becomes the drawer --- */
@media (max-width: 1200px) {
	.tv-mega__inner { grid-template-columns: repeat(2, minmax(0, 1fr)) 260px; }
	:root { --header-h: 68px; }

	.tv-topbar__meta .tv-hide-md { display: none; }

	.tv-burger { display: inline-flex; }
	.tv-menu { display: none; }
	.tv-header-actions .tv-header-quote { display: none; }
	.tv-mainnav { justify-content: flex-end; }

	.site-header > .col-full { gap: var(--sp-3); flex-wrap: wrap; }
	.site-header .site-title { font-size: 25px; }
	.site-header .site-title a::before { height: 22px; width: 8px; }

	.tv-mega { display: none; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

	/* No-JS fallback: show a plain wrapped nav instead of the hidden drawer. */
	.no-js .tv-burger { display: none; }
	.no-js .tv-mainnav { order: 5; flex: 1 1 100%; justify-content: flex-start; }
	.no-js .tv-menu { display: flex; flex-wrap: wrap; gap: 0 var(--sp-1); }
	.no-js .tv-menu__link { padding: 9px 10px; font-size: 15px; }
	.no-js .tv-menu__link .tv-caret { display: none; }
	.no-js .tv-mega { display: none !important; }
}

/* --- phones --- */
@media (max-width: 768px) {
	#page .col-full { padding-left: var(--sp-4); padding-right: var(--sp-4); }

	.tv-topbar__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding-top: var(--sp-2);
		padding-bottom: var(--sp-2);
	}
	.tv-topbar__meta { gap: var(--sp-3); font-size: 12px; }
	.tv-topbar__notice { font-size: 12.5px; }

	.site-header > .col-full {
		padding-top: var(--sp-3);
		padding-bottom: var(--sp-3);
	}

	/* Row 2 of the mobile header: full-width search with the cart beside it.
	   The widget is wrapped in .site-search, so the flex sizing belongs there. */
	.tv-header-actions {
		order: 3;
		flex: 1 1 100%;
		flex-wrap: nowrap;
		gap: var(--sp-2);
		margin-left: 0;
	}

	.site-header .site-search { order: 1; flex: 1 1 auto; min-width: 0; }
	.site-header .site-search form { width: 100%; }
	.site-header .site-search input[type="search"],
	.site-header .site-search input[type="search"]:focus { width: 100%; }
	.site-header .site-search button { flex: 0 0 46px; }

	.site-header .site-header-cart { order: 2; flex: 0 0 auto; }

	/* The cart total is noise on a phone; keep the bag mark and the item count
	   so the search box is not squeezed off the row. */
	.tv-header-actions { min-width: 0; }
	.site-header .cart-contents .amount { display: none; }
	.site-header .site-header-cart .cart-contents { padding: 0 11px; gap: 8px; }

	#page ul.products li.product .woocommerce-loop-product__title { font-size: 19px; }
	#page ul.products li.product .price { font-size: 18px; }

	/* one card per row on phones — spec chips and titles need the room */
	ul.products { grid-template-columns: 1fr !important; }

	.tv-shop-banner { grid-template-columns: 1fr; padding: var(--sp-5); }
	.tv-shop-banner > .tv-btn { justify-self: stretch; width: 100%; }

	.tv-hero__inner { padding: var(--sp-6) var(--sp-5); }
	.tv-hero__cats { grid-template-columns: 1fr; }
	.tv-hero__stats { gap: var(--sp-4) 0; }
	.tv-hero__stats > div { padding-right: var(--sp-4); margin-right: var(--sp-4); }
	.tv-hero__stats dd { font-size: 24px; }
	.tv-hero__actions .tv-btn { flex: 1 1 100%; }

	.woocommerce-tabs ul.tabs { border-bottom: 0; }
	.woocommerce-tabs ul.tabs li { width: 100%; margin: 0 0 4px; border-bottom: var(--bw) solid var(--line); }
	.woocommerce-tabs .panel { padding: var(--sp-5) var(--sp-4); border-top: var(--bw) solid var(--line); }

	.pdp-spec th { width: 42%; font-size: 13px; padding: 9px var(--sp-3); }
	.pdp-spec td { padding: 9px var(--sp-3); font-size: 14.5px; }

	.tv-tiers__table thead th { padding: 9px var(--sp-3); font-size: 11px; }
	.tv-tiers__table tbody td { padding: 10px var(--sp-3); font-size: 14px; }

	.tv-moq__cell--wide { grid-column: span 1; }

	.single-product .summary .price { font-size: 24px; }

	.site-footer { padding-top: var(--sp-7) !important; }
	.site-footer .site-info { justify-content: flex-start; }
}

@media (max-width: 480px) {
	.tv-topbar__meta .tv-hide-sm { display: none; }
	.site-header .site-title { font-size: 22px; }
	.site-header .site-description { font-size: 10px; letter-spacing: .12em; margin-left: 15px; }
	.tv-btn { padding: 11px 15px; font-size: 15px; }
	.pdp-lede { font-size: 16px; padding: var(--sp-3) var(--sp-4); }
	.woocommerce-tabs .panel { padding: var(--sp-4) var(--sp-3); }
}

/* =============================================================================
   18.  PRINT
   ============================================================================= */

@media print {
	.site-header, .site-footer, .tv-topbar, .tv-drawer, .tv-scrim,
	.woocommerce-tabs ul.tabs, .tv-card-actions { display: none !important; }
	body { background: #fff; color: #000; }
	a { color: #000; }
}

/* =============================================================================
   Fleet standards links (2026-10-10): legal + contact row inside the colophon.
   ============================================================================= */

.tv-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	padding: 20px 0 14px;
	margin-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.tv-footer-legal a {
	font-family: var(--font-head, "Barlow Condensed", sans-serif);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
