
/* ============================================================
   REDISENO MENU DE CLIENTE (storefront) — inspirado en menu.fu.do
   Scope: tarjetas de item del menu (.list-item-rows) y pills de precio
   ============================================================ */

.list-item-rows {
  border: none !important;
  border-radius: 16px;
  box-shadow: 0 2px 9px rgba(161,153,153,.35);
  padding: 0 !important;
  margin-bottom: 18px;
  overflow: hidden;
  background: #fff;
}

.list-item-rows .row.m-0 {
  align-items: stretch;
}

.list-item-rows .col-3 {
  order: 2;
  padding: 0 !important;
}

.list-item-rows .col-9 {
  padding: 18px !important;
}

.list-item-rows .item-image-preview {
  height: 100%;
  min-height: 160px;
}

.list-item-rows .item-image-preview .el-image {
  height: 100% !important;
  display: block;
}

.list-item-rows img,
.list-item-rows .el-image__inner {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
}

.list-item-rows .skeleton-placeholder {
  height: 100%;
  min-height: 160px;
}

.list-item-rows .fixed-height {
  min-height: 160px;
}

/* Pills de tamano/variante — de negro solido a tinte suave de marca */
.btn-group .btn {
  border-radius: 999px !important;
  padding: 7px 16px !important;
  border: 1px solid transparent !important;
  transition: background .15s, color .15s;
}
.btn-group label {
  background: #F1F5F9;
  color: #334155;
}
.btn-group .btn.active {
  background: rgba(62,207,142,.14) !important;
  color: #1F7A4D !important;
  border-color: rgba(62,207,142,.5) !important;
  font-weight: 600;
}

/* Boton "Agregar al carrito" y precio final destacado — mas redondeado */
.list-item-rows .el-button {
  border-radius: 999px !important;
  font-weight: 600;
  padding: 10px 22px !important;
}

.list-item-rows .prices {
  font-size: 16px;
  color: #1F1F1F;
}

/* Modales (detalle de item, edad, etc.) — redondeados y sombra tibia, consistente con las cards */
.el-dialog {
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(161,153,153,.4) !important;
  overflow: hidden;
}
.el-dialog__header {
  padding: 20px 24px 12px;
}
.el-dialog__body {
  padding: 0 24px 24px;
}

/* Debajo de lg, col-lg-8/col-lg-4 (texto/boton) se apilan y la card se
   infla en alto — si la foto sigue en height:100% queda como tira angosta
   y muy alta. Por debajo de ese breakpoint, altura fija en vez de stretch. */
@media (max-width: 991.98px) {
  .list-item-rows .row.m-0 {
    align-items: flex-start;
  }
  .list-item-rows .item-image-preview,
  .list-item-rows .item-image-preview .el-image,
  .list-item-rows .skeleton-placeholder {
    height: 180px !important;
    min-height: 180px !important;
  }
  .list-item-rows img,
  .list-item-rows .el-image__inner {
    height: 180px !important;
  }
  .list-item-rows .fixed-height {
    min-height: auto;
  }
}

/* ============================================================
   HERO del header de restaurante — foto full-bleed con texto
   superpuesto (inspirado en menu.fu.do), solo CSS, sin tocar HTML.
   Reordena las mismas dos columnas que ya existen en el DOM.
   ============================================================ */
.merchant-top-header .row {
  position: relative;
  margin: 0;
}
.merchant-top-header .col-6.right-infox {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding: 0 !important;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
}
.merchant-top-header .col-6.right-infox .el-image {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
}
.merchant-top-header .col-6.right-infox .el-image__inner {
  object-fit: cover !important;
  width: 100%;
  height: 100%;
}
.merchant-top-header .col-6.left-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 2;
  padding: 32px 32px 22px !important;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.78) 100%);
  border-radius: 0 0 20px 20px;
}
.merchant-top-header .left-info h4,
.merchant-top-header .left-info ul,
.merchant-top-header .left-info li,
.merchant-top-header .left-info .text-grey,
.merchant-top-header .left-info a {
  color: #fff !important;
}
.merchant-top-header .left-info h4 {
  font-size: 30px;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
  margin-bottom: 8px;
}
.merchant-top-header .left-info .info-items-dot-separator {
  background: rgba(255,255,255,.5);
}
.merchant-top-header .left-info .el-image.img-thumbnail {
  border-radius: 50% !important;
  border: 3px solid #fff !important;
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  min-height: 76px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  background: #fff;
  overflow: hidden;
}
.merchant-top-header .left-info .el-image.img-thumbnail .el-image__inner {
  object-fit: cover !important;
}
.merchant-top-header .fav-wrap {
  z-index: 3;
}

/* ============================================================
   PALETA OFICIAL DE MARCA (Brand Book Menu Check, pag. 8)
   Deep Teal   #284450 -- texto principal, headlines, UI, B2B
   Check Green #83BA81 -- estados activos, highlights, botones secundarios
   Action Orange #DF4C25 -- Order Now / Delivery / CTAs principales
   Warm Cream  #F8EFDC -- fondos "experience first" (evita el blanco plano)
   Soft Gray   #ECEDEB -- fondos de UI, separadores
   ============================================================ */

/* Fondo de pagina: de blanco puro a warm cream -- resuelve el
   "demasiado blanco, cansa la vista" sin salirse de la paleta oficial */
body {
  background: #F8EFDC !important;
}
.section-menu,
.merchant-top-header + * {
  background: transparent;
}

/* Encabezados de categoria ("APPETIZER") usaban el azul default de
   Bootstrap (.text-primary) -- pasan a Deep Teal, color de marca */
.section-menu .text-primary {
  color: #284450 !important;
}
.section-menu .border-primary {
  border-color: #284450 !important;
}

/* Texto principal de items -- Deep Teal en vez de gris generico */
.list-item-rows h6,
.merchant-top-header .left-info h4 {
  color: #284450;
}

/* Precio y pills de tamano/variante: tinte de Check Green + texto Teal,
   reemplaza el verde generico (#3ecf8e) que no era el de marca */
.btn-group .btn.active {
  background: rgba(131,186,129,.20) !important;
  color: #284450 !important;
  border-color: rgba(131,186,129,.6) !important;
}
.list-item-rows .prices {
  color: #284450;
}

/* Pill activa del carrusel de categorias -- de subrayado negro a
   Check Green */
.category-carousel .nav-link.active {
  color: #284450;
}
.category-carousel .nav-link.active:after {
  border-bottom-color: #83BA81 !important;
}

/* CTA principal "Agregar al carrito" -- Action Orange. Es la accion de
   pedido/orden, y el brand book pide naranja ahi (Order Now / Delivery),
   no verde. Cubre los 3 estados posibles del boton. */
.list-item-rows .quantity-wrapper .btn-grey {
  background: #DF4C25 !important;
  color: #fff !important;
}
.el-dialog .add_to_cart.btn-green {
  background-color: #DF4C25 !important;
  border-color: #DF4C25 !important;
}
.el-dialog .add_to_cart.btn-green:hover,
.el-dialog .add_to_cart.btn-green:focus {
  background-color: #C43F1A !important;
  border-color: #C43F1A !important;
}
