/* ==========================================================================
   CONFIGURADOR DE PRODUCTOS OHMYGLOBOS (ACORDEÓN GUIADO POR PASOS)
   ========================================================================== */

.omg-customizer-box {
	margin: 15px 0 25px;
	padding: 0;
	font-family: 'PT Sans', sans-serif;
	width: 100%;
}

.omg-accordion-customizer {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Tarjeta de cada Paso */
.omg-step-card {
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #ffffff;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.omg-step-card.is-active {
	border-color: #DE828F;
	box-shadow: 0 4px 14px rgba(222, 130, 143, 0.15);
}

.omg-step-card.is-completed {
	border-color: #d1d5db;
}

.omg-step-card.is-locked {
	opacity: 0.6;
	background-color: #fbfbfb;
	pointer-events: none;
}

/* Encabezado del Paso */
.omg-step-header {
	padding: 12px 16px;
	background-color: #f8f9fa;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	user-select: none;
	transition: background-color 0.2s ease;
}

.omg-step-card.is-active .omg-step-header {
	background-color: #fdf5f6;
}

.omg-step-header:hover {
	background-color: #f0f0f0;
}

.omg-step-number {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #797d89;
	color: #ffffff;
	font-weight: 700;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background-color 0.2s ease;
}

.omg-step-card.is-active .omg-step-number {
	background: #DE828F;
}

.omg-step-card.is-completed .omg-step-number {
	background: #27ae60;
}

.omg-step-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #282828;
	flex-grow: 1;
}

.omg-step-summary {
	font-size: 12.5px;
	color: #666666;
	font-weight: 600;
	margin-right: 8px;
	max-width: 170px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: right;
}

.omg-step-card.is-completed .omg-step-summary {
	color: #27ae60;
}

.omg-step-icon {
	font-size: 13px;
	color: #797d89;
	transition: transform 0.3s ease;
}

.omg-step-card.is-active .omg-step-icon {
	transform: rotate(180deg);
	color: #DE828F;
}

/* Cuerpo / Contenido desplegable */
.omg-step-body {
	display: none;
	padding: 18px 16px;
	border-top: 1px solid #eeeeee;
	background: #ffffff;
}

.omg-step-card.is-active .omg-step-body {
	display: block;
}

.omg-substep {
	width: 100%;
}

.omg-substep > .label {
	display: block;
	margin-bottom: 8px;
	font-size: 13.5px;
}

/* 1. Swatches de colores 35x35 con tooltip 130x130 */
.omg-swatches-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}

.omg-swatch-item {
	position: relative;
	display: inline-block;
	width: 37px;
	height: 37px;
	cursor: pointer;
	margin: 0;
	user-select: none;
}

.omg-swatch-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.omg-swatch-Square {
	display: block;
	width: 35px;
	height: 35px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #dadada;
	box-sizing: border-box;
	transition: all 0.15s ease;
}

.omg-swatch-item:hover .omg-swatch-Square {
	border: 2px solid #DE828F;
}

.omg-swatch-item.selected .omg-swatch-Square {
	border: 2px solid #ff5501;
	outline: 1px solid #ff5501;
	box-shadow: 0 2px 6px rgba(255, 85, 1, 0.25);
}

/* Checkmark indicador en esquina cuando está seleccionado */
.omg-swatch-item.selected::after {
	content: "\2713";
	position: absolute;
	bottom: -2px;
	right: -2px;
	background: #ff5501;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	z-index: 2;
}

/* Tooltip emergente al hacer hover sobre el swatch (como MageWorx 130x130) */
.omg-swatch-tooltip {
	display: none;
	position: absolute;
	bottom: 44px;
	left: 50%;
	transform: translateX(-50%);
	background: #ffffff;
	border: 1px solid #dcdcdc;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
	padding: 8px;
	border-radius: 4px;
	z-index: 999;
	width: 135px;
	text-align: center;
	pointer-events: none;
}

.omg-swatch-tooltip img {
	width: 115px;
	height: 115px;
	object-fit: contain;
	display: block;
	margin: 0 auto 4px;
}

.omg-swatch-tooltip strong {
	display: block;
	font-size: 12px;
	color: #282828;
	line-height: 1.2;
}

.omg-swatch-item:hover .omg-swatch-tooltip {
	display: block;
}

.omg-selected-colors-label {
	font-size: 12.5px;
	color: #555555;
	margin-top: 4px;
}

/* 2. Botones tipo pill para Caras, Tintas y Sentido (.mageworx-swatch-option.text) */
.omg-pill-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.omg-option-pill {
	background: #f4f4f4;
	border: 1px solid #dadada;
	color: #282828;
	padding: 7px 14px;
	font-family: 'PT Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	min-width: 82px;
	text-align: center;
	transition: all 0.15s ease;
}

.omg-option-pill:hover {
	border-color: #DE828F;
	background: #ffffff;
}

.omg-option-pill.active {
	background: #ffffff;
	border: 2px solid #ff5501;
	color: #282828;
	padding: 6px 13px;
}

.omg-hidden-select {
	display: none !important;
}

/* 3. Desplegable de Cantidad y Precios (Dropdown) */
.omg-qty-select-wrap {
	position: relative;
	width: 100%;
}

.omg-qty-dropdown {
	width: 100% !important;
	padding: 10px 14px !important;
	font-family: 'PT Sans', sans-serif !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	color: #282828 !important;
	background-color: #ffffff !important;
	border: 2px solid #DE828F !important;
	border-radius: 4px !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
	cursor: pointer !important;
	outline: none !important;
	transition: border-color 0.2s, box-shadow 0.2s !important;
}

.omg-qty-dropdown:focus {
	border-color: #ff5501 !important;
	box-shadow: 0 0 0 3px rgba(255, 85, 1, 0.15) !important;
}

.omg-qty-dropdown option {
	font-weight: 500;
	padding: 8px;
}

/* Revelado progresivo con animación suave */
.omg-step-group {
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.omg-step-group.omg-step-hidden {
	display: none !important;
	opacity: 0;
	transform: translateY(10px);
}

.omg-step-group.omg-step-visible {
	display: block !important;
	opacity: 1;
	transform: translateY(0);
}

/* 4. Campos de texto, subida de archivo y área de comentarios */
.omg-field-group input[type="text"],
.omg-field-group textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #c2c2c2;
	background-color: #ffffff;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	color: #282828;
	box-sizing: border-box;
	border-radius: 1px;
}

.omg-field-group input[type="text"]:focus,
.omg-field-group textarea:focus {
	border-color: #DE828F;
	outline: none;
}

.omg-field-group input[type="file"] {
	font-family: 'PT Sans', sans-serif;
	font-size: 13px;
	margin-bottom: 4px;
}

.omg-field-note {
	font-size: 12px;
	color: #666666;
	margin: 4px 0 0;
}
