body { background-color: #f8f9fa; }
.header img { max-width: 150px; height: auto; }
.product-card { cursor: pointer; transition: transform 0.2s; }
.product-card:hover { transform: translateY(-5px); }
.product-card img { height: 120px; object-fit: cover; }
.nav-pills .nav-link { font-weight: bold; text-align: center; }
.cart-section, .instructions-section, .form-section { background-color: white; border-radius: 8px; padding: 1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px dashed #ddd; }
.total-box { font-size: 1.5rem; font-weight: bold; }
@media (max-width: 768px) {
	.product-card img { height: 80px; }
	.nav-pills .nav-link { font-size: 0.9rem; padding: 0.5rem; }
}
.branch-card {
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
	border-color: #007bff;
}
.branch-card:hover {
	border-color: #007bff;
	box-shadow: 0 0 10px rgba(0, 123, 255, 0.25);
}
.branch-card.selected {
	border-color: #28a745;
	box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}
.branch-card h5 {
	color: #d9534f;
	font-weight: bold;
}

.header {
	background-color: #000000;
	padding: 10px;
	overflow: hidden;
}

.header img {
	max-width: 180px;
	height: auto;
	float: left;
	margin-right: 20px;
	padding: 10px;
	border-radius: 5px;
	background-color: #fff;
	box-shadow: 
		0px 5px 15px rgba(0, 0, 0, 0.3),
		0px 10px 20px rgba(0, 0, 0, 0.2),
		0px 0px 0px 3px rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	background-color: #000000;
}

.header img:hover {
	transform: translateY(-5px);
	box-shadow: 
		0px 8px 20px rgba(0, 0, 0, 0.4),
		0px 15px 30px rgba(0, 0, 0, 0.3),
		0px 0px 0px 5px rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
	.header img {
		max-width: 120px;
		box-shadow: 
			0px 3px 10px rgba(0, 0, 0, 0.2),
			0px 5px 10px rgba(0, 0, 0, 0.1);
		transform: translateY(-1px);
		float: none;
		margin: 0 auto;
	}
}

@media (max-width: 480px) {
	.header img {
		max-width: 100px;
		padding: 5px;
		box-shadow: none;
		transform: none;
	}
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

#initial-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1050;
}

#initial-modal-content {
	background: white;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.5);
	max-width: 900px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
}

.branch-card {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}
.branch-card.fade-in {
	opacity: 1;
	transform: translateY(0);
}

#main-content {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
#main-content.show-content {
	opacity: 1;
	transform: translateY(0);
}

/* Nuevos estilos para las tarjetas de opciones */
.option-card-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}
.option-card {
	cursor: pointer;
	width: 150px;
	text-align: center;
	border: 2px solid transparent;
	border-radius: 8px;
	transition: all 0.2s ease-in-out;
}
.option-card img {
	width: 100%;
	height: 100px;
	object-fit: cover;
	border-radius: 6px;
}
.option-card h6 {
	margin-top: 0.5rem;
	font-size: 0.9rem;
}
.option-card:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.option-card.selected {
	border-color: #28a745;
	box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

#pills-tab .nav-item {
	flex-grow: 1;
	margin: 0;
	border-right: 1px solid rgba(0,0,0,0.1);
}

#pills-tab .nav-item:last-child {
	border-right: none;
}

/* ESTILOS DEL MODAL DE HORA MEJORADO */
.modal-body.time-modal-body {
	background-color: #f0f4f8;
	border-radius: 8px;
	padding: 2rem;
}
.time-picker-container {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
}
.time-picker-container .form-select {
	font-size: 1.25rem;
	padding: 0.75rem;
	border-radius: 8px;
	border-color: #ced4da;
	transition: all 0.2s ease-in-out;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.time-picker-container .form-select:focus {
	border-color: #86b7fe;
	box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}
.time-picker-container .time-separator {
	font-size: 1.5rem;
	font-weight: bold;
	color: #495057;
}
.time-icon {
	color: #d9534f;
	font-size: 2rem;
	margin-bottom: 1rem;
}

/* Nuevos estilos para el modal de confirmación */
.swal2-container .swal2-modal {
	padding: 0;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ESTILOS AGREGADOS: VENTANA DE CONFIRMACIÓN MÁS ANCHA Y BONITA */
.swal2-modal-wide {
	max-width: 100% !important; /* Modificado */
	width: 100% !important; /* Modificado */
	margin: 0 !important; /* Agregado */
}
.confirmation-container {
	background: linear-gradient(135deg, #f0f4f8, #e9ecef);
	padding: 25px;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #343a40;
	position: relative;
}
.confirmation-header {
	text-align: center;
	margin-bottom: 20px;
	border-bottom: 3px solid #d9534f;
	padding-bottom: 15px;
}
.confirmation-header h4 {
	font-weight: bold;
	color: #d9534f;
}
.confirmation-section {
	background-color: #ffffff;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.confirmation-section h5 {
	font-weight: bold;
	color: #495057;
	margin-bottom: 15px;
	border-bottom: 2px solid #e9ecef;
	padding-bottom: 5px;
}
.item-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.item-list li {
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 5px;
	padding: 10px 15px;
	margin-bottom: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.item-total {
	background-color: #d9534f;
	color: white;
	padding: 15px;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
	font-size: 1.25rem;
	box-shadow: 0 4px 10px rgba(217,83,79,0.25);
}
.customer-details {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
}
@media (min-width: 576px) {
	.customer-details {
		grid-template-columns: 1fr 1fr;
	}
}
.detail-item {
	background-color: #f8f9fa;
	padding: 10px 15px;
	border-left: 4px solid #007bff;
	border-radius: 5px;
	box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.detail-item strong {
	color: #495057;
}
.check-message {
	text-align: center;
	font-size: 1.1rem;
	font-weight: bold;
	color: #28a745;
	margin-top: 20px;
}

/* ANIMACIÓN AGREGADA AL CARRITO */
@keyframes bump {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}
.cart-bump {
	animation: bump 0.4s ease-in-out;
}

/* Estilos para el efecto de la palomita -------------------*/
.checkmark-animation {
	display: inline-block;
	width: 0;
	height: 0;
	border-radius: 50%;
	background-color: transparent;
	transition: all 0.5s ease-in-out;
	transform: scale(0);
	opacity: 0;
	font-size: 0;
	margin-left: 5px;
}

.checkmark-animation.active {
	width: 25px;
	height: 25px;
	background-color: #28a745; 
	transform: scale(1);
	opacity: 1;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: relative;
	top: -2px; 
}


.checkmark-animation.active:before {
	content: '\2713'; 
	font-size: 1em;
	color: white;
}

/* Nuevo CSS para la animación de confirmación del carrito */
.cart-confirmation-message {
	position: absolute; /* Ahora se posiciona dentro de .cart-section */
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background-color: rgba(0, 128, 0, 0.9); /* Fondo verde semitransparente */
	color: white;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	opacity: 0;
	pointer-events: none; /* Para que no bloquee el clic en el carrito */
	transition: opacity 0.5s ease-in-out;
	border-radius: 8px; /* Para que coincida con el borde del carrito */
	z-index: 10; /* Asegura que esté por encima de otros elementos */
}

.cart-confirmation-message.show {
	opacity: 1;
}

.cart-confirmation-message .checkmark {
	font-size: 2em; /* Tamaño más grande para la palomita */
	animation: bounceIn 0.5s ease-out; /* Animación de rebote para la palomita */
}

/* Keyframes para la animación de rebote */
@keyframes bounceIn {
	0% {
		transform: scale(0);
	}
	50% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

.cart-section 
{
	position: relative; /* ¡Añade esta línea! */
	/* ... (resto de tus estilos para .cart-section) ... */
}

.btn-header {
	 display: flex;
	align-items: right;
	margin-left: auto; /* Mueve los botones a la derecha */
}

.navbar {
	z-index: 1050; /* Un valor alto para asegurar que se superponga */
}

/* Opcional: Para el contenido colapsable */
.navbar-collapse.show {
	position: absolute;
	top: 100%; /* Para que se posicione justo debajo de la barra de navegación */
	left: 0;
	width: 100%;
}

#pills-promociones-tab {
    color: white !important;
	transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out !important;
    transform: scale(1); /* Tamaño original */
	display: inline-block; /* Importante para transformaciones */
}

/* Evitar que cambie de color al pasar el mouse (hover) o al perder el foco */
#pills-promociones-tab:hover {
    color: #E8E6E6 !important;
	/*transform: scale(1,1) !important;  Vuelve al tamaño normal al hacer clic */
	transform: scale(1.1) !important; /* Vuelve al tamaño normal al hacer clic */
}

#pills-promociones-tab:active {
    transform: scale(0.95) !important; /* Se hunde un poquito al picarle, da mejor sensación */
}

/* 1. OCULTO POR DEFECTO */
#cart-floating-button {
    display: none !important; /* Totalmente fuera del DOM al inicio */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e63946;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(100px); /* Preparado abajo para subir */
}

/* 2. ACTIVADO (Al elegir sucursal) */
#cart-floating-button.active-session {
    display: flex !important; /* Ya se puede renderizar, pero sigue opacidad 0 */
}

/* 3. VISIBLE (Cuando hay productos) */
#cart-floating-button.visible 
{
	display: flex !important; /* Esto asegura que se muestre solo cuando tiene la clase */
    opacity: 1;
    transform: translateY(0); /* Sube a su posición */
}

.cart-icon-wrapper {
    position: relative;
    font-size: 1.2rem;
}

#cart-count-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.7rem;
}

/* Efecto de la palomita */
.check-overlay {
    position: absolute;
    top: 0;
    left: 0;
    color: #2ecc71;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
}

.cart-bump .check-overlay {
    opacity: 1;
    transform: scale(1.4);
}

.cart-bump {
    transform: scale(1.1);
}

@media (min-width: 769px) {
    #cart-floating-button { display: none !important; }
}

/* Cuando el modal de confirmación está abierto, ocultamos el carrito flotante */
body.modal-open #cart-floating-button {
    display: none !important;
}

/* Por si acaso tu botón tiene otro ID o clase, asegúrate de que coincida */

body.modal-open #cart-floating-button, 
body.modal-open .cart-floating-button,
body.modal-open [id*="cart-floating"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0) !important;
}

.cart-hidden-forced {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Contenedor principal */
.product-img-container {
    width: 100%;
    position: relative;
    padding-top: 100%; /* Crea un cuadrado perfecto 1:1 */
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

/* La imagen ahora se ajusta de forma inteligente */
.img-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llenará el cuadrado */
    transition: transform 0.3s ease;
}

/* Si quieres que se vea COMPLETA sin cortar nada pero GRANDE, 
   cambia 'cover' por 'contain' arriba, pero añade esto: */
.img-menu {
    object-fit: contain; 
    padding: 5px; /* Un pequeño respiro */
    transform: scale(1.1); /* La agrandamos un poco para eliminar bordes vacíos */
}

/* Estilos de texto para que se vea como Menú Digital */
.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2rem;
}

.product-price {
    color: #e63946; /* Un rojo llamativo para el precio */
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Ajuste para que en celular se vean 2 por fila y no se vean minúsculas */
@media (max-width: 576px) {
    .product-card {
        margin-bottom: 10px;
    }
}

/* Contenedor de la imagen */
.img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Esto crea un cuadrado perfecto siempre */
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    /* REDONDEZ DE LAS ESQUINAS SUPERIORES */
    border-radius: 15px 15px 0 0; 
    padding: 8px; /* Espacio para que la imagen no pegue al borde */
}

/* La imagen mágica */
.main-img {
    width: 100% !important;
    height: 100% !important;
    /* object-fit: contain;  <-- Si quieres que NUNCA se corte nada usa este */
    /* object-fit: cover;    <-- Si quieres que LLENE todo el cuadro usa este */
    object-fit: contain; 
    padding: 2px; /* Mínimo espacio para que no toque los bordes */
	/* ESTO HACE QUE LA IMAGEN TAMBIÉN SEA OVALADA */
    border-radius: 12px; 
    transition: transform 0.3s ease;
}

/* Títulos y precios estilo menú profesional */
.card-title-menu {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    /* Limitar a 2 líneas para que no se desalineen las cards */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.2rem; 
}

.card-price-menu {
    font-size: 1rem;
    font-weight: 800;
    color: #e63946; /* Rojo Wok */
    margin: 0;
}

/* Ajuste para móviles: 2 columnas */
@media (max-width: 576px) {
    .product-card {
        margin-bottom: 10px;
    }
}

/* Opcional: Redondear toda la card para que combine */
.product-card {
    border-radius: 15px !important;
    overflow: hidden;
    border: none;
    background: #fff;
}

/* Título del Producto: Más grande y elegante */
.product-name-elegant {
    font-size: 1.1rem; /* Aumentamos el tamaño */
    font-weight: 700;  /* Más negrita */
    color: #2d3436;    /* Un gris muy oscuro, casi negro, más elegante */
    margin-bottom: 8px;
    line-height: 1.3;
    /* Para que no se vea amontonado */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem; 
    letter-spacing: -0.02em; /* Un toque de diseño moderno */
}

/* Precio: Con un estilo tipo "Etiqueta" */
.price-tag-elegant {
    font-size: 1.25rem; /* El precio debe leerse súper bien */
    font-weight: 800;
    color: #e63946;    /* El rojo distintivo de Wok Express */
    background-color: rgba(230, 57, 70, 0.05); /* Un fondo sutil para resaltar */
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px; /* Estilo ovalado para el precio también */
}

/* Ajuste general de la card para celulares */
@media (max-width: 576px) {
    .product-name-elegant {
        font-size: 0.95rem; /* Un poquito menos en móvil para que no rompa */
        height: 2.5rem;
    }
    .price-tag-elegant {
        font-size: 1.1rem;
    }
    .card-body {
        padding: 10px !important;
    }
}

/* Estilo moderno para las opciones del paquete */
.option-item .btn-outline-danger {
    border: 1px solid #dee2e6;
    color: #444;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #fff;
}

.option-item .btn-check:checked + .btn-outline-danger {
    background-color: #fff1f2;
    border-color: #e63946;
    color: #e63946;
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.1);
}

.component-section h6 {
    color: #2d3436;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsividad: en móvil una por fila, en desktop dos */
.option-item {
    min-width: 100%;
}

@media (min-width: 576px) {
    .option-item {
        min-width: 48%;
    }
}

.swal2-container {
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}

/* Forzamos a la ventanita blanca a no tener márgenes raros */
.swal2-popup {
    margin: auto !important;
    padding: 1rem !important;
    overflow: visible !important;
}

/* Esto quita el recorte si el modal de bootstrap está molestando */
.modal-open .swal2-container {
    overflow-y: hidden !important;
}


/* Añade esto a tu archivo SD.css */
.branch-card.disabled {
    filter: grayscale(100%);
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
    pointer-events: none; /* Esto evita que el clic funcione */
}

.branch-card.disabled::before {
    content: "PRÓXIMAMENTE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background-color: rgba(230, 57, 70, 0.9); /* Rojo Wok */
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.main-img 
{
    width: 100%;
    height: 200px; /* O el alto que prefieras */
    object-fit: cover; /* Esto evita que la imagen se deforme al estirarse */
    border-radius: 8px 8px 0 0;
}

/* Centrar el resumen del pedido y mejorar legibilidad */
#cart-items {
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
    width: 100%;
}

.cart-item span:first-child {
    flex: 1;
    padding-right: 10px;
    font-weight: 500;
}

/* Estilo para que el costo de envío se vea igual que los productos */
#service-cost-item {
    border-top: 2px solid #f8f9fa;
    margin-top: 10px;
    font-weight: bold;
    color: #e63946;
}

.total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 1.4rem;
}

@media (max-width: 576px) {
    #modalColonias .modal-dialog {
        margin: 10px;
    }
    .table-responsive {
        max-height: 250px !important; /* Reducimos un poco la tabla en cel para que quepa el check */
    }
    #check-fuera-rango-modal {
        width: 1.2em;
        height: 1.2em; /* Check más grande para que sea fácil de picar con el dedo */
    }
}


/* Contenedor de la tabla con scroll suave */
.table-responsive::-webkit-scrollbar {
    width: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Estilo para las celdas */
#lista-colonias-body tr td {
    padding: 10px 15px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    text-transform: uppercase; /* Para que la lista también sea mayúsculas */
}

/* Efecto al pasar el mouse */
#lista-colonias-body tr:hover {
    background-color: #f8f9fa;
    color: #d9534f; /* Color rojo de tu marca al pasar el mouse */
}

/* Estilo para la fila SELECCIONADA (Verde Success) */
#lista-colonias-body tr.table-success {
    background-color: #d1e7dd !important;
    border-left: 4px solid #198754; /* Una línea verde a la izquierda para resaltar */
    font-weight: bold;
}

/* Encabezado fijo para que no se pierda al hacer scroll */
.sticky-top {
    z-index: 1;
}



@media (max-width: 767px) {
    .sticky-wrapper-mobile {
        position: sticky;
        top: 0;
        z-index: 1020;
        /* Quitamos el fondo blanco o lo ponemos transparente */
        background: linear-gradient(to bottom, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%);
        display: none;
        padding: 5px 0;
        border: none !important;
        box-shadow: none !important;
    }

    .categorias-scroll-mobile {
        background: linear-gradient(to bottom, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%);
        border: none !important;
        width: 100%;
		padding: 10px;
    }
	
	.categorias-scroll-mobile .nav-pills {
		gap: 5px; /* Espacio pequeño entre botones */
	}

    /* Quitamos cualquier borde que Bootstrap le ponga al nav */
    .categorias-scroll-mobile .nav {
        border: none !important;
        background: linear-gradient(to bottom, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%);
    }

   .categorias-scroll-mobile .nav-item {
		/* Esto permite que los botones se repartan el ancho de la pantalla */
		min-width: 30%; 
		margin-bottom: 5px;
	}

	.categorias-scroll-mobile .nav-link {
		font-size: 12px; /* Reducimos un poco la fuente para que quepan mejor */
		padding: 6px 2px;
		text-align: center;
	}
}


/* Estilo para los componentes automáticos incluidos */
.categoria-contenedor[data-max] .card-body .row .col-12 .border[style*="dashed"] {
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(25, 135, 84, 0.05);
}

.badge.bg-success i.fa-check {
    margin-right: 2px;
}

/* Para que los inputs hidden no afecten el layout */
input[type="hidden"].cant-input {
    display: none;
}

/* Contenedor principal de las pestañas */
.contenedor-tabs {
    display: flex !important;
    flex-wrap: nowrap !important; /* Evita que los botones se bajen a otra línea */
    overflow-x: auto !important;  /* Activa el scroll horizontal */
    overflow-y: hidden;
    white-space: nowrap;          /* Mantiene el texto en una sola línea */
    -webkit-overflow-scrolling: touch; /* Scroll suave en dispositivos iOS */
    gap: 10px;                    /* Espacio entre botones */
    padding: 10px;
    background-color: #fff;
}

/* Opcional: Ocultar la barra de scroll visual para que se vea más limpio */
.contenedor-tabs::-webkit-scrollbar {
    display: none;
}

.rollo-extra-container {
    border-left: 5px solid #dc3545 !important; /* Rojo Wok */
    transition: all 0.3s ease;
}

#switch-rollo-extra:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.rollo-extra-container h6 {
    color: #b02a37;
    font-weight: bold;
}

.fade-in-custom {
    display: block !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in-custom.show {
    opacity: 1;
}

.btn-rollo-card:active {
    transform: scale(0.95) !important;
}

.btn-rollo-card:hover {
    border-color: #D97706 !important;
    background-color: #FFFBEB !important;
}

/* Botón de Upgrade (Estado Normal, borde naranja suave) */
.btn-upgrade-shrimp {
    background-color: #ffffff !important;
    border: 1px solid #f39c12 !important; /* El amarillo/naranja de tu imagen */
    color: #333 !important;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-upgrade-shrimp:hover {
    background-color: #fff8f0 !important; /* Un fondo amarillo muy tenue al pasar el mouse */
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.2);
}

/* ESTADO ACTIVO: Cuando ya se seleccionó (Naranja Sólido con Sombra) */
.btn-upgraded-active {
    background-color: #fdf9e8 !important;
    border-color: #f39c12 !important;
    color: #000000 !important;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.4) !important;
}

/* Ajuste para el texto del precio (+$$) dentro del botón */
.precio-tag {
    color: #f39c12; /* El color de precio por defecto */
    margin-left: 5px;
}

.btn-upgraded-active .precio-tag {
    color: #ffffff; /* Se vuelve blanco cuando el botón es naranja sólido */
}

/* Clase para el resaltado en Azul Rey */
.fila-azul-rey {
    background-color: #658DF7 !important; /* Azul Rey Intenso */
    transition: all 0.2s ease !important;
}

/* Forzamos que las celdas y el texto cambien al seleccionar */
.fila-azul-rey td {
    background-color: transparent !important;
    color: black !important;
}

/* Ajustamos la tarjeta blanca interna para que resalte sobre el azul */
.fila-azul-rey .tarjeta-blanca-colonia {
    background-color: rgba(255, 255, 255, 0.9) !important; /* Blanco un poco transparente */
    border-left: 6px solid #FFD700 !important; /* Cambiamos el borde a Dorado/Amarillo para que resalte */
}

/* Cambiamos el color del texto e icono dentro de la tarjeta al seleccionar */
.fila-azul-rey .texto-colonia-item, 
.fila-azul-rey i {
    color: #658DF7 !important; /* El texto vuelve a ser azul sobre el fondo blanco de la tarjeta */
}

.table-success {
    background-color: #198754 !important; /* Verde Success fuerte */
    color: black !important;
}

.table-success td {
    background-color: transparent !important;
    color: black !important;
}

#contenedor-domicilio .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
}

#contenedor-domicilio .form-control:focus {
    border-color: #f39c12; /* El color naranja de Wok Express */
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

#idCalle, #idNumExt, #idNumInt, #idRefDomi {
    text-transform: uppercase;
}

.ocultar-busqueda {
    display: none !important;
}

#campos-detalle-domicilio {
    transition: all 0.5s ease-in-out;
}


.div-contenedor-img {
    width: 100%;
    height: 280px; /* Alto fijo para consistencia */
    background-color: #fff; /* Fondo blanco por si la imagen es pequeña */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Redondeamos solo las esquinas superiores para que coincida con el modal */
    border-radius: 25px 25px 0 0; 
    padding: 10px; /* Un pequeño margen interno */
}

/* 2. La Imagen: No se corta, se adapta y se ve completa */
.img-sushi-contain {
    max-width: 100%;
    max-height: 100%;
    /* 'contain' hace que la imagen se vea completa sin estirarse ni cortarse */
    object-fit: contain; 
    border-radius: 15px; /* Bordes suaves internos */
}

/* 3. Ajustes de texto y botones estilo Wok */
#modalSushi h3 {
    font-size: 1.6rem;
}

.fs-7 {
    font-size: 0.85rem;
}

/* Botón de confirmación (El de Arriba) */
.btn-wok-confirm {
    background-color: #0d6efd !important;
    border: none !important;
    padding: 15px !important; /* Más alto para que sea fácil de presionar */
    font-weight: bold !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    border-radius: 12px !important;
    transition: all 0.2s;
    width: 100%; /* Asegura que ocupe todo el ancho */
    margin-bottom: 10px !important; /* Espacio con el botón de abajo */
}

.btn-wok-confirm:hover {
    background-color: #0b5ed7 !important;
    transform: translateY(-2px);
}

/* Botón Cancelar (El de Abajo) */
.btn-cancelar-sushi {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6 !important;
    padding: 12px !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    border-radius: 12px !important;
    width: 100%; /* Largo igual al de arriba */
    transition: all 0.2s;
}

.btn-cancelar-sushi:hover {
    background-color: #e2e6ea !important;
    color: #495057 !important;
}

/* Ajuste adicional para el contenedor de los botones */
.modal-footer-sushi {
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
    width: 100%;
}

/* Evita que el cuerpo gane margen derecho al abrir/cerrar modales */
body.modal-open {
    padding-right: 0 !important;
}

body {
    padding-right: 0 !important;
}

/* Evita movimientos horizontales extraños */
.modal {
    padding-right: 0 !important;
}

@media (max-width: 576px) {
    .swal2-popup.swal2-wide-popup {
        padding: 0.5rem !important;
        max-width: 100% !important; /* Modificado */
        width: 100% !important; /* Modificado */
        margin: 0 !important; /* Agregado */
    }
}