:root {
    --color_nav: #4A0E0E;    /* Color inicial */
    --color_boton: #FF6B35;  /* Color inicial */
    --color_botonHover: #e05a2b; 
}
.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}
.menu-item {
    transition: transform 0.3s ease;
}
.menu-item:hover {
    transform: translateY(-5px);
}
.navbar {
    background-color: var(--color_nav);
}
.navbar-brand, .nav-link {
    color: white !important;
}
.pizza-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}
.cart-icon {
    font-size: 1.2rem;
    margin-left: 1rem;
}
.btn-add-to-cart {
    background-color: var(--color_boton);
    border-color: var(--color_boton);
    color: white;
}
.btn-add-to-cart:hover {
    background-color: var(--color_boton);
    border-color: var(--color_boton);
    color: white;
}
.btn-primary{
    background-color: var(--color_boton);
    border-color: var(--color_boton);
}
.btn-primary:hover{
    background-color: var( --color_botonHover);
    border-color: var(--color_botonHover);
}
.modal-content {
    border-radius: 15px;
}
.modal-header {
    background-color: var(--color_nav);
    color: white;
    border-radius: 15px 15px 0 0;
}
.modal-footer {
    background-color: #f8f9fa;
    border-radius: 0 0 15px 15px;
}
.cart-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
}
.quantity-control {
    display: flex;
    align-items: center;
}
.quantity-control button {
    background-color: var(--color_boton);
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0 10px;
    cursor: pointer;
}
.quantity-control span {
    margin: 0 10px;
    font-weight: bold;
}
#successModal .modal-header {
    background-color: #28a745;
}
#successModal .modal-body {
    text-align: center;
}
#successModal .bi-check-circle {
    font-size: 3rem;
    color: #28a745;
}
.total-price {
    font-size: 1.2rem;
    font-weight: bold;
}
.quantity-and-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
#goToPaymentBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: none;
    background-color: var(--color_boton);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
#goToPaymentBtn:hover {
    background-color: var(--color_botonHover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
}
.step.active {
    background-color: var(--color_boton);
}
.form-check-input:checked {
    background-color: var(--color_boton);
    border-color: var(--color_boton);
}


/* Categoria Nav */
.category-nav {
    background-color: var(--color_nav);
    padding: 1rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
}

.category-container {
    display: flex;
    gap: 1rem;
    min-width: max-content;
}

.category-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.category-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.category-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.category-image {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 2px solid white;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
}



/* Card Alinacion */
.menu-item {
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Asegurarse de que todas las imágenes tengan el mismo tamaño */
.menu-item img {
    height: 250px;
    object-fit: cover; 
    width: 100%;
}

/* Ajuste para mantener la alineación del contenido */
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


#cart-icon {
    position: relative;
    display: inline-block;
}


/* Hover de icono carrito */
#cart-icon {
    position: relative;
    display: inline-block;
}
.circle-hover {
    width: 60px;  
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: left; 
    align-items: center; 
    position: relative;
    transition: background-color 0.3s ease;
    margin: 0 auto; 
}
#cart-icon:hover .circle-hover {
    background-color: rgba(255, 255, 255, 0.5); 
}

.cart-icon {
    font-size: 2rem; 
}
#cart-count {
    position: absolute;
    top: 0px; 
    right: 0px; 
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
}

/* circulos */
.step-indicators {
    display: flex;
    justify-content: center; 
    margin-bottom: 20px; 
}

.step-indicator {
    display: flex; 
}

.step {
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 10px; 
    color: white; 
    font-weight: bold; 
    background-color: gray; 
    transition: background-color 0.3s; 
}

.step.active {
    background-color: orange; 
}

.oculto {
    display: none;
}

.visible {
    display: block;
}

.indicador-activo {
    background-color: #007bff; 
    color: white;
}


/* Imagen mas pequeña en la compra del modal */
#modalImagenProducto {
    width: 300px;      
    height: 270px;     
    object-fit: cover; 
    display: block;    
    margin: 0 auto;    
}

/* Boton ir al pago */
#goToPaymentBtn {
    display: block !important;
    visibility: visible !important;
    z-index: 1000 !important;
}

#contenedorBoton {
    position: absolute;  
    position: fixed;
    right: 0px;         
    top: 50%;           
    transform: translateY(-50%); 
}


/* Boton ir al pago */
#scrollTopBtn {
    position: fixed;      
    bottom: 20px;          
    right: 20px;          
    z-index: 100;          
    background-color: var(--color_boton);  
    color: white;         
    border: none;           
    padding: 10px 15px;    
    border-radius: 50%;   
    font-size: 20px;       
    cursor: pointer;     
}

#scrollTopBtn:hover {
    background-color: var(--color_botonHover); 
}

/* Modal realizar pedido */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem;
    background-color: var(--color_nav);
    border-radius: 12px; 
}

.modal-title {
    color: white;
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.btn-close {
    background-color: white;
    opacity: 0.8;
}

.step-indicators {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    position: relative;
    transition: all 0.3s ease;
}

.step.active {
    background-color: var(--color_nav);
    color: white;
    transform: scale(1.1);
}

.step-indicator .step:first-child::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background-color: #e9ecef;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.delivery-option {
    border: 2px solid #e9ecef;
    padding: 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.delivery-option:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.delivery-option.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.payment-option {
    border: 2px solid #e9ecef;
    padding: 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;     
}

.payment-option:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.payment-option.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.form-control {
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-group-text {
    border: 2px solid #e9ecef;
    background-color: #f8fafc;
}

.btn-outline-secondary {
    position: left;
    background-color: #64748b;
    color: #fff;
}

.form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

#qrContainer {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1rem;
}

h5 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.text-muted {
    color: #64748b !important;
}


.card {
    border: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.card-body {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card-body .info, .card-body .order {
    width: 48%;
}

.card-body .info {
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
}

.card-body .order {
    text-align: right;
    font-size: 14px;
    line-height: 1.6;
}

.card-body .total {
    width: 100%;
    text-align: right;
    font-size: 16px;
    margin-top: 0px;
    border-top: 1px solid #ddd;
    padding-top: 1px;
}

.card-body p {
    margin: 5px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.order-item span {
    display: inline-block;
}

.order-item span:first-child {
    flex: 1;
    text-align: left;
}

.order-item span:last-child {
    min-width: 100px;
    text-align: right;
}

.total-item {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding: 5px 0;
}
 hr {
    border: 1px; 
    border-top: 2px solid #000; 
    margin: 0px 0; 
}
.carrito-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}