/**
Theme Name: ncautopartes-vzla
Author: Carlos Bastidas
Author URI: http://wpastra.com/about/
Description: Thema hijo del thema principal de Astra, para la pagina de NC Autopartes.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ncautopartes-vzla
Template: astra
*/

/* Ocultar el icono del carrito en Astra para visitantes */
body:not(.logged-in) .cart-container, 
body:not(.logged-in) .ast-addon-cart-wrap {
    display: none !important;
}

.woocommerce-MyAccount-navigation-link--bulkorder {
    display: none !important;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex-grow: 1;
}

/* WooCommerce B2B Sales Agents: ocultar botón "Order for" en tabla de clientes (sin tocar el plugin). */
.table[data-name="customers"] td.text-nowrap > form.mt-1 {
	display: none !important;
}

.input-read-only {
	input {
		background-color: #aaabb25c !important;	
	}
}

.woocommerce-input-wrapper .select2-container--disabled .select2-selection--single { 
	background-color: #aaabb25c !important;
}

.b2bking_bulkorder_container_final {
	div, select, button {
		font-family: 'Inter', sans-serif !important;
	}
}

.page-title {
	color: #000000 !important;
}

.odoo-link--container {
	display: flex;
	flex-direction: column;
	
	.odoo-link--anchor {
		font-size: 35px;
		margin: 25px 0 !important;
	}
}

/* Tarjetas de categorías para [nc_category_slider] */
.nc-cat-slider {
	position: relative;
	margin: 2rem 0;
	overflow: hidden;
}

.nc-cat-slider__track {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 20px;
}

/* Track en modo slider: permitir varias filas */
.nc-cat-slider.nc-cat-slider--scroll .nc-cat-slider__track {
    display: grid;
    grid-auto-flow: column;
    /* Ajuste matemático: 100% dividido 3, restando exactamente los 2 gaps */
    grid-auto-columns: calc((100% - 40px) / 3);
    grid-template-rows: repeat(2, auto);
    grid-template-columns: none; /* Anulamos el repeat(auto-fit) de arriba */
    gap: 20px;
    
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    
    padding: 0 0 15px 0; /* Asegúrate que no haya padding lateral aquí */
    margin: 0;
    box-sizing: border-box;

    /* Ocultar barra de scroll horizontal manteniendo el desplazamiento */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge antiguo */
}

.nc-cat-slider.nc-cat-slider--scroll .nc-cat-slider__track::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Edge */
}

/* Desktop: 3 tarjetas visibles aprox. */
.nc-cat-slider.nc-cat-slider--scroll .nc-cat-card {
    scroll-snap-align: start;
    box-sizing: border-box;
}


.nc-cat-card {
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nc-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.nc-cat-card__image img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.nc-cat-card__name {
	padding: 16px 12px 18px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	font-size: 1rem;
}

/* Quitar subrayado/borde de los títulos (anchors) */
.nc-cat-card__name a {
	text-decoration: none;
	border-bottom: none;
}

.nc-cat-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 55px;
	height: 55px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0;
	font-size: 22px;
	line-height: 1;
	z-index: 10;
	color: #1B2D47;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nc-cat-slider__btn .elementor-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nc-cat-slider__btn .elementor-icon,
.nc-cat-slider__btn .elementor-icon i {
	color: #1B2D47;
}

.nc-cat-slider__btn:hover {
	background: #ffffff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.1);
	color: #1a2c46;
}

.nc-cat-slider__btn:focus,
.nc-cat-slider__btn:active {
    background: #ffffff;                    /* mismo que base/hover */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1B2D47;
    outline: none;
}

.nc-cat-slider__btn--prev {
	left: 12px;
}

.nc-cat-slider__btn--next {
	right: 12px;
}

@media (max-width: 768px) {
	.nc-cat-slider__btn {
		width: 38px;
		height: 38px;
		min-width: 38px;
		min-height: 38px;
		max-width: 38px;
		max-height: 38px;
		font-size: 18px;
	}
	.nc-cat-slider__btn--prev {
		left: 8px;
	}
	.nc-cat-slider__btn--next {
		right: 8px;
	}
}

.nc-extra-info-table {
    margin-top: 15px;
}

/* Barra de título con el color solicitado */
.nc-extra-info-table__header {
    background-color: #1b2d47;
    color: #ffffff;
    padding: 8px 14px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Tabla similar a la de "Información adicional" */
.nc-extra-info-table table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.nc-extra-info-table table.shop_attributes th,
.nc-extra-info-table table.shop_attributes td {
    padding: 8px 14px;
    font-size: 13px;
    border-bottom: 1px solid #65696F;
	border-width: 2px 2px 1px 2px;
}

.nc-extra-info-table table.shop_attributes th {
    font-weight: 600;
    color: #333333;
}

.nc-extra-info-table table.shop_attributes tr:nth-child(even) td {
    background-color: #fafafa;
}

/* WooCommerce B2B Sales Agents - Sales agent dashboard (custom override) */
.nc-sales-agent-dashboard {
	padding-top: 12px;
}

.nc-sales-agent-dashboard__stats {
	margin-bottom: 18px;
}

@media (max-width: 768px) {
	.nc-sales-agent-dashboard__stats {
		gap: 15px;
	}
}

.nc-sales-agent-stat {
	background: #ffffff;
	border: 1px solid rgba(27, 45, 71, 0.10);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(27, 45, 71, 0.05);
	padding: 18px 18px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	min-height: 98px;
}

.nc-sales-agent-stat__label {
	/* DevTools: título arriba, value debajo dentro del mismo contenedor */
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
	font-size: 12.5px;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.nc-sales-agent-stat__value {
	/* Compatibilidad por si el value sigue siendo un div separado */
	margin-top: 10px;
	font-size: 34px;
	font-weight: 800;
	color: #1b2d47;
	line-height: 1;
}

.nc-sales-agent-stat__icon {
	color: #1b2d47;
	opacity: 0.92;
	font-size: 35px;
	padding-top: 0;
	align-self: center;
	line-height: 1;
}

/* Valor numérico / precio: clase explícita para coexistir con el subtítulo de período. */
.nc-sales-agent-stat__label > .nc-sales-agent-stat__value {
	font-size: 28px;
	font-weight: 800;
	color: #1b2d47;
	line-height: 1;
}

.nc-sales-agent-stat__period {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	font-weight: 600;
	color: #9ca3af;
	text-transform: none;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.nc-sales-agent-dashboard__panels .nc-sales-agent-panel {
	background: #ffffff;
	border: 1px solid rgba(27, 45, 71, 0.10);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(27, 45, 71, 0.05);
	overflow: hidden;
}

@media (max-width: 768px) {
	.nc-sales-agent-dashboard__panels {
		gap: 15px;
	}
}

.nc-sales-agent-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: #f8fafc;
	border-bottom: 1px solid rgba(27, 45, 71, 0.08);
}

.nc-sales-agent-panel__title {
	font-size: 16px;
	font-weight: 800;
	color: #111827;
}

.nc-sales-agent-panel__view-all {
	font-size: 13px;
	font-weight: 700;
	color: #1b2d47;
	text-decoration: none;
}

.nc-sales-agent-panel__view-all:hover {
	text-decoration: underline;
}

.nc-sales-agent-panel__empty {
	padding: 16px;
	color: #6b7280;
	font-size: 13px;
}

.nc-sales-agent-recent {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #94a3b8 #e5e7eb;
}

.nc-sales-agent-recent::-webkit-scrollbar {
	height: 8px;
}

.nc-sales-agent-recent::-webkit-scrollbar-track {
	background: #e5e7eb;
	border-radius: 999px;
}

.nc-sales-agent-recent::-webkit-scrollbar-thumb {
	background: #94a3b8;
	border-radius: 999px;
}

.nc-sales-agent-recent::-webkit-scrollbar-thumb:hover {
	background: #64748b;
}

.nc-sales-agent-recent__table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
	font-weight: 800;
	border-top: 0;
	border-bottom: 1px solid rgba(27, 45, 71, 0.08) !important;
}

.nc-sales-agent-recent__table td {
	font-size: 13px;
	color: #111827;
	border-top: 1px solid rgba(27, 45, 71, 0.05) !important;
}

.nc-sales-agent-recent__table tbody tr:first-child td {
	border-top: 0 !important;
}

.nc-sales-agent-recent__table .nc-sales-agent-recent__order {
	font-weight: 800;
	white-space: nowrap;
}

.nc-sales-agent-link {
	color: #1b2d47;
	font-weight: 800;
	text-decoration: none;
	font-size: 13px;
}

.nc-sales-agent-link:hover {
	text-decoration: underline;
}

.nc-sales-agent-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	background: #f1f5f9;
	color: #475569;
	white-space: nowrap;
}

.nc-sales-agent-pill--warning {
	background: #fff7ed;
	color: #9a3412;
}

.nc-sales-agent-pill--info {
	background: #eff6ff;
	color: #1d4ed8;
}

.nc-sales-agent-pill--success {
	background: #ecfdf5;
	color: #065f46;
}

.nc-sales-agent-pill--neutral {
	background: #f1f5f9;
	color: #475569;
}

.nc-sales-agent-inactive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #94a3b8 #e5e7eb;
}

.nc-sales-agent-inactive::-webkit-scrollbar {
	height: 8px;
}

.nc-sales-agent-inactive::-webkit-scrollbar-track {
	background: #e5e7eb;
	border-radius: 999px;
}

.nc-sales-agent-inactive::-webkit-scrollbar-thumb {
	background: #94a3b8;
	border-radius: 999px;
}

.nc-sales-agent-inactive::-webkit-scrollbar-thumb:hover {
	background: #64748b;
}

.nc-sales-agent-inactive__table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
	font-weight: 800;
	border-top: 0;
	border-bottom: 1px solid rgba(27, 45, 71, 0.08) !important;
}

.nc-sales-agent-inactive__table td {
	font-size: 13px;
	color: #111827;
	border-top: 1px solid rgba(27, 45, 71, 0.05) !important;
}

.nc-sales-agent-inactive__table tbody tr:first-child td {
	border-top: 0 !important;
}

/* Sales agent — reports page (matches dashboard panels) */
.nc-sales-agent-reports {
	display: flex;
	justify-content: center;
	padding-top: 12px;
}

.nc-sales-agent-reports__wrap {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
}

.nc-sales-agent-reports .nc-sales-agent-panel {
	background: #ffffff;
	border: 1px solid rgba(27, 45, 71, 0.10);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(27, 45, 71, 0.05);
	overflow: hidden;
}

.nc-sales-agent-reports__content {
	padding: 20px 18px 22px;
}

.nc-sales-agent-reports__intro {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 500;
	color: #6b7280;
}

.nc-sales-agent-reports__field {
	width: 100%;
}

.nc-sales-agent-reports__label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 800;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.nc-sales-agent-reports__select {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 10px 40px 10px 14px;
	border: 1px solid rgba(27, 45, 71, 0.12);
	border-radius: 10px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231b2d47' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	appearance: none;
	-webkit-appearance: none;
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

/* Placeholder state — empty / no report chosen yet */
.nc-sales-agent-reports__select:required:invalid,
.nc-sales-agent-reports__select.nc-sales-agent-reports__select--placeholder {
	color: #9ca3af;
	font-weight: 500;
}

.nc-sales-agent-reports__select option {
	color: #111827;
	font-weight: 600;
}

.nc-sales-agent-reports__select option[value=""] {
	color: #9ca3af;
	font-weight: 500;
}

.nc-sales-agent-reports__select:hover {
	border-color: rgba(27, 45, 71, 0.22);
}

.nc-sales-agent-reports__select:focus {
	outline: none;
	border-color: #2f67b2;
	box-shadow: 0 0 0 3px rgba(47, 103, 178, 0.15);
}

.nc-sales-agent-reports__field--hidden,
.nc-sales-agent-reports__field[hidden] {
	display: none !important;
}

.nc-sales-agent-reports__field:not(.nc-sales-agent-reports__field--hidden):not([hidden]) {
	display: block;
}

.nc-sales-agent-reports__field + .nc-sales-agent-reports__field {
	margin-top: 18px;
}

.nc-sales-agent-reports__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.nc-sales-agent-reports__actions-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
}

.nc-sales-agent-reports .nc-product-card__cta {
	width: auto;
	min-width: 168px;
	margin-top: 0;
	gap: 8px;
}

.nc-sales-agent-reports .nc-product-card__cta i {
	font-size: 14px;
}

.nc-sales-agent-reports__btn-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	min-height: 44px;
	padding: 11px 16px;
	border-radius: 12px;
	border: 1px solid #0f1a33;
	background: #ffffff;
	color: #0f1a33;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nc-sales-agent-reports__btn-clear:hover,
.nc-sales-agent-reports__btn-clear:focus {
	background: #f1f5f9;
	color: #0f1a33;
	border-color: #1b2d47;
}

.nc-sales-agent-reports__status {
	margin: 12px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
}

.nc-sales-agent-reports__status.is-error {
	color: #b91c1c;
}

.nc-customer-support__header {
	margin-bottom: 28px;
}

.nc-customer-support__title {
	font-size: 34px;
	line-height: 1.15;
	font-weight: 800;
	color: #1f2937;
	margin: 0 0 12px;
}

.nc-customer-support__subtitle {
	font-size: 17px;
	line-height: 1.25;
	font-weight: 500;
	color: #374151;
	margin: 0;
}

.nc-customer-support__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-items: center;
	gap: 20px;
}

.nc-customer-support__card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 22px 24px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	width: 100%;
	max-width: 400px;

}

.nc-customer-support__card-title {
	font-size: 17px;
	line-height: 1.1;
	font-weight: 700;
	color: #111827;
	margin: 0 0 12px;
}

.nc-customer-support__card-text {
	font-size: 14px;
	line-height: 1.25;
	color: #374151;
	margin: 0;
	min-height: 90px;
}

.nc-customer-support__divider {
	height: 1px;
	background: #e5e7eb;
	margin: 18px 0;
}

.nc-customer-support__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: 8px;
	background: linear-gradient(180deg, #2f67b2 0%, #23549c 100%);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 10px rgba(20, 44, 88, 0.24);
}

.nc-customer-support__btn:hover,
.nc-customer-support__btn:focus {
	color: #ffffff;
	text-decoration: none;
	filter: brightness(1.03);
}

@media (max-width: 1200px) {
	.nc-customer-support__grid {
		grid-template-columns: 1fr;
	}

	.nc-customer-support__title {
		font-size: 28px;
	}

	.nc-customer-support__subtitle {
		font-size: 16px;
	}

	.nc-customer-support__card-title {
		font-size: 17px;
	}

	.nc-customer-support__card-text {
		font-size: 14px;
		min-height: 0;
	}

	.nc-customer-support__btn {
		font-size: 15px;
	}
}

/* Sales agent — customer profile (details) layout */
.nc-customer-profile {
	padding-top: 4px;
	padding-bottom: 8px;
	font-size: 14px;
	color: #374151;
}

.nc-customer-profile__title {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #111827;
	margin: 0 0 10px;
	line-height: 1.25;
	text-transform: uppercase;
}

.nc-customer-profile__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #6b7280;
}

.nc-customer-profile__breadcrumb .fa-building {
	color: #2f67b2;
	font-size: 14px;
	opacity: 0.9;
}

.nc-customer-profile__breadcrumb a {
	color: #1b2d47;
	text-decoration: none;
	font-weight: 700;
}

.nc-customer-profile__breadcrumb a:hover {
	text-decoration: underline;
}

.nc-customer-profile__bc-sep {
	color: #9ca3af;
	font-weight: 600;
}

.nc-customer-profile__bc-current {
	color: #374151;
	font-weight: 700;
}

.nc-customer-profile__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 16px;
}

.nc-customer-profile__stat {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	background: #ffffff;
	border: 1px solid rgba(27, 45, 71, 0.10);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(27, 45, 71, 0.05);
	padding: 14px 16px;
	min-height: 88px;
}

.nc-customer-profile__stat-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.nc-customer-profile__stat-label {
	font-size: 11px;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.nc-customer-profile__stat-value {
	font-size: 1.35rem;
	font-weight: 800;
	color: #1b2d47;
	line-height: 1.15;
}

.nc-customer-profile__stat-value .woocommerce-Price-amount {
	font-weight: 800;
	color: inherit;
}

.nc-customer-profile__stat-value--date {
	font-size: 1.05rem;
	font-weight: 700;
}

.nc-customer-profile__stat-icon {
	flex-shrink: 0;
	align-self: center;
	color: #2f67b2;
	font-size: 1.65rem;
	line-height: 1;
	opacity: 0.95;
}

.nc-customer-profile__stat-icons {
	flex-shrink: 0;
	align-self: center;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #2f67b2;
	font-size: 1.45rem;
	line-height: 1;
}

.nc-customer-profile__stat-icon--muted {
	opacity: 0.35;
	font-size: 1.25rem;
}

.nc-customer-profile__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 16px;
	align-items: start;
}

.nc-customer-profile__card {
	background: #ffffff;
	border: 1px solid rgba(27, 45, 71, 0.10);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(27, 45, 71, 0.05);
	padding: 16px 18px;
}

.nc-customer-profile__card--pad {
	padding: 14px 16px;
}

.nc-customer-profile__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nc-customer-profile__card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.nc-customer-profile__card-title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #111827;
	margin: 0 0 12px;
	line-height: 1.2;
}

.nc-customer-profile__card-head .nc-customer-profile__card-title {
	margin-bottom: 0;
}

.nc-customer-profile__card-title--sm {
	font-size: 0.88rem;
	margin-bottom: 0;
}

.nc-customer-profile__pin {
	color: #2f67b2;
	font-size: 1rem;
	margin-top: 2px;
	opacity: 0.9;
}

.nc-customer-profile__identity {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.nc-customer-profile__avatar {
	flex-shrink: 0;
}

.nc-customer-profile__avatar-img {
	border-radius: 50%;
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border: 2px solid rgba(47, 103, 178, 0.2);
}

.nc-customer-profile__subhead {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
	margin: 0 0 10px;
}

.nc-customer-profile__fields {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-customer-profile__fields li {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 8px 12px;
	padding: 6px 0;
	border-bottom: 1px solid rgba(27, 45, 71, 0.06);
	font-size: 13px;
}

.nc-customer-profile__fields li:last-child {
	border-bottom: 0;
}

.nc-customer-profile__k {
	font-weight: 700;
	color: #4b5563;
}

.nc-customer-profile__v {
	color: #111827;
	word-break: break-word;
}

.nc-customer-profile__address {
	font-size: 13px;
	line-height: 1.45;
	color: #374151;
}

.nc-customer-profile__empty {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
}

.nc-customer-profile__orders {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-customer-profile__order-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(27, 45, 71, 0.06);
	font-size: 13px;
}

.nc-customer-profile__order-row:last-child {
	border-bottom: 0;
}

.nc-customer-profile__order-link {
	font-weight: 700;
	color: #1b2d47;
	text-decoration: none;
}

.nc-customer-profile__order-link:hover {
	text-decoration: underline;
}

.nc-customer-profile__order-date {
	color: #6b7280;
	font-size: 12.5px;
}

.nc-customer-profile__actions {
	margin-top: 16px;
}

.nc-customer-profile__meta {
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px solid rgba(27, 45, 71, 0.08);
}

@media (max-width: 991.98px) {
	.nc-customer-profile__stats {
		grid-template-columns: 1fr;
	}

	.nc-customer-profile__grid {
		grid-template-columns: 1fr;
	}

	.nc-customer-profile__stat-value {
		font-size: 1.2rem;
	}

	.nc-order-detail__grid3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.nc-customer-profile__fields li {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* Sales agent — order detail (shares customer profile stat & card styles) */
.nc-order-detail {
	padding-top: 4px;
	padding-bottom: 8px;
	font-size: 14px;
	color: #374151;
}

.nc-order-detail__grid3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
	margin-bottom: 16px;
}

.nc-order-detail__notes {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #374151;
}

.nc-order-detail__notes > li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(27, 45, 71, 0.06);
}

.nc-order-detail__notes > li:last-child {
	border-bottom: 0;
}

.nc-order-detail__notes-other > strong {
	display: block;
	margin-bottom: 6px;
}

.nc-order-detail__notes-sub {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-order-detail__notes-sub li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(27, 45, 71, 0.05);
}

.nc-order-detail__notes-sub li:last-child {
	border-bottom: 0;
}

.nc-order-detail__note-meta {
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 4px;
}

.nc-order-detail__note-badge {
	font-style: normal;
	font-size: 11px;
	color: #6b7280;
}

.nc-order-detail__address-extra {
	margin: 0.5em 0 0;
}

.nc-order-detail__table-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 16px;
}

.nc-order-detail__table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.nc-order-detail__lines {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	color: #374151;
	min-width: 640px;
}

.nc-order-detail__lines-th {
	padding: 12px 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
	text-align: right;
	vertical-align: bottom;
	border-bottom: 1px solid rgba(27, 45, 71, 0.12);
	background: #fafbfc;
}

.nc-order-detail__lines-th--product {
	text-align: left;
}

.nc-order-detail__lines-td {
	padding: 12px 12px;
	border-bottom: 1px solid rgba(27, 45, 71, 0.06);
	vertical-align: top;
}

.nc-order-detail__lines tfoot .nc-order-detail__lines-td {
	background: #fcfdfe;
}

.nc-order-detail__lines-td--num {
	text-align: right;
	white-space: nowrap;
}

.nc-order-detail__lines-td--product {
	text-align: left;
	font-weight: 700;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #1b2d47;
}

.nc-order-detail__product-link {
	color: #1b2d47;
	text-decoration: none;
}

.nc-order-detail__product-link:hover {
	text-decoration: underline;
}

.nc-order-detail__item-meta {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	font-size: 12px;
	font-weight: 500;
	text-transform: none;
	color: #6b7280;
}

.nc-order-detail__muted {
	font-size: 12px;
	color: #6b7280;
	font-weight: 500;
}

.nc-order-detail__refund {
	font-size: 12px;
	color: #b91c1c;
	margin-top: 4px;
}

.nc-order-detail__totals-wrap {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 8px;
}

.nc-order-detail__totals-card {
	width: 100%;
	max-width: 400px;
}

.nc-order-detail__totals-card .nc-customer-profile__card-title {
	margin-bottom: 10px;
}

.nc-order-detail__totals {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nc-order-detail__totals th,
.nc-order-detail__totals td {
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(27, 45, 71, 0.06);
}

.nc-order-detail__totals tbody tr:nth-child(odd) {
	background: #f8fafc;
}

.nc-order-detail__totals th {
	font-weight: 700;
	color: #374151;
	width: 52%;
}

.nc-order-detail__totals td {
	text-align: right;
	color: #111827;
	font-weight: 600;
}

.nc-order-detail__actions .btn {
	margin-right: 8px;
	margin-bottom: 8px;
}

/* Base styling for the sales agent area (match screenshot) */
.d-xl-flex.min-h-100 {
	background: #f3f6fb;
	overflow: hidden;
}

.d-xl-flex.min-h-100 #sidebar {
	background: #f3f6fb;
}

.d-xl-flex.min-h-100 #sidebar .bg-dark {
	background: #1b2d47 !important;
}

.d-xl-flex.min-h-100 .flex-grow-1.bg-light {
	background: #f3f6fb !important;
}

.d-xl-flex.min-h-100 .flex-grow-0.bg-dark.text-white.p-4 {
	background: #1b2d47 !important;
}

.nc-sales-agent-sidebar__list {
	gap: 10px;
}

#menu .list-group-item {
	background: transparent;
	border-color: transparent !important;
	color: #1b2d47 !important;
	border-radius: 10px;
	padding: 12px 14px !important;
	position: relative;
	box-sizing: border-box;
}

#menu .list-group-item:hover {
	background: rgba(27, 45, 71, 0.06) !important;
}

#menu .list-group-item.active {
	background: #1b2d47 !important;
	color: #ffffff !important;
	border-color: #1b2d47 !important;
	z-index: 0 !important;
}

#menu .list-group-item.active {
	padding-left: 22px !important;
}

#menu .list-group-item i {
	color: inherit;
}

/* Sidebar menu layout: logout at bottom */
#menu.nc-sales-agent-sidebar {
	display: flex;
	flex-direction: column;
}

#menu.nc-sales-agent-sidebar .nc-sales-agent-sidebar__items {
	flex: 0 0 auto;
}

#menu.nc-sales-agent-sidebar .nc-sales-agent-sidebar__logout {
	margin-top: auto;
}

/* Secciones del menú lateral */
#menu .text-muted.text-uppercase.small {
	color: #6b7280 !important;
	font-weight: 800;
	letter-spacing: 0.04em;
	font-size: 12px;
}

/* Sales agent - Products grid (commissions override) */
.nc-products-dash {
	--nc-price-accent: #1e4c8f;
	border-radius: 16px;
	padding: 18px 18px 20px;
	background: transparent;
	color: #1b2d47;
}

.nc-products-dash__filters {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	margin-bottom: 16px;
	flex-wrap: wrap;
	background: #1b2d47;
	padding: 12px 12px;
	border-radius: 14px;
}

.nc-products-dash__filters-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 320px;
}

.nc-products-dash__search {
	display: flex;
	flex: 1 1 460px;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	min-width: 0;
}

.nc-products-dash__search .form-control,
.nc-products-dash__search .nc-products-dash__search-input {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: #ffffff;
	border-radius: 14px;
	padding: 12px 14px;
}

.nc-products-dash__search-input {
	flex: 1 1 420px;
	width: 100%;
	min-width: 0;
}

.nc-products-dash__search-input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.nc-products-dash__search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	color: #1b2d47;
	border: 1px solid rgba(11, 18, 32, 0.12);
	border-radius: 12px;
	padding: 10px 16px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}

.nc-products-dash__search-btn:hover {
	filter: brightness(0.96);
}

.nc-products-dash__search-clear {
	color: #ff3b3b;
	font-size: 16px;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
	transition: none;
}

.nc-products-dash__search-clear:hover,
.nc-products-dash__search-clear:focus {
	color: #ff3b3b;
	text-decoration: none;
	outline: none;
}

.nc-products-dash__filters-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 520px;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.nc-products-dash__filters-right .form-control {
	background: #1b2d47;
	border: 1px solid rgba(170, 171, 178, 0.45);
	color: #ffffff;
	border-radius: 14px;
	padding: 10px 12px;
	min-width: 140px;
	flex: 1 1 140px;
	max-width: 190px;
}

.nc-products-dash__filters-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	text-decoration: none;
	transition: all 0.2s ease;
}

.nc-products-dash__filters-clear--active {
	color: #1b2d47;
	background: #e2e8f0;
	border: 1px solid rgba(226, 232, 240, 0.95);
}

.nc-products-dash__filters-clear--active:hover {
	background: #ffffff;
	color: #1b2d47;
}

.nc-products-dash__filters-clear--disabled {
	color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.04);
	border: 1px dashed rgba(255, 255, 255, 0.2);
	cursor: default;
}

@media (max-width: 1100px) {
	.nc-products-dash__search {
		flex: 1 1 100%;
		flex-wrap: wrap;
	}

	.nc-products-dash__search-input {
		flex: 1 1 100%;
	}

	.nc-products-dash__filters-right {
		flex: 1 1 100%;
	}

	.nc-products-dash__filters-right .form-control {
		flex: 1 1 170px;
		max-width: none;
	}
}

@media (max-width: 768px) {
	.nc-products-dash__filters {
		gap: 10px;
		padding: 10px;
	}

	.nc-products-cart-widget {
		width: auto;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.nc-products-cart-widget__toggle {
		width: auto;
		justify-content: center;
		padding: 10px 12px;
	}

	.nc-products-dash__search {
		flex: 1 1 100%;
		gap: 8px;
	}

	.nc-products-dash__search-input {
		flex: 1 1 100%;
	}

	.nc-products-dash__search-btn {
		width: 100%;
		padding: 11px 14px;
	}
}

.nc-products-cart-widget {
	position: relative;
	margin-right: 6px;
}

.nc-products-cart-widget__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	color: #1b2d47;
	border: 1px solid rgba(11, 18, 32, 0.12);
	border-radius: 12px;
	padding: 10px 14px;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none;
}

.nc-products-cart-widget__toggle:hover,
.nc-products-cart-widget__toggle:focus {
	text-decoration: none;
}

.nc-products-cart-widget__count {
	min-width: 22px;
	height: 22px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #1b2d47;
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	padding: 0 6px;
}

/* Oculta "Make an order for this customer" en el detalle de customer */
.text-center.text-sm-left form.d-inline input[name="wcb2bsa_switch_to"] + button.btn.btn-dark {
	display: none !important;
}

.nc-products-cart-widget__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 320px;
	max-width: 92vw;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.10);
	border-radius: 12px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
	padding: 12px;
	z-index: 15;
}

.nc-products-cart-widget__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nc-products-cart-widget__items {
	padding: 10px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 200px;
	overflow: auto;
}

.nc-products-cart-widget__empty {
	margin: 0;
	color: #475569;
	font-size: 13px;
}

.nc-products-cart-widget__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	padding: 10px 10px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(241, 245, 249, 0.65);
}

.nc-products-cart-widget__item-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nc-products-cart-widget__item-name {
	color: #0f172a;
	font-weight: 700;
	line-height: 1.2;
}

.nc-products-cart-widget__item-sku {
	color: rgba(15, 23, 42, 0.55);
	font-weight: 800;
	font-size: 11px;
}

.nc-products-cart-widget__item-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.nc-products-cart-widget__qty-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nc-products-cart-widget__qty-btn {
	width: 28px;
	height: 28px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.16);
	background: #ffffff;
	color: #0f172a;
	font-weight: 900;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nc-products-cart-widget__qty-btn:hover {
	background: #f1f5f9;
	border-color: rgba(15, 23, 42, 0.26);
	transform: translateY(-1px);
}

.nc-products-cart-widget__item-qty {
	color: #334155;
	font-weight: 800;
	min-width: 26px;
	text-align: center;
}

.nc-products-cart-widget__remove-btn {
	background: transparent;
	border: 0;
	color: #ef4444;
	font-weight: 900;
	cursor: pointer;
	padding: 0;
}

.nc-products-cart-widget__remove-btn:hover {
	text-decoration: underline;
}

.nc-products-cart-widget__more {
	display: block;
	color: #64748b;
}

.nc-products-cart-widget__customer {
	padding: 10px 0 6px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	margin-top: 4px;
}

.nc-products-cart-widget__customer-label {
	display: block;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(15, 23, 42, 0.55);
	margin-bottom: 6px;
}

.nc-products-cart-widget__customer-select {
	width: 100%;
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 10px;
	padding: 8px 10px;
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	background: #f8fafc;
}

.nc-products-cart-widget__customer-select:focus {
	outline: none;
	border-color: #1b2d47;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(27, 45, 71, 0.10);
}

.nc-products-cart-widget__customer-hint {
	margin: 8px 0 0;
	font-size: 11px;
	line-height: 1.35;
	color: #64748b;
}

.nc-products-cart-widget__customer-status {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
}

.nc-products-cart-widget__customer-status.is-ok {
	color: #15803d;
}

.nc-products-cart-widget__customer-status.is-err {
	color: #b91c1c;
}

.nc-products-cart-widget__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.nc-products-cart-widget__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	border-radius: 10px;
	font-weight: 800;
	text-decoration: none;
}

.nc-products-cart-widget__btn--primary {
	background: #1b2d47;
	color: #ffffff;
}

.nc-products-cart-widget__btn--ghost {
	background: #f1f5f9;
	color: #0f172a;
}

.nc-products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 1200px) {
	.nc-products-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 992px) {
	.nc-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 576px) {
	.nc-products-grid {
		grid-template-columns: 1fr;
	}
}

.nc-product-card {
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nc-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
	border-color: rgba(15, 23, 42, 0.14);
}

.nc-product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #ef4444;
	color: #ffffff;
	font-weight: 900;
	font-size: 11px;
	letter-spacing: 0.03em;
	padding: 6px 10px;
	border-radius: 999px;
	z-index: 2;
}

.nc-product-card__media {
	position: relative;
	height: 190px;
	background: #f3f4f6;
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 14px;
	min-height: 0;
}

.nc-product-card__sold-out {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: #dc2626;
	color: #ffffff;
	font-weight: 900;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-align: center;
	padding: 7px 0px;
}

/* Galería: miniaturas solo al hover; el enlace ocupa todo el alto del recuadro */
.nc-product-card__media--has-gallery .nc-product-card__media-link {
	overflow: hidden;
}

.nc-product-card__preview-img {
	transition: opacity 0.2s ease;
}

.nc-product-card__gallery-hover {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	padding: 8px 6px 10px;
	max-height: 55%;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.35) 70%, transparent 100%);
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.nc-product-card__media--has-gallery:hover .nc-product-card__gallery-hover {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.nc-product-card__gallery-dot {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
	line-height: 0;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nc-product-card__gallery-dot.is-active {
	border-color: #ffffff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.nc-product-card__gallery-dot:hover,
.nc-product-card__gallery-dot:focus-visible {
	border-color: #ffffff;
	transform: scale(1.06);
	outline: none;
}

.nc-product-card__gallery-dot img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: cover;
}

.nc-products-grid__img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.nc-product-card__media-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 0;
	min-width: 0;
}

.nc-product-card__content {
	padding: 14px 14px 14px;
}

.nc-product-card__title {
	font-weight: 800;
	color: #0f172a;
	font-size: 13px;
	line-height: 1.32;
	min-height: 36px;
	margin-bottom: 2px;
}

.nc-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.nc-product-card__title a:hover {
	text-decoration: underline;
}

.nc-product-card__price {
	margin-top: 12px;
	font-weight: 900;
	color: var(--nc-price-accent);
	font-size: 25px;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-align: end;
}

.nc-product-card__sku-stock-units {
	display: flex;
    align-items: start;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
	.nc-product-card__sku-stock-units {
		flex-direction: column;
		gap: 10px;
	}
}

.nc-product-card__stock-units-value {
	color: green;
	font-weight: 800;
	text-align: right;
	font-size: 14px;
}

.nc-product-card__sku {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 10px;
	background: #1b2d47;
	color: #ffffff;
	font-weight: 900;
	font-size: 15px;
}

.nc-product-card__sku-label {
	opacity: 0.85;
	font-weight: 900;
}

.nc-product-card__sku-value {
	letter-spacing: 0.02em;
}

.nc-product-card__stock-units {
	margin-left: auto;
	white-space: nowrap;
	opacity: 0.95;
}

@media (max-width: 768px) {
	.nc-product-card__stock-units {
		margin-left: 0;
	}
}

.nc-product-card__meta {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.nc-product-card__meta-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
	padding-bottom: 5px;
}

.nc-product-card__meta-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.nc-product-card__meta-label {
	color: rgba(15, 23, 42, 0.55);
	font-weight: 800;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.045em;
}

.nc-product-card__meta-value {
	color: #0f172a;
	font-weight: 800;
	font-size: 11px;
	text-align: right;
}

.nc-product-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 12px;
	background: linear-gradient(180deg, #0f1a33 0%, #1b2d47 100%);
	color: #ffffff;
	font-weight: 900;
	border-radius: 12px;
	text-decoration: none;
	padding: 11px 12px;
	border: 1px solid #0f1a33;
	cursor: pointer;
	font-size: 14px;
	letter-spacing: 0.01em;
}

.nc-product-card__qty-wrap {
	margin-top: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 5px;
}

.nc-product-card__qty-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.nc-product-card__qty-btn {
	width: 38px;
	height: 34px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.16);
	background: #ffffff;
	color: #0f172a;
	font-weight: 900;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
	user-select: none;
}

.nc-product-card__qty-btn:hover {
	background: #f1f5f9;
	border-color: rgba(15, 23, 42, 0.26);
	transform: translateY(-1px);
}

.nc-product-card__qty-label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.65);
}

.nc-product-card__qty-input {
	width: 72px;
	height: 34px;
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 8px;
	padding: 6px 10px;
	font-weight: 700;
	color: #0f172a;
	background: #f8fafc;
	font-size: 13px;
	text-align: center;
}

.nc-product-card__qty-input:focus {
	outline: none;
	border-color: #1b2d47;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(27, 45, 71, 0.10);
}

.nc-product-card__cta:hover {
	background: linear-gradient(180deg, #132043 0%, #0d1630 100%);
}

.nc-product-card__cta:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.nc-toast-wrap {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.nc-toast {
	min-width: 260px;
	max-width: 360px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
	transform: translateY(12px);
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nc-toast.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.nc-toast--error {
	background: #dc2626;
}

.nc-toast--warning {
	background: #d97706;
}

.nc-toast--info {
	background: #1b2d47;
}

/* Pagination (plugin global/pagination.php) */
.nc-products-dash nav .pagination .page-link {
	background: #ffffff;
	border-color: rgba(27, 45, 71, 0.12);
	color: #1b2d47;
}

.nc-products-dash nav .pagination .page-item.active .page-link {
	background: #1b2d47;
	border-color: #1b2d47;
	color: #ffffff;
}

.nc-products-dash nav .pagination .page-item.disabled .page-link {
	background: transparent;
	border-color: rgba(27, 45, 71, 0.12);
	color: rgba(27, 45, 71, 0.35);
}

/* Softer palette for agent cart actions/text */
.wcac-cart-view {
	--nc-soft-blue-text: #223a5c;
	--nc-soft-blue-bg: #d7e1ef;
	--nc-soft-blue-border: #b8c7dc;
	--nc-soft-blue-ghost-bg: #edf2f8;
	--nc-soft-blue-ghost-border: #c8d4e4;
	--nc-soft-danger-text: #b8515c;
	--nc-soft-danger-bg: #fff1f3;
	--nc-soft-danger-border: #e7a9b1;
	--nc-soft-text-main: #2d3748;
	--nc-soft-text-muted: #5f6b7a;
}

.wcac-cart-view .nc-sales-agent-panel__title,
.wcac-cart-view .nc-sales-agent-recent__table td,
.wcac-cart-view .wcac-item-subtotal strong,
.wcac-cart-view .wcac-subtotal,
.wcac-cart-view .nc-sales-agent-stat__label span,
.wcac-cart-view #wcac-action-buttons small {
	color: var(--nc-soft-text-main);
}

.wcac-cart-view .nc-sales-agent-panel__title i,
.wcac-cart-view .nc-sales-agent-stat__icon i {
	color: #7f8da0;
}

.wcac-cart-view .nc-sales-agent-recent__table th,
.wcac-cart-view .nc-sales-agent-recent__table small,
.wcac-cart-view .text-muted {
	color: var(--nc-soft-text-muted) !important;
}

.wcac-cart-view .wcac-item-subtotal strong,
.wcac-cart-view .wcac-item-subtotal strong *,
.wcac-cart-view .wcac-subtotal,
.wcac-cart-view .wcac-subtotal * {
	color: #337A8B !important;
}

.wcac-cart-view .nc-products-cart-widget__btn--primary {
	background: var(--nc-soft-blue-bg);
	border: 1px solid var(--nc-soft-blue-border);
	color: var(--nc-soft-blue-text);
}

.wcac-cart-view .nc-products-cart-widget__btn--primary:hover {
	background: #cfdcec;
	border-color: #aebfd7;
	color: #1f3554;
}

.wcac-cart-view .wcac-cart-items-list {
	display: grid;
	gap: 10px;
	padding: 6px 6px 2px;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 10px;
	border: 1px solid rgba(27, 45, 71, 0.08);
	border-radius: 10px;
	background: #f8fafc;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__media {
	width: 50px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__content {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__name {
	display: block;
	font-size: 13px;
	line-height: 1.25;
	color: var(--nc-soft-text-main);
	word-break: break-word;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__sku {
	display: inline-block;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 700;
	color: #3f4a5a !important;
	background: #eef2f7;
	border-radius: 6px;
	padding: 2px 8px;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__prices {
	display: flex;
	gap: 10px;
	align-items: baseline;
	flex-wrap: wrap;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__price,
.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__price * {
	color: #3f4a5a;
	font-size: 12px;
	font-weight: 600;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__subtotal,
.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__subtotal * {
	color: #337A8B;
	font-size: 14px;
	font-weight: 800;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__actions {
	display: grid;
	grid-auto-flow: column;
	gap: 8px;
	align-items: center;
}

.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__actions .wcac-item-quantity {
	margin: 0 !important;
}

@media (max-width: 767px) {
	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item {
		grid-template-columns: 58px minmax(0, 1fr);
		grid-template-areas:
			"media content"
			"actions actions";
		align-items: start;
	}

	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__media {
		grid-area: media;
	}

	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__content {
		grid-area: content;
		gap: 6px;
	}

	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__name {
		font-size: 12px;
	}

	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__prices {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px 10px;
	}

	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__price,
	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__subtotal {
		white-space: nowrap;
	}

	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__actions {
		grid-area: actions;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-top: 2px;
	}

	.wcac-cart-view .wcac-cart-items-list .wcac-cart-item__actions .wcac-item-quantity {
		width: 88px !important;
	}

	/* Add Product filters spacing on mobile */
	.wcac-cart-view .card-body .row.mb-3 > [class*="col-"] {
		margin-bottom: 8px;
	}

	.wcac-cart-view .card-body .row.mb-3 > [class*="col-"]:last-child {
		margin-bottom: 0;
	}

	.wcac-cart-view #wcac-product-search {
		font-size: 14px;
	}

	.wcac-cart-view #wcac-clear-search {
		min-width: 42px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.wcac-cart-view #wcac-stock-filter {
		height: 40px;
		font-size: 14px;
	}

	.wcac-cart-view #wcac-products-count {
		display: block;
		text-align: left !important;
		padding-top: 2px;
	}
}

.wcac-cart-view .nc-products-cart-widget__btn--ghost {
	background: var(--nc-soft-blue-ghost-bg);
	border: 1px solid var(--nc-soft-blue-ghost-border);
	color: var(--nc-soft-blue-text);
}

.wcac-cart-view .nc-products-cart-widget__btn--ghost:hover {
	background: #e5edf6;
	border-color: #b8c8dd;
	color: #1f3554;
}

.wcac-cart-view #wcac-delete-cart {
	background: var(--nc-soft-danger-bg);
	border-color: var(--nc-soft-danger-border);
	color: var(--nc-soft-danger-text);
}

.wcac-cart-view #wcac-delete-cart:hover {
	background: #ffe8ec;
	border-color: #dd97a1;
	color: #a64550;
}

.swiper-wrapper {
	transition-timing-function: linear !important;
}

/* Forzar el movimiento lineal constante en Slick Slider */
.uael-img-carousel-wrap .slick-track {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

/* Evitar que se detenga brevemente */
.uael-img-carousel-wrap .slick-slide {
    transition: none !important;
}

/* Checkout — línea de producto en "Tu pedido" (review-order) */
.woocommerce-checkout-review-order-table td.product-name,
.woocommerce-checkout-review-order-table td.product-total {
	vertical-align: top;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line {
	min-width: 0;
}

/* SKU: franja compacta, destacada */
.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-sku {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	margin-bottom: 0.5rem;
	padding: 0.35rem 0.5rem;
	font-size: 0.8125rem;
	line-height: 1.3;
	color: #1a1a1a;
	background: #f0f2f5;
	border: 1px solid #e2e6ea;
	border-radius: 4px;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-sku__label {
	font-weight: 700;
	color: #444;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-sku__value {
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	word-break: break-word;
}

/* Miniatura + nombre en fila */
.woocommerce-checkout-review-order-table .nc-checkout-review-order-line__heading {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 0.45rem;
	min-width: 0;
	font-size: 0.9375rem;
	line-height: 1.3;
	font-weight: 600;
	color: #222;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line__heading a {
	color: inherit;
	text-decoration: none;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line__heading a:hover {
	text-decoration: underline;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line__heading img {
	display: block;
	width: 46px;
	height: auto;
	border-radius: 4px;
	border: 1px solid #e8e8e8;
	flex-shrink: 0;
}

/* Panel de datos: rejilla etiqueta | valor alineada */
.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta {
	margin-top: 0;
	padding: 0.5rem 0.6rem;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: #444;
	background: #fafbfc;
	border: 1px solid #eceef0;
	border-radius: 6px;
	word-break: break-word;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta--grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.35rem 1rem;
	align-items: start;
}

@media (max-width: 520px) {
	.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta--grid:not(.nc-checkout-review-order-line-meta--grid-single) {
		grid-template-columns: 1fr;
	}
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta--grid-single {
	grid-template-columns: 1fr;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta__col {
	min-width: 0;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta__row {
	display: grid;
	grid-template-columns: minmax(5.5rem, max-content) minmax(0, 1fr);
	column-gap: 0.45rem;
	align-items: baseline;
	margin-bottom: 0.2rem;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta__row:last-child {
	margin-bottom: 0;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta__label {
	font-weight: 600;
	color: #555;
	font-size: 0.92em;
}

.woocommerce-checkout-review-order-table .nc-checkout-review-order-line-meta__value {
	color: #222;
	font-weight: 500;
}

/* Variaciones / datos extra de WooCommerce dentro del bloque */
.woocommerce-checkout-review-order-table .nc-checkout-review-order-line .variation {
	margin: 0.45rem 0 0;
	padding: 0.4rem 0.5rem;
	font-size: 0.8125rem;
	background: #fff;
	border: 1px dashed #ddd;
	border-radius: 4px;
}

.wc-mar-view-order-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 15px;
}