/* La carta toma los colores del negocio (menu digital > Marca).
   El valor de respaldo es el naranja de antes: el autoservicio usa este
   mismo archivo y no declara la paleta, asi que no cambia de aspecto. */
html {
  scroll-behavior: smooth;
}

body {
  background-image: url('{{ getLastVersionOfFile('uploads/business_logos/restaurant_bg.jpg') }}');
  background-size: cover;
  background-position: center;
  margin: 0; /* Elimina el margen predeterminado del cuerpo */
  padding: 0; /* Elimina el relleno predeterminado del cuerpo */
}

#navbarCollapse {
  z-index: 1000; /* Asegura que la barra de navegación esté sobre la imagen de fondo */
}

.btn-primary {
  background-color: var(--dm-accent, #ec3d0c);
  border-color: var(--dm-accent, #ec3d0c);
}
.btn-primary:hover {
  background-color: var(--dm-primary, #d4370b);
  border-color: var(--dm-accent, #ec3d0c);
}

.form-control:focus, .form-control.active {
  border-color: var(--dm-accent, #ec3d0c);
}

.btn-secondary {
  background-color: #848e97;
  border-color: #848e97;
}
.btn-secondary:hover {
  background-color: #76818b;
  border-color: #848e97;
}

.navbar-custom {
  background-color: #2b2464;
  z-index: 100;
}
.navbar-custom .navbar-brand img {
  position: absolute;
  top: 0.5rem;
  height: 6rem;
}

#slide {
  padding-left: 0;
  padding-right: 0;
}
#slide .bg {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}
#slide #slide_inner {
  min-height: 10rem;
}
@media screen and (max-width: 576px) {
  #slide #slide_inner {
    min-height: 5rem;
  }
}

#info_company ul li {
  list-style: none;
  margin-bottom: 0.4rem;
}
#info_company ul li i {
  margin-right: 0.5rem;
}

.navbar-custom {
  background-color: transparent !important;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
}

.navbar-custom-scrolled {
  background-color: #2b2464 !important;
}

.navbar-custom .navbar-toggler,
.navbar-custom .nav-link {
  padding-right: .25rem;
  padding-left: .25rem;
  color: rgba(255,255,255,0.85);
}

.navbar-custom-scrolled .navbar-toggler,
.navbar-custom-scrolled .nav-link {
  color: white;
}

#process {
  gap: 0.5rem;
}
#process div {
  position: relative;
}
#process div .badge {
  position: absolute;
  top: -0.3rem;
  right: -0.4rem;
  background-color: red;
  z-index: 2;
  border-radius: 1rem;
  border: 0.1rem solid white;
}
#process .btn {
  border-radius: 6rem;
  padding-left: 1.5rem;
  padding-right: 2rem;
}
#process .btn i {
  margin-right: 0.5rem;
}
@media screen and (max-width: 576px) {
  #process {
    gap: 0.15rem;
  }
  #process .btn {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

.section_product {
  padding-top: 1rem;
  /* min-height: 30rem; */
}
.section_product .card {
  cursor: pointer;
}
.section_product .card .category {
  color: #848e97;
  font-size: 0.9rem;
  border: 1px solid #848e97;
  border-radius: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn-add {
  border-radius: 3rem;
  line-height: 0.5rem;
  padding: 0;
}
.btn-add i {
  font-size: 2rem;
}

.old_price {
  font-style: unset;
  text-decoration-line: line-through;
}

#category .btn {
  border-radius: 2rem;
}

footer {
  background-color: #2b2464;
  margin-top: 3rem;
  padding-top: 1.5rem;
}
footer .logo {
  width: 12rem;
}

.product_details_modal .img_product {
  border-radius: 0.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
@media screen and (max-width: 576px) {
  .product_details_modal .img_product {
    border-radius: 0.5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

#buttton_fix {
  position: fixed;
  bottom: 2rem;
  right: 2.8rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 1rem;
  transition: all 0.2s ease;
}
#buttton_fix #btnGoTop {
  background-color: transparent;
  border: 0;
  margin: 0;
  margin-right: 1rem;
  margin-top: 1.2rem;
  padding: 0;
}
#buttton_fix #btnGoTop i {
  font-size: 1.8rem;
  color: #848e97;
}
#buttton_fix .btn-cart {
  border-radius: 3rem;
  width: 3.8rem;
  height: 3.8rem;
  padding: 0;
}
#buttton_fix .btn-cart i {
  font-size: 1.8rem;
}
#buttton_fix .badge {
  position: absolute;
  top: 0.4rem;
  right: -0.4rem;
  background-color: red;
  z-index: 2;
  border-radius: 1rem;
}

body #buttton_fix {
  display: none;
}
body .navbar {
  transition: all 0.2s ease;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
body .navbar .navbar-brand img {
  transition: all 0.2s ease;
  width: auto;
  height: 5.8rem;
}

body.shrink #buttton_fix {
  display: block;
}
body.shrink .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
body.shrink .navbar .navbar-brand img {
  width: auto;
  height: 4.8rem;
}

#counter .btn {
  font-size: 1.2rem;
}
#counter .btn i {
  color: #848e97;
}

.btnRemove {
  font-size: 1.2rem;
}
.btnRemove i {
  color: #848e97;
}/*# sourceMappingURL=custom_qr.css.map */

#cartButton {
  position: relative;
}

#cartIcon {
  /* El carrito va sobre la barra del negocio, asi que toma su color de texto. */
  color: var(--dm-on-primary, aliceblue);
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

#cartButton:active #cartIcon {
  animation: resetAnimation 2s ease-in-out;
}

@keyframes highlight {
  0% {
    background-color: transparent;
  }
  100% {
    background-color: transparent;
  }
}

.highlight {
  animation: highlight 2s ease-in-out;
}

#toast-container {
  z-index: 10000;
}

.toast-middle-center {
  right: 10%;
  top: 10%;
}

.category-button,
.subcategory-button {
  width: 120px;
  height: 120px;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  margin-left: 5px;
  position: relative;
}

.category-button::before,
.subcategory-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(73 60 57 / 46%);
}
.category-text,
.subcategory-text {
  position: relative;
  z-index: 1;
}

.subcategory-button::before {
  z-index: 0;
}

.category-button::before {
  border-radius: 2rem;
}

/* Mobile-first modern horizontal scroll for categories */
.category-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.category-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  color: #333;
  transition: all 0.2s ease;
  cursor: pointer;
  height: auto;
  width: auto;
}

.category-chip.active {
  background-color: var(--dm-accent, #ec3d0c);
  color: #fff;
  border-color: var(--dm-accent, #ec3d0c);
}

.category-chip .chip-img {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.category-chip .category-text {
  font-size: 0.95rem;
  margin: 0;
  white-space: nowrap;
}

/* Modern Product Cards */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.product-img-container {
  width: 95px;
  min-width: 95px;
  height: 95px;
  overflow: hidden;
  border-radius: 10px;
  margin: 8px;
  margin-right: 12px;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media screen and (min-width: 768px) {
  .product-img-container {
    width: 100%;
    min-width: 100%;
    height: 180px;
    margin: 0;
    border-radius: 12px 12px 0 0;
  }
}

.quantity-group .btn {
  font-size: 1.1rem;
  line-height: 1;
}
.quantity-group input {
  font-weight: 600;
}
/* Modern Extras/Modifiers styles */
.extras-container {
    padding: 0.5rem 0;
}

.extra-item-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.extra-item-container .extra-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.extra-item-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.extra-item-label:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.extra-check-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.2s ease;
    background-color: transparent;
    pointer-events: none;
}

.extra-item-label:hover .extra-check-indicator {
    border-color: var(--dm-accent, #ec3d0c);
}

.extra-check-indicator i {
    font-size: 0.9rem;
    color: transparent;
    transition: all 0.1s ease;
}

.extra-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Checked state */
.extra-checkbox:checked ~ .extra-item-label,
.extra-item-container.selected .extra-item-label {
    background-color: var(--dm-suave, #fff9f8);
    border-color: var(--dm-accent, #ec3d0c);
    box-shadow: 0 4px 12px rgba(236, 61, 12, 0.08);
}

.extra-checkbox:checked ~ .extra-item-label .extra-check-indicator,
.extra-item-container.selected .extra-check-indicator {
    border-color: var(--dm-accent, #ec3d0c);
    background-color: var(--dm-accent, #ec3d0c);
}

.extra-checkbox:checked ~ .extra-item-label .extra-check-indicator i,
.extra-item-container.selected .extra-check-indicator i {
    color: #fff;
}

.extra-name {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.extra-price {
    font-weight: 700;
    color: var(--dm-accent, #ec3d0c);
    font-size: 0.95rem;
    background-color: rgba(236, 61, 12, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

@media screen and (max-width: 576px) {
    .extra-item-label {
        padding: 0.85rem 1rem;
    }
}

/* Modern Variation Chips */
.variation-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.variation-label {
    padding: 0.5rem 1rem !important;
    border-radius: 50px !important;
    border: 1px solid #dee2e6 !important;
    background-color: #fff !important;
    color: #495057 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    font-size: 0.9rem !important;
}

.variation-label:hover {
    background-color: #f8f9fa !important;
    border-color: #ced4da !important;
}

.variation-label.active {
    background-color: var(--dm-accent, #ec3d0c) !important;
    border-color: var(--dm-accent, #ec3d0c) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(236, 61, 12, 0.2) !important;
}

/* Modern Quantity Pill in Modal */
.quantity-pill-modal {
    background-color: #f8f9fa;
    border-radius: 50px;
    border: 1px solid #e9ecef;
    padding: 4px;
    display: flex;
    align-items: center;
}

.quantity-pill-modal .btn-qty {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dm-accent, #ec3d0c);
    transition: all 0.2s ease;
    border: none;
    background: transparent;
}

.quantity-pill-modal .btn-qty:hover {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.quantity-pill-modal .quantity-input {
    /* Heredaba el padding de .form-control (12 px a cada lado): de los 40 px de
       ancho quedaban 16 para el numero, y a partir de dos digitos se cortaba.
       Sin padding y con alto propio, el numero queda centrado en la pildora. */
    width: 52px !important;
    padding: 0 !important;
    height: 38px !important;
    line-height: 38px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2b2464;
}

/* Checkout Summary & Form Enhancements */
.summary {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f3f5;
}

.summary h3, .section-title {
    color: #2b2464;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem !important;
}

.form-control {
    border-radius: 12px;
    padding: 0.6rem 1rem;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--dm-accent, #ec3d0c);
    box-shadow: 0 0 0 4px rgba(236, 61, 12, 0.1);
}

.tip-button {
    border-radius: 10px !important;
    border: 1px solid #e9ecef !important;
    background: #fff !important;
    color: #495057 !important;
    font-weight: 700 !important;
    padding: 10px 15px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.tip-button.active {
    background: var(--dm-accent, #ec3d0c) !important;
    border-color: var(--dm-accent, #ec3d0c) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(236, 61, 12, 0.2) !important;
}

.summary h5, .summary h6 {
    color: #495057;
    margin-bottom: 0.75rem;
}

.summary b, .summary strong {
    color: #2b2464;
}

#order_total_with_tip, #order_choping_cart_totalOrdenEnd {
    color: var(--dm-accent, #ec3d0c);
    font-weight: 800;
    font-size: 1.5rem;
}

.checkout-payment-section {
    background-color: #f8f9fa;
    padding: 0.85rem;
    border-radius: 12px;
    margin-top: 0rem;
    border: 1px dashed #dee2e6;
}
