/* Shop Tai Labs — light storefront styled after the Midshire visual system. */
:root {
	--stl-bg: #fffdf9;
	--stl-bg-soft: #f6f1ea;
	--stl-surface: #ffffff;
	--stl-text: #3a322c;
	--stl-heading: #3b1d22;
	--stl-muted: #7a6a62;
	--stl-accent: #8f2d32;
	--stl-navy: #3b1d22;
	--stl-border: #eadfd4;
	--stl-danger: #c0392b;
	--stl-ok: #1f8a4c;
	--stl-wash: linear-gradient(50deg, #f8efe6 0%, #f3e4d4 100%);
	--stl-font: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--stl-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--stl-max: 1180px;
	--stl-radius: 12px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.shop-tai-labs {
	margin: 0;
	font-family: var(--stl-font);
	background: var(--stl-bg);
	color: var(--stl-text);
	line-height: 1.55;
	min-height: 100vh;
	font-size: 15px;
}

h1,
h2,
h3,
.stl-logo__text {
	font-family: var(--stl-display);
}

a {
	color: var(--stl-navy);
	text-decoration: none;
}

a:hover {
	color: var(--stl-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.stl-skip-link {
	position: absolute;
	left: -9999px;
}

.stl-skip-link:focus {
	left: 1rem;
	top: 1rem;
	z-index: 100;
	background: #fff;
	color: #000;
	padding: 0.5rem 1rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* Promo + header */
.stl-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--stl-border);
}

.stl-promo {
	background: var(--stl-accent);
	color: #fff;
}

.stl-promo__inner {
	max-width: var(--stl-max);
	margin: 0 auto;
	padding: 0.55rem 1.25rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	font-weight: 600;
	font-size: 0.95rem;
}

.stl-promo p {
	margin: 0;
}

.stl-promo__btn {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.9rem;
	border: 1px solid #fff;
	border-radius: 8px;
	color: #fff;
	font-weight: 600;
	background: transparent;
}

.stl-promo__btn:hover {
	background: #fff;
	color: var(--stl-accent);
}

.stl-header__inner {
	max-width: var(--stl-max);
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.stl-logo {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--stl-accent);
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 1.15rem;
}

.stl-logo:hover {
	color: var(--stl-navy);
}

.stl-logo__text {
	font-size: 1.15rem;
	line-height: 1.15;
	max-width: 12rem;
}

.stl-whatsapp {
	position: fixed;
	right: 1.15rem;
	bottom: 1.15rem;
	z-index: 70;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.8rem 1.05rem;
	border-radius: 999px;
	background: var(--stl-accent);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(59, 29, 34, 0.22);
}

.stl-whatsapp:hover {
	color: #fff;
	background: #6e2227;
}

.stl-whatsapp svg {
	width: 1.15rem;
	height: 1.15rem;
	flex: none;
}

.stl-logo__mark {
	display: inline-grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 1.5px solid var(--stl-accent);
	color: var(--stl-accent);
	font-size: 0.72rem;
	font-weight: 700;
	background: #fff;
}

.stl-nav {
	flex: 1;
}

.stl-nav__list {
	display: flex;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: flex-end;
}

.stl-nav__list a {
	color: var(--stl-navy);
	font-size: 0.92rem;
	font-weight: 600;
}

.stl-nav__list a:hover {
	color: var(--stl-accent);
}

.stl-nav__item--has-children {
	position: relative;
}

.stl-nav__item--has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 0.35rem;
	border: 4px solid transparent;
	border-top-color: currentColor;
	transform: translateY(2px);
}

.stl-nav__sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 190px;
	background: #fff;
	border: 1px solid var(--stl-border);
	border-radius: 10px;
	padding: 0.45rem 0;
	list-style: none;
	margin: 0.4rem 0 0;
	box-shadow: 0 10px 30px rgba(8, 28, 58, 0.08);
}

.stl-nav__item--has-children:hover > .stl-nav__sub,
.stl-nav__item--has-children:focus-within > .stl-nav__sub {
	display: block;
}

.stl-nav__sub a {
	display: block;
	padding: 0.5rem 1rem;
	font-weight: 500;
}

.stl-nav__sub a::after {
	content: none;
}

.stl-nav__toggle {
	display: none;
	background: var(--stl-accent);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	width: 2.6rem;
	height: 2.6rem;
	padding: 0.55rem;
}

.stl-nav__toggle span {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: #fff;
}

.stl-header__actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.stl-search {
	display: flex;
	align-items: center;
}

.stl-search input[type="search"] {
	width: 2.4rem;
	height: 2.4rem;
	border: 0;
	border-radius: 999px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23081c3a' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / 18px no-repeat;
	color: transparent;
	cursor: pointer;
	padding: 0;
}

.stl-search input[type="search"]:focus {
	width: 11rem;
	padding: 0 0.8rem 0 2.2rem;
	color: var(--stl-navy);
	background-color: #fff;
	background-position: 0.65rem center;
	border: 1px solid var(--stl-border);
	cursor: text;
	outline: none;
}

.stl-cart {
	color: var(--stl-navy);
	border: 1.5px solid var(--stl-navy);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.stl-cart:hover {
	color: var(--stl-accent);
	border-color: var(--stl-accent);
}

.stl-cart svg {
	width: 1.15rem;
	height: 1.15rem;
}

.stl-cart__count {
	position: absolute;
	top: -0.25rem;
	right: -0.25rem;
	background: var(--stl-accent);
	color: #fff;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	min-width: 1.1rem;
	text-align: center;
	padding: 0.05rem 0.3rem;
}

.stl-main {
	min-height: 60vh;
}

/* Hero */
.stl-hero {
	padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
	background: linear-gradient(180deg, #f6efe6 0%, #fbf7f2 46%, #fffdf9 100%);
}

.stl-hero__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.stl-hero__kicker {
	margin: 0 0 0.85rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--stl-accent);
}

.stl-hero h1 {
	font-size: clamp(2.8rem, 5.6vw, 4.4rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.5px;
	margin: 0 0 1.15rem;
	color: var(--stl-heading);
}

.stl-hero h1 span {
	color: var(--stl-accent);
}

.stl-hero__lead {
	max-width: 46rem;
	margin: 0 auto 1.75rem;
	color: var(--stl-text);
	font-size: 1.05rem;
}

.stl-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 1.75rem;
	justify-content: center;
	align-items: center;
	margin-bottom: 2.25rem;
}

.stl-link-arrow {
	color: var(--stl-navy);
	font-weight: 700;
	font-size: 1.05rem;
}

.stl-link-arrow:hover {
	color: var(--stl-accent);
}

.stl-hero__points {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem 1.35rem;
	color: var(--stl-accent);
	font-weight: 600;
}

.stl-hero__points li::before {
	content: "✓";
	margin-right: 0.4rem;
}

.stl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	font-family: inherit;
	font-size: 1rem;
	cursor: pointer;
	line-height: 1.2;
}

.stl-btn--primary,
.stl-btn--primary:hover {
	background: var(--stl-navy);
	color: #fff;
}

.stl-btn--primary:hover {
	background: #3d2418;
}

.stl-btn--ghost {
	border-color: transparent;
	color: var(--stl-navy);
	background: transparent;
	font-weight: 700;
}

/* Sections */
.stl-section {
	padding: clamp(2.5rem, 5vw, 4.25rem) 1.25rem;
}

.stl-section__inner {
	max-width: var(--stl-max);
	margin: 0 auto;
}

.stl-section h2,
.stl-content h1,
.stl-content h2,
.woocommerce-products-header__title {
	color: var(--stl-heading);
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	letter-spacing: -0.4px;
	margin: 0 0 0.6rem;
	font-weight: 700;
}

.stl-section__intro {
	color: var(--stl-text);
	max-width: 62ch;
	margin: 0 0 1.75rem;
}

.stl-section--alt {
	background: var(--stl-bg-soft);
}

.stl-section--tight {
	padding-top: 0.5rem;
}

.stl-cats.stl-cats--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 760px;
}

.stl-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 3rem;
}

.stl-split p {
	max-width: 48ch;
}

.stl-prose p {
	font-size: 1.05rem;
	margin: 0 0 1rem;
}

.stl-trust {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stl-trust li {
	background: #fff;
	border: 1px solid var(--stl-border);
	border-radius: 14px;
	padding: 1.1rem 0.85rem;
	text-align: center;
}

.stl-trust strong {
	display: block;
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--stl-heading);
	margin-bottom: 0.35rem;
}

.stl-trust span {
	color: var(--stl-muted);
	font-size: 0.92rem;
}

.stl-cta-band {
	text-align: center;
	padding: clamp(3rem, 6vw, 4.75rem) 1.25rem;
	background: var(--stl-heading);
	color: #f6f1ea;
}

.stl-cta-band h2 {
	color: #f6f1ea;
	margin: 0 0 1.25rem;
}

.stl-cta-band .stl-link-arrow,
.stl-cta-band .stl-link-arrow:hover {
	color: #f6f1ea;
	border-bottom: 1px solid rgba(246, 241, 234, 0.7);
	padding-bottom: 0.15rem;
}

.stl-cta-band .stl-btn--primary,
.stl-cta-band .stl-btn--primary:hover {
	background: #f6f1ea;
	color: var(--stl-heading);
}

.stl-cta-band .stl-link-arrow,
.stl-cta-band .stl-link-arrow:hover {
	color: #f6f1ea;
	font-family: var(--stl-display);
	font-size: 1.45rem;
	font-weight: 600;
}

.stl-cats,
.stl-posts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.stl-posts {
	grid-template-columns: repeat(3, 1fr);
}

.stl-cat {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 168px;
	padding: 1.15rem 1.2rem;
	border-radius: 16px;
	background: linear-gradient(48deg, #f8efe6, #f3e4d4);
	color: var(--stl-navy);
	text-decoration: none;
}

.stl-cat strong {
	font-size: 1.2rem;
}

.stl-cat span {
	color: var(--stl-text);
	margin-top: 0.2rem;
}

.stl-post {
	background: #fff;
	border: 1px solid var(--stl-border);
	border-radius: 12px;
	padding: 1.15rem 1.2rem;
}

.stl-post h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
}

.stl-post p {
	margin: 0;
	color: var(--stl-text);
}

/* Product grids */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.75rem 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.stl-collection .woocommerce ul.products {
	grid-template-columns: repeat(3, 1fr);
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
	display: none;
}

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: transparent;
	border: 0;
	padding: 0;
	text-align: center;
	position: relative;
}

.woocommerce ul.products li.product > a,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	position: relative;
	display: block;
	color: inherit;
}

.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--stl-wash);
	border-radius: var(--stl-radius);
	padding: 1.25rem;
	margin: 0 0 0.85rem;
}

.stl-stock {
	position: absolute;
	z-index: 2;
	top: 0.75rem;
	left: 0.75rem;
	background: #fff;
	color: var(--stl-navy);
	border-radius: 8px;
	padding: 0.22rem 0.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	box-shadow: 0 1px 3px rgba(8, 28, 58, 0.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--stl-heading);
	padding: 0.15rem 0.4rem 0;
	text-align: center;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--stl-accent);
	font-weight: 600;
	font-size: 1rem;
	text-align: center;
}

.woocommerce ul.products li.product .price {
	margin-bottom: 0.35rem;
}

.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
	color: var(--stl-muted);
	font-weight: 500;
	opacity: 1;
}

.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins {
	color: var(--stl-accent);
	text-decoration: none;
	font-weight: 600;
}

.stl-vat {
	color: var(--stl-muted);
	font-weight: 500;
	font-size: 0.82em;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
	display: none;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--stl-navy);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-family: inherit;
	padding: 0.8rem 1.4rem;
	border: 0;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: #12284e;
	color: #fff;
}

.woocommerce span.onsale {
	background: var(--stl-accent);
	color: #fff;
	border-radius: 8px;
	min-height: 0;
	line-height: 1.4;
	padding: 0.25rem 0.55rem;
	font-weight: 700;
}

/* Steps */
.stl-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.stl-step {
	padding: 1.35rem;
	background: #fff;
	border: 1px solid var(--stl-border);
	border-radius: var(--stl-radius);
}

.stl-step__num {
	display: inline-block;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stl-accent);
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.stl-step h3,
.stl-feature h3 {
	margin: 0 0 0.4rem;
	font-size: 1.1rem;
	color: var(--stl-heading);
}

.stl-step p,
.stl-feature p {
	margin: 0;
	color: var(--stl-muted);
	font-size: 0.95rem;
}

.stl-why {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 2rem;
	align-items: center;
}

.stl-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.stl-stat {
	background: var(--stl-wash);
	border-radius: var(--stl-radius);
	padding: 1.5rem 1rem;
	text-align: center;
	color: var(--stl-heading);
}

.stl-stat__value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--stl-navy);
}

.stl-features {
	display: grid;
	gap: 1rem;
}

.stl-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.stl-review {
	background: #fff;
	border: 1px solid var(--stl-border);
	padding: 1.25rem;
	border-radius: var(--stl-radius);
}

.stl-review__stars {
	color: var(--stl-accent);
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
}

.stl-review p {
	margin: 0 0 0.75rem;
	color: var(--stl-text);
}

.stl-review cite {
	font-style: normal;
	font-size: 0.9rem;
	color: var(--stl-muted);
}

.stl-faq details {
	border-bottom: 1px solid var(--stl-border);
	padding: 0.9rem 0;
}

.stl-faq summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--stl-heading);
}

.stl-faq details p {
	color: var(--stl-text);
	margin: 0.65rem 0 0;
}

/* Footer */
.stl-footer {
	margin-top: 1rem;
	border-top: 1px solid var(--stl-border);
	background: #fff;
	padding: 2.75rem 1.25rem 1.5rem;
	color: var(--stl-text);
}

.stl-footer__grid {
	max-width: var(--stl-max);
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 1.5rem;
}

.stl-footer h3 {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	color: var(--stl-heading);
}

.stl-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.stl-footer li {
	margin-bottom: 0.4rem;
}

.stl-footer a {
	color: var(--stl-text);
}

.stl-footer a:hover {
	color: var(--stl-accent);
}

.stl-footer__brand strong {
	color: var(--stl-accent);
}

.stl-footer__legal-ids {
	margin-top: 1rem;
	font-size: 0.85rem;
	color: var(--stl-muted);
}

.stl-footer__bottom {
	max-width: var(--stl-max);
	margin: 0 auto;
	padding-top: 1rem;
	border-top: 1px solid var(--stl-border);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.85rem;
	color: var(--stl-muted);
}

.stl-footer__bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* Inner pages */
.stl-page-hero {
	padding: 2.75rem 1.25rem 1.5rem;
	background: linear-gradient(180deg, #f7eef6 0%, #ffffff 100%);
}

.stl-page-hero__inner,
.stl-content {
	max-width: var(--stl-max);
	margin: 0 auto;
}

.stl-content {
	padding: 2rem 1.25rem 3.5rem;
}

.woocommerce-products-header {
	background: linear-gradient(180deg, #f8e3ef 0%, #dceefb 48%, #ffffff 100%);
	margin: -2rem -1.25rem 2rem;
	padding: 3.25rem 1.25rem 1.5rem;
	text-align: center;
}

.woocommerce-products-header .term-description,
.woocommerce-products-header .woocommerce-products-header__title {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--stl-muted);
	margin-bottom: 1rem;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--stl-muted);
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem 2.5rem;
	align-items: start;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce div.product section {
	grid-column: 1 / -1;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto !important;
	float: none !important;
}

.woocommerce div.product div.images img,
.woocommerce div.product div.images .woocommerce-product-gallery__image {
	background: var(--stl-wash);
	border-radius: var(--stl-radius);
}

.woocommerce div.product .product_title {
	color: var(--stl-heading);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	letter-spacing: -0.4px;
}

.stl-label {
	border: 1px solid var(--stl-border);
	border-radius: var(--stl-radius);
	overflow: hidden;
	margin: 0.85rem 0 1rem;
	max-width: 26rem;
}

.stl-label__brand,
.stl-label__name,
.stl-label__meta,
.stl-label__use {
	margin: 0;
}

.stl-label__brand {
	background: var(--stl-accent);
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.45rem 0.9rem;
	font-size: 0.82rem;
	text-transform: uppercase;
}

.stl-label__name {
	padding: 0.75rem 0.9rem 0.15rem;
	color: var(--stl-heading);
	font-size: 1.35rem;
	font-weight: 700;
}

.stl-label__meta {
	padding: 0.15rem 0.9rem;
	color: var(--stl-accent);
	font-weight: 600;
}

.stl-label__use {
	padding: 0.2rem 0.9rem 0.85rem;
	color: var(--stl-muted);
	font-size: 0.9rem;
}

.woocommerce div.product p.price {
	text-align: left;
	font-size: 1.35rem;
}

.woocommerce div.product form.cart .button {
	border-radius: 999px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--stl-navy);
	font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--stl-accent);
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--stl-accent);
	background: #fff;
}

.woocommerce-error {
	border-top-color: var(--stl-danger);
}

.woocommerce table.shop_table {
	border: 1px solid var(--stl-border);
	border-radius: var(--stl-radius);
}

.woocommerce table.shop_table th {
	color: var(--stl-heading);
}

/* Calculator */
.stl-calc {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 1.5rem;
}

.stl-calc__panel,
.stl-coa-card {
	background: #fff;
	border: 1px solid var(--stl-border);
	padding: 1.25rem;
	border-radius: var(--stl-radius);
}

.stl-calc label {
	display: block;
	margin: 0.85rem 0 0.35rem;
	font-size: 0.9rem;
	color: var(--stl-muted);
}

.stl-calc select,
.stl-calc input,
.stl-form input,
.stl-form textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border-radius: 8px;
	border: 1px solid var(--stl-border);
	background: #fff;
	color: var(--stl-text);
	font-family: inherit;
}

.woocommerce .quantity .qty {
	width: 4.5rem;
}

.stl-calc__result {
	margin-top: 1rem;
	padding: 1rem;
	background: #fdeef6;
	border: 1px solid #f3c3dc;
	border-radius: var(--stl-radius);
}

.stl-calc__gauge {
	margin-top: 1rem;
	height: 12px;
	background: #eef1f6;
	border-radius: 999px;
	position: relative;
	overflow: hidden;
}

.stl-calc__gauge-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--stl-accent), #081c3a);
	width: 0%;
	transition: width 0.25s ease;
}

.stl-calc__disclaimer {
	margin-top: 1rem;
	font-size: 0.85rem;
	color: var(--stl-danger);
}

.stl-coa-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.stl-coa-card__badge {
	display: inline-block;
	font-size: 0.75rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: #e8f7ee;
	color: var(--stl-ok);
	margin-bottom: 0.5rem;
}

.stl-shipping-nudge {
	background: #f7f1e8;
	border: 1px solid var(--stl-border);
	padding: 0.75rem 1rem;
	border-radius: var(--stl-radius);
	color: var(--stl-navy);
}

.stl-shipping-nudge--ok {
	background: #e8f7ee;
	border-color: #b7e4c7;
}

.stl-research-check {
	margin: 1rem 0 !important;
}

.stl-form {
	display: grid;
	gap: 0.85rem;
	max-width: 520px;
}

@media (max-width: 980px) {
	.woocommerce ul.products,
	.stl-steps,
	.stl-reviews,
	.stl-coa-grid,
	.stl-footer__grid,
	.stl-why,
	.stl-calc,
	.stl-cats,
	.stl-cats.stl-cats--two,
	.stl-posts,
	.stl-split,
	.stl-trust,
	.stl-collection .woocommerce ul.products,
	.woocommerce div.product {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	.stl-nav__toggle {
		display: block;
		margin-left: auto;
	}

	.stl-nav__list {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		background: #fff;
		padding: 1rem 1.25rem 1.25rem;
		border-bottom: 1px solid var(--stl-border);
		align-items: flex-start;
		justify-content: flex-start;
		box-shadow: 0 16px 30px rgba(8, 28, 58, 0.06);
	}

	.stl-nav.is-open .stl-nav__list {
		display: flex;
	}

	.stl-nav__sub {
		position: static;
		display: block;
		border: 0;
		box-shadow: none;
		padding-left: 0.75rem;
	}

	.woocommerce ul.products,
	.stl-steps,
	.stl-reviews,
	.stl-coa-grid,
	.stl-footer__grid,
	.stl-why,
	.stl-calc,
	.stl-stats,
	.stl-cats,
	.stl-cats.stl-cats--two,
	.stl-posts,
	.stl-split,
	.stl-trust,
	.stl-collection .woocommerce ul.products,
	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.stl-header__inner {
		flex-wrap: wrap;
	}

	.stl-whatsapp {
		right: 0.85rem;
		bottom: 0.85rem;
	}

	.stl-search input[type="search"]:focus {
		width: 8rem;
	}
}
