/* ==========================================================================
   RETOSTORE Product Detail — CrunchLabs-inspired STEM & Pre-order UI
   ========================================================================== */

.wolf-layout-product {
	padding-top: 20px;
	padding-bottom: 24px;
	margin-top: 0 !important;
}

/* Khung ảnh bên trái bo góc & nổi khối */
.wolf-layout-product .wolf-product-images .product-image-block .gallery-top {
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.wolf-layout-product .wolf-product-images .product-image-block .gallery-top a.swiper-slide {
	background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f8fafc 100%);
}

.wolf-layout-product .wolf-product-images .product-image-block .gallery-thumbs .swiper-slide {
	border-radius: 10px;
	border: 2px solid #e2e8f0;
	background: #ffffff;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wolf-layout-product .wolf-product-images .product-image-block .gallery-thumbs .swiper-slide:hover,
.wolf-layout-product .wolf-product-images .product-image-block .gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
	border-color: #23a9e1;
	box-shadow: 0 4px 12px rgba(35, 169, 225, 0.2);
}

/* Cột phải - Panel thông tin mua hàng */
.wolf-layout-product .details-pro {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 22px 24px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 767.98px) {
	.wolf-layout-product .details-pro {
		padding: 16px;
		border-radius: 14px;
	}
}

/* Badge độ tuổi giống CrunchLabs AGES 8-13 */
.reto-age-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #facc15;
	color: #090d19;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 11px;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(250, 204, 21, 0.35);
	white-space: nowrap;
}

.wolf-product-images .reto-age-badge--gallery {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 90;
	padding: 5px 12px;
	border: 1px solid rgba(9, 13, 25, 0.12);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
	pointer-events: none;
}

@media (max-width: 767.98px) {
	.wolf-product-images .reto-age-badge--gallery {
		top: 10px;
		left: 10px;
		font-size: 11px;
		padding: 4px 10px;
	}
}

.wolf-layout-product .wolf-product-top-info .title-product {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.28;
	color: #090d19;
	letter-spacing: -0.015em;
}

@media (max-width: 767.98px) {
	.wolf-layout-product .wolf-product-top-info .title-product {
		font-size: 21px;
	}
}

/* Meta bar gọn gàng phía trên giá */
.reto-product-meta-bar {
	font-size: 13px;
	color: #64748b;
}

.reto-product-meta-bar .sku-product {
	color: #64748b;
}

/* ==========================================================================
   PRE-ORDER HERO CARD (Phong cách thẻ xanh Navy CrunchLabs)
   ========================================================================== */
.reto-preorder-card {
	position: relative;
	background: linear-gradient(145deg, #090d19 0%, #10203a 58%, #153657 100%);
	border: 2px solid #23a9e1;
	border-radius: 16px;
	padding: 18px 20px;
	color: #ffffff;
	box-shadow: 0 14px 32px rgba(9, 13, 25, 0.22);
	overflow: hidden;
}

.reto-preorder-card::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 160px;
	height: 160px;
	background: radial-gradient(circle, rgba(35, 169, 225, 0.22) 0%, rgba(35, 169, 225, 0) 70%);
	pointer-events: none;
}

.reto-preorder-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.reto-preorder-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(250, 204, 21, 0.16);
	border: 1px solid rgba(250, 204, 21, 0.45);
	color: #fde047;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
}

/* Ghi đè màu giá bên trong thẻ Navy tối */
.reto-preorder-card .special-price {
	font-size: 32px !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	line-height: 1.1;
}

.reto-preorder-card .old-price {
	font-size: 18px !important;
	color: #94a3b8 !important;
	margin-left: 6px;
}

.reto-preorder-save-badge {
	display: inline-flex;
	align-items: center;
	background: rgba(35, 169, 225, 0.2);
	border: 1px solid rgba(56, 189, 248, 0.45);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 6px;
}

.reto-preorder-card .wolf-sold-tag {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	color: #e2e8f0 !important;
}

.reto-preorder-card .wolf-sold-tag strong {
	color: #fde047;
}

/* Thanh tiến trình 30 suất Pre-order */
.reto-preorder-progress {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 10px 12px;
	margin-top: 12px;
}

.reto-preorder-progress-text {
	font-size: 12.5px;
	color: #e2e8f0;
	margin-bottom: 6px;
}

.reto-preorder-progress-text strong {
	color: #fde047;
}

.reto-preorder-progress .progress {
	height: 8px;
	background-color: rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	overflow: hidden;
}

.reto-preorder-progress .progress-bar {
	background: linear-gradient(90deg, #f97316 0%, #facc15 100%);
	border-radius: 999px;
}

/* Danh sách quyền lợi bên trong Card */
.reto-preorder-perks {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.reto-preorder-perks-title {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7dd3fc;
	margin-bottom: 8px;
}

.reto-preorder-perks-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.reto-preorder-perks-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	line-height: 1.4;
	color: #f1f5f9;
}

.reto-preorder-perks-list li svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #facc15;
}

/* Thẻ Bonus Gift (giống Bonus Gift của CrunchLabs) */
.reto-bonus-gift-box {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 10px 12px;
}

.reto-bonus-gift-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, #f97316 0%, #eab308 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.reto-bonus-gift-badge {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fde047;
	margin-bottom: 2px;
}

.reto-bonus-gift-title {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
}

@media (max-width: 575.98px) {
	.reto-preorder-card {
		padding: 14px 15px;
	}

	.reto-preorder-card .special-price {
		font-size: 27px !important;
	}

	.reto-preorder-card .wolf-price-main-row .wolf-promo-tag {
		padding: 7px 12px;
		font-size: 13px;
	}
}

/* ==========================================================================
   SWATCH BIẾN THỂ & LỘ TRÌNH ĐỒNG HÀNH
   ========================================================================== */
.wolf-layout-product .select-swatch .swatch .header {
	font-size: 14px;
	color: #090d19;
	margin-bottom: 8px;
}

.wolf-layout-product .select-swatch .swatch .header .value-roperties {
	color: #0369a1;
	font-weight: 600 !important;
}

.wolf-layout-product .wolf-product-content .select-swatch .swatch .swatch-element {
	min-width: 0 !important;
	max-width: 100%;
}

.wolf-layout-product .wolf-product-content .select-swatch .swatch .swatch-element label {
	padding-right: 26px !important;
	border-radius: 10px !important;
	border: 1.5px solid #cbd5e1 !important;
	background-color: #ffffff !important;
	white-space: normal !important;
	word-break: break-word;
	line-height: 1.35 !important;
	min-width: 0 !important;
	max-width: 100%;
	height: auto !important;
}

.wolf-layout-product .wolf-product-content .select-swatch .swatch .swatch-element input:checked + label {
	border-color: #0f172a !important;
	background-color: #f0f9ff !important;
	box-shadow: 0 0 0 1px #0f172a !important;
	color: #090d19;
	font-weight: 700 !important;
}

/* Lộ trình đồng hành hiển thị dạng thẻ 2 cột dễ so sánh, tự xuống dòng gọn trong khung */
.wolf-layout-product .wolf-product-content .select-swatch .swatch.swatch--plan .swatch-list-element {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px !important;
	width: 100%;
}

.wolf-layout-product .wolf-product-content .select-swatch .swatch.swatch--plan .swatch-element {
	width: 100% !important;
	min-width: 0 !important;
	display: flex;
}

.wolf-layout-product .wolf-product-content .select-swatch .swatch.swatch--plan .swatch-element label {
	width: 100% !important;
	min-height: 52px;
	height: 100% !important;
	justify-content: flex-start !important;
	align-items: center !important;
	text-align: left !important;
	padding: 10px 28px 10px 12px !important;
}

@media (max-width: 575.98px) {
	.wolf-layout-product .wolf-product-content .select-swatch .swatch.swatch--plan .swatch-list-element {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   NÚT CTA CHÍNH (Phong cách cam nổi bật giống CrunchLabs Checkout Now)
   ========================================================================== */
.wolf-layout-product .form-product .btn-buyNow.reto-cta-buynow {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
	border: 1px solid #ea580c !important;
	border-radius: 12px !important;
	min-height: 56px;
	padding: 8px 18px;
	color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(234, 88, 12, 0.32);
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wolf-layout-product .form-product .btn-buyNow.reto-cta-buynow:hover,
.wolf-layout-product .form-product .btn-buyNow.reto-cta-buynow:focus {
	filter: brightness(1.04);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(234, 88, 12, 0.42);
}

.wolf-layout-product .form-product .btn-buyNow.reto-cta-buynow .txt-main {
	font-size: 16px;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
}

.wolf-layout-product .form-product .btn-buyNow.reto-cta-buynow .deliver-btn {
	font-size: 12px;
	opacity: 0.94;
}

.wolf-layout-product .form-product .normal_button.btn-cart {
	border-radius: 12px !important;
	min-height: 56px;
	border: 1.5px solid #090d19 !important;
	background-color: #ffffff !important;
	color: #090d19 !important;
	font-weight: 700 !important;
	padding: 0 18px;
}

.wolf-layout-product .form-product .normal_button.btn-cart:hover {
	background-color: #090d19 !important;
	color: #ffffff !important;
}

/* Sticky bar sync nút Mua ngay màu cam */
#sticky-add-to-cart-bar #sticky-buy-now {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
	border-color: #ea580c !important;
	color: #ffffff !important;
	border-radius: 10px !important;
}