/*
Theme Name: Tilgah
Theme URI: https://tilgah.com
Author: Tilgah
Description: A cross-border storefront for selling American products into Saudi Arabia. Every price is a delivered price — shipping, customs and VAT already inside it — and every product page shows what the same item would cost the customer importing it alone. Arabic RTL first, English ready. Built for WooCommerce with no page builder required.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
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: tilgah
Tags: e-commerce, rtl-language-support, translation-ready, custom-logo, custom-colors, full-width-template
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--tg-primary: #0E5C4A;
	--tg-primary-dark: #0B4A3B;
	--tg-primary-soft: #E7F1EE;
	--tg-accent: #E4703A;
	--tg-accent-dark: #C75C2C;
	--tg-ink: #14181D;
	--tg-ink-2: #4A5257;
	--tg-ink-3: #7C8489;
	--tg-sand: #F6F3EE;
	--tg-paper: #FFFFFF;
	--tg-line: #E3DFD7;
	--tg-line-soft: #EFEBE4;
	--tg-good: #0E7C57;
	--tg-warn: #9A6510;
	--tg-warn-soft: #FBF1DE;
	--tg-container: 1320px;
	--tg-radius: 12px;
	--tg-radius-sm: 8px;
	--tg-shadow: 0 1px 2px rgba(20, 24, 29, .05), 0 10px 30px -18px rgba(20, 24, 29, .3);
	--tg-shadow-lg: 0 2px 4px rgba(20, 24, 29, .04), 0 24px 56px -28px rgba(20, 24, 29, .35);
	--tg-font: "IBM Plex Sans Arabic", "SF Arabic", "Geeza Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--tg-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--tg-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--tg-ink);
	background: var(--tg-paper);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--tg-primary);
	text-decoration: none;
}

a:hover {
	color: var(--tg-primary-dark);
	text-decoration: underline;
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -.015em;
	text-wrap: balance;
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(23px, 2.8vw, 33px); }
h3 { font-size: 19px; }

p { margin: 0 0 1em; }

:focus-visible {
	outline: 2px solid var(--tg-primary);
	outline-offset: 2px;
	border-radius: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.tg-skip:focus {
	position: fixed !important;
	inset-inline-start: 16px;
	top: 16px;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	background: var(--tg-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--tg-radius-sm);
}

.tg-container {
	width: min(100% - 32px, var(--tg-container));
	margin-inline: auto;
}

.tg-section {
	padding-block: clamp(44px, 6vw, 84px);
}

.tg-home .tg-section:nth-of-type(even) {
	background: var(--tg-sand);
}

.tg-section-head {
	margin-bottom: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	align-items: flex-end;
	justify-content: space-between;
}

.tg-section-head h2 { margin: 0; }

.tg-section-head p {
	margin: 0;
	color: var(--tg-ink-3);
	max-width: 62ch;
	flex-basis: 100%;
}

.tg-section-link {
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.tg-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tg-primary);
	margin: 0 0 10px;
}

.tg-muted { color: var(--tg-ink-3); }

.tg-prose { max-width: 72ch; }
.tg-prose img { border-radius: var(--tg-radius-sm); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.tg-btn,
button.tg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	padding: 13px 24px;
	border-radius: var(--tg-radius-sm);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	text-decoration: none;
}

.tg-btn:hover { text-decoration: none; }

.tg-btn-accent {
	background: var(--tg-accent);
	border-color: var(--tg-accent);
	color: #fff;
}

.tg-btn-accent:hover {
	background: var(--tg-accent-dark);
	border-color: var(--tg-accent-dark);
	color: #fff;
}

.tg-btn-ghost {
	background: transparent;
	border-color: var(--tg-line);
	color: var(--tg-ink);
}

.tg-btn-ghost:hover {
	border-color: var(--tg-ink);
	color: var(--tg-ink);
}

.tg-btn-lg {
	padding: 16px 30px;
	font-size: 16px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.tg-topbar {
	background: var(--tg-primary);
	color: #fff;
	font-size: 13.5px;
}

.tg-topbar .tg-container {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	padding-block: 6px;
}

.tg-topbar-text { font-weight: 500; }

.tg-lang {
	display: flex;
	gap: 4px;
	font-size: 13px;
}

.tg-lang a {
	color: inherit;
	opacity: .72;
	padding: 2px 8px;
	border-radius: 4px;
}

.tg-lang a.is-current,
.tg-lang a:hover {
	opacity: 1;
	background: rgba(255, 255, 255, .16);
	text-decoration: none;
}

.tg-footer .tg-lang a { color: var(--tg-ink-2); }

.tg-footer .tg-lang a.is-current,
.tg-footer .tg-lang a:hover {
	background: var(--tg-line-soft);
	color: var(--tg-ink);
}

.tg-header {
	background: var(--tg-paper);
	border-bottom: 1px solid var(--tg-line);
}

.tg-sticky-header .tg-header {
	position: sticky;
	top: 0;
	z-index: 50;
}

.tg-header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-block: 14px;
}

.tg-brand { flex: none; }

.tg-wordmark {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--tg-ink);
}

.tg-wordmark:hover { text-decoration: none; }

.tg-wordmark-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tg-accent);
}

.custom-logo { max-height: 48px; width: auto; }

.tg-header-search { flex: 1; min-width: 0; }

.tg-search {
	display: flex;
	align-items: stretch;
	border: 1.5px solid var(--tg-line);
	border-radius: 999px;
	overflow: hidden;
	background: var(--tg-sand);
	max-width: 560px;
}

.tg-search:focus-within {
	border-color: var(--tg-primary);
	background: var(--tg-paper);
}

.tg-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 14.5px;
	padding: 11px 18px;
	color: inherit;
}

.tg-search input[type="search"]:focus { outline: none; }

.tg-search button {
	border: 0;
	background: var(--tg-primary);
	color: #fff;
	padding-inline: 20px;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.tg-search button:hover { background: var(--tg-primary-dark); }

.tg-search-icon,
.tg-cart-icon,
.tg-account-icon,
.tg-wa-icon {
	width: 19px;
	height: 19px;
	display: block;
	background: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.tg-search-icon {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}

.tg-cart-icon {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.6a2 2 0 0 0 2-1.6L21 8H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.6a2 2 0 0 0 2-1.6L21 8H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3C/svg%3E");
}

.tg-account-icon {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.tg-wa-icon {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15L2 22l5.2-1.4A10 10 0 1 0 12 2Zm0 18a8 8 0 0 1-4.1-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 1 1 12 20Zm4.4-5.8c-.2-.1-1.4-.7-1.6-.8s-.4-.1-.5.1l-.7.9c-.1.2-.3.2-.5.1a6.5 6.5 0 0 1-3.2-2.8c-.1-.2 0-.4.1-.5l.4-.5.2-.4v-.4l-.7-1.7c-.2-.4-.4-.4-.5-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4 5.3 5.3 0 0 0 3.2.7 2.6 2.6 0 0 0 1.7-1.2 2.1 2.1 0 0 0 .1-1.2Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15L2 22l5.2-1.4A10 10 0 1 0 12 2Zm0 18a8 8 0 0 1-4.1-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 1 1 12 20Zm4.4-5.8c-.2-.1-1.4-.7-1.6-.8s-.4-.1-.5.1l-.7.9c-.1.2-.3.2-.5.1a6.5 6.5 0 0 1-3.2-2.8c-.1-.2 0-.4.1-.5l.4-.5.2-.4v-.4l-.7-1.7c-.2-.4-.4-.4-.5-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4 5.3 5.3 0 0 0 3.2.7 2.6 2.6 0 0 0 1.7-1.2 2.1 2.1 0 0 0 .1-1.2Z'/%3E%3C/svg%3E");
}

.tg-header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: none;
}

.tg-account,
.tg-cart-link,
.tg-wa {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	border-radius: var(--tg-radius-sm);
	color: var(--tg-ink);
	font-size: 14px;
	font-weight: 500;
	position: relative;
}

.tg-account:hover,
.tg-cart-link:hover,
.tg-wa:hover {
	background: var(--tg-sand);
	color: var(--tg-ink);
	text-decoration: none;
}

.tg-wa { color: var(--tg-good); }

.tg-cart-count {
	min-width: 21px;
	height: 21px;
	padding-inline: 6px;
	border-radius: 999px;
	background: var(--tg-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: grid;
	place-items: center;
	font-variant-numeric: tabular-nums;
}

.tg-cart-count.is-empty { background: var(--tg-ink-3); }

.tg-burger {
	display: none;
	background: transparent;
	border: 1.5px solid var(--tg-line);
	border-radius: var(--tg-radius-sm);
	padding: 10px;
	cursor: pointer;
}

.tg-burger-bars,
.tg-burger-bars::before,
.tg-burger-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--tg-ink);
	border-radius: 2px;
	position: relative;
}

.tg-burger-bars::before,
.tg-burger-bars::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
}

.tg-burger-bars::before { top: -6px; }
.tg-burger-bars::after { top: 6px; }

.tg-nav {
	border-top: 1px solid var(--tg-line-soft);
	background: var(--tg-paper);
}

.tg-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.tg-nav-list a {
	display: block;
	padding: 12px 14px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--tg-ink-2);
	border-bottom: 2px solid transparent;
}

.tg-nav-list a:hover,
.tg-nav-list .current-menu-item > a {
	color: var(--tg-primary);
	border-bottom-color: var(--tg-primary);
	text-decoration: none;
}

.tg-mobile-nav {
	border-top: 1px solid var(--tg-line);
	padding-block: 16px;
}

.tg-mobile-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.tg-mobile-list a {
	display: block;
	padding: 11px 4px;
	border-bottom: 1px solid var(--tg-line-soft);
	color: var(--tg-ink);
	font-weight: 500;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.tg-crumbs {
	background: var(--tg-sand);
	font-size: 13px;
	color: var(--tg-ink-3);
	border-bottom: 1px solid var(--tg-line-soft);
}

.tg-crumbs .tg-container {
	padding-block: 11px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.tg-crumbs a { color: var(--tg-ink-3); }
.tg-crumbs a:hover { color: var(--tg-primary); }
.tg-crumb-sep { opacity: .45; }

/* ==========================================================================
   Hero
   ========================================================================== */

.tg-hero {
	background: linear-gradient(180deg, var(--tg-sand) 0%, var(--tg-paper) 100%);
	padding-block: clamp(40px, 6vw, 76px);
	border-bottom: 1px solid var(--tg-line-soft);
}

.tg-hero-inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.tg-hero-title {
	margin: 0 0 16px;
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1.12;
}

.tg-hero-sub {
	font-size: clamp(16px, 1.6vw, 19px);
	color: var(--tg-ink-2);
	max-width: 46ch;
	margin-bottom: 26px;
}

.tg-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}

.tg-hero-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	font-size: 14px;
	color: var(--tg-ink-2);
}

.tg-hero-points li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tg-hero-points li::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background: var(--tg-primary-soft);
	box-shadow: inset 0 0 0 2px var(--tg-primary);
}

.tg-hero-card {
	background: var(--tg-paper);
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	padding: 26px;
	box-shadow: var(--tg-shadow-lg);
}

.tg-hero-card-title {
	font-size: 17px;
	margin: 0 0 20px;
}

.tg-compare-bars {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 18px;
}

.tg-bar-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 12px;
	align-items: center;
}

.tg-bar-label {
	font-size: 13px;
	color: var(--tg-ink-2);
	grid-column: 1 / -1;
}

.tg-bar {
	display: block;
	height: 12px;
	border-radius: 999px;
	background: var(--tg-line-soft);
	overflow: hidden;
}

.tg-bar-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
}

.tg-bar-high { background: var(--tg-ink-3); }
.tg-bar-low { background: var(--tg-primary); }

.tg-bar-value {
	font-family: var(--tg-mono);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tg-bar-value-good { color: var(--tg-primary); }

.tg-hero-card-foot {
	margin: 0;
	font-size: 13px;
	color: var(--tg-ink-3);
	line-height: 1.65;
	padding-top: 16px;
	border-top: 1px dashed var(--tg-line);
}

/* ==========================================================================
   Trust
   ========================================================================== */

.tg-trust-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
}

.tg-trust-item {
	background: var(--tg-paper);
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	padding: 20px 22px;
	border-top: 3px solid var(--tg-primary);
}

.tg-trust-item h3 { font-size: 16px; margin: 0 0 6px; }

.tg-trust-item p {
	margin: 0;
	font-size: 14px;
	color: var(--tg-ink-3);
	line-height: 1.65;
}

/* ==========================================================================
   Categories
   ========================================================================== */

.tg-cat-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: 16px;
}

.tg-cat-card a {
	display: block;
	background: var(--tg-paper);
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	overflow: hidden;
	color: inherit;
	height: 100%;
	transition: border-color .15s ease, transform .15s ease;
}

.tg-cat-card a:hover {
	border-color: var(--tg-primary);
	transform: translateY(-2px);
	text-decoration: none;
}

.tg-cat-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--tg-sand);
	overflow: hidden;
}

.tg-cat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tg-cat-body {
	display: block;
	padding: 14px 16px 16px;
}

.tg-cat-name {
	display: block;
	font-weight: 600;
	font-size: 15.5px;
	margin-bottom: 2px;
}

.tg-cat-count {
	display: block;
	font-size: 12.5px;
	color: var(--tg-ink-3);
}

.tg-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background:
		repeating-linear-gradient(45deg, var(--tg-line-soft) 0 10px, transparent 10px 20px),
		var(--tg-sand);
}

/* ==========================================================================
   How it works
   ========================================================================== */

.tg-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}

.tg-step {
	position: relative;
	padding-top: 44px;
}

.tg-step-num {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--tg-primary);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--tg-mono);
	font-size: 14px;
	font-weight: 700;
}

.tg-step h3 { font-size: 16.5px; margin: 0 0 6px; }

.tg-step p {
	margin: 0;
	font-size: 14px;
	color: var(--tg-ink-3);
	line-height: 1.65;
}

/* ==========================================================================
   Why / comparison
   ========================================================================== */

.tg-why-grid {
	display: grid;
	grid-template-columns: minmax(200px, .8fr) 1.2fr;
	gap: clamp(20px, 4vw, 48px);
	align-items: center;
}

.tg-why-figure {
	display: block;
	font-family: var(--tg-mono);
	font-size: clamp(56px, 9vw, 96px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--tg-primary);
}

.tg-why-stat p {
	margin: 14px 0 0;
	font-size: 15px;
	color: var(--tg-ink-2);
	max-width: 30ch;
}

.tg-why-example {
	background: var(--tg-paper);
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	padding: 24px 26px;
	box-shadow: var(--tg-shadow);
}

.tg-why-example h3 { margin: 0 0 4px; font-size: 17px; }

.tg-why-example-lede {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--tg-ink-3);
}

.tg-why-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tg-why-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 16px;
	border-radius: var(--tg-radius-sm);
	background: var(--tg-sand);
	font-size: 14.5px;
}

.tg-why-row strong {
	font-family: var(--tg-mono);
	font-size: 17px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tg-why-row-win {
	background: var(--tg-primary-soft);
	box-shadow: inset 0 0 0 1.5px var(--tg-primary);
}

.tg-why-row-win strong { color: var(--tg-primary); }

.tg-why-foot {
	margin: 16px 0 0;
	font-size: 13.5px;
	color: var(--tg-ink-3);
}

/* ==========================================================================
   Request a product
   ========================================================================== */

.tg-quote {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.tg-quote-copy h2 { margin-top: 0; }

.tg-quote-copy > p {
	color: var(--tg-ink-2);
	max-width: 48ch;
}

.tg-quote-points {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14.5px;
	color: var(--tg-ink-2);
}

.tg-quote-points li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.tg-quote-points li::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-top: 9px;
	border-radius: 50%;
	background: var(--tg-accent);
}

.tg-quote-form {
	background: var(--tg-paper);
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	padding: 24px;
	box-shadow: var(--tg-shadow);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tg-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tg-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.tg-field label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tg-ink-2);
}

.tg-optional {
	font-weight: 400;
	color: var(--tg-ink-3);
	font-size: 12px;
}

.tg-field input,
.tg-field textarea {
	font: inherit;
	font-size: 14.5px;
	padding: 11px 13px;
	border: 1.5px solid var(--tg-line);
	border-radius: var(--tg-radius-sm);
	background: var(--tg-paper);
	color: inherit;
	width: 100%;
}

.tg-field input:focus,
.tg-field textarea:focus {
	outline: none;
	border-color: var(--tg-primary);
}

.tg-field textarea { resize: vertical; }

.tg-quote-status {
	margin: 0;
	font-size: 13.5px;
	min-height: 1.2em;
}

.tg-quote-status.is-ok { color: var(--tg-good); }
.tg-quote-status.is-error { color: var(--tg-accent-dark); }

/* ==========================================================================
   Blog
   ========================================================================== */

.tg-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
	padding-block: 48px;
}

.tg-no-sidebar .tg-layout { grid-template-columns: 1fr; }

.tg-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.tg-post-card {
	background: var(--tg-paper);
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	overflow: hidden;
}

.tg-post-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--tg-sand);
	overflow: hidden;
}

.tg-post-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tg-post-body { padding: 16px 18px 18px; }
.tg-post-title { font-size: 17px; margin: 0 0 6px; }
.tg-post-title a { color: var(--tg-ink); }

.tg-post-excerpt {
	font-size: 14px;
	color: var(--tg-ink-3);
	margin: 0 0 10px;
}

.tg-post-date {
	font-size: 12.5px;
	color: var(--tg-ink-3);
}

.tg-single-head { padding-block: 40px 20px; }
.tg-single-title { margin: 0; }

.tg-single-meta {
	font-size: 13px;
	color: var(--tg-ink-3);
	margin: 0 0 10px;
}

.tg-single-media { margin-bottom: 28px; }
.tg-single-media img { border-radius: var(--tg-radius); }

.tg-sidebar .widget { margin-bottom: 28px; }
.tg-sidebar .widget-title { font-size: 15px; }

.tg-empty {
	text-align: center;
	padding-block: 60px;
	color: var(--tg-ink-3);
}

.tg-empty .tg-search { margin: 20px auto; }
.tg-404 h1 { margin-bottom: 8px; }

.tg-comments { padding-block: 40px; max-width: 72ch; }
.tg-comment-list { list-style: none; padding: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.tg-footer {
	background: var(--tg-sand);
	border-top: 1px solid var(--tg-line);
	padding-top: 52px;
	margin-top: 60px;
}

.tg-footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 36px;
}

.tg-footer-about {
	font-size: 14px;
	color: var(--tg-ink-3);
	max-width: 44ch;
	margin: 14px 0 0;
}

.tg-legal {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	font-size: 12.5px;
	color: var(--tg-ink-3);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tg-legal span {
	font-family: var(--tg-mono);
	color: var(--tg-ink-2);
}

.tg-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 14px;
}

.tg-footer-list a { color: var(--tg-ink-2); }

.tg-footer-promise h3 { font-size: 15px; }

.tg-footer-promise ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 13.5px;
	color: var(--tg-ink-3);
}

.tg-footer-promise li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.tg-footer-promise li::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	margin-top: 8px;
	border-radius: 50%;
	background: var(--tg-primary);
}

.tg-footer-bottom {
	border-top: 1px solid var(--tg-line);
	padding-block: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: var(--tg-ink-3);
}

.tg-copy { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.tg-hero-inner,
	.tg-why-grid,
	.tg-quote {
		grid-template-columns: 1fr;
	}

	.tg-layout { grid-template-columns: 1fr; }
	.tg-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.tg-burger { display: block; }
	.tg-nav { display: none; }
	.tg-header-search { display: none; }

	.tg-account-label,
	.tg-wa-label { display: none; }
}

@media (max-width: 640px) {
	.tg-topbar .tg-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.tg-field-row { grid-template-columns: 1fr; }
	.tg-footer-top { grid-template-columns: 1fr; }
	.tg-hero-actions .tg-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}
