/* TShop components — Kelly Felder 1:1. Tokens come from theme.json (CSS vars).
   Reference values extracted from kellyfelder.com (desktop 1440):
   body 12.88px Poppins #181818 · header 72px transparent→sticky reveal ·
   nav 13px/500/ls.322 hover #9D6348 · buttons black pill br28 14px uppercase ·
   card img radius 6px, hover size-strip slide-up + alt-image fade ·
   QV right panel 510px br10 · cart drawer 500px · PLP sidebar push 292px ·
   PDP stacked gallery 90px thumb rail · footer white + wave divider. */

:root {
	--tshop-contrast: var(--wp--preset--color--contrast, #181818);
	--tshop-base: var(--wp--preset--color--base, #fff);
	--tshop-border: var(--wp--preset--color--border, #e6e6e6);
	--tshop-muted: var(--wp--preset--color--muted, #767676);
	--tshop-subtle: var(--wp--preset--color--subtle, #f5f5f5);
	--tshop-accent: #9d6348;
	--tshop-header-h: 72px;
	--tshop-drawer-w: 500px;
	--tshop-fs: 12.88px;
	/* KF container: 90vw capped at 1730px (≈1300 @1440, ≈1730 @1920), 15px pad */
	--tshop-container: min(90%, 1730px);
	--tshop-gutter: max(15px, calc((100% - min(90%, 1730px)) / 2 + 15px));
}

* { box-sizing: border-box; }
body { margin: 0; font-size: var(--tshop-fs); }
img { max-width: 100%; height: auto; }

/* ----------------------------------------------------------------- Header */
.tshop-header-wrap { position: relative; z-index: 50; }
.tshop-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--tshop-base);
	transition: transform .45s ease, background .3s ease, box-shadow .3s ease;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
/* Hide on scroll down / reveal on scroll up (KF sticky-header-hidden) */
.tshop-header.is-hidden { transform: translateY(-105%); }
/* Sit below the WP admin bar when logged in */
body.admin-bar .tshop-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tshop-header { top: 46px; } }
/* Transparent over the hero (front page, at top only) */
body.tshop-transparent-header .tshop-header:not(.is-solid) {
	background: transparent;
	box-shadow: none;
}
body.tshop-transparent-header .tshop-header:not(.is-solid) a,
body.tshop-transparent-header .tshop-header:not(.is-solid) button,
body.tshop-transparent-header .tshop-header:not(.is-solid) .wp-block-navigation-item__content {
	color: #fff;
}
body.tshop-transparent-header .tshop-header:not(.is-solid) .tshop-cart-count { background: #fff; color: var(--tshop-contrast); }
/* Push page content below the fixed header on non-transparent pages */
body:not(.tshop-transparent-header) .wp-site-blocks { padding-top: var(--tshop-header-h); }
/* Kill the block-gap margin the template injects above <main> (the header
   template-part renders 0-height because .tshop-header is fixed). */
.wp-site-blocks > main { margin-block-start: 0; }

.tshop-header__inner {
	display: flex;
	align-items: center;
	gap: 0;
	height: var(--tshop-header-h);
	max-width: var(--tshop-container);
	margin: 0 auto;
	padding: 0 15px;
}
.tshop-header__left { display: flex; align-items: center; gap: 0; flex: 0 0 auto; }
.tshop-header__center { flex: 1 1 auto; min-width: 0; margin-left: 25px; }
.tshop-header__right { display: flex; align-items: center; gap: 1.05rem; flex: 0 0 auto; }

.tshop-header__left > * + *,
.tshop-header__right > * + * { margin-block-start: 0; margin-top: 0; }
.tshop-header__right svg,
.tshop-header__left svg { display: block; }

.tshop-header .wp-block-site-title { margin: 0; line-height: 1; }
.tshop-header .wp-block-site-title a { text-decoration: none; color: inherit; }

/* Primary nav — 13px / 500 / 0.322px, sentence case, hover terracotta */
.tshop-nav .wp-block-navigation__container { gap: 0; }
.tshop-nav a {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.322px;
	text-transform: none;
	line-height: var(--tshop-header-h);
	padding: 0 13px;
	display: inline-block;
	transition: color .2s ease;
}
.tshop-nav a:hover { color: var(--tshop-accent) !important; text-decoration: none; }

/* Header icon links */
.tshop-header__right a,
.tshop-header__right button { color: var(--tshop-contrast); display: inline-flex; align-items: center; }
.tshop-search-form { display: inline-flex; align-items: center; }
.tshop-search-form button { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; }

/* Cart link + count bubble */
.tshop-cart-link { position: relative; }
.tshop-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--tshop-contrast);
	color: var(--tshop-base);
	font-size: 10px;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
	transition: background .3s ease, color .3s ease;
}
.tshop-cart-count[data-count="0"] { display: none; }

/* Catalog menu toggle — KF: 50×50 hit area flush at container start */
.tshop-burger { display: inline-flex; align-items: center; justify-content: flex-start; width: 50px; height: 50px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--tshop-contrast); }
.tshop-burger svg { display: block; }

@media (max-width: 900px) {
	.tshop-header__center { display: none; }
}

/* ----------------------------------------------------------- Cart drawer */
.tshop-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(24, 24, 24, 0.5);
	opacity: 0;
	transition: opacity .25s ease;
	z-index: 90;
}
.tshop-cart-overlay.is-open { opacity: 1; }
.tshop-cart-overlay[hidden] { display: none; }

.tshop-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: min(var(--tshop-drawer-w), 100%);
	background: var(--tshop-base);
	z-index: 100;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.4, 0, .2, 1);
	box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
}
.tshop-cart-drawer.is-open { transform: translateX(0); }
.tshop-cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 1.5rem;
	border-bottom: 1px solid var(--tshop-border);
}
.tshop-cart-drawer__title { margin: 0; font-size: 0.92rem; font-weight: 500; letter-spacing: .02em; }
.tshop-cart-drawer__close { background: none; border: 0; font-size: 1.45rem; line-height: 1; cursor: pointer; color: var(--tshop-contrast); width: auto; height: auto; }
.tshop-cart-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; }

/* Mini-cart contents — KF row: [thumb 64] [name / variant / stepper+price] [×] */
.tshop-cart-drawer .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; flex: 1; }
.tshop-cart-drawer .woocommerce-mini-cart__empty-message { text-align: center; color: var(--tshop-muted); margin-top: 3rem; }
.tshop-cart-drawer .woocommerce-mini-cart-item { display: flex; align-items: flex-start; gap: 0.85rem; border-bottom: 0; position: relative; background: var(--tshop-subtle); border-radius: 8px; padding: .75rem 2rem .75rem .75rem; margin-bottom: .75rem; }
.tshop-mini-item__thumb { flex: 0 0 64px; }
.tshop-mini-item__thumb img { width: 64px; height: 84px; object-fit: cover; border-radius: 4px; display: block; }
.tshop-mini-item__body { flex: 1 1 auto; min-width: 0; }
.tshop-mini-item__name { display: block; font-size: var(--tshop-fs); font-weight: 500; color: var(--tshop-contrast); text-decoration: none; line-height: 1.45; margin-bottom: .1rem; }
.tshop-mini-item__name:hover { color: var(--tshop-accent); }
.tshop-mini-item__meta { color: var(--tshop-muted); font-size: .69rem; }
.tshop-mini-item__meta .variation { display: flex; flex-wrap: wrap; gap: .2rem .45rem; margin: 0; }
.tshop-mini-item__meta .variation dt,
.tshop-mini-item__meta .variation dd { margin: 0; display: inline; }
.tshop-mini-item__meta .variation dd p { display: inline; margin: 0; }
.tshop-mini-item__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .55rem; }
.tshop-mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--tshop-border); border-radius: 6px; background: var(--tshop-base); }
.tshop-mini-qty.is-busy { opacity: .5; pointer-events: none; }
.tshop-mini-qty__btn { width: 30px; height: 32px; background: none; border: 0; cursor: pointer; font-size: .9rem; color: var(--tshop-contrast); line-height: 1; }
.tshop-mini-qty__val { min-width: 26px; text-align: center; font-size: var(--tshop-fs); }
.tshop-mini-item__price { font-weight: 700; font-size: var(--tshop-fs); white-space: nowrap; }
.tshop-cart-drawer .tshop-mini-item__remove,
.tshop-cart-drawer a.remove.tshop-mini-item__remove { position: absolute; top: .4rem; right: .55rem; width: 22px; height: 22px; line-height: 20px; text-align: center; border-radius: 999px; color: var(--tshop-muted) !important; font-size: 1rem; font-weight: 400; text-decoration: none; }
.tshop-cart-drawer a.remove.tshop-mini-item__remove:hover { background: var(--tshop-contrast); color: #fff !important; }
.tshop-cart-drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 1rem 0 .25rem; font-weight: 700; border-top: 1px solid var(--tshop-border); margin: 0; }
.tshop-cart-drawer__note { color: var(--tshop-muted); font-size: .69rem; margin: 0 0 .8rem; }
.tshop-cart-drawer .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 0.55rem; margin: 0; }
.tshop-cart-drawer .woocommerce-mini-cart__buttons .button {
	text-align: center;
	border-radius: 28px;
	padding: 0;
	height: 48px;
	line-height: 48px;
	background: #000;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 14px;
	font-weight: 400;
}
.tshop-cart-drawer .woocommerce-mini-cart__buttons .checkout { background: #000; order: -1; }
/* "View cart" = quiet uppercase text link (KF) */
.tshop-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
	background: transparent;
	color: var(--tshop-contrast);
	border: 0;
	height: auto;
	line-height: 1.4;
	font-size: 11.04px;
	text-decoration: none;
	letter-spacing: .08em;
}
.tshop-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout):hover { text-decoration: underline; }

/* --------------------------------------------------------- Product cards */
ul.products li.product,
.wp-block-woocommerce-product-template li.product { text-align: left; position: relative; }

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	overflow: hidden;
	border-radius: 6px;
}
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
	width: 100%;
	margin: 0;
	display: block;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	background: var(--tshop-subtle);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: var(--tshop-fs); font-weight: 400; padding: 0.6rem 0 0.15rem; }
.woocommerce ul.products li.product .price,
.wc-block-components-product-price { color: var(--tshop-contrast); font-weight: 700; font-size: var(--tshop-fs); }
.woocommerce ul.products li.product .price del { color: var(--tshop-muted); font-weight: 400; margin-right: 0.4rem; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

/* Minimal sale badge */
.woocommerce span.onsale {
	background: var(--tshop-contrast);
	color: var(--tshop-base);
	border-radius: 999px;
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 0.2rem 0.6rem;
	top: 10px;
	left: 10px;
	right: auto;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.4;
}

/* ---------------------------------------------------------- "Pill" button */
.tshop-pill .wp-block-button__link,
.wp-block-button.tshop-pill .wp-block-button__link {
	border-radius: 28px;
	background: #000;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-weight: 400;
	font-size: 14px;
	padding: 10px 20px;
}

/* ----------------------------------------------------------------- Forms */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .quantity input.qty {
	font-family: inherit;
	font-size: var(--tshop-fs);
	line-height: 1.4;
	color: var(--tshop-contrast);
	background: var(--tshop-base);
	border: 1px solid var(--tshop-border);
	border-radius: 6px;
	padding: 0.7rem 0.85rem;
	box-shadow: none;
}
textarea { min-height: 120px; }
input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--tshop-contrast);
	box-shadow: 0 0 0 1px var(--tshop-contrast);
}
::placeholder { color: var(--tshop-muted); }

select,
.woocommerce-ordering select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23181818' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.7rem center;
	cursor: pointer;
}
.woocommerce .quantity input.qty { width: 4.5rem; text-align: center; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--tshop-contrast);
	border-radius: 6px;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--tshop-contrast); }

/* ------------------------------------------------------- Wave divider */
.tshop-wave { line-height: 0; background: var(--tshop-base); }
.tshop-wave svg { width: 100%; height: 39px; display: block; fill: #eee; }

/* ---------------------------------------------------------------- Footer
   KF: white bg, 5 columns (4 link cols + newsletter), dark text,
   payment icons bottom-right, copyright bottom-left. */
.tshop-footer { background: var(--tshop-base); color: var(--tshop-contrast); padding: clamp(2rem, 4vw, 3rem) var(--tshop-gutter) 1.5rem; }
.tshop-footer a { color: var(--tshop-contrast); text-decoration: none; transition: color .2s ease; }
.tshop-footer a:hover { color: var(--tshop-accent); }
.tshop-footer__cols { max-width: var(--tshop-container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.6fr; gap: 2rem; }
.tshop-footer__title { font-size: var(--tshop-fs); font-weight: 700; letter-spacing: .02em; text-transform: none; margin: 0 0 1rem; color: var(--tshop-contrast); }
.tshop-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: var(--tshop-fs); }
.tshop-footer__list a { color: var(--tshop-contrast); }

/* Newsletter column — KF: borderless pill input on subtle bg + 50px black pill */
.tshop-footer__news p { color: var(--tshop-muted); font-size: var(--tshop-fs); margin: 0 0 .9rem; }
.tshop-footer__form { display: flex; gap: .4rem; border: 0; border-radius: 0; overflow: visible; padding: 0; }
.tshop-footer__form input { flex: 1; min-width: 0; border: 0; background: var(--tshop-subtle); border-radius: 40px; padding: 0 1.1rem; height: 50px; font-size: var(--tshop-fs); }
.tshop-footer__form input:focus { box-shadow: none; }
.tshop-footer__form button { white-space: nowrap; border: 0; border-radius: 28px; background: var(--tshop-contrast); color: #fff; padding: 0 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 400; font-size: 13px; cursor: pointer; height: 50px; }
.tshop-footer__social { display: flex; gap: .8rem; margin-top: 1.1rem; }
.tshop-footer__social a { width: 34px; height: 34px; border: 0; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; }
.tshop-footer__social a:hover { color: var(--tshop-accent); background: none; }

.tshop-footer__bar { max-width: var(--tshop-container); margin: 2.2rem auto 0; padding-top: 1.2rem; border-top: 1px solid #f2f2f2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tshop-footer__copy { margin: 0; color: var(--tshop-contrast); font-size: var(--tshop-fs); }
.tshop-footer__right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.tshop-footer__locale { display: flex; align-items: center; gap: .9rem; font-size: var(--tshop-fs); }
.tshop-footer__locale span { display: inline-flex; align-items: center; gap: .3rem; cursor: default; }
.tshop-footer__locale svg { opacity: .6; }
.tshop-footer__pay { display: flex; gap: .35rem; flex-wrap: wrap; }
.tshop-pay { background: #fff; color: #181818; border: 1px solid #f2f2f2; border-radius: 3px; font-size: .5rem; font-weight: 700; letter-spacing: .02em; padding: .22rem .4rem; text-transform: uppercase; line-height: 1.2; }

@media (max-width: 900px) {
	.tshop-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
	.tshop-footer__cols { grid-template-columns: 1fr 1fr; }
	.tshop-footer__news { grid-column: 1 / -1; }
}

/* --------------------------------------------------- Mobile bottom nav */
.tshop-bottomnav { display: none; }
@media (max-width: 900px) {
	.tshop-bottomnav {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		position: fixed;
		bottom: 0; left: 0; right: 0;
		z-index: 80;
		background: var(--tshop-base);
		border-top: 1px solid var(--tshop-border);
		box-shadow: 0 -2px 12px rgba(0,0,0,.06);
	}
	.tshop-bottomnav__item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: .5rem 0 .6rem; background: none; border: 0; color: var(--tshop-contrast); font-size: .6rem; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; }
	.tshop-bottomnav__carticon { position: relative; display: inline-flex; }
	.tshop-bottomnav .tshop-cart-count { position: absolute; top: -6px; right: -9px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--tshop-contrast); color: var(--tshop-base); font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
	.tshop-bottomnav .tshop-cart-count[data-count="0"] { display: none; }
	body { padding-bottom: 62px; }
}

body.tshop-no-scroll { overflow: hidden; }

/* ============================================================ MOTION LAYER */
.reveal-init {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
		transform .7s cubic-bezier(.22, .61, .36, 1);
	will-change: opacity, transform;
}
.reveal-init.is-revealed { opacity: 1; transform: none; }
[data-reveal="zoom"].reveal-init { transform: scale(.94); }
[data-reveal="zoom"].reveal-init.is-revealed { transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal-init { opacity: 1 !important; transform: none !important; transition: none !important; }
}

[data-parallax] { overflow: hidden; }
[data-parallax] [data-parallax-target] { will-change: transform; }

/* ------------------------------------------------ Section header + carousel */
.tshop-section { padding-block: 2.4rem 3rem; }
.tshop-section__head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	max-width: var(--tshop-container);
	margin: 0 auto 1.1rem;
	padding: 0 15px;
}
.tshop-section__title {
	margin: 0;
	font-size: 19.8px;
	font-weight: 400;
	letter-spacing: 0.495px;
	text-transform: none;
}

.tshop-carousel { position: relative; }
/* Track is Woo's ul.products — repeat the class pair (and .woocommerce scope)
   so plugin margin/width rules can't shove it out of the container. */
.tshop-carousel__track,
ul.products.tshop-carousel__track,
.woocommerce ul.products.tshop-carousel__track,
.woocommerce-page ul.products.tshop-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	margin: 0 auto;
	padding: 0.25rem 15px;
	list-style: none;
	max-width: var(--tshop-container);
	width: 100%;
}
.tshop-carousel__track::-webkit-scrollbar { display: none; }
.tshop-carousel__track.is-dragging { scroll-behavior: auto; cursor: grabbing; scroll-snap-type: none; }
.tshop-carousel__track > li,
.tshop-carousel__track > .product,
.tshop-carousel__track > *,
.woocommerce ul.products.tshop-carousel__track > li.product,
.woocommerce-page ul.products.tshop-carousel__track > li.product {
	flex: 0 0 auto;
	float: none;
	width: calc((100% - 3 * 14px) / 4);
	scroll-snap-align: start;
	margin: 0;
}

/* KF arrows: light-gray 44px circles at the heading row's right edge */
.tshop-carousel__nav { display: inline-flex; gap: 0.6rem; margin-left: auto; }
.tshop-carousel__arrow {
	width: 44px;
	height: 44px;
	border-radius: 100%;
	border: 0;
	background: var(--tshop-subtle);
	color: var(--tshop-contrast);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.tshop-carousel__arrow:hover { background: var(--tshop-contrast); color: var(--tshop-base); }
.tshop-carousel__arrow:disabled { opacity: 0.4; cursor: default; }
.tshop-carousel__arrow:disabled:hover { background: var(--tshop-subtle); color: var(--tshop-contrast); }

@media (max-width: 900px) {
	.tshop-carousel__track > * { width: calc((100% - 14px) / 2); }
}

/* ------------------------------------------------- Animated arrow button
   KF "VIEW ALL": black pill br28, 14px uppercase regular, arrow right. */
.tshop-btn-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	border-radius: 28px;
	background: #000;
	color: #fff;
	border: 1px solid #000;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-weight: 400;
	font-size: 14px;
	padding: 10px 20px;
	text-decoration: none;
	overflow: hidden;
	transition: background .25s ease, color .25s ease;
}
.tshop-btn-arrow svg { transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.tshop-btn-arrow:hover { background: var(--tshop-contrast); color: #fff; }
.tshop-btn-arrow:hover svg { transform: translateX(4px); }
.tshop-btn-arrow--ghost { background: #000; color: #fff; border: 1px solid #000; }
.tshop-btn-arrow--ghost:hover { background: #181818; color: #fff; }
.tshop-btn-arrow--center { margin: 2rem auto 0; }

.tshop-pill .wp-block-button__link { transition: background .25s ease, color .25s ease; }

/* ----------------------------------------------------------- Hero
   KF home hero: full-bleed image slider, no text overlay, sits under the
   transparent header. 572px tall at 1440. */
.tshop-hero {
	position: relative;
	height: clamp(380px, 39.7vw, 800px);
	display: block;
	overflow: hidden;
	color: var(--tshop-base);
}
.tshop-hero__video,
.tshop-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.tshop-hero__overlay { display: none; }
.tshop-hero__content { display: none; }

/* ====================================================== PRODUCT CARD (v2) */
.tshop-card { list-style: none; position: relative; text-align: left; margin: 0; }
.tshop-card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border-radius: 6px;
	background: var(--tshop-subtle, #f5f5f5);
}
.tshop-card__link { display: block; position: absolute; inset: 0; z-index: 1; }

/* Hover image carousel: stacked slides that crossfade (KF 0.7s) */
.tshop-card__slider { position: absolute; inset: 0; }
.tshop-card__slide,
.woocommerce ul.products li.product .tshop-card__slider img.tshop-card__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important; /* beat Woo's `li.product img { height:auto }` */
	aspect-ratio: auto;
	object-fit: cover;
	margin: 0;
	display: block;
	opacity: 0;
	transition: opacity .7s ease;
}
.tshop-card__slide.is-active,
.woocommerce ul.products li.product .tshop-card__slider img.tshop-card__slide.is-active { opacity: 1; }

/* Vertical page-dot rail, right edge (KF style, hover only) */
.tshop-card__dots {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 6px;
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}
.tshop-card__media:hover .tshop-card__dots { opacity: 1; pointer-events: auto; }
.tshop-card__dot {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(24, 24, 24, .85);
	cursor: pointer;
	transition: height .2s ease, background .2s ease;
}
.tshop-card__dot.is-active { background: rgb(24, 24, 24); height: 18px; }

/* Badges */
.tshop-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 4;
	border-radius: 999px;
	padding: 0.22rem 0.65rem;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
}
.tshop-badge--sale { background: var(--tshop-contrast); color: var(--tshop-base); }
.tshop-badge--soldout { background: var(--tshop-base); color: var(--tshop-contrast); box-shadow: 0 0 0 1px var(--tshop-border) inset; }

/* Quick-view eye — KF: 40px white circle, always visible, top-right 8px */
.tshop-card__quickview {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 4;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	border: 0;
	background: var(--tshop-base);
	color: var(--tshop-contrast);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 1;
	transform: none;
	transition: background .2s ease, color .2s ease;
}
.tshop-card__quickview:hover { background: var(--tshop-contrast); color: var(--tshop-base); }

/* Size strip — KF: white bar, "SIZE" label left, plain text size links,
   slides up from below the image edge (translateY 70px→0, .4s). */
.tshop-card__sizes {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	background: var(--tshop-base);
	padding: 2px 12px;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0 .5rem;
	min-height: 40px;
	transform: translateY(105%);
	transition: transform .4s ease;
}
.tshop-card__media:hover .tshop-card__sizes { transform: none; }
.tshop-card__sizes-label { font-size: var(--tshop-fs); font-weight: 400; letter-spacing: 0; text-transform: uppercase; color: #000; margin: 0; }
.tshop-card__sizes-row { display: flex; flex-wrap: wrap; gap: 0; justify-content: flex-end; }
.tshop-card__size {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 7px;
	border: 0;
	background: transparent;
	color: #000;
	font-size: var(--tshop-fs);
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	border-radius: 0;
	cursor: pointer;
	transition: color .15s ease;
}
.tshop-card__size:hover { color: var(--tshop-accent); background: transparent; }
.tshop-card__size--more { text-decoration: none; }
.tshop-card__size--more:hover { color: var(--tshop-accent); }
.tshop-card__size.is-disabled,
.tshop-card__size:disabled { opacity: 0.35; text-decoration: line-through; }
.tshop-card__size.is-loading { opacity: 0.6; }
.tshop-card__size.is-added { color: var(--tshop-accent); font-weight: 600; }
@media (hover: none) {
	.tshop-card__sizes { position: static; transform: none; padding: 0.4rem 0; background: transparent; min-height: 0; }
	.tshop-card__quickview { opacity: 1; transform: none; }
	.tshop-card__dots { display: none; }
}

/* Info row — KF: title left + price right on one line, swatches under title */
.tshop-card__info {
	padding-top: 0.65rem;
	display: grid;
	grid-template-columns: 1.2fr auto;
	gap: 0 .75rem;
	align-items: start;
}
.tshop-card__title {
	grid-column: 1;
	display: block;
	font-size: var(--tshop-fs);
	font-weight: 400;
	line-height: 1.6;
	color: var(--tshop-contrast);
	text-decoration: none;
	margin-bottom: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tshop-card__title:hover { color: var(--tshop-accent); text-decoration: none; }
.tshop-card__price { grid-column: 2; grid-row: 1; font-weight: 700; font-size: var(--tshop-fs); text-align: right; }
.tshop-card__price del { color: var(--tshop-muted); font-weight: 400; margin-right: 0.35rem; }
.tshop-card__price ins { text-decoration: none; }

/* Swatches — KF card: 20px circles under the title */
.tshop-card__swatches { grid-column: 1; display: flex; gap: 6px; margin-top: 0.45rem; flex-wrap: wrap; }
.tshop-swatch {
	width: 20px;
	height: 20px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 100%;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	background-size: cover;
	background-position: center;
	box-shadow: 0 0 0 1px rgba(0,0,0,.12);
	transition: box-shadow .15s ease;
}
.tshop-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.tshop-swatch:hover { box-shadow: 0 0 0 1.5px var(--tshop-contrast); }
.tshop-swatch.is-active { box-shadow: 0 0 0 1.5px var(--tshop-base), 0 0 0 3px var(--tshop-contrast); }

/* ----------------------------------------------------- Quick-view panel
   KF: fixed overlay rgba(24,24,24,.5); white dialog 510px wide, radius 10px,
   anchored to the right side. */
.tshop-qv-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: flex-end; padding: 20px; }
.tshop-qv-modal[hidden] { display: none; }
.tshop-qv-modal__overlay { position: absolute; inset: 0; background: rgba(24,24,24,.5); opacity: 0; transition: opacity .28s ease; }
.tshop-qv-modal.is-open .tshop-qv-modal__overlay { opacity: 1; }
.tshop-qv-modal__dialog {
	position: relative;
	z-index: 1;
	background: var(--tshop-base);
	width: min(510px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	border-radius: 10px;
	transform: translateX(24px);
	opacity: 0;
	transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.tshop-qv-modal.is-open .tshop-qv-modal__dialog { transform: none; opacity: 1; }
.tshop-qv-modal__close { position: absolute; top: 10px; right: 12px; z-index: 2; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--tshop-contrast); }
.tshop-qv-loading { padding: 4rem; text-align: center; color: var(--tshop-muted); }

/* QV content: compact rows (thumb+title+price head, then options) */
.tshop-qv { display: block; padding: 1.4rem 1.5rem 1.5rem; }
.tshop-qv__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.tshop-qv__media { flex: 0 0 64px; width: 64px; aspect-ratio: 2/3; overflow: hidden; border-radius: 6px; background: var(--tshop-subtle); }
.tshop-qv__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tshop-qv__info { padding: 0; }
.tshop-qv__title { margin: 0 0 .2rem; font-size: var(--tshop-fs); font-weight: 500; }
.tshop-qv__price { font-weight: 700; font-size: var(--tshop-fs); margin: 0; }
.tshop-qv__desc { display: none; }
.tshop-qv__label { font-size: var(--tshop-fs); letter-spacing: 0.02em; text-transform: uppercase; color: var(--tshop-contrast); margin: 1rem 0 .55rem; border-top: 1px solid var(--tshop-border); padding-top: 1rem; }
.tshop-qv__label:first-of-type { border-top: 0; padding-top: 0; }
.tshop-qv__sizes { display: flex; flex-wrap: wrap; gap: 0.45rem; }
/* QV size pills (bordered, selected = black) */
.tshop-qv__sizes .tshop-card__size {
	min-width: 3.4rem;
	padding: 0.55rem .6rem;
	font-size: var(--tshop-fs);
	border: 1px solid var(--tshop-border);
	border-radius: 6px;
	background: var(--tshop-base);
	color: var(--tshop-contrast);
}
.tshop-qv__sizes .tshop-card__size:hover { border-color: var(--tshop-contrast); color: var(--tshop-contrast); }
.tshop-qv__sizes .tshop-card__size.is-added { background: var(--tshop-contrast); color: var(--tshop-base); border-color: var(--tshop-contrast); }
.tshop-qv .tshop-card__swatches { margin-top: 0; }
.tshop-qv .tshop-swatch { width: 26px; height: 26px; }
.tshop-qv__more { margin-top: 1.2rem; width: 100%; justify-content: center; }
@media (max-width: 720px) {
	.tshop-qv-modal { padding: 12px; align-items: center; justify-content: center; }
}

/* ================================================ HOMEPAGE SHOWCASE SECTIONS */
.tshop-btn-arrow--light { background: #fff; color: #111; border-color: #fff; }
.tshop-btn-arrow--light:hover { background: rgba(255,255,255,.88); color: #111; }
.tshop-btn-arrow--outline-light { background: transparent; color: #fff; border: 1px solid #fff; }
.tshop-btn-arrow--outline-light:hover { background: #fff; color: #111; }

/* ----- Brand banner (split/image banners) ----- */
.tshop-brand {
	position: relative;
	min-height: clamp(360px, 38vw, 555px);
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
}
.tshop-brand__bg {
	position: absolute;
	inset: -14% 0;
	background-size: cover;
	background-position: center;
	will-change: transform;
	z-index: 0;
}
.tshop-brand::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.05));
	z-index: 1;
}
.tshop-brand--right::after { background: linear-gradient(270deg, rgba(0,0,0,.42), rgba(0,0,0,.05)); }
.tshop-brand__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--tshop-container);
	margin: 0 auto;
	padding: 2rem var(--tshop-gutter);
}
.tshop-brand--right .tshop-brand__inner { text-align: right; }
.tshop-brand__eyebrow { letter-spacing: .25em; text-transform: uppercase; font-size: .69rem; opacity: .85; margin: 0 0 .6rem; }
.tshop-brand__title { font-family: inherit; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: .04em; line-height: 1.15; text-transform: uppercase; margin: 0 0 .8rem; }
.tshop-brand__copy { max-width: 44ch; opacity: .92; margin: 0 0 1.4rem; line-height: 1.7; font-size: var(--tshop-fs); }
.tshop-brand--right .tshop-brand__copy { margin-left: auto; }

/* ----- Full-bleed image banner — KF: CTA pill anchored bottom-right ----- */
.tshop-imgbanner { position: relative; height: clamp(380px, 38vw, 550px); overflow: hidden; display: block; }
.tshop-imgbanner__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.tshop-imgbanner__cta { position: absolute; right: var(--tshop-gutter); bottom: 30px; transform: none; z-index: 2; }

/* ----- 4-up brand/edit tile row (KF "split banner") -----
   FULL-BLEED flush image tiles; white uppercase title overlaid bottom-center,
   description fades in on hover. */
.tshop-tiles { display: flex; max-width: none; margin: 0; }
.tshop-tile { flex: 1 1 25%; min-width: 0; display: block; position: relative; overflow: hidden; text-decoration: none; color: #fff; }
.tshop-tile__img { display: block; overflow: hidden; }
.tshop-tile__img img { width: 100%; aspect-ratio: 0.73; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.tshop-tile:hover .tshop-tile__img img { transform: scale(1.04); }
.tshop-tile__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	text-align: center;
	padding: 2.2rem 1rem 2rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.28));
}
.tshop-tile__title { display: block; color: #fff; font-size: 19.8px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 0; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.tshop-tile__desc {
	display: block;
	color: #fff;
	font-size: var(--tshop-fs);
	line-height: 1.6;
	max-width: 38ch;
	margin: 0 auto;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .35s ease, opacity .35s ease, margin .35s ease;
}
.tshop-tile:hover .tshop-tile__desc { max-height: 80px; opacity: .92; margin-top: .4rem; }
@media (max-width: 900px) { .tshop-tiles { flex-wrap: wrap; } .tshop-tile { flex-basis: 50%; } }

/* ----- Newsletter (kept for inner pages; the footer holds KF's) ----- */
.tshop-newsletter { background: var(--tshop-subtle, #f5f5f5); text-align: center; padding: clamp(3rem, 6vw, 5rem) 1.25rem; }
.tshop-newsletter__title { margin: 0 0 .4rem; font-size: 19.8px; font-weight: 400; text-transform: none; letter-spacing: .495px; }
.tshop-newsletter__sub { margin: 0 auto; color: var(--tshop-muted); max-width: 46ch; }
.tshop-newsletter__form { display: flex; gap: .5rem; max-width: 480px; margin: 1.4rem auto 0; }
.tshop-newsletter__form input { flex: 1; }
.tshop-newsletter__form button { white-space: nowrap; border: 0; border-radius: 28px; background: #000; color: #fff; padding: 0 1.6rem; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; font-size: .78rem; cursor: pointer; }
@media (max-width: 540px) { .tshop-newsletter__form { flex-direction: column; } .tshop-newsletter__form button { padding: .9rem; } }

/* ================================================== HEADER DRAWERS */
.tshop-search-trigger { background: none; border: 0; padding: 0; cursor: pointer; color: var(--tshop-contrast); display: inline-flex; align-items: center; }

.tshop-overlay { position: fixed; inset: 0; background: rgba(24,24,24,.5); opacity: 0; transition: opacity .3s ease; z-index: 90; }
.tshop-overlay.is-open { opacity: 1; }
.tshop-overlay[hidden] { display: none; }

.tshop-drawer {
	position: fixed;
	top: 0;
	background: var(--tshop-base);
	z-index: 100;
	display: flex;
	flex-direction: column;
	box-shadow: 0 0 40px rgba(0,0,0,.14);
}
.tshop-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--tshop-border); }
.tshop-drawer__title { font-weight: 500; text-transform: none; letter-spacing: .02em; font-size: .92rem; }
.tshop-drawer__close { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--tshop-contrast); }
.tshop-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem 1.5rem; }

/* Catalog (left side menu, 400px like KF) */
.tshop-drawer--catalog { left: 0; height: 100%; width: min(400px, 86%); transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.tshop-drawer--catalog.is-open { transform: none; }
.tshop-catalog-list { list-style: none; margin: 0; padding: 0; }
.tshop-catalog-item { border-bottom: 1px solid var(--tshop-border); opacity: 0; transform: translateX(-16px); transition: opacity .4s ease, transform .4s ease; }
.tshop-drawer--catalog.is-open .tshop-catalog-item { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }
.tshop-catalog-item a { display: block; padding: .85rem .2rem; font-size: 13px; font-weight: 500; letter-spacing: .322px; text-transform: none; text-decoration: none; color: var(--tshop-contrast); }
.tshop-catalog-item a:hover { color: var(--tshop-accent); }

.tshop-drawer__tabs { display: flex; flex: 1; gap: 0; }
.tshop-tab { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; padding: .55rem .3rem; font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; color: var(--tshop-muted); }
.tshop-tab.is-active { color: var(--tshop-contrast); border-bottom-color: var(--tshop-contrast); }
.tshop-tabpane { display: none; }
.tshop-tabpane.is-active { display: block; }
.tshop-drawer__foot { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--tshop-border); }
.tshop-drawer__login { display: inline-block; background: #000; color: #fff; border-radius: 28px; padding: .7rem 1.5rem; text-transform: uppercase; font-size: .76rem; font-weight: 400; letter-spacing: .02em; text-decoration: none; }

/* Search — KF: full-width 100px bar slides down from the very top */
.tshop-drawer--search { left: 0; right: 0; width: 100%; height: auto; max-height: 80vh; transform: translateY(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.tshop-drawer--search.is-open { transform: none; }
.tshop-drawer--search .tshop-drawer__head { min-height: 100px; border-bottom: 0; padding: 0 var(--tshop-gutter); }
.tshop-search-drawer-form { flex: 1; }
.tshop-search-drawer-form input { width: 100%; border: 0; border-radius: 0; border-bottom: 0; font-size: 1.1rem; padding: .5rem 0; }
.tshop-search-drawer-form input:focus { box-shadow: none; }
.tshop-search__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.tshop-search__list a { display: flex; align-items: center; gap: .85rem; padding: .5rem; text-decoration: none; color: var(--tshop-contrast); border-radius: 6px; }
.tshop-search__list a:hover { background: var(--tshop-subtle); }
.tshop-search__list img { width: 48px; height: 60px; object-fit: cover; border-radius: 4px; }
.tshop-search__name { display: block; font-size: var(--tshop-fs); }
.tshop-search__price { font-size: .74rem; color: var(--tshop-muted); }
.tshop-search__all { display: inline-block; margin-top: .9rem; font-weight: 500; text-transform: uppercase; font-size: .74rem; letter-spacing: .06em; }
.tshop-search__loading, .tshop-search__empty { color: var(--tshop-muted); padding: .5rem; }

/* Account popup */
.tshop-account-popup {
	position: fixed;
	top: calc(var(--tshop-header-h) + 8px);
	right: 1.25rem;
	z-index: 120;
	background: var(--tshop-base);
	border: 1px solid var(--tshop-border);
	border-radius: 10px;
	box-shadow: 0 12px 34px rgba(0,0,0,.14);
	padding: 1rem 1.1rem;
	min-width: 210px;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .2s ease, transform .2s ease;
}
.tshop-account-popup.is-open { opacity: 1; transform: none; }
.tshop-account-popup[hidden] { display: none; }
.tshop-account-popup a { text-decoration: none; color: var(--tshop-contrast); font-size: var(--tshop-fs); padding: .3rem 0; }
.tshop-account-popup a:hover { color: var(--tshop-accent); }
.tshop-account-popup__hi { font-weight: 600; margin: 0 0 .3rem; }
.tshop-account-popup__btn { background: #000 !important; color: #fff !important; border-radius: 28px; text-align: center; padding: .6rem !important; text-transform: uppercase; font-size: .76rem; font-weight: 400; letter-spacing: .02em; }
.tshop-account-popup__btn:hover { color: #fff !important; opacity: .9; }

.tshop-cart-drawer__close { width: 32px; height: 32px; border-radius: 999px; background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* ===================================================== PLP / COLLECTION
   KF: container 1300, toolbar [Filter pill | N Products (bold, center) |
   grid icons | Sort by], filter = LEFT PUSH SIDEBAR 292px (not overlay),
   grid 4-col, col gap 14px, row gap 61px. */
.tshop-plp { max-width: var(--tshop-container); margin: 0 auto; padding: 1.25rem 15px 4rem; }
/* KF topbar: sticky under the header, Filter = plain funnel + text (no pill) */
.tshop-plp__toolbar { position: sticky; top: var(--tshop-header-h); z-index: 40; background: var(--tshop-base); display: flex; align-items: center; gap: 1rem; padding: .55rem 0 1rem; border-bottom: 0; flex-wrap: wrap; }
body.admin-bar .tshop-plp__toolbar { top: calc(var(--tshop-header-h) + 32px); }
.tshop-plp__filter-toggle { display: inline-flex; align-items: center; gap: .5rem; border: 0; background: none; border-radius: 0; padding: .4rem 0; cursor: pointer; font-size: var(--tshop-fs); font-weight: 600; font-family: inherit; transition: color .2s ease; }
.tshop-plp__filter-toggle:hover { color: var(--tshop-accent); }
.tshop-plp__count { margin: 0 0 0 auto; font-weight: 700; font-size: 14.72px; }
.tshop-plp__density { margin-left: .5rem; display: flex; gap: .4rem; align-items: center; }
.tshop-plp__density button { border: 0; background: none; width: auto; height: 30px; padding: 0 4px; border-radius: 4px; cursor: pointer; line-height: 1; color: #cfcfcf; display: inline-flex; align-items: center; }
.tshop-plp__density button.is-active { color: var(--tshop-contrast); background: none; }
.tshop-plp__sort { margin-left: .75rem; }
.tshop-plp__sort .woocommerce-ordering { margin: 0; }
.tshop-plp__sort select { font-size: var(--tshop-fs); border: 0; padding-left: 0; }

/* Push-layout body: sidebar column animates 0 → 292px */
.tshop-plp__body { display: grid; grid-template-columns: 0fr 1fr; gap: 0; transition: grid-template-columns .35s ease, gap .35s ease; align-items: start; }
.tshop-plp__body.has-filters { grid-template-columns: 292px 1fr; gap: 0 28px; }
.tshop-plp__sidebar {
	position: static;
	width: auto;
	min-width: 0;
	overflow: hidden;
	background: var(--tshop-base);
	transform: none;
	transition: opacity .25s ease;
	padding: 0;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	height: auto;
}
.tshop-plp__body.has-filters .tshop-plp__sidebar { opacity: 1; visibility: visible; overflow: visible; }
.tshop-plp__sidebar-head { display: none; }
.tshop-plp__overlay { display: none !important; }

.tshop-filter-group { margin-bottom: 1.5rem; border-bottom: 1px solid var(--tshop-border); padding-bottom: 1.2rem; }
.tshop-filter-group__title { font-size: var(--tshop-fs); font-weight: 600; text-transform: none; letter-spacing: .01em; margin: 0 0 .7rem; }
.tshop-filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.tshop-filter { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tshop-contrast); font-size: var(--tshop-fs); padding: .28rem 0; }
.tshop-filter__check { width: 15px; height: 15px; border: 1px solid #c9c9c9; border-radius: 3px; flex: 0 0 auto; }
.tshop-filter.is-active .tshop-filter__check { background: var(--tshop-contrast); border-color: var(--tshop-contrast); }
.tshop-filter__swatch { width: 15px; height: 15px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset; }
.tshop-filter.is-active { font-weight: 600; }
.tshop-filter__name { flex: 1; }
.tshop-filter__count { color: var(--tshop-muted); font-size: .72rem; }
.tshop-cat-list .tshop-cat-list { padding-left: .9rem; margin-top: .15rem; border-left: 1px solid var(--tshop-border); }

/* Product grid — 4 cols, 14px col gap, 61px row gap */
.tshop-plp__grid ul.products { display: grid; grid-template-columns: repeat(var(--tshop-cols, 4), 1fr); gap: 61px 14px; margin: 0; padding: 0; list-style: none; }
.tshop-plp__grid ul.products::before, .tshop-plp__grid ul.products::after { content: none !important; display: none !important; }
.tshop-plp__grid li.product { width: auto !important; margin: 0 !important; float: none !important; }
.tshop-plp__empty { padding: 4rem 0; text-align: center; color: var(--tshop-muted); }
/* KF pagination: 44px circles, active solid black, hairline borders */
.tshop-plp__pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.tshop-plp__pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .4rem; border: 1px solid rgba(24, 24, 24, 0.1); border-radius: 100%; text-decoration: none; color: var(--tshop-contrast); font-size: var(--tshop-fs); transition: border-color .2s ease; }
.tshop-plp__pagination .page-numbers:hover { border-color: var(--tshop-contrast); }
.tshop-plp__pagination .page-numbers.current { background: var(--tshop-contrast); color: var(--tshop-base); border-color: var(--tshop-contrast); }

@media (max-width: 900px) {
	.tshop-plp__density { display: none; }
	.tshop-plp__grid ul.products { --tshop-cols: 2 !important; gap: 32px 10px; }
	/* sidebar back to overlay drawer on mobile */
	.tshop-plp__body, .tshop-plp__body.has-filters { display: block; }
	.tshop-plp__sidebar { position: fixed; top: 0; left: 0; height: 100%; width: min(340px, 88%); z-index: 101; transform: translateX(-100%); transition: transform .32s cubic-bezier(.4,0,.2,1); padding: 1.25rem; overflow-y: auto; box-shadow: 0 0 40px rgba(0,0,0,.14); opacity: 1; visibility: visible; }
	.tshop-plp__sidebar.is-open { transform: none; }
	.tshop-plp__sidebar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; font-weight: 600; }
	.tshop-plp__filter-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; }
	.tshop-plp__overlay { display: block !important; position: fixed; inset: 0; background: rgba(24,24,24,.5); opacity: 0; transition: opacity .3s ease; z-index: 100; }
	.tshop-plp__overlay.is-open { opacity: 1; }
	.tshop-plp__overlay[hidden] { display: none !important; }
}

/* ============================================================ PDP
   KF: 90px vertical thumb rail (left, sticky) + ALL images stacked in a
   643px column (9px gaps) + sticky summary right. */
.tshop-pdp { max-width: var(--tshop-container); margin: 0 auto; padding: 1.25rem 15px 3rem; }
.tshop-pdp__crumbs { font-size: .74rem; color: var(--tshop-muted); margin-bottom: 1rem; }
.tshop-pdp__crumbs a { color: var(--tshop-muted); text-decoration: none; }
.tshop-pdp__crumbs a:hover { color: var(--tshop-accent); }
.tshop-pdp__row { display: grid; grid-template-columns: 90px minmax(0, 1.05fr) minmax(360px, .85fr); gap: 9px 24px; align-items: start; }
.tshop-pdp__gallery { display: contents; }
.tshop-pdp__thumbs { grid-column: 1; display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--tshop-header-h) + 14px); max-height: calc(100vh - var(--tshop-header-h) - 28px); overflow-y: auto; scrollbar-width: none; }
.tshop-pdp__thumbs::-webkit-scrollbar { display: none; }
.tshop-pdp__thumb { padding: 0; border: 1px solid transparent; background: var(--tshop-subtle); border-radius: 4px; overflow: hidden; cursor: pointer; aspect-ratio: 2/3; flex: 0 0 auto; }
.tshop-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tshop-pdp__thumb.is-active { border-color: var(--tshop-contrast); }
/* Stacked image column */
.tshop-pdp__stage { grid-column: 2; position: relative; display: flex; flex-direction: column; gap: 9px; aspect-ratio: auto; overflow: visible; border-radius: 0; background: none; }
.tshop-pdp__main { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; display: block; border-radius: 0; background: var(--tshop-subtle); }
.tshop-pdp__stage .tshop-badge { top: 10px; left: 10px; }

.tshop-pdp__summary { grid-column: 3; position: sticky; top: calc(var(--tshop-header-h) + 14px); }
.tshop-pdp__title { font-size: 19.8px; font-weight: 400; letter-spacing: .495px; margin: 0 0 .3rem; }
.tshop-pdp__sku { color: var(--tshop-muted); font-size: .74rem; margin: 0 0 .8rem; letter-spacing: .03em; }
.tshop-pdp__price { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.4rem; }
.tshop-pdp__price del { color: var(--tshop-muted); font-weight: 400; font-size: .9rem; margin-right: .5rem; }
.tshop-pdp__price ins { text-decoration: none; }
.tshop-pdp__opt { margin-bottom: 1.3rem; }
.tshop-pdp__opt-label { display: flex; align-items: center; justify-content: space-between; font-size: var(--tshop-fs); text-transform: uppercase; letter-spacing: .02em; color: var(--tshop-contrast); margin: 0 0 .6rem; }
.tshop-pdp__opt-label span[data-tshop-colour-name] { color: var(--tshop-contrast); text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.tshop-pdp__sizechart-link { background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--tshop-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .02em; }
.tshop-pdp__swatches .tshop-swatch { width: 30px; height: 30px; }
.tshop-pdp__sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; max-width: 340px; }
.tshop-pdp__size { min-width: 0; padding: .6rem .4rem; border: 1px solid var(--tshop-border); background: var(--tshop-base); color: var(--tshop-contrast); font-size: var(--tshop-fs); font-weight: 400; font-family: inherit; border-radius: 6px; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.tshop-pdp__size:hover:not(:disabled) { border-color: var(--tshop-contrast); }
.tshop-pdp__size.is-selected { background: var(--tshop-contrast); color: var(--tshop-base); border-color: var(--tshop-contrast); }
.tshop-pdp__size.is-disabled, .tshop-pdp__size:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.tshop-pdp__qty-label { font-size: var(--tshop-fs); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .6rem; }
.tshop-pdp__buy { display: flex; gap: .75rem; margin: 1.4rem 0 .4rem; }
.tshop-qty { display: inline-flex; align-items: center; border: 1px solid var(--tshop-border); border-radius: 6px; }
.tshop-qty__btn { width: 42px; height: 48px; background: none; border: 0; font-size: 1.05rem; cursor: pointer; color: var(--tshop-contrast); }
.tshop-qty__input { width: 38px; height: 46px; border: 0; text-align: center; font-size: var(--tshop-fs); padding: 0; }
.tshop-qty__input:focus { box-shadow: none; }
.tshop-pdp__add { flex: 1; max-width: 216px; height: 50px; border: 0; border-radius: 28px; background: #000; color: #fff; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; font-size: 14px; font-family: inherit; cursor: pointer; transition: opacity .2s ease; }
.tshop-pdp__add:hover { opacity: .88; }
.tshop-pdp__add:disabled { background: var(--tshop-muted); cursor: not-allowed; }
.tshop-pdp__add.is-loading { opacity: .6; }
.tshop-pdp__hint { color: #b91c1c; font-size: .78rem; margin: .2rem 0 0; }

.tshop-pdp__share { display: flex; align-items: center; gap: .6rem; margin: 1.4rem 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tshop-muted); }
.tshop-pdp__share a { width: 30px; height: 30px; border: 1px solid var(--tshop-border); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--tshop-contrast); font-size: .76rem; }
.tshop-pdp__share a:hover { background: var(--tshop-contrast); color: var(--tshop-base); }

/* Open description block (KF: label + always-visible rich text, no accordion) */
.tshop-pdp__desc { border-top: 1px solid var(--tshop-border); margin-top: 1.2rem; padding-top: 1rem; }
.tshop-pdp__desc-label { font-size: var(--tshop-fs); font-weight: 500; margin: 0 0 .6rem; }
.tshop-pdp__desc-body { color: var(--tshop-contrast); font-size: var(--tshop-fs); line-height: 1.6; }
.tshop-pdp__desc-body p { margin: 0 0 .8rem; }
.tshop-pdp__desc-body ul { padding-left: 1.1rem; margin: 0 0 .8rem; }

/* Sticky bottom viewbar (KF: appears when the buy box scrolls away) */
.tshop-pdp__viewbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	background: #fff;
	box-shadow: 0 -4px 24px rgba(0,0,0,.08);
	transform: translateY(105%);
	transition: transform .3s ease;
}
.tshop-pdp__viewbar.is-visible { transform: none; }
.tshop-pdp__viewbar[hidden] { display: block; }
.tshop-pdp__viewbar-inner { max-width: var(--tshop-container); margin: 0 auto; display: flex; align-items: center; gap: 1rem; padding: .8rem 15px; }
.tshop-pdp__viewbar-thumb img { width: 54px; height: 80px; object-fit: cover; border-radius: 4px; display: block; }
.tshop-pdp__viewbar-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tshop-pdp__viewbar-title { font-size: var(--tshop-fs); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tshop-pdp__viewbar-price { font-size: var(--tshop-fs); font-weight: 700; }
.tshop-pdp__viewbar-add { margin-left: auto; flex: 0 0 auto; width: 216px; }
@media (max-width: 700px) { .tshop-pdp__viewbar-add { width: auto; padding: 0 1.2rem; } }

/* Accordion */
.tshop-accordion { border-top: 1px solid var(--tshop-border); margin-top: 1rem; }
.tshop-accordion__item { border-bottom: 1px solid var(--tshop-border); }
.tshop-accordion__head { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; padding: 1rem 0; font-size: var(--tshop-fs); font-weight: 500; font-family: inherit; text-transform: none; letter-spacing: .02em; cursor: pointer; color: var(--tshop-contrast); }
.tshop-accordion__icon { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.tshop-accordion__icon::before, .tshop-accordion__icon::after { content: ""; position: absolute; background: var(--tshop-contrast); transition: transform .25s ease; }
.tshop-accordion__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.tshop-accordion__icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.tshop-accordion__item.is-open .tshop-accordion__icon::after { transform: scaleY(0); }
.tshop-accordion__body { display: none; padding: 0 0 1.1rem; color: var(--tshop-muted); font-size: var(--tshop-fs); line-height: 1.7; }
.tshop-accordion__item.is-open .tshop-accordion__body { display: block; }

/* Size chart modal */
.tshop-sizechart { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.tshop-sizechart[hidden] { display: none; }
.tshop-sizechart__overlay { position: absolute; inset: 0; background: rgba(24,24,24,.5); opacity: 0; transition: opacity .25s ease; }
.tshop-sizechart.is-open .tshop-sizechart__overlay { opacity: 1; }
.tshop-sizechart__dialog { position: relative; background: var(--tshop-base); border-radius: 10px; padding: 1.8rem; width: min(520px, 100%); transform: translateY(12px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.tshop-sizechart.is-open .tshop-sizechart__dialog { transform: none; opacity: 1; }
.tshop-sizechart__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
.tshop-sizechart__table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: var(--tshop-fs); }
.tshop-sizechart__table th, .tshop-sizechart__table td { border: 1px solid var(--tshop-border); padding: .5rem .6rem; text-align: center; }
.tshop-sizechart__table th { background: var(--tshop-subtle); }

@media (max-width: 820px) {
	.tshop-pdp__row { grid-template-columns: 1fr; }
	.tshop-pdp__thumbs { display: none; }
	.tshop-pdp__stage { grid-column: 1; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; }
	.tshop-pdp__main { flex: 0 0 100%; scroll-snap-align: start; }
	.tshop-pdp__summary { grid-column: 1; position: static; }
}

/* Customer reviews */
.tshop-reviews { border-top: 1px solid var(--tshop-border); margin-top: 1rem; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem; }
.tshop-reviews__inner { max-width: 820px; margin: 0 auto; }
.tshop-reviews__title { text-align: center; margin: 0 0 2rem; }
.tshop-reviews .woocommerce-Reviews-title { display: none; }
.tshop-reviews .commentlist { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.tshop-reviews .commentlist .review { border: 1px solid var(--tshop-border); border-radius: 8px; padding: 1.2rem 1.4rem; }
.tshop-reviews .comment-text { margin-left: 0 !important; }
.tshop-reviews .woocommerce-review__author { font-weight: 600; }
.tshop-reviews .woocommerce-review__dash { display: none; }
.tshop-reviews .woocommerce-review__published-date { color: var(--tshop-muted); font-size: .74rem; }
.tshop-reviews .star-rating { color: var(--tshop-contrast); }
.tshop-reviews .comment-form { display: grid; gap: 1rem; max-width: 560px; margin: 0 auto; }
.tshop-reviews .comment-form .stars a { color: var(--tshop-contrast); }
.tshop-reviews .comment-form label { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--tshop-muted); }
.tshop-reviews .comment-form input[type="submit"],
.tshop-reviews #respond input#submit { border: 0; border-radius: 28px; background: #000; color: #fff; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; font-size: .8rem; padding: .9rem 2rem; cursor: pointer; justify-self: start; }
.tshop-reviews .woocommerce-noreviews { text-align: center; color: var(--tshop-muted); }
.tshop-reviews #review_form_wrapper { margin-top: 1.5rem; }
