/* =========================================================================
   Touch Boutique redesign — white / black / subtle gold, mobile-first.
   Presentation only. Disable with define('TB_REDESIGN_DISABLE', true).
   ========================================================================= */

:root {
	--tb-bg: #ffffff;
	--tb-ink: #111111;
	--tb-ink-2: #3a3a3a;
	--tb-muted: #767676;
	--tb-line: #e9e6e1;
	--tb-tint: #faf8f4;
	--tb-gold: #b08d57;
	--tb-gold-soft: #e9dcc6;
	--tb-sale: #9b2c2c;
	--tb-radius: 4px;
	--tb-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--tb-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--tb-wrap: 1280px;
	--tb-gutter: 16px;
}
@media (min-width: 768px) { :root { --tb-gutter: 28px; } }

/* ---------- Base ---------- */
body.tb-redesign,
body.tb-redesign #page,
body.tb-redesign .site-content,
body.tb-redesign.ast-separate-container,
body.tb-redesign.ast-separate-container .ast-article-single,
body.tb-redesign.ast-separate-container .ast-woocommerce-container {
	background: var(--tb-bg) !important;
}
body.tb-redesign {
	color: var(--tb-ink-2);
	font-family: var(--tb-sans);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.tb-redesign h1, body.tb-redesign h2, body.tb-redesign h3,
body.tb-redesign .product_title, body.tb-redesign .woocommerce-products-header__title,
body.tb-redesign .entry-title {
	font-family: var(--tb-serif);
	color: var(--tb-ink);
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.15;
}
body.tb-redesign a { color: var(--tb-ink); transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
body.tb-redesign a:hover { color: var(--tb-gold); }
body.tb-redesign img { max-width: 100%; height: auto; }
body.tb-redesign :focus-visible { outline: 2px solid var(--tb-gold); outline-offset: 2px; }

.tb-wrap { max-width: var(--tb-wrap); margin: 0 auto; padding: 0 var(--tb-gutter); }
.tb-eyebrow { font-family: var(--tb-sans); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 500; color: var(--tb-gold); margin: 0 0 10px; }

/* ---------- Buttons (site-wide) ---------- */
.tb-btn,
body.tb-redesign .woocommerce a.button, body.tb-redesign .woocommerce button.button,
body.tb-redesign .woocommerce input.button, body.tb-redesign .woocommerce #respond input#submit,
body.tb-redesign .woocommerce a.button.alt, body.tb-redesign .woocommerce button.button.alt,
body.tb-redesign a.button, body.tb-redesign button.single_add_to_cart_button,
body.tb-redesign .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 26px;
	background: var(--tb-ink) !important; color: #fff !important;
	border: 1px solid var(--tb-ink) !important; border-radius: var(--tb-radius) !important;
	font-family: var(--tb-sans) !important; font-size: 13px !important; font-weight: 500 !important;
	text-transform: uppercase; letter-spacing: .14em; line-height: 1.2 !important;
	text-decoration: none; box-shadow: none !important;
}
.tb-btn:hover,
body.tb-redesign .woocommerce a.button:hover, body.tb-redesign .woocommerce button.button:hover,
body.tb-redesign .woocommerce a.button.alt:hover, body.tb-redesign .woocommerce button.button.alt:hover,
body.tb-redesign a.button:hover, body.tb-redesign button.single_add_to_cart_button:hover {
	background: var(--tb-gold) !important; border-color: var(--tb-gold) !important; color: #fff !important;
}
.tb-btn--line { background: transparent !important; color: var(--tb-ink) !important; }
.tb-btn--line:hover { background: var(--tb-ink) !important; border-color: var(--tb-ink) !important; color: #fff !important; }
body.tb-redesign .woocommerce button.button:disabled,
body.tb-redesign .woocommerce button.button.disabled { opacity: .45; }

/* ---------- Announcement bar ---------- */
.tb-announce { background: var(--tb-ink); color: #f3efe7; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tb-announce__track { max-width: var(--tb-wrap); margin: 0 auto; padding: 8px var(--tb-gutter); display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.tb-announce a { color: var(--tb-gold-soft) !important; text-decoration: underline; text-underline-offset: 3px; }
.tb-announce a:hover { color: #fff !important; }
.tb-dot { color: var(--tb-gold); font-size: 8px; }
@media (max-width: 480px) { .tb-announce .tb-dot, .tb-announce span:first-child { display: none; } }

/* ---------- Header (Astra builder) ---------- */
body.tb-redesign .site-header,
body.tb-redesign .main-header-bar,
body.tb-redesign .ast-primary-header-bar,
body.tb-redesign .ast-mobile-header-wrap .ast-primary-header-bar,
body.tb-redesign .ast-above-header-bar,
body.tb-redesign .ast-below-header-bar {
	background: #fff !important; background-image: none !important;
}
body.tb-redesign .site-header { border-bottom: 1px solid var(--tb-line); box-shadow: none; }
/* Transparent header (Astra setting) would overlap content; keep it in normal flow, solid white. */
body.tb-redesign.ast-theme-transparent-header #masthead { position: relative !important; }
body.tb-redesign .ast-above-header-bar { border-bottom: 1px solid var(--tb-line) !important; min-height: 0; }
body.tb-redesign .site-header .main-header-menu > .menu-item > .menu-link,
body.tb-redesign .site-header .ast-builder-menu .menu-link {
	color: var(--tb-ink) !important; font-family: var(--tb-sans); font-size: 13px; font-weight: 500;
	text-transform: uppercase; letter-spacing: .14em;
}
body.tb-redesign .site-header .menu-item:hover > .menu-link,
body.tb-redesign .site-header .current-menu-item > .menu-link { color: var(--tb-gold) !important; }
body.tb-redesign .site-header .ast-header-woo-cart .ast-cart-menu-wrap .count,
body.tb-redesign .site-header .ast-site-header-cart .ast-addon-cart-wrap .count,
body.tb-redesign .ast-site-header-cart .ast-count-text { background: var(--tb-gold) !important; color: #fff !important; border-color: var(--tb-gold) !important; }
body.tb-redesign .site-header svg, body.tb-redesign .site-header .ast-icon { fill: var(--tb-ink); color: var(--tb-ink); }
body.tb-redesign .site-header .custom-logo-link img,
body.tb-redesign .site-header .custom-logo { max-height: 64px !important; width: auto !important; max-width: 200px !important; }
@media (max-width: 921px) { body.tb-redesign .site-header .custom-logo-link img, body.tb-redesign .site-header .custom-logo { max-height: 46px !important; max-width: 150px !important; } }
body.tb-redesign .site-header form { display: flex; align-items: stretch; border: 1px solid var(--tb-line); border-radius: 999px; background: var(--tb-tint); overflow: hidden; }
body.tb-redesign .site-header form input[type="search"],
body.tb-redesign .site-header form input[type="text"],
body.tb-redesign .site-header .search-field { border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 8px 4px 8px 16px !important; min-height: 38px; font-size: 14px; box-shadow: none !important; outline: none; }
body.tb-redesign .site-header form input[type="search"], body.tb-redesign .site-header form input[type="text"] { flex: 1 1 auto; min-width: 0; }
body.tb-redesign .site-header form button,
body.tb-redesign .site-header .search-submit { flex: 0 0 42px; width: 42px !important; display: inline-flex; align-items: center; justify-content: center; background: transparent !important; border: 0 !important; color: var(--tb-ink) !important; padding: 0 !important; min-height: 38px; }
@media (max-width: 921px) { body.tb-redesign .site-header form input[type="search"], body.tb-redesign .site-header form input[type="text"] { font-size: 16px; width: 100%; } }

/* Category navigation bar (under header) */
.tb-catnav { background: #fff; border-bottom: 1px solid var(--tb-line); }
.tb-catnav ul { list-style: none; margin: 0 auto; padding: 0 var(--tb-gutter); max-width: var(--tb-wrap); display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
.tb-catnav ul::-webkit-scrollbar { display: none; }
.tb-catnav li { flex: 0 0 auto; margin: 0; }
.tb-catnav a { display: block; padding: 13px 0 11px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; color: var(--tb-ink); border-bottom: 2px solid transparent; white-space: nowrap; }
.tb-catnav a:hover, .tb-catnav a.is-active { color: var(--tb-ink) !important; border-bottom-color: var(--tb-gold); }
.tb-catnav .tb-catnav__sale a { color: var(--tb-sale); }
@media (min-width: 900px) { .tb-catnav ul { justify-content: center; gap: 36px; } }
body.tb-redesign .ast-header-sticked, body.tb-redesign .ast-sticky-active { box-shadow: 0 1px 0 var(--tb-line) !important; }
/* sticky header on mobile for easy navigation */
@media (max-width: 921px) {
	body.tb-redesign #ast-mobile-header { position: sticky; top: 0; z-index: 99; }
	body.tb-redesign.admin-bar #ast-mobile-header { top: 46px; }
}

/* ---------- Footer ---------- */
body.tb-redesign .site-footer,
body.tb-redesign .site-footer .site-primary-footer-wrap,
body.tb-redesign .site-footer .site-above-footer-wrap,
body.tb-redesign .site-footer .site-below-footer-wrap { background: var(--tb-ink) !important; background-image: none !important; color: #cfcac2; border-top: 0 !important; }
body.tb-redesign .site-footer a, body.tb-redesign .site-footer .menu-link { color: #f3efe7 !important; }
body.tb-redesign .site-footer a:hover { color: var(--tb-gold) !important; }
body.tb-redesign .site-footer svg { fill: #f3efe7; }
body.tb-redesign .site-footer .ast-footer-copyright { color: #a39d93; font-size: 13px; letter-spacing: .04em; }

/* ---------- Homepage ---------- */
body.tb-home .site-content > .ast-container { max-width: none; padding: 0; display: block; }
.tb-home-main { width: 100%; }

.tb-hero { display: grid; grid-template-columns: 1fr; background: var(--tb-tint); }
.tb-hero__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tb-gold-soft); }
@media (max-width: 899px) {
	.tb-hero__media img { object-position: center 30%; }
	.tb-hero__content { padding: 24px var(--tb-gutter) 32px; }
	.tb-hero__text { margin-bottom: 20px; font-size: 15px; }
}
.tb-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-hero__content { padding: 32px var(--tb-gutter) 40px; text-align: center; }
.tb-hero__title { font-size: clamp(38px, 9vw, 72px); margin: 0 0 14px; }
.tb-hero__text { max-width: 30em; margin: 0 auto 26px; color: var(--tb-ink-2); font-size: 16px; }
.tb-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 900px) {
	.tb-hero { grid-template-columns: 1.1fr 1fr; min-height: 560px; }
	.tb-hero__media { aspect-ratio: auto; order: 2; }
	.tb-hero__content { order: 1; display: flex; flex-direction: column; justify-content: center; text-align: left; padding: 64px 56px 64px max(var(--tb-gutter), calc((100vw - var(--tb-wrap)) / 2 + var(--tb-gutter))); }
	.tb-hero__text { margin-left: 0; }
	.tb-hero__cta { justify-content: flex-start; }
}

.tb-section { padding: 40px 0; }
@media (min-width: 768px) { .tb-section { padding: 64px 0; } }
.tb-section--tint { background: var(--tb-tint); }
.tb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--tb-line); padding-bottom: 12px; }
.tb-head h2 { font-size: clamp(26px, 5.5vw, 38px); margin: 0; }
.tb-link { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--tb-gold); padding-bottom: 2px; white-space: nowrap; }

/* Category rail: horizontal scroll on mobile, wraps on desktop */
.tb-cats { padding-bottom: 16px; }
.tb-cats .tb-head { border-bottom: 0; justify-content: center; }
.tb-cats__list { list-style: none; margin: 0; padding: 4px 0 12px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tb-cats__list::-webkit-scrollbar { display: none; }
.tb-cats__list li { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
.tb-cats__list a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 84px; text-decoration: none; }
.tb-cats__img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 1px solid var(--tb-gold-soft); padding: 3px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.tb-cats__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.tb-cats__name { font-size: 12px; text-align: center; line-height: 1.3; color: var(--tb-ink); letter-spacing: .02em; }
.tb-cats__list a:hover .tb-cats__img { border-color: var(--tb-gold); transform: translateY(-2px); }
@media (min-width: 900px) {
	.tb-cats__list { flex-wrap: wrap; justify-content: center; overflow: visible; gap: 28px; }
	.tb-cats__list a { width: 108px; }
	.tb-cats__img { width: 108px; height: 108px; }
	.tb-cats__name { font-size: 13px; }
}

/* Collection tiles */
.tb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tb-tile { position: relative; display: block; overflow: hidden; border-radius: var(--tb-radius); aspect-ratio: 3 / 4; background: var(--tb-tint); text-decoration: none; }
.tb-tile--wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.tb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tb-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); }
.tb-tile__label { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.tb-tile__name { font-family: var(--tb-serif); font-size: clamp(22px, 5vw, 34px); font-weight: 600; line-height: 1.1; }
.tb-tile__cta { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--tb-gold-soft); }
.tb-tile:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
	.tb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.tb-tile, .tb-tile--wide { grid-column: auto; aspect-ratio: 4 / 5; }
}

/* USP strip */
.tb-usp { border-top: 1px solid var(--tb-line); border-bottom: 1px solid var(--tb-line); padding: 28px 0; }
.tb-usp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.tb-usp__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; color: inherit; }
.tb-usp__item svg { width: 26px; height: 26px; fill: var(--tb-gold); margin-bottom: 6px; }
.tb-usp__item strong { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--tb-ink); font-weight: 600; }
.tb-usp__item span { font-size: 13px; color: var(--tb-muted); }
@media (min-width: 900px) { .tb-usp__grid { grid-template-columns: repeat(4, 1fr); } }

.tb-insta { text-align: center; }
.tb-insta h2 { font-size: clamp(28px, 6vw, 44px); margin: 0 0 8px; }
.tb-insta p { color: var(--tb-muted); margin: 0 auto 22px; max-width: 32em; }

/* ---------- Product grid (shop, categories, homepage rails, related) ---------- */
body.tb-redesign ul.products {
	display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 26px 12px !important; margin: 0 0 8px !important; padding: 0; list-style: none;
}
body.tb-redesign ul.products::before, body.tb-redesign ul.products::after { display: none !important; }
@media (min-width: 768px) { body.tb-redesign ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 36px 20px !important; } }
@media (min-width: 1100px) { body.tb-redesign ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
body.tb-redesign ul.products li.product .woocommerce-loop-product__title,
body.tb-redesign ul.products li.product .astra-shop-summary-wrap,
body.tb-redesign ul.products li.product .woocommerce-loop-product__link { text-align: left !important; }
body.tb-redesign ul.products li.product .price { justify-content: flex-start; }
body.tb-redesign ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important;
	background: transparent !important; border: 0 !important; box-shadow: none !important; text-align: left; position: relative; display: flex; flex-direction: column;
}
body.tb-redesign ul.products li.product .astra-shop-thumbnail-wrap,
body.tb-redesign ul.products li.product > a:first-child { position: relative; display: block; overflow: hidden; border-radius: var(--tb-radius); background: var(--tb-tint); }
body.tb-redesign ul.products li.product img {
	width: 100% !important; aspect-ratio: 3 / 4; object-fit: cover; margin: 0 !important; border-radius: var(--tb-radius); transition: transform .5s ease, opacity .3s ease; display: block;
}
body.tb-redesign ul.products li.product:hover img { transform: scale(1.035); }
body.tb-redesign ul.products li.product .astra-shop-summary-wrap { padding: 12px 2px 0 !important; display: flex; flex-direction: column; flex: 1; }
body.tb-redesign ul.products li.product .ast-woo-product-category { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--tb-muted); margin-bottom: 4px; }
body.tb-redesign ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--tb-sans) !important; font-size: 14px !important; font-weight: 400 !important; color: var(--tb-ink) !important; line-height: 1.4; margin: 0 0 6px !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0;
}
body.tb-redesign ul.products li.product .price { font-size: 14px !important; color: var(--tb-ink) !important; font-weight: 600; margin-bottom: 10px !important; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
body.tb-redesign ul.products li.product .price del { color: var(--tb-muted) !important; font-weight: 400; font-size: 12.5px; opacity: 1; order: 2; }
body.tb-redesign ul.products li.product .price ins { text-decoration: none; order: 1; }
body.tb-redesign ul.products li.product .star-rating { font-size: 11px; color: var(--tb-gold); margin-bottom: 6px; }
body.tb-redesign ul.products li.product .button,
body.tb-redesign ul.products li.product .added_to_cart {
	margin-top: auto !important; width: 100%; min-height: 40px; padding: 0 10px !important; font-size: 11px !important; letter-spacing: .12em;
	background: #fff !important; color: var(--tb-ink) !important; border: 1px solid var(--tb-ink) !important;
}
body.tb-redesign ul.products li.product .button:hover { background: var(--tb-ink) !important; color: #fff !important; }
body.tb-redesign ul.products li.product .added_to_cart { margin-top: 6px !important; border-color: var(--tb-gold) !important; color: var(--tb-gold) !important; }
@media (max-width: 480px) {
	body.tb-redesign ul.products li.product .button { min-height: 36px; font-size: 10px !important; letter-spacing: .08em; }
	body.tb-redesign ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; }
}

/* Sale badge */
body.tb-redesign .ast-onsale-card { display: none !important; } /* Astra add-on duplicate; replaced by % badge */
body.tb-redesign .woocommerce span.onsale, body.tb-redesign span.onsale {
	position: absolute; top: 10px !important; left: 10px !important; right: auto !important; z-index: 2;
	min-width: 0; min-height: 0; width: auto; height: auto; line-height: 1 !important; padding: 6px 8px !important;
	background: #fff !important; color: var(--tb-ink) !important; border: 1px solid var(--tb-gold); border-radius: 2px !important;
	font-family: var(--tb-sans); font-size: 11px !important; font-weight: 600; letter-spacing: .06em; box-shadow: none;
}

/* Variation swatches: keep plugin logic, harmonise look */
body.tb-redesign .variable-items-wrapper .variable-item:not(.radio-variable-item) { box-shadow: 0 0 0 1px var(--tb-line) !important; border-radius: 2px !important; }
body.tb-redesign .variable-items-wrapper .variable-item.selected:not(.radio-variable-item),
body.tb-redesign .variable-items-wrapper .variable-item:not(.radio-variable-item):hover { box-shadow: 0 0 0 2px var(--tb-ink) !important; }

/* ---------- Shop / archive page ---------- */
body.tb-redesign.woocommerce-shop .site-content > .ast-container,
body.tb-redesign.tax-product_cat .site-content > .ast-container { max-width: var(--tb-wrap); padding-left: var(--tb-gutter); padding-right: var(--tb-gutter); }
body.tb-redesign.ast-separate-container .ast-woocommerce-container,
body.tb-redesign .ast-woocommerce-container { padding: 24px 0 48px !important; background: transparent !important; }
body.tb-redesign .woocommerce-products-header { text-align: center; padding: 8px 0 18px; }
body.tb-redesign .woocommerce-products-header__title { font-size: clamp(30px, 7vw, 48px) !important; margin-bottom: 4px; }
body.tb-redesign .term-description { color: var(--tb-muted); max-width: 40em; margin: 0 auto; }
body.tb-redesign .woocommerce-breadcrumb { font-size: 12px; letter-spacing: .06em; color: var(--tb-muted); text-transform: uppercase; }
body.tb-redesign .woocommerce-breadcrumb a { color: var(--tb-muted); }
body.tb-redesign .ast-shop-toolbar-container,
body.tb-redesign .woocommerce-result-count, body.tb-redesign .woocommerce-ordering { font-size: 13px; color: var(--tb-muted); }
body.tb-redesign .ast-shop-toolbar-container { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--tb-line); border-bottom: 1px solid var(--tb-line); padding: 10px 0; margin-bottom: 24px; }
body.tb-redesign .woocommerce-ordering select { border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 8px 32px 8px 12px; background-color: #fff; font-size: 13px; }
body.tb-redesign .woocommerce-pagination ul { border: 0 !important; display: flex; justify-content: center; gap: 6px; }
body.tb-redesign .woocommerce-pagination ul li { border: 0 !important; }
body.tb-redesign .woocommerce-pagination ul li a, body.tb-redesign .woocommerce-pagination ul li span { min-width: 40px; height: 40px; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid var(--tb-line) !important; border-radius: var(--tb-radius); }
body.tb-redesign .woocommerce-pagination ul li span.current { background: var(--tb-ink) !important; color: #fff !important; border-color: var(--tb-ink) !important; }

/* Sub-category pills at top of category archives */
.tb-subcats { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 18px; margin: 0; list-style: none; scrollbar-width: none; justify-content: flex-start; }
.tb-subcats::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .tb-subcats { justify-content: center; flex-wrap: wrap; } }
.tb-subcats a { display: inline-block; white-space: nowrap; padding: 8px 16px; border: 1px solid var(--tb-line); border-radius: 999px; font-size: 13px; text-decoration: none; }
.tb-subcats a:hover, .tb-subcats a.is-active { border-color: var(--tb-ink); background: var(--tb-ink); color: #fff !important; }

/* ---------- Single product ---------- */
body.tb-redesign.single-product .site-content > .ast-container { max-width: var(--tb-wrap); }
body.tb-redesign.single-product div.product { padding-top: 12px; }
body.tb-redesign.single-product .woocommerce-product-gallery { border-radius: var(--tb-radius); overflow: hidden; }
body.tb-redesign.single-product .woocommerce-product-gallery img { border-radius: var(--tb-radius); }
body.tb-redesign.single-product .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px !important; }
body.tb-redesign.single-product .flex-control-thumbs li { width: 64px !important; }
body.tb-redesign.single-product .flex-control-thumbs img { opacity: .6; border-radius: 2px; }
body.tb-redesign.single-product .flex-control-thumbs img.flex-active, body.tb-redesign.single-product .flex-control-thumbs img:hover { opacity: 1; }
body.tb-redesign .product_title { font-size: clamp(26px, 6vw, 40px) !important; margin-bottom: 8px !important; }
body.tb-redesign.single-product .summary .price { font-size: 22px !important; color: var(--tb-ink) !important; font-weight: 600; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
body.tb-redesign.single-product .summary .price del { color: var(--tb-muted) !important; font-size: 16px; font-weight: 400; order: 2; }
body.tb-redesign.single-product .summary .price ins { text-decoration: none; order: 1; }
body.tb-redesign.single-product .woocommerce-product-details__short-description { color: var(--tb-ink-2); border-top: 1px solid var(--tb-line); padding-top: 14px; }
body.tb-redesign.single-product table.variations { margin-bottom: 8px; }
body.tb-redesign.single-product table.variations th, body.tb-redesign.single-product table.variations td { border: 0 !important; padding: 6px 0 !important; display: block; text-align: left; }
body.tb-redesign.single-product table.variations label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--tb-ink); }
body.tb-redesign.single-product table.variations select { border: 1px solid var(--tb-line); border-radius: var(--tb-radius); min-height: 44px; padding: 0 12px; width: 100%; max-width: 360px; }
body.tb-redesign.single-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
body.tb-redesign.single-product form.variations_form { display: block; }
body.tb-redesign.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
body.tb-redesign.single-product .quantity .qty { min-height: 46px; width: 64px; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); }
body.tb-redesign.single-product button.single_add_to_cart_button { flex: 1 1 200px; min-height: 50px; }
body.tb-redesign.single-product .product_meta { font-size: 12px; color: var(--tb-muted); border-top: 1px solid var(--tb-line); padding-top: 14px; margin-top: 18px; }
.tb-pdp-trust { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--tb-line); display: grid; gap: 8px; font-size: 13px; color: var(--tb-ink-2); }
.tb-pdp-trust li { padding-left: 22px; position: relative; margin: 0; }
.tb-pdp-trust li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border-left: 1.5px solid var(--tb-gold); border-bottom: 1.5px solid var(--tb-gold); transform: rotate(-45deg); }
body.tb-redesign .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--tb-line) !important; padding: 0 !important; display: flex; gap: 22px; overflow-x: auto; }
body.tb-redesign .woocommerce-tabs ul.tabs li { border: 0 !important; background: transparent !important; margin: 0 !important; padding: 0 !important; }
body.tb-redesign .woocommerce-tabs ul.tabs li a { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; padding: 12px 0 !important; color: var(--tb-muted) !important; }
body.tb-redesign .woocommerce-tabs ul.tabs li.active a { color: var(--tb-ink) !important; box-shadow: inset 0 -2px 0 var(--tb-gold); }
body.tb-redesign .woocommerce-tabs ul.tabs li::before, body.tb-redesign .woocommerce-tabs ul.tabs li::after, body.tb-redesign .woocommerce-tabs ul.tabs::before { display: none !important; }
body.tb-redesign .related.products > h2, body.tb-redesign .upsells.products > h2 { font-size: clamp(24px, 5vw, 34px); text-align: center; margin: 32px 0 22px; }
/* Sticky add-to-cart bar on mobile (CSS only, uses the real button) */
@media (max-width: 767px) {
	body.tb-redesign.single-product .summary form.cart:not(.variations_form) .single_add_to_cart_button,
	body.tb-redesign.single-product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button { width: 100%; }
}

/* ---------- Cart & checkout (styling only — fields/logic untouched) ---------- */
body.tb-redesign.woocommerce-cart .site-content > .ast-container,
body.tb-redesign.woocommerce-checkout .site-content > .ast-container { max-width: 1120px; }
body.tb-redesign.woocommerce-cart .entry-title, body.tb-redesign.woocommerce-checkout .entry-title { text-align: center; font-size: clamp(30px, 7vw, 44px); }
body.tb-redesign .woocommerce table.shop_table { border: 1px solid var(--tb-line) !important; border-radius: var(--tb-radius); border-collapse: separate; }
body.tb-redesign .woocommerce table.shop_table th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--tb-ink); font-weight: 600; }
body.tb-redesign .woocommerce table.shop_table td, body.tb-redesign .woocommerce table.shop_table th { border-color: var(--tb-line) !important; }
body.tb-redesign .woocommerce-cart table.cart img { width: 72px; border-radius: 2px; }
body.tb-redesign .cart_totals h2, body.tb-redesign #order_review_heading, body.tb-redesign .woocommerce-billing-fields > h3, body.tb-redesign .woocommerce-additional-fields > h3 { font-size: 26px; }
body.tb-redesign .woocommerce form .form-row label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--tb-ink); font-weight: 500; }
body.tb-redesign .woocommerce form .form-row input.input-text,
body.tb-redesign .woocommerce form .form-row textarea,
body.tb-redesign .woocommerce form .form-row select,
body.tb-redesign .select2-container--default .select2-selection--single {
	border: 1px solid var(--tb-line) !important; border-radius: var(--tb-radius) !important; min-height: 46px; padding: 10px 12px; background: #fff; font-size: 15px; box-shadow: none !important;
}
body.tb-redesign .select2-container--default .select2-selection--single { padding: 8px 4px; }
body.tb-redesign .woocommerce form .form-row input.input-text:focus,
body.tb-redesign .woocommerce form .form-row textarea:focus { border-color: var(--tb-ink) !important; }
body.tb-redesign #order_review, body.tb-redesign .cart_totals { background: var(--tb-tint); padding: 20px; border-radius: var(--tb-radius); }
body.tb-redesign #payment { background: #fff !important; border: 1px solid var(--tb-line); border-radius: var(--tb-radius) !important; }
body.tb-redesign #place_order { width: 100%; min-height: 52px; }
body.tb-redesign .woocommerce-message, body.tb-redesign .woocommerce-info, body.tb-redesign .woocommerce-error { border-top-color: var(--tb-gold) !important; background: var(--tb-tint) !important; color: var(--tb-ink); }
body.tb-redesign .woocommerce-message::before, body.tb-redesign .woocommerce-info::before { color: var(--tb-gold) !important; }
@media (max-width: 767px) {
	/* 16px inputs stop iOS zoom on focus */
	body.tb-redesign .woocommerce form .form-row input.input-text, body.tb-redesign .woocommerce form .form-row textarea { font-size: 16px; }
}

/* Leave room for the existing mobile bottom menu plugin */
@media (max-width: 767px) { body.tb-redesign .site-footer { padding-bottom: 64px; } }

/* ---------- Homepage v2: men's fashion first ---------- */
.tb-hero { grid-template-columns: 1fr; background: var(--tb-tint); }
body.tb-redesign .site-header .site-title, body.tb-redesign .site-header .site-description, body.tb-redesign .site-header .ast-site-title-wrap { display: none !important; }
.tb-hero__media { order: 1; aspect-ratio: auto; display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; height: min(70vw, 420px); background: transparent; overflow: hidden; }
.tb-hero__content { order: 2; }
.tb-hero__tile { position: relative; display: block; overflow: hidden; min-height: 0; text-decoration: none; }
.tb-hero__tile--0 { grid-row: 1 / span 2; }
.tb-hero__media .tb-hero__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.tb-hero__tag { position: absolute; left: 8px; bottom: 8px; background: #fff; color: var(--tb-ink); padding: 4px 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; }
.tb-hero__tile:hover .tb-hero__tag { background: var(--tb-ink); color: #fff; }
@media (min-width: 900px) {
	.tb-hero { grid-template-columns: 1fr 1.1fr; min-height: 560px; }
	.tb-hero__content { order: 1; }
	.tb-hero__media { order: 2; height: 560px; }
}

.tb-offers { padding: 8px 0 40px; }
.tb-offers__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .tb-offers__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .tb-offers { padding: 8px 0 64px; } }
.tb-offer { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); text-decoration: none; background: #fff; }
.tb-offer__eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--tb-gold); font-weight: 500; }
.tb-offer__title { font-family: var(--tb-serif); font-size: 28px; line-height: 1.15; color: var(--tb-ink); font-weight: 600; }
.tb-offer__cta { font-size: 13.5px; color: var(--tb-ink-2); }
.tb-offer--dark { background: var(--tb-ink); border-color: var(--tb-ink); }
.tb-offer--dark .tb-offer__title { color: #fff; }
.tb-offer--dark .tb-offer__cta { color: var(--tb-gold-soft); }

.tb-custom { border-top: 1px solid var(--tb-line); }
.tb-custom__grid { display: grid; gap: 22px; }
@media (min-width: 768px) { .tb-custom__grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; } }
.tb-custom h2 { font-size: clamp(28px, 6vw, 42px); margin: 0 0 10px; }
.tb-custom p { margin: 0 0 18px; }
.tb-custom__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tb-custom__list li { margin: 0; padding: 12px 14px; border-left: 2px solid var(--tb-gold); background: var(--tb-tint); font-size: 14px; }

.tb-about__grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .tb-about__grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.tb-about h2 { font-size: clamp(26px, 5.5vw, 36px); margin: 0 0 10px; }
.tb-contact-card { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 20px; }
.tb-contact-card h3 { font-size: 24px; margin: 0 0 8px; }
.tb-contact-card address, .tb-page address, .tb-footer address { font-style: normal; font-size: 14px; }
.tb-contact-card__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Static pages */
.tb-page { padding-top: 36px; padding-bottom: 56px; max-width: 760px; }
.tb-page h1 { font-size: clamp(32px, 7vw, 48px); margin: 0 0 16px; }
.tb-page h2 { font-size: 24px; margin: 28px 0 8px; }
.tb-page__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tb-contact-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.tb-contact-list li { margin: 0; }
.tb-contact-list .tb-btn { width: 100%; }
@media (min-width: 600px) { .tb-contact-list { grid-template-columns: 1fr 1fr; } }
body.tb-static-page .site-content > .ast-container { display: block; max-width: none; padding: 0; }

/* Footer */
body.tb-redesign .site-footer { display: none !important; }
.tb-footer { order: 99; background: var(--tb-ink); color: #cfcac2; font-size: 14px; }
.tb-footer__grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 40px; padding-bottom: 28px; }
@media (min-width: 600px) { .tb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tb-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.tb-footer .tb-footer__brand { color: #fff; font-size: 26px; margin: 0 0 8px; }
body.tb-redesign .tb-footer h3 { color: var(--tb-gold-soft); font-family: var(--tb-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin: 0 0 12px; }
.tb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tb-footer li { margin: 0; }
body.tb-redesign .tb-footer a { color: #f3efe7; text-decoration: none; }
body.tb-redesign .tb-footer a:hover { color: var(--tb-gold-soft); text-decoration: underline; }
.tb-footer__legal { border-top: 1px solid #2a2a2a; padding: 14px 0; font-size: 12.5px; color: #a39d93; }
@media (max-width: 767px) { .tb-footer__legal { padding-bottom: 84px; } }
.tb-footer__legal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.tb-footer .tb-footer__legal ul { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.tb-footer__legal a { display: inline-block; padding: 6px 0; }

/* Touch targets: at least 24px high on text links. */
.tb-footer li a { display: inline-block; padding: 3px 0; }
body.tb-redesign a.tb-link { display: inline-block; padding-top: 3px; padding-bottom: 3px; }

/* Bottom menu uses the site's font, so its separate web font is not needed. */
/* !important: the plugin's inline rules for the active item are more specific and would keep the unloaded font. */
.bnav_bottom_nav_wrapper .text_wrapper, .bnav_bottom_nav_wrapper .cart_total, .bnav_main_menu_container .cart_total { font-family: var(--tb-sans), sans-serif !important; }

/* Policy pages: headings in proportion to the page title, readable labels and tables. */
body.tb-policy-page .entry-content h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
body.tb-policy-page .entry-content strong { font-weight: 600; color: var(--tb-ink); }
body.tb-policy-page .entry-content table { display: block; overflow-x: auto; max-width: 100%; }

/* Mobile: Astra's fixed shop toolbar would cover the store's bottom menu; keep it in the page flow. */
@media (max-width: 921px) {
	body.tb-redesign .ast-shop-toolbar-container { position: static !important; box-shadow: none !important; background: transparent !important; padding: 8px 0 !important; margin-bottom: 14px; flex-wrap: wrap; }
}
body.tb-redesign.page .entry-header { margin-top: 24px; }

.tb-archive-title { font-size: clamp(30px, 7vw, 44px) !important; margin: 4px 0 14px !important; text-align: left; }
body.tb-redesign span.onsale { min-width: 0 !important; min-height: 0 !important; width: auto !important; height: auto !important; }

/* Product page info + order support */
.tb-pdp-trust li { padding-left: 0; }
.tb-pdp-trust li::before { display: none; }
.tb-order-support { margin: 16px 0; font-size: 14px; }
.tb-order-support a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
	body.tb-redesign *, body.tb-redesign *::before, body.tb-redesign *::after { transition: none !important; animation: none !important; }
}
