/* ==========================================================================
   Tohfeh Nuts — UI v2 Design System (2026-08-22)
   Single custom stylesheet. Everything scoped under body.tohfe-ui-v2 or th-*.
   Vazirmatn variable is the ONLY font family on the frontend.
   ========================================================================== */

/* ---------- 1. Fonts + tokens ---------- */
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2-variations");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

html { overflow-x: clip; }
body.tohfe-ui-v2 {
	--th-bg: #faf7f0;
	--th-surface: #ffffff;
	--th-surface-soft: #f5f0e6;
	--th-text: #241f1a;
	--th-muted: #6b6258;
	--th-primary: #1d4a2e;
	--th-primary-2: #2f6b45;
	--th-primary-soft: #e7efe8;
	--th-accent: #c59a3a;
	--th-accent-soft: #f1e5c8;
	--th-border: #e7ded0;
	--th-danger: #b7442e;
	--th-success: #2f6b45;

	--th-radius-sm: 10px;
	--th-radius-md: 16px;
	--th-radius-lg: 24px;
	--th-radius-pill: 999px;

	--th-shadow-sm: 0 1px 2px rgba(36, 31, 26, .05), 0 8px 20px rgba(36, 31, 26, .06);
	--th-shadow-md: 0 18px 48px rgba(29, 74, 46, .12);

	--th-container: 1280px;
	--th-gutter: clamp(16px, 3vw, 32px);
}

/* ---------- 2. Base ---------- */
body.tohfe-ui-v2 {
	background: var(--th-bg);
	color: var(--th-text);
	font-family: "Vazirmatn", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.85;
	font-weight: 400;
	overflow-x: hidden;
}

body.tohfe-ui-v2 .ast-container {
	max-width: var(--th-container);
	padding-inline: var(--th-gutter);
}

body.tohfe-ui-v2 h1,
body.tohfe-ui-v2 h2,
body.tohfe-ui-v2 h3,
body.tohfe-ui-v2 h4 {
	font-family: "Vazirmatn", system-ui, sans-serif;
	color: var(--th-text);
	line-height: 1.45;
}

body.tohfe-ui-v2 h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.4; font-weight: 800; }
body.tohfe-ui-v2 h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.45; font-weight: 800; }
body.tohfe-ui-v2 h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }

body.tohfe-ui-v2 p { color: var(--th-muted); }
body.tohfe-ui-v2 a { color: var(--th-primary-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.tohfe-ui-v2 a:hover { color: var(--th-primary); }

/* Focus — visible 2px outline, WCAG 2.2 AA */
body.tohfe-ui-v2 :focus-visible {
	outline: 2px solid var(--th-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Skip link */
body.tohfe-ui-v2 .skip-link {
	position: absolute;
	top: -100px;
	right: 16px;
	z-index: 100000;
	background: var(--th-primary);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 var(--th-radius-sm) var(--th-radius-sm);
	font-weight: 600;
}
body.tohfe-ui-v2 .skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. Topbar ---------- */
body.tohfe-ui-v2 .tohfe-topbar {
	background: var(--th-primary);
	color: #fff;
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 16px;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.6;
}
body.tohfe-ui-v2 .tohfe-topbar-inner {
	display: flex;
	gap: 8px 28px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
body.tohfe-ui-v2 .tohfe-topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, .94);
	white-space: nowrap;
}
body.tohfe-ui-v2 .tohfe-topbar-item svg { color: var(--th-accent); flex: none; }

/* ---------- 4. Header ---------- */
body.tohfe-ui-v2 .th-header {
	position: sticky;
	top: 0;
	z-index: 9990;
	background: var(--th-surface);
	border-bottom: 1px solid var(--th-border);
	transition: box-shadow .2s ease, background-color .2s ease;
}
body.tohfe-ui-v2 .th-header.is-scrolled {
	box-shadow: 0 8px 24px rgba(36, 31, 26, .08);
	background: rgba(255, 255, 255, .97);
}
body.tohfe-ui-v2 .th-header__main {
	max-width: var(--th-container);
	margin-inline: auto;
	padding-inline: var(--th-gutter);
	height: 72px;
	display: flex;
	align-items: center;
	gap: 24px;
}

/* Logo */
body.tohfe-ui-v2 .th-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	flex: none;
}
body.tohfe-ui-v2 .th-logo__mark { display: inline-flex; }
body.tohfe-ui-v2 .th-logo__text { display: flex; flex-direction: column; line-height: 1.35; }
body.tohfe-ui-v2 .th-logo__name {
	font-size: 19px;
	font-weight: 800;
	color: var(--th-primary);
	letter-spacing: .2px;
	font-variant-numeric: tabular-nums;
}
body.tohfe-ui-v2 .th-logo__tag { font-size: 11.5px; color: var(--th-muted); font-weight: 500; }

/* Nav */
body.tohfe-ui-v2 .th-nav { margin-inline-start: auto; }
body.tohfe-ui-v2 .th-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
body.tohfe-ui-v2 .th-nav__list > .menu-item { position: relative; }
body.tohfe-ui-v2 .th-nav__list > .menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 13px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--th-text);
	text-decoration: none;
	border-radius: var(--th-radius-sm);
	transition: color .18s ease, background-color .18s ease;
	white-space: nowrap;
}
body.tohfe-ui-v2 .th-nav__list > .menu-item > a:hover,
body.tohfe-ui-v2 .th-nav__list > .menu-item > a:focus-visible {
	color: var(--th-primary);
	background: var(--th-primary-soft);
}
/* Submenu (hover + focus-within) */
body.tohfe-ui-v2 .th-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 230px;
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	box-shadow: var(--th-shadow-sm);
	padding: 8px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 9991;
}
body.tohfe-ui-v2 .th-nav__list .menu-item:hover > .sub-menu,
body.tohfe-ui-v2 .th-nav__list .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
body.tohfe-ui-v2 .th-nav__list .sub-menu .menu-item > a {
	display: block;
	padding: 9px 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--th-text);
	text-decoration: none;
	border-radius: 8px;
}
body.tohfe-ui-v2 .th-nav__list .sub-menu .menu-item > a:hover {
	background: var(--th-surface-soft);
	color: var(--th-primary);
}

/* Actions (all 44px touch targets) */
body.tohfe-ui-v2 .th-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: none;
}
body.tohfe-ui-v2 .th-action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--th-radius-sm);
	color: var(--th-text);
	background: none;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}
body.tohfe-ui-v2 .th-action:hover { background: var(--th-surface-soft); color: var(--th-primary); }
body.tohfe-ui-v2 .th-action--menu { display: none; }

body.tohfe-ui-v2 .th-cart-count {
	position: absolute;
	top: 2px;
	inset-inline-end: 0;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: var(--th-radius-pill);
	background: var(--th-accent);
	color: var(--th-text);
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
	display: inline-block;
	font-variant-numeric: tabular-nums;
}
body.tohfe-ui-v2 .th-cart-count[data-count="0"] { display: none; }

/* Search panel */
body.tohfe-ui-v2 .th-search {
	border-top: 1px solid var(--th-border);
	background: var(--th-surface);
}
body.tohfe-ui-v2 .th-search__form {
	max-width: var(--th-container);
	margin-inline: auto;
	padding: 14px var(--th-gutter);
	display: flex;
	gap: 10px;
	position: relative;
}
body.tohfe-ui-v2 .th-search__input {
	flex: 1;
	min-height: 48px;
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	padding: 0 16px;
	font: inherit;
	background: var(--th-surface-soft);
	color: var(--th-text);
}
body.tohfe-ui-v2 .th-search__input:focus {
	outline: none;
	border-color: var(--th-primary-2);
	background: var(--th-surface);
	box-shadow: 0 0 0 3px var(--th-primary-soft);
}
body.tohfe-ui-v2 .th-search__submit,
body.tohfe-ui-v2 .th-search__close {
	width: 48px;
	height: 48px;
	flex: none;
	border: 0;
	border-radius: var(--th-radius-sm);
	background: var(--th-primary);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .18s ease;
}
body.tohfe-ui-v2 .th-search__close { background: var(--th-surface-soft); color: var(--th-text); }
body.tohfe-ui-v2 .th-search__submit:hover { background: var(--th-primary-2); }
body.tohfe-ui-v2 .th-search__close:hover { background: var(--th-border); }

/* Live search dropdown */
body.tohfe-ui-v2 .th-livesearch {
	position: absolute;
	top: calc(100% + 6px);
	right: var(--th-gutter);
	left: var(--th-gutter);
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-md);
	z-index: 9992;
	overflow: hidden;
	max-height: 70vh;
	overflow-y: auto;
}
body.tohfe-ui-v2 .th-livesearch-item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	text-decoration: none;
	border-bottom: 1px solid var(--th-border);
}
body.tohfe-ui-v2 .th-livesearch-item:hover,
body.tohfe-ui-v2 .th-livesearch-item.th-active { background: var(--th-surface-soft); }
body.tohfe-ui-v2 .th-livesearch-item img {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	flex: none;
}
body.tohfe-ui-v2 .th-livesearch-body { display: flex; flex-direction: column; line-height: 1.5; }
body.tohfe-ui-v2 .th-livesearch-title { color: var(--th-text); font-weight: 600; font-size: 14px; }
body.tohfe-ui-v2 .th-livesearch-price { color: var(--th-primary); font-weight: 700; font-size: 13.5px; }
body.tohfe-ui-v2 .th-livesearch-more {
	display: block;
	padding: 11px 14px;
	text-align: center;
	font-weight: 600;
	font-size: 13.5px;
	text-decoration: none;
	color: var(--th-primary-2);
	background: var(--th-surface-soft);
}
body.tohfe-ui-v2 .th-livesearch-empty { padding: 18px 14px; text-align: center; color: var(--th-muted); }

/* ---------- 5. Drawer (mobile nav) ---------- */
body.tohfe-ui-v2 .th-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	width: min(86vw, 360px);
	background: var(--th-surface);
	z-index: 10000;
	transform: translateX(-105%);
	transition: transform .22s ease;
	display: flex;
	flex-direction: column;
	box-shadow: var(--th-shadow-md);
	visibility: hidden;
}
html[dir="rtl"] body.tohfe-ui-v2 .th-drawer { transform: translateX(105%); }
html[dir="rtl"] body.tohfe-ui-v2 .th-drawer.is-open { transform: translateX(0); visibility: visible; }
body.tohfe-ui-v2 .th-drawer.is-open { transform: translateX(0); visibility: visible; }
body.tohfe-ui-v2 .th-overlay {
	position: fixed;
	inset: 0;
	background: rgba(36, 31, 26, .5);
	z-index: 9999;
}
body.tohfe-ui-v2 .th-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--th-border);
}
body.tohfe-ui-v2 .th-drawer__brand { font-size: 17px; font-weight: 800; color: var(--th-primary); }
body.tohfe-ui-v2 .th-drawer__close {
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--th-text);
	border-radius: var(--th-radius-sm);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
body.tohfe-ui-v2 .th-drawer__close:hover { background: var(--th-surface-soft); }

body.tohfe-ui-v2 .th-drawer__search { padding: 12px 16px; border-bottom: 1px solid var(--th-border); }
body.tohfe-ui-v2 .th-drawer__search-form { display: flex; gap: 8px; position: relative; }
body.tohfe-ui-v2 .th-drawer__search-input {
	flex: 1;
	min-height: 44px;
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	padding: 0 14px;
	font: inherit;
	background: var(--th-surface-soft);
}
body.tohfe-ui-v2 .th-drawer__search-submit {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--th-radius-sm);
	background: var(--th-primary);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.tohfe-ui-v2 .th-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 12px 16px; }
body.tohfe-ui-v2 .th-drawer__list { list-style: none; margin: 0; padding: 0; }
body.tohfe-ui-v2 .th-drawer__list .menu-item { position: relative; }
body.tohfe-ui-v2 .th-drawer__list .menu-item > a {
	display: block;
	padding: 13px 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--th-text);
	text-decoration: none;
	border-radius: var(--th-radius-sm);
}
body.tohfe-ui-v2 .th-drawer__list .menu-item > a:hover { background: var(--th-surface-soft); color: var(--th-primary); }
body.tohfe-ui-v2 .th-drawer__list .sub-menu { list-style: none; margin: 0 8px 6px 0; padding: 0; }
body.tohfe-ui-v2 .th-drawer__list .sub-menu .menu-item > a {
	font-weight: 500;
	font-size: 14px;
	padding: 10px 12px;
	color: var(--th-muted);
}
body.tohfe-ui-v2 .th-sub-toggle {
	position: absolute;
	inset-inline-end: 4px;
	top: 4px;
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	color: var(--th-text);
	border-radius: var(--th-radius-sm);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
body.tohfe-ui-v2 .th-sub-toggle:hover { background: var(--th-surface-soft); }
body.tohfe-ui-v2 .th-sub-toggle svg { transition: transform .18s ease; }
body.tohfe-ui-v2 .th-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

body.tohfe-ui-v2 .th-drawer__foot {
	padding: 12px 16px;
	border-top: 1px solid var(--th-border);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
body.tohfe-ui-v2 .th-drawer__account,
body.tohfe-ui-v2 .th-drawer__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	border-radius: var(--th-radius-sm);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
body.tohfe-ui-v2 .th-drawer__account { background: var(--th-surface-soft); color: var(--th-text); border: 1px solid var(--th-border); }
body.tohfe-ui-v2 .th-drawer__cart { background: var(--th-primary); color: #fff; }
body.tohfe-ui-v2 .th-drawer__cart:hover { color: #fff; background: var(--th-primary-2); }

/* ---------- 6. Shared components ---------- */
body.tohfe-ui-v2 .th-container { max-width: var(--th-container); margin-inline: auto; padding-inline: var(--th-gutter); }

body.tohfe-ui-v2 .tohfe-btn,
body.tohfe-ui-v2 .wp-block-button__link,
body.tohfe-ui-v2 .th-footer a.tohfe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 30px;
	border-radius: var(--th-radius-pill);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
	border: 1.5px solid transparent;
	cursor: pointer;
}
body.tohfe-ui-v2 .tohfe-btn-primary,
body.tohfe-ui-v2 .tohfe-btn-primary .wp-block-button__link {
	background: var(--th-primary);
	color: #fff;
	border-color: var(--th-primary);
}
body.tohfe-ui-v2 .tohfe-btn-primary:hover .wp-block-button__link,
body.tohfe-ui-v2 .tohfe-btn-primary:hover { background: var(--th-primary-2); color: #fff; }
body.tohfe-ui-v2 .tohfe-btn-ghost,
body.tohfe-ui-v2 .tohfe-btn-ghost .wp-block-button__link {
	background: transparent;
	color: var(--th-primary);
	border-color: var(--th-primary);
}
body.tohfe-ui-v2 .tohfe-btn-ghost:hover .wp-block-button__link,
body.tohfe-ui-v2 .tohfe-btn-ghost:hover { background: var(--th-primary-soft); color: var(--th-primary); }

/* ---------- 7. Home: hero ---------- */
body.tohfe-ui-v2 .tohfe-hero {
	background: var(--th-bg);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
	padding-block: clamp(40px, 6vw, 72px) 40px;
	margin-top: 0;
}
body.tohfe-ui-v2 .home .content-area.primary { margin-top: 0; }
body.tohfe-ui-v2 .tohfe-hero-cols {
	display: grid !important;
	grid-template-columns: 55fr 45fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}
body.tohfe-ui-v2 .tohfe-hero-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
body.tohfe-ui-v2 .tohfe-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--th-accent-soft);
	color: #7a5c1e;
	border: 1px solid var(--th-accent);
	border-radius: var(--th-radius-pill);
	padding: 6px 16px;
	font-size: 13px;
	font-weight: 600;
	margin: 0;
}
body.tohfe-ui-v2 .tohfe-hero-title { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.4; font-weight: 800; }
body.tohfe-ui-v2 .tohfe-hero-title strong { color: var(--th-primary); font-weight: 800; }
body.tohfe-ui-v2 .tohfe-hero-sub { font-size: 16.5px; color: var(--th-muted); margin: 0; max-width: 54ch; }
body.tohfe-ui-v2 .tohfe-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
body.tohfe-ui-v2 .tohfe-hero-btns .wp-block-button { margin: 0; }
body.tohfe-ui-v2 .tohfe-hero-img {
	border-radius: var(--th-radius-lg);
	overflow: hidden;
	box-shadow: var(--th-shadow-sm);
	background: var(--th-surface);
	border: 1px solid var(--th-border);
}
body.tohfe-ui-v2 .tohfe-hero-img img,
body.tohfe-ui-v2 .tohfe-hero-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4/3.4;
	object-fit: cover;
	border-radius: var(--th-radius-lg);
}

/* Home: empty entry-header (title removed) — empty container, zero content */
body.tohfe-ui-v2 .home .entry-header.ast-header-without-markup { display: none; }

/* ---------- 8. Trust strip (single) ---------- */
body.tohfe-ui-v2 .tohfe-trust-section {
	max-width: var(--th-container);
	margin: 0 auto;
	padding: 28px var(--th-gutter);
}
body.tohfe-ui-v2 .tohfe-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
body.tohfe-ui-v2 .tohfe-trust-item {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	padding: 20px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	box-shadow: var(--th-shadow-sm);
}
body.tohfe-ui-v2 .tohfe-trust-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--th-primary-soft);
	color: var(--th-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
}
body.tohfe-ui-v2 .tohfe-trust-title { font-weight: 700; font-size: 15px; color: var(--th-text); }
body.tohfe-ui-v2 .tohfe-trust-text { font-size: 13px; color: var(--th-muted); line-height: 1.7; }

/* ---------- 9. Home: categories ---------- */
body.tohfe-ui-v2 .tohfe-cats { padding: 8px 0 40px; }
body.tohfe-ui-v2 .tohfe-section-title { text-align: center; margin-bottom: 8px; }
body.tohfe-ui-v2 .tohfe-section-sub { text-align: center; margin: 0 auto 30px; color: var(--th-muted); }
/* Valid grid selector replaces the broken &gt; custom-CSS block (removed). */
body.tohfe-ui-v2 .tohfe-cats-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 22px !important;
	flex-wrap: nowrap !important;
}
body.tohfe-ui-v2 .tohfe-cats-grid > .wp-block-column {
	flex: 0 0 auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}
body.tohfe-ui-v2 .tohfe-cat-card {
	position: relative;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: var(--th-radius-md);
	overflow: hidden;
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	text-decoration: none;
	aspect-ratio: 1;
	box-shadow: var(--th-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
body.tohfe-ui-v2 .tohfe-cat-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .2s ease;
}
body.tohfe-ui-v2 .tohfe-cat-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 30, 20, 0) 55%, rgba(20, 30, 20, .55));
}
body.tohfe-ui-v2 .tohfe-cats-grid .wp-element-caption,
body.tohfe-ui-v2 .tohfe-cat-card figcaption,
body.tohfe-ui-v2 .tohfe-cats-grid figcaption {
	position: absolute;
	bottom: 12px;
	right: 14px;
	left: 14px;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
	background: none !important;
	text-align: right;
}
@media (hover: hover) {
	body.tohfe-ui-v2 .tohfe-cat-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); }
	body.tohfe-ui-v2 .tohfe-cat-card:hover img { transform: scale(1.025); }
}
body.tohfe-ui-v2 .tohfe-cat-card:focus-visible { outline: 3px solid var(--th-accent); outline-offset: 3px; }

/* ---------- 10. Product grids + cards (single component) ---------- */
body.tohfe-ui-v2 ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.tohfe-ui-v2 ul.products li.product {
	display: flex;
	flex-direction: column;
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	overflow: hidden;
	box-shadow: var(--th-shadow-sm);
	padding: 0;
	margin: 0;
	position: relative;
	width: 100% !important;
	transition: transform .2s ease, box-shadow .2s ease;
	height: 100%;
}
@media (hover: hover) {
	body.tohfe-ui-v2 ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); }
}
body.tohfe-ui-v2 .astra-shop-thumbnail-wrap {
	position: relative;
	overflow: hidden;
	background: var(--th-surface);
}
body.tohfe-ui-v2 .astra-shop-thumbnail-wrap img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: #fff;
	display: block;
	transition: transform .2s ease;
}
@media (hover: hover) {
	body.tohfe-ui-v2 ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.025); }
}
body.tohfe-ui-v2 .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 16px 16px;
	gap: 6px;
}
/* Astra's own rule (.woocommerce-js ul.products li.product .ast-woo-product-category,
   0,4,3) forces opacity:.6 which blends #6B6258 to #a6a19b (2.56:1). Match the
   full chain to win the cascade and keep full contrast. */
body.tohfe-ui-v2.woocommerce-js ul.products li.product .ast-woo-product-category,
body.tohfe-ui-v2.woocommerce-page ul.products li.product .ast-woo-product-category {
	font-size: 12px;
	color: var(--th-muted);
	opacity: 1;
}
body.tohfe-ui-v2 .ast-loop-product__link { text-decoration: none; }
body.tohfe-ui-v2 .woocommerce-loop-product__title {
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
	color: var(--th-text) !important;
	margin: 0 !important;
	min-height: 3.2em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.tohfe-ui-v2 ul.products li.product .price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: auto !important;
	padding-top: 8px;
	font-size: 17px;
	font-weight: 800;
	color: var(--th-primary);
	min-height: 1.7em;
	font-variant-numeric: tabular-nums;
}
body.tohfe-ui-v2 ul.products li.product .price del {
	color: var(--th-muted);
	font-weight: 500;
	font-size: 13.5px;
	opacity: 1;
}
body.tohfe-ui-v2 ul.products li.product .price ins { text-decoration: none; }
body.tohfe-ui-v2 ul.products li.product .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	margin-top: 8px;
	border-radius: var(--th-radius-pill);
	background: var(--th-primary);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .18s ease;
}
body.tohfe-ui-v2 ul.products li.product .button:hover { background: var(--th-primary-2); color: #fff; }
body.tohfe-ui-v2 ul.products li.product .button.added { display: none; }
/* Variable products — same visual language, real label kept */
body.tohfe-ui-v2 ul.products li.product .button.product_type_variable { background: var(--th-primary-soft); color: var(--th-primary); }
body.tohfe-ui-v2 ul.products li.product .button.product_type_variable:hover { background: var(--th-accent-soft); color: var(--th-text); }
/* The auto "این محصول دارای انواع مختلفی..." note stays screen-reader-only */
body.tohfe-ui-v2 ul.products li.product .screen-reader-text { position: absolute !important; }
/* Sale badge */
body.tohfe-ui-v2 ul.products li.product .onsale,
body.tohfe-ui-v2 .ast-article-single .onsale {
	position: absolute !important;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 5;
	background: var(--th-danger) !important;
	color: #fff !important;
	border-radius: var(--th-radius-pill) !important;
	padding: 5px 13px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	min-height: 0 !important;
	margin: 0 !important;
}

/* ---------- 11. Home: promo cards (royal banners) ---------- */
body.tohfe-ui-v2 .tohfe-royal-banners {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	max-width: var(--th-container);
	margin: 40px auto 0;
	padding-inline: var(--th-gutter);
}
body.tohfe-ui-v2 .tohfe-royal-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 300px;
	border-radius: var(--th-radius-lg);
	overflow: hidden;
	padding: 22px;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--th-border);
	text-decoration: none;
	box-shadow: var(--th-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
	body.tohfe-ui-v2 .tohfe-royal-banner:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); }
}
body.tohfe-ui-v2 .tohfe-royal-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 30, 20, 0) 40%, rgba(20, 30, 20, .72));
}
body.tohfe-ui-v2 .tohfe-royal-banner > * { position: relative; z-index: 1; }
body.tohfe-ui-v2 .tohfe-royal-banner-body {
	display: flex;
	flex-direction: column;
}
body.tohfe-ui-v2 .tohfe-royal-banner-tag {
	color: var(--th-accent);
	font-size: 12.5px;
	font-weight: 700;
	margin-bottom: 4px;
	letter-spacing: .3px;
}
body.tohfe-ui-v2 .tohfe-royal-banner h3 {
	color: #fff;
	font-size: 19px;
	font-weight: 800;
	margin: 0 0 6px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}
body.tohfe-ui-v2 .tohfe-royal-banner p {
	color: rgba(255, 255, 255, .92);
	font-size: 13.5px;
	line-height: 1.8;
	margin: 0 0 12px;
}
body.tohfe-ui-v2 .tohfe-royal-banner-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-weight: 700;
	font-size: 13.5px;
}
body.tohfe-ui-v2 .tohfe-royal-banner-btn::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--th-accent);
	border-radius: 2px;
}
body.tohfe-ui-v2 .tohfe-royal-banner:focus-visible { outline: 3px solid var(--th-accent); outline-offset: 3px; }

/* ---------- 12. «چرا تحفه» (quality) ---------- */
body.tohfe-ui-v2 .tohfe-quality-strip {
	background: var(--th-surface-soft);
	margin-top: 48px;
	padding: clamp(40px, 5vw, 64px) var(--th-gutter);
}
body.tohfe-ui-v2 .tohfe-quality-inner { max-width: var(--th-container); margin-inline: auto; }
body.tohfe-ui-v2 .tohfe-quality-head { text-align: center; margin-bottom: 34px; }
body.tohfe-ui-v2 .tohfe-quality-kicker {
	color: #7a5c1e;
	font-weight: 700;
	font-size: 14px;
	margin: 0 0 6px;
}
body.tohfe-ui-v2 .tohfe-quality-title { margin: 0 0 8px; }
body.tohfe-ui-v2 .tohfe-quality-sub { margin: 0; color: var(--th-muted); }
body.tohfe-ui-v2 .tohfe-quality-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
body.tohfe-ui-v2 .tohfe-quality-card {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	padding: 26px 24px;
	box-shadow: var(--th-shadow-sm);
}
body.tohfe-ui-v2 .tohfe-quality-ico {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--th-primary-soft);
	color: var(--th-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
body.tohfe-ui-v2 .tohfe-quality-card h3 { margin: 0 0 8px; font-size: 17px; }
body.tohfe-ui-v2 .tohfe-quality-card p { margin: 0; font-size: 14px; line-height: 1.9; }

/* ---------- 13. FAQ ---------- */
body.tohfe-ui-v2 .tohfe-royal-faq {
	max-width: 820px;
	margin: 52px auto 0;
	padding-inline: var(--th-gutter);
}
body.tohfe-ui-v2 .tohfe-royal-faq-head { text-align: center; margin-bottom: 26px; }
body.tohfe-ui-v2 .tohfe-royal-faq-head h2 { margin: 0 0 6px; }
body.tohfe-ui-v2 .tohfe-royal-faq-head p { margin: 0; }
body.tohfe-ui-v2 .tohfe-royal-faq-item {
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	background: var(--th-surface);
	margin-bottom: 10px;
	overflow: hidden;
}
body.tohfe-ui-v2 .tohfe-royal-faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding: 12px 18px;
	background: none;
	border: 0;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	color: var(--th-text);
	cursor: pointer;
	text-align: right;
}
body.tohfe-ui-v2 .tohfe-royal-faq-q:hover { background: var(--th-surface-soft); }
body.tohfe-ui-v2 .tohfe-royal-faq-icon {
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--th-primary-soft);
	color: var(--th-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	transition: transform .18s ease;
}
body.tohfe-ui-v2 .tohfe-royal-faq-q[aria-expanded="true"] .tohfe-royal-faq-icon { transform: rotate(45deg); }
body.tohfe-ui-v2 .tohfe-royal-faq-a { max-height: 0; overflow: hidden; }
body.tohfe-ui-v2 .tohfe-royal-faq-a-inner { padding: 0 18px 16px; color: var(--th-muted); font-size: 14.5px; line-height: 1.9; }

/* ---------- 14. Final CTA ---------- */
body.tohfe-ui-v2 .tohfe-final-cta {
	margin-top: 52px;
	background: linear-gradient(135deg, var(--th-primary), #123322);
	color: #fff;
}
body.tohfe-ui-v2 .tohfe-final-cta-inner {
	max-width: var(--th-container);
	margin-inline: auto;
	padding: clamp(44px, 6vw, 72px) var(--th-gutter);
	text-align: center;
}
body.tohfe-ui-v2 .tohfe-final-cta h2 { color: #fff; margin: 0 0 10px; }
body.tohfe-ui-v2 .tohfe-final-cta p { color: rgba(255, 255, 255, .88); margin: 0 0 24px; }
body.tohfe-ui-v2 .tohfe-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
body.tohfe-ui-v2 .tohfe-final-cta .tohfe-btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
body.tohfe-ui-v2 .tohfe-final-cta .tohfe-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
body.tohfe-ui-v2 .tohfe-final-cta .tohfe-btn-primary { background: var(--th-accent); border-color: var(--th-accent); color: var(--th-text); }
body.tohfe-ui-v2 .tohfe-final-cta .tohfe-btn-primary:hover { background: #b78a2e; color: var(--th-text); }

/* ---------- 15. Gift band + blog strip + newsletter ---------- */
body.tohfe-ui-v2 .tdp-giftband {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	max-width: var(--th-container);
	margin: 44px auto 0;
	padding-inline: var(--th-gutter);
}
body.tohfe-ui-v2 .tdp-gift-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	border-radius: var(--th-radius-md);
	border: 1px solid var(--th-border);
	background: var(--th-surface);
	box-shadow: var(--th-shadow-sm);
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
	body.tohfe-ui-v2 .tdp-gift-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); }
}
body.tohfe-ui-v2 .tdp-gift-ico {
	width: 52px;
	height: 52px;
	flex: none;
	border-radius: 50%;
	background: var(--th-accent-soft);
	color: #7a5c1e;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
body.tohfe-ui-v2 .tdp-gift-body { display: flex; flex-direction: column; gap: 3px; }
body.tohfe-ui-v2 .tdp-gift-body strong { color: var(--th-text); font-size: 16px; }
body.tohfe-ui-v2 .tdp-gift-body span { color: var(--th-muted); font-size: 13px; line-height: 1.7; }
body.tohfe-ui-v2 .tdp-gift-cta { margin-inline-start: auto; color: var(--th-primary); font-weight: 700; font-size: 13.5px; white-space: nowrap; }

body.tohfe-ui-v2 .tdp-blogstrip { max-width: var(--th-container); margin: 52px auto 0; padding-inline: var(--th-gutter); }
body.tohfe-ui-v2 .tdp-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 24px;
}
body.tohfe-ui-v2 .tdp-blog-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	overflow: hidden;
	background: var(--th-surface);
	text-decoration: none;
	box-shadow: var(--th-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
	body.tohfe-ui-v2 .tdp-blog-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); }
}
body.tohfe-ui-v2 .tdp-blog-img {
	aspect-ratio: 16/10;
	background-size: cover;
	background-position: center;
	display: block;
}
body.tohfe-ui-v2 .tdp-blog-img-empty { background: var(--th-surface-soft); }
body.tohfe-ui-v2 .tdp-blog-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
body.tohfe-ui-v2 .tdp-blog-body strong { color: var(--th-text); font-size: 14.5px; line-height: 1.7; }
body.tohfe-ui-v2 .tdp-blog-meta { color: var(--th-muted); font-size: 12.5px; }
body.tohfe-ui-v2 .tdp-blog-all { display: inline-block; margin-top: 18px; font-weight: 700; }

body.tohfe-ui-v2 .tdp-newsletter {
	background: var(--th-primary);
	margin-top: 52px;
	color: #fff;
}
body.tohfe-ui-v2 .tdp-news-inner {
	max-width: var(--th-container);
	margin-inline: auto;
	padding: 36px var(--th-gutter);
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
body.tohfe-ui-v2 .tdp-news-ico {
	width: 54px;
	height: 54px;
	flex: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: var(--th-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
body.tohfe-ui-v2 .tdp-news-text { flex: 1; min-width: 220px; }
body.tohfe-ui-v2 .tdp-news-text strong { display: block; font-size: 17px; margin-bottom: 2px; }
body.tohfe-ui-v2 .tdp-news-text span { color: rgba(255, 255, 255, .85); font-size: 13.5px; }
body.tohfe-ui-v2 .tdp-news-form { display: flex; gap: 8px; flex: 1; min-width: 260px; }
body.tohfe-ui-v2 .tdp-news-form input[type="email"] {
	flex: 1;
	min-height: 46px;
	border: 0;
	border-radius: var(--th-radius-sm);
	padding: 0 16px;
	font: inherit;
	background: #fff;
	color: var(--th-text);
}
body.tohfe-ui-v2 .tdp-news-form button {
	min-height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--th-radius-sm);
	background: var(--th-accent);
	color: var(--th-text);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: background-color .18s ease;
}
body.tohfe-ui-v2 .tdp-news-form button:hover { background: #b78a2e; }
body.tohfe-ui-v2 .tdp-news-msg { flex-basis: 100%; font-size: 13.5px; }
body.tohfe-ui-v2 .tdp-news-msg.ok { color: #b7e0c3; }
body.tohfe-ui-v2 .tdp-news-msg.err { color: #f3c0b2; }
body.tohfe-ui-v2 .tdp-news-consent { flex-basis: 100%; margin: 0; color: rgba(255, 255, 255, .75); font-size: 12.5px; }
/* Light gold link on the dark green band — >= 4.5:1 */
body.tohfe-ui-v2 .tdp-news-consent a { color: #e9d6a8; }

/* Free-shipping bar (homepage content, dark green inline bg) — the base
   muted paragraph rule must not override its light text. */
body.tohfe-ui-v2 .tohfe-freeship-bar,
body.tohfe-ui-v2 .tohfe-freeship-bar p,
body.tohfe-ui-v2 .tohfe-freeship-bar strong {
	color: #faf6ef;
}

/* ---------- 16. Home SEO bottom ---------- */
body.tohfe-ui-v2 .tohfe-home-seo {
	max-width: 780px;
	margin: 44px auto 0;
	padding-inline: var(--th-gutter);
}
body.tohfe-ui-v2 .tohfe-home-seo h2 { font-size: 1.4rem; }
body.tohfe-ui-v2 .tohfe-home-seo p { font-size: 14.5px; }

/* ---------- 17. Shop / category archive ---------- */
body.tohfe-ui-v2.woocommerce .ast-container,
body.tohfe-ui-v2.woocommerce-page .ast-container { max-width: var(--th-container); }

body.tohfe-ui-v2 .woocommerce-breadcrumb {
	font-size: 13.5px;
	color: var(--th-muted);
	margin: 18px 0 8px;
	padding-inline: var(--th-gutter);
}
body.tohfe-ui-v2 .woocommerce-breadcrumb a { color: var(--th-primary-2); }

body.tohfe-ui-v2 .woocommerce-products-header { padding-inline: var(--th-gutter); }
body.tohfe-ui-v2 .woocommerce-products-header .page-title {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	font-weight: 800;
	margin: 8px 0 10px;
}
body.tohfe-ui-v2 .term-description,
body.tohfe-ui-v2 .woocommerce-products-header .term-description p { color: var(--th-muted); font-size: 14.5px; max-width: 76ch; }

/* Toolbar */
body.tohfe-ui-v2 .woocommerce-notices-wrapper { padding-inline: var(--th-gutter); }
body.tohfe-ui-v2 .woocommerce-result-count {
	font-size: 13.5px;
	color: var(--th-muted);
	margin: 14px 0;
	padding-inline: var(--th-gutter);
}
body.tohfe-ui-v2 .woocommerce-ordering {
	margin: 0;
	padding-inline: var(--th-gutter);
}
body.tohfe-ui-v2 .woocommerce-ordering select {
	min-height: 44px;
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	background: var(--th-surface);
	color: var(--th-text);
	padding: 0 14px;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

/* Sidebar — empty on this store (no filter widgets); full-width grid kept.
   If widgets are ever added they inherit card styling below. */
body.tohfe-ui-v2 .widget-area.secondary {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	padding: 18px;
	box-shadow: var(--th-shadow-sm);
}
body.tohfe-ui-v2 .widget-area.secondary .widget-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 12px;
}
body.tohfe-ui-v2 .widget-area.secondary ul { list-style: none; margin: 0; padding: 0; }
body.tohfe-ui-v2 .widget-area.secondary .cat-item { padding: 7px 0; border-bottom: 1px solid var(--th-border); }
body.tohfe-ui-v2 .widget-area.secondary .cat-item a { color: var(--th-text); font-size: 14px; text-decoration: none; }
body.tohfe-ui-v2 .widget-area.secondary .cat-item a:hover { color: var(--th-primary); }
body.tohfe-ui-v2 .widget-area.secondary .cat-item .children { margin-inline-start: 14px; }

/* Pagination — 44px targets */
body.tohfe-ui-v2 nav.woocommerce-pagination { padding-inline: var(--th-gutter); }
body.tohfe-ui-v2 nav.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 26px 0;
	padding: 0;
}
body.tohfe-ui-v2 nav.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 8px;
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	background: var(--th-surface);
	color: var(--th-text);
	font-weight: 600;
	text-decoration: none;
}
body.tohfe-ui-v2 nav.woocommerce-pagination .page-numbers.current {
	background: var(--th-primary);
	border-color: var(--th-primary);
	color: #fff;
}
body.tohfe-ui-v2 nav.woocommerce-pagination .page-numbers:hover:not(.current) { border-color: var(--th-primary-2); color: var(--th-primary); }

/* Category FAQ + bottom content */
body.tohfe-ui-v2 .tohfe-cat-faq,
body.tohfe-ui-v2 .tohfe-cat-bottom { max-width: 820px; margin: 34px auto; padding-inline: var(--th-gutter); }
body.tohfe-ui-v2 .tohfe-cat-faq-item { border: 1px solid var(--th-border); border-radius: var(--th-radius-sm); background: var(--th-surface); margin-bottom: 10px; }
body.tohfe-ui-v2 .tohfe-cat-faq-q {
	width: 100%;
	min-height: 50px;
	padding: 10px 16px;
	background: none;
	border: 0;
	font: inherit;
	font-weight: 700;
	text-align: right;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	color: var(--th-text);
}
body.tohfe-ui-v2 .tohfe-cat-faq-a { padding: 0 16px 14px; color: var(--th-muted); font-size: 14px; }

/* ---------- 18. Single product ---------- */
body.tohfe-ui-v2 .single-product .ast-article-single {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}
body.tohfe-ui-v2 div.product div.images {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	padding: 10px;
	margin-bottom: 24px;
	width: 48%;
}
body.tohfe-ui-v2 div.product div.images img {
	border-radius: calc(var(--th-radius-md) - 6px);
	width: 100%;
}
body.tohfe-ui-v2 div.product div.summary { width: 48%; }
body.tohfe-ui-v2 .product_title {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	font-weight: 800;
	margin-bottom: 8px;
}
body.tohfe-ui-v2 div.product .woocommerce-product-details__short-description p,
body.tohfe-ui-v2 div.product .woocommerce-product-details__short-description {
	color: var(--th-muted);
	font-size: 14.5px;
}
body.tohfe-ui-v2.woocommerce div.product p.price,
body.tohfe-ui-v2.woocommerce div.product span.price {
	color: var(--th-primary);
	font-size: 22px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	margin: 14px 0;
}
body.tohfe-ui-v2.woocommerce div.product p.price del,
body.tohfe-ui-v2.woocommerce div.product span.price del { color: var(--th-muted); font-weight: 500; font-size: 15px; opacity: 1; }
body.tohfe-ui-v2.woocommerce div.product p.price ins { text-decoration: none; }

/* Variations */
body.tohfe-ui-v2 form.variations_form table.variations {
	border: 0;
	margin-bottom: 14px;
}
body.tohfe-ui-v2 form.variations_form table.variations td { border: 0; padding: 6px 0; }
body.tohfe-ui-v2 form.variations_form table.variations label {
	font-weight: 700;
	font-size: 14px;
	color: var(--th-text);
}
body.tohfe-ui-v2 form.variations_form select {
	min-height: 46px;
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	background: var(--th-surface);
	padding: 0 14px;
	font: inherit;
	font-size: 14.5px;
	color: var(--th-text);
	width: 100%;
	max-width: 320px;
	cursor: pointer;
}
body.tohfe-ui-v2 form.variations_form .reset_variations {
	font-size: 13px;
	color: var(--th-muted);
	text-decoration: underline;
}
body.tohfe-ui-v2 .woocommerce-variation-price { margin: 10px 0; }
body.tohfe-ui-v2 .woocommerce-variation-price .price { font-size: 20px; font-weight: 800; color: var(--th-primary); }
body.tohfe-ui-v2 .woocommerce-variation-availability .stock { font-size: 13.5px; font-weight: 600; }

/* Quantity */
body.tohfe-ui-v2 div.product form.cart div.quantity { margin-inline-end: 10px; }
body.tohfe-ui-v2 div.product form.cart .qty {
	width: 72px;
	min-height: 48px;
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	text-align: center;
	font: inherit;
	font-size: 15px;
	color: var(--th-text);
	background: var(--th-surface);
}

/* CTA */
body.tohfe-ui-v2 div.product form.cart .button,
body.tohfe-ui-v2 .single_add_to_cart_button {
	min-height: 48px;
	padding: 0 34px;
	border-radius: var(--th-radius-pill);
	background: var(--th-primary);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	border: 0;
	cursor: pointer;
	transition: background-color .18s ease;
}
body.tohfe-ui-v2 div.product form.cart .button:hover,
body.tohfe-ui-v2 .single_add_to_cart_button:hover { background: var(--th-primary-2); color: #fff; }

/* Product trust row */
body.tohfe-ui-v2 .tohfe-product-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 16px 0;
	padding: 12px 14px;
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
}
body.tohfe-ui-v2 .tohfe-product-trust span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--th-text);
}
body.tohfe-ui-v2 .tohfe-product-trust svg { color: var(--th-primary); flex: none; }
body.tohfe-ui-v2 .tohfe-product-trust a {
	color: var(--th-primary-2);
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Tabs */
body.tohfe-ui-v2 div.product .woocommerce-tabs {
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	background: var(--th-surface);
	padding: 6px 20px 20px;
	margin-top: 30px;
}
body.tohfe-ui-v2 div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 1px solid var(--th-border);
}
body.tohfe-ui-v2 div.product .woocommerce-tabs ul.tabs::before { border: 0; }
body.tohfe-ui-v2 div.product .woocommerce-tabs ul.tabs li {
	background: none;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}
body.tohfe-ui-v2 div.product .woocommerce-tabs ul.tabs li::before,
body.tohfe-ui-v2 div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.tohfe-ui-v2 div.product .woocommerce-tabs ul.tabs li a {
	padding: 12px 18px;
	font-weight: 600;
	font-size: 14px;
	color: var(--th-muted);
	text-decoration: none;
	display: inline-block;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
body.tohfe-ui-v2 div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--th-primary);
	border-bottom-color: var(--th-primary);
}
body.tohfe-ui-v2 div.product .woocommerce-tabs .panel h2 { font-size: 1.3rem; }
body.tohfe-ui-v2 div.product .woocommerce-tabs .panel p,
body.tohfe-ui-v2 div.product .woocommerce-tabs .panel li { color: var(--th-muted); font-size: 14.5px; }

/* Nutrition block */
body.tohfe-ui-v2 .tdp-nutrition {
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	background: var(--th-surface);
	padding: 22px;
	margin-top: 26px;
}
body.tohfe-ui-v2 .tdp-nut-tab {
	display: inline-flex;
	gap: 6px;
	background: var(--th-primary-soft);
	color: var(--th-primary);
	border-radius: var(--th-radius-pill);
	padding: 4px 14px;
	font-size: 13px;
	font-weight: 600;
}
body.tohfe-ui-v2 .tdp-nut-title { font-size: 1.1rem; margin: 14px 0 10px; }
body.tohfe-ui-v2 .tdp-nut-table { width: 100%; border-collapse: collapse; font-size: 14px; }
body.tohfe-ui-v2 .tdp-nut-table td { padding: 8px 10px; border-bottom: 1px solid var(--th-border); color: var(--th-muted); }
body.tohfe-ui-v2 .tdp-nut-table td:last-child { color: var(--th-text); font-weight: 600; text-align: left; font-variant-numeric: tabular-nums; }
body.tohfe-ui-v2 .tdp-nut-note { font-size: 12px; color: var(--th-muted); margin: 8px 0; }
body.tohfe-ui-v2 .tdp-nut-tips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--th-muted);
}

/* Related / upsells */
body.tohfe-ui-v2 .related.products,
body.tohfe-ui-v2 .upsells.products { margin-top: 40px; padding-inline: var(--th-gutter); }
body.tohfe-ui-v2 .related.products > h2,
body.tohfe-ui-v2 .upsells.products > h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* ---------- 19. Cart (blocks) ---------- */
body.tohfe-ui-v2 .wc-block-cart .wc-block-cart-items,
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-panel,
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-totals-wrapper {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-sm);
	padding: 18px;
}
body.tohfe-ui-v2 .wc-block-cart .wc-block-cart-item__image img { border-radius: var(--th-radius-sm); }
body.tohfe-ui-v2 .wc-block-cart .wc-block-cart-item__product a { color: var(--th-text); font-weight: 600; text-decoration: none; }
body.tohfe-ui-v2 .wc-block-cart .wc-block-cart-item__price { color: var(--th-primary); font-weight: 700; font-variant-numeric: tabular-nums; }
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-quantity-selector {
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
}
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-quantity-selector button,
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-quantity-selector input { font-size: 15px; }
body.tohfe-ui-v2 .wc-block-cart .wp-block-woocommerce-cart-order-summary-block,
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-totals-item { color: var(--th-text); }
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-totals-item__value { font-weight: 700; font-variant-numeric: tabular-nums; }
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-button,
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-button {
	border-radius: var(--th-radius-pill);
	background: var(--th-primary);
	color: #fff;
	font-weight: 700;
	min-height: 46px;
}
body.tohfe-ui-v2 .wc-block-cart .wc-block-components-button:hover,
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-button:hover { background: var(--th-primary-2); color: #fff; }
body.tohfe-ui-v2 .wc-block-cart .wp-block-woocommerce-cart-totals-block { border-radius: var(--th-radius-md); overflow: hidden; }

/* ---------- 20. Checkout (blocks) ---------- */
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-form,
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-panel,
body.tohfe-ui-v2 .wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-totals-wrapper {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-sm);
	padding: 20px;
}
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-text-input input,
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-select-control,
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-combobox input {
	min-height: 46px;
	border-radius: var(--th-radius-sm);
	font-size: 14.5px;
}
body.tohfe-ui-v2 .wc-block-checkout label,
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-text-input label { font-weight: 600; color: var(--th-text); }
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-checkout-step__title { font-weight: 700; color: var(--th-text); }
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-totals-item__value { font-weight: 700; font-variant-numeric: tabular-nums; }
body.tohfe-ui-v2 .wc-block-checkout .wp-block-woocommerce-checkout-actions-block .wc-block-components-checkout-place-order-button {
	background: var(--th-primary);
	min-height: 52px;
	padding: 0 36px;
	font-weight: 800;
}
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-checkout-place-order-button:hover { background: var(--th-primary-2); }
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-notice-banner { border-radius: var(--th-radius-sm); }

/* Checkout payment section (COD notice etc.) */
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-radio-control__label { font-weight: 600; }
body.tohfe-ui-v2 .wc-block-checkout .wc-block-components-radio-control__option { border: 1px solid var(--th-border); border-radius: var(--th-radius-sm); margin-bottom: 8px; padding: 10px; }

/* ---------- 21. Forms (general) ---------- */
body.tohfe-ui-v2 input[type="text"],
body.tohfe-ui-v2 input[type="email"],
body.tohfe-ui-v2 input[type="tel"],
body.tohfe-ui-v2 input[type="password"],
body.tohfe-ui-v2 input[type="search"],
body.tohfe-ui-v2 input[type="number"],
body.tohfe-ui-v2 textarea,
body.tohfe-ui-v2 select {
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-sm);
	background: var(--th-surface);
	color: var(--th-text);
	font: inherit;
	padding: 10px 14px;
	min-height: 46px;
}
body.tohfe-ui-v2 input:focus,
body.tohfe-ui-v2 textarea:focus,
body.tohfe-ui-v2 select:focus {
	border-color: var(--th-primary-2);
	outline: none;
	box-shadow: 0 0 0 3px var(--th-primary-soft);
}
body.tohfe-ui-v2 label { font-weight: 600; color: var(--th-text); }
body.tohfe-ui-v2 .woocommerce-error,
body.tohfe-ui-v2 .woocommerce-info,
body.tohfe-ui-v2 .woocommerce-message {
	border-radius: var(--th-radius-sm);
	border-top: 3px solid var(--th-primary);
	background: var(--th-surface);
	color: var(--th-text);
	box-shadow: var(--th-shadow-sm);
}
body.tohfe-ui-v2 .woocommerce-error { border-top-color: var(--th-danger); }

/* ---------- 22. My Account ---------- */
body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-sm);
	padding: 10px;
	width: 24%;
}
body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 14px;
	border-radius: var(--th-radius-sm);
	color: var(--th-text);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--th-primary-soft); color: var(--th-primary); }
body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-content {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-sm);
	padding: 24px;
	width: 74%;
}
body.tohfe-ui-v2.woocommerce-account .woocommerce-form-login,
body.tohfe-ui-v2.woocommerce-account .woocommerce-form-register {
	max-width: 460px;
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-sm);
	padding: 26px;
	margin: 0 auto;
}
body.tohfe-ui-v2.woocommerce-account .woocommerce-form-login .button,
body.tohfe-ui-v2.woocommerce-account .woocommerce-form-register .button,
body.tohfe-ui-v2.woocommerce-account .woocommerce-Button {
	background: var(--th-primary);
	color: #fff;
	min-height: 46px;
	border-radius: var(--th-radius-pill);
	padding: 0 26px;
	font-weight: 700;
}
body.tohfe-ui-v2.woocommerce-account .woocommerce-Button:hover { background: var(--th-primary-2); color: #fff; }

/* ---------- 23. Blog ---------- */
body.tohfe-ui-v2 .ast-article-post {
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-sm);
	overflow: hidden;
	padding: 0;
	margin-bottom: 26px;
}
body.tohfe-ui-v2 .ast-article-post .ast-post-format-.blog-layout-1,
body.tohfe-ui-v2 .ast-article-post .ast-blog-featured-section { margin: 0; }
body.tohfe-ui-v2 .ast-article-post .post-thumb-img-content img {
	aspect-ratio: 16/9;
	object-fit: cover;
	width: 100%;
}
body.tohfe-ui-v2 .ast-article-post .entry-content,
body.tohfe-ui-v2 .ast-article-post .ast-excerpt-container { padding: 0 22px; }
body.tohfe-ui-v2 .ast-article-post .entry-title { font-size: 1.3rem; font-weight: 700; padding: 18px 22px 0; }
body.tohfe-ui-v2 .ast-article-post .entry-title a { color: var(--th-text); text-decoration: none; }
body.tohfe-ui-v2 .ast-article-post .entry-title a:hover { color: var(--th-primary); }
body.tohfe-ui-v2 .ast-article-post .entry-meta {
	font-size: 13px;
	color: var(--th-muted);
	padding: 6px 22px 18px;
}
/* Single post reading width */
body.tohfe-ui-v2 .single-post .ast-article-single { max-width: 780px; margin-inline: auto; }
body.tohfe-ui-v2 .single-post .entry-content p,
body.tohfe-ui-v2 .single-post .entry-content li { font-size: 15.5px; color: var(--th-muted); }
body.tohfe-ui-v2 .single-post .entry-content h2 { font-size: 1.5rem; margin-top: 1.4em; }
body.tohfe-ui-v2 .single-post .entry-content h3 { font-size: 1.2rem; }

/* ---------- 24. Contact / pages ---------- */
body.tohfe-ui-v2 .tohfe-contact-form {
	max-width: 640px;
	margin: 0 auto;
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-md);
	box-shadow: var(--th-shadow-sm);
	padding: 28px;
}
body.tohfe-ui-v2 .tohfe-contact-form label { display: block; margin-bottom: 6px; }
body.tohfe-ui-v2 .tohfe-contact-form input,
body.tohfe-ui-v2 .tohfe-contact-form textarea { width: 100%; }
body.tohfe-ui-v2 .tohfe-contact-form button {
	background: var(--th-primary);
	color: #fff;
	min-height: 48px;
	padding: 0 30px;
	border: 0;
	border-radius: var(--th-radius-pill);
	font-weight: 700;
	cursor: pointer;
}

/* ---------- 25. 404 ---------- */
body.tohfe-ui-v2.error404 .site-content { text-align: center; padding-block: 80px; }
body.tohfe-ui-v2.error404 .error-404 { max-width: 560px; margin-inline: auto; }
body.tohfe-ui-v2.error404 .page-title { font-size: clamp(2.4rem, 6vw, 4rem); }
body.tohfe-ui-v2.error404 .tohfe-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- 26. Footer ---------- */
body.tohfe-ui-v2 .th-footer {
	background: var(--th-primary);
	color: rgba(255, 255, 255, .86);
	margin-top: 60px;
}
body.tohfe-ui-v2 .th-footer__inner {
	max-width: var(--th-container);
	margin-inline: auto;
	padding: clamp(40px, 5vw, 60px) var(--th-gutter) 32px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
	gap: 32px;
}
body.tohfe-ui-v2 .th-footer__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
body.tohfe-ui-v2 .th-footer__logo-text { font-size: 18px; font-weight: 800; color: #fff; }
body.tohfe-ui-v2 .th-footer__about { color: rgba(255, 255, 255, .78); font-size: 13.5px; line-height: 1.9; margin-bottom: 14px; }
body.tohfe-ui-v2 .th-footer__social { display: flex; gap: 10px; }
body.tohfe-ui-v2 .th-social {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color .18s ease;
}
body.tohfe-ui-v2 .th-social:hover { background: var(--th-accent); color: var(--th-text); }
body.tohfe-ui-v2 .th-footer__title {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 14px;
	position: relative;
	padding-bottom: 8px;
}
body.tohfe-ui-v2 .th-footer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 28px;
	height: 2px;
	background: var(--th-accent);
	border-radius: 2px;
}
body.tohfe-ui-v2 .th-footer__links,
body.tohfe-ui-v2 .th-footer__contact { list-style: none; margin: 0; padding: 0; }
body.tohfe-ui-v2 .th-footer__links li { margin-bottom: 7px; }
body.tohfe-ui-v2 .th-footer__links a {
	color: rgba(255, 255, 255, .8);
	font-size: 13.5px;
	text-decoration: none;
	transition: color .15s ease;
}
body.tohfe-ui-v2 .th-footer__links a:hover { color: var(--th-accent); }
body.tohfe-ui-v2 .th-footer__contact li {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 11px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, .8);
}
body.tohfe-ui-v2 .th-footer__contact svg { color: var(--th-accent); flex: none; }
body.tohfe-ui-v2 .th-footer__contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }
body.tohfe-ui-v2 .th-footer__contact a:hover { color: var(--th-accent); }
body.tohfe-ui-v2 .th-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .14);
	text-align: center;
	padding: 16px var(--th-gutter);
}
body.tohfe-ui-v2 .th-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 13px; }

/* ---------- 27. Floating WhatsApp ---------- */
body.tohfe-ui-v2 .tohfe-wa {
	position: fixed;
	bottom: 22px;
	inset-inline-start: 22px;
	z-index: 9500;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 22px rgba(37, 211, 102, .4);
	transition: transform .18s ease;
}
@media (hover: hover) {
	body.tohfe-ui-v2 .tohfe-wa:hover { transform: scale(1.06); }
}
body.tohfe-ui-v2 .single-product .tohfe-wa { bottom: 84px; } /* above mobile cartbar */

/* ---------- 28. Responsive ---------- */
@media (max-width: 1200px) {
	body.tohfe-ui-v2 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	body.tohfe-ui-v2 .tohfe-nav-list--desktop { display: none; }
	body.tohfe-ui-v2 .th-nav { display: none; }
	body.tohfe-ui-v2 .th-action--menu { display: inline-flex; }
}

@media (max-width: 992px) {
	body.tohfe-ui-v2 .tohfe-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
	body.tohfe-ui-v2 .tohfe-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.tohfe-ui-v2 .tohfe-royal-banners { grid-template-columns: 1fr; gap: 14px; }
	body.tohfe-ui-v2 .tohfe-royal-banner { min-height: 230px; }
	body.tohfe-ui-v2 .tohfe-quality-grid { grid-template-columns: 1fr; }
	body.tohfe-ui-v2 .tdp-blog-grid { grid-template-columns: 1fr; }
	body.tohfe-ui-v2 .tdp-giftband { grid-template-columns: 1fr; }
	body.tohfe-ui-v2 .tohfe-hero-cols { grid-template-columns: 1fr; }
	body.tohfe-ui-v2 .th-footer__inner { grid-template-columns: 1fr 1fr; }
	body.tohfe-ui-v2 div.product div.images,
	body.tohfe-ui-v2 div.product div.summary { width: 100%; }
	body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-navigation,
	body.tohfe-ui-v2.woocommerce-account .woocommerce-MyAccount-content { width: 100%; }
}

@media (max-width: 768px) {
	body.tohfe-ui-v2 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	body.tohfe-ui-v2 .woocommerce-loop-product__title { font-size: 14px !important; min-height: 3em; }
	body.tohfe-ui-v2 .tohfe-topbar { font-size: 12.5px; }
	body.tohfe-ui-v2 .tohfe-topbar-inner { gap: 4px 14px; }
	body.tohfe-ui-v2 .tohfe-topbar-item:nth-child(n+2) { display: none; } /* one item on smallest */
	body.tohfe-ui-v2 .th-header__main { height: 64px; gap: 10px; }
	body.tohfe-ui-v2 .th-logo__tag { display: none; }
	body.tohfe-ui-v2 .th-logo__name { font-size: 17px; }
	body.tohfe-ui-v2 .tohfe-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	body.tohfe-ui-v2 .tohfe-trust-item { padding: 14px 10px; }
	body.tohfe-ui-v2 .tohfe-cats-grid { gap: 12px !important; }
	body.tohfe-ui-v2 .th-footer__inner { grid-template-columns: 1fr; gap: 26px; }
	body.tohfe-ui-v2 .tdp-news-inner { flex-direction: column; align-items: stretch; text-align: center; }
	body.tohfe-ui-v2 .tdp-news-ico { margin-inline: auto; }
	body.tohfe-ui-v2 .tdp-news-form { min-width: 0; }
}

@media (max-width: 480px) {
	body.tohfe-ui-v2 .ast-container { padding-inline: 14px; }
	body.tohfe-ui-v2 .th-header__main { padding-inline: 12px; }
	body.tohfe-ui-v2 .th-actions { gap: 0; }
	body.tohfe-ui-v2 ul.products { gap: 10px !important; }
	body.tohfe-ui-v2 .astra-shop-summary-wrap { padding: 10px 10px 12px; }
	body.tohfe-ui-v2 ul.products li.product .button { min-height: 40px; padding: 0 10px; font-size: 12.5px; }
	body.tohfe-ui-v2 .tohfe-hero { padding-block: 28px 24px; }
	body.tohfe-ui-v2 .tohfe-hero-btns { flex-direction: column; width: 100%; }
	body.tohfe-ui-v2 .tohfe-hero-btns .wp-block-button { width: 100%; }
	body.tohfe-ui-v2 .tohfe-hero-btns .wp-block-button__link { width: 100%; }
	body.tohfe-ui-v2 .tohfe-trust-section { padding: 20px 14px; }
	body.tohfe-ui-v2 .tohfe-cats-grid { gap: 10px !important; }
	body.tohfe-ui-v2 .tohfe-royal-banner { min-height: 200px; padding: 16px; }
	body.tohfe-ui-v2 .tohfe-quality-card { padding: 20px 16px; }
	body.tohfe-ui-v2 .woocommerce-ordering select { width: 100%; }
}

/* ---------- 29. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	body.tohfe-ui-v2 *,
	body.tohfe-ui-v2 *::before,
	body.tohfe-ui-v2 *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	body.tohfe-ui-v2 .th-drawer { transition: none; }
}

/* ==========================================================================
   30. Tap-target & filter-sidebar refinements (v1.0.1, 2026-08-22)
   ========================================================================== */

/* Sidebar price filter + categories — 44px targets */
body.tohfe-ui-v2 .widget-area.secondary .woocommerce.widget_price_filter form { padding-top: 4px; }
body.tohfe-ui-v2 .widget-area.secondary .price_slider_wrapper .price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
body.tohfe-ui-v2 .widget-area.secondary .price_slider_amount input {
	width: 92px;
	min-height: 44px;
	font-size: 13.5px;
}
body.tohfe-ui-v2 .widget-area.secondary .price_slider_amount .button {
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--th-radius-pill);
	background: var(--th-primary);
	color: #fff;
	font-weight: 700;
	font-size: 13.5px;
	border: 0;
	cursor: pointer;
	margin: 0;
}
body.tohfe-ui-v2 .widget-area.secondary .price_slider_amount .button:hover { background: var(--th-primary-2); color: #fff; }
body.tohfe-ui-v2 .widget-area.secondary .cat-item a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 4px;
}
body.tohfe-ui-v2 .widget-area.secondary .cat-item .children a { min-height: 40px; padding-inline-start: 18px; }

/* Mobile filter panel toggle */
body.tohfe-ui-v2 .th-filter-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	margin: 14px var(--th-gutter) 0;
	border-radius: var(--th-radius-pill);
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	color: var(--th-text);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	box-shadow: var(--th-shadow-sm);
}
body.tohfe-ui-v2 .th-filter-toggle svg { color: var(--th-primary); }
@media (max-width: 992px) {
	body.tohfe-ui-v2 .th-filter-toggle { display: inline-flex; }
	body.tohfe-ui-v2 .widget-area.secondary.th-filter-closed { display: none; }
	body.tohfe-ui-v2 .ast-left-sidebar #primary,
	body.tohfe-ui-v2 .ast-right-sidebar #primary { width: 100%; }
}

/* Product gallery zoom trigger — styled below (section 30, with Astra override) */

/* Astra on-card select-options button */
body.tohfe-ui-v2 ul.products .ast-on-card-button {
	width: 44px;
	height: 44px;
	min-width: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

/* Product share buttons (r69 module) */
body.tohfe-ui-v2 .tohfe-r69-share-btn {
	min-height: 44px;
	padding: 8px 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

/* Account password visibility toggle */
body.tohfe-ui-v2 .show-password-input {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Footer link rows — comfortable tap areas (full-row width on mobile) */
body.tohfe-ui-v2 .th-footer__links a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding-block: 8px;
}
body.tohfe-ui-v2 .th-footer__contact li { min-height: 44px; }
body.tohfe-ui-v2 .th-footer__contact li a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Blog strip "all articles" link */
body.tohfe-ui-v2 .tdp-blog-all {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 8px;
}

/* Variation reset link — real control, needs a 44px target.
   !important: WC Blocks reboot rule (.woocommerce-js div.product form.cart
   .reset_variations, 0,4,3) resets min-height to initial otherwise. */
body.tohfe-ui-v2 form.variations_form .reset_variations {
	min-height: 44px !important;
	display: inline-flex !important;
	align-items: center;
	padding: 0 10px !important;
}

/* Mobile sticky cart bar (legacy module markup; its CSS was dequeued) */
body.tohfe-ui-v2 .tohfe-cartbar {
	position: fixed;
	bottom: 0;
	inset-inline: 0;
	z-index: 9600;
	display: none;
	align-items: center;
	gap: 12px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: var(--th-surface);
	border-top: 1px solid var(--th-border);
	box-shadow: 0 -6px 24px rgba(36, 31, 26, .08);
}
body.tohfe-ui-v2 .tohfe-cartbar-price {
	font-weight: 800;
	color: var(--th-primary);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
body.tohfe-ui-v2 .tohfe-cartbar-btn {
	flex: 1;
	min-height: 48px;
	border: 0;
	border-radius: var(--th-radius-pill);
	background: var(--th-primary);
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
	transition: background-color .18s ease;
}
body.tohfe-ui-v2 .tohfe-cartbar-btn:hover { background: var(--th-primary-2); color: #fff; }
body.tohfe-ui-v2 .tohfe-cartbar-form { display: flex; flex: 1; margin: 0; }

/* Product gallery zoom trigger — Astra sets 36px with its own rule */
body.tohfe-ui-v2 .woocommerce-product-gallery__trigger {
	width: 44px !important; /* override Astra's 36px trigger (a11y 44px target) */
	height: 44px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Blog related-article links (tohfe-blog-links) */
body.tohfe-ui-v2 .tohfe-blog-card-more,
body.tohfe-ui-v2 .tohfe-blog-card-img {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
/* ==========================================================================
   MISSION 2026-08-23 — hero phrase integrity, nav fit, branch page,
   organizational page, blog polish, footer NAP, contact polish.
   Additive layer on top of v108 + tohfe-premium-1.css.
   ========================================================================== */

/* --- 1. Hero: «تازه و درجه یک» never breaks mid-phrase ------------------- */
body.tohfe-ui-v2 .tohfe-hero-title strong { white-space: nowrap; }

/* --- 2. Nav fit with 11 top-level items (desktop 1201px+) ---------------- */
@media (min-width: 1201px) and (max-width: 1600px) {
	body.tohfe-ui-v2 .th-header__main { padding-inline: 18px; }
	body.tohfe-ui-v2 .th-nav__list { gap: 1px; }
	body.tohfe-ui-v2 .th-nav__list > .menu-item > a { padding: 8px 9px; font-size: 13px; }
	body.tohfe-ui-v2 .th-logo__name { font-size: 17px; }
	body.tohfe-ui-v2 .th-actions { gap: 2px; }
}
@media (min-width: 1201px) and (max-width: 1366px) {
	body.tohfe-ui-v2 .th-header__main { padding-inline: 14px; }
	body.tohfe-ui-v2 .th-nav__list > .menu-item > a { padding: 7px 7px; font-size: 12.5px; }
	body.tohfe-ui-v2 .th-header__main { gap: 8px; }
}

/* --- 3. Branch page (شعبه و آدرس) ---------------------------------------- */
.th-branch-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; margin: 4px 0 30px; }
.th-branch-hero__img { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(29,74,46,.16); }
.th-branch-hero__img img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; }
.th-branch-kicker { color: var(--th-accent); font-weight: 700; font-size: 13px; margin: 0 0 8px; }
.th-branch-hero h1 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.4; color: var(--th-primary); }
.th-branch-hero > div > p { color: var(--th-muted); line-height: 2.05; margin: 0; }
.th-branch-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.th-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 40px; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.th-btn:hover { transform: translateY(-1px); }
.th-btn-primary { background: var(--th-primary); color: #fff; }
.th-btn-primary:hover { background: #143822; color: #fff; }
.th-btn-ghost { background: var(--th-surface); border: 1.5px solid var(--th-border); color: var(--th-text); }
.th-btn-ghost:hover { border-color: var(--th-primary); color: var(--th-primary); }
.th-branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 26px 0; }
.th-branch-card { background: var(--th-surface); border: 1px solid var(--th-border); border-radius: 14px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.th-branch-card svg { flex: none; margin-top: 2px; color: var(--th-primary); }
.th-branch-card h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--th-text); }
.th-branch-card p, .th-branch-card div { margin: 0; color: var(--th-muted); font-size: 14px; line-height: 1.9; }
.th-branch-card a { color: var(--th-primary); font-weight: 600; }
.th-branch-card a:hover { text-decoration: underline; }
.th-branch-card .th-branch-tel { direction: ltr; unicode-bidi: embed; display: inline-block; }
.th-branch-hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.th-branch-hours td { padding: 9px 12px; border-bottom: 1px solid var(--th-border); }
.th-branch-hours tr:last-child td { border-bottom: 0; }
.th-branch-hours td:first-child { font-weight: 700; color: var(--th-text); width: 46%; }
.th-branch-hours td:last-child { color: var(--th-muted); }
.th-branch-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 18px 0 6px; }
.th-branch-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--th-surface); }
.th-branch-gallery img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.th-branch-gallery figure:hover img { transform: scale(1.03); }
.th-branch-gallery figcaption { font-size: 12px; color: var(--th-muted); padding: 8px 4px 10px; text-align: center; }
.th-branch-map { position: relative; width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--th-border); margin: 12px 0; }
.th-branch-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.th-branch-intro { color: var(--th-muted); line-height: 2.05; }
@media (max-width: 768px) {
	.th-branch-hero { grid-template-columns: 1fr; }
	.th-branch-grid { grid-template-columns: 1fr; }
	.th-branch-gallery { grid-template-columns: 1fr; }
	.th-branch-map iframe { height: 300px; }
}

/* --- 4. Organizational purchase page (خرید سازمانی) ---------------------- */
.th-org-hero { text-align: center; padding: 26px 0 6px; }
.th-org-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--th-primary); margin: 0 0 12px; }
.th-org-hero p { color: var(--th-muted); max-width: 660px; margin: 0 auto; line-height: 2.05; }
.th-org-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 30px 0; }
.th-org-card { background: var(--th-surface); border: 1px solid var(--th-border); border-radius: 16px; padding: 24px 18px; text-align: center; }
.th-org-card svg { color: var(--th-primary); margin-bottom: 10px; }
.th-org-card h3 { margin: 0 0 8px; font-size: 15.5px; color: var(--th-text); }
.th-org-card p { margin: 0; color: var(--th-muted); font-size: 13.5px; line-height: 1.9; }
.th-org-audience { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px 0 8px; }
.th-org-audience span { background: var(--th-primary-soft); color: var(--th-primary); border-radius: 40px; padding: 8px 18px; font-size: 14px; font-weight: 600; }
.th-org-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 30px 0; counter-reset: step; }
.th-org-step { position: relative; background: var(--th-surface); border: 1px solid var(--th-border); border-radius: 16px; padding: 26px 16px 18px; text-align: center; }
.th-org-step::before { counter-increment: step; content: counter(step); position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); width: 26px; height: 26px; border-radius: 50%; background: var(--th-accent); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.th-org-step h3 { margin: 8px 0 8px; font-size: 15px; color: var(--th-text); }
.th-org-step p { margin: 0; color: var(--th-muted); font-size: 13.5px; line-height: 1.85; }
.th-org-form-wrap { max-width: 720px; margin: 36px auto 8px; background: var(--th-surface); border: 1px solid var(--th-border); border-radius: 18px; padding: 28px; }
.th-org-form-wrap h2 { margin: 0 0 6px; color: var(--th-primary); font-size: 20px; text-align: center; }
.th-org-form-wrap .th-org-form-sub { text-align: center; color: var(--th-muted); font-size: 14px; margin: 0 0 20px; line-height: 1.9; }
.th-org-form p { margin: 0 0 14px; }
.th-org-form label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 5px; color: var(--th-text); }
.th-org-form label .req { color: #c0392b; }
.th-org-form input[type="text"], .th-org-form input[type="tel"], .th-org-form input[type="email"], .th-org-form input[type="date"], .th-org-form select, .th-org-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--th-border); border-radius: 10px; font: inherit; font-size: 14.5px; background: #fff; color: var(--th-text); box-sizing: border-box; }
.th-org-form input:focus, .th-org-form select:focus, .th-org-form textarea:focus { outline: 2px solid var(--th-accent); outline-offset: 1px; border-color: var(--th-primary); }
.th-org-form .th-org-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.th-org-form .th-org-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--th-muted); line-height: 1.8; }
.th-org-form .th-org-consent input { margin-top: 3px; }
.th-org-form .th-org-submit { text-align: center; }
.th-org-form .th-org-submit button { background: var(--th-primary); color: #fff; border: 0; border-radius: 40px; padding: 13px 36px; font-size: 15.5px; font-weight: 800; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.th-org-form .th-org-submit button:hover { background: #143822; transform: translateY(-1px); }
.th-org-note { font-size: 12.5px; color: var(--th-muted); text-align: center; margin-top: 14px; line-height: 1.9; }
.th-org-msg { border-radius: 12px; padding: 13px 16px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.th-org-msg.ok { background: #e7f3e8; color: #1c5e2a; }
.th-org-msg.err { background: #fdecea; color: #a12b1f; }
@media (max-width: 992px) {
	.th-org-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.th-org-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
	.th-org-grid, .th-org-steps { grid-template-columns: 1fr; }
	.th-org-form .th-org-row { grid-template-columns: 1fr; }
	.th-org-form-wrap { padding: 22px 16px; }
}

/* --- 5. Blog polish (reading comfort + archive cards) --------------------- */
body.tohfe-ui-v2.single-post .entry-content { font-size: 16.5px; line-height: 2.1; color: var(--th-text); }
body.tohfe-ui-v2.single-post .entry-content h2 { margin-top: 1.7em; }
body.tohfe-ui-v2.single-post .entry-content h3 { margin-top: 1.35em; }
body.tohfe-ui-v2.single-post .post-thumb-img-content img { border-radius: 14px; }
body.tohfe-ui-v2.blog .ast-article-post, body.tohfe-ui-v2.archive .ast-article-post { border-radius: 14px; overflow: hidden; }
body.tohfe-ui-v2 .ast-pagination .page-numbers { border-radius: 8px; }

/* --- 6. Footer NAP + map link -------------------------------------------- */
.th-footer__contact li { line-height: 1.95; }
.th-footer__contact a { color: var(--th-text); text-decoration: none; }
.th-footer__contact a:hover { color: var(--th-primary); }
.th-footer__contact .th-footer__addr { color: var(--th-muted); }

/* --- 7. Contact page NAP cards ------------------------------------------- */
.th-contact-nap { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.th-contact-nap .th-branch-card { margin: 0; }
@media (max-width: 640px) { .th-contact-nap { grid-template-columns: 1fr; } }
