/**
 * GENERAL UI
 */

.na-status-bar {
	display: flex;
	justify-content: space-between;
	padding: 12px 20px;
	border-radius: var(--mt-border__radius);
	margin-bottom: 20px;
	font-size: 14px;
    background-color: #ecf6ff;
    color: #0f86ff;
    border: 1px solid rgb(15 134 255 / 10%);
}

.na-tabs-nav {
    display: flex;
    gap: 30px;
}

.na-tab-link {
	color: #7c818b;
    font-size: 14px;
    font-weight: 500;
	line-height: 2;
}

.na-tab-link.active::after {
	content: "";
	display: block;
    margin: 0 auto;
    background: var(--mt-color__primary);
    border-radius: 2px;
    width: 20px;
    height: 4px;
}

.na-tab-link.active {
    color: var(--mt-color__primary);
    border-bottom-color: var(--mt-color__primary);
}

.na-tab-pane {
	display: none;
	padding-top: 20px;
}

.na-tab-pane.active {
	display: block;
}


/* MEDIA QUERIES (RESPONSIVO) */
@media (max-width: 768px) {

	.na-status-bar {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.na-tabs-nav {
		justify-content: center;
		gap: 20px;
	}
}
/**dashboard ui*/


.woocommerce-MyAccount-content>p,
.woocommerce-MyAccount-content>h2:first-child,
.woocommerce-MyAccount-content>.u-columns {
	display: none !important;
}

.woocommerce-MyAccount-content>.na-dashboard-wrapper {
	display: block !important;
}

.na-dashboard-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 40px;
}

.na-header-info h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	color: #333;
}

.na-header-info span {
	color: #666;
	font-size: 14px;
}

.na-header-avatar { 
	position: relative; 
}

.na-header-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	/* border: 1px solid #eee; */
}

.na-avatar-edit-icon {
	position: absolute;
	bottom: 0;
	right: 0;
	background: #ffffff;
	box-shadow: 0px 2px 6px 0px var(--mt-color__primary--box-shadow);
	color: #1d2128;
	/* border: 1px solid #eee; */
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9;
}

.na-avatar-edit-icon span {
    font-size: 18px;
}

/* Grid con Flexbox */
.na-dashboard-flex-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

/* TARJETA VERTICAL (ICONO ARRIBA) */
.na-dashboard-card {
	flex: 1 1 calc(33.333% - 16px);
	min-width: 280px;
	background: #fff;
	/* border: 1px solid #eee; */
	border-radius: var(--mt-border__radius);
	padding: 30px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none !important;
	transition: 0.2s;
	box-sizing: border-box;
}

.na-dashboard-card:hover {
	border-color: #ddd;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.na-card-icon-box {
    margin-bottom: 10px;
    font-size: 30px;
}

.woocommerce-account .woocommerce-MyAccount-content .na-card-content h3 {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 5px;
}

.na-card-content p {
	margin: 0;
	font-size: 14px;
	color: #999;
	line-height: 1.3;
}

.na-dashboard-footer {
	margin-top: 40px;
}

.na-footer-privacy-box {
	display: flex;
    align-items: center;
    gap: 10px;
}

.na-footer-privacy-box p {
    margin: 0;
}


@media (max-width: 1100px) {
	.na-dashboard-card {
		flex: 1 1 calc(50% - 16px);
	}
}

@media (max-width: 650px) {
	.na-dashboard-card {
		flex: 1 1 100%;
	}

	.na-dashboard-header {
		flex-direction: row;
	}
}

/* Loader de Avatar */
.na-loader {
    position: absolute;
    top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
    display: flex; 
	align-items: center; 
	justify-content: center;
	background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    z-index: 5;
}

.na-loader .nekoSpinner {
    color: var(--mt-color__primary);
    border: 4px solid;
    border-top-color: transparent;
    width: 30px;
    height: 30px;
}

@keyframes na-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/**
* ORDER UI
 * **/

 /* Reset y v12.0 Intacta */
.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce-MyAccount-orders,
.woocommerce-orders-table,
.woocommerce-MyAccount-content>.woocommerce-pagination,
.woocommerce-MyAccount-content>table.shop_table {
	display: none !important;
}

.na-card-layout {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	/* border: 1px solid #eee; */
	border-radius: var(--mt-border__radius);
	margin-bottom: 15px;
	padding: 15px !important;
	background: #fff;
	box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
	gap: 15px;
}

.na-col-img {
	flex: 0 0 100px;
}

.na-col-img img {
	width: 90px;
	height: 90px;
	border-radius: var(--mt-border__radius);
	object-fit: contain;
}

.na-col-info {
	flex: 1;
	/* margin: 0 25px; */
	text-align: left;
}

.na-col-action {
    display: flex;
    flex-direction: column;
}

.na-action-row {
	display: flex;
    gap: 8px;
}

.na-col-action-buttons {
	flex: 0 0 220px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.na-date-label,
.na-meta-label,
.na-order-status-label {
	display: block;
	font-size: 11px;
	font-weight: 500;
	color: #7c818b;
}

.na-txt-completed {
	color: #00a650;
}

.na-txt-processing {
	color: #3483fa;
}

.na-product-title {
	width: 400px;
}

.na-order-number,
.na-product-title {
	display: block;
	font-size: 14px;
	color: #1d2128;
	font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.na-order-meta,
.na-wishlist-meta {
	font-size: 14px;
	color: #1d2128;
	font-weight: 500;
}

/* --- ESTILO PAGINACIÓN PRO (IMAGEN 2) --- */
.na-pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    font-family: inherit;
}

/* Botones de texto (Anterior / Siguiente) */
.na-page-prev, .na-page-next {
    color: #666;
    text-decoration: none !important;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.na-page-prev .arrow, .na-page-next .arrow {
    font-size: 20px;
    line-height: 1;
}

/* Números de página */
.na-page-num {
    padding: 6px 12px;
    color: #666;
    text-decoration: none !important;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

/* Página Activa (Cuadro Azul Imagen 2) */
.na-page-num.current {
    color: #3483fa;
    border: 1.5px solid #3483fa;
    font-weight: 500;
}

/* Estados desactivados y Hover */
.na-page-prev.disabled, .na-page-next.disabled {
    visibility: hidden;
}

.na-page-num:hover:not(.current) {
    background: #f5f5f5;
}


.na-action-links-row {
	display: flex;
	gap: 15px;
}

.na-link-secondary {
	font-size: 13px;
	text-decoration: none !important;
	font-weight: 500;
}

.na-link-blue {
	color: #3483fa;
}

.na-link-red,
.na-link-delete,
.na-stock-status.out-of-stock {
	color: #f44336;
}

.na-stock-status {
	font-size: 12px;
	font-weight: 500;
}

.na-stock-status.in-stock {
	color: #4CAF50;
}

.na-link-delete {
	display: block;
	font-size: 13px;
	font-weight: 500;
}

.na-link-delete:hover {
	text-decoration: underline !important;
}

.na-link-delete .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.na-empty-msg {
	padding: 40px;
	text-align: center;
	color: #999;
}

.na-button {
    line-height: 70px !important;
    width: 100% !important;
	border-radius: calc(var(--mt-border__radius) - 2px) !important;
}

.na-button-small {
    line-height: 35px !important;
    min-width: 90px !important;
    max-width: 140px;
	border-radius: calc(var(--mt-border__radius) - 4px) !important;
}


/* Detalles */
.na-d-container {
	max-width: 850px;
	margin: 0 auto;
	text-align: left;
}

.na-d-breadcrumbs {
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}

.na-d-card {
	background: #fff;
	/* border: 1px solid #eee; */
	border-radius: var(--mt-border__radius);
	margin-bottom: 15px;
	overflow: hidden;
}

.na-d-header {
	padding: 15px 25px;
	background: #fafafa;
	font-weight: 600;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	color: #1d2128;
}

.na-d-body {
	padding: 20px 25px;
}

.na-d-status-border {
	padding: 30px 25px;
	border-left: 5px solid #eee;
}

.na-d-b-completed {
	border-left-color: #00a650;
}

.na-d-b-processing {
	border-left-color: #3483fa;
}

.na-d-badge {
	font-weight: 700;
	font-size: 12px;
	margin-bottom: 5px;
	display: block;
}

.na-d-c-completed {
	color: #00a650;
}

.na-d-c-processing {
	color: #3483fa;
}

.na-d-title {
	font-size: 22px;
	margin: 0;
	color: #1d2128;
	font-weight: 500;
}

.na-d-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}

.na-d-button-reorder {
	background: #e3edfb;
	color: #3483fa !important;
	padding: 10px 25px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none !important;
}

.na-d-prod-row {
	display: flex;
	align-items: center;
	padding: 20px 25px;
	border-bottom: 1px solid #f5f5f5;
}

.na-d-img img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin-right: 20px;
}

.na-d-info {
	flex: 1;
}

.na-d-info h3 {
	font-size: 15px;
	font-weight: 400;
	margin: 0;
	color: #1d2128;
}

.na-d-rating {
	font-size: 12px;
	color: #3483fa;
	margin-top: 5px;
}

.na-d-rating a {
	text-decoration: none;
	margin-left: 10px;
	font-weight: 600;
}

.na-d-flex-row {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
}

.na-d-f1 {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.na-flex-column-card {
	display: flex;
	flex-direction: column;
}

.na-d-body-flex {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px 25px;
}

.na-d-address-content {
	flex: 1;
	margin-bottom: 20px;
}

.na-d-address-content p {
	margin: 0 0 8px 0;
	font-size: 14px;
	color: #666;
	line-height: 1.4;
}

.na-d-blue-txt {
	color: #3483fa;
	font-weight: 600;
	text-decoration: none;
}

.na-d-footer-link-fixed {
	border-top: 1px solid #eee;
	padding-top: 15px;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.na-d-totals {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.na-d-total-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #666;
}

.na-d-grand {
	border-top: 1px solid #eee;
	padding-top: 15px;
	font-size: 18px;
	color: #1d2128;
	font-weight: 700;
}

/* Popup Tracking */

.na-p-track-title {
	font-size: 22px;
	color: #1d2128;
	margin-bottom: 30px;
	font-weight: 600;
}

/* --- TIMELINE DINÁMICO (ACTUALIZADO) --- */
.na-p-timeline {
	position: relative;
	padding-left: 35px;
	margin: 20px 0;
}

/* 1. Quitamos la línea fija del contenedor */
.na-p-timeline::before {
	display: none;
}

/* 2. Cada paso crea su propio segmento de línea hacia ABAJO */
.na-tl-step {
	position: relative;
	margin-bottom: 35px;
	color: #ccc;
}

.na-tl-step::before {
	content: '';
	position: absolute;
	left: -29px;
	/* Alineado al centro de tus marcadores */
	top: 15px;
	/* Empieza después del punto */
	bottom: -40px;
	/* Llega hasta el punto del siguiente paso */
	width: 2px;
	background: #ccc;
	/* Gris por defecto */
	z-index: 1;
}

/* 3. El último paso no debe tener línea que baje */
.na-tl-step:last-child::before {
	display: none;
}

/* 4. Marcador genérico */
.na-tl-marker {
	position: absolute;
	left: -33px;
	top: 5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ccc;
	z-index: 2;
}

/* 5. LOGÍSTICA DE PINTADO: Si es PASADO, pintamos marcador y SU línea */
.na-tl-step.is-past {
	color: #ccc;
}

.na-tl-step.is-past::before {
	background: #000;
	/* PINTA LA LÍNEA DE NEGRO */
}

.na-tl-step.is-past .na-tl-marker {
	background: #000;
	/* PINTA EL PUNTO DE NEGRO */
}

/* --- ESTADO ACTIVO (Mantiene tus estilos) --- */
.na-tl-step.is-active {
	color: #000000;
}

.na-tl-step.is-active .na-tl-title {
	font-weight: 600;
}

.na-tl-step.is-active .na-tl-marker {
	background: #000000;
	width: 13px;
	height: 13px;
	left: -34px;
	top: 6px;
	border: none;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ccc;
}

/* Títulos y fechas (Sin cambios) */
.na-tl-title {
	font-size: 16px;
	font-weight: 400;
	color: inherit;
	margin: 0;
}

.na-tl-date {
	font-size: 13px;
	color: inherit;
	margin: 4px 0 0 0;
}


.na-p-guide-box {
	display: flex;
	gap: 20px;
	padding: 25px;
	/* border: 1px solid #eee; */
	border-radius: 10px;
	margin-bottom: 35px;
	align-items: center;
	background: #fafafa;
}

.na-p-guide-icon {
	width: 45px;
	height: 45px;
	background: #ffffff;
	border: 1px solid #ddd;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #1d2128;
}

.na-p-delivery-box h3 {
	font-size: 17px;
	margin-bottom: 15px;
	color: #1d2128;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

@media (max-width: 768px) {

	.na-col-info {
		text-align: center;
	}

	.na-d-flex-row,
	.na-card-layout {
		flex-direction: column;
	}

	.na-sh-modal-box {
		padding: 20px;
		width: 95%;
	}
}

@media (max-width: 768px) {
	.na-card-layout {
		flex-direction: column;
		text-align: center;
	}

	.na-col-info {
		margin: 15px 0;
	}

	.na-col-action {
		align-items: center;
		width: 100%;
	}

	.button na-button-blue,
	.button disabled na-button-disabled {
		width: 100%;
	}
}


/* REVIEWS */

.na-col-action-right {
	flex: 0 0 200px;
	text-align: right;
}

.na-stars-selector-list {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
}

.na-star-click {
	font-size: 27px;
	color: #ccc;
	cursor: pointer;
	transition: 0.2s;
}

.na-star-click:hover,
.na-star-click:hover~.na-star-click {
	color: #ffa132;
}

.na-stars-orange-small {
	color: #ffa132;
	font-size: 16px;
	margin-top: 5px;
}

.na-open-modal-edit {
	background: #f5f5f5;
	border: 1px solid #ddd;
	padding: 8px 15px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}

.na-modal-stars {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	margin-bottom: 20px;
}

.na-modal-stars input {
	display: none;
}

.na-modal-stars label {
	font-size: 40px;
	color: #ccc;
	cursor: pointer;
}

.na-modal-stars input:checked~label,
.na-modal-stars label:hover,
.na-modal-stars label:hover~label,
.na-modal-stars input[type=radio]:checked+label,
.na-modal-stars input[type=radio]:hover+label {
	color: #ffa132;
}

#na-close-modal {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
}

/* Hacer el checkbox un poquito más grande para móviles */
#na-anon-review {
	cursor: pointer;
	transform: scale(1.1);
}

/* --- CONTENEDOR DE PRIVACIDAD EN POPUP --- */
.na-checkbox-container {
	background-color: #f9f9f9;
	padding: 12px 15px;
	border-radius: 8px;
	margin: 15px 0;
	/* border: 1px solid #eee; */
	text-align: left;
}

.na-checkbox-container label {
	font-weight: 400 !important;
	color: #666 !important;
	line-height: 1.4;
}

.na-checkbox {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}

.na-checkbox-text {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	color: #707070 !important;
	line-height: 1.3;
}


@media (max-width: 768px) {
	.na-col-action-right {
		flex: 1;
		width: 100%;
		display: flex;
		justify-content: center;
	}
}



/* MODAL POPUP */

.na-modal-overlay {
    backdrop-filter: blur(1px);
}

/* Caja del modal */
.na-modal-window {
position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 500px;
    transform: translate(-50%, -50%);
    background-color: #fff;
    margin: 0;
    padding: 32px !important;
    border-radius: var(--mt-border__radius);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, .15);
    box-sizing: border-box;
}

/* Encabezado */
.na-modal-header {
    position: relative;
    margin-bottom: 16px;
}
.na-modal-title {
    margin: 0 0 30px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--mt-color__primary);
}
.na-modal-subtitle {
	color: var(--mt-color__primary);
	font-weight: 500;
}

.na-modal-close-button {
    position: absolute;
    top: -4px;
    right: -4px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #cccccc;
    transition: color 0.2s;
}
.na-modal-close-button:hover {
    color: #777777;
}

/* Campos de entrada genéricos */
.na-modal-textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* resize: none; */
    font-size: 14px;
    box-sizing: border-box;
    margin-top: 12px;
}
.na-modal-textarea:focus {
    border-color: #2271b1;
    outline: none;
}

/* Checkboxes y Opciones */
.na-checkbox-container {
    margin-top: 14px;
}
.na-checkbox-label,
.na-checkbox-label {
	display: flex !important;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	margin: 0 !important;
}

input[type=checkbox]:hover+span.na-anon-text-wrap,
input[type=checkbox]:checked+span.na-anon-text-wrap {
    color: #707070 !important;
}

.na-checkbox-hint {
    color: #7c818b;
    font-size: 11px;	
}

/* Botonería y Footer */
.na-modal-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.na-modal-delete-wrap {
    text-align: center;
}
.na-modal-delete-link {
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.na-modal-delete-link:hover {
    opacity: 0.8;
}


/* TRACKING SHIPPING */

/* Ocultar elementos vacíos de la malla */
.na-modal-footer-hidden {
    display: none !important;
}

/* Títulos de secciones internas */
.na-modal-section-title {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: #2c3338;
}

/* Caja de información de entrega */
.na-p-delivery-card {
    background: #f6f7f7;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #50575e;
}
.na-p-delivery-card p {
    margin: 0;
}
.na-p-recibe {
    margin-top: 6px !important;
    font-weight: 500;
    border-top: 1px solid #dcdcde;
    padding-top: 6px;
}

/* Enlaces del tracking */
.na-p-guide-link {
    color: #3483fa;
    font-weight: bold;
    text-decoration: none;
}

/* ANIMACIONES DE ENTRADA Y SALIDA UNIVERSALES */

.na-modal-overlay:not(.modal--open) .na-modal-window {
    animation: ZoomOut 0.15s forwards;
    transition: opacity 0.15s linear;
}

.na-modal-overlay.modal--open .na-modal-window {
    animation: ZoomIn 0.15s forwards;
    transition: opacity 0.15s linear;
}

@keyframes ZoomIn {
    0% {
        transform: translate(-50%, -50%) scale(0.5, 0.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1, 1);
        opacity: 1;
    }
}

@keyframes ZoomOut {
    0% {
        transform: translate(-50%, -50%) scale(1, 1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.5, 0.5);
        opacity: 0;
    }
}


/* ACCOUNT DATAILS */

/* Ocultamos los bloques antiguos de WooCommerce */
.woocommerce-MyAccount-content > form.edit-account, 
.woocommerce-MyAccount-content > h3 { 
	display: none !important; 
}
.woocommerce-MyAccount-content > .na-form { 
	display: block !important; 
}

.woocommerce-edit-account .woocommerce-MyAccount-content {
	padding: 32px !important;
	border: 1px solid #ecf0f4 !important;
}	

.woocommerce form .password-input .show-password-input {
	opacity: .2;
}

.woocommerce form .password-input .show-password-input.display-password {
	background-color: #fff !important;
}

/* Envoltura general */
.na-form { 
	background: #fff;
    /* border: 1px solid #eee; */
    border-radius: var(--mt-border__radius);
    padding: 30px;
}
.na-form-header h2 { 
	font-size: 20px !important; 
	margin-top: 0; 
}
.na-section-subtitle-security {
	font-size: 18px;
	margin: 0;
}

/* Distribución de la Malla Flex */
.na-row { 
	display: flex; 
	flex-wrap: wrap; 
	gap: 15px; 
	width: 100%; 
}

/* ARQUITECTURA DE INPUTS FLOTANTES DE FUNNELKIT CHECKOUT */
.na-form-wrapper {
	flex: 1;
	height: 50px;
	position: relative;
	background: #fff;
	box-sizing: border-box;
}
.na-form-wrapper.na-full-width {
	flex: 0 0 100%;
}

/* Estilo base del input */
.na-form-control.na-field-input {
	width: 100% !important;
	font-size: 14px;
	line-height: 1;
	width: 100%;
	background-color: #fff;
	position: relative;
	display: block;
	min-height: 50px;
	padding: 20px 15px 2px;
	vertical-align: top;
	box-shadow: none;
	font-weight: 400;
	height: auto;
	margin-bottom: 0;
	margin-top: 0;
	max-width: 100%;
}

/* Iluminación al hacer foco */
.na-form-control.na-field-input:focus {
	/* border-color: #3483fa !important; */
}

/* Estilo base de la etiqueta */
.na-form-control-label {
	color: #999 !important;
	position: absolute;
	top: 50%;
	left: 15px;
	margin-top: -7px;
	transform-origin: left top;
	font-size: 14px;
	line-height: 1;
	font-weight: 400;
	pointer-events: none;
	transition: all .235s ease;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	z-index: 9;
	bottom: auto;
	right: 22px;
	margin-bottom: 0;
}

.na-form-control.na-field-input:focus + .na-form-control-label,
.na-form-control.na-field-input:not(:placeholder-shown) + .na-form-control-label {
	top: 6px !important;
	font-size: 12px !important;
	background: 0 0 !important;
	bottom: auto;
	right: 8px;
	margin-top: 0;
	line-height: 1.3;
}

/* Foco específico para la etiqueta */
.na-form-control.na-field-input:focus + .na-form-control-label {
	/* color: #3483fa !important; */
}

.na-button-save-address:hover { 
	background: #000; 
}

/* .na-mt-15 { margin-top: 15px; }
.na-mt-40 { margin-top: 40px; }
.na-w-100 { width: 100%; } */

@media (max-width: 768px) { 
	.na-row { flex-direction: column; } 
}

/* ACCOUNT ADDRESS */

/* Ocultamos los bloques antiguos de WooCommerce */
.woocommerce-MyAccount-content > form, 
.woocommerce-address-fields, 
.woocommerce-MyAccount-content > h3 { 
	display: none !important; 
}

.woocommerce-MyAccount-content > .na-addresses-wrapper, 
.woocommerce-MyAccount-content > .na-form.na-address { 
	display: block !important; 
}

.na-back-link { 
	font-size: 14px; 
	text-decoration: none; 
	color: #3483fa; 
	display: inline-block; 
	margin-bottom: 20px; 
} 

/* DINÁMICA DE FLOTACIÓN POR CSS PURO (Bypass de JS) */ 
.na-form-control.na-field-input:focus + .na-form-control-label, 
.na-form-control.na-field-input:not(:placeholder-shown) + .na-form-control-label, 
.na-form-control-label.na-label-select-active { 
	top: 6px !important; 
	font-size: 11px !important; 
	background: 0 0 !important; 
	bottom: auto; 
	right: 8px; 
	margin-top: 0; 
	line-height: 1.3; 
} 

/* Ajustes selectores nativos */ 
.na-form-select { 
	appearance: none; 
	-webkit-appearance: none; 
	cursor: pointer; 
} 

/* Clases de separación e interfaces extras */ 
.na-toggle-wrapper { 
	/* margin-top: 12px;  */
} 
.na-toggle-link { 
	font-size: 13px; 
	color: #3483fa; 
	text-decoration: none; 
	font-weight: 500; 
} 

/* ESTADO INICIAL DEL ACORDEÓN: Altura cero y totalmente invisible */ 
.na-hidden-fields { 
	max-height: 0; 
	overflow: hidden; 
	opacity: 0; 
	visibility: hidden; 
	transition: max-height 0.28s cubic-bezier(0.25, 1, 0.5, 1), 
				opacity 0.2s ease-out, 
				visibility 0.2s ease-out; 
} 

/* ESTADO ACTIVO DEL ACORDEÓN: Se despliega de forma elástica */ 
.na-hidden-fields.is-active { 
	max-height: 100px; /* Altura de seguridad para cubrir el input cómodamente */ 
	opacity: 1; 
	visibility: visible; 
} 

/* Envoltura interna que aísla los márgenes para evitar brincos visuales */ 
.na-toggle-inner { 
	/* padding-top: 4px; 
	padding-bottom: 12px;  */
	box-sizing: border-box; 
} 

/* Enlaces de activación (+ Agregar...) */ 
.na-toggle-link { 
	display: inline-block; 
	transition: opacity 0.15s linear; 
} 
.na-toggle-link.is-hidden { 
	display: none !important; 
} 

/* CORRECCIÓN TÉCNICA: Borrado el antiguo 'display: none;' que bloqueaba la animación */ 
.na-mt-5 { margin-top: 5px; } 
.na-mt-15 { margin-top: 15px; } 
.na-mt-40 { margin-top: 40px; } 
.na-w-100 { width: 100%; }

/* Fichas de direcciones guardadas de la vista inicial */
.na-addresses-flex-container { 
	display: flex; 
	flex-wrap: wrap; 
	gap: 20px; 
	margin-top: 20px; 
} 
.na-address-card { 
	flex: 1 1 calc(50% - 20px); 
	min-width: 300px; 
	background: #fff; 
	/* border: 1px solid #eee; */ 
	border-radius: 12px; 
	display: flex; 
	flex-direction: column; 
	justify-content: space-between; 
	box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
} 
.na-address-body { 
	padding: 25px; 
	display: flex; 
	gap: 15px; 
} 
.na-address-icon-box { 
	width: 40px; 
	height: 40px; 
	background: #f8f9fa; 
	border-radius: 50%; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	flex-shrink: 0; 
} 
.na-address-icon-box .dashicons { 
	color: #333; 
	font-size: 20px; 
	width: 20px; 
	height: 20px; 
} 
.na-address-info h3 { 
	margin: 0 0 5px 0; 
	font-size: 16px; 
	font-weight: 600; 
	color: #333; 
} 
.na-address-info address { 
	font-style: normal; 
	color: #777; 
	font-size: 14px; 
	line-height: 1.5; 
} 
.na-address-footer { 
	padding: 15px 25px; 
	border-top: 1px solid #f5f5f5; 
	text-align: right; 
} 
.na-button-edit { 
	color: #3483fa; 
	font-weight: 600; 
	font-size: 14px; 
	text-decoration: none !important; 
} 
@media (max-width: 768px) { 
	.na-address-card { flex: 1 1 100%; } 
} 

/* ACCOUNT COUPONS */

.na-coupon-title {
	display: block;
	font-size: 14px;
	color: #1d2128;
	font-weight: 500;
	margin-bottom: 5px;
	line-height: 1.2;
	text-transform: uppercase;
}

.na-coupons { 
	display: flex;
	flex-wrap: wrap; 
	gap: 20px; 
	margin-top: 15px; 
}
.na-coupon-card {
	flex: 1 1 350px;
	max-width: 400px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	transition: 0.3s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.na-coupon-disabled {
	opacity: 0.6;
	filter: grayscale(1);
	pointer-events: none;
}
.na-coupon-body { 
	padding: 20px;
	display: flex;
	gap: 15px;
	flex-grow: 1;
	align-items: flex-start;
}
.na-coupon-icon { 
	width: 45px;
	height: 45px;
	background: #f5f5f5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.na-coupon-icon .dashicons { 
	color: #ccc;
	font-size: 22px;
	width: 22px;
	height: 22px;
	font-size: 24px;
	color: #000; 
}
.na-coupon-info { 
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}
.na-coupon-benefit {
	margin: 0 0 5px 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
	line-height: 1.2;
}
.na-coupon-scope {
	margin: 0;
	font-size: 13px;
	color: #666;
}

.na-coupon-scope span {
    display: block;
    color: var(--mt-color__primary);
}

.na-coupon-meta {
	margin: 0;
	font-size: 12px;
	color: #999;
}
.na-info-circle {
	display: inline-block;
	width: 13px;
	height: 13px;
	border: 1px solid #ccc;
	border-radius: 50%;
	text-align: center;
	font-size: 9px;
	line-height: 12px;
	color: #999;
	margin-left: 2px;
}
.na-coupon-footer {
	padding: 12px 20px;
	border-top: 1px dashed #eee;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
}
.na-coupon-expiry { 
	font-size: 13px;
	color: #999;
}
.na-coupon-expiry.na-urgent { 
	color: #ff7733; 
	font-weight: 600; 
}
.na-coupon-button { 
	background: #3483fa;
	color: #fff !important;
	padding: 7px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important; 
}
@media (max-width: 600px) {
	.na-coupon-card {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.na-coupon-title {
	display: block;
	font-size: 18px !important;
	color: #1d2128;
	font-weight: 500;
	margin-bottom: 5px;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Alineación horizontal del footer */
.na-coupon-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botón de gatillo minimalista */
.na-coupon-info-trigger {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #8c8f94;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: none !important;
    outline: none !important;
    transition: color 0.15s ease;
}
.na-coupon-info-trigger:hover {
    color: #3483fa;
}

/* Lista del modal interactivo */
.na-coupon-modal-list p {
    margin: 0 0 14px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3338;
}
.na-coupon-modal-list p span {
    font-weight: 600;
    color: #50575e;
    display: block;
    margin-bottom: 2px;
}

/* --- ANIMACIÓN CLÁSICA DE ZOOM CON CENTRADO ABSOLUTO PROTEGIDO (.15s) --- */
.neko-coupon-modal-wrapper:not(.modal--open) .na-modal-window {
    animation: naCouponZoomOut 0.15s forwards;
    transition: opacity 0.15s linear;
}
.neko-coupon-modal-wrapper.modal--open .na-modal-window {
    animation: naCouponZoomIn 0.15s forwards;
    transition: opacity 0.15s linear;
}

@keyframes naCouponZoomIn {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes naCouponZoomOut {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
}
