/* ==========================================================
   Personalización Viajesoft · Sitio de Agencias
   ========================================================== */

/* Logo: respetar proporción de logos de cada agencia */
#logo img { width: auto !important; height: 56px !important; max-width: 190px; object-fit: contain; margin-top: -10px; }
header.sticky #logo img { height: 48px !important; margin-top: -6px; }
.footer-logo { width: auto; max-width: 190px; max-height: 90px; }
@media (max-width: 991px) {
	#logo img, header.sticky #logo img { height: 40px !important; margin: 5px 0 0 0 !important; }
}

/* Avatar del cliente en el header */
ul#top_menu li .cliente-avatar {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: #fc5b62; color: #fff !important; font-weight: 600; font-size: 13px;
	margin-top: -4px; text-decoration: none;
}
.dropdown-user .dropdown-menu { width: 200px; margin-left: -160px; top: 130%; }
.dropdown-user .dropdown-menu ul li a i { margin-right: 6px; }

/* Tipo de cambio fijo en el header */
ul#top_menu li.tc-li { margin-right: 20px; }
.tc-header {
	display: inline-flex; align-items: center; gap: 7px; height: 30px; margin-top: 2px;
	color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: default;
}
.tc-header .tc-bandera { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 1px 3px rgba(0, 0, 0, .25); flex-shrink: 0; }
header.sticky .tc-header { color: #333; }
@media (max-width: 991px) {
	ul#top_menu li.tc-li { margin-right: 6px; }
	.tc-header { margin-top: -4px; }
}
@media (max-width: 767px) {
	/* Panagea oculta el primer elemento en móvil: se mantiene visible el tipo de cambio */
	ul#top_menu li.tc-li { display: block !important; }
	.tc-header { font-size: 12px; gap: 5px; }
	.tc-header .tc-bandera { width: 20px; height: 13px; }
	#logo img { max-width: 120px; }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
	position: fixed; left: 20px; bottom: 20px; z-index: 999;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff !important;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
	transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-tooltip {
	position: absolute; left: 66px; white-space: nowrap;
	background: #fff; color: #333; font-size: 13px; padding: 6px 12px; border-radius: 4px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .15); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@media (max-width: 767px) {
	.whatsapp-float { width: 50px; height: 50px; font-size: 26px; left: 15px; bottom: 15px; }
	.whatsapp-tooltip { display: none; }
}

/* Mensajes flash */
.flash-msg {
	position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
	z-index: 1050; min-width: 300px; max-width: 92%; box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
}

/* Modales legales */
.modal-legal {
	background: #fff; padding: 0 0 30px; margin: 40px auto; max-width: 760px; width: 92%;
	position: relative; border-radius: 5px; overflow: hidden;
}
.modal-legal .small-dialog-header { margin-bottom: 0; width: 100%; left: 0; padding: 18px 30px; }
.modal-legal-body { padding: 25px 30px 0; line-height: 1.7; max-height: 65vh; overflow-y: auto; }
.modal-legal .sectur-num { font-size: 1.15rem; font-weight: 600; color: #333; }

/* Contacto: matriz y sucursales */
/* Cada oficina en una fila: mapa y datos lado a lado, intercalando el lado del mapa */
.suc-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 0 25px rgba(0, 0, 0, .07); margin-bottom: 35px; display: flex; flex-direction: row; min-height: 380px; }
.suc-card.suc-invertida { flex-direction: row-reverse; }
.suc-mapa { position: relative; flex: 0 0 50%; max-width: 50%; background: #eef1f4; }
.suc-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.suc-card:not(:has(.suc-mapa)) { min-height: 0; }
.suc-body { flex: 1; padding: 32px 36px; display: flex; flex-direction: column; }
.suc-acciones { max-width: 360px; }
@media (max-width: 991px) {
	.suc-card, .suc-card.suc-invertida { flex-direction: column; min-height: 0; }
	.suc-mapa { flex: none; max-width: 100%; height: 240px; }
	.suc-body { padding: 22px 24px 24px; }
	.suc-acciones { max-width: none; }
}
.suc-body h3 { font-size: 19px; margin: 6px 0 15px; }
.suc-tipo { align-self: flex-start; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; padding: 3px 10px; border-radius: 3px; background: #f1f1f1; color: #666; }
.suc-tipo.matriz { background: #fc5b62; color: #fff; }
.suc-dato { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.suc-dato i { color: #fc5b62; font-size: 16px; margin-top: 2px; }
.suc-horario { background: #f8f8f8; border-radius: 4px; padding: 12px 14px; margin: 5px 0 18px; font-size: 13px; }
.suc-horario strong i { color: #fc5b62; margin-right: 4px; }
.suc-horario ul { list-style: none; padding: 0; margin: 8px 0 0; }
.suc-horario li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.suc-horario li span:first-child { color: #888; }
.suc-acciones { margin-top: auto; display: flex; gap: 8px; }
.suc-acciones .abrir-contacto { flex: 1; text-align: center; }
.suc-acciones { align-items: stretch; }
.suc-acciones .btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; padding: 0; aspect-ratio: 1 / 1; font-size: 20px; line-height: 1; }
.suc-acciones .btn-whatsapp i, .suc-acciones .abrir-contacto i { display: block; line-height: 1; }
.suc-acciones .btn-whatsapp i::before { vertical-align: 0; display: block; }
.suc-acciones .abrir-contacto { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

.modal-contacto { max-width: 640px; }
.modal-contacto .modal-legal-body { max-height: none; }
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso-corto { font-size: 13px; margin-top: 6px; }
.aviso-corto summary { color: #fc5b62; cursor: pointer; }
.aviso-corto > div { max-height: 160px; overflow-y: auto; background: #f8f8f8; padding: 10px 12px; margin-top: 6px; border-radius: 4px; }
.contacto-ok-icono { font-size: 56px; color: #32a067; display: block; margin: 10px 0; }

/* Solicitud de cotización (detalle del producto) */
.modal-solicitud { max-width: 640px; }
.modal-solicitud .modal-legal-body { max-height: none; }
.solicitud-producto { line-height: 1.4; margin-bottom: 15px; }
.solicitud-hab { border: 1px solid #ededed; border-radius: 4px; padding: 10px 12px; margin-bottom: 10px; }
.solicitud-hab-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.solicitud-hab .form-label { font-size: 13px; margin-bottom: 2px; }
.solicitud-asesores { max-height: 230px; overflow-y: auto; border: 1px solid #ededed; border-radius: 4px; padding: 8px 12px; }
.solicitud-asesores legend { font-size: 14px; float: none; width: auto; margin-bottom: 4px; }
.solicitud-asesor { display: flex; align-items: center; gap: 10px; padding: 6px 0; margin: 0; cursor: pointer; border-top: 1px solid #f4f4f4; }
.solicitud-asesor:first-of-type { border-top: 0; }
.solicitud-asesor small { display: block; color: #888; font-size: 12px; line-height: 1.2; }
.solicitud-ini { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #f1f1f1; color: #555; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.solicitud-asesor input:checked + .solicitud-ini { background: #32a067; color: #fff; }

/* Footer */
footer .horario { font-size: 13px; opacity: .85; }
footer .footer-tc { margin-top: 15px; font-size: 13px; }
footer .footer-tc small { opacity: .7; }
footer #additional_links .powered { opacity: .6; }
footer ul.contacts li a i.bi { margin-right: 6px; }

/* Hero de inicio */
.hero_single .custom-search-input-2 select.form-control { height: 50px; border: 0; border-radius: 0; }

/* Categorías en inicio */
.cat-tile { display: block; background: #fff; text-align: center; padding: 30px 15px 25px; border-radius: 6px; margin-bottom: 25px; box-shadow: 0 0 25px rgba(0, 0, 0, .06); color: #555; transition: all .3s ease; }
.cat-tile i { font-size: 42px; color: #fc5b62; display: block; margin-bottom: 12px; }
.cat-tile h3 { font-size: 18px; margin: 0 0 4px; color: #333; }
.cat-tile span { font-size: 13px; color: #999; }
.cat-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 0, 0, .1); }

/* Catálogo */
.box_grid .wrapper p { min-height: 48px; }
.box_grid .price small { font-size: 12px; color: #999; }
.filtros-catalogo { background: #fff; padding: 20px; border-radius: 5px; box-shadow: 0 0 20px rgba(0, 0, 0, .05); margin-bottom: 30px; }
.filtros-catalogo .form-control, .filtros-catalogo .form-select { height: 45px; }
.tabs-tipos a { display: inline-block; padding: 8px 18px; margin: 0 6px 10px 0; border-radius: 30px; background: #f2f2f2; color: #555; font-weight: 500; }
.tabs-tipos a.active, .tabs-tipos a:hover { background: #fc5b62; color: #fff; }
.sin-resultados { text-align: center; padding: 60px 15px; color: #777; }
.sin-resultados i { font-size: 46px; color: #ccc; display: block; margin-bottom: 15px; }

/* Contáctanos: imagen de config agencia.portada_contacto (--hero-img) */
.hero_in.contacts:before { background-image: var(--landing-img, none), var(--hero-img, url(../img/hero_in_bg_3.jpg)); background-size: cover; background-position: center 35%; }
.hero_in.contacts .wrapper { background-color: rgba(0, 0, 0, .45); }

/* Detalle: la portada usa la foto principal del producto */
.hero_in.tours_detail:before { background-image: var(--hero-img, url(../img/hero_in_tours_detail.jpg)); background-size: cover; background-position: center; }

/* Detalle */
.lista-incluye { list-style: none; padding: 0; }
.lista-incluye li { padding: 6px 0 6px 28px; position: relative; }
.lista-incluye li i { position: absolute; left: 0; top: 8px; font-size: 16px; }
.lista-incluye.si i { color: #32a067; }
.lista-incluye.no i { color: #d9534f; }
.box_detail.booking .price small.moneda { font-size: 13px; color: #999; }
.box_detail ul.datos-producto { list-style: none; padding: 0; margin: 15px 0; }
.box_detail ul.datos-producto li { padding: 7px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; gap: 10px; }
.box_detail ul.datos-producto li span { color: #777; }
.btn_1.btn-whatsapp { background: #25d366; }
.btn_1.btn-whatsapp:hover { background: #1da851; color: #fff; }

/* Encabezado de Acceso / Registro / Recuperar contraseña / Panel del cliente.
   Foto: config agencia.portada_clientes (--hero-img). Sin foto: degradado. */
.hero_in.cuenta { height: 300px; }
.hero_in.cuenta:before {
	background: var(--landing-img, none) center / cover no-repeat,
	            var(--hero-img, none) center 40% / cover no-repeat,
	            radial-gradient(circle at 85% 20%, rgba(252, 91, 98, .55) 0, rgba(252, 91, 98, 0) 45%),
	            linear-gradient(120deg, #14213d 0%, #1d3557 55%, #2a4d6e 100%);
}
.hero_in.cuenta .wrapper { background-color: rgba(10, 20, 40, .3); }
.hero_in.cuenta h1 { font-size: 34px; }
.hero_in.cuenta .subtitulo { display: block; margin-top: 8px; font-size: 16px; font-weight: 400; opacity: .9; }
@media (max-width: 767px) {
	.hero_in.cuenta { height: 230px; }
	.hero_in.cuenta h1 { font-size: 26px; }
}

/* Promoción en el Panel del cliente: foto a la derecha, texto a la izquierda */
.hero_in.cuenta.promo { height: 470px; text-align: left; }
.hero_in.cuenta.promo:before { background: var(--hero-img, none) right center / cover no-repeat, linear-gradient(120deg, #14213d, #2a4d6e); }
.hero_in.cuenta.promo .wrapper {
	background: linear-gradient(90deg, rgba(12, 22, 44, .9) 0%, rgba(12, 22, 44, .72) 35%, rgba(12, 22, 44, .15) 70%, rgba(12, 22, 44, 0) 100%);
	padding-top: 80px;
}
.promo-contenido { max-width: 560px; }
.hero_in .wrapper .promo-saludo { font-size: 18px; font-weight: 400; margin-bottom: 12px; opacity: .95; }
.promo-tag { display: inline-block; background: #fc5b62; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; padding: 5px 14px; border-radius: 30px; }
.hero_in.cuenta.promo .wrapper h1 { font-size: 60px; font-weight: 800; margin: 6px 0 0; line-height: 1.05; letter-spacing: .5px; text-shadow: 0 3px 12px rgba(0, 0, 0, .35); }
.hero_in .wrapper .promo-detalle { font-size: 22px; font-weight: 400; margin: 6px 0 14px; }
.hero_in .wrapper .promo-precio { font-size: 16px; line-height: 1.1; margin-bottom: 18px; }
.promo-precio small { display: block; font-size: 15px; font-weight: 300; opacity: .9; }
.promo-precio small:last-child { display: inline; margin-left: 6px; font-weight: 400; }
.hero_in .wrapper .promo-precio strong { font-size: 46px; font-weight: 800; color: #ffd166; }
.btn_1.promo-boton { padding: 12px 28px; font-size: 15px; }
.btn_1.promo-boton i { vertical-align: middle; margin-left: 4px; }
@media (max-width: 767px) {
	.hero_in.cuenta.promo { height: 440px; }
	.hero_in.cuenta.promo .wrapper { padding-top: 70px; }
	.hero_in.cuenta.promo:before { background-position: 70% center, 0 0; }
	.hero_in.cuenta.promo .wrapper { background: linear-gradient(90deg, rgba(12, 22, 44, .88) 0%, rgba(12, 22, 44, .6) 100%); }
	.hero_in.cuenta.promo .wrapper h1 { font-size: 42px; }
	.hero_in .wrapper .promo-saludo { font-size: 15px; }
	.hero_in .wrapper .promo-detalle { font-size: 18px; }
	.hero_in .wrapper .promo-precio strong { font-size: 36px; }
}

/* Botón de descarga PDF en tablas del panel */
.btn-pdf { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 30px; border: 1px solid #fc5b62; color: #fc5b62; font-size: 12px; font-weight: 600; white-space: nowrap; }
.btn-pdf:hover { background: #fc5b62; color: #fff; }

/* Mis pagos */
.buscar-pagos { background: #f7f8fa; border-radius: 6px; padding: 14px; margin-bottom: 12px; }
.buscar-por { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.buscar-etq { font-size: 13px; color: #777; margin-right: 4px; }
.buscar-por label { cursor: pointer; margin: 0; padding: 5px 14px; border-radius: 30px; background: #fff; border: 1px solid #ddd; font-size: 13px; font-weight: 500; color: #555; }
.buscar-por label.activo { background: #fc5b62; border-color: #fc5b62; color: #fff; }
.buscar-por input { position: absolute; opacity: 0; pointer-events: none; }
.buscar-por label:focus-within { outline: 2px solid rgba(252, 91, 98, .4); outline-offset: 1px; }
.buscar-campo { display: flex; gap: 8px; }
.buscar-rango { display: flex; gap: 8px; flex: 1; }
.buscar-rango .form-control, .buscar-campo > .form-control { flex: 1; min-width: 0; }
.buscar-rango[hidden], .buscar-campo .form-control[hidden] { display: none; }
.buscar-rango label { display: flex; align-items: center; gap: 6px; flex: 1; margin: 0; font-size: 13px; color: #777; }
@media (max-width: 575px) {
	.buscar-campo { flex-wrap: wrap; }
	.buscar-rango { flex-basis: 100%; flex-direction: column; }
	.buscar-campo .btn_1 { width: 100%; }
}
.buscar-campo .form-control { height: 42px; }
.buscar-campo .btn_1 { white-space: nowrap; padding: 0 20px; height: 42px; }
.buscar-resultado { font-size: 14px; margin-bottom: 10px; }
.tabla-cuenta tr.pago-cancelado td { color: #aaa; }
.tabla-cuenta tr.pago-cancelado td:nth-child(5) strong { text-decoration: line-through; }
.tabla-cuenta tfoot td { border-top: 2px solid #eee; border-bottom: 0; padding-top: 12px; }

/* Formularios de acceso */
.acceso-wrapper { max-width: 520px; margin: 0 auto; background: #fff; padding: 35px; border-radius: 5px; box-shadow: 0 0 30px rgba(0, 0, 0, .06); }
.acceso-wrapper .form-group { position: relative; margin-bottom: 18px; }
.acceso-wrapper .invalid-feedback { display: block; }
.acceso-wrapper .container_check a { color: #fc5b62; }

/* ---------- Área de clientes ---------- */
.dash-nav { list-style: none; padding: 0; margin: 0 0 25px; display: flex; flex-wrap: wrap; gap: 8px; }
.dash-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 30px; background: #fff; color: #555; font-weight: 500; box-shadow: 0 0 15px rgba(0, 0, 0, .05); }
.dash-nav a.active, .dash-nav a:hover { background: #fc5b62; color: #fff; }

.dash-card { background: #fff; border-radius: 6px; box-shadow: 0 0 20px rgba(0, 0, 0, .05); padding: 22px; margin-bottom: 25px; }
.row > [class*="col"] > .dash-card.alto { height: calc(100% - 25px); }
.dash-card h4 { font-size: 16px; margin-bottom: 15px; }
.dash-kpi small { display: block; color: #888; text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }
.dash-kpi strong { display: block; font-size: 24px; font-weight: 600; color: #333; margin: 4px 0; }
.dash-kpi .kpi-icon { float: right; font-size: 30px; color: #fc5b62; opacity: .8; }
.dash-kpi.saldo strong { color: #d9534f; }
.dash-kpi.pagado strong { color: #32a067; }

.aviso-vinculo { background: #fff8e1; border-left: 4px solid #f0ad4e; padding: 18px 20px; border-radius: 4px; margin-bottom: 25px; }

.tabla-cuenta { width: 100%; }
.tabla-cuenta th { font-size: 12px; text-transform: uppercase; color: #888; font-weight: 500; border-bottom: 2px solid #eee; padding: 10px 8px; white-space: nowrap; }
.tabla-cuenta td { padding: 12px 8px; border-bottom: 1px solid #f1f1f1; vertical-align: middle; }
.tabla-cuenta tr:last-child td { border-bottom: 0; }
.tabla-cuenta .num { text-align: right; white-space: nowrap; }
.tabla-cuenta td a strong, .tabla-cuenta td small { white-space: nowrap; }

.estatus { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.estatus.approved { background: #e3f6ec; color: #1f8a52; }
.estatus.pending { background: #fff3d9; color: #b7791f; }
.estatus.cancel { background: #fde7e7; color: #c53030; }

.barra-avance { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; min-width: 80px; }
.barra-avance span { display: block; height: 100%; background: #32a067; }

.tc-box { text-align: center; }
.tc-box .tc-valor { font-size: 32px; font-weight: 600; color: #333; }
.tc-box small { color: #888; }

.servicio-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
.servicio-item:last-child { border-bottom: 0; }
.servicio-item .tipo { min-width: 80px; font-size: 12px; font-weight: 600; color: #fc5b62; text-transform: uppercase; padding-top: 2px; }

.ticket-item { border: 1px solid #eee; border-radius: 5px; padding: 16px 18px; margin-bottom: 15px; }
.ticket-item .respuesta { background: #f7f9fb; border-left: 3px solid #fc5b62; padding: 10px 14px; margin-top: 12px; border-radius: 3px; }

@media (max-width: 767px) {
	.tabla-responsiva thead { display: none; }
	.tabla-responsiva tr { display: block; border-bottom: 1px solid #eee; padding: 8px 0; }
	.tabla-responsiva td { display: flex; justify-content: space-between; border: 0; padding: 5px 0; text-align: right; }
	.tabla-responsiva td::before { content: attr(data-label); font-weight: 500; color: #888; text-align: left; margin-right: 10px; }
	.dash-kpi strong { font-size: 20px; }
}

/* ---------- Nuestros asesores ---------- */
.ase-buscar { position: relative; max-width: 420px; margin: 0 auto 35px; }
.ase-buscar i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #999; }
.ase-buscar input { padding-left: 38px; height: 46px; border-radius: 23px; }
.ase-grupo { margin-bottom: 45px; }
.ase-grupo:last-child { margin-bottom: 0; }
.ase-oficina { font-size: 22px; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 12px; }
.ase-oficina .suc-tipo { margin: 0; }
.ase-card { background: #fff; border-radius: 6px; box-shadow: 0 0 25px rgba(0, 0, 0, .07); padding: 30px 22px 24px; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; transition: transform .2s, box-shadow .2s; }
.ase-card:hover { transform: translateY(-3px); box-shadow: 0 6px 30px rgba(0, 0, 0, .1); }
.ase-foto { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: 16px; background: #eef1f4; flex: none; }
.ase-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ase-iniciales { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #fc5b62, #f7a55a); }
.ase-iniciales[hidden] { display: none; }
.ase-card h4 { font-size: 18px; margin: 0 0 4px; line-height: 1.3; }
.ase-sub { color: #888; font-size: 13px; margin: 0; }
.ase-datos { list-style: none; padding: 0; margin: 14px 0 18px; font-size: 14px; width: 100%; }
.ase-datos li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 3px 0; min-width: 0; }
.ase-datos li i { color: #fc5b62; flex: none; }
.ase-datos li a { color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ase-datos li a:hover { color: #fc5b62; }
.ase-wha { margin-top: auto; }

/* Asesor en el detalle de la reservación */
.asesor-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.asesor-mini .ase-foto { width: 72px; height: 72px; margin: 0; }
.asesor-mini .ase-iniciales { font-size: 24px; }
.asesor-mini-datos { min-width: 0; }
.asesor-mini-datos a { word-break: break-all; }

/* ---------- Perfil del cliente (mismos campos que la ficha del ERP) ---------- */
.perfil-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: #555; margin-bottom: 6px; }
.perfil-label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.perfil-grupo .input-group-text { background: #fff; color: #fc5b62; width: 46px; justify-content: center; }
.perfil-grupo.is-invalid .input-group-text, .perfil-grupo.is-invalid .form-control, .perfil-grupo.is-invalid .form-select { border-color: #dc3545; }
.perfil-grupo .form-control, .perfil-grupo .form-select { height: 44px; font-size: 14px; }
.perfil-guardar { position: sticky; bottom: 0; background: #fff; box-shadow: 0 -8px 12px -10px rgba(0, 0, 0, .15); padding: 12px 0 14px; margin-bottom: 25px; text-align: right; z-index: 5; }
.cedula-archivo { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f7f9fb; border-radius: 5px; margin-bottom: 12px; }
.cedula-archivo i { font-size: 30px; color: #fc5b62; }

/* Perfil en pestañas */
.perfil-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid #eee; margin-bottom: 22px; padding: 0; list-style: none; }
.perfil-tabs .nav-link { border: 0; background: none; color: #666; font-weight: 500; padding: 10px 16px; margin-bottom: -2px; border-bottom: 2px solid transparent; border-radius: 0; display: inline-flex; align-items: center; gap: 6px; }
.perfil-tabs .nav-link:hover { color: #fc5b62; }
.perfil-tabs .nav-link.active { color: #fc5b62; border-bottom-color: #fc5b62; }
.perfil-opcional { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 9px; border-radius: 10px; background: #eef1f4; color: #6c757d; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.cedula-subir { display: flex; gap: 10px; align-items: center; }
.cedula-subir .form-control { flex: 1; min-width: 0; }
.perfil-password { max-width: 460px; }
@media (max-width: 575px) {
	.perfil-tabs .nav-link { padding: 8px 10px; font-size: 13px; }
	.cedula-subir { flex-direction: column; align-items: stretch; }
}

/* ===== Detalle de producto (catálogo ar_*) ===== */
.producto-descri p { margin-bottom: 12px; overflow-wrap: anywhere; }
.tabla-salidas td { vertical-align: top; }
.itinerario { list-style: none; padding: 0; margin: 0; border-left: 2px solid #eee; }
.itinerario > li { position: relative; padding: 0 0 18px 22px; }
.itinerario > li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-primario, #fc5b62); }
.itinerario-dia { font-size: 12px; text-transform: uppercase; color: #888; font-weight: 600; }
.itinerario h4 { font-size: 16px; margin: 2px 0 6px; }
.itinerario ul { padding-left: 18px; margin: 0; }
.itinerario ul li { margin-bottom: 4px; }

/* Catálogo: imagen de config agencia.portada_catalogo / portada_<sección> (--hero-img) */
.hero_in.catalogo.tours:before { background-image: var(--landing-img, none), var(--hero-img, url(../img/hero_in_bg_1.jpg)); background-size: cover; background-position: center 60%; }
.hero_in.catalogo.hotels:before { background-image: var(--landing-img, none), var(--hero-img, url(../img/hero_in_bg_4.jpg)); background-size: cover; background-position: center 60%; }
.hero_in.catalogo .wrapper { background-color: rgba(0, 0, 0, .4); }

/* Imágenes de SIT advantage (Configurar › Agencia › Landing, config agencia.landing_url).
   --landing-img va encima de la portada de siempre: si la agencia no subió imagen, landing.php
   responde 404 y se ve la de abajo. En celular se usa --landing-img-movil. */
.hero_single.version_2 { height: max(620px, 36.46vw); }
.hero_single.version_2:before { background-image: var(--landing-img, none), url(../img/home_section_1.jpg); background-position: center; }
/* Sección "Consulta tu viaje en línea" (Landing › consulta): en escritorio el fondo es fijo y cubre la ventana (16:9). */
.call_section { background-image: var(--landing-img, none), url(../img/bg_call_section.jpg); }
@media (max-width: 767px) {
	[style*="--landing-img-movil"] { --landing-img: var(--landing-img-movil) !important; }
	/* En celular el fondo fijo no funciona bien (iOS lo ignora): se desplaza con la sección y la cubre. */
	.call_section { background-attachment: scroll; }
}
