.cwp-produto-single {
	margin: 0 auto;
	max-width: 1100px;
	padding: 24px 16px;
}

.cwp-produto-single__grid {
	display: grid;
	gap: 24px;
}

@media (min-width: 900px) {
	.cwp-produto-single__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	}
}

.cwp-produto-single__media {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cwp-produto-single__main {
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
}

.cwp-produto-single__main img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.cwp-produto-single__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cwp-produto-single__thumb-item {
	margin: 0;
}

.cwp-produto-single__thumb {
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	padding: 0;
	cursor: pointer;
}

.cwp-produto-single__thumb.is-active {
	border-color: #111;
}

.cwp-produto-single__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.cwp-produto-single__conteudo {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cwp-produto-single__preco {
	font-weight: 700;
	font-size: 1.25rem;
}

.cwp-produto-single__acoes {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cwp-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 9999;
}

.cwp-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.cwp-lightbox__content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.cwp-lightbox__image {
	max-width: 90vw;
	max-height: 90vh;
	display: block;
}

.cwp-lightbox__button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.6);
	border: 0;
	color: #fff;
	padding: 8px 10px;
	cursor: pointer;
}

.cwp-lightbox__button--prev {
	left: 8px;
}

.cwp-lightbox__button--next {
	right: 8px;
}

.cwp-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.6);
	border: 0;
	color: #fff;
	padding: 6px 10px;
	cursor: pointer;
}

.cwp-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 0;
}

body.cwp-lightbox-open {
	overflow: hidden;
}
