/* ==========================================================================
   Tech Home Service — site styles
   Colours and fonts are defined once below; change them here to restyle.
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin.woff") format("woff");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff") format("woff");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ths-ink: #0E1A2B;
	--ths-ink-2: #23344D;
	--ths-text: #3D4859;
	--ths-muted: #5E6A7C;
	--ths-paper: #F6F3EC;
	--ths-paper-2: #EFEADF;
	--ths-white: #FFFFFF;
	--ths-line: #E3DDD0;
	--ths-accent: #FF5A1F;
	--ths-accent-dark: #E04A12;
	--ths-blue: #2F6BFF;
	--ths-blue-dark: #1F4FD1;
	--ths-mint: #16A37F;
	--ths-radius: 20px;
	--ths-radius-sm: 12px;
	--ths-shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 8px 24px rgba(14, 26, 43, .06);
	--ths-shadow-lg: 0 2px 6px rgba(14, 26, 43, .06), 0 24px 48px rgba(14, 26, 43, .12);
	--ths-font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ths-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ths-header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
html.ths-lock { overflow: hidden; }
body {
	font-family: var(--ths-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ths-text);
	background: var(--ths-paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ths-font-head);
	color: var(--ths-ink);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
}
a { color: var(--ths-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:active { color: var(--ths-blue-dark); }
::selection { background: var(--ths-accent); color: #fff; }
:focus-visible { outline: 3px solid var(--ths-blue); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

button, [type="submit"], [type="button"] {
	border-color: var(--ths-ink);
	color: var(--ths-ink);
	border-radius: 999px;
	font-family: var(--ths-font-body);
	font-weight: 600;
}
button:hover, button:focus, [type="submit"]:hover, [type="submit"]:focus, [type="button"]:hover, [type="button"]:focus {
	background-color: var(--ths-ink);
	color: #fff;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="password"], input[type="url"], select, textarea {
	border: 1.5px solid var(--ths-line);
	border-radius: var(--ths-radius-sm);
	background: #fff;
	padding: .7rem .9rem;
	font: inherit;
	color: var(--ths-ink);
	width: 100%;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--ths-blue);
	box-shadow: 0 0 0 4px rgba(47, 107, 255, .15);
}

.ths-wrap {
	width: 100%;
	max-width: 1248px;
	margin-inline: auto;
	padding-inline: 24px;
}
@media (max-width: 767px) { .ths-wrap { padding-inline: 16px; } }

.ths-icon { flex: none; }

/* ---------- Buttons ---------- */
.ths-btn,
body .ths-el-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 52px;
	padding: .8rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--ths-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.ths-btn:hover, body .ths-el-btn .elementor-button:hover { transform: translateY(-1px); }
.ths-btn:active, body .ths-el-btn .elementor-button:active { transform: none; }
.ths-btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }

.ths-btn--accent,
body .ths-el-btn--accent .elementor-button { background: var(--ths-accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 90, 31, .28); }
.ths-btn--accent:hover, .ths-btn--accent:focus,
body .ths-el-btn--accent .elementor-button:hover,
body .ths-el-btn--accent .elementor-button:focus { background: var(--ths-accent-dark); color: #fff; }

.ths-btn--dark,
body .ths-el-btn--dark .elementor-button { background: var(--ths-ink); color: #fff; }
.ths-btn--dark:hover, .ths-btn--dark:focus,
body .ths-el-btn--dark .elementor-button:hover,
body .ths-el-btn--dark .elementor-button:focus { background: var(--ths-ink-2); color: #fff; }

.ths-btn--ghost, .ths-btn--outline { background: transparent; color: var(--ths-ink); border-color: var(--ths-ink); }
.ths-btn--ghost:hover, .ths-btn--ghost:focus, .ths-btn--outline:hover, .ths-btn--outline:focus { background: var(--ths-ink); color: #fff; }

.ths-btn--light { background: #fff; color: var(--ths-ink); }
.ths-btn--light:hover, .ths-btn--light:focus { background: var(--ths-paper); color: var(--ths-ink); }

body .ths-el-btn .elementor-button-content-wrapper { gap: .5rem; align-items: center; }
body .ths-el-btn .elementor-button-icon svg { width: .85em; height: .85em; fill: currentColor; }
body .ths-el-btn .elementor-button-icon { font-size: .9em; }

/* ---------- Top bar ---------- */
.ths-topbar { background: var(--ths-ink); color: #C9D2E0; font-size: .875rem; }
.ths-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.ths-topbar__msg { margin: 0; }
.ths-topbar__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; white-space: nowrap; }
.ths-topbar__phone:hover { color: #fff; text-decoration: underline; }
.ths-topbar__phone .ths-icon { width: 16px; height: 16px; color: var(--ths-accent); }
@media (max-width: 767px) {
	.ths-topbar__msg { display: none; }
	.ths-topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.ths-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--ths-line);
	transition: box-shadow .2s;
}
.admin-bar .ths-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ths-header { top: 0; } }
.ths-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 26, 43, .08); }
.ths-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--ths-header-h); }

.ths-brand { flex: none; }
.ths-brand .custom-logo-link img { max-height: 48px; width: auto; display: block; }
.ths-brand__link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ths-ink); }
.ths-brand__link:hover { color: var(--ths-ink); }
.ths-brand__mark { width: 40px; height: 40px; border-radius: 11px; }
.ths-brand__name { font-family: var(--ths-font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; }
.ths-brand__link--light, .ths-brand__link--light:hover { color: #fff; }

.ths-nav { flex: 1; display: flex; justify-content: center; }
.ths-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ths-menu > li { position: relative; }
.ths-menu a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: .55rem .9rem;
	border-radius: 999px;
	color: var(--ths-ink);
	font-weight: 600;
	font-size: .975rem;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
@media (max-width: 1360px) {
	.ths-menu { gap: 0; }
	.ths-menu a { padding: .5rem .65rem; font-size: .93rem; }
	.ths-header__inner { gap: 16px; }
}
.ths-menu > li > a:hover, .ths-menu > li.current-menu-item > a, .ths-menu > li.current-menu-ancestor > a { background: var(--ths-paper); color: var(--ths-ink); }
.ths-menu > .menu-item-has-children > a::after {
	content: "";
	width: 7px; height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	margin-left: 6px;
	opacity: .6;
}
.ths-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ths-line);
	border-radius: 16px;
	box-shadow: var(--ths-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.ths-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ths-menu li:hover > .sub-menu, .ths-menu li.is-focus > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ths-menu .sub-menu a { border-radius: 10px; font-weight: 500; }
.ths-menu .sub-menu a:hover { background: var(--ths-paper); }

.ths-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ths-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ths-ink);
	cursor: pointer;
	transition: background-color .2s;
}
.ths-icon-btn:hover, .ths-icon-btn:focus, .ths-icon-btn[aria-expanded="true"] { background: var(--ths-paper); color: var(--ths-ink); }
.ths-icon-btn .ths-icon { width: 22px; height: 22px; }
.ths-cart-count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ths-accent);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}
.ths-cart-count.is-empty { display: none; }
.ths-header__cta { margin-left: 8px; }
.ths-menu-toggle { display: none; }

@media (max-width: 1180px) {
	.ths-nav { display: none; }
	.ths-menu-toggle { display: inline-grid; }
}
@media (max-width: 600px) {
	:root { --ths-header-h: 64px; }
	.ths-header__inner { gap: 8px; }
	.ths-header__cta, .ths-hide-sm { display: none; }
	.ths-brand__name { font-size: 1.05rem; }
	.ths-brand__mark { width: 34px; height: 34px; }
}

/* Search bar */
.ths-search { border-top: 1px solid var(--ths-line); background: #fff; padding: 14px 0; }
.ths-search__form { display: flex; align-items: center; gap: 12px; }
.ths-search__form .ths-icon { color: var(--ths-muted); }
.ths-search__form input[type="search"] { flex: 1; border-radius: 999px; }

/* Drawer */
.ths-drawer { position: fixed; inset: 0; z-index: 1000; }
.ths-drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 26, 43, .5); opacity: 0; transition: opacity .2s; }
.ths-drawer__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(380px, 88vw);
	display: flex;
	flex-direction: column;
	background: #fff;
	transform: translateX(100%);
	transition: transform .22s ease;
	overflow-y: auto;
}
.ths-drawer.is-open .ths-drawer__backdrop { opacity: 1; }
.ths-drawer.is-open .ths-drawer__panel { transform: none; }
.ths-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--ths-line); }
.ths-drawer__title { font-family: var(--ths-font-head); font-weight: 800; color: var(--ths-ink); font-size: 1.1rem; }
.ths-drawer__menu, .ths-drawer nav > .ths-menu { list-style: none; margin: 0; padding: 12px; display: block; }
.ths-drawer__menu li { position: relative; }
.ths-drawer__menu a, .ths-drawer nav > .ths-menu a {
	display: block;
	padding: 14px 52px 14px 12px;
	border-radius: 12px;
	color: var(--ths-ink);
	font-weight: 600;
	font-size: 1.05rem;
	text-decoration: none;
}
.ths-drawer__menu a:hover { background: var(--ths-paper); }
.ths-drawer__menu .sub-menu { display: none; list-style: none; margin: 0 0 6px 12px; padding: 0 0 0 12px; border-left: 2px solid var(--ths-line); }
.ths-drawer__menu .is-open > .sub-menu { display: block; }
.ths-drawer__menu .sub-menu a { font-weight: 500; font-size: 1rem; padding-block: 10px; }
.ths-sub-toggle {
	position: absolute;
	right: 4px;
	top: 6px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--ths-paper);
	color: var(--ths-ink);
}
.ths-sub-toggle:hover, .ths-sub-toggle:focus { background: var(--ths-paper-2); color: var(--ths-ink); }
.ths-sub-toggle svg { transition: transform .2s; }
.is-open > .ths-sub-toggle svg { transform: rotate(180deg); }
.ths-drawer__foot { margin-top: auto; padding: 20px 24px 28px; display: grid; gap: 12px; border-top: 1px solid var(--ths-line); }
.ths-drawer__link { display: flex; align-items: center; gap: 10px; color: var(--ths-ink); font-weight: 600; text-decoration: none; }

/* ---------- Shared bits for Elementor sections ---------- */
.ths-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--ths-font-body);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ths-accent-dark);
	line-height: 1.4;
}
.ths-eyebrow .elementor-heading-title::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.ths-eyebrow--light .elementor-heading-title { color: #FFB394; }

.ths-display .elementor-heading-title {
	font-family: var(--ths-font-head);
	font-size: clamp(2.3rem, 4.8vw, 3.9rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--ths-ink);
}
.ths-display--sm .elementor-heading-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.ths-h2 .elementor-heading-title {
	font-family: var(--ths-font-head);
	font-size: clamp(1.85rem, 3.2vw, 2.65rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: var(--ths-ink);
}
.ths-section--dark .ths-h2 .elementor-heading-title, .ths-h2--light .elementor-heading-title { color: #fff; }
.ths-h3 .elementor-heading-title {
	font-family: var(--ths-font-head);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--ths-ink);
}
.ths-lead { font-size: 1.15rem; color: var(--ths-text); max-width: 34em; }
.ths-lead p, .ths-card-text p, .ths-intro-text p, .ths-body p { margin: 0 0 .8em; }
.ths-lead p:last-child, .ths-card-text p:last-child, .ths-intro-text p:last-child, .ths-body p:last-child { margin-bottom: 0; }
.ths-card-text { color: var(--ths-muted); font-size: .97rem; line-height: 1.6; }
.ths-intro { max-width: 760px; margin-inline: auto !important; align-self: center; text-align: center; }
.ths-intro-text { font-size: 1.1rem; color: var(--ths-muted); text-align: center; }
.ths-intro-text--light, .ths-section--dark .ths-intro-text { color: #C9D2E0; }
.ths-big { font-family: var(--ths-font-head); font-size: 1.3rem; font-weight: 700; color: var(--ths-ink); line-height: 1.4; }
.ths-inline .elementor-shortcode { display: inline-flex; }

/* Pills */
.ths-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ths-pills__label { font-size: .875rem; color: var(--ths-muted); margin-right: 2px; }
.ths-pill {
	display: inline-flex;
	padding: .4rem .85rem;
	border-radius: 999px;
	border: 1px solid var(--ths-line);
	background: rgba(255, 255, 255, .7);
	color: var(--ths-ink);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
.ths-pill:hover, .ths-pill:focus { border-color: var(--ths-ink); background: #fff; color: var(--ths-ink); }

/* Checklists (Elementor icon list) */
body .ths-checklist .elementor-icon-list-items { display: grid; gap: 8px; }
body .ths-checklist .elementor-icon-list-item { align-items: flex-start; }
body .ths-checklist .elementor-icon-list-icon {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 999px;
	background: rgba(22, 163, 127, .12);
	display: grid;
	place-items: center;
}
body .ths-checklist .elementor-icon-list-icon i { color: var(--ths-mint); font-size: 11px; }
body .ths-checklist .elementor-icon-list-icon svg { fill: var(--ths-mint); width: 11px; height: 11px; }
body .ths-checklist .elementor-icon-list-text { color: var(--ths-text); font-size: .97rem; line-height: 1.5; padding-left: 10px; }
body .ths-checklist--two .elementor-icon-list-items { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
@media (max-width: 600px) { body .ths-checklist--two .elementor-icon-list-items { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.ths-hero {
	background:
		radial-gradient(60% 70% at 85% 30%, rgba(47, 107, 255, .10), transparent 70%),
		radial-gradient(50% 60% at 10% 90%, rgba(255, 90, 31, .08), transparent 70%),
		var(--ths-paper);
}
.ths-hero__img img { width: 100%; border-radius: 28px; box-shadow: var(--ths-shadow-lg); }
.ths-hero__pills { margin-top: 8px; }

/* ---------- Sections ---------- */
.ths-section--white { background: var(--ths-white); }
.ths-section--dark { background: var(--ths-ink); color: #C9D2E0; }

/* Category cards */
.ths-cat-card {
	background: var(--ths-paper) !important;
	border: 1px solid var(--ths-line);
	--border-radius: var(--ths-radius);
	border-radius: var(--ths-radius) !important;
	padding: 14px 14px 20px !important;
	text-decoration: none;
	color: inherit;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ths-cat-card:hover, .ths-cat-card:focus-visible { transform: translateY(-4px); box-shadow: var(--ths-shadow-lg); border-color: transparent; color: inherit; }
.ths-cat-card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.ths-cat-card .ths-h3, .ths-cat-card .ths-card-text, .ths-cat-card .ths-card-link { padding-inline: 6px; }
.ths-cat-card .ths-card-text { flex-grow: 1; }
.ths-card-link .elementor-heading-title { font-family: var(--ths-font-body); font-size: .92rem; font-weight: 700; color: var(--ths-blue); line-height: 1.3; }
.ths-cat-card:hover .ths-card-link .elementor-heading-title { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
	/* Compact, side-by-side category cards on phones */
	.ths-cat-card {
		display: grid !important;
		grid-template-columns: 92px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 4px;
		align-items: start;
		padding: 12px !important;
	}
	.ths-cat-card > .ths-cat-card__img { grid-row: 1 / span 3; }
	.ths-cat-card .ths-h3, .ths-cat-card .ths-card-text, .ths-cat-card .ths-card-link { padding-inline: 0; }
	.ths-cat-card .ths-card-text { font-size: .92rem; }
	.ths-product-card__img img { aspect-ratio: 16 / 10; }
}

/* Steps */
.ths-step {
	position: relative;
	background: rgba(255, 255, 255, .05) !important;
	border: 1px solid rgba(255, 255, 255, .1);
	--border-radius: var(--ths-radius);
	border-radius: var(--ths-radius) !important;
	padding: 32px 28px !important;
}
.ths-step .ths-h3 .elementor-heading-title { color: #fff; font-size: 1.3rem; }
.ths-step .ths-card-text { color: #B8C3D4; }
.ths-step__num .elementor-heading-title {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--ths-accent);
	color: #fff;
	font-family: var(--ths-font-head);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

/* About */
.ths-about__img img { width: 100%; border-radius: 28px; }

/* Featured product cards */
.ths-product-card {
	background: var(--ths-paper) !important;
	border: 1px solid var(--ths-line);
	--border-radius: var(--ths-radius);
	border-radius: var(--ths-radius) !important;
	padding: 16px 16px 24px !important;
	transition: box-shadow .25s, transform .25s;
}
.ths-product-card:hover { box-shadow: var(--ths-shadow-lg); transform: translateY(-3px); }
.ths-product-card > .ths-h3, .ths-product-card > .ths-card-text, .ths-product-card > .ths-checklist, .ths-product-card > .ths-el-btn { padding-inline: 8px; }
.ths-product-card > .ths-checklist { flex-grow: 1; }
.ths-product-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.ths-product-card--wide { padding: 20px 28px 20px 20px !important; background: linear-gradient(135deg, #FFEDE3 0%, #FBF4EC 45%, var(--ths-paper) 100%) !important; border-color: #F5D9C8; }
.ths-product-card--wide .ths-product-card__img img { aspect-ratio: 1; }
.ths-product-card--wide .ths-h3 .elementor-heading-title { font-size: 1.75rem; }
@media (max-width: 767px) { .ths-product-card--wide { padding: 16px 16px 24px !important; } }
.ths-badge .elementor-heading-title {
	display: inline-block;
	padding: .3rem .7rem;
	border-radius: 999px;
	background: var(--ths-accent);
	color: #fff;
	font-family: var(--ths-font-body);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.3;
}

/* Why us (icon boxes) */
.ths-why {
	background: #fff;
	border: 1px solid var(--ths-line);
	border-radius: var(--ths-radius);
	padding: 28px;
	height: 100%;
}
body .ths-why .elementor-icon { background-color: var(--ths-ink) !important; color: #fff !important; fill: #fff !important; font-size: 22px; padding: 16px; border-radius: 14px !important; }
body .ths-why .elementor-icon svg { fill: #fff; }
body .ths-why .elementor-icon-box-wrapper { gap: 20px; text-align: left; }
body .ths-why .elementor-icon-box-icon { margin: 0 !important; }
body .ths-why .elementor-icon-box-title { margin: 0 0 6px; font-family: var(--ths-font-head); font-size: 1.2rem; font-weight: 800; color: var(--ths-ink); }
body .ths-why .elementor-icon-box-title a, body .ths-why .elementor-icon-box-title span { color: var(--ths-ink); }
body .ths-why .elementor-icon-box-description { margin: 0; color: var(--ths-muted); }

/* CTA */
.ths-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px) !important;
	--border-radius: 32px;
	border-radius: 32px !important;
	background:
		radial-gradient(60% 90% at 100% 0%, rgba(255, 90, 31, .35), transparent 60%),
		radial-gradient(50% 80% at 0% 100%, rgba(47, 107, 255, .35), transparent 60%),
		var(--ths-ink) !important;
	text-align: center;
}
.ths-cta .ths-intro-text { max-width: 36em; }
.ths-cta .ths-eyebrow .elementor-heading-title::before { display: none; }

/* ---------- Contact page ---------- */
.ths-contact-cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.ths-contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--ths-line); border-radius: 16px; }
.ths-contact-card strong { display: block; color: var(--ths-ink); font-family: var(--ths-font-head); }
.ths-contact-card a { color: var(--ths-ink); }
.ths-contact-card__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--ths-paper); color: var(--ths-accent-dark); }
.ths-form-card { background: #fff !important; border: 1px solid var(--ths-line); --border-radius: 24px; border-radius: 24px !important; padding: clamp(20px, 4vw, 40px) !important; box-shadow: var(--ths-shadow); gap: 12px !important; }

/* ---------- Forms ---------- */
.ths-form { display: grid; gap: 4px; }
.ths-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .ths-form__row { grid-template-columns: 1fr; } }
.ths-field { margin: 0 0 14px; }
.ths-field label { display: block; margin-bottom: 6px; color: var(--ths-ink); font-weight: 600; font-size: .95rem; }
.ths-field label span { color: var(--ths-accent-dark); }
.ths-form__submit { margin: 4px 0 0; }
.ths-form__note { font-size: .875rem; color: var(--ths-muted); margin: 8px 0 0; }
.ths-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ths-notice { padding: 14px 16px; border-radius: 12px; margin: 0 0 16px; font-weight: 500; }
.ths-notice--ok { background: #E7F6F1; color: #0D6B53; }
.ths-notice--error { background: #FFEDE6; color: #A1340C; }

/* ---------- Regular pages (Privacy, Terms, Cart, Checkout, Account) ---------- */
body.ths:not([class*="elementor-page-"]) .site-main:not(.ths-shop-main) {
	max-width: 1248px;
	padding: 48px 24px 96px;
}
body.ths .page-header .entry-title {
	max-width: none;
	margin: 0 0 24px;
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.03em;
}
@media (max-width: 767px) {
	body.ths:not([class*="elementor-page-"]) .site-main:not(.ths-shop-main) { padding: 32px 16px 72px; }
}

/* Legal pages: comfortable reading width */
body.ths-legal .site-main,
body.ths-legal[class*="elementor-page-"] .site-main {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 908px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 48px 24px 96px !important;
}
body.ths-legal .page-header .entry-title { padding: 0; margin-left: 0; overflow-wrap: anywhere; }
body.ths-legal .page-content .e-con,
body.ths-legal .page-content .elementor-section { --padding-left: 0px; --padding-right: 0px; padding-left: 0; padding-right: 0; }
body.ths-legal .page-content .e-con-inner,
body.ths-legal .page-content .elementor-container { max-width: 100% !important; }
@media (max-width: 767px) {
	body.ths-legal .site-main, body.ths-legal[class*="elementor-page-"] .site-main { padding: 32px 16px 72px !important; }
}
body.ths-legal .page-content {
	background: #fff;
	border: 1px solid var(--ths-line);
	border-radius: 24px;
	padding: clamp(24px, 5vw, 56px);
	font-size: 1.02rem;
}
body.ths-legal .page-content h2 {
	font-size: 1.3rem;
	margin: 2.2em 0 .6em;
	padding-top: 1.2em;
	border-top: 1px solid var(--ths-line);
}
body.ths-legal .page-content h2:first-of-type { margin-top: 1.2em; }
body.ths-legal .page-content ul { padding-left: 1.2em; margin: 0 0 1.2em; }
body.ths-legal .page-content li { margin: .3em 0; }
body.ths-legal .page-content li::marker { color: var(--ths-accent); }
.ths-effective-date strong {
	display: inline-block;
	padding: .35rem .8rem;
	border-radius: 999px;
	background: var(--ths-paper);
	color: var(--ths-ink);
	font-size: .875rem;
}

/* ---------- Footer ---------- */
.ths-footer { background: var(--ths-ink); color: #AFBACB; font-size: .95rem; }
.ths-footer a { color: #DCE3EE; text-decoration: none; }
.ths-footer a:hover, .ths-footer a:focus { color: #fff; text-decoration: underline; }
.ths-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
@media (max-width: 960px) { .ths-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ths-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 32px; } }
.ths-footer__tag { margin: 18px 0 6px; color: #fff; font-family: var(--ths-font-head); font-weight: 700; font-size: 1.1rem; }
.ths-footer__h { margin: 0 0 14px; color: #fff; font-size: .8rem; font-family: var(--ths-font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ths-footer__list, .ths-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ths-footer__contact { margin-bottom: 18px; }
.ths-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ths-footer__contact .ths-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ths-accent); }
.ths-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px 28px; }
.ths-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ths-footer__bottom p { margin: 0; }
.ths-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.ths-footer__bottom p.ths-footer__fine { margin: 14px auto 0; font-size: .8rem; color: #7F8BA0; }

/* Mobile quick-action bar */
.ths-mobile-bar { display: none; }
@media (max-width: 767px) {
	.ths-footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.ths-mobile-bar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 1fr 1.3fr 1fr;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--ths-line);
	}
	.ths-mobile-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 48px;
		border-radius: 14px;
		color: var(--ths-ink);
		font-weight: 600;
		font-size: .92rem;
		text-decoration: none;
		background: var(--ths-paper);
	}
	.ths-mobile-bar a.is-primary { background: var(--ths-accent); color: #fff; }
}

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.site-main.ths-shop-main { max-width: none !important; width: 100%; padding: 40px 0 96px !important; }
.woocommerce .woocommerce-breadcrumb { font-size: .875rem; color: var(--ths-muted); margin-bottom: 16px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ths-muted); }
.woocommerce-products-header { margin-bottom: 20px; }
.woocommerce-products-header__title.page-title { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 0 0 12px; }
.woocommerce-products-header .term-description { color: var(--ths-muted); font-size: 1.05rem; max-width: 46em; }
.woocommerce-products-header .ths-pills { margin: 16px 0 8px; }
.woocommerce .woocommerce-result-count { color: var(--ths-muted); font-size: .92rem; margin: 10px 0 24px; }
.woocommerce .woocommerce-ordering select { width: auto; border-radius: 999px; padding-right: 2.4rem; }

/* Product grid */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 32px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	padding: 14px 14px 20px;
	background: #fff;
	border: 1px solid var(--ths-line);
	border-radius: var(--ths-radius);
	transition: box-shadow .25s, transform .25s;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--ths-shadow-lg); transform: translateY(-3px); }
.woocommerce ul.products li.product a img { border-radius: 14px; margin: 0 0 14px; background: var(--ths-paper); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--ths-font-head); font-size: 1.15rem !important; font-weight: 800; color: var(--ths-ink); padding: 0 4px !important; margin-bottom: 6px; }
.woocommerce ul.products li.product .price { padding: 0 4px; color: var(--ths-ink) !important; font-weight: 700; font-size: 1.05rem !important; margin-bottom: 14px !important; }
.woocommerce ul.products li.product .button { margin: auto 4px 0 !important; align-self: flex-start; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { background: var(--ths-accent); border-radius: 999px; min-height: 0; min-width: 0; padding: .3rem .7rem; line-height: 1.3; font-size: .78rem; top: 22px; left: 22px; right: auto; margin: 0; }
@media (max-width: 960px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 520px) { .woocommerce ul.products { grid-template-columns: 1fr; } }
.ths-price-ask { color: var(--ths-muted); font-weight: 600; font-size: .95rem; }

/* Buttons */
.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,
.wc-block-components-button:not(.is-link), .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: .7rem 1.3rem;
	border: 0;
	border-radius: 999px !important;
	background: var(--ths-ink);
	color: #fff;
	font-family: var(--ths-font-body);
	font-weight: 600;
	font-size: .97rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, transform .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--ths-ink-2); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button, .woocommerce a.checkout-button,
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--ths-accent) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(255, 90, 31, .25);
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce .single_add_to_cart_button:hover,
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--ths-accent-dark) !important; }
.woocommerce a.added_to_cart { margin-left: 10px; font-weight: 600; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: 24px; background: #fff; }
.woocommerce div.product .woocommerce-product-gallery { border-radius: 24px; overflow: hidden; border: 1px solid var(--ths-line); background: #fff; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells, .woocommerce div.product .ths-mini-steps { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ths-ink); font-family: var(--ths-font-head); font-weight: 800; font-size: 1.6rem; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.05rem; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart .quantity { margin: 0 !important; float: none; }
.woocommerce .quantity .qty { width: 5rem; min-height: 52px; border-radius: 999px; text-align: center; }
.woocommerce div.product form.cart .button { float: none; min-height: 52px; padding-inline: 2rem; font-size: 1.02rem; }
.woocommerce div.product .product_meta { font-size: .9rem; color: var(--ths-muted); border-top: 1px solid var(--ths-line); padding-top: 16px; }
.woocommerce div.product .product_meta a { color: var(--ths-ink); }
@media (max-width: 860px) { .woocommerce div.product { grid-template-columns: 1fr; gap: 28px; } }

ul.ths-features { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
ul.ths-features li { position: relative; padding-left: 32px; }
ul.ths-features li::before {
	content: "";
	position: absolute;
	left: 0; top: 2px;
	width: 22px; height: 22px;
	border-radius: 999px;
	background: rgba(22, 163, 127, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A37F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ths-product-note { background: var(--ths-paper); border-radius: 14px; padding: 14px 18px; font-size: .95rem; }

.ths-help-box { display: flex; gap: 14px; margin: 8px 0 24px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ths-line); }
.ths-help-box__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ths-paper); color: var(--ths-accent-dark); }
.ths-help-box strong { color: var(--ths-ink); font-family: var(--ths-font-head); }
.ths-help-box p { margin: 2px 0 12px; color: var(--ths-muted); font-size: .95rem; }
.ths-help-box .ths-btn { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }

.ths-mini-steps { list-style: none; margin: 8px 0 0; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--ths-ink); border-radius: 22px; }
.ths-mini-steps li { display: flex; gap: 12px; color: #B8C3D4; font-size: .93rem; line-height: 1.5; }
.ths-mini-steps strong { display: block; color: #fff; font-family: var(--ths-font-head); font-size: 1rem; }
.ths-mini-steps__n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ths-accent); color: #fff; font-weight: 800; font-family: var(--ths-font-head); }
@media (max-width: 760px) { .ths-mini-steps { grid-template-columns: 1fr; } }

.woocommerce div.product .woocommerce-tabs { background: #fff; border: 1px solid var(--ths-line); border-radius: 24px; padding: 8px clamp(20px, 4vw, 40px) 32px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--ths-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 18px 0 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: 16px 0; color: var(--ths-muted); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ths-ink); box-shadow: inset 0 -3px 0 var(--ths-accent); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 1.5rem; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 1.6rem; margin: 24px 0 20px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	border: 0 !important;
	border-radius: 14px;
	background: #fff !important;
	box-shadow: var(--ths-shadow);
}
.woocommerce-message { border-left: 4px solid var(--ths-mint) !important; }
.woocommerce-info { border-left: 4px solid var(--ths-blue) !important; }
.woocommerce-error { border-left: 4px solid var(--ths-accent) !important; }
.woocommerce-message::before { color: var(--ths-mint); }
.woocommerce-info::before { color: var(--ths-blue); }

/* Cart & checkout (block + classic) */
.wc-block-cart, .wc-block-checkout, .woocommerce-cart-form, .woocommerce .cart-collaterals, .woocommerce-checkout {
	--wp--preset--color--contrast: var(--ths-ink);
}
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { background: #fff; border: 1px solid var(--ths-line); border-radius: 24px; padding: clamp(16px, 3vw, 36px); }
.wc-block-components-totals-item__label, .wc-block-components-product-name { color: var(--ths-ink); font-weight: 600; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: 12px !important; }
.woocommerce table.shop_table { border-radius: 16px; border-color: var(--ths-line); background: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ths-ink); text-decoration: none; font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Woo cart/checkout blocks come with "wide" alignment — keep them inside the page */
.wp-block-woocommerce-cart.alignwide, .wp-block-woocommerce-checkout.alignwide { margin-inline: 0 !important; max-width: none; width: auto; }

/* ==========================================================================
   Monthly plan checkout (Stripe)
   ========================================================================== */
.site-main.ths-sub { max-width: none !important; padding: 48px 0 96px !important; }
.ths-sub__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .ths-sub__grid { grid-template-columns: 1fr; } }
.ths-sub__summary, .ths-sub__pay, .ths-sub__done {
	background: #fff;
	border: 1px solid var(--ths-line);
	border-radius: 24px;
	padding: clamp(20px, 4vw, 36px);
}
.ths-sub__summary { position: sticky; top: calc(var(--ths-header-h) + 24px); }
@media (max-width: 900px) { .ths-sub__summary { position: static; } }
.ths-sub__eyebrow { margin: 0 0 6px; color: var(--ths-accent-dark); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.ths-sub__summary h1 { margin: 0 0 4px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; }
.ths-sub__price { margin: 0 0 20px; font-size: 1.1rem; color: var(--ths-muted); }
.ths-sub__price strong { font-family: var(--ths-font-head); font-size: 2rem; color: var(--ths-ink); }
.ths-sub__summary h2 { font-size: .85rem; font-family: var(--ths-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ths-muted); margin: 0 0 8px; }
.ths-sub__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ths-line); }
.ths-sub__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ths-line); color: var(--ths-ink); }
.ths-sub__lines li small { color: var(--ths-muted); }
.ths-sub__lines em { font-style: normal; font-weight: 700; color: var(--ths-mint); }
.ths-sub__lines .ths-sub__total { font-family: var(--ths-font-head); font-weight: 800; font-size: 1.2rem; border-bottom: 0; }
.ths-sub__then { background: var(--ths-paper); border-radius: 12px; padding: 12px 14px; color: var(--ths-ink); font-weight: 600; }
.ths-sub__secure { display: flex; gap: 8px; align-items: flex-start; color: var(--ths-muted); font-size: .9rem; margin: 12px 0 0; }
.ths-sub__secure .ths-icon { color: var(--ths-mint); width: 18px; height: 18px; margin-top: 2px; }
.ths-sub__terms { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--ths-line); border-radius: 14px; margin-bottom: 16px; cursor: pointer; line-height: 1.5; }
.ths-sub__terms input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ths-accent); }
.ths-sub__terms:has(input:checked) { border-color: var(--ths-mint); background: #f2fbf8; }
.ths-sub__embed { min-height: 120px; }
.ths-sub__hint { color: var(--ths-muted); text-align: center; padding: 32px 12px; border: 2px dashed var(--ths-line); border-radius: 14px; margin: 0; }
.ths-sub__done { max-width: 680px; margin: 0 auto; text-align: center; }
.ths-sub__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: #e7f6f1; color: var(--ths-mint); margin-bottom: 12px; }
.ths-sub__tick .ths-icon { width: 34px; height: 34px; }
.ths-sub__lead { font-size: 1.15rem; color: var(--ths-ink); }
