/**
 * Selimpex Freight Calculator - Estilos principales
 * Página de Inicio + Cotizador Rápido
 */

/* ========== VARIABLES ========== */
:root {
	--selimpex-blue: #0033a0;
	--selimpex-blue-dark: #002275;
	--selimpex-yellow: #f5a623;
	--selimpex-yellow-hover: #e09410;
	--selimpex-gray: #f5f7fa;
	--selimpex-text: #333333;
	--selimpex-text-light: #666666;
	--selimpex-border: #dde1e6;
	--selimpex-white: #ffffff;
	--selimpex-radius: 6px;
	--selimpex-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ========== RESET BÁSICO DEL PLUGIN ========== */
.selimpex-home *,
.selimpex-cotizador-rapido *,
.selimpex-cotizar * {
	box-sizing: border-box;
}

.selimpex-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ========== HERO ========== */
.selimpex-hero {
	width: 100%;
	max-height: 480px;
	overflow: hidden;
	line-height: 0;
}

.selimpex-hero-img {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	display: block;
}

/* ========== TÍTULO PRINCIPAL ========== */
.selimpex-titulo-principal {
	text-align: center;
	padding: 40px 20px 20px;
	background: var(--selimpex-white);
}

.selimpex-titulo-principal h1 {
	font-size: 2.2rem;
	color: var(--selimpex-blue);
	margin: 0 0 12px;
	font-weight: 700;
	line-height: 1.3;
}

.selimpex-titulo-principal p {
	font-size: 1.1rem;
	color: var(--selimpex-text-light);
	margin: 0;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* ========== BUSCADOR RÁPIDO ========== */
.selimpex-buscador-section {
	padding: 30px 0 50px;
	background: var(--selimpex-white);
}

.selimpex-cotizador-rapido {
	background: var(--selimpex-white);
	border-radius: var(--selimpex-radius);
	box-shadow: var(--selimpex-shadow);
	padding: 25px 30px;
	border: 1px solid var(--selimpex-border);
}

.selimpex-form-rapido {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: flex-end;
}

.selimpex-field-group {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.selimpex-field-group label {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--selimpex-blue);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.selimpex-input,
.selimpex-select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--selimpex-border);
	border-radius: var(--selimpex-radius);
	font-size: 0.95rem;
	color: var(--selimpex-text);
	background: #fafbfc;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.selimpex-input:focus,
.selimpex-select:focus {
	outline: none;
	border-color: var(--selimpex-blue);
	box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.12);
	background: var(--selimpex-white);
}

.selimpex-field-submit {
	flex: 0 0 auto;
}

.selimpex-btn-cotizar {
	background: var(--selimpex-yellow);
	color: #fff;
	border: none;
	padding: 13px 32px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: var(--selimpex-radius);
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.selimpex-btn-cotizar:hover {
	background: var(--selimpex-yellow-hover);
	transform: translateY(-1px);
}

/* Autocomplete */
.selimpex-autocomplete-wrapper {
	position: relative;
}

.selimpex-autocomplete-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--selimpex-white);
	border: 1px solid var(--selimpex-border);
	border-top: none;
	border-radius: 0 0 var(--selimpex-radius) var(--selimpex-radius);
	max-height: 240px;
	overflow-y: auto;
	z-index: 9999;
	margin: 0;
	padding: 0;
	list-style: none;
	box-shadow: var(--selimpex-shadow);
}

.selimpex-autocomplete-list li {
	padding: 10px 14px;
	cursor: pointer;
	font-size: 0.9rem;
	border-bottom: 1px solid #f0f0f0;
	color: var(--selimpex-text);
}

.selimpex-autocomplete-list li:hover,
.selimpex-autocomplete-list li.is-active {
	background: #eef2ff;
	color: var(--selimpex-blue);
}

.selimpex-autocomplete-list li:last-child {
	border-bottom: none;
}

/* ========== SERVICIOS ========== */
.selimpex-servicios {
	padding: 50px 0 70px;
	background: var(--selimpex-gray);
}

.selimpex-section-title {
	text-align: center;
	font-size: 1.8rem;
	color: var(--selimpex-blue);
	margin: 0 0 40px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.selimpex-servicios-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.selimpex-servicio-card {
	background: var(--selimpex-white);
	border-radius: var(--selimpex-radius);
	overflow: hidden;
	box-shadow: var(--selimpex-shadow);
	transition: transform 0.25s, box-shadow 0.25s;
	display: flex;
	flex-direction: column;
}

.selimpex-servicio-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.selimpex-servicio-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.selimpex-servicio-content {
	padding: 20px 22px 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.selimpex-servicio-content h3 {
	font-size: 1.15rem;
	color: var(--selimpex-blue);
	margin: 0 0 10px;
	font-weight: 700;
}

.selimpex-servicio-content p {
	font-size: 0.9rem;
	color: var(--selimpex-text-light);
	line-height: 1.55;
	margin: 0 0 14px;
	flex: 1;
}

.selimpex-servicio-content ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.selimpex-servicio-content ul li {
	font-size: 0.85rem;
	color: var(--selimpex-text);
	padding: 3px 0 3px 16px;
	position: relative;
}

.selimpex-servicio-content ul li::before {
	content: "•";
	color: var(--selimpex-yellow);
	font-weight: 700;
	position: absolute;
	left: 0;
}

/* ========== PÁGINA COTIZAR (placeholder) ========== */
.selimpex-cotizar {
	padding: 50px 0 80px;
	min-height: 400px;
}

.selimpex-cotizar-title {
	font-size: 1.8rem;
	color: var(--selimpex-blue);
	margin-bottom: 25px;
}

.selimpex-cotizar-resumen {
	background: #eef2ff;
	border-left: 4px solid var(--selimpex-blue);
	padding: 16px 20px;
	margin-bottom: 30px;
	border-radius: 0 var(--selimpex-radius) var(--selimpex-radius) 0;
}

.selimpex-cotizar-resumen p {
	margin: 4px 0;
	font-size: 0.95rem;
}

.selimpex-cotizar-placeholder {
	background: var(--selimpex-gray);
	padding: 40px;
	text-align: center;
	border-radius: var(--selimpex-radius);
	color: var(--selimpex-text-light);
	font-size: 1.05rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
	.selimpex-servicios-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.selimpex-titulo-principal h1 {
		font-size: 1.8rem;
	}
}

@media (max-width: 640px) {
	.selimpex-servicios-grid {
		grid-template-columns: 1fr;
	}

	.selimpex-form-rapido {
		flex-direction: column;
	}

	.selimpex-field-group {
		flex: 1 1 100%;
	}

	.selimpex-btn-cotizar {
		width: 100%;
	}

	.selimpex-titulo-principal h1 {
		font-size: 1.5rem;
	}

	.selimpex-hero {
		max-height: 280px;
	}

	.selimpex-hero-img {
		max-height: 280px;
	}
}

/* ========== FOOTER SELIMPEX ========== */
.selimpex-footer {
	background: #1a1a1a;
	color: #cccccc;
	padding: 50px 0 0;
	margin-top: 0;
	font-size: 0.9rem;
}

.selimpex-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 40px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.selimpex-footer-col {
	display: flex;
	flex-direction: column;
}

.selimpex-footer-title {
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--selimpex-yellow);
	display: inline-block;
}

.selimpex-footer-text {
	margin: 0 0 12px;
	line-height: 1.6;
	color: #bbbbbb;
}

.selimpex-footer-menu {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.selimpex-footer-menu li {
	margin-bottom: 8px;
}

.selimpex-footer-menu a {
	color: #cccccc;
	text-decoration: none;
	transition: color 0.2s;
}

.selimpex-footer-menu a:hover {
	color: var(--selimpex-yellow);
}

.selimpex-footer-btn {
	display: inline-block;
	background: #0073e6;
	color: #ffffff !important;
	text-decoration: none;
	padding: 10px 22px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9rem;
	text-align: center;
	transition: background 0.2s;
	width: fit-content;
}

.selimpex-footer-btn:hover {
	background: #005bb5;
}

.selimpex-footer-link {
	color: var(--selimpex-yellow);
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.2s;
}

.selimpex-footer-link:hover {
	opacity: 0.85;
	text-decoration: underline;
}

.selimpex-footer-img {
	width: 100%;
	max-width: 220px;
	height: auto;
	border-radius: 4px;
	margin-bottom: 12px;
	display: block;
}

.selimpex-footer-bottom {
	border-top: 1px solid #333333;
	padding: 18px 20px;
	text-align: center;
	font-size: 0.85rem;
	color: #888888;
}

.selimpex-footer-bottom p {
	margin: 0;
}

/* Footer responsive */
@media (max-width: 992px) {
	.selimpex-footer-inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.selimpex-footer-inner {
		grid-template-columns: 1fr;
	}
}

/* ========== RESET PARA PLANTILLAS INDEPENDIENTES ========== */
body.selimpex-standalone {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #333;
	background: #fff;
	line-height: 1.5;
}

body.selimpex-standalone admin-bar {
	/* compatibilidad con barra de admin */
}

/* ========== HEADER SELIMPEX ========== */
.selimpex-header {
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.selimpex-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.selimpex-logo a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #0033a0;
	font-weight: 700;
	font-size: 1.25rem;
}

.selimpex-logo-mark {
	width: 40px;
	height: 40px;
	background: #0033a0;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	font-weight: 800;
	font-size: 1.2rem;
}

.selimpex-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
	align-items: center;
}

.selimpex-nav-list a {
	display: block;
	padding: 8px 14px;
	text-decoration: none;
	color: #333;
	font-size: 0.95rem;
	font-weight: 500;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s;
}

.selimpex-nav-list a:hover {
	color: #0033a0;
	background: #f0f4ff;
}

.selimpex-nav-ingresar {
	background: #0033a0 !important;
	color: #fff !important;
	margin-left: 8px;
}

.selimpex-nav-ingresar:hover {
	background: #002275 !important;
	color: #fff !important;
}

/* Botón menú móvil */
.selimpex-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.selimpex-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #0033a0;
	transition: 0.3s;
}

/* Header responsive */
@media (max-width: 768px) {
	.selimpex-menu-toggle {
		display: flex;
	}

	.selimpex-nav {
		display: none;
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid #e5e7eb;
		box-shadow: 0 4px 12px rgba(0,0,0,0.08);
		padding: 12px 0;
	}

	.selimpex-nav.is-open {
		display: block;
	}

	.selimpex-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.selimpex-nav-list a {
		padding: 12px 24px;
		border-radius: 0;
	}

	.selimpex-nav-ingresar {
		margin: 8px 24px 0 !important;
		text-align: center;
	}
}

/* ========== PÁGINA GENERAL ========== */
.selimpex-page {
	padding: 50px 0 70px;
	min-height: 400px;
}

.selimpex-page-title {
	font-size: 2rem;
	color: var(--selimpex-blue);
	margin: 0 0 25px;
	font-weight: 700;
}

.selimpex-page-content {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--selimpex-text);
}

.selimpex-page-content p {
	margin: 0 0 1em;
}

.selimpex-page-content img {
	max-width: 100%;
	height: auto;
}

/* ========== AUTH FORMS ========== */
.selimpex-auth {
	max-width: 560px;
	margin: 40px auto 60px;
	padding: 0 16px;
}

.selimpex-auth-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 0;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-bottom: none;
}

.selimpex-auth-tab {
	flex: 1;
	padding: 14px 12px;
	border: none;
	background: #f3f4f6;
	color: #555;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.selimpex-auth-tab.is-active {
	background: #fff;
	color: var(--selimpex-blue);
}

.selimpex-auth-panel {
	display: none;
}

.selimpex-auth-panel.is-active {
	display: block;
}

.selimpex-auth-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0 0 12px 12px;
	padding: 32px 28px 24px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.selimpex-auth-card-wide {
	max-width: 100%;
}

.selimpex-auth-card h2 {
	margin: 0 0 22px;
	text-align: center;
	color: #1a1a1a;
	font-size: 1.6rem;
}

.selimpex-auth-hint {
	text-align: center;
	color: #666;
	font-size: 0.9rem;
	margin: -8px 0 20px;
}

.selimpex-auth-form .selimpex-form-group {
	margin-bottom: 16px;
}

.selimpex-auth-form label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.selimpex-auth-form .req {
	color: #dc2626;
}

.selimpex-auth-form input[type="text"],
.selimpex-auth-form input[type="email"],
.selimpex-auth-form input[type="password"],
.selimpex-auth-form input[type="tel"],
.selimpex-auth-form input[type="number"],
.selimpex-auth-form select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.95rem;
	background: #fafbfc;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.selimpex-auth-form input:focus,
.selimpex-auth-form select:focus {
	outline: none;
	border-color: var(--selimpex-blue);
	box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.12);
	background: #fff;
}

.selimpex-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.selimpex-btn-primary {
	display: inline-block;
	background: #0073e6;
	color: #fff !important;
	border: none;
	padding: 13px 24px;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s;
}

.selimpex-btn-primary:hover {
	background: #005bb5;
}

.selimpex-btn-block {
	width: 100%;
	margin-top: 8px;
}

.selimpex-auth-links {
	margin-top: 20px;
	text-align: center;
	font-size: 0.9rem;
	color: #666;
}

.selimpex-auth-links p {
	margin: 8px 0;
}

.selimpex-auth-links a {
	color: #0073e6;
	text-decoration: none;
	font-weight: 600;
}

.selimpex-auth-links a:hover {
	text-decoration: underline;
}

.selimpex-auth-messages {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 0.9rem;
	font-weight: 500;
}

.selimpex-auth-messages.is-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.selimpex-auth-messages.is-success {
	background: #f0fdf4;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.selimpex-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.selimpex-auth-already {
	text-align: center;
	padding: 60px 20px;
}

.selimpex-auth-already p {
	margin-bottom: 16px;
	font-size: 1.1rem;
}

@media (max-width: 600px) {
	.selimpex-form-row {
		grid-template-columns: 1fr;
	}
	.selimpex-auth-card {
		padding: 24px 18px 18px;
	}
}

/* ========== PÁGINA COTIZAR ========== */
.selimpex-cotizar {
	padding: 30px 0 60px;
}

.selimpex-cotizar-title {
	font-size: 1.8rem;
	color: var(--selimpex-blue);
	margin: 0 0 24px;
}

.selimpex-cotizar-header {
	background: #e8f1fb;
	border-radius: 10px;
	padding: 20px 22px;
	margin-bottom: 28px;
}

.selimpex-cotizar-header-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px 20px;
}

.selimpex-cotizar-field label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.selimpex-cotizar-static {
	font-size: 0.9rem;
	color: #222;
	line-height: 1.45;
	padding: 8px 0;
}

.selimpex-cotizar-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
	margin-bottom: 20px;
}

.selimpex-cotizar-controls .selimpex-cotizar-field {
	min-width: 160px;
}

.selimpex-btn-secondary {
	background: #fff;
	color: var(--selimpex-blue);
	border: 2px solid var(--selimpex-blue);
	padding: 11px 18px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
}

.selimpex-btn-secondary:hover {
	background: #f0f4ff;
}

.selimpex-cotizar-hint {
	color: #666;
	font-size: 0.95rem;
	padding: 20px;
	background: #f8f9fb;
	border-radius: 8px;
}

.selimpex-no-tarifa {
	display: block !important;
	padding: 18px 20px;
	border: 1px solid #c5d4f5;
	border-left: 4px solid #0033A0;
	border-radius: 8px;
	background: #f4f7ff;
	color: #1f2937;
	line-height: 1.55;
	margin-top: 12px;
}
.selimpex-no-tarifa-title {
	margin: 0 0 10px;
	font-weight: 700;
	color: #0033A0;
	font-size: 1.05rem;
}
.selimpex-no-tarifa-body {
	margin: 0 0 12px;
	color: #334155;
}
.selimpex-no-tarifa-contact {
	margin: 0;
	font-weight: 600;
}
.selimpex-no-tarifa-contact a {
	color: #0033A0;
	text-decoration: none;
}
.selimpex-no-tarifa-wa {
	color: #0033A0 !important;
	font-weight: 700;
}

.selimpex-table-wrap {
	overflow-x: auto;
	margin-top: 10px;
}

.selimpex-tarifas-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	min-width: 900px;
}

.selimpex-tarifas-table th {
	background: #f5c518;
	color: #111;
	padding: 10px 8px;
	text-align: left;
	font-weight: 700;
	white-space: nowrap;
}

.selimpex-tarifas-table td {
	padding: 10px 8px;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: middle;
}

.selimpex-tarifas-table tr:hover td {
	background: #fafbfc;
}

.selimpex-btn-sm {
	padding: 6px 12px;
	font-size: 0.8rem;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-weight: 600;
	margin-right: 4px;
}

.selimpex-btn-desglose {
	background: #e8f1fb;
	color: var(--selimpex-blue);
}

.selimpex-btn-reservar {
	background: #d1d5db;
	color: #555;
	cursor: not-allowed;
}

/* Modal */
.selimpex-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.selimpex-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
}

.selimpex-modal-content {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	max-width: 480px;
	width: 92%;
	box-shadow: 0 12px 40px rgba(0,0,0,0.2);
	z-index: 1;
}

.selimpex-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	border: none;
	background: none;
	font-size: 1.6rem;
	cursor: pointer;
	color: #666;
}

.selimpex-desglose-list {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
}

.selimpex-desglose-list li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
	font-size: 0.9rem;
}

.selimpex-desglose-list li strong {
	font-weight: 700;
}

@media (max-width: 768px) {
	.selimpex-cotizar-header-grid {
		grid-template-columns: 1fr;
	}
}

/* ========== MENÚ USUARIO LOGUEADO ========== */
.selimpex-nav-user {
	position: relative;
	list-style: none;
}

.selimpex-nav-user-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #0033a0;
	color: #fff !important;
	border: none;
	border-radius: 24px;
	padding: 6px 14px 6px 6px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 600;
	font-family: inherit;
}

.selimpex-nav-user-btn:hover {
	background: #00247a;
}

.selimpex-nav-user-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f5c518;
	color: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.85rem;
}

.selimpex-nav-user-name {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.selimpex-nav-user-caret {
	font-size: 0.7rem;
	opacity: 0.85;
}

.selimpex-user-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 200px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
	padding: 8px 0;
	margin: 0;
	list-style: none;
	z-index: 10000;
}

.selimpex-user-dropdown.is-open {
	display: block;
}

.selimpex-user-dropdown li a {
	display: block;
	padding: 10px 16px;
	color: #333 !important;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
}

.selimpex-user-dropdown li a:hover {
	background: #f3f4f6;
	color: #0033a0 !important;
}

.selimpex-user-dropdown-divider {
	height: 1px;
	background: #e5e7eb;
	margin: 6px 0;
}

.selimpex-logout-link {
	color: #b91c1c !important;
}

.selimpex-auth-form small {
	display: block;
	margin-top: 4px;
	color: #888;
	font-size: 0.8rem;
}

@media (max-width: 768px) {
	.selimpex-nav-user-name {
		max-width: 100px;
	}
	.selimpex-user-dropdown {
		right: auto;
		left: 0;
	}
}

#cot-btn-otro-contenedor {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	cursor: pointer;
}
#cot-btn-otro-contenedor:hover {
	background: #e8f1fb;
}
#selimpex-otro-hint {
	border-left: 3px solid var(--selimpex-blue, #0033a0);
}

/* ========== GESTOR MÚLTIPLES CONTENEDORES ========== */
.selimpex-cont-manager {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 22px;
}

.selimpex-cont-manager-title {
	margin: 0 0 14px;
	font-size: 1rem;
	color: var(--selimpex-blue, #0033a0);
}

.selimpex-cont-line {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	padding: 12px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 10px;
}

.selimpex-cont-line .selimpex-cotizar-field {
	flex: 1;
	min-width: 140px;
}

.selimpex-cont-line-remove {
	padding-bottom: 2px;
}

.selimpex-btn-remove-line {
	width: 36px;
	height: 36px;
	border: 1px solid #fca5a5;
	background: #fef2f2;
	color: #b91c1c;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
}

.selimpex-btn-remove-line:hover {
	background: #fee2e2;
}

.selimpex-cont-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.selimpex-fcl-block {
	margin-bottom: 24px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
}

.selimpex-fcl-block-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #e8f1fb;
	padding: 12px 16px;
}

.selimpex-fcl-block-header h4 {
	margin: 0;
	font-size: 0.95rem;
	color: #0033a0;
}

.selimpex-btn-remove-type {
	background: #fff;
	border: 1px solid #fca5a5;
	color: #b91c1c;
	cursor: pointer;
}

.selimpex-btn-remove-type:hover {
	background: #fef2f2;
}

/* ========== LCL BULTOS ========== */
.selimpex-bultos-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	min-width: 800px;
	background: #fff;
}

.selimpex-bultos-table th {
	background: #f5c518;
	color: #111;
	padding: 8px 6px;
	text-align: left;
	font-weight: 700;
	white-space: nowrap;
}

.selimpex-bultos-table td {
	padding: 6px;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: middle;
}

.selimpex-bultos-table input.selimpex-input,
.selimpex-bultos-table select.selimpex-select {
	width: 100%;
	min-width: 70px;
	padding: 6px 8px;
	font-size: 0.85rem;
}

.selimpex-bultos-total-label {
	text-align: right;
	font-weight: 700;
}

#lcl-suma-peso,
#lcl-suma-m3 {
	font-weight: 700;
	color: #0033a0;
}

/* Desglose global tabla */
.selimpex-desglose-table-wrap {
	overflow-x: auto;
}
.selimpex-desglose-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.selimpex-desglose-table th,
.selimpex-desglose-table td {
	padding: 8px 10px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
}
.selimpex-desglose-table th {
	background: #f8fafc;
	font-weight: 700;
}
.selimpex-desglose-section td {
	background: #f3f4f6;
	padding-top: 12px;
}
.selimpex-desglose-table tfoot td {
	border-top: 2px solid #0033a0;
	font-size: 1rem;
}
.selimpex-desglose-validez {
	margin-top: 12px;
	display: flex;
	justify-content: space-between;
}
.selimpex-fcl-global-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.selimpex-cotizacion-adicionales {
	margin-top: 24px;
	padding: 18px 20px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #333;
}
.selimpex-cotizacion-adicionales h4 {
	margin: 0 0 10px;
	color: #0033a0;
	font-size: 0.95rem;
}
.selimpex-cotizacion-adicionales ul {
	margin: 0 0 12px 18px;
	padding: 0;
}
.selimpex-cotizacion-adicionales a {
	color: #0033a0;
}


/* ---- Desglose drawer (panel lateral) ---- */
.selimpex-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	pointer-events: none;
	visibility: hidden;
}
.selimpex-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}
.selimpex-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.selimpex-drawer.is-open .selimpex-drawer-backdrop {
	opacity: 1;
}
.selimpex-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(440px, 100%);
	height: 100%;
	background: #fff;
	box-shadow: -8px 0 32px rgba(0,0,0,0.18);
	transform: translateX(100%);
	transition: transform 0.25s ease;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.selimpex-drawer.is-open .selimpex-drawer-panel {
	transform: translateX(0);
}
.selimpex-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid #e5e7eb;
}
.selimpex-drawer-header h3 {
	margin: 0;
	font-size: 1.1rem;
	color: #ea580c;
}
.selimpex-drawer-close {
	border: none;
	background: none;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	color: #64748b;
}
.selimpex-drawer-tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid #e5e7eb;
	padding: 0 8px;
}
.selimpex-drawer-tabs button {
	flex: 1;
	border: none;
	background: none;
	padding: 12px 8px;
	font-size: 0.85rem;
	color: #64748b;
	cursor: pointer;
	border-bottom: 2px solid transparent;
}
.selimpex-drawer-tabs button.is-active {
	color: #0033a0;
	border-bottom-color: #0033a0;
	font-weight: 600;
}
.selimpex-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 16px 18px 28px;
}
.selimpex-drawer-ids {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 14px;
	padding: 10px 12px;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 0.82rem;
}
.selimpex-drawer-ids span {
	color: #0033a0;
	font-weight: 600;
}
.selimpex-desglose-summary {
	margin-bottom: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	font-size: 0.88rem;
}
.selimpex-desglose-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 12px;
	border-bottom: 1px solid #f1f5f9;
}
.selimpex-desglose-summary-row:last-child {
	border-bottom: none;
}
.selimpex-desglose-summary-total {
	background: #f1f5f9;
	font-weight: 700;
}
.selimpex-btn-reserva {
	background: #111827 !important;
	color: #fff !important;
	border: 2px solid #111827 !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 10px 18px !important;
}
.selimpex-btn-reserva:hover {
	background: #0033a0 !important;
	border-color: #0033a0 !important;
}
.selimpex-fcl-global-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 16px 0;
}



/* ---- Reserva / Booking Request ---- */
.selimpex-cotizar.selimpex-reserva-mode > *:not(#selimpex-reserva-view) {
	display: none !important;
}
.selimpex-reserva-view {
	display: block;
	padding: 12px 0 40px;
}
.selimpex-reserva-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #0033a0;
}
.selimpex-reserva-topbar h2 {
	margin: 0;
	font-size: 1.25rem;
	color: #0033a0;
	flex: 1;
}
.selimpex-reserva-id-badge {
	font-size: 0.9rem;
	background: #f1f5f9;
	padding: 8px 12px;
	border-radius: 8px;
}
.selimpex-reserva-layout {
	display: grid;
	grid-template-columns: minmax(260px, 340px) 1fr;
	gap: 20px;
	align-items: start;
}
.selimpex-reserva-sidebar {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	position: sticky;
	top: 16px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
}
.selimpex-reserva-sidebar h3 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	color: #0f172a;
}
.selimpex-reserva-side-block {
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.88rem;
}
.selimpex-reserva-side-block .lbl {
	color: #64748b;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-top: 6px;
}
.selimpex-reserva-side-block .val {
	color: #0f172a;
	font-weight: 600;
}
.selimpex-reserva-side-total {
	background: #0033a0;
	color: #fff;
	border-radius: 10px;
	padding: 12px 14px;
	margin: 12px 0;
}
.selimpex-reserva-side-total .amount {
	font-size: 1.35rem;
	font-weight: 700;
	margin-top: 4px;
}
.selimpex-reserva-side-desglose h4 {
	margin: 8px 0;
	font-size: 0.9rem;
	color: #0033a0;
}
.selimpex-reserva-side-desglose table {
	font-size: 0.72rem !important;
}
.selimpex-reserva-form-wrap {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px 20px 24px;
}
.selimpex-reserva-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.selimpex-reserva-card {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px;
	background: #fff;
}
.selimpex-reserva-card-wide {
	grid-column: 1 / -1;
}
.selimpex-reserva-card h4 {
	margin: 0 0 10px;
	font-size: 0.95rem;
	color: #0033a0;
}
.selimpex-reserva-card label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: #475569;
	margin: 8px 0 4px;
}
.selimpex-reserva-card .req {
	color: #dc2626;
}
.selimpex-reserva-card .hint {
	font-size: 0.85rem;
	color: #64748b;
	margin: 0 0 8px;
}
.selimpex-reserva-card textarea.selimpex-input,
.selimpex-reserva-card input.selimpex-input {
	width: 100%;
	box-sizing: border-box;
}
.selimpex-reserva-card .is-invalid {
	border-color: #dc2626 !important;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}
.selimpex-reserva-inline {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.selimpex-reserva-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
}
@media (max-width: 900px) {
	.selimpex-reserva-layout {
		grid-template-columns: 1fr;
	}
	.selimpex-reserva-sidebar {
		position: static;
		max-height: none;
	}
	.selimpex-reserva-grid {
		grid-template-columns: 1fr;
	}
	.selimpex-reserva-inline {
		grid-template-columns: 1fr;
	}
}

.selimpex-input.selimpex-readonly,
.selimpex-readonly {
	background: #f1f5f9 !important;
	color: #334155 !important;
	cursor: not-allowed;
	pointer-events: none;
}
.selimpex-reserva-required-note {
	font-size: 0.9rem;
	color: #475569;
	margin: 0 0 14px;
	padding: 10px 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
}

.selimpex-reserva-side-line {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	padding: 3px 0;
	border-bottom: 1px solid #eef2f7;
}
.selimpex-reserva-side-line span:last-child {
	font-weight: 600;
	white-space: nowrap;
}

/* ===== Página Servicios ===== */
.selimpex-servicios-page {
	background: #fff;
}
.selimpex-hero-servicios {
	position: relative;
	overflow: hidden;
	line-height: 0;
	background: #0b3a7a;
}
.selimpex-hero-servicios .selimpex-hero-img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: center center;
	display: block;
}
.selimpex-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,51,160,0.75) 0%, rgba(0,51,160,0.35) 60%, transparent 100%);
	display: flex;
	align-items: center;
}
.selimpex-hero-overlay h1 {
	color: #fff;
	font-size: 2.4rem;
	margin: 0 0 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.selimpex-hero-overlay p {
	color: #f1f5f9;
	font-size: 1.1rem;
	max-width: 520px;
	margin: 0;
}
.selimpex-svc-block {
	padding: 56px 0;
}
.selimpex-svc-alt {
	background: #f8fafc;
}
.selimpex-svc-row {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}
.selimpex-svc-row-reverse {
	grid-template-columns: 0.9fr 1.1fr;
}
.selimpex-svc-row-reverse .selimpex-svc-text {
	order: 2;
}
.selimpex-svc-row-reverse .selimpex-svc-media {
	order: 1;
}
.selimpex-svc-text h2 {
	color: #0033a0;
	font-size: 1.75rem;
	margin: 0 0 14px;
	line-height: 1.25;
}
.selimpex-svc-text h2 span {
	font-weight: 500;
	font-size: 0.95em;
	color: #475569;
}
.selimpex-svc-text p {
	color: #334155;
	line-height: 1.6;
	margin: 0 0 12px;
}
.selimpex-svc-list {
	margin: 16px 0 24px;
	padding: 0;
	list-style: none;
}
.selimpex-svc-list li {
	position: relative;
	padding: 6px 0 6px 22px;
	color: #1e293b;
}
.selimpex-svc-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: #f5c518;
	font-weight: 700;
	font-size: 1.2em;
}
.selimpex-svc-media img {
	width: 100%;
	border-radius: 12px;
	object-fit: cover;
	max-height: 340px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.selimpex-faq-section {
	padding: 56px 0 40px;
	background: #fff;
}
.selimpex-faq-list {
	max-width: 800px;
	margin: 0 auto;
}
.selimpex-faq-item {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 12px;
	background: #fff;
	overflow: hidden;
}
.selimpex-faq-item summary {
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 600;
	color: #0033a0;
	list-style: none;
}
.selimpex-faq-item summary::-webkit-details-marker {
	display: none;
}
.selimpex-faq-item summary::after {
	content: "+";
	float: right;
	font-weight: 700;
	color: #f5c518;
}
.selimpex-faq-item[open] summary::after {
	content: "−";
}
.selimpex-faq-answer {
	padding: 0 20px 16px;
	color: #475569;
	line-height: 1.6;
}
.selimpex-cta-servicios {
	background: linear-gradient(135deg, #0033a0 0%, #002266 100%);
	color: #fff;
	padding: 48px 0;
	text-align: center;
}
.selimpex-cta-servicios h2 {
	margin: 0 0 12px;
	font-size: 1.8rem;
}
.selimpex-cta-servicios p {
	margin: 0 0 24px;
	opacity: 0.95;
}
.selimpex-cta-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.selimpex-cta-servicios .selimpex-btn-secondary {
	background: transparent;
	border: 2px solid #f5c518;
	color: #f5c518;
}
@media (max-width: 900px) {
	.selimpex-svc-row,
	.selimpex-svc-row-reverse {
		grid-template-columns: 1fr;
	}
	.selimpex-svc-row-reverse .selimpex-svc-text,
	.selimpex-svc-row-reverse .selimpex-svc-media {
		order: initial;
	}
	.selimpex-hero-overlay h1 {
		font-size: 1.7rem;
	}
	.selimpex-hero-servicios .selimpex-hero-img {
		height: auto;
		max-height: none;
		object-fit: contain;
	}
}


/* Footer: WhatsApp a la derecha de columna General */
.selimpex-footer-col-aduana .selimpex-footer-aduana-wrap,
.selimpex-footer-col-general .selimpex-footer-general-wrap {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 36px;
}
.selimpex-footer-aduana-content,
.selimpex-footer-general-content {
	flex: 1;
	min-width: 0;
}
.selimpex-footer-wa-side {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding-top: 8px;
	margin-left: 12px;
	gap: 6px;
}
.selimpex-footer-wa-side .selimpex-social-wa {
	display: inline-flex;
	line-height: 0;
	transition: transform 0.15s ease;
}
.selimpex-footer-wa-side .selimpex-social-wa:hover {
	transform: scale(1.08);
}
.selimpex-footer-wa-side .selimpex-social-wa svg {
	width: 56px;
	height: 56px;
	display: block;
}
.selimpex-footer-wa-label {
	font-size: 12px;
	color: #94a3b8;
	font-weight: 600;
}
@media (max-width: 900px) {
	.selimpex-footer-col-aduana .selimpex-footer-aduana-wrap,
	.selimpex-footer-col-general .selimpex-footer-general-wrap {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.selimpex-footer-wa-side {
		padding-top: 8px;
		margin-left: 0;
		flex-direction: row;
		gap: 10px;
	}
	.selimpex-footer-wa-side .selimpex-social-wa svg {
		width: 48px;
		height: 48px;
	}
}

/* ===== Página Contacto ===== */
.selimpex-contacto-page {
	background: #fff;
}
/* Contacto: banner completo sin recorte */
.selimpex-hero.selimpex-hero-contacto {
	position: relative;
	overflow: visible;
	background: #d6e4f5;
	line-height: 0;
	max-height: none !important;
}
.selimpex-hero-contacto .selimpex-hero-img {
	width: 100%;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	object-fit: contain !important;
	object-position: center center;
	display: block;
	background: #d6e4f5;
}

.selimpex-contacto-section {
	padding: 56px 0 64px;
}
.selimpex-contacto-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 40px;
	align-items: start;
}
.selimpex-contacto-info h2,
.selimpex-contacto-form-wrap h2 {
	color: #0033a0;
	font-size: 1.5rem;
	margin: 0 0 20px;
}
.selimpex-contacto-item {
	display: flex;
	gap: 14px;
	margin-bottom: 22px;
}
.selimpex-contacto-icon {
	font-size: 1.25rem;
	line-height: 1.4;
	flex: 0 0 auto;
}
.selimpex-contacto-item strong {
	display: block;
	color: #0f172a;
	margin-bottom: 4px;
}
.selimpex-contacto-item p {
	margin: 0;
	color: #475569;
	line-height: 1.5;
}
.selimpex-contacto-item a {
	color: #0033a0;
	text-decoration: none;
}
.selimpex-contacto-item a:hover {
	text-decoration: underline;
}
.selimpex-contacto-form-wrap {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px 28px 32px;
}
.selimpex-contacto-form-intro {
	color: #64748b;
	margin: -8px 0 20px;
}
.selimpex-contacto-field {
	margin-bottom: 16px;
}
.selimpex-contacto-field label {
	display: block;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 6px;
	font-size: 0.92rem;
}
.selimpex-contacto-field label span {
	color: #dc2626;
}
.selimpex-contacto-field input,
.selimpex-contacto-field textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 0.95rem;
	background: #fff;
	color: #0f172a;
	box-sizing: border-box;
}
.selimpex-contacto-field input:focus,
.selimpex-contacto-field textarea:focus {
	outline: none;
	border-color: #0033a0;
	box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.12);
}
.selimpex-contacto-submit {
	margin-top: 8px;
	min-width: 180px;
}
.selimpex-contacto-msg {
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 0.95rem;
	line-height: 1.45;
}
.selimpex-contacto-msg.is-ok {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}
.selimpex-contacto-msg.is-err {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}
@media (max-width: 900px) {
	.selimpex-contacto-grid {
		grid-template-columns: 1fr;
	}
	.selimpex-hero.selimpex-hero-contacto {
		max-height: none !important;
	}
	.selimpex-hero-contacto .selimpex-hero-img {
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		object-fit: contain !important;
		object-position: center center;
	}
}

/* ===== Blog ===== */
.selimpex-blog-page,
.selimpex-blog-single-page {
	background: #fff;
}
.selimpex-hero-blog {
	line-height: 0;
	background: #0f172a;
	overflow: hidden;
}
.selimpex-hero-blog .selimpex-hero-img {
	width: 100%;
	height: auto;
	min-height: 240px;
	object-fit: cover;
	object-position: center;
	display: block;
}
.selimpex-blog-list-section {
	padding: 48px 0 64px;
}
.selimpex-blog-list-header {
	text-align: center;
	margin-bottom: 36px;
}
.selimpex-blog-list-header p {
	color: #64748b;
	max-width: 560px;
	margin: 8px auto 0;
}
.selimpex-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.selimpex-blog-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.selimpex-blog-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}
.selimpex-blog-card-media {
	display: block;
	line-height: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e2e8f0;
}
.selimpex-blog-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.selimpex-blog-card-body {
	padding: 18px 18px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.selimpex-blog-card-date {
	font-size: 0.82rem;
	color: #64748b;
	margin: 0 0 8px;
}
.selimpex-blog-card-title {
	font-size: 1.15rem;
	line-height: 1.35;
	margin: 0 0 10px;
}
.selimpex-blog-card-title a {
	color: #0033a0;
	text-decoration: none;
}
.selimpex-blog-card-title a:hover {
	text-decoration: underline;
}
.selimpex-blog-card-excerpt {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 14px;
	flex: 1;
}
.selimpex-blog-card-more {
	color: #f59e0b;
	font-weight: 700;
	text-decoration: none;
	font-size: 0.95rem;
}
.selimpex-blog-card-more:hover {
	text-decoration: underline;
}
.selimpex-blog-pagination {
	margin-top: 36px;
	text-align: center;
}
.selimpex-blog-pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}
.selimpex-blog-pagination a,
.selimpex-blog-pagination span {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	text-decoration: none;
	color: #0033a0;
}
.selimpex-blog-pagination .current {
	background: #0033a0;
	color: #fff;
	border-color: #0033a0;
}

/* Single */
.selimpex-blog-single-inner {
	max-width: 820px;
	padding-top: 32px;
	padding-bottom: 64px;
}
.selimpex-blog-single-back {
	margin: 0 0 16px;
}
.selimpex-blog-single-back a {
	color: #0033a0;
	text-decoration: none;
	font-weight: 600;
}
.selimpex-blog-single-header h1 {
	color: #0f172a;
	font-size: 2rem;
	line-height: 1.25;
	margin: 0 0 20px;
}
.selimpex-blog-single-hero {
	margin-bottom: 20px;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
}
.selimpex-blog-single-hero img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 420px;
	object-fit: cover;
}
.selimpex-blog-single-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}
.selimpex-share-feedback {
	color: #065f46;
	font-weight: 600;
	font-size: 0.9rem;
}
.selimpex-blog-single-content {
	color: #334155;
	line-height: 1.7;
	font-size: 1.05rem;
}
.selimpex-blog-single-content p {
	margin: 0 0 1em;
}
.selimpex-blog-comments {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid #e2e8f0;
}
.selimpex-blog-comments h2 {
	color: #0033a0;
	margin: 0 0 16px;
}
.selimpex-blog-login-note {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 16px;
}
.selimpex-blog-login-note a {
	color: #0033a0;
	font-weight: 600;
}
@media (max-width: 900px) {
	.selimpex-blog-grid {
		grid-template-columns: 1fr;
	}
	.selimpex-blog-single-header h1 {
		font-size: 1.55rem;
	}
}
@media (min-width: 901px) and (max-width: 1100px) {
	.selimpex-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* ===== Términos y Condiciones ===== */
.selimpex-terminos-page {
	background: #fff;
}
.selimpex-terminos-section {
	padding: 48px 0 64px;
}
.selimpex-terminos-inner {
	max-width: 860px;
}
.selimpex-terminos-header h1 {
	color: #0033a0;
	font-size: 2rem;
	margin: 0 0 8px;
}
.selimpex-terminos-subtitle {
	color: #64748b;
	margin: 0 0 28px;
	font-size: 1rem;
}
.selimpex-terminos-content h2 {
	color: #0033a0;
	font-size: 1.35rem;
	margin: 0 0 16px;
}
.selimpex-terminos-content h3 {
	color: #0f172a;
	font-size: 1.1rem;
	margin: 24px 0 10px;
}
.selimpex-terminos-content ul {
	margin: 0 0 12px 1.2em;
	padding: 0;
	color: #334155;
	line-height: 1.65;
}
.selimpex-terminos-content li {
	margin-bottom: 8px;
}
.selimpex-terminos-content p {
	color: #334155;
	line-height: 1.65;
}
.selimpex-terminos-contact {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
	color: #475569;
}
.selimpex-terminos-contact a {
	color: #0033a0;
	text-decoration: none;
	font-weight: 600;
}


/* Checkbox términos registro */
.selimpex-form-check {
	margin: 12px 0 18px;
}
.selimpex-check-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.92rem;
	color: #334155;
	line-height: 1.45;
	cursor: pointer;
}
.selimpex-check-label input[type="checkbox"] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
.selimpex-check-label a {
	color: #0033a0;
	font-weight: 600;
	text-decoration: underline;
}

/* ===== Desglose aceptado: columnas alineadas (sin letras montadas) ===== */
.selimpex-reserva-side-desglose {
	overflow-x: auto;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}
.selimpex-desglose-scroll {
	width: 100%;
	overflow-x: auto;
}
.selimpex-desglose-aceptado {
	width: 100% !important;
	min-width: 340px;
	table-layout: fixed !important;
	border-collapse: collapse;
	font-size: 11px !important;
}
.selimpex-desglose-aceptado th,
.selimpex-desglose-aceptado td {
	padding: 6px 5px !important;
	line-height: 1.3 !important;
	vertical-align: middle !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	hyphens: none !important;
}
/* Importes: nunca partir letra a letra */
.selimpex-desglose-aceptado td:nth-child(3),
.selimpex-desglose-aceptado td:nth-child(4),
.selimpex-desglose-aceptado td:nth-child(5),
.selimpex-desglose-aceptado th:nth-child(3),
.selimpex-desglose-aceptado th:nth-child(4),
.selimpex-desglose-aceptado th:nth-child(5) {
	white-space: nowrap !important;
}
.selimpex-reserva-side-desglose .selimpex-desglose-aceptado {
	font-size: 10px !important;
}
.selimpex-drawer-body .selimpex-desglose-aceptado {
	font-size: 12px !important;
	min-width: 420px;
}
.selimpex-drawer-body .selimpex-desglose-aceptado th,
.selimpex-drawer-body .selimpex-desglose-aceptado td {
	padding: 8px 7px !important;
}


/* Autocomplete países en reserva */
.selimpex-form-reserva .selimpex-autocomplete-wrapper {
	position: relative;
	margin-bottom: 8px;
}
.selimpex-form-reserva .selimpex-autocomplete-list {
	z-index: 50;
	max-height: 220px;
}
.selimpex-form-reserva .selimpex-autocomplete-list:not([hidden]) {
	display: block;
}


/* País autocomplete en reserva: listado visible sobre tarjetas */
.selimpex-form-reserva .selimpex-reserva-card {
	overflow: visible;
}
.selimpex-form-reserva .selimpex-autocomplete-wrapper {
	position: relative;
	z-index: 20;
	margin-bottom: 8px;
}
.selimpex-form-reserva .selimpex-autocomplete-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 10050;
	max-height: 220px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
	margin: 0;
	padding: 0;
	list-style: none;
}
.selimpex-form-reserva .selimpex-autocomplete-list li {
	padding: 10px 12px;
	cursor: pointer;
	font-size: 0.9rem;
	border-bottom: 1px solid #f1f5f9;
}
.selimpex-form-reserva .selimpex-autocomplete-list li:hover {
	background: #eef2ff;
	color: #0033a0;
}


/* Selector de idioma (header) */
.selimpex-lang-switcher {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: 12px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.selimpex-lang-btn {
	color: #64748b;
	text-decoration: none;
	padding: 4px 6px;
	border-radius: 4px;
	line-height: 1;
}
.selimpex-lang-btn:hover {
	color: #0033a0;
	background: #eef2ff;
}
.selimpex-lang-btn.is-active {
	color: #0033a0;
	background: #f5c518;
}
.selimpex-lang-sep {
	color: #cbd5e1;
	user-select: none;
}
@media (max-width: 768px) {
	.selimpex-lang-switcher {
		margin-left: 8px;
		margin-right: 4px;
	}
}

/* Servicios: overlay HTML traducido cubre texto quemado en la imagen */
.selimpex-hero-servicios {
	position: relative;
	overflow: hidden;
}
.selimpex-hero-servicios .selimpex-hero-overlay {
	/* Cubre el texto quemado en la imagen en cualquier idioma */
	background: rgba(0, 40, 110, 0.92);
	justify-content: center;
	text-align: center;
}
.selimpex-hero-servicios .selimpex-hero-overlay .selimpex-container {
	max-width: 900px;
	margin: 0 auto;
}
.selimpex-hero-servicios .selimpex-hero-overlay h1 {
	text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.selimpex-hero-servicios .selimpex-hero-overlay p {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.selimpex-hero-servicios .selimpex-hero-overlay .selimpex-container {
	padding-left: 24px;
	padding-right: 24px;
}

/* Banners: ocultan texto quemado en imagen (ES/EN) */
.selimpex-hero-servicios,
.selimpex-hero-contacto,
.selimpex-hero-blog {
	position: relative;
	overflow: hidden;
}
.selimpex-hero-servicios .selimpex-hero-overlay,
.selimpex-hero-contacto .selimpex-hero-overlay,
.selimpex-hero-blog .selimpex-hero-overlay {
	background: rgba(0, 35, 100, 0.97) !important;
	justify-content: center;
	text-align: center;
}
.selimpex-hero-overlay-contacto h1,
.selimpex-hero-servicios .selimpex-hero-overlay h1,
.selimpex-hero-blog .selimpex-hero-overlay h1 {
	color: #fff;
	font-size: clamp(1.6rem, 4vw, 2.6rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.selimpex-hero-servicios .selimpex-hero-overlay p {
	color: #e2e8f0;
	margin: 12px auto 0;
	max-width: 720px;
}


.selimpex-hero-servicios .selimpex-hero-overlay,
.selimpex-hero-contacto .selimpex-hero-overlay,
.selimpex-hero-blog .selimpex-hero-overlay {
	display: none !important;
}
.selimpex-hero-servicios,
.selimpex-hero-contacto,
.selimpex-hero-blog {
	min-height: auto;
}
.selimpex-hero-servicios .selimpex-hero-img,
.selimpex-hero-contacto .selimpex-hero-img,
.selimpex-hero-blog .selimpex-hero-img {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	object-position: center;
	display: block;
}


/* === v1.9.7: cabeceras completas (sin recorte) === */
.selimpex-hero-servicios,
.selimpex-hero-contacto,
.selimpex-hero-blog {
	position: relative;
	overflow: hidden;
	min-height: 0 !important;
	height: auto !important;
	background: #0a2a5c;
}
.selimpex-hero-servicios .selimpex-hero-overlay,
.selimpex-hero-contacto .selimpex-hero-overlay,
.selimpex-hero-blog .selimpex-hero-overlay {
	display: none !important;
}
.selimpex-hero-servicios .selimpex-hero-img,
.selimpex-hero-contacto .selimpex-hero-img,
.selimpex-hero-blog .selimpex-hero-img {
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
	display: block !important;
}
/* Blog es más panorámico: limitar altura visual sin recortar texto */
.selimpex-hero-blog .selimpex-hero-img {
	width: 100% !important;
	height: auto !important;
	max-height: 480px !important;
	object-fit: contain !important;
	background: #e8eef5;
}
@media (max-width: 768px) {
	.selimpex-hero-servicios .selimpex-hero-img,
	.selimpex-hero-contacto .selimpex-hero-img,
	.selimpex-hero-blog .selimpex-hero-img {
		max-height: none !important;
	}
}



/* LCL input mode selector */
.selimpex-lcl-mode-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}
.selimpex-lcl-mode-label {
	font-weight: 700;
	color: #0033a0;
	margin: 0;
}
.selimpex-lcl-mode-select {
	min-width: 260px;
	max-width: 100%;
}
.selimpex-lcl-mode-panel {
	margin-top: 8px;
}
#selimpex-lcl-totales-table input.selimpex-input {
	width: 100%;
	min-width: 90px;
}


/* ========== Sofía WhatsApp chatbox ========== */
.selimpex-sofia-root {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.selimpex-sofia-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: #25D366;
	color: #fff;
	box-shadow: 0 6px 20px rgba(0,0,0,.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .15s ease, box-shadow .15s ease;
}
.selimpex-sofia-btn:hover {
	transform: scale(1.06);
	box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.selimpex-sofia-btn svg { width: 32px; height: 32px; fill: currentColor; }
.selimpex-sofia-panel {
	display: none;
	position: absolute;
	right: 0;
	bottom: 72px;
	width: 320px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0,0,0,.22);
	overflow: hidden;
	border: 1px solid #e5e7eb;
}
.selimpex-sofia-root.is-open .selimpex-sofia-panel { display: block; }
.selimpex-sofia-header {
	background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.selimpex-sofia-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	flex-shrink: 0;
	border: 2px solid rgba(255,255,255,.5);
}
.selimpex-sofia-header-text strong { display: block; font-size: 15px; }
.selimpex-sofia-header-text span { font-size: 12px; opacity: .9; }
.selimpex-sofia-close {
	margin-left: auto;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
	opacity: .9;
}
.selimpex-sofia-body {
	background: #ece5dd;
	padding: 16px;
	min-height: 140px;
}
.selimpex-sofia-bubble {
	background: #fff;
	border-radius: 0 12px 12px 12px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.45;
	color: #1f2937;
	box-shadow: 0 1px 2px rgba(0,0,0,.08);
	max-width: 95%;
}
.selimpex-sofia-bubble small {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	color: #6b7280;
}
.selimpex-sofia-footer {
	padding: 12px;
	background: #f9fafb;
	border-top: 1px solid #e5e7eb;
}
.selimpex-sofia-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 14px;
	border: none;
	border-radius: 10px;
	background: #25D366;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}
.selimpex-sofia-wa:hover { background: #1ebe57; color: #fff; }
@media (max-width: 480px) {
	.selimpex-sofia-root { right: 14px; bottom: 14px; }
	.selimpex-sofia-panel { width: min(320px, calc(100vw - 28px)); }
}


.selimpex-sofia-body {
	max-height: 280px;
	overflow-y: auto;
}
.selimpex-sofia-bubble-user {
	margin-left: auto;
	border-radius: 12px 0 12px 12px;
	background: #dcf8c6;
	margin-top: 10px;
}
.selimpex-sofia-bubble { margin-top: 10px; }
.selimpex-sofia-bubble:first-child { margin-top: 0; }
.selimpex-sofia-footer-chat {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.selimpex-sofia-form {
	display: flex;
	gap: 8px;
}
.selimpex-sofia-input {
	flex: 1;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
}
.selimpex-sofia-send {
	border: none;
	border-radius: 8px;
	background: #0033A0;
	color: #fff;
	font-weight: 600;
	padding: 0 14px;
	cursor: pointer;
}
.selimpex-sofia-send:hover { background: #00257a; }
.selimpex-sofia-typing {
	font-size: 12px;
	color: #6b7280;
	font-style: italic;
	margin-top: 8px;
}


.selimpex-sofia-launcher {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}
.selimpex-sofia-label {
	background: #111827;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(0,0,0,.2);
	white-space: nowrap;
	max-width: 160px;
}
@media (max-width: 480px) {
	.selimpex-sofia-label { font-size: 12px; padding: 6px 10px; max-width: 120px; }
}
