/**
 * Orchid Store Child — TSC Printers
 *
 * Styles for the product specification panel and the knowledge base.
 * Scoped under tsc- prefixes so nothing here can leak into parent theme or
 * plugin markup.
 */

:root {
	--tsc-border: #e3e7ed;
	--tsc-bg-soft: #f7f9fb;
	--tsc-text: #23282d;
	--tsc-muted: #616b76;
	--tsc-accent: #d1442f;
	--tsc-radius: 6px;
}

/* ------------------------------------------------------------------ */
/* Key specifications panel — sits beside the product image            */
/* ------------------------------------------------------------------ */

.tsc-key-specs {
	margin: 22px 0;
	padding: 18px 20px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: var(--tsc-bg-soft);
}

.tsc-key-specs__heading {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--tsc-text);
}

.tsc-key-specs__list {
	margin: 0;
	padding: 0;
}

.tsc-key-specs__row {
	display: grid;
	grid-template-columns: minmax(120px, 38%) 1fr;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid var(--tsc-border);
}

.tsc-key-specs__row:last-child {
	border-bottom: 0;
}

.tsc-key-specs__label {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--tsc-muted);
}

.tsc-key-specs__value {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--tsc-text);
	overflow-wrap: anywhere;
}

.tsc-key-specs__more {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tsc-accent);
	text-decoration: none;
}

.tsc-key-specs__more:hover,
.tsc-key-specs__more:focus {
	text-decoration: underline;
}

/* Single column once the summary column gets narrow. */
@media (max-width: 480px) {
	.tsc-key-specs__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* ------------------------------------------------------------------ */
/* Full specification table (Specifications tab)                       */
/* ------------------------------------------------------------------ */

.tsc-spec-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tsc-spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.tsc-spec-table th,
.tsc-spec-table td {
	padding: 11px 14px;
	border: 1px solid var(--tsc-border);
	text-align: left;
	vertical-align: top;
	line-height: 1.5;
}

.tsc-spec-table th {
	width: 32%;
	font-weight: 600;
	color: var(--tsc-muted);
	background: var(--tsc-bg-soft);
}

.tsc-spec-table tr:nth-child(even) td {
	background: #fcfdfe;
}

/* ------------------------------------------------------------------ */
/* Knowledge base                                                      */
/* ------------------------------------------------------------------ */

.tsc-kb-hero {
	padding: 34px 0 26px;
	text-align: center;
}

.tsc-kb-hero__title {
	margin: 0 0 10px;
	font-size: clamp(26px, 4vw, 38px);
	line-height: 1.2;
}

.tsc-kb-hero__intro {
	max-width: 640px;
	margin: 0 auto 22px;
	color: var(--tsc-muted);
	line-height: 1.6;
}

/* Search */

.tsc-kb-search {
	display: flex;
	gap: 8px;
	max-width: 560px;
	margin: 0 auto;
}

.tsc-kb-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	font-size: 15px;
}

.tsc-kb-search__submit {
	flex: 0 0 auto;
	padding: 12px 22px;
	border: 0;
	border-radius: var(--tsc-radius);
	background: var(--tsc-accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.tsc-kb-search__submit:hover {
	filter: brightness(.93);
}

/* Category grid */

.tsc-kb-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
	margin: 8px 0 40px;
}

.tsc-kb-cat {
	display: block;
	padding: 24px 22px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .18s ease, transform .18s ease;
}

.tsc-kb-cat:hover,
.tsc-kb-cat:focus {
	box-shadow: 0 6px 20px rgba(16, 24, 40, .08);
	transform: translateY(-2px);
}

.tsc-kb-cat .bx {
	font-size: 30px;
	color: var(--tsc-accent);
}

.tsc-kb-cat__name {
	display: block;
	margin: 10px 0 6px;
	font-size: 17px;
	font-weight: 700;
}

.tsc-kb-cat__desc {
	display: block;
	margin-bottom: 10px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--tsc-muted);
}

.tsc-kb-cat__count {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--tsc-accent);
}

/* Article cards */

.tsc-kb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
	margin-bottom: 30px;
}

.tsc-kb-card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: #fff;
}

.tsc-kb-card__thumb img {
	width: 100%;
	height: auto;
	margin-bottom: 14px;
	border-radius: 4px;
}

.tsc-kb-card__title {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.35;
}

.tsc-kb-card__title a {
	color: inherit;
	text-decoration: none;
}

.tsc-kb-card__title a:hover {
	color: var(--tsc-accent);
}

.tsc-kb-card__cat {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--tsc-accent);
}

.tsc-kb-card__excerpt {
	flex: 1 1 auto;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

.tsc-kb-card__more {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tsc-accent);
	text-decoration: none;
}

.tsc-kb-card__more:hover {
	text-decoration: underline;
}

.tsc-kb-empty {
	padding: 30px 0;
	color: var(--tsc-muted);
}

/* Single article */

.tsc-kb-article {
	max-width: 780px;
}

.tsc-kb-article__crumbs {
	margin-bottom: 14px;
	font-size: 13px;
	color: var(--tsc-muted);
}

.tsc-kb-article__crumbs a {
	color: var(--tsc-accent);
	text-decoration: none;
}

.tsc-kb-article__title {
	margin: 0 0 8px;
	font-size: clamp(24px, 3.4vw, 32px);
	line-height: 1.25;
}

.tsc-kb-article__meta {
	margin: 0 0 22px;
	font-size: 13px;
	color: var(--tsc-muted);
}

.tsc-kb-article__thumb img {
	width: 100%;
	height: auto;
	border-radius: var(--tsc-radius);
}

.tsc-kb-article__body {
	font-size: 16px;
	line-height: 1.75;
}

.tsc-kb-article__body h2 {
	margin: 32px 0 12px;
	font-size: 22px;
}

.tsc-kb-article__body h3 {
	margin: 26px 0 10px;
	font-size: 18px;
}

.tsc-kb-article__body ol,
.tsc-kb-article__body ul {
	margin: 0 0 18px 22px;
}

.tsc-kb-article__body li {
	margin-bottom: 8px;
}

.tsc-kb-article__footer {
	margin-top: 36px;
	padding: 18px 20px;
	border-radius: var(--tsc-radius);
	background: var(--tsc-bg-soft);
	font-size: 14.5px;
}

.tsc-kb-article__footer a {
	font-weight: 600;
	color: var(--tsc-accent);
}

/* Downloads list */

.tsc-kb-downloads {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsc-kb-download a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	color: inherit;
	text-decoration: none;
}

.tsc-kb-download a:hover {
	border-color: var(--tsc-accent);
}

.tsc-kb-download .bx {
	flex: 0 0 auto;
	font-size: 24px;
	color: #c0392b;
}

.tsc-kb-download__name {
	flex: 1 1 auto;
	font-size: 14.5px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.tsc-kb-download__meta {
	flex: 0 0 auto;
	font-size: 12px;
	color: var(--tsc-muted);
}

/* Related articles on the product page */

.tsc-kb-related {
	margin: 36px 0;
	padding: 20px 22px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
}

.tsc-kb-related h2 {
	margin: 0 0 12px;
	font-size: 18px;
}

.tsc-kb-related ul {
	margin: 0;
	padding-left: 18px;
}

.tsc-kb-related li {
	margin-bottom: 6px;
}

.tsc-kb-related a {
	color: var(--tsc-accent);
	text-decoration: none;
}

.tsc-kb-related a:hover {
	text-decoration: underline;
}

/* Payment gateway outage notice */

.tsc-gateway-error {
	margin: 20px 0;
}

/* ------------------------------------------------------------------ */
/* Brand credibility blocks                                            */
/* ------------------------------------------------------------------ */

.tsc-trust {
	padding: 30px 0;
	background: #10243a;
	color: #fff;
}

.tsc-trust__tagline {
	margin: 0 0 22px;
	font-size: clamp(17px, 2.4vw, 22px);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: #fff;
}

.tsc-trust__service {
	margin: -14px 0 22px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #ffd166;
}

.tsc-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.tsc-trust__item {
	padding: 6px 10px;
}

.tsc-trust__value {
	display: block;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.15;
	color: #ffd166;
}

.tsc-trust__label {
	display: block;
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .85);
}

/* Why Mindware — product pages */

.tsc-why {
	margin: 36px 0;
	padding: 26px 24px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: var(--tsc-bg-soft);
}

.tsc-why__heading {
	margin: 0 0 10px;
	font-size: 20px;
}

.tsc-why__lead {
	max-width: 720px;
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--tsc-muted);
}

.tsc-why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}

.tsc-why__item .bx {
	font-size: 26px;
	color: var(--tsc-accent);
}

.tsc-why__title {
	margin: 8px 0 6px;
	font-size: 15.5px;
	font-weight: 700;
}

.tsc-why__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

/* Service policy — free vs paid */

.tsc-policy {
	margin: 36px 0;
	padding: 26px 24px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
}

.tsc-policy__heading {
	margin: 0 0 18px;
	font-size: 20px;
}

.tsc-policy__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.tsc-policy__item {
	padding: 18px;
	border: 1px solid var(--tsc-border);
	border-left-width: 4px;
	border-radius: var(--tsc-radius);
	background: var(--tsc-bg-soft);
}

/* The free/paid distinction is carried by the icon and the heading text as
   well as the border colour, so it survives for a colour-blind reader. */

.tsc-policy__item--free {
	border-left-color: #1a7f4b;
}

.tsc-policy__item--paid {
	border-left-color: #b26a00;
}

.tsc-policy__item .bx {
	font-size: 24px;
}

.tsc-policy__item--free .bx {
	color: #1a7f4b;
}

.tsc-policy__item--paid .bx {
	color: #b26a00;
}

.tsc-policy__title {
	margin: 6px 0 6px;
	font-size: 15.5px;
	font-weight: 700;
}

.tsc-policy__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

.tsc-policy__note {
	margin: 18px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

/* Manufacturer service certificate */

.tsc-cert {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin: 24px 0 0;
	padding: 18px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: #fff;
}

.tsc-cert__link {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
}

.tsc-cert__image {
	width: 260px;
	max-width: 100%;
	height: auto;
	border: 1px solid var(--tsc-border);
	border-radius: 4px;
}

.tsc-cert__caption {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

.tsc-cert__caption strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	color: var(--tsc-text, inherit);
}

@media (max-width: 600px) {

	.tsc-cert {
		flex-direction: column;
	}

	.tsc-cert__image {
		width: 100%;
	}
}

/* ------------------------------------------------------------------ */
/* Mynds consumables, taffeta, RFID and job work                       */
/* ------------------------------------------------------------------ */

/* One shared shell so the four blocks read as a set rather than as four
   separately-designed sections bolted onto the same page. */

.tsc-mynds,
.tsc-taffeta,
.tsc-rfid,
.tsc-jobwork {
	margin: 36px 0;
	padding: 26px 24px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: var(--tsc-bg-soft);
}

.tsc-mynds__heading,
.tsc-taffeta__heading,
.tsc-rfid__heading,
.tsc-jobwork__heading {
	margin: 0 0 10px;
	font-size: 20px;
}

.tsc-mynds__lead,
.tsc-taffeta__lead,
.tsc-rfid__lead,
.tsc-jobwork__lead {
	max-width: 760px;
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--tsc-muted);
}

.tsc-mynds__grid,
.tsc-taffeta__grid,
.tsc-rfid__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
}

.tsc-mynds__item,
.tsc-taffeta__item,
.tsc-rfid__item {
	padding: 18px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: #fff;
}

.tsc-taffeta__item h3,
.tsc-rfid__item h3 {
	margin: 0 0 8px;
	font-size: 15.5px;
	font-weight: 700;
}

.tsc-taffeta__item p,
.tsc-rfid__item p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

/* Ribbon grade cards */

.tsc-mynds__type {
	display: inline-block;
	margin-bottom: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #10243a;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #ffd166;
}

.tsc-mynds__name {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
}

.tsc-mynds__summary {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

.tsc-mynds__meta {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--tsc-muted);
}

.tsc-mynds__meta:last-child {
	margin-bottom: 0;
}

.tsc-mynds__note,
.tsc-taffeta__note,
.tsc-jobwork__note {
	margin: 20px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

/* Printer compatibility */

.tsc-compat {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--tsc-border);
}

.tsc-compat__heading {
	margin: 0 0 16px;
	font-size: 17px;
}

.tsc-compat__family + .tsc-compat__family {
	margin-top: 18px;
}

.tsc-compat__label {
	margin: 0 0 4px;
	font-size: 14.5px;
	font-weight: 700;
}

.tsc-compat__note {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

.tsc-compat__list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsc-compat__list li {
	padding: 4px 11px;
	border: 1px solid var(--tsc-border);
	border-radius: 999px;
	background: #fff;
	font-size: 12.5px;
}

.tsc-compat__foot {
	margin: 14px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

/* Job work list */

.tsc-jobwork__list {
	margin: 0;
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--tsc-muted);
}

.tsc-jobwork__list li + li {
	margin-top: 8px;
}

.tsc-jobwork__list strong {
	color: var(--tsc-text, inherit);
}

/* Brand / model coverage list */

.tsc-coverage {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
	margin: 24px 0;
}

.tsc-coverage__brand {
	padding: 20px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
}

.tsc-coverage__name {
	margin: 0 0 6px;
	font-size: 17px;
}

.tsc-coverage__note {
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--tsc-muted);
}

.tsc-coverage__models {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsc-coverage__models li {
	padding: 4px 9px;
	border: 1px solid var(--tsc-border);
	border-radius: 4px;
	background: #fff;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--tsc-text);
}

/* ------------------------------------------------------------------ */
/* Floating WhatsApp button                                            */
/* ------------------------------------------------------------------ */

/*
 * The parent theme's back-to-top button is fixed at bottom:30px / right:20px
 * and is 40px square, so this button starts at 84px to clear it with a 14px
 * gap. Both share right:20px so they line up as a single column.
 *
 * Override --tsc-wa-bottom / --tsc-wa-right to move it.
 */
:root {
	--tsc-wa-bottom: 84px;
	--tsc-wa-right: 20px;
	--tsc-wa-size: 56px;
	--tsc-wa-green: #25d366;
}

.tsc-whatsapp {
	position: fixed;
	right: var(--tsc-wa-right);
	bottom: var(--tsc-wa-bottom);
	z-index: 999999998; /* One below the theme's back-to-top so it never covers it. */

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	width: var(--tsc-wa-size);
	height: var(--tsc-wa-size);
	padding: 0;
	box-sizing: border-box;

	border-radius: 999px;
	background: var(--tsc-wa-green);
	color: #fff;
	text-decoration: none;

	box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
	transition: width .22s ease, background-color .22s ease, box-shadow .22s ease, transform .22s ease;
	overflow: hidden;
	white-space: nowrap;
}

.tsc-whatsapp:hover,
.tsc-whatsapp:focus-visible {
	background: #1ebe5b;
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}

.tsc-whatsapp:focus-visible {
	outline: 3px solid #0b3d20;
	outline-offset: 3px;
}

.tsc-whatsapp:active {
	transform: scale(.95);
}

.tsc-whatsapp__icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
}

/*
 * The word "WhatsApp" is present for screen readers and for the hover
 * expansion, but must not force the pill wide in its resting state.
 */
.tsc-whatsapp__text {
	max-width: 0;
	opacity: 0;
	font-size: 15px;
	font-weight: 600;
	transition: max-width .22s ease, opacity .18s ease;
}

/* Expand to a labelled pill on hover, for pointers that can hover. */
@media (hover: hover) and (min-width: 783px) {

	.tsc-whatsapp:hover,
	.tsc-whatsapp:focus-within {
		width: auto;
		padding: 0 22px 0 16px;
	}

	.tsc-whatsapp:hover .tsc-whatsapp__text,
	.tsc-whatsapp:focus-within .tsc-whatsapp__text {
		/* Wide enough for the full number, which is what it now shows. */
		max-width: 190px;
		opacity: 1;
	}
}

/*
 * Touch screens: the sticky bar below carries the number, so the floating
 * circle is hidden rather than duplicated. Two WhatsApp buttons on a phone
 * screen is clutter, and the bar is the one with the number on it.
 */
@media (max-width: 782px) {

	.tsc-whatsapp {
		display: none;
	}
}

/*
 * The Addonify compare dock slides up from the bottom of the viewport when a
 * product is added to compare. Lift the button clear of it while it is open.
 */
body.addonify-compare-dock-open .tsc-whatsapp,
body.adfy-compare-dock-visible .tsc-whatsapp {
	bottom: calc(var(--tsc-wa-bottom) + 72px);
}

@media (prefers-reduced-motion: reduce) {

	.tsc-whatsapp,
	.tsc-whatsapp__text {
		transition: none;
	}

	.tsc-whatsapp:active {
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* Sticky mobile contact bar                                           */
/* ------------------------------------------------------------------ */

/*
 * Hidden by default and revealed under 782px. Done this way round so that a
 * page cached for desktop and served to a phone still behaves — the breakpoint
 * decides, not the cached HTML.
 */
.tsc-mobilebar {
	display: none;
}

@media (max-width: 782px) {

	.tsc-mobilebar {
		position: fixed;
		z-index: 999999999;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		gap: 1px;
		background: #0b5d33;
		/* Clear of the iPhone home indicator. */
		padding-bottom: env(safe-area-inset-bottom, 0);
		box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
	}

	.tsc-mobilebar__btn {
		display: flex;
		flex: 1 1 auto;
		gap: 10px;
		align-items: center;
		justify-content: center;
		/* 54px keeps the tap target above the 44px accessibility minimum. */
		min-height: 54px;
		padding: 8px 12px;
		background: #25d366;
		font-size: 14px;
		line-height: 1.2;
		text-align: left;
		text-decoration: none;
		color: #08341c;
	}

	.tsc-mobilebar__btn--call {
		flex: 0 0 96px;
		justify-content: center;
		background: #10243a;
		color: #fff;
	}

	.tsc-mobilebar__btn strong {
		display: block;
		font-size: 14px;
		font-weight: 700;
	}

	.tsc-mobilebar__btn em {
		display: block;
		font-size: 13px;
		font-style: normal;
		opacity: .85;
	}

	.tsc-mobilebar__btn .tsc-whatsapp__icon {
		width: 24px;
		height: 24px;
	}

	.tsc-mobilebar__btn:focus-visible {
		outline: 3px solid #fff;
		outline-offset: -3px;
	}

	/*
	 * Stop the bar covering the last of the page. Uses the bar height plus the
	 * safe-area inset — without this the footer links are unreachable.
	 */
	body {
		padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px));
	}
}

/* ------------------------------------------------------------------ */
/* WhatsApp paid-service callout                                       */
/* ------------------------------------------------------------------ */

.tsc-waservice {
	margin: 20px 0 0;
	padding: 18px 20px;
	border: 1px solid #25d366;
	border-radius: var(--tsc-radius);
	background: #f2fdf6;
}

.tsc-waservice__lead {
	margin: 0 0 6px;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.45;
}

.tsc-waservice__hint {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

.tsc-waservice__cta {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	min-height: 46px;
	padding: 10px 20px;
	border-radius: 999px;
	background: #25d366;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	color: #08341c;
}

.tsc-waservice__cta:hover,
.tsc-waservice__cta:focus-visible {
	background: #1eb955;
	color: #08341c;
}

.tsc-waservice__cta .tsc-whatsapp__icon {
	width: 22px;
	height: 22px;
}

/* Trust bar service line + number */

.tsc-trust__wa {
	display: inline-block;
	margin-top: 6px;
	font-weight: 700;
	text-decoration: underline;
	color: #7ef0a8;
}

.tsc-trust__wa:hover,
.tsc-trust__wa:focus-visible {
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Google rating bar — sits above the header                           */
/* ------------------------------------------------------------------ */

.tsc-gr {
	background: #fff;
	border-bottom: 1px solid var(--tsc-border);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--tsc-text);
}

.tsc-gr__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 16px;
}

.tsc-gr__score {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

/* Second and subsequent platforms are divided from the first, not floated
   loose beside it. */
.tsc-gr__score + .tsc-gr__score {
	padding-left: 18px;
	border-left: 1px solid var(--tsc-border);
}

.tsc-gr__score:hover .tsc-gr__value,
.tsc-gr__score:focus-visible .tsc-gr__value {
	text-decoration: underline;
}

.tsc-gr__label {
	font-weight: 600;
	color: var(--tsc-muted);
}

.tsc-gr__value {
	font-size: 16px;
	font-weight: 700;
	color: var(--tsc-text);
}

.tsc-gr__count {
	color: var(--tsc-muted);
}

/*
 * Two identical star rows, the coloured one clipped to the score, so a 4.8
 * reads as 4.8 rather than being rounded up to five full stars.
 */

.tsc-gr__stars {
	position: relative;
	display: inline-block;
	height: 16px;
	white-space: nowrap;
}

.tsc-gr__stars-base {
	display: block;
	color: #dadce0;
}

.tsc-gr__stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	overflow: hidden;
	color: #fbbc04;
}

.tsc-gr__stars svg {
	display: inline-block;
	vertical-align: top;
}

.tsc-gr__actions {
	display: inline-flex;
	gap: 14px;
	align-items: center;
}

.tsc-gr__link {
	font-weight: 600;
	text-decoration: underline;
	color: var(--tsc-accent);
}

.tsc-gr__link:hover,
.tsc-gr__link:focus-visible {
	color: var(--tsc-text);
}

/* Shortcode placement inside content: a card rather than a full-width strip. */

.tsc-gr--inline {
	margin: 20px 0;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: var(--tsc-bg-soft);
}

.tsc-gr--inline .tsc-gr__inner {
	padding: 14px 18px;
}

/* ------------------------------------------------------------------ */
/* "Contact Us" navigation button                                      */
/* ------------------------------------------------------------------ */

/*
 * Turns the Contact Us entry into a button so it reads as the thing to do
 * rather than as one more word in the row. Scoped to the .tsc-nav-cta class
 * added in PHP, so no other menu item is affected.
 *
 * The colour is the accent already used for links and calls to action on this
 * site rather than a new one — a nav that introduces its own colour stops
 * looking like a nav and starts looking like an advert.
 */

/*
 * Both selectors on purpose. The menu is drawn by the Themebeez mega-menu
 * walker, which gives every link a .menu-link class and styles it from the
 * parent theme; matching that class as well raises specificity enough to win
 * without resorting to !important on every property.
 */

li.tsc-nav-cta > a.menu-link,
.tsc-nav-cta > a {
	display: inline-flex;
	align-items: center;
	/* 44px keeps it a comfortable tap target on a phone. */
	min-height: 44px;
	margin: 0 0 0 6px;
	padding: 8px 20px;
	border-radius: 999px;
	background: var(--tsc-accent);
	font-weight: 700;
	color: #fff !important;
	white-space: nowrap;
	transition: background .15s ease;
}

li.tsc-nav-cta > a.menu-link:hover,
li.tsc-nav-cta > a.menu-link:focus-visible,
.tsc-nav-cta > a:hover,
.tsc-nav-cta > a:focus-visible {
	background: var(--tsc-text);
	color: #fff !important;
}

/*
 * The parent theme underlines or colour-shifts the current menu item. On a
 * filled button that reads as damage, so those effects are neutralised here.
 */

.tsc-nav-cta > a::before,
.tsc-nav-cta > a::after {
	display: none !important;
}

@media (max-width: 991px) {

	/* In the slide-out mobile menu the row is already full width, so the pill
	   stretches with it instead of floating in the middle of a blank line. */
	.tsc-nav-cta > a {
		justify-content: center;
		margin: 8px 0;
	}
}

/* ------------------------------------------------------------------ */
/* Office location, map and 360 view                                   */
/* ------------------------------------------------------------------ */

.tsc-loc {
	margin: 26px 0;
	padding: 22px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: var(--tsc-bg-soft);
}

.tsc-loc__heading {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
}

.tsc-loc__grid {
	display: grid;
	grid-template-columns: minmax(240px, 320px) 1fr;
	gap: 22px;
	align-items: start;
}

.tsc-loc__address {
	margin: 0 0 16px;
	font-style: normal;
	font-size: 15px;
	line-height: 1.6;
}

.tsc-loc__facts {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.tsc-loc__facts li {
	padding: 8px 0;
	border-bottom: 1px solid var(--tsc-border);
}

.tsc-loc__facts li:last-child {
	border-bottom: 0;
}

.tsc-loc__key {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--tsc-muted);
}

.tsc-loc__val {
	display: block;
	font-size: 14px;
	line-height: 1.5;
	/* Coordinates and Plus Codes must be selectable and must not be re-wrapped
	   into something that no longer copies correctly. */
	overflow-wrap: anywhere;
}

.tsc-loc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.tsc-loc__btn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--tsc-accent);
	border-radius: 999px;
	background: var(--tsc-accent);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: #fff;
}

.tsc-loc__btn--ghost {
	background: transparent;
	color: var(--tsc-accent);
}

.tsc-loc__btn:hover,
.tsc-loc__btn:focus-visible {
	background: var(--tsc-text);
	border-color: var(--tsc-text);
	color: #fff;
}

.tsc-loc__maps {
	display: grid;
	gap: 18px;
}

.tsc-loc__maptitle {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--tsc-muted);
}

.tsc-map__frame {
	display: block;
	width: 100%;
	height: 360px;
	border: 1px solid var(--tsc-border);
	border-radius: var(--tsc-radius);
	background: #e9edf1;
}

.tsc-loc__hint {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--tsc-muted);
}

@media (max-width: 782px) {

	.tsc-loc {
		padding: 18px 14px;
	}

	.tsc-loc__grid {
		grid-template-columns: 1fr;
	}

	.tsc-map__frame {
		height: 280px;
	}
}

/* ------------------------------------------------------------------ */
/* Product carousels — button alignment (Top Selling Products etc.)     */
/* ------------------------------------------------------------------ */

/*
 * The home page product carousels are Unlimited Elements widgets, and their
 * Read More / Add To Cart buttons sat at different heights from card to card.
 *
 * The cause is not the buttons. Every card box is already the same height —
 * .uc_image_carousel_content measures an identical 298px in all of them. What
 * differs is the content above the buttons: a product with a struck-through
 * price and a sale price is two lines, one showing "Get Qoute" is one line, and
 * a title can wrap to one line or two. The buttons then start wherever that
 * content happens to end, so they land 10px apart across the row.
 *
 * .uc_image_carousel_content_inside is a flex column but defaults to
 * flex-grow: 0, so it never expands into the spare room in its parent. Letting
 * it grow and pushing the button block to the bottom puts every button on the
 * same baseline regardless of how much text sits above it.
 */

.ue-woo-item .uc_image_carousel_content_inside {
	flex: 1 1 auto;
}

.ue-woo-item .uc_buttons {
	margin-top: auto;
}

/*
 * Those buttons also print <i class="fas fa-info-circle"> and
 * <i class="fas fa-cart-plus"> — Font Awesome glyphs. Elementor's inline
 * font-icon feature stops the Font Awesome stylesheet loading, but Unlimited
 * Elements still writes the markup, so the browser renders the private-use
 * codepoint in the body font and the customer sees a hollow tofu box next to
 * "Read More".
 *
 * Hidden rather than fixed by loading Font Awesome: pulling in an entire
 * webfont so two decorative icons can appear is a poor trade on a storefront,
 * and the labels read perfectly well without them. To have the icons back
 * instead, turn off Elementor → Settings → Features → Inline Font Icons.
 */

.ue-woo-item .uc_buttons i[class*="fa-"] {
	display: none;
}

/*
 * Same missing font breaks the carousel arrows, which cannot simply be hidden
 * because they are the only way to page through the products. Given a real
 * character they render in any font.
 */

.owl-nav .owl-prev i[class*="fa-"],
.owl-nav .owl-next i[class*="fa-"] {
	font-family: inherit;
	font-style: normal;
	font-size: 26px;
	line-height: 1;
}

.owl-nav .owl-prev i[class*="fa-"]::before {
	content: "\2039";
}

.owl-nav .owl-next i[class*="fa-"]::before {
	content: "\203A";
}

/* ------------------------------------------------------------------ */
/* Social channels — footer, every page                                */
/* ------------------------------------------------------------------ */

.tsc-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	align-items: center;
	justify-content: center;
	padding: 16px;
	border-top: 1px solid var(--tsc-border);
	background: #fff;
}

.tsc-social__lead {
	font-size: 14px;
	font-weight: 600;
	color: var(--tsc-text);
}

.tsc-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsc-social__link {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	/* 44px high so it is a comfortable tap target on a phone. */
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid var(--tsc-border);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--tsc-text);
	background: #fff;
}

.tsc-social__link:hover,
.tsc-social__link:focus-visible {
	color: #fff;
}

/* Each channel takes its own brand colour on hover rather than a generic
   highlight — the colour is how these are recognised at a glance. */

.tsc-social__link--youtube {
	color: #c4302b;
}

.tsc-social__link--youtube:hover,
.tsc-social__link--youtube:focus-visible {
	background: #c4302b;
	border-color: #c4302b;
	color: #fff;
}

.tsc-social__link--facebook {
	color: #1877f2;
}

.tsc-social__link--facebook:hover,
.tsc-social__link--facebook:focus-visible {
	background: #1877f2;
	border-color: #1877f2;
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Visitor counter — footer                                            */
/* ------------------------------------------------------------------ */

.tsc-visits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	justify-content: center;
	padding: 12px 16px;
	border-top: 1px solid var(--tsc-border);
	background: var(--tsc-bg-soft);
	font-size: 13px;
	color: var(--tsc-muted);
}

.tsc-visits__item {
	display: inline-flex;
	gap: 6px;
	align-items: baseline;
}

.tsc-visits__item strong {
	font-size: 15px;
	font-weight: 700;
	color: var(--tsc-text);
	/* The beacon rewrites these numbers a moment after load; a fixed-width
	   figure stops the footer shifting when it does. */
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ */
/* Mobile hardening                                                    */
/* ------------------------------------------------------------------ */

/*
 * Blanket protections against the two things that actually break a store on a
 * phone: something wider than the viewport forcing a horizontal scrollbar, and
 * tap targets too small to hit. Deliberately conservative — no layout is
 * redefined here, only clamped.
 */

img,
video,
iframe,
embed,
object {
	max-width: 100%;
	height: auto;
}

@media (max-width: 782px) {

	/* Wide content scrolls inside its own box rather than the page. */
	.woocommerce table.shop_table,
	.woocommerce-page table.shop_table,
	.woocommerce table.woocommerce-product-attributes,
	.tsc-specs table,
	.entry-content table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	pre,
	code {
		white-space: pre-wrap;
		word-wrap: break-word;
	}

	/* Long model numbers and URLs must not push the layout wide. */
	.tsc-why__text,
	.tsc-mynds__summary,
	.tsc-mynds__meta,
	.tsc-policy__text,
	.tsc-compat__list li,
	.tsc-coverage__models li {
		overflow-wrap: break-word;
		word-break: break-word;
	}

	/* Comfortable reading size and tap targets on the blocks we added. */
	.tsc-why,
	.tsc-policy,
	.tsc-mynds,
	.tsc-taffeta,
	.tsc-rfid,
	.tsc-jobwork {
		padding: 20px 16px;
	}

	.tsc-why__heading,
	.tsc-policy__heading,
	.tsc-mynds__heading,
	.tsc-taffeta__heading,
	.tsc-rfid__heading,
	.tsc-jobwork__heading {
		font-size: 18px;
	}

	.tsc-trust {
		padding: 24px 0;
	}

	.tsc-trust__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.tsc-mynds__grid,
	.tsc-taffeta__grid,
	.tsc-rfid__grid,
	.tsc-policy__grid,
	.tsc-why__grid {
		grid-template-columns: 1fr;
	}

	/* The rating strip stays one line on a phone: the score is the message,
	   the wording around it is not. */
	.tsc-gr__inner {
		gap: 6px 12px;
		padding: 7px 12px;
		font-size: 13px;
	}

	.tsc-gr__label {
		display: none;
	}

	.tsc-gr--inline .tsc-gr__label {
		display: inline;
	}

	/* Wrapped rows make a vertical divider read as a stray rule. */
	.tsc-gr__score + .tsc-gr__score {
		padding-left: 0;
		border-left: 0;
	}

	/* Buttons and links reachable with a thumb. */
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.tsc-waservice__cta {
		min-height: 44px;
		padding-top: 11px;
		padding-bottom: 11px;
	}
}

@media (max-width: 480px) {

	.tsc-trust__grid {
		grid-template-columns: 1fr;
	}

	.tsc-mobilebar__btn strong {
		font-size: 13.5px;
	}

	/* Leaving a review is for a customer who already bought; on the narrowest
	   screens those links cost a whole extra line, and the rating itself still
	   links through to the listing. Kept in the shortcode card, which has the
	   room. */
	.tsc-gr--bar .tsc-gr__actions {
		display: none;
	}
}
