@font-face {
	font-family: "Vazirmatn";
	src: url("../../fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Vazirmatn";
	src: url("../../fonts/vazirmatn/Vazirmatn-Medium.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Vazirmatn";
	src: url("../../fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}

.thc-store,
.thc-store-wrap {
	--thc-bg: #f5f6f4;
	--thc-surface: #ffffff;
	--thc-text: #14241f;
	--thc-muted: #5b6b66;
	--thc-primary: #0f766e;
	--thc-primary-dark: #0d5f59;
	--thc-soft: #e8f2ef;
	--thc-border: #e2e8e5;
	--thc-sale: #b45309;
	--thc-radius: 12px;
	--thc-shadow: 0 1px 2px rgba(20, 36, 31, 0.04), 0 8px 24px rgba(20, 36, 31, 0.04);
	font-family: "Vazirmatn", Tahoma, sans-serif;
	color: var(--thc-text);
	direction: rtl;
	box-sizing: border-box;
	max-width: 1440px;
	width: 100%;
	margin-inline: auto;
	padding: 28px 24px 72px;
	background:
		radial-gradient(1200px 420px at 100% -10%, rgba(15, 118, 110, 0.08), transparent 60%),
		radial-gradient(900px 360px at 0% 0%, rgba(180, 83, 9, 0.05), transparent 55%),
		var(--thc-bg);
}

.thc-store *,
.thc-store *::before,
.thc-store *::after {
	box-sizing: border-box;
}

.thc-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.thc-hide-theme-title .entry-title,
body.thc-hide-theme-title .page-title,
body.thc-hide-theme-title .wp-block-post-title,
body.thc-hide-theme-title h1.entry-header,
body.thc-hide-theme-title .entry-header .entry-title {
	display: none !important;
}
/* Drop Ahura blog sidebar (categories / recent posts) so store pages are one wide column. */
body.thc-is-store aside.ahura-sidebar,
body.thc-is-store .ahura-sidebar.sidebar {
	display: none !important;
}

body.thc-is-store .site-container.ahura-2c-column {
	display: block !important;
}

body.thc-is-store .site-container.ahura-2c-column .post-box,
body.thc-is-store .site-container.ahura-2c-column .post-entry {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin-inline: 0 !important;
}

body.thc-hide-theme-title .post-title,
body.thc-hide-theme-title header.post-title {
	display: none !important;
}

/* Break out of block-theme constrained content so store can use page_max_width. */
body.thc-is-store .entry-content,
body.thc-is-store .wp-block-post-content,
body.thc-is-store .wp-block-group.is-layout-constrained > .thc-store,
body.thc-is-store .wp-block-group.is-layout-constrained > .thc-store-wrap,
body.thc-is-store .wp-block-group.is-layout-constrained > .thc-account,
body.thc-is-store .is-layout-constrained > :where(.thc-store, .thc-store-wrap, .thc-account) {
	max-width: none !important;
	width: min(100%, var(--thc-page-width, 1440px)) !important;
	margin-inline: auto !important;
}

body.thc-is-store .wp-block-post-content.is-layout-constrained,
body.thc-is-store .entry-content.is-layout-constrained {
	padding-inline: 0;
}

.thc-store-hero {
	margin-bottom: 24px;
}

.thc-store-eyebrow {
	margin: 0 0 6px;
	color: var(--thc-primary);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
}

.thc-store-title,
.thc-single-title {
	margin: 0;
	font-size: clamp(1.45rem, 2vw, 2rem);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.thc-store-subtitle,
.thc-single-short {
	margin: 8px 0 0;
	color: var(--thc-muted);
	line-height: 1.75;
	max-width: 42rem;
}

.thc-store-toolbar {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr auto auto auto;
	gap: 12px;
	align-items: center;
	padding: 12px;
	background: var(--thc-surface);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius);
	box-shadow: var(--thc-shadow);
	margin-bottom: 20px;
}

.thc-store-toolbar input,
.thc-store-toolbar select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--thc-border);
	border-radius: 12px;
	padding: 0 12px;
	font: inherit;
	background: #fff;
	color: var(--thc-text);
}

.thc-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--thc-muted);
	white-space: nowrap;
}

.thc-store-count {
	margin: 0 0 16px;
	color: var(--thc-muted);
	font-size: 14px;
}

.thc-grid {
	display: grid;
	grid-template-columns: repeat(var(--thc-columns-desktop, 3), minmax(0, 1fr));
	gap: var(--thc-grid-gap, 18px);
}

.thc-card {
	background: var(--thc-surface);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius);
	overflow: hidden;
	box-shadow: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	display: flex;
	flex-direction: column;
}

.thc-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--thc-primary) 28%, var(--thc-border));
	box-shadow: var(--thc-shadow);
}

.thc-card-media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	padding-top: 0 !important; /* design ratio uses absolute fill instead */
	background: var(--thc-soft);
	overflow: hidden;
	min-height: 180px;
}

.thc-card-media img,
.thc-single-main-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.thc-card:hover .thc-card-media img {
	transform: scale(1.04);
}

.thc-card-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, #dceee9, #f4f8f7);
}

.thc-card-badges {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.thc-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	background: #fff;
	color: var(--thc-text);
}

.thc-pill-sale { background: #fdecec; color: var(--thc-sale); }
.thc-pill-free { background: #e8f6ef; color: #1f6b4d; }
.thc-pill-oos { background: #f3f3f3; color: #666; }

.thc-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.thc-card-type {
	font-size: 12px;
	color: var(--thc-primary);
}

.thc-card-title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.5;
}

.thc-card-title a {
	color: inherit;
	text-decoration: none;
}

.thc-card-excerpt {
	margin: 0;
	color: var(--thc-muted);
	font-size: 13px;
	line-height: 1.7;
}

.thc-card-price {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.thc-card-price del,
.thc-single-price del {
	color: var(--thc-muted);
	font-size: 13px;
}

.thc-card-price strong span,
.thc-single-price strong span {
	font-size: 12px;
	font-weight: 500;
	color: var(--thc-muted);
}

.thc-card-actions {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 8px;
	margin-top: 8px;
}

.thc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid transparent;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: .15s ease;
}

.thc-btn-primary {
	background: var(--thc-primary);
	color: #fff;
}

.thc-btn-primary:hover {
	background: var(--thc-primary-dark);
	color: #fff;
}

.thc-btn-ghost {
	background: #fff;
	border-color: var(--thc-border);
	color: var(--thc-text);
}

.thc-btn-ghost:hover {
	border-color: var(--thc-primary);
	color: var(--thc-primary);
}

.thc-btn-lg {
	min-height: 48px;
	width: 100%;
	max-width: 280px;
}

.thc-btn-disabled,
.thc-btn:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.thc-pager {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.thc-page {
	min-width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid var(--thc-border);
	color: var(--thc-text);
	text-decoration: none;
	background: #fff;
}

.thc-page.is-active {
	background: var(--thc-primary);
	border-color: var(--thc-primary);
	color: #fff;
}

.thc-front-empty {
	padding: 48px 20px;
	text-align: center;
	background: var(--thc-surface);
	border: 1px dashed var(--thc-border);
	border-radius: var(--thc-radius);
	color: var(--thc-muted);
}

.thc-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 28px;
	align-items: start;
	margin-bottom: 36px;
}

.thc-single-gallery {
	min-width: 0;
	width: 100%;
}

.thc-single-main-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 22px;
	overflow: hidden;
	background: var(--thc-soft);
	border: 1px solid var(--thc-border);
}

.thc-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.thc-thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
}

.thc-thumb.is-active,
.thc-thumb:hover {
	border-color: var(--thc-primary);
}

.thc-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thc-single-price {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0;
	font-size: 1.35rem;
}

.thc-oos-note {
	color: var(--thc-sale);
	font-weight: 500;
}

.thc-meta-list {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	color: var(--thc-muted);
	font-size: 14px;
}

.thc-meta-list li {
	margin-bottom: 8px;
}

.thc-meta-list span {
	color: var(--thc-text);
	font-weight: 500;
}

.thc-section {
	margin: 36px 0;
	padding: 24px;
	background: var(--thc-surface);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius);
}

.thc-section h2 {
	margin: 0 0 16px;
	font-size: 1.2rem;
}

.thc-content {
	line-height: 1.9;
	color: var(--thc-text);
}

.thc-attrs {
	width: 100%;
	border-collapse: collapse;
}

.thc-attrs th,
.thc-attrs td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--thc-border);
	text-align: right;
	overflow-wrap: anywhere;
}

.thc-attrs th {
	width: 35%;
	color: var(--thc-muted);
	font-weight: 500;
}

/* Shared multi-column data tables (account / downloads / order received) */
.thc-account-table-wrap {
	overflow: visible;
	max-width: 100%;
	border: 1px solid var(--thc-border, #e2e8e5);
	border-radius: 14px;
	background: #fff;
}

.thc-account-table,
.thc-data-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 0;
}

.thc-account-table th,
.thc-account-table td,
.thc-data-table th,
.thc-data-table td {
	padding: 12px 14px;
	text-align: right;
	border-bottom: 1px solid var(--thc-border, #e2e8e5);
	font-size: 0.92rem;
	vertical-align: middle;
	overflow-wrap: anywhere;
}

.thc-account-table th,
.thc-data-table th {
	background: color-mix(in srgb, var(--thc-soft, #e8f2ef) 55%, #fff);
	color: var(--thc-muted, #5b6b66);
	font-weight: 650;
	font-size: 0.8rem;
}

.thc-account-table tr:last-child td,
.thc-data-table tr:last-child td {
	border-bottom: 0;
}

.thc-account-table .thc-token,
.thc-data-table .thc-token {
	display: inline-block;
	max-width: 100%;
	min-inline-size: 0;
	overflow-wrap: anywhere;
}

.thc-previews {
	display: grid;
	gap: 16px;
}

.thc-preview-item audio,
.thc-preview-item video,
.thc-preview-item img {
	width: 100%;
	max-width: 520px;
	margin-top: 8px;
	border-radius: 12px;
}

.thc-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--thc-text);
	color: #fff;
	padding: 12px 18px;
	border-radius: 999px;
	z-index: 9999;
	font-size: 14px;
	box-shadow: var(--thc-shadow);
}

.thc-card.is-oos {
	opacity: .92;
}

#thc-cart-root.is-busy .thc-cart-summary {
	opacity: 0.72;
	transition: opacity 0.15s ease;
}

.thc-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 20px;
	align-items: start;
}

.thc-cart-line {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	gap: 14px;
	padding: 16px;
	margin-bottom: 12px;
	background: var(--thc-surface);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius);
	box-shadow: var(--thc-shadow);
}

.thc-cart-thumb {
	width: 96px;
	height: 96px;
	border-radius: 14px;
	overflow: hidden;
	display: block;
	background: var(--thc-soft);
}

.thc-cart-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thc-cart-title {
	margin: 0 0 8px;
	font-size: 1.05rem;
}

.thc-cart-title a {
	color: inherit;
	text-decoration: none;
}

.thc-cart-unit {
	margin: 0 0 12px;
	color: var(--thc-muted);
	font-size: 13px;
}

.thc-cart-unit del {
	margin-right: 8px;
}

.thc-qty {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 1px solid var(--thc-border);
	border-radius: 10px;
	padding: 4px;
	background: #fff;
	position: relative;
	z-index: 1;
}

.thc-qty-btn {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 8px;
	background: var(--thc-soft);
	color: var(--thc-text);
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	flex: 0 0 auto;
	transition: background 0.15s ease, color 0.15s ease;
}

.thc-qty-btn:hover:not(:disabled) {
	background: var(--thc-primary);
	color: #fff;
}

.thc-qty-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.thc-qty-input {
	width: 48px;
	height: 36px;
	border: 0;
	text-align: center;
	font: inherit;
	background: transparent;
	-moz-appearance: textfield;
	appearance: textfield;
}

.thc-qty-input::-webkit-outer-spin-button,
.thc-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.thc-cart-line-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
}

.thc-cart-line-total {
	font-size: 1.05rem;
}

.thc-cart-line-total span,
.thc-cart-summary li span {
	font-size: 12px;
	color: var(--thc-muted);
	font-weight: 500;
}

.thc-link {
	background: none;
	border: 0;
	color: var(--thc-primary);
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.thc-link-danger { color: var(--thc-sale); }

.thc-cart-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.thc-cart-summary {
	position: sticky;
	top: 24px;
	padding: 20px;
	background: var(--thc-surface);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius);
	box-shadow: var(--thc-shadow);
}

.thc-cart-summary h2 {
	margin: 0 0 16px;
	font-size: 1.15rem;
}

.thc-cart-summary ul {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.thc-cart-summary li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--thc-border);
	font-size: 14px;
}

.thc-cart-summary .thc-cart-grand {
	border-bottom: 0;
	padding-top: 14px;
	font-size: 1.05rem;
}

.thc-cart-summary .thc-cart-savings strong {
	color: var(--thc-sale, #b42318);
	font-weight: 600;
}

.thc-coupon-slot em {
	color: var(--thc-muted);
	font-style: normal;
	font-size: 12px;
}

.thc-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--thc-primary);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.thc-checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) 340px;
	gap: 20px;
	align-items: start;
}

.thc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.thc-checkout .thc-field {
	margin-bottom: 14px;
}

.thc-checkout .thc-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 500;
}

.thc-checkout .thc-input {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--thc-border);
	border-radius: 12px;
	padding: 8px 12px;
	font: inherit;
	background: #fff;
}

.thc-field-error {
	display: block;
	min-height: 18px;
	margin-top: 4px;
	color: var(--thc-sale);
	font-size: 12px;
}

.thc-checkout-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.thc-checkout-global-error {
	margin-top: 12px;
	color: var(--thc-sale);
	font-weight: 500;
}

.thc-checkout-items {
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

.thc-checkout-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--thc-border);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff 0%, #f7faf8 100%);
	font-size: 13px;
}

.thc-checkout-item__media {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--thc-soft);
}

.thc-checkout-item__media img,
.thc-checkout-item__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thc-checkout-item__placeholder {
	background: linear-gradient(135deg, #dceee9, #f4f8f7);
}

.thc-checkout-item__body {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.thc-checkout-item__title {
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--thc-text);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.thc-checkout-item__meta {
	color: var(--thc-muted);
	font-size: 12px;
}

.thc-checkout-item__price {
	text-align: left;
	display: grid;
	gap: 2px;
	justify-items: end;
	white-space: nowrap;
}

.thc-checkout-item__price strong {
	font-size: 0.95rem;
	color: var(--thc-text);
}

.thc-checkout-item__price span {
	font-size: 11px;
	color: var(--thc-muted);
	font-weight: 500;
}

.thc-gateway-option {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	margin-bottom: 10px;
	border: 1px solid var(--thc-border);
	border-radius: 12px;
	cursor: pointer;
	background: #fff;
}

.thc-gateway-option em {
	display: block;
	margin-top: 4px;
	color: var(--thc-muted);
	font-style: normal;
	font-size: 13px;
}

.thc-pay-form {
	margin: 16px 0;
}

.thc-meta-list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.thc-meta-list li {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 8px 0;
	border-bottom: 1px solid var(--thc-border);
}

.thc-meta-list li span {
	color: var(--thc-muted);
	min-width: 110px;
}

@media (max-width: 980px) {
	/* Product columns controlled by Design CSS (--thc-columns-tablet). */
	.thc-store-toolbar { grid-template-columns: 1fr 1fr; }
	.thc-single-grid { grid-template-columns: 1fr; }
	.thc-cart-layout { grid-template-columns: 1fr; }
	.thc-checkout-layout { grid-template-columns: 1fr; }

	/* Data tables → card stack (no horizontal scroll) */
	.thc-account-table-wrap {
		border: 0;
		background: transparent;
		border-radius: 0;
		overflow: visible;
	}

	.thc-account-table,
	.thc-data-table {
		min-width: 0 !important;
		width: 100%;
	}

	.thc-account-table thead,
	.thc-data-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.thc-account-table tbody,
	.thc-data-table tbody {
		display: grid;
		gap: 12px;
	}

	.thc-account-table tbody tr,
	.thc-data-table tbody tr {
		display: grid;
		gap: 0;
		padding: 12px 14px;
		border: 1px solid var(--thc-border, #e2e8e5);
		border-radius: 14px;
		background: #fff;
	}

	.thc-account-table th,
	.thc-account-table td,
	.thc-data-table th,
	.thc-data-table td {
		display: grid;
		grid-template-columns: minmax(5.5rem, 36%) minmax(0, 1fr);
		gap: 10px;
		align-items: start;
		width: 100%;
		padding: 9px 0;
		border-bottom: 1px dashed color-mix(in srgb, var(--thc-border, #e2e8e5) 85%, transparent);
		text-align: start;
	}

	.thc-account-table td:last-child,
	.thc-data-table td:last-child {
		border-bottom: 0;
	}

	.thc-account-table td::before,
	.thc-data-table td::before {
		content: attr(data-label);
		color: var(--thc-muted, #5b6b66);
		font-size: 0.78rem;
		font-weight: 650;
		line-height: 1.45;
	}

	.thc-account-table td:not([data-label])::before,
	.thc-account-table td[data-label=""]::before,
	.thc-data-table td:not([data-label])::before,
	.thc-data-table td[data-label=""]::before {
		content: none;
	}

	.thc-account-table td:not([data-label]),
	.thc-account-table td[data-label=""],
	.thc-account-table td.is-actions,
	.thc-data-table td:not([data-label]),
	.thc-data-table td[data-label=""],
	.thc-data-table td.is-actions {
		grid-template-columns: 1fr;
		padding-top: 12px;
	}

	.thc-account-table td.is-actions .thc-link,
	.thc-account-table td.is-actions .thc-btn,
	.thc-data-table td.is-actions .thc-link,
	.thc-data-table td.is-actions .thc-btn {
		width: 100%;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
	}
}

@media (max-width: 640px) {
	/* Product columns controlled by Design CSS (--thc-columns-mobile). */
	.thc-store-toolbar { grid-template-columns: 1fr; }
	.thc-card-actions { grid-template-columns: 1fr; }
	.thc-form-row { grid-template-columns: 1fr; }
	.thc-cart-line {
		grid-template-columns: 72px minmax(0, 1fr);
	}
	.thc-cart-line-side {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
	}

	.thc-attrs th,
	.thc-attrs td {
		display: block;
		width: 100%;
	}

	.thc-attrs th {
		padding-bottom: 2px;
		border-bottom: 0;
	}

	.thc-attrs td {
		padding-top: 2px;
	}
}

.thc-coupon-slot {
	display: grid;
	gap: 8px;
}
.thc-coupon-form {
	display: grid;
	gap: 8px;
	width: 100%;
}
.thc-coupon-row {
	display: flex;
	gap: 8px;
	align-items: center;
}
.thc-coupon-row .thc-input {
	flex: 1;
	min-height: 42px;
}
.thc-coupon-error {
	color: var(--thc-sale);
}
.thc-coupon-slot .thc-remove-coupon {
	margin-inline-start: 8px;
}

.thc-breadcrumb {
	margin: 0 0 1.25rem;
}
.thc-breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	color: var(--thc-muted, #667085);
}
.thc-breadcrumb-item:not(:last-child)::after {
	content: "/";
	margin-inline-start: 0.5rem;
	opacity: 0.5;
}
.thc-breadcrumb a {
	color: inherit;
	text-decoration: none;
}
.thc-breadcrumb a:hover {
	text-decoration: underline;
}
.thc-single-cats {
	margin: 0.35rem 0 0.75rem;
	font-size: 0.9rem;
}
.thc-single-cats a {
	color: var(--thc-accent, #0f766e);
}
