/**
 * Single product — visual match to current product.html (minimal cream / ink).
 * Palette: ink #1c1714 · gold #a9803d · cream #faf8f3 · line #e7e1d3 · muted #8b8378
 * Typography: Vazirmatn · RTL · no Tailwind CDN
 * Task 3/6: scoped to .tala-product-page — header/footer + cart/checkout untouched.
 */

.tala-product-page {
	--ink: #1c1714;
	--gold: #a9803d;
	--cream: #faf8f3;
	--line: #e7e1d3;
	--muted: #8b8378;
	/* aliases used by older rules */
	--brand-dark: var(--ink);
	--brand-gold: var(--gold);
	--brand-cream: var(--cream);
	--brand-sand: #f6e7c4;
	--brand-accent: #8c2d19;
	--brand-muted: var(--muted);
	--brand-body: var(--muted);
	background: var(--cream);
	color: var(--ink);
	font-family: "Vazirmatn", system-ui, sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

.tala-product-page *,
.tala-product-page *::before,
.tala-product-page *::after {
	box-sizing: border-box;
}

.tala-product-page img {
	max-width: 100%;
	height: auto;
}

.tala-product-page__inner {
	max-width: 1152px; /* max-w-6xl */
	margin: 0 auto;
	padding: 40px 16px 80px; /* py-10 px-4 */
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.tala-product-page__inner {
		padding-left: 24px; /* sm:px-6 */
		padding-right: 24px;
	}
}

@media (min-width: 768px) {
	.tala-product-page__inner {
		padding-top: 64px; /* md:py-16 */
		padding-bottom: 64px;
	}
}

@media (min-width: 1024px) {
	.tala-product-page__inner {
		padding-left: 32px; /* lg:px-8 */
		padding-right: 32px;
	}
}

/* Breadcrumbs */
.tala-product__breadcrumbs {
	margin-bottom: 32px;
	overflow-x: auto;
	scrollbar-width: none;
}

.tala-product__breadcrumbs::-webkit-scrollbar {
	display: none;
}

.tala-product__crumbs,
.tala-product__breadcrumbs .woocommerce-breadcrumb {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--muted);
	padding: 0;
	margin: 0;
	background: none;
	border: none;
	white-space: nowrap;
}

.tala-product__crumbs a,
.tala-product__breadcrumbs .woocommerce-breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}

.tala-product__crumbs a:hover,
.tala-product__breadcrumbs .woocommerce-breadcrumb a:hover {
	color: var(--ink);
}

.tala-product__crumb-sep {
	opacity: 0.7;
}

.tala-product__crumbs .breadcrumb_last,
.tala-product__breadcrumbs .woocommerce-breadcrumb .breadcrumb_last {
	color: var(--ink);
}

/* Main grid — 50/50 like sample lg:col-span-6 */
.tala-product__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}

@media (min-width: 1024px) {
	.tala-product__grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}
}

.tala-product__gallery-col {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Gallery — white frame (not dark luxury) */
.tala-product__gallery-frame {
	position: relative;
	aspect-ratio: 1;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.tala-product__gallery-frame::before,
.tala-product__gallery-pattern {
	display: none;
}

.tala-product__gallery-badge {
	display: none; /* caption sits under frame */
}

.tala-product__gallery-authenticity {
	display: none;
}

.tala-product__gallery-caption {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}

.tala-product__gallery-frame .woocommerce-product-gallery,
.tala-product__gallery-col .woocommerce-product-gallery {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0 !important;
	padding: 40px;
}

.tala-product__gallery-frame .woocommerce-product-gallery__image img,
.tala-product__gallery-frame .wp-post-image {
	width: 100% !important;
	height: auto !important;
	max-height: min(60vh, 480px);
	object-fit: contain;
	border-radius: 0;
	filter: none;
	transition: none;
}

.tala-product__gallery-frame:hover .woocommerce-product-gallery__image img {
	transform: none;
}

.tala-product__gallery-frame .flex-control-thumbs {
	display: flex;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	justify-content: center;
}

.tala-product__gallery-frame .flex-control-thumbs li {
	width: 56px;
	margin: 0 !important;
}

.tala-product__gallery-frame .flex-control-thumbs img {
	border-radius: 8px;
	border: 1px solid var(--line);
	opacity: 0.75;
	background: var(--cream);
}

.tala-product__gallery-frame .flex-control-thumbs .flex-active,
.tala-product__gallery-frame .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--ink);
}

.tala-product__gallery-frame .onsale {
	top: 12px;
	right: 12px;
	left: auto;
	background: var(--ink) !important;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 11px;
}

/* Gold color under gallery (minimal) */
.tala-product__customizer {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 24px 0 0;
	box-shadow: none;
	margin-top: 0;
}

.tala-product__customizer-title {
	display: none;
}

.tala-product__customizer-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tala-product__swatch-group + .tala-product__swatch-group {
	display: block;
	margin-top: 0;
}

.tala-product__swatch-label {
	display: block;
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 8px;
}

.tala-product__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tala-swatch {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 4px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: transparent;
	font-family: inherit;
	font-size: clamp(10px, 2.8vw, 12px);
	font-weight: 400;
	color: var(--muted);
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s;
}

.tala-swatch.is-active {
	border-color: var(--ink);
	background: transparent;
	font-weight: 500;
	color: var(--ink);
}

.tala-swatch__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	flex-shrink: 0;
}

.tala-swatch__dot--yellow {
	background: #d4af37;
}

.tala-swatch__dot--white {
	background: #c3ccd8;
}

.tala-swatch__dot--rose {
	background: #e0a899;
}

.tala-swatch__dot--ruby {
	background: radial-gradient(circle at 35% 35%, #ff4d6d, #c9184a 55%, #590d22);
}

.tala-swatch__dot--emerald {
	background: radial-gradient(circle at 35% 35%, #6ee7b7, #059669 55%, #064e3b);
}

.tala-swatch__dot--diamond {
	background: radial-gradient(circle at 35% 35%, #fff, #eef1f6 40%, #b0c4de 75%, #4682b4);
}

/* Summary */
.tala-product__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--gold);
}

.tala-product__summary .product_title {
	font-family: "Vazirmatn", sans-serif;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.35;
	margin: 0 0 12px;
}

.tala-product__summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 24px;
}

.tala-product__summary .star-rating {
	color: var(--gold);
	float: none;
	font-size: 14px;
}

.tala-product__summary .woocommerce-review-link {
	font-size: 14px;
	font-weight: 400;
	color: var(--muted);
	text-decoration: none;
}

/* Price card — border only, collapsible details */
.tala-gold-breakdown {
	margin: 0 0 24px;
	padding: 20px;
	background: transparent;
	backdrop-filter: none;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.tala-gold-breakdown__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}

.tala-gold-breakdown__label {
	display: none;
}

.tala-gold-breakdown__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
}

.tala-gold-breakdown__amount {
	font-size: clamp(22px, 3vw, 24px);
	font-weight: 700;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.tala-gold-breakdown__currency {
	font-size: 14px;
	font-weight: 400;
	color: var(--muted);
}

.tala-gold-breakdown__weight-badge {
	background: transparent;
	color: var(--muted);
	border-radius: 0;
	padding: 0;
	text-align: left;
	min-width: 0;
	font-size: 12px;
}

.tala-gold-breakdown__weight-label {
	display: inline;
	font-size: 12px;
	color: var(--muted);
	margin: 0;
}

.tala-gold-breakdown__weight-label::after {
	content: " ";
}

.tala-gold-breakdown__weight-value {
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}

.tala-gold-breakdown__toggle {
	display: inline-block;
	margin-top: 12px;
	padding: 0;
	border: none;
	background: none;
	font-family: inherit;
	font-size: 12px;
	color: var(--gold);
	cursor: pointer;
	text-decoration: none;
}

.tala-gold-breakdown__toggle:hover {
	text-decoration: underline;
}

.tala-gold-breakdown__list {
	list-style: none;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--line);
	display: none;
	flex-direction: column;
	gap: 6px;
}

.tala-gold-breakdown.is-open .tala-gold-breakdown__list {
	display: flex;
}

.tala-gold-breakdown__list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 12px;
	color: var(--muted);
}

.tala-gold-breakdown__list strong {
	font-weight: 400;
	color: var(--muted);
	text-align: left;
	direction: ltr;
	white-space: nowrap;
}

.tala-gold-breakdown__gem {
	display: flex;
}

.tala-gold-breakdown__gem[hidden] {
	display: none !important;
}

.tala-product__summary > .price {
	font-family: "Vazirmatn", sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 24px;
}

.tala-product--gold .tala-product__summary > .price {
	display: none;
}

/* Excerpt */
.tala-product__summary .woocommerce-product-details__short-description {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.75;
	text-align: right;
}

.tala-product__summary .woocommerce-product-details__short-description p {
	margin: 0;
}

/* Weight */
.tala-product__weights {
	margin: 0 0 24px;
}

.tala-product__weights-label {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
	margin-bottom: 8px;
}

.tala-product__weights-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.tala-weight-btn {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 10px 4px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: transparent;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.15s;
	min-width: 0;
}

.tala-weight-btn:hover {
	border-color: var(--ink);
}

.tala-weight-btn.is-active {
	border-color: var(--ink);
}

.tala-weight-btn__bar {
	display: none;
}

.tala-weight-btn__title {
	font-size: 12px;
	font-weight: 500;
	color: var(--ink);
	text-align: center;
}

.tala-weight-btn__sub {
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
}

.tala-weight-btn.is-active .tala-weight-btn__sub {
	color: var(--muted);
	font-weight: 400;
}

/* Engraving — minimal */
.tala-product__engraving {
	margin: 0 0 24px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.tala-product__engraving-head {
	display: block;
	margin-bottom: 8px;
}

.tala-product__engraving-label {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}

.tala-product__engraving-icon {
	display: none;
}

.tala-product__engraving-badge {
	background: none;
	color: var(--gold);
	padding: 0;
	margin-right: 4px;
	border-radius: 0;
	font-size: 12px;
	font-weight: 400;
}

.tala-product__engraving-badge::before {
	content: "(";
}

.tala-product__engraving-badge::after {
	content: ")";
}

.tala-product__engraving-hint {
	display: none;
}

.tala-product__engraving-input {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--ink);
	text-align: right;
	outline: none;
}

.tala-product__engraving-input:focus {
	border-color: var(--ink);
}

/* Cart form — sample: flex-col → sm:flex-row (scoped to product summary only) */
.tala-product-page .tala-product__summary form.cart {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: none !important;
	width: 100%;
}

.tala-product-page .tala-product__summary form.cart .tala-product__weights,
.tala-product-page .tala-product__summary form.cart .tala-product__engraving,
.tala-product-page .tala-product__summary form.cart .variations,
.tala-product-page .tala-product__summary form.cart .woocommerce-variation-add-to-cart,
.tala-product-page .tala-product__summary form.cart .single_variation_wrap {
	width: 100%;
	flex: 1 0 100%;
}

.tala-product-page .tala-product__summary form.cart .variations {
	margin-bottom: 8px;
}

.tala-product-page .tala-product__summary form.cart .variations .tala-variation-row--mirrored {
	display: none;
}

.tala-product-page .tala-product__summary form.cart .quantity {
	margin: 0;
	width: 100%;
}

.tala-product-page .tala-product__summary form.cart .quantity .qty {
	width: 72px;
	height: 48px;
	border: 1px solid var(--line) !important;
	border-radius: 8px !important;
	text-align: center;
	font-weight: 500;
	font-family: inherit;
	background: #fff;
	font-size: 14px;
}

.tala-product-page .tala-product__summary form.cart .single_add_to_cart_button,
.tala-product-page .tala-product__summary form.cart button.button {
	flex: 1 1 auto;
	width: 100%;
	min-height: 48px;
	background: var(--ink) !important;
	color: var(--cream) !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: inherit !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	padding: 12px 20px !important;
	box-shadow: none !important;
	transition: background 0.15s !important;
}

@media (min-width: 640px) {
	.tala-product-page .tala-product__summary form.cart {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.tala-product-page .tala-product__summary form.cart .quantity {
		width: auto;
	}

	.tala-product-page .tala-product__summary form.cart .single_add_to_cart_button,
	.tala-product-page .tala-product__summary form.cart button.button {
		flex: 1 1 200px;
		width: auto;
	}
}

.tala-product-page .tala-product__summary form.cart .single_add_to_cart_button:hover {
	background: rgba(28, 23, 20, 0.9) !important;
	box-shadow: none !important;
}

.tala-product-page .tala-product__summary form.cart .single_add_to_cart_button:active {
	transform: none;
}

/* Express buy — underline link (product page only) */
.tala-product-page .tala-express-buy {
	display: inline-block;
	width: auto;
	flex: 1 0 100%;
	margin: 8px 0 24px;
	min-height: 0;
	padding: 0;
	background: transparent;
	color: var(--ink);
	border: none;
	border-radius: 0;
	font-family: inherit;
	font-weight: 400;
	font-size: 14px;
	text-align: right;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
	transition: color 0.15s;
}

.tala-product-page .tala-express-buy:hover {
	background: transparent;
	color: var(--gold);
}

.tala-product-page .tala-express-buy:active {
	transform: none;
}

/* Trust badges */
.tala-product__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
	margin: 0 0 8px;
	padding: 16px 0 0;
	border-top: 1px solid var(--line);
}

.tala-product__trust-item {
	position: relative;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
	line-height: 1.5;
	padding-right: 12px;
}

.tala-product__trust-item::before {
	content: "";
	position: absolute;
	right: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold);
}

.tala-product__summary .product_meta {
	font-size: 12px;
	color: var(--muted);
	padding-top: 4px;
}

.tala-product__summary .product_meta a {
	color: var(--gold);
	text-decoration: none;
}

/* Qty steppers (sync with WC .qty) — product page only */
.tala-product-page .tala-product__summary form.cart .tala-qty {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	margin: 0;
	width: 100%;
}

@media (min-width: 640px) {
	.tala-product-page .tala-product__summary form.cart .tala-qty {
		width: auto;
	}
}

.tala-product-page .tala-product__summary form.cart .tala-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 48px;
	padding: 0;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
	transition: background 0.15s;
}

.tala-product-page .tala-product__summary form.cart .tala-qty__btn:hover {
	background: var(--cream);
}

.tala-product-page .tala-product__summary form.cart .tala-qty .qty,
.tala-product-page .tala-product__summary form.cart .quantity.tala-qty .qty {
	width: 40px;
	height: 48px;
	border: none !important;
	border-radius: 0 !important;
	background: transparent;
	font-weight: 500;
	font-size: 14px;
	text-align: center;
	-moz-appearance: textfield;
	flex: 1 1 auto;
}

.tala-product-page .tala-product__summary form.cart .tala-qty .qty::-webkit-outer-spin-button,
.tala-product-page .tala-product__summary form.cart .tala-qty .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Gold rate simulator + share chart */
.tala-product__simulator {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin: 64px 0 0;
	padding: 40px 0 0;
	border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
	.tala-product__simulator {
		grid-template-columns: 1.2fr 1fr;
		gap: 48px;
		align-items: start;
	}
}

.tala-product__simulator-title {
	margin: 0 0 12px;
	font-family: "Vazirmatn", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
}

.tala-product__simulator-text {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.75;
}

.tala-product__simulator-card {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}

.tala-product__simulator-rate-label {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--ink);
}

.tala-product__simulator-rate-val {
	font-weight: 600;
	color: var(--gold);
	font-variant-numeric: tabular-nums;
}

.tala-product__simulator-slider {
	width: 100%;
	accent-color: var(--ink);
	cursor: pointer;
}

.tala-product__simulator-hint {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	color: var(--muted);
}

.tala-product__share-chart {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}

.tala-product__share-chart-glow {
	display: none;
}

.tala-product__share-chart-title {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.tala-product__share-rows {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tala-product__share-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
	font-size: 12px;
	color: var(--muted);
}

.tala-product__share-track {
	height: 6px;
	border-radius: 999px;
	background: var(--line);
	overflow: hidden;
}

.tala-product__share-fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--gold);
}

/* Reviews section */
.tala-product__reviews {
	margin-top: 64px;
	padding-top: 56px;
	border-top: 1px solid var(--line);
	max-width: 48rem;
}

.tala-product__reviews-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 24px;
}

.tala-product__reviews-title {
	margin: 0;
	font-family: "Vazirmatn", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
}

.tala-product__reviews-meta {
	font-size: 14px;
	color: var(--muted);
}

.tala-product__reviews #reviews .woocommerce-Reviews-title,
.tala-product__reviews .woocommerce-Reviews-title {
	display: none;
}

/* Tabs — max-w-3xl, minimal */
.tala-product__below {
	margin-top: 80px;
	padding-top: 56px;
	border-top: 1px solid var(--line);
}

.tala-product__below .woocommerce-tabs {
	margin-bottom: 0;
	max-width: 48rem;
}

.tala-product__below .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 32px;
	padding: 0;
	margin: 0 0 24px;
	border: none;
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
	list-style: none;
	background: transparent;
	scrollbar-width: none;
}

.tala-product__below .woocommerce-tabs ul.tabs::-webkit-scrollbar {
	display: none;
}

.tala-product__below .woocommerce-tabs ul.tabs::before,
.tala-product__below .woocommerce-tabs ul.tabs::after {
	display: none !important;
}

.tala-product__below .woocommerce-tabs ul.tabs li {
	border: none !important;
	background: transparent !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

.tala-product__below .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--muted);
	border: none !important;
	border-bottom: 2px solid transparent !important;
	text-decoration: none;
	white-space: nowrap;
	background: transparent !important;
}

.tala-product__below .woocommerce-tabs ul.tabs li.active a,
.tala-product__below .woocommerce-tabs ul.tabs li a:hover {
	color: var(--ink) !important;
	font-weight: 500;
	border-bottom-color: var(--ink) !important;
}

.tala-product__below .woocommerce-Tabs-panel {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.75;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	max-width: 48rem;
}

.tala-product__below .woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

.tala-product__below .woocommerce-Tabs-panel h2,
.tala-product__below .woocommerce-Tabs-panel h4,
.tala-product__below .woocommerce-Tabs-panel h5 {
	font-family: "Vazirmatn", sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 12px;
}

.tala-product__below table.shop_attributes {
	border: none;
	margin: 0;
}

.tala-product__below table.shop_attributes th,
.tala-product__below table.shop_attributes td {
	border-bottom: 1px solid var(--line);
	padding: 12px 0;
	font-size: 14px;
	background: transparent !important;
}

.tala-product__below table.shop_attributes th {
	color: var(--muted);
	font-weight: 400;
	width: 33%;
}

.tala-product__below table.shop_attributes td {
	color: var(--ink);
	font-weight: 500;
}

/* Delivery tab — simplify dark card */
.tala-product__delivery-tab {
	display: block;
}

.tala-product__delivery-card--dark {
	background: transparent;
	color: var(--muted);
	padding: 0;
	border: none;
	border-radius: 0;
	margin-bottom: 12px;
}

.tala-product__delivery-card--dark h5 {
	display: none !important;
}

.tala-product__delivery-card--dark p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.75;
	margin: 0 0 12px;
}

.tala-product__delivery-card--dark ul {
	display: none;
}

.tala-product__delivery-side h5 {
	display: none !important;
}

.tala-product__delivery-side p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.75;
	margin: 0 0 12px;
}

.tala-product__delivery-note {
	display: none;
}

/* Story / specs */
.tala-product__story-tab {
	display: block;
}

.tala-product__story-media {
	display: none;
}

.tala-product__story-title {
	display: none;
}

.tala-product__story-copy .tala-product__eyebrow {
	display: none;
}

.tala-product__story-body {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.75;
}

.tala-product__specs-tab h4 {
	display: none;
}

.tala-product__specs-list--tab,
.tala-product__specs-tab .tala-product__specs-list {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tala-product__specs-item {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	padding: 0 0 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

@media (min-width: 640px) {
	.tala-product__specs-item {
		grid-template-columns: 1fr 2fr;
		gap: 4px 8px;
	}
}

.tala-product__specs-label {
	color: var(--muted);
	font-weight: 400;
}

.tala-product__specs-value {
	color: var(--ink);
	font-weight: 500;
}

.tala-product__specs {
	display: none;
}

/* Related */
.tala-product__below .related.products,
.tala-product__below .upsells.products {
	margin-top: 64px;
	padding-top: 56px;
	border-top: 1px solid var(--line);
	max-width: none;
}

.tala-product__below .related.products > h2,
.tala-product__below .upsells.products > h2 {
	font-family: "Vazirmatn", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 24px;
	text-align: right;
}

.tala-product__below .related ul.products,
.tala-product__below .upsells ul.products {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.tala-product__below .related ul.products,
	.tala-product__below .upsells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tala-product__below .related ul.products li.product,
.tala-product__below .upsells ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	padding: 0 !important;
	box-shadow: none;
	transition: none;
}

.tala-product__below .related ul.products li.product:hover,
.tala-product__below .upsells ul.products li.product:hover {
	box-shadow: none;
}

.tala-product__below .related ul.products li.product a img,
.tala-product__below .upsells ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--cream);
	border-radius: 0;
	margin: 0;
	padding: 24px;
	box-sizing: border-box;
}

.tala-product__below .related .woocommerce-loop-product__title,
.tala-product__below .upsells .woocommerce-loop-product__title {
	font-size: 14px !important;
	font-weight: 500 !important;
	padding: 16px 16px 0 !important;
	color: var(--ink);
	margin: 0 !important;
}

.tala-product__below .related .price,
.tala-product__below .upsells .price {
	padding: 8px 16px 16px;
	color: var(--ink);
	font-weight: 700;
	font-size: 14px;
}

.tala-product__below .related .button,
.tala-product__below .upsells .button {
	margin: 0 16px 16px !important;
	background: transparent !important;
	color: var(--gold) !important;
	border: none !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	padding: 0 !important;
	min-height: 0 !important;
	border-radius: 0 !important;
	text-decoration: none;
}

.tala-product__below .related .button:hover,
.tala-product__below .upsells .button:hover {
	color: var(--ink) !important;
	text-decoration: underline;
}

.tala-product-page .tala-single-product,
.tala-product-page .tala-wc-inner {
	max-width: none;
	padding: 0;
}

/* Reviews panel */
.tala-product__below #reviews,
.tala-product__below .woocommerce-Reviews {
	max-width: 48rem;
}

/* Task 6: small-screen polish (mobile-first overrides already above) */
@media (max-width: 639px) {
	.tala-product__gallery-frame .woocommerce-product-gallery {
		padding: 20px;
	}

	.tala-product__weight-btn__title,
	.tala-weight-btn__title {
		font-size: 11px;
	}

	.tala-weight-btn__sub {
		font-size: 10px;
	}

	.tala-swatch {
		font-size: 11px;
		gap: 4px;
		padding: 10px 2px;
	}

	.tala-product-page .tala-express-buy {
		width: 100%;
		text-align: right;
	}

	.tala-product__below .woocommerce-tabs ul.tabs {
		gap: 20px;
	}

	.tala-product__below {
		margin-top: 56px;
		padding-top: 40px;
	}

	.tala-product__simulator {
		margin-top: 48px;
		padding-top: 32px;
	}

	.tala-product__reviews {
		margin-top: 48px;
		padding-top: 40px;
	}

	.tala-product__below .related.products,
	.tala-product__below .upsells.products {
		margin-top: 48px;
		padding-top: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tala-swatch,
	.tala-weight-btn,
	.tala-product-page .tala-express-buy {
		transition: none;
	}
}
