/* ==========================================================================
   Single product page (mockup layout).
   Desktop ≥1024px: main column (gallery, highlights, tabs) + side column
   (info, buy box, trust row, similar products). Phones: one column in the order
   gallery → info → highlights → tabs → similar.
   ========================================================================== */

.pdp-crumbs {
	padding-block: var(--sp-3);
	font-size: var(--fs-sm);
}

.pdp-crumbs__back {
	display: none;
	align-items: center;
	gap: var(--sp-2);
	min-height: var(--tap);
	font-weight: var(--fw-semibold);
	color: var(--text-secondary);
}

.pdp-crumbs__back .mst-icon {
	width: 18px;
	height: 18px;
}

@media (max-width: 767px) {
	.pdp-crumbs {
		padding-block: 0;
	}
	.pdp-crumbs__full {
		display: none;
	}
	.pdp-crumbs__back {
		display: inline-flex;
	}
}

/* ---- Layout ------------------------------------------------------------ */
.pdp__top {
	display: grid;
	gap: var(--sp-5);
	padding-block: var(--sp-2) var(--sp-8);
}

.pdp-col {
	display: flex;
	flex-direction: column;
	gap: var(--sp-5);
	min-width: 0;
}

@media (min-width: 1024px) {
	.pdp__top {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
		gap: var(--sp-6);
		align-items: start;
		padding-block: var(--sp-3) var(--sp-9);
	}
}

/* Phones & tablets: one column, info right after the photos. */
@media (max-width: 1023px) {
	.pdp-col {
		display: contents;
	}
	.pdp__gallery { order: 1; }
	.pdp__summary { order: 2; }
	.pdp-highlights { order: 3; }
	.pdp__details { order: 4; }
	.pdp-similar { order: 5; }
}

.pdp-card {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	background: linear-gradient(180deg, #111113 0%, #0c0c0d 100%);
}

/* ---- Gallery: big photo + thumbnails column on the outer side ---------- */
.pdp__gallery {
	position: relative;
	min-width: 0;
}

.pdp__badges {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	pointer-events: none;
}

.p-badge--low {
	background: var(--warning);
	color: #111;
}

.woocommerce-product-gallery {
	position: relative;
	display: grid;
	gap: var(--sp-3);
	margin: 0;
	opacity: 1 !important;
}

@media (min-width: 1024px) {
	.woocommerce-product-gallery {
		grid-template-columns: minmax(0, 1fr) 92px;
		align-items: start;
	}
	.woocommerce-product-gallery > .flex-viewport,
	.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		grid-column: 1;
		grid-row: 1;
	}
	.woocommerce-product-gallery .flex-control-thumbs {
		grid-column: 2;
		grid-row: 1;
		grid-template-columns: 1fr !important;
		grid-auto-flow: row !important;
		grid-auto-columns: auto !important;
		max-height: 560px;
		overflow-y: auto;
		margin: 0 !important;
		padding: 0 !important;
	}
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
}

.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f1f1f3 58%, #e4e4e8 100%);
}

.woocommerce-product-gallery__image {
	aspect-ratio: 4 / 3;
}

.woocommerce-product-gallery__image a {
	display: block;
	height: 100%;
	cursor: zoom-in;
}

.woocommerce-product-gallery__image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(12, 12, 13, 0.6);
	color: #fff;
	font-size: 0;
	backdrop-filter: blur(6px);
}

@media (min-width: 1024px) {
	.woocommerce-product-gallery__trigger {
		inset-inline-end: calc(92px + var(--sp-3) + 14px);
	}
}

.woocommerce-product-gallery__trigger::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6.5 6.5M4 20l6.5-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6.5 6.5M4 20l6.5-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-product-gallery__trigger img {
	display: none !important;
}

.flex-control-thumbs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 72px;
	gap: var(--sp-2);
	margin: 0;
	padding: 0 0 2px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.flex-control-thumbs::-webkit-scrollbar {
	display: none;
}

.flex-control-thumbs li {
	overflow: hidden;
	aspect-ratio: 1;
	border: 2px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: #f1f1f3;
	cursor: pointer;
	transition: border-color var(--t-fast);
}

.flex-control-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
	transition: opacity var(--t-fast);
}

.flex-control-thumbs img.flex-active,
.flex-control-thumbs li:hover img {
	opacity: 1;
}

.flex-control-thumbs li:has(.flex-active) {
	border-color: var(--gold-500);
	box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.2);
}

/* ---- Highlight tiles under the gallery -------------------------------- */
.pdp-highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.pdp-highlights {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.pdp-highlights li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: var(--sp-4) var(--sp-3);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: linear-gradient(180deg, #121214, #0d0d0e);
	text-align: center;
}

.pdp-highlights__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 2px;
	color: var(--gold-400);
}

.pdp-highlights__icon .mst-icon {
	width: 34px;
	height: 34px;
	stroke-width: 1.4;
}

.pdp-highlights b {
	font-size: var(--fs-base);
}

.pdp-highlights span:not(.pdp-highlights__icon) {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12.5px;
	line-height: 1.5;
	color: #a1a1aa;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ---- Info panel -------------------------------------------------------- */
.pdp__summary {
	display: flex;
	flex-direction: column;
	gap: var(--sp-4);
	min-width: 0;
}

.pdp__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
}

.brand-pill--solid {
	border: 0;
	background: #e11d2a;
	color: #fff;
	letter-spacing: 0.02em;
	text-transform: none;
	font-size: 13px;
}

a.brand-pill--solid:hover {
	background: #c8101d;
	color: #fff;
}

.p-badge--new-soft {
	background: rgba(225, 29, 42, 0.16);
	color: #ff6b75;
	box-shadow: none;
}

.pdp__sku {
	margin-inline-start: auto;
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.pdp__title {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	line-height: 1.25;
}

.pdp__title-main {
	font-family: var(--font-en-head);
	font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
	font-weight: var(--fw-bold);
	color: #fff;
}

.pdp__title-sub {
	font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
	font-weight: var(--fw-bold);
	color: #e4e4e7;
}

.pdp__rating {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.pdp__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: #c4c4c8;
}

/* Spec grid: 4 × 2 on desktop, 2 columns on phones */
.key-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.key-specs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.key-specs li {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.025);
}

.key-specs .mst-icon {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	color: #e4e4e7;
	stroke-width: 1.4;
}

.key-specs span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.key-specs small {
	overflow: hidden;
	font-size: 12px;
	color: #a1a1aa;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 1.4;
}

.key-specs b {
	overflow: hidden;
	font-size: 13.5px;
	font-weight: var(--fw-bold);
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: start;
}

/* Price row */
.pdp__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2) var(--sp-4);
	padding-top: var(--sp-1);
}

.pdp__price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px var(--sp-3);
}

.pdp__price ins,
.pdp__price > .woocommerce-Price-amount {
	order: -1;
	font-family: var(--font-en-head);
	font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
	font-weight: var(--fw-black);
	line-height: 1.1;
	color: var(--gold-400);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.pdp__price del {
	font-family: var(--font-en-head);
	font-size: 17px;
	color: #71717a;
}

.pdp__price del .amount {
	color: #71717a;
}

.pdp__price .woocommerce-Price-currencySymbol {
	font-size: 0.6em;
	margin-inline: 4px;
}

.pdp__off {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border-radius: 10px;
	background: #e5383b;
	color: #fff;
	font-family: var(--font-en-head);
	font-weight: var(--fw-black);
}

.pdp__stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--success);
}

.pdp__stock .mst-icon {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
}

.pdp__stock--low {
	color: var(--warning);
}

.pdp__stock--out {
	color: var(--danger-text);
}

.pdp__saving,
.pdp__installments {
	margin: -8px 0 0;
	font-size: var(--fs-sm);
	color: var(--success);
}

.pdp__installments {
	color: var(--text-secondary);
}

.pdp__ask {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pdp__ask-title {
	font-size: 1.75rem;
	font-weight: var(--fw-black);
	color: var(--gold-400);
}

.pdp__ask-text {
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

/* Buy box: [qty][Add to cart][Buy now] then [WhatsApp][♡][share] */
.pdp__buy {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-3);
}

.pdp__buy form.cart,
.pdp__buy .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin: 0;
}

.pdp__buy .single_add_to_cart_button,
.pdp__buy .mstt-buy-now {
	--btn-h: 56px;
	flex: 1 1 0;
	min-width: 0;
	border-radius: 12px;
	font-size: 17px;
	font-weight: var(--fw-black);
}

.pdp__buy .single_add_to_cart_button {
	background: linear-gradient(180deg, #f7d469 0%, #e6b53a 55%, #d4a12a 100%) !important;
	color: #17130a !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px rgba(var(--gold-rgb), 0.22);
}

.pdp__buy .single_add_to_cart_button::before {
	content: "";
	width: 22px;
	height: 22px;
	margin-inline-end: 8px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='17.5' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.6 1.6 0 0 0 1.6 1.3h8.4a1.6 1.6 0 0 0 1.6-1.2l1.6-6.8H6.2M13 9.5v4M11 11.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='17.5' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.6 1.6 0 0 0 1.6 1.3h8.4a1.6 1.6 0 0 0 1.6-1.2l1.6-6.8H6.2M13 9.5v4M11 11.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pdp__buy .single_add_to_cart_button.is-loading::before {
	position: absolute;
	width: 20px;
	height: 20px;
	margin: 0;
	background: none;
	-webkit-mask: none;
	mask: none;
	border: 2px solid #17130a;
	border-color: #17130a transparent #17130a transparent;
	border-radius: 50%;
	animation: mst-spin 700ms linear infinite;
}

.pdp__buy .mstt-buy-now {
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	background: #fafafa;
	color: #0b0b0c;
}

.pdp__buy .mstt-buy-now:hover {
	background: #fff;
	box-shadow: 0 10px 26px rgba(255, 255, 255, 0.12);
}

.pdp__buy .quantity {
	height: 56px;
	border-radius: 12px;
}

@media (max-width: 599px) {
	.pdp__buy .single_add_to_cart_button,
	.pdp__buy .mstt-buy-now {
		--btn-h: 52px;
		font-size: 16px;
	}
	.pdp__buy .quantity {
		height: 52px;
	}
	.pdp__buy .mstt-buy-now {
		flex-basis: 100%;
		order: 3;
	}
}

.pdp__wa-row {
	display: flex;
	gap: var(--sp-2);
}

.pdp__wa-btn {
	display: inline-flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	height: 54px;
	padding: 0 var(--sp-4);
	border: 1.5px solid #25d366;
	border-radius: 12px;
	background: linear-gradient(180deg, #1aa34a 0%, #128c3e 100%);
	color: #fff;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: var(--fw-black);
	box-shadow: 0 10px 24px rgba(37, 211, 102, 0.16);
	transition: filter var(--t-fast), box-shadow var(--t-fast);
}

.pdp__wa-btn:hover {
	color: #fff;
	filter: brightness(1.08);
	box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
}

.pdp__wa-btn .mst-icon {
	width: 24px;
	height: 24px;
}

.pdp__wa-btn span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pdp__icon-btn {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: #e4e4e7;
	transition: border-color var(--t-fast), color var(--t-fast);
}

.pdp__icon-btn:hover {
	border-color: rgba(var(--gold-rgb), 0.6);
	color: var(--gold-400);
}

.pdp__icon-btn .mst-icon {
	width: 22px;
	height: 22px;
}

.pdp__icon-btn.is-active {
	color: #ff4d6d;
}

.pdp__icon-btn.is-active .mst-icon {
	fill: currentColor;
}

.pdp__oos {
	margin: 0;
	padding: var(--sp-3) var(--sp-4);
	border-radius: var(--r-md);
	background: rgba(231, 76, 60, 0.1);
	color: var(--danger-text);
	font-size: var(--fs-sm);
}

/* Variations (buttons instead of dropdowns) */
.pdp__buy .variations_form {
	display: grid !important;
	gap: var(--sp-4);
}

.pdp__buy table.variations {
	width: 100%;
	margin: 0;
	border: 0;
}

.pdp__buy table.variations tr {
	display: grid;
	gap: var(--sp-2);
	margin-bottom: var(--sp-3);
}

.pdp__buy table.variations th,
.pdp__buy table.variations td {
	padding: 0;
	border: 0;
	background: none;
	text-align: start;
}

.pdp__buy table.variations label {
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--text-secondary);
}

.pdp__buy select.is-swatched {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.swatches--text {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.swatches--text .swatch {
	min-width: 64px;
	min-height: var(--tap);
	padding: 0 var(--sp-4);
	border: 1px solid var(--black-500);
	border-radius: var(--r-btn);
	background: var(--surface-1);
	color: var(--text-primary);
	font-weight: var(--fw-semibold);
}

.swatches--text .swatch[aria-pressed="true"] {
	border-color: var(--gold-500);
	box-shadow: inset 0 0 0 1px var(--gold-500);
	color: var(--gold-400);
}

.swatches--text .swatch.is-unavailable {
	opacity: 0.4;
	text-decoration: line-through;
	cursor: not-allowed;
}

.pdp__buy .reset_variations {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

/* Trust row: 5 items with dividers */
.pdp-trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-4) 0;
	margin: var(--sp-2) 0 0;
	padding: var(--sp-5) 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	list-style: none;
}

@media (min-width: 600px) {
	.pdp-trust {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	.pdp-trust li + li {
		border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
	}
}

.pdp-trust li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 0 var(--sp-2);
	text-align: center;
}

.pdp-trust .mst-icon {
	width: 30px;
	height: 30px;
	margin-bottom: 4px;
	color: var(--gold-400);
	stroke-width: 1.4;
}

.pdp-trust b {
	font-size: 13.5px;
	line-height: 1.35;
}

.pdp-trust span {
	font-size: 11.5px;
	line-height: 1.45;
	color: #a1a1aa;
}

.pdp-trust a {
	color: #a1a1aa;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---- Similar products (side column) ------------------------------------ */
.pdp-similar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	margin-bottom: var(--sp-3);
}

.pdp-similar__head h2 {
	margin: 0;
	font-size: var(--fs-h4);
}

.pdp-similar__end {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}

.pdp-similar__end .icon-btn {
	width: 36px;
	height: 36px;
}

.pdp-similar__rail {
	margin-inline: 0;
}

.pdp-similar__rail ul.mini-cards {
	grid-auto-columns: calc((100% - var(--sp-3) * 3) / 4);
	gap: var(--sp-3);
	padding: 2px 0 var(--sp-2);
}

@media (max-width: 1023px) {
	.pdp-similar__rail ul.mini-cards {
		grid-auto-columns: 42%;
	}
}

@media (min-width: 600px) and (max-width: 1023px) {
	.pdp-similar__rail ul.mini-cards {
		grid-auto-columns: 26%;
	}
}

.mini-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: linear-gradient(180deg, #121214, #0c0c0d);
}

.mini-card__img {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f1f1f3;
}

.mini-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mini-card__wish {
	position: absolute;
	top: 6px;
	inset-inline-start: 6px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(12, 12, 13, 0.55);
	color: #fff;
}

.mini-card__wish .mst-icon {
	width: 16px;
	height: 16px;
}

.mini-card__wish.is-active {
	color: #ff4d6d;
}

.mini-card__wish.is-active .mst-icon {
	fill: currentColor;
}

.mini-card__name {
	display: block;
	overflow: hidden;
	padding: 10px 10px 0;
	font-family: var(--font-en-head);
	font-size: 13px;
	font-weight: var(--fw-semibold);
	color: #e4e4e7;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mini-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 6px 10px 10px;
}

.mini-card__price {
	overflow: hidden;
	font-family: var(--font-en-head);
	font-size: 14px;
	font-weight: var(--fw-black);
	color: var(--gold-400);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mini-card__price .woocommerce-Price-currencySymbol {
	font-size: 0.7em;
}

.mini-card__cart {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1.5px solid rgba(var(--gold-rgb), 0.7);
	border-radius: 9px;
	color: var(--gold-400);
}

.mini-card__cart:hover {
	background: rgba(var(--gold-rgb), 0.12);
}

.mini-card__cart .mst-icon {
	width: 18px;
	height: 18px;
}

.mini-card__cart.loading {
	opacity: 0.5;
}

/* ---- Details: tabs (≥768px) / accordions (phones) ---------------------- */
.pdp__details {
	padding-bottom: var(--sp-9);
}

.pdp-tabs__list {
	display: none;
	gap: var(--sp-6);
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
	scrollbar-width: none;
}

.pdp-tabs__tab {
	position: relative;
	min-height: 52px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--text-secondary);
	font-family: var(--font-head);
	font-size: var(--fs-lg);
	font-weight: var(--fw-bold);
	white-space: nowrap;
}

.pdp-tabs__tab[aria-selected="true"] {
	color: var(--text-primary);
}

.pdp-tabs__tab[aria-selected="true"]::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 2px;
	background: var(--gold-gradient);
}

.pdp-panel__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 56px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	color: var(--text-primary);
	font-family: var(--font-head);
	font-size: var(--fs-base);
	font-weight: var(--fw-bold);
	text-align: start;
}

.pdp-panel__toggle .mst-icon {
	width: 20px;
	height: 20px;
	color: var(--text-muted);
	transition: transform var(--t-fast) var(--ease);
}

.pdp-panel.is-open .pdp-panel__toggle .mst-icon {
	transform: rotate(180deg);
}

.pdp-panel__body {
	padding-block: var(--sp-4) var(--sp-5);
}

@media (min-width: 768px) {
	.pdp-tabs__list {
		display: flex;
	}
	.pdp-panel__toggle {
		display: none;
	}
	.pdp-panel__body {
		max-width: 960px;
		padding-block: var(--sp-6) 0;
	}
}

/* Grouped specifications */
.spec-groups {
	display: grid;
	gap: var(--sp-5);
}

@media (min-width: 1024px) {
	.spec-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
}

.spec-group__title {
	position: sticky;
	top: calc(var(--header-h) - 12px);
	z-index: 2;
	margin: 0;
	padding: var(--sp-2) var(--sp-4);
	border-radius: var(--r-md) var(--r-md) 0 0;
	background: var(--surface-2);
	font-size: var(--fs-sm);
	font-weight: var(--fw-bold);
	color: var(--gold-400);
}

@media (min-width: 1024px) {
	.spec-group__title {
		position: static;
	}
}

.spec-table {
	width: 100%;
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 var(--r-md) var(--r-md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: var(--fs-sm);
}

.spec-table tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.025);
}

.spec-table th,
.spec-table td {
	padding: var(--sp-3) var(--sp-4);
	border: 0;
	text-align: start;
	vertical-align: top;
	line-height: 1.5;
}

.spec-table th {
	width: 38%;
	font-weight: var(--fw-semibold);
	color: var(--text-secondary);
}

.spec-table td {
	direction: ltr;
	text-align: left;
	color: var(--text-primary);
}

.pdp__shipping {
	display: grid;
	gap: var(--sp-4);
}

@media (min-width: 768px) {
	.pdp__shipping {
		grid-template-columns: repeat(3, 1fr);
	}
}

.mst-delivery {
	display: flex;
	gap: var(--sp-3);
	padding: var(--sp-5);
	border: var(--border);
	border-radius: var(--r-card);
	background: var(--black-700);
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.mst-delivery > .mst-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: var(--gold-500);
}

.mst-delivery strong {
	display: block;
	margin-bottom: var(--sp-2);
	color: var(--text-primary);
	font-size: var(--fs-base);
}

.mst-delivery ul {
	margin: 0 0 var(--sp-2);
	padding-inline-start: 1.1em;
}

/* Reviews */
.rating-summary {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-5) var(--sp-8);
	align-items: center;
	margin-bottom: var(--sp-6);
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface-1);
}

.rating-summary__avg {
	display: grid;
	justify-items: center;
	gap: 4px;
}

.rating-summary__avg b {
	font-family: var(--font-en-head);
	font-size: 2.5rem;
	line-height: 1;
}

.rating-summary__avg small {
	color: var(--text-muted);
}

.rating-summary__bars {
	flex: 1;
	min-width: 220px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-xs);
	color: var(--text-secondary);
}

.rating-summary__bars li {
	display: grid;
	grid-template-columns: 28px 1fr 28px;
	gap: var(--sp-2);
	align-items: center;
	margin-bottom: 6px;
}

.rating-summary__bar {
	height: 6px;
	border-radius: var(--r-pill);
	background: var(--black-600);
	overflow: hidden;
}

.rating-summary__bar span {
	display: block;
	height: 100%;
	background: var(--gold-gradient);
}

.reviews-first {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0 0 var(--sp-4);
	font-weight: var(--fw-bold);
}

.reviews-first .mst-icon {
	color: var(--gold-500);
}

#reviews .woocommerce-Reviews-title,
#reply-title {
	font-size: var(--fs-h4);
}

#reviews .woocommerce-noreviews {
	display: none;
}

#reviews .commentlist {
	margin: 0 0 var(--sp-6);
	padding: 0;
	list-style: none;
}

#reviews .commentlist li {
	padding: var(--sp-4);
	margin-bottom: var(--sp-3);
	border: var(--border);
	border-radius: var(--r-md);
	background: var(--black-700);
}

#reviews .commentlist img.avatar {
	float: inline-start;
	width: 44px;
	height: 44px;
	margin-inline-end: var(--sp-3);
	border-radius: 50%;
}

#review_form_wrapper {
	padding: var(--sp-5);
	border: var(--border);
	border-radius: var(--r-card);
	background: var(--black-700);
}

#review_form .comment-form > p {
	margin-bottom: var(--sp-4);
}

#review_form label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
}

p.stars {
	margin: 0;
}

p.stars span {
	display: inline-flex;
	gap: 4px;
	direction: ltr;
}

p.stars a {
	position: relative;
	width: 28px;
	height: 28px;
	font-size: 0;
	background: var(--black-600);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

p.stars:hover a,
p.stars.selected a {
	background: var(--gold-500);
}

p.stars a:hover ~ a,
p.stars.selected a.active ~ a {
	background: var(--black-600);
}

/* ---- Rails (cross-sells, related, recently viewed) --------------------- */
.pdp__rail {
	padding-block: var(--sp-8);
}

.rail-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-4);
}

.rail-head .section-head {
	margin-bottom: var(--sp-5);
}

.rail-head .carousel-nav {
	margin-bottom: var(--sp-5);
}

@media (max-width: 767px) {
	.rail-head .carousel-nav {
		display: none;
	}
	.pdp__rail ul.carousel__track {
		grid-auto-columns: 44%;
		gap: var(--sp-3);
	}
}

/* ---- Sticky buy bar (phones & tablets) --------------------------------- */
.sticky-buy {
	position: fixed;
	inset-inline: 0;
	bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
	z-index: calc(var(--z-bottom-nav) - 1);
	border-top: 1px solid var(--line);
	background: rgba(13, 13, 13, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
	transform: translateY(calc(100% + var(--bottom-nav-h) + 20px));
	transition: transform var(--t-base) var(--ease-out);
}

.sticky-buy.is-visible {
	transform: none;
}

@media (min-width: 1024px) {
	.sticky-buy {
		display: none;
	}
}

.sticky-buy__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	min-height: 68px;
}

.sticky-buy__img {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: var(--r-sm);
	background: var(--well);
	object-fit: contain;
}

.sticky-buy__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin-inline-end: auto;
}

.sticky-buy__name {
	overflow: hidden;
	font-size: var(--fs-xs);
	color: var(--text-secondary);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sticky-buy .price {
	font-size: var(--fs-base);
	flex-wrap: nowrap;
}

.sticky-buy .price del {
	display: none;
}

.sticky-buy .btn {
	--btn-h: 44px;
	flex-shrink: 0;
	padding: 0 var(--sp-3);
	font-size: var(--fs-sm);
}

@media (max-width: 599px) {
	.hide-xs {
		display: none;
	}
	.sticky-buy__img {
		display: none;
	}
}

body.has-sticky-buy .wa-float {
	bottom: calc(var(--bottom-nav-h) + 68px + var(--sp-4) + env(safe-area-inset-bottom));
}

body.has-sticky-buy .toast-region {
	bottom: calc(var(--bottom-nav-h) + 68px + var(--sp-4));
}

/* Tabs live in a card in the main column now. */
.pdp__details.pdp-card {
	padding: var(--sp-2) var(--sp-5) var(--sp-5);
}

@media (max-width: 767px) {
	.pdp__details.pdp-card {
		padding: 0 var(--sp-4) var(--sp-2);
	}
}

.pdp__details .pdp-tabs__list {
	justify-content: flex-start;
	gap: var(--sp-5);
}

.pdp__details .pdp-tabs__tab {
	font-size: var(--fs-base);
}

.pdp__details .pdp-panel__body {
	max-width: none;
}

.pdp__details .spec-groups {
	grid-template-columns: 1fr;
}
