/*
Theme Name: SWS Engines
Theme URI: https://swsengines.com
Author: SWS Engines
Author URI: https://swsengines.com
Description: Custom WooCommerce theme for SWS Engines (swsengines.com): engines, transmissions and drivetrain parts. Includes built-in security hardening. Photo or video hero, best sellers, testimonial, feature split, Latest/Best Selling/Top Rated lists, enquiry form with vehicle details, editable SEO and a fully responsive layout. All home sections are edited in Appearance > Customize > SWS Engines Theme. Requires WooCommerce.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: torqueline
Tags: e-commerce, custom-menu, custom-logo, featured-images, translation-ready, two-columns
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #0f1115;
	--bg-2: #161a20;
	--bg-3: #1e232b;
	--ink: #f1f3f6;
	--muted: #9aa3b2;
	--line: rgba(255, 255, 255, .09);
	--accent: #ff6b1a;
	--accent-hover: #ff8540;
	--on-accent: #160800;
	--radius: 6px;
	--shadow: 0 18px 40px rgba(0, 0, 0, .4);
	--font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--wrap: 1240px;
	/* Aliases used by the shared WooCommerce styles */
	--amber: var(--accent);
	--pink: #e5484d;
	--cyan: #3ecf8e;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--accent); color: var(--on-accent); padding: 10px 16px; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-2); }
.section-title { position: relative; padding-bottom: .55em; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--accent); }
.muted { color: var(--muted); }
.admin-note { border: 1px dashed var(--accent); color: var(--muted); padding: .8rem 1rem; border-radius: var(--radius); font-size: .92rem; margin: 1rem 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.6rem; border: 2px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font: 700 1rem/1.1 var(--font); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover, .btn:focus { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, .35); }
.btn--outline:hover, .btn--outline:focus { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--small { padding: .6rem 1.05rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--topbar-bg, #08090c); color: var(--muted); font-size: .88rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem; padding: .5rem 0; }
.topbar a { color: var(--ink); }
.topbar a:hover { color: var(--accent); }
.topbar__items { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.topbar .icon { display: inline-block; vertical-align: -2px; color: var(--accent); }
@media (max-width: 640px) { .topbar__hours { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg, rgba(15, 17, 21, .96)); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); flex: 0 1 auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; color: var(--accent); }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand__mark { flex: none; }
@media (max-width: 480px) {
	.brand__name { font-size: 1.25rem; }
	.brand__mark { width: 30px; height: 30px; }
	.brand__logo { max-height: 40px; }
	.header-tools { gap: 0; }
	.tool { min-width: 40px; padding: 0 .3rem; }
	.site-header__inner { gap: .5rem; min-height: 64px; }
}
.brand__logo { max-height: 54px; width: auto; }
.header-tools { display: flex; align-items: center; gap: .35rem; margin-left: auto; flex: none; }
.tool { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 .55rem; background: transparent; border: 0; border-radius: var(--radius); color: var(--ink); font: 600 .95rem var(--font); cursor: pointer; }
.tool:hover, .tool:focus { color: var(--accent); background: rgba(255, 255, 255, .05); }
.tool__icon { position: relative; display: inline-flex; }
.cart-count { position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.cart-total { font-weight: 700; }
.tool__label { display: none; }
.burger { display: grid; gap: 5px; width: 22px; }
.burger span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 520px) { .cart-total { display: none; } }
@media (min-width: 700px) { .tool__label { display: inline; } }

/* Menu: phones and tablets */
.primary-nav { display: none; position: fixed; inset: 0 0 0 auto; top: var(--nav-top, 0); width: min(88vw, 380px); background: var(--bg-2); border-left: 1px solid var(--line); padding: 5.5rem 1.25rem 2rem; overflow-y: auto; z-index: 90; box-shadow: var(--shadow); }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: .9rem .25rem; color: var(--ink); font: 700 1.15rem var(--font-head); letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--accent); }
.primary-nav .sub-menu, .primary-nav .children { display: none; padding-left: 1rem; }
.primary-nav li.is-open > .sub-menu, .primary-nav li.is-open > .children { display: block; }
.primary-nav .sub-menu a { font: 600 1rem var(--font); text-transform: none; letter-spacing: 0; }
.submenu-toggle { position: absolute; top: .45rem; right: 0; width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.submenu-toggle svg { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-toggle { position: relative; z-index: 95; }

/* Menu: desktop */
@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.primary-nav { display: block; position: static; width: auto; background: none; border: 0; padding: 0; box-shadow: none; overflow: visible; margin-left: 1.5rem; }
	.primary-nav > ul { display: flex; gap: .15rem; }
	.primary-nav > ul > li > a { border: 0; padding: .6rem .8rem; font-size: 1.08rem; }
	.primary-nav .sub-menu, .primary-nav .children { display: block; position: absolute; top: 100%; left: 0; min-width: 240px; padding: .5rem 0; background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s, transform .15s, visibility .15s; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu, .primary-nav li.is-open > .sub-menu,
	.primary-nav li:hover > .children, .primary-nav li:focus-within > .children, .primary-nav li.is-open > .children { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a { padding: .6rem 1.1rem; border: 0; }
	.primary-nav .sub-menu a:hover { background: rgba(255, 255, 255, .04); }
	.submenu-toggle { position: static; display: inline-grid; width: 24px; height: 24px; border: 0; vertical-align: middle; margin-left: -.5rem; }
	.primary-nav > ul > li { display: flex; align-items: center; }
}

/* Search panel */
.site-search { border-top: 1px solid var(--line); background: var(--bg-2); }
.site-search__inner { display: flex; gap: .6rem; align-items: center; padding: 1rem 0; }
.site-search form { display: flex; gap: .6rem; flex: 1; }
.site-search input[type="search"] { flex: 1; min-width: 0; padding: .9rem 1rem; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.site-search input[type="search"]:focus { outline: none; border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(78vh, 720px); padding: clamp(4rem, 12vw, 8rem) 0; background: radial-gradient(900px 500px at 85% 20%, rgba(255, 107, 26, .18), transparent 60%), linear-gradient(160deg, #1a1e25, var(--bg)); }
.hero--media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 14, calc(var(--ov, .55) + .25)) 0%, rgba(10, 11, 14, var(--ov, .55)) 55%, rgba(10, 11, 14, calc(var(--ov, .55) - .15)) 100%); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.hero__inner { max-width: var(--wrap); }
.hero__small { display: inline-block; margin: 0 0 1rem; padding-left: 14px; border-left: 4px solid var(--accent); color: var(--ink); font: 700 clamp(.95rem, 2.6vw, 1.15rem) var(--font); letter-spacing: .14em; text-transform: uppercase; }
.hero__title { max-width: 14ch; margin-bottom: .35em; }
.hero__text { max-width: 560px; color: #d7dbe3; font-size: clamp(1.05rem, 2.8vw, 1.25rem); margin-bottom: 2rem; }
@media (max-width: 600px) { .hero .btn--lg { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* ---------- Intro ---------- */
.intro__inner { max-width: 860px; }
.intro__text { color: var(--muted); font-size: 1.12rem; margin-bottom: 1.5rem; }

/* ---------- Image break ---------- */
.image-break img { width: 100%; height: clamp(240px, 42vw, 560px); object-fit: cover; }

/* ---------- Section heads + grid ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); margin: 0; max-width: 560px; }
.grid { display: grid; gap: 1.5rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Product cards ---------- */
.card { display: flex; flex-direction: column; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #f2f3f5; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 1rem; }
.card__badge { position: absolute; top: .75rem; left: .75rem; padding: .3rem .65rem; background: var(--accent); color: var(--on-accent); font: 800 .72rem var(--font); letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
.card__badge--sold { background: #2a2f38; color: #fff; }
.card__body { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding: 1.15rem 1.25rem 1.35rem; }
.card__meta { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card__title { margin: 0; font-size: 1.35rem; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--accent); }
.card__price { margin-top: auto; padding-top: .5rem; color: var(--accent); font: 800 1.45rem var(--font-head); }
.card__price del { color: var(--muted); font-size: .8em; font-weight: 600; }
.card__price ins { text-decoration: none; }
.card .btn--small { align-self: flex-start; margin-top: .6rem; }

/* ---------- Testimonial ---------- */
.quote { background: linear-gradient(135deg, #20140c, var(--bg) 60%); border-block: 1px solid var(--line); }
.quote__inner { max-width: 920px; text-align: center; }
.quote__mark { width: 54px; height: 54px; margin: 0 auto 1rem; color: var(--accent); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.25rem, 3.2vw, 1.75rem); line-height: 1.5; font-weight: 500; }
.quote__name { font: 800 1.3rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; margin: 1rem 0 0; }
.quote__name span { font: 500 1rem var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.quote .stars { justify-content: center; margin-bottom: .75rem; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-3); }
.split__placeholder .brand__mark { width: 90px; height: 90px; opacity: .5; }
.split__body p { color: var(--muted); }

/* ---------- Product lists ---------- */
.lists { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .lists { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.list__title { font-size: 1.5rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); position: relative; }
.list__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--accent); }
.list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.list li { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; align-items: center; }
.list__thumb { display: block; aspect-ratio: 1; background: #f2f3f5; border-radius: var(--radius); overflow: hidden; }
.list__thumb img { width: 100%; height: 100%; object-fit: contain; padding: .35rem; }
.list__name { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.list__name:hover { color: var(--accent); }
.list__price { display: block; color: var(--accent); font-weight: 700; margin-top: .2rem; }
.list__price del { color: var(--muted); font-weight: 500; }
.list__price ins { text-decoration: none; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { fill: #3a404b; }
.stars svg.on { fill: #ffb02e; }
.list .stars { display: flex; margin-top: .2rem; }

/* ---------- Forms + contact ---------- */
.contact-grid { display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; } }
.panel { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); }
.form { display: grid; gap: 1rem; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.form input, .form textarea { width: 100%; padding: .85rem 1rem; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1rem; font-weight: 600; }
.notice--ok { background: rgba(62, 207, 142, .12); border: 1px solid #3ecf8e; color: #7ee2b4; }
.notice--err { background: rgba(229, 72, 77, .12); border: 1px solid #e5484d; color: #ff9a9d; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { flex: none; color: var(--accent); margin-top: .2rem; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--accent); }

/* ---------- Page headers + content ---------- */
.page-hero { padding: clamp(2.5rem, 7vw, 4.5rem) 0; background: linear-gradient(160deg, #1a1e25, var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; }
.breadcrumbs { color: var(--muted); font-size: .88rem; margin-bottom: .6rem; }
.breadcrumbs a { color: var(--muted); }
.entry { max-width: 820px; }
.entry--wide { max-width: none; }
.entry img { border-radius: var(--radius); }
.posts-list article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.page-numbers { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.page-numbers.current, .page-numbers:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.alignleft { float: left; margin: 0 1.25rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.25rem; }
.aligncenter { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #08090c; color: var(--muted); border-top: 3px solid var(--accent); padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.site-footer h4 { color: var(--ink); font-size: 1.25rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.footer-about p { margin-top: 1rem; max-width: 360px; }
.footer-social { display: flex; gap: 1rem; }
.site-footer .contact-list { margin: 0; }
.site-footer .contact-list a { color: var(--muted); }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .88rem; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .shop-layout { grid-template-columns: 260px 1fr; } }
.shop-sidebar .widget { background: #fff; border: 1px solid #e3e6f0; border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1rem; }
.shop-sidebar .widget-title { font-size: 1.15rem; color: #0f1115; }
.ask-part { margin-top: 1rem; }
.btn--ghost-dark { background: transparent; color: #0f1115; border-color: #0f1115; }
.btn--ghost-dark:hover { background: #0f1115; border-color: #0f1115; color: #fff; }
.ask-panel { grid-column: 1 / -1; background: #fff; border: 1px solid #e3e6f0; border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2rem); color: #1b2140; }
.ask-panel h2 { color: #0f1115; }
.ask-panel .form input, .ask-panel .form textarea { background: #fff; color: #1b2140; border-color: #cfd3e0; }

@media print { .topbar, .site-header, .site-footer, .btn, .form { display: none !important; } body { background: #fff; color: #000; } }
/* ---------- WooCommerce (light panel for readable shop / cart / checkout) ---------- */
.section--light { background: #f5f6fb; color: #151a33; }
.section--light a { color: #b45309; }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: #0b1020; }
.entry--wide { max-width: none; }
.section--light .entry a { text-decoration: none; }

.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce-result-count, .woocommerce-ordering { margin: 0 0 1.25rem; }
.woocommerce-ordering select { padding: .6rem .8rem; border-radius: 10px; border: 1px solid #cfd3e6; background: #fff; font: inherit; max-width: 100%; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; background: #fff; border: 1px solid #e3e6f3; border-radius: var(--radius); overflow: hidden; padding: 0 0 1.1rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 16, 32, .15); }
.woocommerce ul.products li.product a img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 .9rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem; padding: 0 1rem; color: #0b1020; }
.woocommerce ul.products li.product .price { display: block; padding: 0 1rem; color: #b45309; font-weight: 800; font-size: 1.15rem; margin: .3rem 0 .8rem; }
.woocommerce ul.products li.product .price del { color: #7a809c; font-weight: 500; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin: auto 1rem 0; }
.woocommerce span.onsale { background: var(--pink); color: #fff; min-width: 0; min-height: 0; line-height: 1; padding: .4rem .7rem; border-radius: 999px; top: .75rem; left: .75rem; right: auto; margin: 0; font-weight: 800; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.4rem; border-radius: 999px; border: 0;
	background: linear-gradient(135deg, var(--amber), #ff8c00); color: #1a1200; font-weight: 700; line-height: 1.1; cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: linear-gradient(135deg, #ffc233, #ff9d1f); color: #1a1200; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }

/* Single product */
.woocommerce div.product { display: grid; gap: 2rem; }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: 1.05fr .95fr; align-items: start; } .woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product .product_title { font-size: clamp(1.6rem, 4vw, 2.3rem); color: #0b1020; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #b45309; font-size: 1.8rem; font-weight: 900; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0; }
.woocommerce .quantity .qty { width: 5rem; padding: .7rem .5rem; border: 1px solid #cfd3e6; border-radius: 10px; font: inherit; }
.woocommerce div.product .product_meta { font-size: .9rem; color: #5a607c; display: grid; gap: .25rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: #fff; border: 1px solid #d7dbee; border-radius: 999px; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: .5rem 1rem; color: #151a33; font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--amber); border-color: var(--amber); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #1a1200; }
.woocommerce table.shop_attributes th { width: 30%; }

/* Messages */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: #fff; border: 1px solid #d7dbee; border-left: 4px solid var(--cyan); border-radius: 10px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; justify-content: space-between; }
.woocommerce-error { border-left-color: var(--pink); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }

/* Cart, checkout, account */
.woocommerce table.shop_table { border: 1px solid #e3e6f3; border-radius: 12px; border-collapse: separate; background: #fff; overflow: hidden; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: .9rem 1rem; border-top: 1px solid #eceff8; }
.woocommerce table.shop_table th { text-align: left; }
.woocommerce table.shop_table img { width: 64px; border-radius: 8px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 480px; margin-left: auto; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single {
	padding: .8rem 1rem; border: 1px solid #cfd3e6; border-radius: 10px; background: #fff; font: inherit; color: #151a33; width: 100%; height: auto;
}
.woocommerce form .form-row label { font-weight: 600; margin-bottom: .3rem; display: block; }
.woocommerce form .form-row { padding: 0; margin: 0 0 1rem; }
@media (min-width: 700px) {
	.woocommerce form .form-row-first, .woocommerce-page form .form-row-first { width: 48%; float: left; }
	.woocommerce form .form-row-last, .woocommerce-page form .form-row-last { width: 48%; float: right; }
}
.woocommerce form .form-row-wide { clear: both; }
.woocommerce-checkout #payment { background: #fff; border: 1px solid #e3e6f3; border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box { background: #f0f2fa; color: #151a33; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: .5rem 1rem; border: 1px solid #d7dbee; border-radius: 999px; background: #fff; color: #151a33; font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--amber); border-color: var(--amber); color: #1a1200; }
@media (min-width: 900px) {
	.woocommerce-account .woocommerce-MyAccount-navigation { float: left; width: 24%; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: column; }
	.woocommerce-account .woocommerce-MyAccount-content { float: right; width: 72%; }
}
@media (max-width: 700px) {
	.woocommerce table.shop_table_responsive tr td { background: #fff; }
}
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: .55rem 1rem; border: 1px solid #d7dbee; border-radius: 10px; background: #fff; color: #151a33; }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--amber); border-color: var(--amber); color: #1a1200; }

/* ---------- 3 products per row, whole part visible ---------- */
.grid--cards, .woocommerce ul.products { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--cards, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: contain; padding: .9rem; background: #f3f5ff; margin: 0 0 .9rem; }

/* ---------- Product tabs: readable description / reviews ---------- */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
	background: #fff; color: #1b2140; border: 1px solid #e3e6f3; border-radius: var(--radius);
	padding: clamp(1.1rem, 4vw, 2rem); margin: 0; box-shadow: none; line-height: 1.75;
}
.woocommerce div.product .woocommerce-tabs .panel h1,
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .woocommerce-tabs .panel h3,
.woocommerce div.product .woocommerce-tabs .panel h4 { color: #0b1020; margin: 1.4em 0 .5em; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li,
.woocommerce div.product .woocommerce-tabs .panel td,
.woocommerce div.product .woocommerce-tabs .panel th { color: #1b2140; }
.woocommerce div.product .woocommerce-tabs .panel a { color: #b45309; text-decoration: underline; }
.woocommerce div.product .woocommerce-tabs .panel ul, .woocommerce div.product .woocommerce-tabs .panel ol { padding-left: 1.3em; }
.woocommerce div.product .woocommerce-tabs .panel img { border-radius: 10px; }
.woocommerce #reviews #comments .commentlist li .comment_container { color: #1b2140; }
.woocommerce #review_form #respond textarea, .woocommerce #review_form #respond input[type="text"], .woocommerce #review_form #respond input[type="email"] { padding: .8rem 1rem; border: 1px solid #cfd3e6; border-radius: 10px; width: 100%; font: inherit; color: #1b2140; background: #fff; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #e59a00; }
.woocommerce div.product .woocommerce-tabs ul.tabs, .woocommerce div.product .woocommerce-tabs ul.tabs li { list-style: none; }

/* ---------- SWS Engines overrides for WooCommerce ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--accent); color: var(--on-accent); border-radius: var(--radius); text-transform: uppercase; letter-spacing: .05em; font-family: var(--font);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--accent-hover); color: var(--on-accent); }
.woocommerce ul.products li.product { border-radius: var(--radius); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; }
.woocommerce ul.products li.product a img { aspect-ratio: 4 / 3; background: #f2f3f5; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: #c2410c; }
.section--light a { color: #c2410c; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: var(--radius); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--accent); border-color: var(--accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--on-accent); }
.woocommerce span.onsale { border-radius: 3px; background: var(--accent); color: var(--on-accent); }
.woocommerce-message, .woocommerce-info { border-left-color: var(--accent); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #e59a00; }


/* ---------- Colour hooks ---------- */
.section-title { color: var(--heading, var(--ink)); }
.hero__title { color: var(--hero-heading, #fff); }
.eyebrow { margin: 0 0 .6rem; color: var(--eyebrow, var(--accent)); font: 600 clamp(.95rem, 2.4vw, 1.15rem) var(--font); letter-spacing: .1em; text-transform: uppercase; }
.list__title, .split__body .section-title, .quote__name { color: var(--heading, var(--ink)); }

/* Hero and footer always keep light-on-dark text. */
.hero, .site-footer { --ink: #f1f3f6; --muted: #b6bcc8; --line: rgba(255, 255, 255, .12); color: var(--ink); }
.hero__title { text-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
.hero__text { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hero__text { color: #fff; }

/* ---------- Light style ---------- */
body.tl-light {
	--bg: #ffffff;
	--bg-2: #f4f5f7;
	--bg-3: #ffffff;
	--ink: #15171c;
	--muted: #4d5462;
	--line: rgba(15, 17, 21, .1);
	--shadow: 0 16px 36px rgba(15, 17, 21, .12);
	--header-bg: rgba(255, 255, 255, .97);
	--topbar-bg: #15171c;
}
.tl-light .topbar { --ink: #f1f3f6; --muted: #b6bcc8; --line: rgba(255, 255, 255, .1); }
.tl-light .site-header.is-stuck { box-shadow: 0 8px 24px rgba(15, 17, 21, .1); }
.tl-light .btn--outline { color: var(--ink); border-color: rgba(15, 17, 21, .3); }
.tl-light .btn--outline:hover { color: var(--accent); border-color: var(--accent); }
.tl-light .hero .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.tl-light h1, .tl-light h2, .tl-light h3 { font-family: var(--font); font-weight: 700; text-transform: none; letter-spacing: -.01em; line-height: 1.15; }
.tl-light .hero__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
.tl-light .section-title { padding-bottom: 0; }
.tl-light .section-title::after { display: none; }
.tl-light .section-head { align-items: center; }
.tl-light .card { border-color: #e6e8ee; }
.tl-light .card__title { font-family: var(--font); font-weight: 700; text-transform: none; font-size: 1.15rem; }
.tl-light .card__meta { color: #6b7280; }
.tl-light .quote { background: var(--bg-2); border-block: 0; }
.tl-light .quote blockquote p { color: #2a2e37; }
.tl-light .page-hero { background: var(--bg-2); }
.tl-light .list__title { font-size: 1.35rem; border-bottom-color: #e6e8ee; }
.tl-light .admin-note { color: #4d5462; }
.tl-light .primary-nav a { font-family: var(--font); font-weight: 600; font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.tl-light .primary-nav { --ink: #15171c; }
@media (min-width: 1080px) {
	.tl-light .primary-nav .sub-menu { background: #fff; }
	.tl-light .primary-nav > ul > li > a { font-size: 1rem; }
}
.tl-light .brand__name { color: #15171c; }
.tl-light .hero__small { color: #fff; }


/* ---------- Buttons use their own colour ---------- */
.btn { background: var(--btn, var(--accent)); border-color: var(--btn, var(--accent)); color: var(--on-btn, var(--on-accent)); border-radius: 8px; }
.btn:hover, .btn:focus { background: var(--btn-hover, var(--accent-hover)); border-color: var(--btn-hover, var(--accent-hover)); color: var(--on-btn, var(--on-accent)); }
.btn--outline { background: transparent; }
.tl-light .btn--outline { color: var(--btn, var(--ink)); border-color: var(--btn, rgba(15, 17, 21, .3)); }
.tl-light .btn--outline:hover { background: var(--btn); color: var(--on-btn); border-color: var(--btn); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--btn); color: var(--on-btn); border-radius: 8px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--btn-hover); color: var(--on-btn); }
.tl-light .card__price, .tl-light .list__price { color: var(--ink); }

/* ---------- Product carousel ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 960px) { .carousel__track { grid-auto-columns: calc((100% - 40px) / 3); } }
.carousel__btn { position: absolute; top: 34%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-3); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }
.carousel__btn--prev { left: -10px; }
.carousel__btn--prev svg { transform: rotate(90deg); }
.carousel__btn--next { right: -10px; }
.carousel__btn--next svg { transform: rotate(-90deg); }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel--static .carousel__btn { display: none; }
@media (min-width: 1300px) { .carousel__btn--prev { left: -22px; } .carousel__btn--next { right: -22px; } }
@media (max-width: 599px) {
	.carousel .card__body { padding: .8rem .85rem 1rem; }
	.carousel .card__title { font-size: 1rem; }
	.carousel .card__price { font-size: 1.15rem; }
	.carousel .card .btn--small { display: none; }
	.carousel .card__meta { font-size: .7rem; }
}

/* ---------- Reviews slider ---------- */
.quote { background: var(--band, #0c1a33); --ink: #f1f3f6; --muted: #b6bcc8; --line: rgba(255, 255, 255, .12); color: var(--ink); border-block: 0; }
.tl-light .quote { background: var(--band, #0c1a33); }
.tl-light .quote blockquote p { color: #f1f3f6; }
.quote .quote__name, .tl-light .quote .quote__name { color: #fff; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { scroll-snap-align: start; margin: 0; padding: 0 .25rem; }
.slider__slide blockquote p { font-style: italic; }
.slider__dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2rem; }
.slider__dot { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: transparent; cursor: pointer; }
.slider__dot[aria-selected="true"] { background: #fff; border-color: #fff; }
.quote .stars { display: flex; justify-content: center; }
.quote .stars svg.on { fill: #ffb02e; }

/* ---------- Section heads with a rule ---------- */
.section-head { border-bottom: 2px solid var(--line); padding-bottom: 1rem; position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 120px; height: 2px; background: var(--accent); }
.tl-light .section-head .section-title { text-transform: uppercase; font-size: clamp(1.5rem, 3.6vw, 2.2rem); }

/* ---------- Product lists with dividers ---------- */
.list li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list ul { gap: 0; }
.list__title { text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.tl-light .list__title { color: #3a3f4a; }
.list__name { font-size: 1.02rem; }
.tl-light .list__name { color: #1f3a66; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg, #08090c); --muted: rgba(255, 255, 255, .82); --line: rgba(255, 255, 255, .16); }
.site-footer h4 { position: relative; padding-bottom: .8rem; margin-bottom: 1.1rem; letter-spacing: .06em; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: rgba(255, 255, 255, .45); }
.site-footer .menu li, .site-footer ul:not(.contact-list) li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.site-footer ul:not(.contact-list) { gap: 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- Phone header: menu left, logo centre, search + cart right ---------- */
@media (max-width: 1079px) {
	.tl-center .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
	.tl-center .header-tools { display: contents; }
	.tl-center .nav-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
	.tl-center .nav-toggle .tool__label { display: none; }
	.tl-center .brand { grid-column: 2; grid-row: 1; justify-self: center; }
	.tl-center .tools-right { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: .5rem; align-items: center; }
	.tl-center .tool--account, .tl-center .cart-total { display: none; }
	.tl-center .search-toggle, .tl-center .tool--cart { width: 44px; height: 44px; min-width: 44px; padding: 0; background: var(--btn); color: var(--on-btn); }
	.tl-center .search-toggle { border-radius: 8px; }
	.tl-center .tool--cart { border-radius: 50%; }
	.tl-center .search-toggle:hover, .tl-center .tool--cart:hover { background: var(--btn-hover); color: var(--on-btn); }
	.tl-center .cart-count { top: -9px; right: -11px; background: var(--accent); color: var(--on-accent); }
	.tl-center .brand__name { font-size: 1.15rem; }
	.tl-center .brand__logo { max-height: 52px; }
	.tl-center .primary-nav { inset: 0 auto 0 0; border-left: 0; border-right: 1px solid var(--line); }
}
@media (min-width: 1080px) { .tools-right { display: flex; align-items: center; gap: .35rem; } }
.site-footer .brand__name, .tl-light .site-footer .brand__name { color: #fff; }
.site-footer .brand { display: inline-flex; justify-content: flex-start; }
.tl-light .list__title { text-transform: uppercase; letter-spacing: .04em; font-size: 1.25rem; }


/* ---------- Intro: text left, image right on computers ---------- */
.intro__grid { display: grid; gap: 2rem; align-items: center; }
.intro--split .intro__inner { max-width: none; }
.intro__media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; margin-inline: auto; }
@media (min-width: 960px) { .intro--split .intro__grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }

/* ---------- Header search box (computers) ---------- */
.header-search { display: none; }
@media (min-width: 1080px) {
	.tl-hsearch .header-search { display: flex; align-items: center; margin-left: auto; width: min(26vw, 300px); border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); overflow: hidden; }
	.tl-hsearch .header-search input { flex: 1; min-width: 0; padding: .65rem 0 .65rem 1.1rem; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .95rem; }
	.tl-hsearch .header-search input:focus { outline: none; }
	.tl-hsearch .header-search:focus-within { border-color: var(--btn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn) 20%, transparent); }
	.tl-hsearch .header-search button { display: grid; place-items: center; width: 44px; height: 42px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
	.tl-hsearch .header-search button:hover { color: var(--btn); }
	.tl-hsearch .search-toggle { display: none; }
	.tl-hsearch .header-tools { margin-left: .5rem; }
	.primary-nav > ul > li > a { padding: .6rem .65rem; }
}


/* ---------- Best sellers: text left, products right ---------- */
.best__grid { display: grid; gap: 2rem; }
.best__text p { color: var(--muted); }
.best__text .btn { margin-top: .5rem; }
.best__products { min-width: 0; }
@media (min-width: 1080px) {
	.best__grid { grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: 3rem; align-items: start; }
	.best--side .carousel__track { grid-auto-columns: calc((100% - 40px) / 3); }
}
.best--side .card { background: transparent; border-color: transparent; box-shadow: none; }
.best--side .card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: none; }
.best--side .card__media { background: #fff; border-radius: var(--radius); }
.best--side .card__body { padding: .9rem .1rem 0; }
.best--side .card .btn--small { display: none; }
.best--side .card__title { font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.tl-light .best--side .card__title a { color: #1f3a66; }
.best--side .card__price { font-size: 1.1rem; padding-top: .2rem; }

/* ---------- Image + text feature: narrower image, wide text (computers) ---------- */
@media (min-width: 900px) {
	.split { grid-template-columns: minmax(280px, 1fr) 1.9fr; gap: 3rem; align-items: start; }
}
.split__media img { aspect-ratio: auto; max-height: 420px; }
.tl-light .split__body .section-title { text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.split .btn-row .btn { min-width: 180px; }

/* ---------- Compact reviews band ---------- */
.section.quote { padding: clamp(2rem, 4.5vw, 3rem) 0; }
.quote__inner { max-width: 760px; }
.quote__mark { width: 32px; height: 32px; margin-bottom: .5rem; }
.quote .stars { margin-bottom: .5rem; }
.quote .stars svg { width: 16px; height: 16px; }
.quote blockquote p, .slider__slide blockquote p { font-size: clamp(.98rem, 1.5vw, 1.12rem); line-height: 1.6; font-weight: 400; margin: 0; }
.quote__name { font-size: 1rem; margin-top: .7rem; }
.quote__name span { font-size: .9rem; }
.slider__dots { margin-top: 1.1rem; }
.slider__dot { width: 11px; height: 11px; }


/* ---------- Top bar colour ---------- */
.topbar { background: var(--topbar-color, var(--topbar-bg, #08090c)); }
.topbar, .topbar a, .topbar .icon { color: #fff; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__inner { font-weight: 600; letter-spacing: .02em; }

/* ---------- About page ---------- */
.page-banner { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: clamp(260px, 52vh, 520px); padding: 4rem 0; text-align: center; background: linear-gradient(160deg, #2a2f38, #0f1115); }
.page-banner--media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 11, 14, .55); }
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.page-banner__title { color: #fff; font-family: var(--font); font-weight: 700; text-transform: none; letter-spacing: -.01em; font-size: clamp(2.6rem, 9vw, 4.6rem); margin: 0 0 .25em; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.tl-light .page-banner__title { color: #fff; }
.page-banner__sub { color: var(--hero-heading, var(--accent)); font-size: clamp(1.35rem, 4.2vw, 2rem); line-height: 1.2; max-width: 760px; margin: 0 auto; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.about__wrap { max-width: 1040px; }
.about__rule { display: block; width: 56px; height: 4px; margin: 0 auto 2.5rem; background: var(--line); border-radius: 2px; }
.tl-light .about__rule { background: #d9dce3; }
.about__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 2.5rem; }
.about__content { font-size: 1.12rem; line-height: 1.8; color: var(--ink); }
.about__content p { margin-bottom: 1.4em; }
.about-points { margin-top: 2.5rem; }
.about-points__title { color: var(--heading, var(--accent)); font-family: var(--font); font-weight: 700; text-transform: none; font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.25; }
.about-points ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .about-points ul { grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem; } }
.about-points li { display: flex; gap: .85rem; align-items: flex-start; font-size: 1.08rem; line-height: 1.55; }
.about-points__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); margin-top: .05rem; }
.about__lists .section { border-top: 1px solid var(--line); }
