/* bolha flutuante */
.yamone-pvr-bubble {
	position: fixed;
	bottom: 20px;
	left: 20px; /* default to left side for now */
	width: 80px;
	height: 140px;
	z-index: 9999;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	overflow: hidden;
	background: #000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s, transform 0.2s;
}
.yamone-pvr-bubble.yamone-pvr-ready {
	opacity: 1;
	pointer-events: auto;
}
.yamone-pvr-bubble.yamone-pvr-shape-circular {
	width: 90px;
	height: 90px;
	border-radius: 50%;
}
.yamone-pvr-bubble.yamone-pvr-shape-rectangular {
	border-radius: 12px;
}
.yamone-pvr-bubble:hover {
	transform: scale(1.05);
}
.yamone-pvr-bubble video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}
.yamone-pvr-bubble-close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 20px;
	height: 20px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	z-index: 2;
	cursor: pointer;
}
.yamone-pvr-play-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0,0,0,0.4);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.yamone-pvr-shape-circular .yamone-pvr-bubble-close {
	top: 5px;
	right: 15px; /* adjust for circle */
}

/* Modal */
.yamone-pvr-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: none; /* hidden by default */
	align-items: center;
	justify-content: center;
}
.yamone-pvr-modal.active {
	display: flex;
}
.yamone-pvr-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.85);
}
.yamone-pvr-modal-content {
	position: relative;
	width: 100%;
	max-width: 450px;
	height: 100vh;
	background: #000;
	overflow: hidden;
}
@media (min-width: 768px) {
	.yamone-pvr-modal-content {
		height: 90vh;
		border-radius: 12px;
		box-shadow: 0 10px 40px rgba(0,0,0,0.5);
	}
}
.yamone-pvr-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #fff;
	z-index: 10;
	cursor: pointer;
	background: rgba(0,0,0,0.4);
	border-radius: 50%;
	padding: 5px;
	display: flex;
}
.yamone-pvr-video-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.yamone-pvr-video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover; /* covers the whole area */
}

/* Sidebar */
.yamone-pvr-sidebar {
	position: absolute;
	right: 15px;
	bottom: 120px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	z-index: 10;
}
.yamone-pvr-btn {
	background: transparent !important;
	border: none !important;
	color: #fff !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	box-shadow: none !important;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
	transition: transform 0.2s;
}
.yamone-pvr-btn:hover {
	transform: scale(1.1);
}

/* Bottom Card */
.yamone-pvr-bottom-card {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 10;
	box-sizing: border-box;
}
.yamone-pvr-product-info {
	display: flex;
	align-items: center;
	gap: 15px;
}
.yamone-pvr-product-info img {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	object-fit: cover;
	background: #fff;
}
.yamone-pvr-product-text {
	color: #fff;
	flex: 1;
}
.yamone-pvr-product-text h4 {
	margin: 0 0 5px 0;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	line-height: 1.2;
}
.yamone-pvr-price, .yamone-pvr-price * {
	font-size: 16px;
	font-weight: bold;
	color: #fff !important;
}
.yamone-pvr-price del {
	font-size: 12px;
	opacity: 0.7;
	margin-right: 5px;
}
.yamone-pvr-price ins {
	text-decoration: none;
}
.yamone-pvr-add-to-cart {
	width: 100%;
	background: #fff;
	color: #000;
	border: none;
	padding: 12px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s;
}
.yamone-pvr-add-to-cart.loading {
	opacity: 0.7;
	pointer-events: none;
}
.yamone-pvr-add-to-cart:hover, .yamone-pvr-select-options:hover {
	background: #f0f0f0;
}
.yamone-pvr-out-of-stock {
	width: 100%;
	background: #666;
	color: #ccc;
	border: none;
	padding: 12px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 15px;
	cursor: not-allowed;
	opacity: 0.8;
}
