/*
Theme Name: Threads Lab
Theme URI: https://threadslabin.com
Author: Vijay Boghara
Author URI: https://www.lionicdigital.com
Description: Custom WooCommerce theme for Threads Lab (threadslab.in), a store for oversized embroidered t-shirts. Product listings show a short spec line pulled from your product attributes. The top bar text, phone, WhatsApp, UPI ID, ships-from city and returns note are set from the Customizer instead of in code. Page-wise stylesheets load only where they are needed. Translation ready.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
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: threadslabin
Tags: e-commerce, custom-menu, custom-logo, featured-images, translation-ready, right-sidebar
*/

/****** Tokens ******/
:root {
	--chalk: #f3f2ed;
	--card: #ffffff;
	--ink: #1a1d1a;
	--ink-soft: #5d625c;
	--indigo: #27408b;
	--indigo-deep: #1b2e63;
	--madder: #a8402f;
	--thread: #c9bea9;
	--rule: #d8d6cd;
	--rule-strong: #a9a79c;
	--display: "Archivo", "Noto Sans Gujarati", system-ui, sans-serif;
	--body: "Karla", "Noto Sans Gujarati", system-ui, sans-serif;
	--wrap: 1360px;
	--wrap-narrow: 680px;
	--radius: 2px;
}

/****** Base ******/
*,
*::before,
*::after { box-sizing: border-box; }
/*
 * Two declarations for the same thing, on purpose.
 *
 * overflow-x: clip is the right one: it stops sideways scrolling
 * without making the element a scroll container, so position: sticky
 * carries on working. It only shipped in Safari 16 though, and a phone
 * older than that ignores the line completely - which is why the site
 * scrolled sideways on a real device while looking fine in DevTools.
 *
 * hidden is understood everywhere and is overridden by clip wherever
 * clip exists, so old phones get the guard and new ones get the better
 * version of it.
 *
 * On html ONLY. The root's overflow is handed to the viewport, and the
 * viewport still scrolls vertically, so nothing about sticky changes.
 * The same declaration on body would turn body itself into a scroll
 * container and the sticky header would stop sticking - which is what
 * broke the layout when this was tried on #page and .site-main.
 */
html {
	max-width: 100%;
	overflow-x: hidden;
	overflow-x: clip;
}

body {
	max-width: 100%;
	overflow-x: clip;
}
/* Keep the sticky sidebar clear of the sticky header */
body.custom-woo-cart .wc-block-components-sidebar,
body.custom-woo-cart .wc-block-cart__sidebar {
	top: calc(var(--header-height, 78px) + 24px) !important;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--madder);
	outline-offset: 2px;
}
h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 6.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
blockquote {
	margin: 1.5em 0;
	padding-left: 1.2em;
	border-left: 2px solid var(--madder);
	font-size: 1.1rem;
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.55em 0.7em; border-bottom: 1px solid var(--rule); text-align: left; }
th { font-family: var(--display); font-weight: 600; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999;
	width: auto; height: auto; clip: auto; clip-path: none;
	background: var(--indigo); color: #fff; padding: 0.7em 1.2em;
}

/****** Layout ******/
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.site-main { padding: clamp(2rem, 6vw, 4.5rem) 0; }
.content-area { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
	.has-sidebar .content-area { grid-template-columns: minmax(0, 1fr) 280px; }
}

/****** Controls ******/
.btn,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-block;
	font-family: var(--display);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	padding: 0.8em 1.6em;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--indigo);
	border-color: var(--indigo);
	color: #fff;
}
.btn-line,
.woocommerce a.button.btn-line {
	background: transparent;
	color: var(--ink);
	border-color: var(--rule-strong);
}
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt {
	background: var(--indigo);
	border-color: var(--indigo);
	color: #fff;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
	background: var(--indigo-deep);
	border-color: var(--indigo-deep);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
	width: 100%;
	font-family: var(--body);
	font-size: 1rem;
	padding: 0.65em 0.8em;
	background: var(--card);
	color: var(--ink);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
}

/****** Main Header ******/
.site-header,
.tl-cart-panel,
.mobile-panel {
	--hd-ink: var(--ink, #1a1d1a);
	--hd-bg: var(--chalk, #f3f2ed);
	--hd-line: var(--rule, #d8d6cd);
	--hd-line-soft: rgba(26, 29, 26, 0.08);
	--hd-accent: var(--madder, #a8402f);
	--hd-accent-dark: #8c3526;
	--hd-muted: var(--ink-soft, #5d625c);
	--hd-radius: 10px;
	--hd-shadow: 0 18px 44px rgba(26, 29, 26, 0.12);
}
/* TOP BAR
   An announcement strip above the header. It scrolls away while the
   header stays stuck, which is what you want: the message is worth one
   read, the navigation is worth keeping. */
.topbar {
	background: var(--ink, #1a1d1a);
	color: #fff;
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.topbar .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.4rem;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0;
	text-align: center;
}

.topbar a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	transition: border-color 0.16s ease;
}

.topbar a:hover { border-color: #fff; }

/* Phone: smaller type and tighter padding, so a full sentence still
   fits on two lines instead of pushing the header down the page */
@media (max-width: 600px) {
	.topbar { font-size: 0.76rem; letter-spacing: 0.02em; }
	.topbar .wrap { padding: 0.45rem 0; gap: 0.15rem 0.9rem; }
}

@media (max-width: 380px) {
	.topbar { font-size: 0.72rem; }
}
/* HEADER BAR - logo left, menu centre, icons right */
.site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	background: var(--hd-bg);
	border-bottom: 1px solid var(--hd-ink);
}
.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.25rem;
	padding: 0.8rem 0;
}
.site-branding { min-width: 0; margin: 0; }
.site-branding .custom-logo { max-height: 70px; width: auto; }
.site-title {
	font-family: var(--display, system-ui, sans-serif);
	font-size: clamp(1.2rem, 2.6vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 0;
	line-height: 1.1;
}
.site-title a { color: var(--hd-ink); text-decoration: none; }
.site-title a:hover { color: var(--hd-accent); }
/* Centre menu */
.main-navigation { justify-self: center; min-width: 0; }
.main-navigation ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.6rem;
	margin: 0;
	padding: 0;
}
.main-navigation li { position: relative; margin: 0; }
.main-navigation a {
	font-family: var(--display, system-ui, sans-serif);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	color: var(--hd-ink);
	text-decoration: none;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { border-bottom-color: var(--hd-accent); }
.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 90;
	flex-direction: column;
	gap: 0;
	min-width: 210px;
	background: #fff;
	border: 1px solid var(--hd-line);
	border-radius: var(--hd-radius);
	box-shadow: var(--hd-shadow);
	padding: 0.4rem 0;
}
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { display: flex; }
.main-navigation ul ul a { display: block; padding: 0.5rem 1rem; border: 0; font-weight: 500; }
/* ICON BUTTONS */
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	justify-self: end;
}
.site-header .header-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--hd-ink);
	background: #fff;
	border: 1px solid var(--hd-line);
	border-radius: var(--hd-radius);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.site-header .header-icon:hover,
.site-header .header-icon:focus-visible {
	background: var(--hd-ink);
	border-color: var(--hd-ink);
	color: #fff;
	transform: translateY(-1px);
}
.site-header .header-icon svg { width: 21px; height: 21px; display: block; stroke: currentColor; }
/* Cart count bubble - hidden at zero.

   The bubble sits outside the button's own box, so the gap between the
   icons has to be wider than the amount it sticks out. At -6px with a
   0.25rem gap on small phones it was landing on the hamburger. */
.tl-cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: var(--hd-accent);
	color: #fff;
	border: 2px solid var(--hd-bg);
	border-radius: 999px;
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}
.tl-cart-count.is-empty { display: none; }
/* Hamburger: mobile only */
.site-header .menu-toggle { display: none !important; }
/* SHARED BUTTONS AND OVERLAY */
.tl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85em 1.4em;
	background: var(--hd-accent);
	color: #fff;
	border: 1px solid var(--hd-accent);
	border-radius: var(--hd-radius);
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.95rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.tl-btn:hover { background: var(--hd-accent-dark); border-color: var(--hd-accent-dark); color: #fff; }
.tl-btn--line { background: transparent; color: var(--hd-ink); border-color: var(--hd-line); }
.tl-btn--line:hover { background: var(--hd-ink); border-color: var(--hd-ink); color: #fff; }
.tl-panel-close {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	color: var(--hd-ink);
	border: 1px solid var(--hd-line);
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.tl-panel-close:hover,
.tl-panel-close:focus-visible { background: var(--hd-ink); border-color: var(--hd-ink); color: #fff; }
.tl-panel-close svg { width: 19px; height: 19px; display: block; stroke: currentColor; }
.tl-overlay {
	position: fixed;
	inset: 0;
	z-index: 95;
	background: rgba(26, 29, 26, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}
body.cart-open .tl-overlay,
body.menu-open .tl-overlay {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.28s ease, visibility 0s linear 0s;
}
body.tl-locked { overflow: hidden; }
/****** CART PANEL ******/
.tl-cart-panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: min(92vw, 400px);
	height: 100%;
	height: 100dvh;
	background: #fff;
	box-shadow: -18px 0 44px rgba(26, 29, 26, 0.18);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.32s;
	overscroll-behavior: contain;
}
body.cart-open .tl-cart-panel,
.tl-cart-panel.is-open {
	transform: translateX(0);
	visibility: visible;
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}
.tl-cart-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border-bottom: 1px solid var(--hd-line);
}
.tl-cart-panel__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-family: var(--display, system-ui, sans-serif);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--hd-ink);
	letter-spacing: -0.01em;
}
.tl-cart-panel__title svg { width: 20px; height: 20px; stroke: currentColor; }
.tl-cart-panel__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0.5rem 1.25rem;
	-webkit-overflow-scrolling: touch;
}
.tl-cart-list { list-style: none; margin: 0; padding: 0; }
.tl-cart-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1rem 0;
	margin: 0;
	border-bottom: 1px solid var(--hd-line-soft);
	transition: opacity 0.2s ease;
}
.tl-cart-item.is-removing { opacity: 0.45; pointer-events: none; }
.tl-cart-item:last-child { border-bottom: 0; }
.tl-cart-item__media {
	flex: 0 0 68px;
	width: 68px;
	height: 68px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--hd-bg);
}
.tl-cart-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-cart-item__info { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; padding-right: 1.5rem; }
.tl-cart-item__name {
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--hd-ink);
	text-decoration: none;
}
.tl-cart-item__name:hover { color: var(--hd-accent); }
.tl-cart-item__meta { font-size: 0.82rem; color: var(--hd-muted); }
.tl-cart-item__meta p { margin: 0; }
.tl-cart-item__meta dl,
.tl-cart-item__meta dt,
.tl-cart-item__meta dd { display: inline; margin: 0; padding: 0; float: none; }
.tl-cart-item__qty {
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--hd-accent);
}
.tl-cart-panel .tl-cart-item__remove {
	position: absolute;
	top: 1rem;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	background: transparent;
	color: var(--hd-muted);
	border: 1px solid var(--hd-line);
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tl-cart-panel .tl-cart-item__remove:hover {
	background: var(--hd-accent);
	border-color: var(--hd-accent);
	color: #fff;
}
.tl-cart-panel .tl-cart-item__remove svg { width: 14px; height: 14px; stroke: currentColor; }
.tl-cart-panel__empty {
	display: grid;
	gap: 1rem;
	justify-items: center;
	padding: 3rem 1rem;
	text-align: center;
	color: var(--hd-muted);
}
.tl-cart-panel__foot {
	flex: 0 0 auto;
	padding: 1.1rem 1.25rem 1.25rem;
	border-top: 1px solid var(--hd-line);
	background: var(--hd-bg);
}
.tl-cart-panel__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	font-family: var(--display, system-ui, sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hd-ink);
}
.tl-cart-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.tl-cart-panel__actions .tl-btn { width: 100%; }

/****** MOBILE MENU PANEL ******/
.mobile-panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	width: min(88vw, 360px);
	height: 100%;
	height: 100dvh;
	background: var(--hd-bg);
	box-shadow: -18px 0 44px rgba(26, 29, 26, 0.18);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.32s;
	overscroll-behavior: contain;
}
/*
 * Two ways in, on purpose.
 *
 * The script sets a class on <body> and one on the panel. Opening on
 * either means the panel no longer depends on a class living on an
 * element it does not own: if anything else on the page rewrites the
 * body class list, the menu still works.
 */
body.menu-open .mobile-panel,
.mobile-panel.is-open {
	transform: translateX(0);
	visibility: visible;
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.mobile-panel__inner { display: flex; flex-direction: column; height: 100%; overflow-y: auto; }
.mobile-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--hd-line);
}
.mobile-panel__logo .custom-logo { max-height: 46px; width: auto; }
.mobile-nav { padding: 0.5rem 1.25rem 1.25rem; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: block; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--hd-line); }
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav a {
	display: block;
	padding: 0.9rem 0;
	font-family: var(--display, system-ui, sans-serif);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--hd-ink);
	text-decoration: none;
	border: 0;
}
.mobile-nav a:hover,
.mobile-nav .current-menu-item > a { color: var(--hd-accent); }
.mobile-nav ul ul {
	position: static;
	display: block;
	min-width: 0;
	margin: 0 0 0.5rem 0.9rem;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	transform: none;
}
.mobile-nav ul ul li { border-bottom: 0; }
.mobile-nav ul ul a { padding: 0.5rem 0; font-size: 0.95rem; font-weight: 500; color: var(--hd-muted); }
.mobile-contact {
	margin-top: auto;
	padding: 1.25rem;
	border-top: 1px solid var(--hd-line);
	background: #fff;
}
.mobile-contact__title {
	font-family: var(--display, system-ui, sans-serif);
	font-size: 1rem;
	font-weight: 700;
	color: var(--hd-ink);
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--hd-line);
}
.mobile-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.mobile-contact__item { display: flex; flex-direction: column; gap: 0.18rem; margin: 0; }
.mobile-contact__label {
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hd-muted);
}
.mobile-contact__value {
	color: var(--hd-ink);
	font-size: 0.98rem;
	line-height: 1.5;
	font-style: normal;
	margin: 0;
	text-decoration: none;
}
a.mobile-contact__value:hover { color: var(--hd-accent); text-decoration: underline; }
.mobile-social {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding: 1.15rem 0 0;
	border-top: 1px solid var(--hd-line);
}
.mobile-social li { margin: 0; }
.mobile-panel .mobile-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--hd-ink);
	background: transparent;
	border: 1px solid var(--hd-line);
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.mobile-panel .mobile-social__link:hover {
	background: var(--hd-ink);
	border-color: var(--hd-ink);
	color: #fff;
}
.mobile-panel .mobile-social__link svg { width: 20px; height: 20px; stroke: currentColor; }
/* Laptop: tighter menu spacing */
@media (max-width: 1200px) {
	.main-navigation ul { gap: 1.1rem; }
	.main-navigation a { font-size: 0.92rem; }
	.header-inner { gap: 1rem; }
}
/* Tablet and below: hamburger in, centre menu out */
@media (max-width: 900px) {
	.header-inner { grid-template-columns: auto 1fr; }
	.main-navigation { display: none; }
	.site-header .menu-toggle { display: inline-flex !important; }
	.site-branding .custom-logo { max-height: 58px; }
	.header-actions { grid-column: 2; }
}
/* Above 900px: panels can never show */
@media (min-width: 901px) {
	.mobile-panel { display: none !important; }
}
/* Phone */
@media (max-width: 600px) {
	.tl-cart-panel { width: 100vw; }
	.tl-cart-panel__actions { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.site-header .header-icon { width: 40px; height: 40px; }
	.site-header .header-icon svg { width: 19px; height: 19px; }
	/* Wider than the 5px the cart bubble overhangs, so the two never
	   touch */
	.header-actions { gap: 0.5rem; }
	.site-branding .custom-logo { max-height: 50px; }

	/* A smaller bubble overhangs less and still reads at a glance */
	.tl-cart-count {
		top: -4px;
		right: -4px;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		font-size: 0.62rem;
		line-height: 13px;
		border-width: 2px;
	}
	.tl-cart-item__media { flex-basis: 60px; width: 60px; height: 60px; }
}
/* MOTION */
@media (prefers-reduced-motion: reduce) {
	.tl-cart-panel,
	.mobile-panel,
	.tl-overlay { transition: none !important; }
}
/* Product Grid */
.rail {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1.5rem 1.25rem;
	list-style: none; margin: 0; padding: 0;
}
.swatch {
	display: flex; flex-direction: column;
	background: var(--card);
	border: 1px solid var(--rule);
	padding: 0.6rem;
}
.swatch:hover { border-color: var(--ink); }
.swatch__media { margin-bottom: 0.75rem; background: var(--chalk); }
.swatch__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.swatch__media-empty {
	display: grid; place-items: center; aspect-ratio: 4 / 5;
	color: var(--ink-soft); font-size: 0.9rem;
}
.swatch__title { font-size: 1.05rem; margin: 0 0 0.15rem; }
.swatch__title a { color: var(--ink); text-decoration: none; }
.swatch__title a:hover { color: var(--indigo); }
.swatch__spec {
	font-size: 0.85rem; color: var(--ink-soft);
	margin: 0 0 0.5rem; padding-bottom: 0.5rem;
	border-bottom: 1px dotted var(--rule-strong);
}
.swatch__price { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.8rem; }
.swatch__price del { color: var(--ink-soft); font-weight: 400; margin-right: 0.35em; }
.swatch__price ins { text-decoration: none; color: var(--madder); }
.swatch__foot { margin-top: auto; }
.swatch__foot .btn { width: 100%; text-align: center; }
.spec-table { background: var(--card); border: 1px solid var(--rule); }
.spec-table th { width: 40%; background: var(--chalk); font-size: 0.9rem; }
.spec-table td { font-size: 0.95rem; }
.steps { counter-reset: step; display: grid; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 0.8rem; }
.steps li::before {
	content: counter(step);
	font-family: var(--display); font-weight: 700; font-size: 0.9rem;
	color: var(--madder); display: block; margin-bottom: 0.3rem;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.section-ink .steps li { border-top-color: rgba(255, 255, 255, 0.5); }
.section-ink .steps p { color: #b6b8b3; }
.promise { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.promise li { border-left: 2px solid var(--madder); padding-left: 1rem; }
.promise strong { font-family: var(--display); display: block; font-size: 1.02rem; margin-bottom: 0.15rem; }
.promise span { color: var(--ink-soft); font-size: 0.95rem; }
.section-ink .promise span { color: #b6b8b3; }
.pay-box {
	background: var(--card); border: 1px solid var(--ink);
	padding: 1.4rem; max-width: 30rem; color: var(--ink);
}
.pay-box h3 { margin-bottom: 0.4rem; }
.pay-box .upi-id {
	font-family: var(--display); font-weight: 700; font-size: 1.25rem;
	color: var(--indigo); word-break: break-all; margin: 0.2rem 0 0.6rem;
}

/****** WooCommerce ******/
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none; background: var(--card);
	border-left: 3px solid var(--indigo);
	padding: 0.9rem 1.1rem; margin: 0 0 1.5rem;
}
.woocommerce-error { border-left-color: var(--madder); }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 1.5rem; font-size: 0.92rem; }
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1.5rem 1.25rem;
	list-style: none; margin: 0; padding: 0;
}
.woocommerce ul.products li.product {
	background: var(--card);
	border: 1px solid var(--rule);
	padding: 0.6rem;
	text-align: left; margin: 0; width: auto; float: none;
}
.woocommerce ul.products li.product:hover { border-color: var(--ink); }
.woocommerce ul.products li.product a img { margin-bottom: 0.75rem; aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--display); font-weight: 700; font-size: 1.05rem;
	padding: 0; margin: 0 0 0.2rem; color: var(--ink);
}
.woocommerce ul.products li.product .price {
	font-family: var(--display); font-weight: 700; font-size: 1.02rem;
	color: var(--ink); display: block; margin-bottom: 0.7rem;
}
.woocommerce ul.products li.product .price del { color: var(--ink-soft); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--madder); }
.woocommerce ul.products li.product .button { margin-bottom: 0.3rem; width: 100%; text-align: center; }
.woocommerce span.onsale {
	background: var(--madder); color: #fff; border-radius: 2px;
	font-family: var(--display); font-weight: 600; font-size: 0.78rem;
	min-height: auto; min-width: auto; line-height: 1;
	padding: 0.45em 0.6em; top: 0.6rem; left: 0.6rem; right: auto; margin: 0;
}
.woocommerce div.product { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: 1fr 1fr; align-items: start; } }
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .up-sells { float: none; width: auto; margin: 0; }
@media (min-width: 900px) {
	.woocommerce div.product .woocommerce-tabs,
	.woocommerce div.product .related,
	.woocommerce div.product .up-sells { grid-column: 1 / -1; }
}
.woocommerce div.product .product_title { margin-bottom: 0.15em; }
.woocommerce div.product p.price { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--madder); }
.woocommerce div.product form.cart { margin: 1.5rem 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 1rem; }
.woocommerce div.product form.cart .variations td { border: 0; padding: 0.3rem 0; }
.woocommerce div.product form.cart .single_add_to_cart_button { padding: 0.9em 2rem; }
.woocommerce .quantity .qty { width: 4.5rem; padding: 0.6em 0.4em; text-align: center; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex; flex-wrap: wrap; gap: 1.2rem;
	padding: 0; margin: 0 0 1.2rem; list-style: none;
	border-bottom: 1px solid var(--ink);
}
.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; padding: 0; margin: 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 {
	font-family: var(--display); font-weight: 600;
	padding: 0.4rem 0; color: var(--ink-soft); display: block;
	border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--madder); }
.woocommerce table.shop_table { border: 1px solid var(--rule); border-radius: 0; background: var(--card); }
.woocommerce table.shop_table th { background: var(--chalk); }
.woocommerce-cart table.cart img { width: 68px; }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; }
@media (min-width: 900px) {
	.woocommerce .cart-collaterals { display: flex; justify-content: flex-end; }
	.woocommerce .cart-collaterals .cart_totals { max-width: 420px; }
}
.woocommerce form .form-row { padding: 0; margin-bottom: 1rem; }
.woocommerce form .form-row label { display: block; margin-bottom: 0.25rem; font-size: 0.93rem; }
.woocommerce-checkout #payment { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--chalk); border: 1px solid var(--rule); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.select2-container--default .select2-selection--single {
	height: auto; padding: 0.35em 0.2em;
	border-color: var(--rule-strong); border-radius: var(--radius);
}
.shop-note {
	background: var(--card); border-left: 3px solid var(--thread);
	padding: 0.85rem 1.05rem; margin-bottom: 1.5rem; font-size: 0.94rem;
}
.shop-note strong { font-family: var(--display); }
.guide-link { display: inline-block; margin: 0.6rem 0 0; font-size: 0.92rem; color: var(--indigo); }

/****** MAIN FOOTER ******/
/*
 * A one pixel accent across the top edge. It reads as a deliberate join
 * between the page and the footer rather than the page simply stopping.
 */
.site-footer {
	position: relative;
	--ft-text: #cfd0cb;
	--ft-muted: #9ba09a;
	--ft-line: rgba(255, 255, 255, 0.14);
	--ft-line-soft: rgba(255, 255, 255, 0.09);
	background: var(--ink, #1a1d1a);
	color: var(--ft-text);
	font-size: 0.96rem;
	margin-top: clamp(2.5rem, 6vw, 4rem);
}

.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(168, 64, 47, 0) 0%,
		rgba(168, 64, 47, 0.7) 22%,
		rgba(168, 64, 47, 0.7) 78%,
		rgba(168, 64, 47, 0) 100%
	);
}
.site-footer a {
	color: var(--ft-text);
	text-decoration: none;
	transition: color 0.15s ease;
}
.site-footer a:hover {
	color: #fff;
}
/* COLUMNS */
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.25rem 1.5rem;
	padding: clamp(2.5rem, 6vw, 3.75rem) 0;
}
@media (min-width: 600px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.footer-grid {
		grid-template-columns: 1.7fr 1fr 1.15fr 1.25fr;
		gap: 2.5rem;
		padding: clamp(2.75rem, 4vw, 3.5rem) 0 2rem;
	}
}
.footer-col { min-width: 0; }
/* Brand */
/* ---------- Footer logo ----------

   The white version of the mark, so it sits on the dark background with
   no plate behind it.

   width and height are both set, and the wrapper is inline-block: an SVG
   carries no pixel dimensions, so without this the browser has nothing
   to reserve and the column jumps as the file loads. */

.footer-logo {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 1.25rem;
	line-height: 0;
}

/*
 * Height is fixed and the width follows it, not the other way round.
 * An SVG carries no pixel dimensions, so a width-led rule leaves the
 * browser nothing to reserve vertically and the column jumps as the
 * file loads. Leading with height removes that shift.
 */
.footer-logo img {
	display: block;
	height: 70px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

/* Fallback only: the Customizer logo is the dark header mark, so on this
   background it still needs a light plate behind it. */
.footer-brand .custom-logo {
	max-height: 58px;
	width: auto;
	margin-bottom: 1.25rem;
	background: #fff;
	padding: 9px 12px;
	border-radius: 12px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 18px rgba(0, 0, 0, 0.28);
}
.footer-brand .site-title { margin: 0 0 0.8rem; }
.footer-brand .site-title a { color: #fff; }
.footer-note {
	color: var(--ft-muted);
	max-width: 42ch;
	margin: 0;
	line-height: 1.7;
}
/* Headings */
/*
 * A short accent bar under each heading, not a rule running the whole
 * column. The full width line made four separate columns look like one
 * table; a bar the width of the word ties the rule to its own heading.
 */
.footer-heading {
	position: relative;
	font-family: var(--display, system-ui, sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1.35rem;
	padding-bottom: 0.7rem;
	letter-spacing: -0.01em;
}

.footer-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--madder, #a8402f);
}
/* Link lists */
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}
.footer-menu li { margin: 0; }
/*
 * The chevron is always in the layout at zero width, so nothing shifts
 * when it appears. Animating margin instead would nudge every link.
 */
.footer-menu a {
	display: inline-flex;
	align-items: center;
	line-height: 1.4;
	transition: color 0.16s ease, transform 0.16s ease;
}

.footer-menu a::before {
	content: "";
	width: 0;
	height: 6px;
	margin-right: 0;
	border-right: 1.5px solid var(--madder, #a8402f);
	border-bottom: 1.5px solid var(--madder, #a8402f);
	transform: rotate(-45deg);
	opacity: 0;
	transition: width 0.16s ease, margin-right 0.16s ease, opacity 0.16s ease;
}

.footer-menu a:hover::before,
.footer-menu a:focus-visible::before {
	width: 6px;
	margin-right: 0.55rem;
	opacity: 1;
}
/* GET IN TOUCH */
.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.15rem;
}
.footer-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
}

.footer-contact__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-top: 0.15rem;
	border: 1px solid var(--ft-line);
	border-radius: 9px;
	color: var(--ft-muted);
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-contact__item:hover .footer-contact__icon {
	background: var(--madder, #a8402f);
	border-color: var(--madder, #a8402f);
	color: #fff;
}

.footer-contact__icon svg { width: 16px; height: 16px; }

.footer-contact__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}
.footer-contact__label {
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ft-muted);
	line-height: 1.2;
}
.footer-contact__value {
	color: #fff;
	font-size: 1rem;
	line-height: 1.55;
	font-style: normal;
	margin: 0;
}
/* No underline: the icon already turns madder on hover, which is
   signal enough without adding a line under the number. */
a.footer-contact__value:hover {
	color: #fff;
	text-decoration: none;
}
.footer-address { color: #fff; }
/* PAYMENTS STRIP */
.footer-payments { padding: 0; }
.footer-payments > .wrap {
	border-top: 1px solid var(--ft-line);
	padding-top: 1.75rem;
	padding-bottom: 1.75rem;
	text-align: center;
}
.footer-payments__title {
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ft-muted);
	margin: 0 0 1.15rem;
}
/* High specificity + !important so the strip renders identically on every
   page - WooCommerce pages load extra stylesheets after the theme's, which
   is why the image was sized differently on shop/product/cart. */
.site-footer .footer-payments .footer-payments__image,
.site-footer .footer-payments img.footer-payments__image {
	display: block !important;
	width: 100% !important;
	max-width: 640px !important;
	height: auto !important;
	margin: 0 auto !important;
}
/* BOTTOM BAR */
.footer-bottom { padding: 0; }
.footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid var(--ft-line);
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}
.footer-copy {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--ft-muted);
}
/* copyright on its own line, the credit under it */
.footer-copy__line,
.footer-copy__credit {
	display: block;
}
.footer-copy__credit { margin-top: 0.15rem; }
.footer-copy a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--madder, #a8402f);
	text-decoration-thickness: 1.5px;
}
.footer-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
}
.social-links {
	list-style: none;
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}
.social-links li { margin: 0; }
/* ICON BUTTONS */
.site-footer .social-link,
.site-footer .back-to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--ft-text);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease,
		border-color 0.18s ease, transform 0.18s ease;
}
.site-footer .social-link:hover,
.site-footer .social-link:focus-visible,
.site-footer .back-to-top:hover,
.site-footer .back-to-top:focus-visible {
	background: var(--madder, #a8402f);
	border-color: var(--madder, #a8402f);
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}
.site-footer .social-link svg,
.site-footer .back-to-top svg {
	width: 20px;
	height: 20px;
	display: block;
	color: inherit;
	stroke: currentColor;
}
/* RESPONSIVE */
/* Tablet: brand on its own row, the three menu columns share one row */
@media (min-width: 600px) and (max-width: 999px) {
	.footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem 1.5rem;
		padding: 2.5rem 0 2rem;
	}
	.footer-brand {
		grid-column: 1 / -1;
	}
	.footer-note { max-width: 60ch; }
	.footer-heading { font-size: 1rem; }
	.footer-contact__value { font-size: 0.96rem; }

	/* every strip below the columns uses the same 2rem rhythm */
	.footer-payments > .wrap {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
	.footer-payments__title { margin-bottom: 1rem; }
	.footer-bottom__inner {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}
/* Phone */
@media (max-width: 599px) {
	.footer-grid {
		gap: 1.9rem;
		padding: 3.25rem 0 2.25rem;
	}
	.footer-brand .custom-logo { max-height: 50px; }
	.footer-logo img { height: 56px; }
	.footer-note { max-width: none; }
	.footer-heading {
		font-size: 1rem;
		margin-bottom: 0.9rem;
	}
	.footer-payments > .wrap {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
	.site-footer .footer-payments .footer-payments__image,
	.site-footer .footer-payments img.footer-payments__image {
		width: 100% !important;
		max-width: 100% !important;
	}
}
/* Bottom bar stacks and centres: icons first, copyright under */
@media (max-width: 767px) {
	.footer-bottom__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1.1rem;
	}
	.footer-copy {
		order: 2;
		width: 100%;
		text-align: center;
	}
	/* one line, shrinks to fit instead of wrapping */
	.footer-copy__line {
		white-space: nowrap;
		font-size: clamp(0.72rem, 3.3vw, 0.95rem);
	}
	.footer-copy__credit {
		font-size: clamp(0.75rem, 3.3vw, 0.95rem);
	}
	.footer-actions {
		order: 1;
		width: 100%;
		margin-left: 0;
		flex-wrap: wrap;
		justify-content: center;
	}
	.social-links { justify-content: center; }
}
/* Very small phones */
@media (max-width: 400px) {
	.site-footer { font-size: 0.92rem; }
	.site-footer .social-link,
	.site-footer .back-to-top {
		width: 38px;
		height: 38px;
	}
	.site-footer .social-link svg,
	.site-footer .back-to-top svg {
		width: 18px;
		height: 18px;
	}
}
/* Touch devices should not keep a stuck hover state */
@media (hover: none) {
	.site-footer .social-link:hover,
	.site-footer .back-to-top:hover {
		background: transparent;
		border-color: rgba(255, 255, 255, 0.28);
		color: var(--ft-text);
	}
}


/* =========================================================
   FLOATING WHATSAPP BUTTON
   Markup: footer.php  (prints on every page)

   Bottom left on purpose: the footer's own back-to-top
   button lives bottom right, and two floating circles in
   the same corner fight each other on a phone.
   Switch sides by swapping "left" for "right" below.
   ========================================================= */

.tl-wa {
	position: fixed;
	left: clamp(0.9rem, 2.5vw, 1.5rem);
	/* env() keeps it above the iOS home indicator and Android
	   gesture bar, and falls back to 0 everywhere else */
	bottom: calc(clamp(0.9rem, 2.5vw, 1.5rem) + env(safe-area-inset-bottom, 0px));

	/* Below the cart panel (90), the mobile menu (95) and the
	   overlay, so an open panel is never covered by this */
	z-index: 70;

	display: inline-flex;
	align-items: center;
	gap: 0;

	height: 56px;
	padding: 0;
	border-radius: 999px;

	background: #25d366;
	color: #fff;
	text-decoration: none;

	box-shadow:
		0 6px 16px rgba(37, 211, 102, 0.34),
		0 2px 6px rgba(26, 29, 26, 0.16);

	overflow: hidden;
	transition: width 0.28s ease, gap 0.28s ease, padding 0.28s ease,
		background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tl-wa:hover,
.tl-wa:focus-visible {
	background: #1fb457;
	color: #fff;
	transform: translateY(-2px);
	box-shadow:
		0 10px 22px rgba(37, 211, 102, 0.4),
		0 3px 8px rgba(26, 29, 26, 0.2);
}

.tl-wa:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.tl-wa__icon {
	flex: 0 0 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
}

.tl-wa__icon svg {
	width: 28px;
	height: 28px;
	display: block;
}

/*
 * The label is collapsed to nothing at rest and opens on hover, so the
 * button is a plain circle until someone reaches for it. max-width
 * rather than display:none, because a hidden element cannot animate and
 * screen readers should still read the label.
 */
.tl-wa__label {
	max-width: 0;
	padding-right: 0;
	font-family: var(--display, system-ui, sans-serif);
	font-size: 0.92rem;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	transition: max-width 0.28s ease, opacity 0.2s ease, padding-right 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
	.tl-wa:hover .tl-wa__label,
	.tl-wa:focus-visible .tl-wa__label {
		max-width: 10rem;
		padding-right: 1.25rem;
		opacity: 1;
	}
}

/* Phone: icon only, slightly smaller, and clear of the thumb zone */
@media (max-width: 600px) {
	.tl-wa { height: 52px; }
	.tl-wa__icon { flex-basis: 52px; width: 52px; height: 52px; }
	.tl-wa__icon svg { width: 26px; height: 26px; }

	/* No hover on touch, so the label would never open: keep it for
	   screen readers only */
	.tl-wa__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tl-wa,
	.tl-wa__label { transition: none !important; }
	.tl-wa:hover { transform: none; }
}

/* Printing a floating chat button helps nobody */
@media print {
	.tl-wa { display: none !important; }
}


/* Footer: motion off where the visitor has asked for it */
@media (prefers-reduced-motion: reduce) {
	.site-footer .social-link,
	.site-footer .back-to-top,
	.footer-menu a,
	.footer-menu a::before,
	.footer-contact__icon { transition: none !important; }

	.site-footer .social-link:hover,
	.site-footer .back-to-top:hover { transform: none; }
}


/* =========================================================
   EMPTY CART PANEL

   .tl-cart-panel is given is-empty by header.php on render and
   kept in step by assets/js/main.js after each AJAX change, so
   removing the last item takes the footer with it.

   It lives here rather than in assets/css/cart.css because
   that file loads on the cart PAGE only, while the cart PANEL
   is in the header on every page.
   ========================================================= */

.tl-cart-panel.is-empty .tl-cart-panel__foot {
	display: none !important;
}

.tl-cart-panel.is-empty .tl-cart-panel__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 auto;
}

.custom-blog-detail #secondary section.tl-blog-widget:last-child, .custom-blog-detail .tl-single__comments {
	display: none;
}
/* Header ma thi Wishlist icon hide */
.header-actions a.header-icon[href*="/wishlist"] {
	display: none !important;
}
.single-product .woocommerce-variation-availability .stock.in-stock {
    color: #007a00;
	font-size: 20px;
}
.single-product .woocommerce-variation-availability .stock.out-of-stock {
    padding: 0;
    color: #eb1717;
    background: unset;
    font-size: 20px;
}