/* Dona Veste — miniaturas de cores */
.dv-color-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 4px 0 14px;
}

.dv-color-swatches__label {
	flex: 0 0 100%;
	margin: 0 0 2px;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: #7a1735;
}

.dv-color-swatches__selected {
	font-weight: 500;
}

.dv-color-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 3px;
	border: 2px solid transparent;
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(122, 23, 53, .22);
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dv-color-swatch:hover,
.dv-color-swatch:focus-visible {
	border-color: #7a1735;
	box-shadow: 0 0 0 3px rgba(122, 23, 53, .16);
	transform: translateY(-1px);
}

.dv-color-swatch[aria-pressed="true"] {
	border-color: #7a1735;
	box-shadow: 0 0 0 3px rgba(122, 23, 53, .20);
}

.dv-color-swatch img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.dv-color-native-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.dv-size-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 8px 0 14px;
}

.dv-size-swatches__label {
	width: 100%;
	margin-bottom: 2px;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: #7a1735;
}

.dv-size-swatches__selected {
	font-weight: 500;
}

.dv-size-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(122, 23, 53, .35);
	border-radius: 5px;
	background: #fff;
	color: #7a1735;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dv-size-swatch:hover,
.dv-size-swatch:focus-visible,
.dv-size-swatch[aria-pressed="true"] {
	border-color: #7a1735;
	background: #7a1735;
	color: #fff;
	box-shadow: 0 0 0 3px rgba(122, 23, 53, .14);
}

.dv-color-swatch.dv-option-unavailable,
.dv-size-swatch.dv-option-unavailable,
.dv-color-swatch.dv-option-unavailable:hover,
.dv-size-swatch.dv-option-unavailable:hover {
	position: relative;
	opacity: .52;
	filter: grayscale(.45);
	border-color: #b9a1a8;
	background: #f3eef0;
	color: #8c737b;
	box-shadow: none;
	cursor: not-allowed;
}

.dv-color-swatch.dv-option-unavailable::after,
.dv-size-swatch.dv-option-unavailable::after {
	content: "×";
	position: absolute;
	top: 50%;
	left: 50%;
	color: #7a1735;
	font: 700 28px/1 Arial, sans-serif;
	text-shadow: 0 0 2px #fff, 0 0 2px #fff;
	transform: translate(-50%, -53%);
	pointer-events: none;
}

.dv-size-swatch.dv-option-unavailable::after {
	font-size: 25px;
}

.dv-size-native-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.dv-simple-attributes {
	display: grid;
	gap: 8px;
	margin: 18px 0 16px;
	padding: 14px 0;
	border-top: 1px solid rgba(122, 23, 53, .18);
	border-bottom: 1px solid rgba(122, 23, 53, .18);
	font-family: Montserrat, sans-serif;
	color: #7a1735;
}

.dv-simple-attribute {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	line-height: 1.4;
}

.dv-simple-attribute span {
	font-weight: 600;
}

.dv-simple-attribute strong {
	font-weight: 700;
	text-align: right;
}

.dv-loop-color-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 8px 0 10px;
}

.dv-loop-color-label {
	width: 100%;
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	color: #7a1735;
}

.dv-loop-color-label strong {
	font-weight: 700;
}

.dv-loop-color-swatches .dv-color-swatch {
	width: 34px;
	height: 34px;
	padding: 2px;
}

.dv-gallery-customized > .flexy,
.dv-gallery-customized .flexy {
	display: none !important;
}

.dv-color-carousel {
	position: relative;
	width: 100%;
	margin: 0 0 18px;
	overflow: hidden;
	border-radius: 14px;
	background: #faf7f8;
}

.dv-color-carousel__viewport {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 4;
}

.dv-color-carousel__viewport img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dv-color-carousel button {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(122, 23, 53, .88);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 2;
}

.dv-color-carousel button:disabled {
	display: none;
}

.dv-color-carousel__prev { left: 10px; }
.dv-color-carousel__next { right: 10px; }

.dv-color-carousel__counter {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 4px 8px;
	border-radius: 12px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font: 600 11px/1.2 Montserrat, sans-serif;
}

@media (max-width: 767px) {
	.single-product .related.products {
		width: 100% !important;
		max-width: 100% !important;
		margin: 28px 0 0 !important;
		padding: 0 4px !important;
	}

	.single-product .related.products ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		transform: none !important;
	}

	.single-product .related.products ul.products li.product {
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		margin: 0 !important;
		float: none !important;
	}

	.single-product .related.products .dv-loop-color-swatches {
		gap: 4px;
		margin: 6px 0 8px;
	}

	.single-product .related.products .dv-color-swatch {
		width: 30px;
		height: 30px;
	}

	.single-product .related.products .dv-color-swatch img {
		border-radius: 50%;
	}

	.dv-color-swatches {
		gap: 8px;
		margin-bottom: 12px;
	}

	.dv-color-swatch {
		width: 50px;
		height: 50px;
	}

	.dv-size-swatch {
		width: 44px;
		height: 44px;
	}
}
