/*
 * Product info v2 — compact modern UI
 * - Simple option pills
 * - Clean label/value rows
 * - Scoped to .product-info-v2 (does not affect v1/v3)
 */

 .product-container{
	grid-template-columns: 2fr 1fr;
 }

.product-info-v2 {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-x: clip;
	padding: 14px 12px;
	border-radius: 14px;
	border: 1px solid var(--sc-product-info-v2-root-border, color-mix(in srgb, var(--primary-title-color, #111) 10%, transparent));
	background: var(--sc-product-info-v2-root-bg, color-mix(in srgb, var(--secondary-background-color, #f5f2ed) 35%, transparent));
	height: max-content;
}

.product-info-v2 .product-title {
	font-size: clamp(1.25rem, 2.3vw, 28px);
	margin-bottom: 6px;
}

.product-info-v2 .product-category {
	margin-bottom: 10px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--sc-product-info-v2-product-category-bg, color-mix(in srgb, var(--primary-background-color, #fff) 70%, transparent));
	border: 1px solid var(--sc-product-info-v2-product-category-border, color-mix(in srgb, var(--primary-title-color, #111) 10%, transparent));
}

.product-info-v2 .product-short-description {
	margin: 8px 0 10px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sc-product-info-v2-product-short-description-text, var(--primary-text-color));
}

/* Rating capsule (optional) */
.product-info-v2__rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 10px;
}

.product-info-v2__stars i.fas {
	color: var(--sc-product-info-v2-fas-text, var(--star-rating-filled-color, #d4af37));
}

.product-info-v2__stars i.far {
	opacity: 0.35;
}

/* Price */
.product-info-v2 .product-price {
	margin: 10px 0 12px;
	padding: 8px 10px;
	border-radius: 12px;
	border: 1px solid var(--sc-product-info-v2-product-price-border, color-mix(in srgb, var(--primary-title-color, #111) 10%, transparent));
	background: var(--sc-product-info-v2-product-price-bg, color-mix(in srgb, var(--primary-background-color, #fff) 75%, transparent));
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.product-info-v2 .current-price {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 900;
	color: var(--sc-product-info-v2-current-price-text, var(--original-price-color));
	margin-right: 0;
}

.product-info-v2 .original-price {
	font-size: 14px;
	text-decoration: line-through;
	opacity: 0.85;
}

/* Select attribute group */
.product-info-v2 .size-options {
	margin: 12px 0 0;
}

.product-info-v2 .size-title {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.product-info-v2 .size-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.product-info-v2 .size-select-wrap {
	width: 100%;
	max-width: 320px;
}

.product-info-v2 .variant-attribute-select {
	width: 100%;
	min-height: 34px;
	padding: 7px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid var(--sc-product-info-v2-size-btn-border, color-mix(in srgb, var(--primary-title-color, #111) 16%, transparent));
	background: var(--sc-product-info-v2-size-btn-bg, transparent);
	color: var(--sc-product-info-v2-size-btn-text, var(--primary-text-color));
}

.product-info-v2 .size-btn {
	padding: 7px 12px;
	min-height: 34px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	border: 1px solid var(--sc-product-info-v2-size-btn-border, color-mix(in srgb, var(--primary-title-color, #111) 16%, transparent));
	background: var(--sc-product-info-v2-size-btn-bg, transparent);
	color: var(--sc-product-info-v2-size-btn-text, var(--primary-text-color));
	transition:
		background 0.15s ease,
		border-color 0.15s ease,
		transform 0.12s ease;
}

.product-info-v2 .size-btn:hover {
	transform: translateY(-1px);
}

.product-info-v2 .size-btn.active {
	background: var(--sc-product-info-v2-size-btn-active-bg, var(--primary-brand-color, #c9a227));
	border-color: var(--sc-product-info-v2-size-btn-active-border, var(--primary-brand-color, #c9a227));
	color: var(--sc-product-info-v2-size-btn-active-text, var(--primary-button-text-color, #fff));
}

.product-info-v2 .size-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none !important;
}

/* Info-only attributes (text/number/boolean) */
.product-info-v2 .product-info-item {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--sc-product-info-v2-item-border, color-mix(in srgb, var(--primary-title-color, #111) 10%, transparent));
	background: var(--sc-product-info-v2-item-bg, color-mix(in srgb, var(--primary-background-color, #fff) 70%, transparent));
}

.product-info-v2 .product-info-item .info-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.product-info-v2 .product-info-item .info-separator {
	display: none;
}

.product-info-v2 .product-info-item .info-label {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sc-product-info-v2-info-label-text, color-mix(in srgb, var(--primary-text-color, #555) 90%, transparent));
}

.product-info-v2 .product-info-item .info-value {
	font-size: 13px;
	font-weight: 900;
	color: var(--sc-product-info-v2-info-value-text, var(--primary-title-color, #111));
}

/* Actions row */
.product-info-v2 .product-actions.single-product-actions {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--sc-product-info-v2-single-product-actions-border-top, color-mix(in srgb, var(--primary-title-color, #111) 10%, transparent));
	gap: 10px;
	align-items: center;
}

.product-info-v2 .add-to-fav {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	padding: 0;
	font-size: 22px;
	display: inline-grid;
	place-items: center;
	border-radius: 14px;
	background: var(--sc-product-info-v2-add-to-fav-bg, transparent);
	border: 1px solid var(--sc-product-info-v2-add-to-fav-border, color-mix(in srgb, var(--primary-brand-color, #c9a227) 35%, transparent));
	color: var(--sc-product-info-v2-add-to-fav-text, var(--heart-icon-empty-color, var(--primary-title-color, #111)));
	transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-info-v2 .buy-now-form {
	flex: 1 1 auto;
}

.product-info-v2 .buy-now {
	flex: 1 1 auto;
	padding: 11px 14px;
	font-size: 15px;
	border-radius: 14px;
	border: 1px solid var(--sc-product-info-v2-buy-now-border, color-mix(in srgb, var(--primary-brand-color, #c9a227) 28%, transparent));
	background: var(--sc-product-info-v2-buy-now-bg, color-mix(in srgb, var(--primary-background-color, #fff) 78%, transparent));
	color: var(--sc-product-info-v2-buy-now-text, var(--primary-brand-color, #c9a227));
	font-weight: 900;
	letter-spacing: 0.02em;
	transition: transform 0.12s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.product-info-v2 .add-to-cart {
	flex: 0 0 auto;
	padding: 11px 14px;
	font-size: 16px;
	border-radius: 14px;
	border: 1px solid var(--sc-product-info-v2-add-to-cart-border, color-mix(in srgb, var(--primary-brand-color, #c9a227) 28%, transparent));
	background: linear-gradient(
		135deg,
		color-mix(in srgb, var(--primary-brand-color, #c9a227) 100%, #fff 0%),
		color-mix(in srgb, var(--primary-brand-color, #c9a227) 70%, #000 30%)
	);
	color: var(--sc-product-info-v2-add-to-cart-text, var(--primary-button-text-color, #fff));
	font-weight: 900;
	transition: transform 0.12s ease, filter 0.2s ease;
}

.product-info-v2 .add-to-fav:hover {
	transform: translateY(-1px);
	background: var(--sc-product-info-v2-add-to-fav-hover-bg, color-mix(in srgb, var(--primary-brand-color, #c9a227) 10%, transparent));
	border-color: var(--sc-product-info-v2-add-to-fav-hover-border, color-mix(in srgb, var(--primary-brand-color, #c9a227) 55%, transparent));
}

.product-info-v2 .size-btn.active,
.product-info-v2 .add-to-cart:hover,
.product-info-v2 .buy-now:hover {
	filter: brightness(1.03);
}

.product-info-v2 .add-to-cart:hover {
	transform: translateY(-1px);
}

.product-info-v2 .add-to-fav.favorited {
	color: var(--sc-product-info-v2-favorited-text, var(--primary-brand-color, #c9a227));
	border-color: var(--sc-product-info-v2-favorited-border, color-mix(in srgb, var(--primary-brand-color, #c9a227) 60%, transparent));
}

@media (max-width: 768px) {
	.product-info-v2 {
		padding: 12px 10px;
	}

	.product-info-v2 .product-title {
		font-size: 1.375rem;
	}

	.product-info-v2 .product-actions.single-product-actions {
		flex-wrap: nowrap;
		gap: 10px;
	}

	.product-info-v2 .add-to-fav {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}

	.product-info-v2 .buy-now-form,
	.product-info-v2 .add-to-cart {
		flex: 1 1 0;
		width: auto;
	}

	.product-info-v2 .buy-now {
		width: 100%;
		display: block;
	}

	.product-info-v2 .add-to-cart {
		margin: 0;
	}

	.product-info-v2 .buy-now {
		font-size: 15px;
	}
}

@media (max-width: 992px) {
	.product-container {
		grid-template-columns: 1fr;
	}
}

/* Desktop: keep 3 buttons on one row with split widths */
@media (min-width: 769px) {
	.product-info-v2 .product-actions.single-product-actions {
		flex-wrap: nowrap;
		gap: 12px;
	}

	/* favorite stays compact, the other two share remaining space */
	.product-info-v2 .add-to-fav {
		flex: 0 0 48px;
		width: 48px;
		height: 48px;
	}

	.product-info-v2 .buy-now-form,
	.product-info-v2 .add-to-cart {
		flex: 1 1 0;
		width: auto;
	}

	.product-info-v2 .buy-now {
		width: 100%;
	}
}


/* === theme colour controls: inherited values (generated) === */
.product-info-v2__reviews-count {
	color: var(--sc-product-info-v2-reviews-count-text, inherit);
}
/* === end theme colour controls === */
