.toast {
	color: white;
	padding: 20px 25px;
	position: fixed;
	bottom: 120px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	max-width: 80%;
	width: max-content;
	text-align: center;
	border-radius: 7px;
	text-transform: uppercase;
	box-shadow: 0 5px 10px rgba(0,0,0,.4);

	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease;
	z-index: 9300544;
}

.toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.toast-ok {
	background-color: rgba(66,132,53,1);
}

.toast-error {
	background-color: rgba(147,0,0,1);
}


.imgCarrito{
	border-radius: 10px;
	width: 120px;
}


.portadaEmpresa{
	height: 150px;
	background-size: cover;
	position: relative;
}
.portadaEmpresa img{
	width: 60px;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    position: absolute;
    bottom: -25px;
    left: 20px;
}
.datosEmpresa{
	padding: 35px 20px 20px;
}
.datosEmpresa .Datos1{
	font-size: 20px;
	text-align: left;
	color: #333;
	font-weight: bolder;
	padding-bottom: 5px;
}
.datosEmpresa .Datos2{
	font-size: 13px;
	color: #727272;
	text-align: left;
	padding: 4px 0;
}

.infoEnvio {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffffff;
	border-radius: 9px;
	padding: 8px 10px;
	margin: 10px 0;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	border: solid 1px #e3e3e3;
}


.infoItem {
	flex: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.infoLabel {
	font-size: 0.7rem;
	color: #888;
}

.infoValue {
	font-size: 0.8rem;
	font-weight: 600;
	color: #222;
}

.infoGratis {
	color: #2ecc71;
	font-weight: 700;
}

.infoSeparator {
	width: 1px;
	height: 30px;
	background: #e5e5e5;
}

.promoEnvio {
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(180deg, #03a6cb, #1c5d83);
	padding: 8px 12px;
	border-radius: 7px;
	margin: 20px 0 10px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	justify-content: center;
}

.promoIcon img {
	width: 22px;
	height: 22px;
	filter: brightness(0) invert(1);
	vertical-align: bottom;
}

.promoTexto {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}

/* CONTENEDOR SCROLL */
#wrapperCatDelivery {
	border-bottom: 1px solid #e5e5e5;
}

#navCatDelivery {
	display: flex;
	gap: 20px;
	padding: 0;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

/* OCULTAR SCROLLBAR */
#navCatDelivery::-webkit-scrollbar {
	display: none;
}

/* ITEM CATEGORIA */
.categoria_headDelivery {
	flex: 0 0 auto;
	cursor: pointer;
	position: relative;
	padding: 20px 13px;
}

/* TEXTO */
.titleCatDelivery {
	font-size: 0.95rem;
	color: #555;
	font-weight: 500;
	white-space: nowrap;
	text-transform: uppercase;
}

/* ACTIVA */
.categoria_headDelivery.activa .titleCatDelivery {
	color: var(--primary); /* primary cuando está activa */
	font-weight: 700;
}

/* LINEA INFERIOR ACTIVA */
.categoria_headDelivery.activa::after {
	content: "";
	position: absolute;
	left: 0;   /* respeta padding */
	right: 0;
	bottom: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--primary);
}



/* =========================
   GRID CONTENEDOR
   (el padre de varios .formProd)
========================= */
.bodyCategoriadelivery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	padding: 12px;
}

/* Desktop */
@media (min-width: 768px) {
	.bodyCategoriadelivery {
		grid-template-columns: repeat(4, 1fr);
	}
	
	
	.prodSelect77 {
		width: 800px !important;
		left: calc(50% - 400px);
	}



}

@media (min-width: 1200px) {
	.bodyCategoriadelivery {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* =========================
   CARD
========================= */

.formProd {
background: #fff;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* =========================
   IMAGEN
========================= */
.imgProd {
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.imgProd img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =========================
   CONTENIDO
========================= */
.nombreProd {
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}


/* Nombre */
.nombreProd > div:first-child {
	font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    text-align: left;
	min-height: 37px;
}

/* Descripción */
.detalleProd {
	font-size: 16px;
    color: #727272;
    line-height: 1.2;
    display: none;
    text-align: left;
}

/* =========================
   LIMPIEZA
========================= */
.formProd > div[style*="clear"] {
	display: none;
}

.bodyProducto{display: none}

.prodSelect77 {
    margin: 0;
    float: left;
    clear: both;
    width: 100% !important;
    transition: .2s;
    border-radius: 0;
    position: fixed;
    top: 0;
    display: block;
    left: 0;
    overflow-y: scroll;
    height: calc(100% - 85px);
}

.prodSelect77 .bodyProducto {
    display: block;
}

.prodSelect77 .imgProd {
    height: 250px;
}

.prodSelect77 .divObsProd {
    display: none;
}

.prodSelect77 .nombreProd  {
    padding: 12px 16px;
}

.prodSelect77 .nombreProd .nombreProdX, #bandeja .nombreProd .nombreProdX{
    font-weight: bold;
    font-size: 20px;
    width: 100%;
	color: #555;
}

.bandeja .fixed-bottom-add-to-cart {
    position: relative; box-shadow: none;
}
	
.bandeja .btnQuitarProd {
    display: flex;
    border-radius: 100%;
    width: 35px;
    height: 35px;
    padding: 0;
    background-color: transparent;
    align-items: inherit;
    justify-content: center;
    text-align: center;
}
#bandeja .btnQuitarProd img{
	width: 35px;
	height: 35px;
}


#bandeja .countFormsBandejas {
    border: 1px solid #ccc;
    padding: 10px;
    position: relative;
    margin: 14px 6px;
    border-radius: 10px;
    box-shadow: 0 3px 11px 2px #ddd;
    background-color: white;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
}

#bandeja .add-text{
	display: none;
}

.prodSelect77 .nombreProd .descProdX {
    display: block;
}

.bodyProducto .groupFieldset {
    border-radius: 7px;
    margin: 15px 0;
    padding: 0;
    outline: none;
    border: none;
    text-align: left;
    float: right;
    width: 100%;
}

.bodyProducto .groupFieldset>legend {
    padding: 12px;
    font-size: 17px;
    color: #444;
    font-weight: 500;
    width: 100%;
    background-color: #dfdfdf;
}

.bodyProducto .labelVariante {
    display: block;
    padding: 20px;
    font-size: 16px;
    vertical-align: middle;
    width: 100%;
    float: left;
    margin: 0;
    word-break: break-all;
    border-bottom: solid 1px #ccc;
}

.bandeja .labelVariante {
    display: block;
    padding: 13px 20px;
    font-size: 16px;
    vertical-align: middle;
    width: 100%;
    float: left;
    margin: 0;
    word-break: break-all;
    border-bottom: solid 1px #ccc;
}

.radioButton, .chk {
    width: 18px;
    height: 18px;
    vertical-align: bottom;
    margin-bottom: 1px;
    margin-right: 3px;
}


.fixed-bottom-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgb(0 0 0 / 10%);
    z-index: 1000;
    border-top: solid 1px #bbb;
	gap: 8px;
}


.quantity-selector {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 55px;
    width: calc(40% - 10px);
    justify-content: space-between;
}

.minus, .plus {
    background: none;
    border: none;
    padding: 0 7px;
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: bolder;
    margin-top: 2px;
}
.minus img, .plus img {
    width: 33px;
    height: 33px;
}

.quantity-selector input {
	width: 40px;
	text-align: center;
	border: none;
	font-size: 20px;
	font-weight: bolder;
	background: none;
}

.add-button {
	background-color: var(--dodger);
	color: white;
	border: none;
	padding: 10px 20px;
	font-size: 20px;
	font-weight: 600;
	border-radius: 10px;
	cursor: pointer;
	height: 55px;
	margin-left: -1px;
	width: 60%;
	display: flex;
	align-items: center;
	justify-content: space-between; /* clave */
	transition: .3s;
}


#bandeja .add-button {
    background-color: white;
    color: #333;
	border: none;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    height: 40px;
    margin-left: -1px;
    width: 40%;
    display: flex;
    align-items: inherit;
    justify-content: center;
    text-align: center;
}


.add-price {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 3px;
}

.add-text {
	font-size: 16px;
}


.add-button:hover {
    background-color: #0e67bd;
    scale: 1.01;
}

.prodSelect77 .btnQuitarProd {
    display: none;
}

.div_confirmar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--dodger);
    color: white;
    padding: 16px 20px;
	min-height: 65px;
    border-radius: 8px;
    width: calc(100% - 20px);
	margin: 0 auto;
    cursor: pointer;
	position: fixed; bottom: 5px; left: 0; right: 0; z-index: 10000000;
	max-width: 800px;
}
/* Apply equal flex to all direct children */
.div_confirmar > * {
    flex: 1;
	user-select: none;
}
	

#imgCart {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font-weight: bold;
}

/* Contenedor del icono */
.cart-icon {
	position: relative;
	width: 30px;
	height: 30px;
}

/* Icono */
.cart-icon img {
	width: 30px;
	height: 30px;
}

/* Badge contador */
.cart-icon .count {
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--dodger);
	color: white;
	font-size: 13px;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 50%;
	line-height: 1;
}

.div_confirmar > span:nth-child(2) {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
}

#total {
	width: 100%;
    background: none;
    border: none;
    color: white;
    text-align: right;
    font-size: 20px;
    font-weight: 600;
	outline: none;
	user-select: none;
}

#total::before {
	content: "$";
	margin-right: 3px;
}

#total:active, #total:focus {
    border: none;
	outline: none;
}

.titleTopMenu{
	background-color: var(--primary);
	color: white;
	padding: 15px;
}


#bandeja .imgProd {
    width: 80px;
    height: 80px;
	display: inline-block;
}

#bandeja .groupFieldset {
    margin-top: -5px;
}

#bandeja .nombreProd {
    padding: 0px 12px 12px 6px;
    position: relative;
    top: 0;
    width: calc(100% - 90px);
}

#bandeja .imgProd img {
    width: 80px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
	border-radius: 8px;
}

#bandeja .bodyProducto {
    display: block; width: 100%;
}

.divObsProd{
	display: none;
}

.precioProdOrig{
	font-size: 20px; font-weight: 500;
}

.precioProdOrig::before {
	content: "$";
	margin-right: 3px;
}

.loading-burger{
	width: 120px;
    margin-bottom: 150px;
    position: absolute;
    left: 50%;
    translate: -50%;
}

#sinProductosEnBandeja{
	text-align: center;
	padding: 15px;
	background-color: #fff1c9;
	border-radius: 10px;
	margin: 10px;
	display: none;
}

#envioDelivery .legend img{
	width: 40px;
}


#envioDelivery .legend {
    padding: 20px 15px 20px 30px;
    text-align: left;
    background-color: #f3f3f3;
    border-radius: 10px;
    margin: 16px 0 !important;
    box-shadow: 0 3px 5px 2px #e7e7e7;
    border: solid 1px transparent;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

#envioDelivery .legend img {position: relative; height: 27px; top: 0; filter: invert(250%) sepia(4%) saturate(3170%) hue-rotate(253deg) brightness(75%) contrast(24%); }

.legendEnvioSelected, .legendLugarSelected{border-color:dodgerblue !important; background-color: #e9f5ff !important;}
.legendEnvioSelected img, .legendLugarSelected img {filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(90%) !important; }

.stringProd span{width: 100%; display: block}
.string0{display: none}
.string1{font-size: 15px; text-align: left; display: block}
.string2{font-size: 15px; display: inline-block}
.string3{font-size: 15px; display:inline-block; width: 40%; text-align: left; }
.string3:before{content:"Cantidad: "; font-size: 13px; padding-right: 7px}
.string4:before{content:"Subtotal: $ "; font-size: 13px; padding-right: 7px}
.string4{font-size: 15px; font-weight:500; display:inline-block; width: 60%; text-align: right}
.string5{font-size: 15px; display:block; width:100%; text-align:left; font-style: italic}
.string5:before{content: "Obs: "}
.string6{font-size: 15px; display:block; width:100%; text-align:right; color:green}
.string6:before{content: "Puntos: "}
.string7:before{content:"Puntos: "; font-size: 15px; padding-right: 7px}
.string7{font-size: 16px; font-weight:500; display:inline-block; width: 50%; text-align: right}

.totalPuntos{display: none}
.string6{display: none}

#detallePedidoFinal{padding:10px 15px}
.itemDetalleFinal{border-bottom: solid 1px #ccc; margin: 4px 0 8px 0}
.datosExtras{padding:8px 15px; text-align: left !important; color:#e63946; width: 100%; margin-bottom:10px; background-color: rgba(255,255,255,.25)}
.datosExtras u{
	margin-left: 10px;
    background-color: #e63946;
    color: white;
    font-size: 13px !important;
    text-decoration: none;
    border-radius: 15px;
    padding: 6px 15px;
    float: right;
    margin-top: -14px;
}
.montosTotales, .totalPuntos, .totalPuntosCanje{
	color: #404040;
    font-size: 19px;
    text-align: right;
    padding: 8px;
    padding-right: 0;
}

.totalPuntos{color:green; font-weight: bold}
.totalPuntos:before{content:"Total Puntos: "}
.totalPuntosCanje{color:green; font-weight: bold}
.totalPuntosCanje:before{content:"Total Puntos Canjeados: "}
.totalFinal{color:#222; font-size: 30px; text-align: right; margin: 10px 0; font-weight: bold;}
.totalFinal:before{content:"Total Pedido: $ "; font-size: 22px; font-weight: normal;}

#btnEnviarPedidoFinal{border-radius:5px; border:none; outline:none; background-color: #0d9e00; color:white; padding: 15px 30px; font-size: 18px;
    margin: 20px 0;
    width: 100%; }
#btnEnviarPedidoFinal:active{background-color:#075900}

.enviandoPedido{width: 100%; text-align: center}
.loadingEnviando{margin-top:170px; width:100%; height:auto; text-align: center;}
.loadingEnviando img{width:50px}
#legendEnviando{color: #5e5e5e !important}

.divItemFinaliza{
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: initial;
	margin: 13px 0;
}

.divItemFinaliza .imgCarrito {
    border-radius: 8px;
    width: 70px;
	aspect-ratio: 1/1;
}

.divItemFinaliza .datosProdFinalizar{
	display: flex;
	flex-direction: column;
	margin-left: 10px;
	width: -webkit-fill-available;
	margin-top: -6px;
}

.divItemFinaliza .datosProdFinalizar .string1{
	font-weight: 600;
	font-size: 18px;
}
.divItemFinaliza .datosProdFinalizar .string4{
	text-align: left;
}

.badgeHorario{
	position: absolute;
    right: 11px;
    bottom: -32px;
}

.badgeHorario .promo-badge{
	color: white;
}

.estado-horario.abierto {
	background-color: #01A700;
}

.estado-horario.cierra-pronto {
	background-color: #0074A6;
}

.estado-horario.cerrado {
	background-color: #93242E;
}


.msjTitleVariante::before{
	content: "Elegí el ";
}

#bandeja .msjTitleVariante::before{
	content: "Podés modificar el ";
}


/* Desktop */
@media (min-width: 768px) {
	.prodSelect77 {
		width: 800px !important;
		left: calc(50% - 400px) !important;
	}



}

.prodSelect77 .precioOrigProdVariante{
	display: none;
}


.divLeyendaEnviarPedidoFinal{
	margin-top: 25px;
}

.leyendaEnviarPedidoFinal{
	color: #777;
    font-size: 13px;
    text-align: left;
    padding: 10px;
    display: block;
}


/* Contenedor relativo para poder anclar las flechas */
#wrapperCatDelivery {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
	z-index:0; 
}

#navCatDelivery {
    display: flex;
    gap: 20px;
    padding: 0 15px; /* Damos respiro a los costados */
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth; /* Activa el desplazamiento suave nativo */
    
    /* Ocultamos la barra de scroll nativa para que quede limpio */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
#navCatDelivery::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.categoria_headDelivery {
    flex: 0 0 auto;
    cursor: pointer;
    position: relative;
    padding: 20px 13px;
    transition: background-color 0.3s;
}

.titleCatDelivery {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Estilos de las flechas (chevrones) */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #eee;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 10;
    color: var(--primary, #e63946); /* Usa el rojo de tu marca */
    transition: opacity 0.3s ease, visibility 0.3s;
}

.scroll-btn span {
    font-size: 24px;
}

/* Estado oculto de las flechas */
.scroll-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.left-btn { left: 0px; }
.right-btn { right: 0px; }

