/* Integral CF font */
@font-face {
	font-family: 'Integral CF';
	src: url('https://db.onlinewebfonts.com/t/b4cd82195fcc985f3a4cf61b79769a4b.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.btl-wrapper {
	max-width: var(--btl-max-width, 1500px);
	width: 100%;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.btl-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.btl-main-image {
	flex: 0 0 45%;
	max-width: 45%;
	border-radius: 12px;
	overflow: hidden;
	background: #f5f5f5;
}

.btl-hero-img {
	width: 100%;
	height: 700px !important;
	object-fit: cover;
	display: block;
	transition: opacity 0.3s ease;
}

.btl-hero-img.btl-fade {
	opacity: 0;
}

.btl-details {
	flex: 1;
	min-width: 0;
}

/* Thumbnails: large, matching reference */
.btl-thumbnails {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.btl-thumb {
	width: 180px;
	height: 180px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color 0.2s ease, transform 0.2s ease;
	background: #f5f5f5;
}

.btl-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.btl-thumb:hover {
	border-color: #ccc;
	transform: translateY(-2px);
}

.btl-thumb--active {
	border-color: #000;
}

.btl-thumb--hidden {
	display: none;
}

/* Product Name: Integral CF */
.btl-product-name {
	font-family: 'Integral CF', 'Impact', 'Arial Black', sans-serif;
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.2;
	color: #111;
	text-transform: uppercase;
}

/* Rating */
.btl-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.btl-stars {
	display: inline-flex;
	gap: 1px;
}

.btl-star {
	font-size: 18px;
	line-height: 1;
}

.btl-star--full {
	color: #f5a623;
}

.btl-star--half {
	color: #f5a623;
	opacity: 0.6;
}

.btl-star--empty {
	color: #ddd;
}

.btl-rating-number {
	font-size: 14px;
	color: #666;
}

/* Pricing */
.btl-pricing {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.btl-price-current {
	font-size: 22px;
	font-weight: 700;
	color: #111;
}

.btl-price-regular {
	font-size: 18px;
	color: #999;
	text-decoration: line-through;
}

.btl-discount-badge {
	display: inline-block;
	background: #ffe0e0;
	color: #d32f2f;
	font-size: 13px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
}

/* Stock */
.btl-stock {
	margin-bottom: 12px;
}

.btl-stock-info {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.btl-stock-ok {
	color: #2e7d32;
}

.btl-stock-low {
	color: #e65100;
}

.btl-stock-out {
	color: #c62828;
}

/* Variations */
.btl-variations {
	margin-bottom: 20px;
}

.btl-variation-block {
	margin-bottom: 14px;
}

.btl-variation-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.btl-variation-group {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* Variation pills: black with border radius */
.btl-variation-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #000;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	color: #000;
	background: transparent;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.btl-variation-option:hover,
.btl-variation-option--selected {
	background: #000 !important;
	color: #fff !important;
	border-color: #000;
}

/* Out of stock: diagonal line */
.btl-variation-option--oos {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
	color: #999;
	border-color: #ccc;
	background: transparent;
}

.btl-variation-option--oos::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 141%;
	height: 1px;
	background: #999;
	transform-origin: top left;
	transform: rotate(45deg);
}

/* Color swatch */
.btl-variation-color {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 0;
	border: 2px solid #ddd;
	min-width: 44px;
}

.btl-variation-color:hover,
.btl-variation-color.btl-variation-option--selected {
	border-color: #000 !important;
	transform: none;
}

.btl-variation-color.btl-variation-option--oos {
	opacity: 0.4;
}

.btl-variation-color.btl-variation-option--oos::after {
	background: #fff;
	height: 2px;
}

/* Color as text fallback (no hex detected) */
.btl-variation-color-text {
	border-radius: 20px;
	padding: 0 16px;
	width: auto;
	height: 40px;
	min-width: 44px;
}

/* Add to Cart */
.btl-add-to-cart {
	width: 80%;
	padding: 14px !important;
	background: #000 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 30px !important;
	font-size: 16px !important;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	letter-spacing: 0.3px;
}

.btl-add-to-cart:hover {
	background: #222 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.btl-add-to-cart:active {
	transform: translateY(0);
}

.btl-add-to-cart:focus {
	background: #000 !important;
	color: #fff !important;
	outline: none;
}

.btl-add-to-cart.btl-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Cart Message */
.btl-cart-message {
	width: 80%;
	text-align: center;
	padding: 10px;
	margin-top: 10px;
	border-radius: 8px;
	font-size: 14px;
}

.btl-cart-message--success {
	background: #e8f5e9;
	color: #2e7d32;
}

.btl-cart-message--error {
	background: #fce4ec;
	color: #c62828;
}

/* Responsive */
@media (max-width: 900px) {
	.btl-thumb {
		width: 120px;
		height: 120px;
	}
}

@media (max-width: 680px) {
	.btl-layout {
		flex-direction: column;
	}

	.btl-main-image {
		flex: none;
		max-width: 100%;
	}

	.btl-thumb {
		width: 80px;
		height: 80px;
	}

	.btl-product-name {
		font-size: 22px;
	}
}
