/**
 * FlexiDesignX — Single Product Page (Shopee-style)
 *
 * @package FlexiDesignX
 * @since   1.0.0
 */

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.fdx-breadcrumb {
	font-size: var(--fdx-font-size-xs);
	color: var(--fdx-grey-500);
	padding: 0.75rem 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fdx-breadcrumb a {
	color: var(--fdx-info);
	text-decoration: none;
}

.fdx-breadcrumb a:hover {
	text-decoration: underline;
}

.fdx-breadcrumb__sep {
	margin: 0 0.375rem;
	color: var(--fdx-grey-300);
}

.fdx-breadcrumb__current {
	color: var(--fdx-grey-700);
}

/* ==========================================================================
   PDP — Main Layout (Gallery + Info)
   ========================================================================== */

.fdx-single-product {
	background: var(--fdx-grey-50);
	padding-bottom: 2rem;
}

.fdx-pdp {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: var(--fdx-white);
	border-radius: var(--fdx-radius-md);
	box-shadow: var(--fdx-shadow-sm);
	overflow: hidden;
}

/* ==========================================================================
   Gallery (Left)
   ========================================================================== */

.fdx-pdp__gallery {
	width: 100%;
}

.fdx-pdp__main-image {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--fdx-grey-100);
	overflow: hidden;
}

.fdx-pdp__img,
.fdx-pdp__main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Image zoom on hover */
.fdx-pdp__main-image {
	cursor: zoom-in;
}

.fdx-pdp__main-image img {
	transition: transform 0.15s ease;
}

.fdx-pdp__img-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--fdx-grey-100), var(--fdx-grey-200));
	display: flex;
	align-items: center;
	justify-content: center;
}

.fdx-pdp__img-placeholder::after {
	content: '\1FA91';
	font-size: 5rem;
	opacity: 0.2;
}

.fdx-pdp__discount-badge {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--fdx-error);
	color: var(--fdx-white);
	font-size: var(--fdx-font-size-sm);
	font-weight: 700;
	padding: 0.375rem 0.75rem;
}

/* Thumbnails */
.fdx-pdp__thumbnails {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem;
	overflow-x: auto;
}

.fdx-pdp__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border: 2px solid var(--fdx-grey-200);
	border-radius: var(--fdx-radius-sm);
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	background: none;
	transition: border-color 0.2s;
}

.fdx-pdp__thumb--active {
	border-color: var(--fdx-accent);
}

.fdx-pdp__thumb:hover {
	border-color: var(--fdx-accent);
}

.fdx-pdp__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   Product Info (Right)
   ========================================================================== */

.fdx-pdp__info {
	padding: 1rem;
}

/* Title */
.fdx-pdp__title {
	font-size: var(--fdx-font-size-lg);
	font-weight: 500;
	color: var(--fdx-grey-900);
	line-height: 1.4;
	margin: 0 0 0.75rem;
}

/* Meta row — ratings, sold */
.fdx-pdp__meta-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--fdx-font-size-sm);
	color: var(--fdx-grey-500);
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--fdx-grey-100);
	flex-wrap: wrap;
}

.fdx-pdp__meta-sep {
	color: var(--fdx-grey-300);
}

.fdx-pdp__rating {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.fdx-pdp__stars {
	display: flex;
	gap: 1px;
}

.fdx-pdp__star {
	color: var(--fdx-grey-300);
	font-size: 0.875rem;
}

.fdx-pdp__star--filled {
	color: #FBBF24;
}

.fdx-pdp__rating-num {
	color: var(--fdx-accent);
	font-weight: 600;
	text-decoration: underline;
}

.fdx-pdp__rating-count {
	text-decoration: underline;
}

.fdx-pdp__sold {
	/* default styling */
}

.fdx-pdp__no-rating {
	color: var(--fdx-grey-500);
}

/* ==========================================================================
   Sale Banner (Shopee countdown bar)
   ========================================================================== */

.fdx-pdp__sale-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(90deg, #FFECD2 0%, #FFE0CC 100%);
	border-radius: var(--fdx-radius-md);
	padding: 0.625rem 1rem;
	margin: 0.75rem 0;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.fdx-pdp__sale-banner-left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--fdx-font-size-sm);
	font-weight: 500;
	color: var(--fdx-grey-900);
}

.fdx-pdp__sale-badge-label {
	background: var(--fdx-accent);
	color: var(--fdx-white);
	font-size: var(--fdx-font-size-xs);
	font-weight: 800;
	padding: 0.125rem 0.5rem;
	border-radius: var(--fdx-radius-sm);
}

.fdx-pdp__sale-banner-right {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: var(--fdx-font-size-xs);
	font-weight: 600;
	color: var(--fdx-grey-700);
}

.fdx-pdp__sale-clock {
	font-size: 0.875rem;
}

.fdx-pdp__countdown {
	display: flex;
	gap: 0.25rem;
}

.fdx-pdp__countdown-unit {
	background: #1E293B;
	color: var(--fdx-white);
	font-size: var(--fdx-font-size-xs);
	font-weight: 700;
	padding: 0.125rem 0.375rem;
	border-radius: 3px;
	font-variant-numeric: tabular-nums;
	min-width: 26px;
	text-align: center;
}

/* ==========================================================================
   Price Block
   ========================================================================== */

.fdx-pdp__price-block {
	display: flex;
	align-items: baseline;
	gap: 0.625rem;
	padding: 1rem 0;
	background: var(--fdx-grey-50);
	margin: 0 -1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	flex-wrap: wrap;
}

.fdx-pdp__price-current {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--fdx-accent);
}

/* Price discount badge uses gold for visibility */

.fdx-pdp__price-current .woocommerce-Price-currencySymbol {
	font-size: 0.65em;
}

.fdx-pdp__price-original {
	font-size: var(--fdx-font-size-base);
	color: var(--fdx-grey-500);
	text-decoration: line-through;
}

.fdx-pdp__price-discount {
	font-size: var(--fdx-font-size-sm);
	font-weight: 700;
	color: var(--fdx-white);
	background: var(--fdx-accent);
	padding: 0.125rem 0.5rem;
	border-radius: var(--fdx-radius-sm);
}

/* ==========================================================================
   Info Rows (Shipping, Guarantee, etc.)
   ========================================================================== */

/* ==========================================================================
   Variation Selectors — Shopee-style buttons
   ========================================================================== */

.fdx-pdp__variations {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--fdx-grey-100);
}

.fdx-pdp__variation-group {
	margin-bottom: 0.75rem;
}

.fdx-pdp__variation-group:last-child {
	margin-bottom: 0;
}

.fdx-pdp__selected-value {
	font-size: var(--fdx-font-size-sm);
	color: var(--fdx-grey-900);
	font-weight: 500;
}

.fdx-pdp__variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.fdx-pdp__var-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1.5px solid var(--fdx-grey-200);
	border-radius: var(--fdx-radius-sm);
	background: var(--fdx-white);
	font-size: var(--fdx-font-size-sm);
	color: var(--fdx-grey-900);
	cursor: pointer;
	transition: all 0.15s ease;
	-webkit-tap-highlight-color: transparent;
	position: relative;
}

.fdx-pdp__var-btn:hover {
	border-color: var(--fdx-accent);
	color: var(--fdx-accent);
}

.fdx-pdp__var-btn--active {
	border-color: var(--fdx-accent);
	color: var(--fdx-accent);
	background: var(--fdx-accent-light);
}

/* Active checkmark (Shopee-style corner tick) */
.fdx-pdp__var-btn--active::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 18px 18px;
	border-color: transparent transparent var(--fdx-accent) transparent;
}

.fdx-pdp__var-btn--active::before {
	content: '\2713';
	position: absolute;
	bottom: 0;
	right: 1px;
	font-size: 9px;
	color: var(--fdx-white);
	z-index: 1;
	line-height: 1;
}

.fdx-pdp__var-btn--disabled {
	opacity: 0.4;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* Color swatch variation buttons */
.fdx-pdp__var-btn--color {
	padding-left: 0.625rem;
}

.fdx-pdp__color-swatch {
	display: inline-block;
	width: 24px;
	height: 24px;
	border-radius: var(--fdx-radius-sm);
	border: 1px solid rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.fdx-pdp__var-label {
	white-space: nowrap;
}

/* Hide default WooCommerce variation form (we use our own) */
.fdx-pdp__variations .variations_form,
.fdx-pdp__variations .variations,
.fdx-pdp__variations .single_variation_wrap {
	display: none;
}

.fdx-pdp__info-rows {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--fdx-grey-100);
}

.fdx-pdp__info-row {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 0.5rem 0;
	font-size: var(--fdx-font-size-sm);
}

.fdx-pdp__info-label {
	flex: 0 0 90px;
	color: var(--fdx-grey-500);
	font-size: var(--fdx-font-size-sm);
}

.fdx-pdp__info-value {
	color: var(--fdx-grey-900);
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.fdx-pdp__shipping-icon {
	font-size: 1rem;
}

/* ==========================================================================
   Quantity Row
   ========================================================================== */

.fdx-pdp__quantity-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--fdx-grey-100);
	flex-wrap: wrap;
}

.fdx-pdp__qty-control {
	display: flex;
	align-items: center;
	border: 1px solid var(--fdx-grey-300);
	border-radius: 2px;
	overflow: hidden;
}

.fdx-pdp__qty-btn {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: var(--fdx-grey-50);
	font-size: 1rem;
	color: var(--fdx-grey-700);
	cursor: pointer;
	transition: background 0.15s;
	padding: 0;
}

.fdx-pdp__qty-btn:hover {
	background: var(--fdx-grey-200);
}

.fdx-pdp__qty-input {
	width: 50px;
	height: 36px;
	border: none;
	border-left: 1px solid var(--fdx-grey-300);
	border-right: 1px solid var(--fdx-grey-300);
	text-align: center;
	font-size: var(--fdx-font-size-base);
	font-weight: 500;
	color: var(--fdx-grey-900);
	outline: none;
	-moz-appearance: textfield;
}

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

.fdx-pdp__stock {
	font-size: var(--fdx-font-size-sm);
}

.fdx-pdp__stock--in {
	color: var(--fdx-grey-500);
}

.fdx-pdp__stock--out {
	color: var(--fdx-error);
	font-weight: 600;
}

/* ==========================================================================
   Action Buttons — Add to Cart + Buy Now (Shopee-style compact)
   ========================================================================== */

.fdx-pdp__actions {
	display: flex;
	gap: 0.75rem;
	padding: 1.25rem 0 0.75rem;
}

.fdx-pdp__add-to-cart {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 54px;
	padding: 0 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border: 2px solid var(--fdx-accent);
	background: #fff;
	color: var(--fdx-accent);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s;
	-webkit-tap-highlight-color: transparent;
}

.fdx-pdp__add-to-cart:hover {
	background: var(--fdx-accent);
	color: var(--fdx-white);
	box-shadow: 0 4px 14px rgba(26,26,26,0.2);
}

.fdx-pdp__add-to-cart--disabled {
	border-color: var(--fdx-grey-300);
	background: var(--fdx-grey-100);
	color: var(--fdx-grey-500);
	cursor: not-allowed;
}

.fdx-pdp__btn-icon {
	font-size: 1.25rem;
}

.fdx-pdp__buy-now {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 54px;
	padding: 0 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	background: var(--fdx-gold);
	color: var(--fdx-accent);
	border: 2px solid var(--fdx-gold);
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s;
	-webkit-tap-highlight-color: transparent;
}

.fdx-pdp__buy-now:hover {
	background: var(--fdx-gold-hover);
	color: var(--fdx-accent);
	box-shadow: 0 4px 14px rgba(196,168,130,0.3);
}

.fdx-pdp__buy-now-price {
	font-size: var(--fdx-font-size-sm);
	font-weight: 800;
}

/* Kill WooCommerce zoom overlay — we use our own CSS zoom */
.fdx-pdp__main-image .zoomImg,
.fdx-pdp__main-image img:not(.fdx-pdp__img) {
	display: none !important;
}
.fdx-pdp__main-image {
	overflow: hidden;
	cursor: crosshair;
}

/* Hide WC "View cart" link in actions — we use toast instead */
.fdx-pdp__actions .added_to_cart,
.fdx-pdp__actions .wc-forward,
.fdx-pdp .added_to_cart.wc-forward,
a.added_to_cart.wc-forward {
	display: none !important;
}

/* GrabPay on PDP */
.fdx-pdp__price + .fdx-grabpay {
	margin-top: 0.5rem;
	font-size: 0.85rem;
}
.fdx-pdp__price + .fdx-grabpay .fdx-grabpay__logo { height: 18px; }

/* ==========================================================================
   Share + Favourite Row
   ========================================================================== */

.fdx-pdp__share-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.75rem;
	border-top: 1px solid var(--fdx-grey-100);
}

.fdx-pdp__share {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.fdx-pdp__share-label {
	font-size: var(--fdx-font-size-sm);
	color: var(--fdx-grey-500);
}

.fdx-pdp__share-icon {
	font-size: 1.25rem;
	text-decoration: none;
	transition: transform 0.2s;
}

.fdx-pdp__share-icon:hover {
	transform: scale(1.15);
}

.fdx-pdp__favorite {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	background: none;
	border: none;
	color: var(--fdx-grey-500);
	font-size: var(--fdx-font-size-sm);
	cursor: pointer;
	padding: 0.375rem 0.75rem;
	border-radius: var(--fdx-radius-full);
	transition: all 0.2s;
}

.fdx-pdp__favorite:hover {
	color: var(--fdx-error);
	background: #FEF2F2;
}

.fdx-pdp__favorite--active {
	color: var(--fdx-error);
}

.fdx-pdp__fav-icon {
	font-size: 1.25rem;
}

/* ==========================================================================
   Seller Section (Shopee shop info bar)
   ========================================================================== */

.fdx-seller {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: var(--fdx-white);
	border-radius: var(--fdx-radius-md);
	box-shadow: var(--fdx-shadow-sm);
	padding: 1.25rem;
	margin-top: 1rem;
}

.fdx-seller__left {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.fdx-seller__avatar {
	width: 56px;
	height: 56px;
	border-radius: var(--fdx-radius-md);
	background: linear-gradient(135deg, var(--fdx-accent), #a08478);
	color: var(--fdx-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: var(--fdx-font-size-sm);
	flex-shrink: 0;
}

.fdx-seller__name {
	font-size: var(--fdx-font-size-base);
	font-weight: 600;
	margin: 0;
	color: var(--fdx-grey-900);
}

.fdx-seller__status {
	font-size: var(--fdx-font-size-xs);
	color: var(--fdx-grey-500);
	display: block;
	margin-top: 0.125rem;
}

.fdx-seller__buttons {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.fdx-seller__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.875rem;
	font-size: var(--fdx-font-size-xs);
	font-weight: 600;
	border: 1.5px solid var(--fdx-grey-300);
	border-radius: var(--fdx-radius-sm);
	text-decoration: none;
	color: var(--fdx-grey-700);
	background: var(--fdx-white);
	transition: all 0.2s;
}

.fdx-seller__btn:hover {
	border-color: var(--fdx-grey-500);
	color: var(--fdx-grey-900);
}

.fdx-seller__btn--chat {
	border-color: var(--fdx-gold);
	color: var(--fdx-accent);
	background: var(--fdx-gold-light);
}

.fdx-seller__btn--chat:hover {
	background: var(--fdx-gold);
	color: var(--fdx-accent);
}

.fdx-seller__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--fdx-grey-100);
}

.fdx-seller__stat {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.fdx-seller__stat-label {
	font-size: var(--fdx-font-size-xs);
	color: var(--fdx-grey-500);
}

.fdx-seller__stat-value {
	font-size: var(--fdx-font-size-sm);
	font-weight: 500;
	color: var(--fdx-grey-900);
}

.fdx-seller__stat-value--accent {
	color: var(--fdx-accent);
}

/* ==========================================================================
   Product Tabs (Description, Specs, Reviews)
   ========================================================================== */

.fdx-product-tabs {
	background: var(--fdx-white);
	border-radius: var(--fdx-radius-md);
	box-shadow: var(--fdx-shadow-sm);
	margin-top: 1rem;
	overflow: hidden;
}

.fdx-product-tabs__header {
	display: flex;
	border-bottom: 2px solid var(--fdx-grey-100);
	overflow-x: auto;
}

.fdx-product-tabs__tab {
	padding: 1rem 1.5rem;
	font-size: var(--fdx-font-size-sm);
	font-weight: 500;
	color: var(--fdx-grey-500);
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s;
}

.fdx-product-tabs__tab:hover {
	color: var(--fdx-accent);
}

.fdx-product-tabs__tab--active {
	color: var(--fdx-accent);
	border-bottom-color: var(--fdx-accent);
	font-weight: 600;
}

.fdx-product-tabs__body {
	padding: 1.5rem;
	font-size: var(--fdx-font-size-sm);
	color: var(--fdx-grey-700);
	line-height: 1.7;
}

/* Specs table */
.fdx-specs-table {
	width: 100%;
	border-collapse: collapse;
}

.fdx-specs-table tr:nth-child(even) {
	background: var(--fdx-grey-50);
}

.fdx-specs-table td {
	padding: 0.75rem 1rem;
	font-size: var(--fdx-font-size-sm);
}

.fdx-specs-table td:first-child {
	color: var(--fdx-grey-500);
	width: 140px;
	font-weight: 500;
}

/* ==========================================================================
   Related Products — "You May Also Like"
   ========================================================================== */

.fdx-related {
	margin-top: 1rem;
	background: var(--fdx-white);
	border-radius: var(--fdx-radius-md);
	box-shadow: var(--fdx-shadow-sm);
	padding: 1.25rem;
}

.fdx-related__header {
	margin-bottom: 1rem;
}

.fdx-related__title {
	font-size: var(--fdx-font-size-lg);
	font-weight: 700;
	color: var(--fdx-grey-900);
	margin: 0;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--fdx-accent);
	display: inline-block;
}

.fdx-product-grid--related {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
}

/* ==========================================================================
   Variation Swatches (filter-based — replaces default <select>)
   ========================================================================== */

.fdx-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 0.5rem;
}

.fdx-swatches__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 2px solid var(--fdx-grey-200, #ddd);
	border-radius: 8px;
	background: var(--fdx-white, #fff);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	font-family: inherit;
	line-height: 1;
}

.fdx-swatches__btn:hover {
	border-color: var(--fdx-gold);
}

.fdx-swatches__btn--active {
	border-color: var(--fdx-gold);
	box-shadow: 0 0 0 1px var(--fdx-gold);
}

/* Shopee-style corner tick on active swatch */
.fdx-swatches__btn--active::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 18px 18px;
	border-color: transparent transparent var(--fdx-gold) transparent;
	border-radius: 0 0 6px 0;
}

.fdx-swatches__btn--active::before {
	content: '\2713';
	position: absolute;
	bottom: 0;
	right: 1px;
	font-size: 9px;
	color: var(--fdx-white, #fff);
	z-index: 1;
	line-height: 1;
}

/* --- Colour swatch buttons --- */

.fdx-swatches__btn--color {
	width: auto;
	min-width: 44px;
	padding: 4px 10px 4px 4px;
	gap: 6px;
}

.fdx-swatches__color {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.fdx-swatches__label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--fdx-grey-700, #555);
	white-space: nowrap;
}

.fdx-swatches__btn--color.fdx-swatches__btn--active .fdx-swatches__label {
	color: var(--fdx-gold);
}

/* --- Text swatch buttons (size, material, etc.) --- */

.fdx-swatches__btn--text {
	padding: 8px 16px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--fdx-grey-900, #222);
}

.fdx-swatches__btn--text.fdx-swatches__btn--active {
	color: var(--fdx-gold);
	background: rgba(196, 168, 130, 0.1);
}

/* ==========================================================================
   Desktop — Side-by-side layout
   ========================================================================== */

@media (min-width: 768px) {
	.fdx-pdp {
		flex-direction: row;
		border-radius: var(--fdx-radius-lg);
	}

	.fdx-pdp__gallery {
		flex: 0 0 45%;
		max-width: 45%;
	}

	.fdx-pdp__info {
		flex: 1;
		padding: 1.5rem;
	}

	.fdx-pdp__title {
		font-size: var(--fdx-font-size-xl);
	}

	.fdx-pdp__price-current {
		font-size: 2rem;
	}

	.fdx-product-grid--related {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.75rem;
	}
}

@media (min-width: 1025px) {
	.fdx-pdp__gallery {
		flex: 0 0 40%;
		max-width: 40%;
	}

	.fdx-pdp__title {
		font-size: 1.375rem;
	}

	.fdx-pdp__thumb {
		width: 80px;
		height: 80px;
		flex: 0 0 80px;
	}

	.fdx-product-grid--related {
		grid-template-columns: repeat(4, 1fr);
	}
}
