/* Relay Radio Store — Build 0003 single-product experience */

/* Main buying area */
body.relay-store-theme.single-product .product-summary-wrap {
	position: relative;
	background:
		linear-gradient(180deg, rgba(20,28,48,.96), rgba(12,18,33,.97));
	border: 1px solid var(--relay-border);
	border-radius: var(--relay-radius-lg);
	box-shadow: var(--relay-shadow);
	padding: 30px;
	margin-bottom: 34px;
	overflow: hidden;
}

body.relay-store-theme.single-product .product-summary-wrap::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(139,92,246,.75), rgba(79,140,255,.65), transparent);
	pointer-events: none;
}

body.relay-store-theme.single-product .summary-before,
body.relay-store-theme.single-product .entry-summary {
	min-width: 0;
}

/* Product media stays neutral so Printify artwork remains accurate. */
body.relay-store-theme.single-product .product-images,
body.relay-store-theme.single-product .product-image-slider,
body.relay-store-theme.single-product .woocommerce-product-gallery,
body.relay-store-theme.single-product .product-images .img-thumbnail {
	background: #f6f7fa;
	border-radius: var(--relay-radius);
	overflow: hidden;
}

body.relay-store-theme.single-product .woocommerce-product-gallery__wrapper,
body.relay-store-theme.single-product .product-image-slider .owl-stage-outer {
	background: #f6f7fa;
}

body.relay-store-theme.single-product .product-thumbnails,
body.relay-store-theme.single-product .product-thumbs-slider {
	margin-top: 12px;
}

body.relay-store-theme.single-product .product-thumbnails .img-thumbnail,
body.relay-store-theme.single-product .product-thumbs-slider img,
body.relay-store-theme.single-product .product-thumbnails img {
	background: #f6f7fa;
	border: 1px solid var(--relay-border) !important;
	border-radius: 10px;
}

body.relay-store-theme.single-product .product-thumbnails .active .img-thumbnail,
body.relay-store-theme.single-product .product-thumbs-slider .active img {
	border-color: rgba(139,92,246,.70) !important;
	box-shadow: 0 0 0 2px rgba(139,92,246,.12);
}

/* Relay identity inside the purchase column. */
body.relay-store-theme.single-product .relay-product-kicker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 10px;
	padding: 6px 10px;
	background: rgba(139,92,246,.11);
	border: 1px solid rgba(139,92,246,.24);
	border-radius: 999px;
	color: #cbbcff;
	font-size: .70rem;
	font-weight: 900;
	letter-spacing: .10em;
	text-transform: uppercase;
}

body.relay-store-theme.single-product .relay-product-kicker::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--relay-purple), var(--relay-blue));
	box-shadow: 0 0 12px rgba(139,92,246,.55);
}

body.relay-store-theme.single-product .entry-summary .product_title,
body.relay-store-theme.single-product .entry-summary .product_title.entry-title {
	color: var(--relay-text);
	font-size: clamp(1.8rem, 3vw, 2.55rem);
	font-weight: 850;
	line-height: 1.10;
	letter-spacing: -.035em;
	margin-bottom: 10px;
}

body.relay-store-theme.single-product .entry-summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 4px 0 10px;
	color: var(--relay-muted);
}

body.relay-store-theme.single-product .entry-summary .woocommerce-review-link {
	color: #9eb2d7;
	font-size: .80rem;
}

body.relay-store-theme.single-product .entry-summary .price {
	color: #eef4ff;
	font-size: clamp(1.45rem, 2vw, 1.95rem);
	font-weight: 900;
	letter-spacing: -.02em;
	margin: 12px 0 18px;
}

body.relay-store-theme.single-product .entry-summary .price del {
	color: #77839a;
	font-size: .75em;
}

body.relay-store-theme.single-product .entry-summary .price ins {
	color: #fff;
	text-decoration: none;
}

body.relay-store-theme.single-product .entry-summary .woocommerce-product-details__short-description {
	color: var(--relay-text-soft);
	font-size: .96rem;
	line-height: 1.7;
}

/* Variations */
body.relay-store-theme.single-product form.cart,
body.relay-store-theme.single-product .variations_form {
	margin-top: 20px;
}

body.relay-store-theme.single-product table.variations {
	width: 100%;
	background: rgba(7,10,20,.36);
	border: 1px solid var(--relay-border);
	border-radius: var(--relay-radius);
	border-collapse: separate;
	border-spacing: 0;
	padding: 12px 14px;
	margin-bottom: 16px;
}

body.relay-store-theme.single-product table.variations tr + tr th,
body.relay-store-theme.single-product table.variations tr + tr td {
	border-top: 1px solid rgba(154,169,211,.10);
}

body.relay-store-theme.single-product table.variations td,
body.relay-store-theme.single-product table.variations th {
	border-color: transparent;
	color: var(--relay-text-soft);
	padding: 11px 8px;
	vertical-align: middle;
}

body.relay-store-theme.single-product table.variations th.label,
body.relay-store-theme.single-product table.variations label {
	color: var(--relay-text);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .04em;
	text-transform: uppercase;
}

body.relay-store-theme.single-product table.variations select {
	width: 100%;
	min-height: 46px;
	background: #0d1426;
	border-color: rgba(154,169,211,.22);
	color: #eef4ff;
}

body.relay-store-theme.single-product .reset_variations {
	display: inline-block;
	margin-top: 7px;
	color: #9eb8ec;
	font-size: .76rem;
}

body.relay-store-theme.single-product .single_variation_wrap {
	padding-top: 4px;
}

body.relay-store-theme.single-product .woocommerce-variation-price,
body.relay-store-theme.single-product .woocommerce-variation-availability {
	margin-bottom: 10px;
}

body.relay-store-theme.single-product .stock {
	color: var(--relay-success);
	font-weight: 750;
}

body.relay-store-theme.single-product .out-of-stock {
	color: var(--relay-danger);
}

/* Quantity + primary CTA */
body.relay-store-theme.single-product .woocommerce-variation-add-to-cart,
body.relay-store-theme.single-product form.cart:not(.variations_form) {
	display: flex;
	align-items: stretch;
	gap: 10px;
	flex-wrap: wrap;
}

body.relay-store-theme.single-product .quantity,
body.relay-store-theme .quantity {
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid var(--relay-border);
	background: #0c1222;
}

body.relay-store-theme.single-product .quantity .qty,
body.relay-store-theme .quantity .qty {
	background: #0c1222;
	border: 0;
	color: var(--relay-text);
	min-height: 50px;
}

body.relay-store-theme.single-product .quantity .minus,
body.relay-store-theme.single-product .quantity .plus,
body.relay-store-theme .quantity .minus,
body.relay-store-theme .quantity .plus {
	background: #18213a;
	border-color: var(--relay-border);
	color: #dce5f7;
	min-height: 50px;
}

body.relay-store-theme.single-product .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: 50px;
	padding-inline: 30px;
	background: var(--relay-gradient) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
	font-size: .94rem;
	font-weight: 900;
	letter-spacing: .01em;
	text-transform: none;
	box-shadow: 0 12px 28px rgba(79,79,220,.25);
}

body.relay-store-theme.single-product .single_add_to_cart_button:hover {
	filter: brightness(1.08);
	color: #fff;
	transform: translateY(-1px);
}

body.relay-store-theme.single-product .single_add_to_cart_button.disabled,
body.relay-store-theme.single-product .single_add_to_cart_button:disabled {
	opacity: .48;
	box-shadow: none;
	transform: none;
}

/* Wishlist remains available but visually secondary to Add to Cart. */
body.relay-store-theme.single-product .yith-wcwl-add-to-wishlist,
body.relay-store-theme.single-product .wishlist-fragment,
body.relay-store-theme.single-product .add_to_wishlist {
	color: #9eabc1;
	font-size: .82rem;
}

body.relay-store-theme.single-product .yith-wcwl-add-to-wishlist a,
body.relay-store-theme.single-product .add_to_wishlist {
	color: #b7c3d9;
}

/* Short reassurance panel under the buy controls. */
body.relay-store-theme.single-product .relay-product-confidence {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 8px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--relay-border);
}

body.relay-store-theme.single-product .relay-product-confidence__item {
	min-width: 0;
	padding: 10px 11px;
	background: rgba(255,255,255,.025);
	border: 1px solid rgba(154,169,211,.12);
	border-radius: 12px;
	color: #9facbf;
	font-size: .72rem;
	line-height: 1.35;
}

body.relay-store-theme.single-product .relay-product-confidence__item strong {
	display: block;
	margin-bottom: 2px;
	color: #ecf2ff;
	font-size: .75rem;
}

body.relay-store-theme.single-product .relay-product-confidence__item a {
	color: #bcd1ff;
}

/* Product metadata */
body.relay-store-theme.single-product .entry-summary .product_meta {
	border-top: 1px solid var(--relay-border);
	color: var(--relay-muted);
	font-size: .78rem;
	line-height: 1.75;
	margin-top: 18px;
	padding-top: 15px;
}

body.relay-store-theme.single-product .entry-summary .product_meta > span {
	display: block;
}

body.relay-store-theme.single-product .entry-summary .product_meta a {
	color: #b8ccf4;
}

/* Hide meaningless N/A SKU label while leaving category data intact. */
body.relay-store-theme.single-product .product_meta .sku_wrapper:has(.sku:empty) {
	display: none;
}

/* Tabs / description / size guide / attributes / reviews */
body.relay-store-theme.single-product .woocommerce-tabs,
body.relay-store-theme.single-product .product-tab-container,
body.relay-store-theme.single-product .related.products,
body.relay-store-theme.single-product .upsells.products {
	background: linear-gradient(180deg, rgba(17,24,42,.82), rgba(12,18,33,.84));
	border: 1px solid var(--relay-border);
	border-radius: var(--relay-radius-lg);
	padding: 26px;
	margin-top: 28px;
	box-shadow: var(--relay-shadow-soft);
}

body.relay-store-theme.single-product .woocommerce-tabs .nav-tabs,
body.relay-store-theme.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	border: 0;
	border-bottom: 1px solid var(--relay-border);
	padding-bottom: 13px;
	margin-bottom: 20px;
}

body.relay-store-theme.single-product .woocommerce-tabs .nav-tabs > li,
body.relay-store-theme.single-product .woocommerce-tabs ul.tabs li {
	border: 0;
	background: transparent;
	margin: 0;
}

body.relay-store-theme.single-product .woocommerce-tabs .nav-tabs > li > a,
body.relay-store-theme.single-product .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 13px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--relay-muted);
	font-size: .80rem;
	font-weight: 800;
	text-transform: none;
}

body.relay-store-theme.single-product .woocommerce-tabs .nav-tabs > li.active > a,
body.relay-store-theme.single-product .woocommerce-tabs ul.tabs li.active a {
	background: rgba(139,92,246,.13);
	border-color: rgba(139,92,246,.22);
	color: #fff;
}

body.relay-store-theme.single-product .woocommerce-tabs .tab-content,
body.relay-store-theme.single-product .woocommerce-Tabs-panel {
	color: var(--relay-text-soft);
	font-size: .93rem;
	line-height: 1.72;
}

body.relay-store-theme.single-product .woocommerce-Tabs-panel h2,
body.relay-store-theme.single-product .woocommerce-Tabs-panel h3,
body.relay-store-theme.single-product .woocommerce-Tabs-panel h4 {
	color: #f4f7ff;
}

body.relay-store-theme.single-product .woocommerce-Tabs-panel img {
	border-radius: 12px;
}

body.relay-store-theme.single-product .woocommerce-Tabs-panel table,
body.relay-store-theme.single-product table.shop_attributes {
	width: 100%;
	background: rgba(7,10,20,.28);
	border: 1px solid var(--relay-border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
}

body.relay-store-theme.single-product .woocommerce-Tabs-panel table th,
body.relay-store-theme.single-product .woocommerce-Tabs-panel table td,
body.relay-store-theme.single-product table.shop_attributes th,
body.relay-store-theme.single-product table.shop_attributes td {
	padding: 10px 12px;
	border-color: var(--relay-border);
	color: var(--relay-text-soft);
	background: transparent;
}

body.relay-store-theme.single-product .woocommerce-Tabs-panel table th,
body.relay-store-theme.single-product table.shop_attributes th {
	color: #edf3ff;
	font-weight: 800;
}

body.relay-store-theme.single-product #reviews #comments,
body.relay-store-theme.single-product #review_form_wrapper {
	color: var(--relay-text-soft);
}

body.relay-store-theme.single-product #review_form_wrapper {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--relay-border);
}

body.relay-store-theme.single-product #review_form input,
body.relay-store-theme.single-product #review_form textarea {
	background: #0c1222;
	border-color: var(--relay-border);
	color: var(--relay-text);
}

body.relay-store-theme.single-product .woocommerce-product-rating .star-rating,
body.relay-store-theme .star-rating,
body.relay-store-theme p.stars a {
	color: #fbbf24;
}

/* Related/upsell blocks */
body.relay-store-theme.single-product .related.products > h2,
body.relay-store-theme.single-product .upsells.products > h2,
body.relay-store-theme.single-product .related.products .slider-title,
body.relay-store-theme.single-product .upsells.products .slider-title {
	color: #f4f7ff;
	font-size: 1.2rem;
	font-weight: 850;
	letter-spacing: -.02em;
}

body.relay-store-theme.single-product .related.products .product-inner,
body.relay-store-theme.single-product .upsells.products .product-inner {
	box-shadow: none;
}

/* Porto sticky add-to-cart bar */
body.relay-store-theme.single-product .sticky-product,
body.relay-store-theme.single-product .sticky-product-wrapper,
body.relay-store-theme.single-product .product-sticky-content {
	background: rgba(9,14,27,.96) !important;
	border-color: var(--relay-border) !important;
	color: var(--relay-text-soft) !important;
	box-shadow: 0 -12px 34px rgba(0,0,0,.34) !important;
	backdrop-filter: blur(12px);
}

body.relay-store-theme.single-product .sticky-product .product-name,
body.relay-store-theme.single-product .sticky-product .price,
body.relay-store-theme.single-product .sticky-product-wrapper .product-name,
body.relay-store-theme.single-product .sticky-product-wrapper .price {
	color: #f4f7ff !important;
}

body.relay-store-theme.single-product .sticky-product .add_to_cart_button,
body.relay-store-theme.single-product .sticky-product .single_add_to_cart_button,
body.relay-store-theme.single-product .sticky-product-wrapper .button {
	background: var(--relay-gradient) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
}

@media (max-width: 991px) {
	body.relay-store-theme.single-product .product-summary-wrap {
		padding: 22px;
	}
	body.relay-store-theme.single-product .relay-product-confidence {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	body.relay-store-theme.single-product .product-summary-wrap {
		padding: 15px;
		border-radius: 16px;
	}
	body.relay-store-theme.single-product .entry-summary {
		padding-top: 20px;
	}
	body.relay-store-theme.single-product .entry-summary .product_title,
	body.relay-store-theme.single-product .entry-summary .product_title.entry-title {
		font-size: 1.65rem;
	}
	body.relay-store-theme.single-product .woocommerce-variation-add-to-cart,
	body.relay-store-theme.single-product form.cart:not(.variations_form) {
		align-items: stretch;
	}
	body.relay-store-theme.single-product .single_add_to_cart_button {
		flex-basis: calc(100% - 110px);
	}
	body.relay-store-theme.single-product .woocommerce-tabs,
	body.relay-store-theme.single-product .product-tab-container,
	body.relay-store-theme.single-product .related.products,
	body.relay-store-theme.single-product .upsells.products {
		padding: 16px;
	}
}

@media (max-width: 480px) {
	body.relay-store-theme.single-product .woocommerce-variation-add-to-cart,
	body.relay-store-theme.single-product form.cart:not(.variations_form) {
		display: grid;
		grid-template-columns: 1fr;
	}
	body.relay-store-theme.single-product .quantity,
	body.relay-store-theme.single-product .single_add_to_cart_button {
		width: 100%;
	}
	body.relay-store-theme.single-product .single_add_to_cart_button {
		flex-basis: auto;
	}
}
