/* CARRITO HORECA - estilo Club con precios visibles */

body.canal-horeca.page-cart,
body.canal-horeca.page-cart #wrapper,
body.canal-horeca.page-cart main,
body.canal-group-50.page-cart,
body.canal-group-50.page-cart #wrapper,
body.canal-group-50.page-cart main,
body.page-cart:not(.canal-club):not(.canal-group-49),
body.page-cart:not(.canal-club):not(.canal-group-49) #wrapper,
body.page-cart:not(.canal-club):not(.canal-group-49) main {
  background: #faf6ec !important;
  background-color: #faf6ec !important;
}
body.canal-horeca.page-cart #wrapper,
body.canal-group-50.page-cart #wrapper,
body.page-cart:not(.canal-club):not(.canal-group-49) #wrapper { padding: 0 0 30px !important; }

body.canal-horeca.page-cart .cart-grid-body,
body.canal-horeca.page-cart .cart-grid-right,
body.canal-horeca.page-cart .cart-grid .card,
body.canal-horeca.page-cart .cart-grid .card-block,
body.canal-horeca.page-cart .cart-item,
body.canal-horeca.page-cart .product-line-grid,
body.canal-horeca.page-cart .cart-summary-line,
body.canal-group-50.page-cart .cart-grid-body,
body.canal-group-50.page-cart .cart-grid-right,
body.canal-group-50.page-cart .cart-grid .card,
body.canal-group-50.page-cart .cart-grid .card-block,
body.canal-group-50.page-cart .cart-item,
body.canal-group-50.page-cart .product-line-grid,
body.canal-group-50.page-cart .cart-summary-line {
  border: none !important; border-top: none !important; border-bottom: none !important; outline: none !important;
}

body.canal-horeca.page-cart .cart-grid-body .card,
body.canal-group-50.page-cart .cart-grid-body .card {
  background: #fff !important; border-radius: 18px !important; box-shadow: 0 6px 24px rgba(42,31,24,0.07) !important;
  padding: 8px 0 !important; margin-bottom: 20px !important; overflow: hidden !important;
}
body.canal-horeca.page-cart .cart-grid-right .card,
body.canal-group-50.page-cart .cart-grid-right .card {
  background: #fff !important; border-radius: 18px !important; box-shadow: 0 6px 24px rgba(42,31,24,0.07) !important;
  padding: 22px !important;
}

body.canal-horeca.page-cart .cart-grid-body .card-header,
body.canal-group-50.page-cart .cart-grid-body .card-header {
  background: transparent !important; border-bottom: 1px solid rgba(232,220,184,0.5) !important;
  padding: 18px 24px !important; border-left: none !important;
}
body.canal-horeca.page-cart .cart-grid-body .card-header .h1,
body.canal-horeca.page-cart .cart-grid-body .card-header h1,
body.canal-group-50.page-cart .cart-grid-body .card-header .h1 {
  font-family: 'Bodoni Moda', Georgia, serif !important; font-size: 22px !important; font-weight: 600 !important;
  color: #2a1f18 !important; letter-spacing: 1.5px !important; margin: 0 !important; padding: 0 !important;
  border: none !important; text-transform: uppercase !important;
}

body.canal-horeca.page-cart .cart-item,
body.canal-horeca.page-cart .product-line-grid,
body.canal-group-50.page-cart .cart-item,
body.canal-group-50.page-cart .product-line-grid {
  padding: 20px 24px !important; margin: 0 !important; background: transparent !important;
  display: flex !important; align-items: center !important; gap: 20px !important; flex-wrap: wrap !important;
}
body.canal-horeca.page-cart .cart-item + .cart-item,
body.canal-group-50.page-cart .cart-item + .cart-item { border-top: 1px solid rgba(232,220,184,0.4) !important; }

body.canal-horeca.page-cart .q-cart-line__image,
body.canal-horeca.page-cart .product-line-grid img,
body.canal-horeca.page-cart .cart-item img,
body.canal-group-50.page-cart .q-cart-line__image,
body.canal-group-50.page-cart .cart-item img {
  width: 100px !important; height: 100px !important; min-width: 100px !important;
  border-radius: 14px !important; object-fit: cover !important; box-shadow: 0 2px 8px rgba(42,31,24,0.08) !important;
}

body.canal-horeca.page-cart .q-cart-line__name,
body.canal-horeca.page-cart .product-line__title,
body.canal-group-50.page-cart .q-cart-line__name {
  font-family: 'Bodoni Moda', Georgia, serif !important; font-size: 18px !important; font-weight: 600 !important;
  color: #2a1f18 !important; letter-spacing: 0.3px !important; text-decoration: none !important; flex: 1 1 200px !important;
}

body.canal-horeca.page-cart .q-cart-line__price-row,
body.canal-horeca.page-cart .q-cart-line__unit-price,
body.canal-horeca.page-cart .q-cart-line__total,
body.canal-group-50.page-cart .q-cart-line__price-row {
  color: #c05a10 !important; font-weight: 600 !important; font-size: 15px !important;
}

body.canal-horeca.page-cart .q-cart-line__qty,
body.canal-horeca.page-cart .q-touchspin,
body.canal-group-50.page-cart .q-touchspin {
  margin-left: auto !important; flex-shrink: 0 !important; display: inline-flex !important;
  align-items: center !important; gap: 6px !important; background: transparent !important; border: none !important; height: auto !important;
}

body.canal-horeca.page-cart .q-touchspin__btn,
body.canal-horeca.page-cart .q-touchspin > button,
body.canal-group-50.page-cart .q-touchspin__btn {
  width: 28px !important; height: 28px !important; min-width: 28px !important; max-height: 28px !important;
  padding: 0 !important; margin: 0 !important; border-radius: 50% !important;
  background: transparent !important; border: 1px solid rgba(192,90,16,0.4) !important;
  color: #c05a10 !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; transition: all 0.15s ease !important;
}
body.canal-horeca.page-cart .q-touchspin__btn:hover {
  background: #c05a10 !important; color: #fff !important; border-color: #c05a10 !important; transform: scale(1.05) !important;
}

body.canal-horeca.page-cart .q-touchspin input,
body.canal-horeca.page-cart input[name="qty"],
body.canal-group-50.page-cart .q-touchspin input {
  width: 32px !important; height: 28px !important; line-height: 28px !important;
  padding: 0 !important; margin: 0 !important; text-align: center !important;
  font-size: 15px !important; font-weight: 700 !important; color: #2a1f18 !important;
  background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important;
}

body.canal-horeca.page-cart .input-group-btn-vertical,
body.canal-horeca.page-cart .bootstrap-touchspin-up,
body.canal-horeca.page-cart .bootstrap-touchspin-down,
body.canal-horeca.page-cart .q-touchspin .input-group-btn,
body.canal-group-50.page-cart .input-group-btn-vertical { display: none !important; }

body.canal-horeca.page-cart .q-touchspin .input-group,
body.canal-horeca.page-cart .q-touchspin .bootstrap-touchspin,
body.canal-group-50.page-cart .q-touchspin .input-group {
  background: transparent !important; border: none !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 0 !important; margin: 0 !important;
  display: inline-flex !important; align-items: center !important; width: auto !important;
}

body.canal-horeca.page-cart .remove-from-cart,
body.canal-horeca.page-cart .q-cart-line__remove,
body.canal-group-50.page-cart .remove-from-cart {
  color: #c4a47b !important; transition: all 0.2s ease !important; font-size: 16px !important; margin-left: 8px !important;
}
body.canal-horeca.page-cart .remove-from-cart:hover { color: #c05a10 !important; transform: scale(1.1) !important; }

body.canal-horeca.page-cart .cart-summary-line,
body.canal-group-50.page-cart .cart-summary-line {
  display: flex !important; justify-content: space-between !important; padding: 8px 0 !important;
  border: none !important; font-size: 14px !important; color: #2a1f18 !important;
}
body.canal-horeca.page-cart .cart-summary-line .label { color: #2a1f18 !important; font-weight: 500 !important; }
body.canal-horeca.page-cart .cart-summary-line .value { color: #c05a10 !important; font-weight: 600 !important; }
body.canal-horeca.page-cart .cart-summary-line.cart-total {
  border-top: 1px solid rgba(232,220,184,0.5) !important; margin-top: 10px !important; padding-top: 14px !important;
}
body.canal-horeca.page-cart .cart-summary-line.cart-total .label,
body.canal-horeca.page-cart .cart-summary-line.cart-total .value { font-size: 16px !important; font-weight: 700 !important; }

body.canal-horeca.page-cart a.btn-primary,
body.canal-horeca.page-cart .cart-detailed-actions a.btn,
body.canal-group-50.page-cart a.btn-primary {
  background: #c05a10 !important; border-color: #c05a10 !important; color: #fff !important;
  border-radius: 999px !important; padding: 14px 28px !important; font-weight: 700 !important;
  letter-spacing: 0.8px !important; font-size: 13px !important;
  box-shadow: 0 6px 20px rgba(192,90,16,0.3) !important; transition: all 0.2s ease !important;
  width: 100% !important; display: block !important; text-align: center !important; text-transform: uppercase !important;
}
body.canal-horeca.page-cart a.btn-primary:hover {
  background: #a04a0c !important; border-color: #a04a0c !important;
  box-shadow: 0 8px 24px rgba(192,90,16,0.4) !important; transform: translateY(-1px) !important;
}

body.canal-horeca.page-cart .blockreassurance_product,
body.canal-horeca.page-cart [class*="blockreassurance"],
body.canal-group-50.page-cart .blockreassurance_product { display: none !important; }

body.canal-horeca.page-cart .breadcrumb,
body.canal-group-50.page-cart .breadcrumb { display: none !important; }

body.canal-horeca.page-cart h1.h1::before,
body.canal-horeca.page-cart .h1::before,
body.canal-group-50.page-cart h1.h1::before { display: none !important; content: none !important; }
body.canal-horeca.page-cart .cart-grid-body h1.h1 { border-left: none !important; padding-left: 0 !important; }

body.canal-horeca.page-cart .cart-content-btn a,
body.canal-group-50.page-cart .cart-content-btn a {
  color: #c05a10 !important; font-weight: 600 !important; text-decoration: none !important;
}
body.canal-horeca.page-cart .cart-content-btn a:hover { color: #a04a0c !important; text-decoration: underline !important; }

/* === FIX: cart-detailed-totals debe ser column, no row === */
body.canal-horeca.page-cart .cart-detailed-totals,
body.canal-group-50.page-cart .cart-detailed-totals,
body.page-cart:not(.canal-club):not(.canal-group-49) .cart-detailed-totals {
  flex-direction: column !important;
  display: block !important;
}
body.canal-horeca.page-cart .cart-summary-totals,
body.canal-horeca.page-cart .cart-detailed-subtotals,
body.canal-group-50.page-cart .cart-summary-totals,
body.canal-group-50.page-cart .cart-detailed-subtotals {
  display: block !important;
  width: 100% !important;
}
body.canal-horeca.page-cart .cart-summary,
body.canal-group-50.page-cart .cart-summary {
  display: block !important;
  flex-direction: column !important;
}

/* === FIX: quitar espacio superior del carrito === */
body.canal-horeca.page-cart main,
body.canal-group-50.page-cart main,
body.canal-horeca.page-cart #wrapper,
body.canal-group-50.page-cart #wrapper,
body.canal-horeca.page-cart #content-wrapper,
body.canal-group-50.page-cart #content-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.canal-horeca.page-cart #notifications,
body.canal-group-50.page-cart #notifications {
  display: none !important;
}
body.canal-horeca.page-cart .container,
body.canal-group-50.page-cart .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.canal-horeca.page-cart .cart-grid,
body.canal-group-50.page-cart .cart-grid {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.canal-horeca.page-cart .breadcrumb,
body.canal-group-50.page-cart .breadcrumb,
body.canal-horeca.page-cart nav.breadcrumb,
body.canal-group-50.page-cart nav.breadcrumb {
  display: none !important;
}
/* Volver al inicio link mas pegado al top */
body.canal-horeca.page-cart .cart-content-btn,
body.canal-group-50.page-cart .cart-content-btn {
  margin: 0 0 16px 0 !important;
  padding-top: 0 !important;
}

/* === v130: Layout COMPACTO — productos filas + sidebar abajo === */

/* cart-grid: stack vertical (no 2 cols) */
body.canal-horeca.page-cart .cart-grid,
body.canal-group-50.page-cart .cart-grid,
body.canal-horeca.page-cart .row.cart-grid,
body.canal-group-50.page-cart .row.cart-grid {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  gap: 20px !important;
}

/* Body de productos: full width */
body.canal-horeca.page-cart .cart-grid-body,
body.canal-group-50.page-cart .cart-grid-body,
body.canal-horeca.page-cart .cart-grid .col-md-8,
body.canal-group-50.page-cart .cart-grid .col-md-8 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  padding: 0 !important;
}

/* Sidebar full-width abajo */
body.canal-horeca.page-cart .cart-grid-right,
body.canal-group-50.page-cart .cart-grid-right,
body.canal-horeca.page-cart .cart-grid .col-md-4,
body.canal-group-50.page-cart .cart-grid .col-md-4 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  padding: 0 !important;
}

/* ITEMS: filas horizontales COMPACTAS */
body.canal-horeca.page-cart .cart-item,
body.canal-horeca.page-cart .product-line-grid,
body.canal-group-50.page-cart .cart-item,
body.canal-group-50.page-cart .product-line-grid {
  padding: 14px 18px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
}

/* Forzar product-line__title y demás divs internos en linea */
body.canal-horeca.page-cart .product-line-grid > *,
body.canal-group-50.page-cart .product-line-grid > * {
  margin: 0 !important;
}

/* Foto MAS PEQUEÑA en fila */
body.canal-horeca.page-cart .q-cart-line__image,
body.canal-horeca.page-cart .product-line-grid img,
body.canal-horeca.page-cart .cart-item img,
body.canal-group-50.page-cart .q-cart-line__image,
body.canal-group-50.page-cart .cart-item img {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  flex-shrink: 0 !important;
  border-radius: 10px !important;
}

/* Nombre flex 1: ocupa el espacio del medio */
body.canal-horeca.page-cart .q-cart-line__name,
body.canal-horeca.page-cart .product-line__title,
body.canal-horeca.page-cart .product-line-info.product,
body.canal-group-50.page-cart .q-cart-line__name,
body.canal-group-50.page-cart .product-line__title {
  flex: 1 1 auto !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* Precio unitario y total inline más pequeño */
body.canal-horeca.page-cart .q-cart-line__price-row,
body.canal-horeca.page-cart .q-cart-line__unit-price,
body.canal-horeca.page-cart .q-cart-line__total,
body.canal-group-50.page-cart .q-cart-line__price-row {
  font-size: 14px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Touchspin compacto sin margin-left auto extra */
body.canal-horeca.page-cart .q-cart-line__qty,
body.canal-horeca.page-cart .q-touchspin,
body.canal-group-50.page-cart .q-touchspin {
  margin-left: 0 !important;
  flex-shrink: 0 !important;
}

/* === Sidebar resumen FULL WIDTH abajo === */
body.canal-horeca.page-cart .cart-summary,
body.canal-group-50.page-cart .cart-summary {
  width: 100% !important;
  max-width: 100% !important;
}

/* cart-detailed-totals: ROW layout, no columna (las líneas del resumen lado a lado) */
body.canal-horeca.page-cart .cart-detailed-totals,
body.canal-group-50.page-cart .cart-detailed-totals {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  justify-content: space-between !important;
  align-items: stretch !important;
}

/* Subtotales (2 articulos + transporte) en row */
body.canal-horeca.page-cart .cart-detailed-subtotals,
body.canal-group-50.page-cart .cart-detailed-subtotals {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  flex: 1 1 60% !important;
  align-items: center !important;
}

/* Total: a la derecha destacado */
body.canal-horeca.page-cart .cart-summary-totals,
body.canal-group-50.page-cart .cart-summary-totals {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

/* cart-summary-line: inline-flex pequeño en lugar de full row */
body.canal-horeca.page-cart .cart-detailed-subtotals .cart-summary-line,
body.canal-group-50.page-cart .cart-detailed-subtotals .cart-summary-line {
  display: inline-flex !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  border: none !important;
}

/* Total destacado mas grande */
body.canal-horeca.page-cart .cart-summary-line.cart-total,
body.canal-group-50.page-cart .cart-summary-line.cart-total {
  border: none !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  background: rgba(192,90,16,0.08) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  gap: 10px !important;
  align-items: center !important;
  width: auto !important;
}

/* Boton checkout abajo full width */
body.canal-horeca.page-cart .cart-detailed-actions,
body.canal-group-50.page-cart .cart-detailed-actions,
body.canal-horeca.page-cart .checkout,
body.canal-group-50.page-cart .checkout {
  width: 100% !important;
  display: block !important;
  margin-top: 16px !important;
  padding: 0 !important;
}

/* === v130b: FORZAR display:block en cart-grid + children full width === */
body.canal-horeca.page-cart .cart-grid,
body.canal-horeca.page-cart .cart-grid.row,
body.canal-group-50.page-cart .cart-grid,
body.canal-group-50.page-cart .cart-grid.row {
  display: block !important;
  grid-template-columns: none !important;
}
body.canal-horeca.page-cart .cart-grid-body.col-lg-8,
body.canal-horeca.page-cart .cart-grid-right.col-lg-4,
body.canal-group-50.page-cart .cart-grid-body.col-lg-8,
body.canal-group-50.page-cart .cart-grid-right.col-lg-4 {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.canal-horeca.page-cart .cart-grid-right,
body.canal-group-50.page-cart .cart-grid-right {
  margin-top: 20px !important;
}

/* === v130c: SPECIFICITY HIGH para forzar block === */
html body.canal-horeca.page-cart section#wrapper .cart-grid,
html body.canal-group-50.page-cart section#wrapper .cart-grid,
html body.canal-horeca.page-cart .cart-grid.row,
html body.canal-group-50.page-cart .cart-grid.row {
  display: block !important;
  grid-template-columns: 1fr !important;
}
html body.canal-horeca.page-cart .cart-grid > div,
html body.canal-group-50.page-cart .cart-grid > div {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  grid-column: 1 / -1 !important;
  padding: 0 !important;
}
html body.canal-horeca.page-cart .cart-grid-right,
html body.canal-group-50.page-cart .cart-grid-right {
  margin-top: 16px !important;
  position: static !important;
}

/* === v131: COMPACTO maximo === */

/* Card carrito: padding minimo */
body.canal-horeca.page-cart .cart-grid-body .card,
body.canal-group-50.page-cart .cart-grid-body .card {
  padding: 0 !important;
  margin-bottom: 12px !important;
}

/* Header CARRITO mas compacto */
body.canal-horeca.page-cart .cart-grid-body .card-header,
body.canal-group-50.page-cart .cart-grid-body .card-header {
  padding: 12px 18px 10px !important;
  margin-bottom: 0 !important;
}
body.canal-horeca.page-cart .cart-grid-body .card-header .h1,
body.canal-horeca.page-cart .cart-grid-body .card-header h1,
body.canal-group-50.page-cart .cart-grid-body .card-header .h1 {
  font-size: 18px !important;
  letter-spacing: 1.2px !important;
}

/* Quitar el "¡QUEMPANADA!" pequeño arriba si es residual */
body.canal-horeca.page-cart .cart-grid-body .card-header > p:first-child,
body.canal-horeca.page-cart .cart-grid-body .card-header > small,
body.canal-group-50.page-cart .cart-grid-body .card-header > p:first-child {
  margin: 0 0 4px 0 !important;
  font-size: 10px !important;
}

/* Items: padding mas pequeño + sin gap excesivo */
body.canal-horeca.page-cart .cart-item,
body.canal-horeca.page-cart .product-line-grid,
body.canal-group-50.page-cart .cart-item,
body.canal-group-50.page-cart .product-line-grid {
  padding: 10px 18px !important;
  gap: 14px !important;
}

/* Foto MUY pequeña */
body.canal-horeca.page-cart .q-cart-line__image,
body.canal-horeca.page-cart .product-line-grid img,
body.canal-horeca.page-cart .cart-item img,
body.canal-group-50.page-cart .q-cart-line__image,
body.canal-group-50.page-cart .cart-item img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 8px !important;
}

/* Nombre + precio inline mas pequeño */
body.canal-horeca.page-cart .q-cart-line__name,
body.canal-horeca.page-cart .product-line__title,
body.canal-horeca.page-cart .product-line-info.product,
body.canal-group-50.page-cart .q-cart-line__name {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

/* Touchspin mas pequeño */
body.canal-horeca.page-cart .q-touchspin__btn,
body.canal-horeca.page-cart .q-touchspin > button,
body.canal-group-50.page-cart .q-touchspin__btn {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-height: 24px !important;
  font-size: 13px !important;
}
body.canal-horeca.page-cart .q-touchspin input,
body.canal-horeca.page-cart input[name="qty"],
body.canal-group-50.page-cart .q-touchspin input {
  height: 24px !important;
  line-height: 24px !important;
  width: 28px !important;
  font-size: 13px !important;
}

/* Sidebar resumen: padding compacto */
body.canal-horeca.page-cart .cart-grid-right .card,
body.canal-group-50.page-cart .cart-grid-right .card {
  padding: 14px 18px !important;
  margin: 0 !important;
}

/* Total bloque mas compacto */
body.canal-horeca.page-cart .cart-summary-line.cart-total,
body.canal-group-50.page-cart .cart-summary-line.cart-total {
  padding: 6px 14px !important;
}
body.canal-horeca.page-cart .cart-summary-line.cart-total .label,
body.canal-horeca.page-cart .cart-summary-line.cart-total .value,
body.canal-group-50.page-cart .cart-summary-line.cart-total .label {
  font-size: 14px !important;
}

/* Subtotales mas compactos */
body.canal-horeca.page-cart .cart-detailed-subtotals .cart-summary-line,
body.canal-group-50.page-cart .cart-detailed-subtotals .cart-summary-line {
  font-size: 13px !important;
}

/* Boton finalizar compra mas pequeño */
body.canal-horeca.page-cart a.btn-primary,
body.canal-horeca.page-cart .cart-detailed-actions a.btn,
body.canal-group-50.page-cart a.btn-primary {
  padding: 10px 24px !important;
  font-size: 12px !important;
}

/* Separación entre cards más pequeña */
body.canal-horeca.page-cart .cart-grid-right,
body.canal-group-50.page-cart .cart-grid-right {
  margin-top: 10px !important;
}

/* Continuar comprando mas pegado */
body.canal-horeca.page-cart .cart-content-btn,
body.canal-group-50.page-cart .cart-content-btn {
  margin: 4px 0 0 0 !important;
  padding: 6px 0 !important;
}
body.canal-horeca.page-cart .cart-content-btn a,
body.canal-group-50.page-cart .cart-content-btn a {
  font-size: 12px !important;
}

/* === v131b: ULTRA COMPACTO === */

/* Reducir espacio entre carrito y resumen */
body.canal-horeca.page-cart .cart-grid-right,
body.canal-group-50.page-cart .cart-grid-right {
  margin-top: 4px !important;
}

/* Header del card: minimizar padding */
body.canal-horeca.page-cart .cart-grid-body .card-header,
body.canal-group-50.page-cart .cart-grid-body .card-header {
  padding: 10px 18px 8px !important;
}
body.canal-horeca.page-cart .cart-grid-body .card-header > p:not(.h1),
body.canal-horeca.page-cart .cart-grid-body .card-header > small,
body.canal-group-50.page-cart .cart-grid-body .card-header > p:not(.h1) {
  margin: 0 !important;
  font-size: 9px !important;
  letter-spacing: 1px !important;
}
body.canal-horeca.page-cart .cart-grid-body .card-header .h1,
body.canal-horeca.page-cart .cart-grid-body .card-header h1,
body.canal-group-50.page-cart .cart-grid-body .card-header .h1 {
  font-size: 15px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Card body: padding cero arriba */
body.canal-horeca.page-cart .cart-grid-body .card .card-body,
body.canal-horeca.page-cart .cart-grid-body .card .cart-items,
body.canal-group-50.page-cart .cart-grid-body .card .card-body {
  padding: 0 !important;
  margin: 0 !important;
}

/* Items aún más compactos */
body.canal-horeca.page-cart .cart-item,
body.canal-horeca.page-cart .product-line-grid,
body.canal-group-50.page-cart .cart-item,
body.canal-group-50.page-cart .product-line-grid {
  padding: 8px 18px !important;
  gap: 12px !important;
  min-height: 0 !important;
}

/* Foto minimal */
body.canal-horeca.page-cart .q-cart-line__image,
body.canal-horeca.page-cart .cart-item img,
body.canal-group-50.page-cart .q-cart-line__image {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 6px !important;
}

/* Sidebar resumen MUY compacto */
body.canal-horeca.page-cart .cart-grid-right .card,
body.canal-group-50.page-cart .cart-grid-right .card {
  padding: 10px 18px !important;
  margin: 0 !important;
}

/* cart-detailed-totals: padding minimal y space below 0 */
body.canal-horeca.page-cart .cart-detailed-totals,
body.canal-group-50.page-cart .cart-detailed-totals {
  padding: 0 !important;
  margin: 0 !important;
  gap: 10px !important;
}

/* cart-detailed-subtotals: minimal */
body.canal-horeca.page-cart .cart-detailed-subtotals,
body.canal-group-50.page-cart .cart-detailed-subtotals {
  padding: 4px 0 !important;
  margin: 0 !important;
  gap: 16px !important;
}

/* Total compacto */
body.canal-horeca.page-cart .cart-summary-totals,
body.canal-group-50.page-cart .cart-summary-totals {
  padding: 0 !important;
  margin: 0 !important;
}
body.canal-horeca.page-cart .cart-summary-line.cart-total,
body.canal-group-50.page-cart .cart-summary-line.cart-total {
  padding: 4px 12px !important;
}

/* Actions: separación minima del Total */
body.canal-horeca.page-cart .cart-detailed-actions,
body.canal-group-50.page-cart .cart-detailed-actions,
body.canal-horeca.page-cart .checkout,
body.canal-group-50.page-cart .checkout {
  margin-top: 8px !important;
  padding: 0 !important;
}

/* Boton aún más pequeño y centrado */
body.canal-horeca.page-cart a.btn-primary,
body.canal-horeca.page-cart .cart-detailed-actions a.btn,
body.canal-group-50.page-cart a.btn-primary {
  padding: 8px 24px !important;
  font-size: 11px !important;
  width: auto !important;
  display: inline-block !important;
}
body.canal-horeca.page-cart .cart-detailed-actions,
body.canal-group-50.page-cart .cart-detailed-actions {
  text-align: center !important;
}

/* Eliminar separadores hr extra */
body.canal-horeca.page-cart .cart-grid-right hr,
body.canal-group-50.page-cart .cart-grid-right hr {
  display: none !important;
}

/* === v131c: ELIMINAR padding interno residual === */

/* Reducir espacios verticales del card */
html body.canal-horeca.page-cart .cart-grid-body .card,
html body.canal-group-50.page-cart .cart-grid-body .card,
html body.canal-horeca.page-cart .cart-grid-right .card,
html body.canal-group-50.page-cart .cart-grid-right .card {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Card body / inner de PrestaShop */
html body.canal-horeca.page-cart .cart-grid .card .card-block,
html body.canal-group-50.page-cart .cart-grid .card .card-block,
html body.canal-horeca.page-cart .cart-grid .card > div,
html body.canal-group-50.page-cart .cart-grid .card > div {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* Header: reducir espacio entre titulo y primer item */
html body.canal-horeca.page-cart .cart-grid-body .card-header + *,
html body.canal-group-50.page-cart .cart-grid-body .card-header + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Items: minimo absoluto */
html body.canal-horeca.page-cart .cart-item,
html body.canal-horeca.page-cart .product-line-grid,
html body.canal-group-50.page-cart .cart-item {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* Quitar espacio antes del primer item */
html body.canal-horeca.page-cart .cart-grid-body .card-block:first-of-type,
html body.canal-group-50.page-cart .cart-grid-body .card-block:first-of-type {
  padding-top: 0 !important;
}

/* Sidebar: reducir paddings de subtotales y total */
html body.canal-horeca.page-cart .cart-detailed-subtotals,
html body.canal-group-50.page-cart .cart-detailed-subtotals {
  padding: 4px 0 !important;
}
html body.canal-horeca.page-cart .cart-summary-totals,
html body.canal-group-50.page-cart .cart-summary-totals {
  padding: 4px 0 !important;
  margin-top: 4px !important;
}

/* Quitar todos los HR del sidebar */
html body.canal-horeca.page-cart .cart-grid-right hr,
html body.canal-horeca.page-cart .cart-summary hr,
html body.canal-group-50.page-cart .cart-grid-right hr {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* card-block.cart-detailed-totals: sin padding */
html body.canal-horeca.page-cart .cart-detailed-totals.card-block,
html body.canal-group-50.page-cart .cart-detailed-totals.card-block {
  padding: 6px 14px !important;
}
html body.canal-horeca.page-cart .cart-detailed-actions.card-block,
html body.canal-group-50.page-cart .cart-detailed-actions.card-block {
  padding: 6px 14px !important;
  margin-top: 0 !important;
}

/* Quitar margins extras en cart-summary card hijos */
html body.canal-horeca.page-cart .cart-summary .card-block,
html body.canal-group-50.page-cart .cart-summary .card-block {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* === v131d: ELIMINAR padding/margin culprits === */

/* HR separator: el peor enemigo (64px de margen total) */
html body.canal-horeca.page-cart .cart-grid .separator,
html body.canal-horeca.page-cart .cart-grid hr.separator,
html body.canal-horeca.page-cart .cart-grid hr,
html body.canal-group-50.page-cart .cart-grid .separator,
html body.canal-group-50.page-cart .cart-grid hr {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* LI.cart-item: padding 20px → 6px */
html body.canal-horeca.page-cart li.cart-item,
html body.canal-horeca.page-cart ul.cart-items > li.cart-item,
html body.canal-group-50.page-cart li.cart-item,
html body.canal-group-50.page-cart ul.cart-items > li.cart-item {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* H1.h1 margin 32px → 4px */
html body.canal-horeca.page-cart .cart-grid-body h1.h1,
html body.canal-horeca.page-cart .cart-grid-body .h1,
html body.canal-group-50.page-cart .cart-grid-body h1.h1,
html body.canal-group-50.page-cart .cart-grid-body .h1 {
  margin: 0 !important;
  padding: 0 !important;
}

/* cart-overview: 16+16 = 32 → 0 */
html body.canal-horeca.page-cart .cart-overview,
html body.canal-horeca.page-cart .cart-overview.js-cart,
html body.canal-group-50.page-cart .cart-overview {
  padding: 0 !important;
  margin: 0 !important;
}

/* ul.cart-items: 16+16 = 32 → 0 */
html body.canal-horeca.page-cart ul.cart-items,
html body.canal-group-50.page-cart ul.cart-items {
  padding: 0 !important;
  margin: 0 !important;
}

/* Card body cero todo */
html body.canal-horeca.page-cart .cart-grid-body .card-block,
html body.canal-group-50.page-cart .cart-grid-body .card-block {
  padding: 0 !important;
  margin: 0 !important;
}

/* Header del CARRITO: padding minimo */
html body.canal-horeca.page-cart .cart-grid-body .card-header,
html body.canal-group-50.page-cart .cart-grid-body .card-header {
  padding: 10px 18px 8px !important;
}

/* === v132: UNIFICAR fondo + quitar lineas + ULTRA compacto === */

/* Cards: FONDO CREMA igual que el wrapper (no blanco), sin sombra, sin borde */
html body.canal-horeca.page-cart .cart-grid-body .card,
html body.canal-horeca.page-cart .cart-grid-right .card,
html body.canal-group-50.page-cart .cart-grid-body .card,
html body.canal-group-50.page-cart .cart-grid-right .card {
  background: #faf6ec !important;
  background-color: #faf6ec !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* QUITAR TODAS las lineas: borders, hr, separadores */
html body.canal-horeca.page-cart .cart-grid hr,
html body.canal-horeca.page-cart .cart-grid .separator,
html body.canal-horeca.page-cart .cart-item + .cart-item,
html body.canal-horeca.page-cart .cart-grid-body .card-header,
html body.canal-horeca.page-cart .cart-summary-line.cart-total,
html body.canal-group-50.page-cart .cart-grid hr,
html body.canal-group-50.page-cart .cart-item + .cart-item,
html body.canal-group-50.page-cart .cart-grid-body .card-header {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}
html body.canal-horeca.page-cart .cart-grid hr,
html body.canal-horeca.page-cart .cart-grid .separator,
html body.canal-group-50.page-cart .cart-grid hr {
  display: none !important;
}

/* Reducir espacio entre carrito y resumen */
html body.canal-horeca.page-cart .cart-grid-right,
html body.canal-group-50.page-cart .cart-grid-right {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Header CARRITO: padding minimo y centrado */
html body.canal-horeca.page-cart .cart-grid-body .card-header,
html body.canal-group-50.page-cart .cart-grid-body .card-header {
  padding: 0 18px 6px !important;
  background: transparent !important;
}

/* Items: padding mas pequeño aún */
html body.canal-horeca.page-cart li.cart-item,
html body.canal-horeca.page-cart .product-line-grid,
html body.canal-group-50.page-cart li.cart-item {
  padding: 4px 18px !important;
}

/* Sidebar: padding minimo */
html body.canal-horeca.page-cart .cart-grid-right .card,
html body.canal-group-50.page-cart .cart-grid-right .card {
  padding: 6px 18px !important;
}
html body.canal-horeca.page-cart .cart-detailed-totals.card-block,
html body.canal-group-50.page-cart .cart-detailed-totals.card-block {
  padding: 4px 0 !important;
}
html body.canal-horeca.page-cart .cart-detailed-actions.card-block,
html body.canal-group-50.page-cart .cart-detailed-actions.card-block {
  padding: 6px 0 0 !important;
  margin: 0 !important;
}

/* Total destacado mas pequeño y compacto */
html body.canal-horeca.page-cart .cart-summary-line.cart-total,
html body.canal-group-50.page-cart .cart-summary-line.cart-total {
  padding: 4px 12px !important;
  margin: 0 !important;
  border-top: none !important;
  padding-top: 4px !important;
}

/* Section wrapper background uniforme */
html body.canal-horeca.page-cart section#wrapper,
html body.canal-group-50.page-cart section#wrapper {
  background: #faf6ec !important;
  padding-top: 0 !important;
}
html body.canal-horeca.page-cart .container,
html body.canal-group-50.page-cart .container {
  background: transparent !important;
}

/* Continuar comprando muy pegado */
html body.canal-horeca.page-cart .cart-content-btn,
html body.canal-group-50.page-cart .cart-content-btn {
  padding: 2px 18px !important;
  margin: 0 !important;
}

/* Quitar bordes residuales que pueden estar en otros divs */
html body.canal-horeca.page-cart .cart-grid *,
html body.canal-group-50.page-cart .cart-grid * {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}
/* Excepto el card del Total que necesita su background sutil */
html body.canal-horeca.page-cart .cart-summary-line.cart-total,
html body.canal-group-50.page-cart .cart-summary-line.cart-total {
  background: rgba(192,90,16,0.08) !important;
}

/* Touchspin border + input: dejar visible su borde de circle */
html body.canal-horeca.page-cart .q-touchspin__btn,
html body.canal-horeca.page-cart .q-touchspin > button,
html body.canal-group-50.page-cart .q-touchspin__btn {
  border: 1px solid rgba(192,90,16,0.4) !important;
}
html body.canal-horeca.page-cart .q-touchspin input,
html body.canal-group-50.page-cart .q-touchspin input {
  border: 1px solid rgba(192,90,16,0.3) !important;
  border-radius: 6px !important;
}

/* === v132b: FUSIONAR cards + cream override === */

/* CARDS: cream + sin sombras + sin radius (specificity alta) */
html body.canal-horeca.page-cart .cart-grid .cart-grid-body .card,
html body.canal-horeca.page-cart .cart-grid .cart-grid-right .card,
html body.canal-group-50.page-cart .cart-grid .cart-grid-body .card,
html body.canal-group-50.page-cart .cart-grid .cart-grid-right .card,
html body.canal-horeca.page-cart div.card.cart-summary,
html body.canal-group-50.page-cart div.card.cart-summary {
  background: #faf6ec !important;
  background-color: #faf6ec !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Quitar todo box-shadow residual */
html body.canal-horeca.page-cart .cart-grid *,
html body.canal-group-50.page-cart .cart-grid * {
  box-shadow: none !important;
}

/* Fusionar carrito y resumen: quitar separación */
html body.canal-horeca.page-cart .cart-grid-right,
html body.canal-group-50.page-cart .cart-grid-right {
  margin-top: 0 !important;
  border-top: 1px solid rgba(192,90,16,0.15) !important;
  padding-top: 6px !important;
}

/* Continuar comprando: minimizar */
html body.canal-horeca.page-cart .cart-content-btn,
html body.canal-group-50.page-cart .cart-content-btn {
  padding: 4px 18px !important;
  margin: 0 !important;
  font-size: 11px !important;
}
html body.canal-horeca.page-cart .cart-content-btn a,
html body.canal-group-50.page-cart .cart-content-btn a {
  font-size: 11px !important;
}

/* Items aún más compactos sin sombras de fotos */
html body.canal-horeca.page-cart .q-cart-line__image,
html body.canal-horeca.page-cart .cart-item img,
html body.canal-group-50.page-cart .q-cart-line__image {
  box-shadow: none !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 4px !important;
}

/* Quitar borde entre items (eliminar el rayita) */
html body.canal-horeca.page-cart .cart-item + .cart-item,
html body.canal-group-50.page-cart .cart-item + .cart-item {
  border-top: none !important;
}

/* Items aún más compactos verticalmente */
html body.canal-horeca.page-cart li.cart-item,
html body.canal-group-50.page-cart li.cart-item {
  padding: 3px 18px !important;
}

/* Header carrito mas compacto */
html body.canal-horeca.page-cart .cart-grid-body .card-header,
html body.canal-group-50.page-cart .cart-grid-body .card-header {
  padding: 12px 18px 4px !important;
  text-align: center !important;
}
html body.canal-horeca.page-cart .cart-grid-body .card-header > p:not(.h1),
html body.canal-horeca.page-cart .cart-grid-body .card-header > small,
html body.canal-group-50.page-cart .cart-grid-body .card-header > p:not(.h1) {
  font-size: 9px !important;
  margin: 0 !important;
  opacity: 0.7 !important;
}
html body.canal-horeca.page-cart .cart-grid-body .card-header .h1,
html body.canal-horeca.page-cart .cart-grid-body .card-header h1,
html body.canal-group-50.page-cart .cart-grid-body .card-header .h1 {
  font-size: 14px !important;
  margin: 2px 0 0 !important;
  letter-spacing: 1px !important;
}

/* Sidebar resumen: sin padding bottom extra */
html body.canal-horeca.page-cart .cart-grid-right .card,
html body.canal-group-50.page-cart .cart-grid-right .card {
  padding: 6px 18px !important;
}

/* Total destacado con menos padding vertical */
html body.canal-horeca.page-cart .cart-summary-line.cart-total,
html body.canal-group-50.page-cart .cart-summary-line.cart-total {
  padding: 4px 12px !important;
  margin: 4px 0 0 0 !important;
}

/* Boton finalizar: pequeño y centrado */
html body.canal-horeca.page-cart a.btn-primary,
html body.canal-group-50.page-cart a.btn-primary {
  padding: 8px 22px !important;
  font-size: 11px !important;
}
html body.canal-horeca.page-cart .cart-detailed-actions,
html body.canal-group-50.page-cart .cart-detailed-actions {
  padding: 4px 18px 8px !important;
  margin-top: 4px !important;
}

/* === v132c: ULTRA-SPECIFIC (gana contra custom.css de sombras blancas) === */
html body.canal-horeca.page-cart .cart-grid > .cart-grid-body .card,
html body.canal-horeca.page-cart .cart-grid > .cart-grid-right .card,
html body.canal-horeca.page-cart div.card.cart-summary,
html body.canal-group-50.page-cart .cart-grid > .cart-grid-body .card,
html body.canal-group-50.page-cart .cart-grid > .cart-grid-right .card,
html body.canal-group-50.page-cart div.card.cart-summary {
  background: #faf6ec !important;
  background-color: #faf6ec !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

html body.canal-horeca.page-cart .cart-grid > .cart-grid-body .card *,
html body.canal-horeca.page-cart .cart-grid > .cart-grid-right .card *,
html body.canal-group-50.page-cart .cart-grid > .cart-grid-body .card *,
html body.canal-group-50.page-cart .cart-grid > .cart-grid-right .card * {
  box-shadow: none !important;
}

/* Quitar TODAS las líneas/hr/borders entre items */
html body.canal-horeca.page-cart .cart-grid hr,
html body.canal-horeca.page-cart .cart-grid .separator,
html body.canal-horeca.page-cart .cart-grid li.cart-item + li.cart-item,
html body.canal-group-50.page-cart .cart-grid hr {
  border: none !important;
  border-top: none !important;
  display: block !important;
  background: transparent !important;
}
html body.canal-horeca.page-cart .cart-grid hr,
html body.canal-group-50.page-cart .cart-grid hr {
  display: none !important;
}

/* Items compactos, sin border-top */
html body.canal-horeca.page-cart li.cart-item,
html body.canal-horeca.page-cart .cart-item,
html body.canal-horeca.page-cart .product-line-grid,
html body.canal-group-50.page-cart li.cart-item,
html body.canal-group-50.page-cart .cart-item {
  padding: 4px 18px !important;
  border-top: none !important;
  border-bottom: none !important;
  background: transparent !important;
}

/* Container outer también cream */
html body.canal-horeca.page-cart .cart-grid,
html body.canal-horeca.page-cart #content-wrapper,
html body.canal-group-50.page-cart .cart-grid,
html body.canal-group-50.page-cart #content-wrapper {
  background: #faf6ec !important;
}

html body.canal-horeca.page-cart .cart-grid-right,
html body.canal-group-50.page-cart .cart-grid-right {
  margin-top: 0 !important;
  border-top: 1px solid rgba(192,90,16,0.18) !important;
  padding-top: 4px !important;
}

html body.canal-horeca.page-cart .cart-content-btn,
html body.canal-group-50.page-cart .cart-content-btn {
  padding: 2px 18px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

html body.canal-horeca.page-cart .cart-summary-line.cart-total,
html body.canal-group-50.page-cart .cart-summary-line.cart-total {
  background: rgba(192,90,16,0.10) !important;
  padding: 6px 14px !important;
  margin: 4px 0 0 !important;
}

html body.canal-horeca.page-cart .cart-detailed-actions,
html body.canal-group-50.page-cart .cart-detailed-actions {
  padding: 4px 18px 8px !important;
  border-top: none !important;
}

html body.canal-horeca.page-cart .card-header,
html body.canal-group-50.page-cart .card-header {
  padding: 12px 18px 4px !important;
  background: transparent !important;
  border: none !important;
}

/* === v132d: body#cart selector (ID > class — vence custom.css) === */
html body#cart.canal-horeca .cart-grid-body .card,
html body#cart.canal-horeca .cart-grid-right .card,
html body#cart.canal-horeca div.card.cart-summary,
html body#cart.canal-horeca .card,
html body#cart.canal-group-50 .cart-grid-body .card,
html body#cart.canal-group-50 .cart-grid-right .card,
html body#cart.canal-group-50 div.card.cart-summary {
  background: #faf6ec !important;
  background-color: #faf6ec !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

html body#cart.canal-horeca .cart-grid hr,
html body#cart.canal-group-50 .cart-grid hr {
  display: none !important;
}

html body#cart.canal-horeca li.cart-item,
html body#cart.canal-horeca .cart-item,
html body#cart.canal-group-50 li.cart-item {
  padding: 4px 18px !important;
  border-top: none !important;
  background: transparent !important;
}

html body#cart.canal-horeca .cart-grid-right,
html body#cart.canal-group-50 .cart-grid-right {
  margin-top: 0 !important;
  border-top: 1px solid rgba(192,90,16,0.18) !important;
  padding-top: 4px !important;
}

html body#cart.canal-horeca .cart-content-btn,
html body#cart.canal-group-50 .cart-content-btn {
  padding: 2px 18px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

html body#cart.canal-horeca .cart-summary-line.cart-total,
html body#cart.canal-group-50 .cart-summary-line.cart-total {
  background: rgba(192,90,16,0.10) !important;
  padding: 6px 14px !important;
  margin: 4px 0 0 !important;
}

html body#cart.canal-horeca .cart-detailed-actions,
html body#cart.canal-group-50 .cart-detailed-actions {
  padding: 4px 18px 8px !important;
  border-top: none !important;
}

html body#cart.canal-horeca .card-header,
html body#cart.canal-group-50 .card-header {
  padding: 12px 18px 4px !important;
  background: transparent !important;
  border: none !important;
}

html body#cart.canal-horeca .cart-grid-body .card *,
html body#cart.canal-horeca .cart-grid-right .card *,
html body#cart.canal-group-50 .cart-grid-body .card * {
  box-shadow: none !important;
}

/* === v132e: nombre LEFT, cantidad+precio+trash RIGHT === */
html body#cart.canal-horeca .product-line-grid.q-cart-line,
html body#cart.canal-group-50 .product-line-grid.q-cart-line {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

html body#cart.canal-horeca .q-cart-line__image,
html body#cart.canal-group-50 .q-cart-line__image {
  flex: 0 0 auto !important;
}

/* INFO a la izquierda, ocupa todo el espacio disponible */
html body#cart.canal-horeca .q-cart-line__info,
html body#cart.canal-group-50 .q-cart-line__info {
  flex: 1 1 auto !important;
  text-align: left !important;
  min-width: 0 !important;
}

/* ACTIONS pegado a la derecha, sin empuje */
html body#cart.canal-horeca .q-cart-line__actions,
html body#cart.canal-group-50 .q-cart-line__actions {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* === v133: marco blanco fuera + back minimalista flecha negra === */

/* Quitar marco blanco del wrapper interno del carrito */
html body#cart.canal-horeca .cart-grid,
html body#cart.canal-horeca .cart-grid-body,
html body#cart.canal-horeca .cart-grid-right,
html body#cart.canal-group-50 .cart-grid,
html body#cart.canal-group-50 .cart-grid-body,
html body#cart.canal-group-50 .cart-grid-right {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
}

/* También limpiar el outer card container */
html body#cart.canal-horeca .card.cart-container,
html body#cart.canal-group-50 .card.cart-container {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 24px !important;
}

/* Botón VOLVER AL INICIO → solo flecha negra minimalista */
html body#cart.canal-horeca .container::before,
html body#cart.canal-group-50 .container::before {
  content: "\2190" !important;
  position: fixed !important;
  top: 18px !important;
  left: 24px !important;
  z-index: 100 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #1a1a1a !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}

/* === v134: Checkout Horeca - hide header/footer + todo BLANCO === */

/* Ocultar TODO el header + footer en checkout Horeca */
html body#checkout.canal-horeca header#header,
html body#checkout.canal-horeca #_desktop_top_menu,
html body#checkout.canal-horeca .q-strip-bar,
html body#checkout.canal-horeca .q-nav-pages,
html body#checkout.canal-horeca .quemp-top-strip,
html body#checkout.canal-horeca .quemp-cream-bar,
html body#checkout.canal-horeca .breadcrumb,
html body#checkout.canal-horeca footer#footer,
html body#checkout.canal-horeca #footer,
html body#checkout.canal-horeca .quemp-footer,
html body#checkout.canal-group-50 header#header,
html body#checkout.canal-group-50 footer#footer,
html body#checkout.canal-group-50 .breadcrumb,
html body#checkout.canal-group-50 .q-strip-bar,
html body#checkout.canal-group-50 .quemp-top-strip,
html body#checkout.canal-group-50 .quemp-cream-bar {
  display: none !important;
}

/* TODO BLANCO — body, wrapper, main, container */
html body#checkout.canal-horeca,
html body#checkout.canal-group-50,
html body#checkout.canal-horeca #wrapper,
html body#checkout.canal-horeca #main,
html body#checkout.canal-horeca #content,
html body#checkout.canal-horeca #content-wrapper,
html body#checkout.canal-horeca main,
html body#checkout.canal-group-50 #wrapper,
html body#checkout.canal-group-50 #main,
html body#checkout.canal-group-50 #content,
html body#checkout.canal-group-50 #content-wrapper,
html body#checkout.canal-group-50 main {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

html#checkout-html,
html:has(body#checkout.canal-horeca),
html:has(body#checkout.canal-group-50) {
  background: #ffffff !important;
}

/* Los 4 bloques (checkout steps) — todos blancos uniformes */
html body#checkout.canal-horeca .checkout-step,
html body#checkout.canal-horeca section.checkout-step,
html body#checkout.canal-horeca #checkout-personal-information-step,
html body#checkout.canal-horeca #checkout-addresses-step,
html body#checkout.canal-horeca #checkout-delivery-step,
html body#checkout.canal-horeca #checkout-payment-step,
html body#checkout.canal-group-50 .checkout-step,
html body#checkout.canal-group-50 section.checkout-step {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: none !important;
  border-bottom: 1px solid #eee !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Cart summary (lado derecho) también blanco */
html body#checkout.canal-horeca .cart-summary,
html body#checkout.canal-horeca .card,
html body#checkout.canal-horeca #js-checkout-summary,
html body#checkout.canal-group-50 .cart-summary,
html body#checkout.canal-group-50 .card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Quitar pill "Inicio" / breadcrumb pill VOLVER */
html body#checkout.canal-horeca .container::before,
html body#checkout.canal-group-50 .container::before {
  content: "\2190" !important;
  position: fixed !important;
  top: 18px !important;
  left: 24px !important;
  z-index: 100 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #1a1a1a !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}

/* Padding top del wrapper para que la flecha no tape contenido */
html body#checkout.canal-horeca #wrapper,
html body#checkout.canal-group-50 #wrapper {
  padding-top: 60px !important;
}

/* === v134b: textarea blanco + inputs blanco === */
html body#checkout.canal-horeca textarea,
html body#checkout.canal-horeca input[type="text"],
html body#checkout.canal-horeca input[type="email"],
html body#checkout.canal-horeca input[type="password"],
html body#checkout.canal-horeca select,
html body#checkout.canal-group-50 textarea,
html body#checkout.canal-group-50 input[type="text"],
html body#checkout.canal-group-50 input[type="email"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
}

/* Quitar el "Inicio" pill antiguo del breadcrumb (v94-style) */
html body#checkout.canal-horeca .breadcrumb,
html body#checkout.canal-horeca nav.breadcrumb,
html body#checkout.canal-group-50 .breadcrumb {
  display: none !important;
}

/* === v134c: más margen arriba en checkout === */
html body#checkout.canal-horeca #wrapper,
html body#checkout.canal-group-50 #wrapper {
  padding-top: 130px !important;
}
html body#checkout.canal-horeca #main,
html body#checkout.canal-group-50 #main {
  padding-top: 0 !important;
}

/* === v135b: alinear checkbox terminos en checkout === */
html body#checkout.canal-horeca #conditions-to-approve,
html body#checkout.canal-horeca .checkout-terms,
html body#checkout.canal-group-50 #conditions-to-approve,
html body#checkout.canal-group-50 .checkout-terms {
  display: block !important;
}

html body#checkout.canal-horeca #conditions-to-approve label,
html body#checkout.canal-horeca .checkout-terms label,
html body#checkout.canal-horeca #conditions-to-approve li label,
html body#checkout.canal-group-50 #conditions-to-approve label,
html body#checkout.canal-group-50 .checkout-terms label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

html body#checkout.canal-horeca #conditions-to-approve input[type="checkbox"],
html body#checkout.canal-horeca .checkout-terms input[type="checkbox"],
html body#checkout.canal-group-50 #conditions-to-approve input[type="checkbox"] {
  flex: 0 0 auto !important;
  margin: 0 !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 0 !important;
}

html body#checkout.canal-horeca #conditions-to-approve li,
html body#checkout.canal-group-50 #conditions-to-approve li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* === v135c: alinear realmente el checkbox terms (li > div.float-xs-left + text) === */
html body#checkout.canal-horeca #conditions-to-approve ul,
html body#checkout.canal-group-50 #conditions-to-approve ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

html body#checkout.canal-horeca #conditions-to-approve li,
html body#checkout.canal-group-50 #conditions-to-approve li {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body#checkout.canal-horeca #conditions-to-approve .float-xs-left,
html body#checkout.canal-group-50 #conditions-to-approve .float-xs-left {
  float: none !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body#checkout.canal-horeca #conditions-to-approve .custom-checkbox,
html body#checkout.canal-group-50 #conditions-to-approve .custom-checkbox {
  margin: 0 !important;
}

html body#checkout.canal-horeca #conditions-to-approve label,
html body#checkout.canal-group-50 #conditions-to-approve label {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  vertical-align: middle !important;
}

/* ============================================== */
/* OLEADA 1 (v160-v161-v163) - CSS BLOCK         */
/* ============================================== */

/* === v160 === */
/* ============================================================
   v160 - Imagenes producto cuadradas (aspect-ratio 1:1 + cover)
   Catálogo, pagina producto y linea de carrito/checkout.
   Hardcoded selectors con html body... para vencer custom.css
   ============================================================ */

/* --- Catálogo: miniaturas (.product-miniature / .thumbnail-container) --- */
html body .product-miniature .thumbnail-container,
html body .product-miniature .thumb-container,
html body .products .product-miniature,
html body.canal-horeca .product-miniature .thumbnail-container,
html body.canal-horeca .product-miniature .thumb-container {
  position: relative !important;
}

html body .product-miniature .thumbnail-container a.thumbnail.product-thumbnail,
html body .product-miniature .thumbnail-container .thumbnail,
html body .product-miniature .thumb-container a.thumbnail,
html body .product-miniature a.thumbnail,
html body.canal-horeca .product-miniature .thumbnail-container a.thumbnail.product-thumbnail,
html body.canal-horeca .product-miniature .thumbnail-container .thumbnail,
html body.canal-horeca .product-miniature a.thumbnail {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #faf6ec !important;
  border-radius: 8px !important;
  padding: 0 !important;
  line-height: 0 !important;
  position: relative !important;
}

html body .product-miniature .thumbnail-container img,
html body .product-miniature .thumbnail-container a.thumbnail img,
html body .product-miniature img.replace-2x,
html body .product-miniature img.center-block,
html body .product-miniature img.img-fluid,
html body .product-miniature img,
html body.canal-horeca .product-miniature .thumbnail-container img,
html body.canal-horeca .product-miniature img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: 8px !important;
}

/* Flags (Nuevo / Promo / Agotado) sobre la miniatura */
html body .product-miniature .product-flags,
html body.canal-horeca .product-miniature .product-flags {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 3 !important;
  margin: 0 !important;
}

/* --- Pagina producto: imagen principal (.product-cover) --- */
html body#product .product-cover,
html body#product .images-container .product-cover,
html body.canal-horeca .product-cover,
html body.canal-horeca#product .product-cover {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #faf6ec !important;
  border-radius: 12px !important;
  padding: 0 !important;
  line-height: 0 !important;
  display: block !important;
}

html body#product .product-cover img,
html body#product .product-cover img.js-qv-product-cover,
html body#product .images-container .product-cover img,
html body.canal-horeca .product-cover img,
html body.canal-horeca#product .product-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: 12px !important;
}

/* Flag default sobre la imagen principal */
html body#product .product-flags,
html body#product .product-flag,
html body#product .product-flag-default,
html body.canal-horeca#product .product-flags,
html body.canal-horeca#product .product-flag,
html body.canal-horeca#product .product-flag-default {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 3 !important;
  margin: 0 !important;
}

/* Thumbs secundarios (galeria) tambien cuadrados */
html body#product .product-images li.thumb-container,
html body#product .product-images .thumb,
html body.canal-horeca#product .product-images li.thumb-container,
html body.canal-horeca#product .product-images .thumb {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #faf6ec !important;
  border-radius: 6px !important;
  padding: 0 !important;
  line-height: 0 !important;
}

html body#product .product-images li.thumb-container img,
html body#product .product-images .thumb img,
html body.canal-horeca#product .product-images li.thumb-container img,
html body.canal-horeca#product .product-images .thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: 6px !important;
}

/* --- Carrito / checkout: imagen de la linea de producto --- */
html body#cart .cart-item .product-line-grid-left,
html body#cart .cart-item .product-line-grid-left .product-line-grid-left-img,
html body#checkout .cart-item .product-line-grid-left,
html body.canal-horeca#cart .cart-item .product-line-grid-left,
html body.canal-horeca#checkout .cart-item .product-line-grid-left {
  position: relative !important;
}

html body#cart .cart-item .product-line-grid-left img,
html body#cart .cart-item img.product-image,
html body#checkout .cart-item .product-line-grid-left img,
html body#checkout .cart-item img.product-image,
html body.canal-horeca#cart .cart-item .product-line-grid-left img,
html body.canal-horeca#checkout .cart-item .product-line-grid-left img {
  display: block !important;
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #faf6ec !important;
  border-radius: 8px !important;
  padding: 0 !important;
  border: 1px solid #efe7d2 !important;
}

/* --- Quickview modal (por consistencia) --- */
html body .modal.quickview .product-cover,
html body .modal.quickview .product-cover img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #faf6ec !important;
}

/* Anular cualquier altura auto inline que ponga PrestaShop */
html body .product-miniature img[height],
html body#product .product-cover img[height],
html body#product .product-images img[height] {
  height: 100% !important;
}


/* === v161 === */
/* ============================================================
   v161 - Quitar zoom/lupa hover en catalogo Horeca
   Elimina overlay con linea horizontal + icono lupa sobre cards
   ============================================================ */

/* 1. Ocultar pseudo-elementos del thumbnail-container (overlay oscuro + linea) */
html body.canal-horeca .product-miniature .thumbnail-container::after,
html body.canal-horeca .product-miniature .thumbnail-container::before,
html body.canal-horeca .products .product-miniature .thumbnail-container::after,
html body.canal-horeca .products .product-miniature .thumbnail-container::before,
html body.canal-horeca #products .product-miniature .thumbnail-container::after,
html body.canal-horeca #products .product-miniature .thumbnail-container::before,
html body.canal-horeca .product-miniature .thumbnail-top::after,
html body.canal-horeca .product-miniature .thumbnail-top::before {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 2. Ocultar el bloque highlighted-informations (donde theme classic mete la lupa + linea) */
html body.canal-horeca .product-miniature .highlighted-informations,
html body.canal-horeca .product-miniature .thumbnail-container .highlighted-informations,
html body.canal-horeca .products .product-miniature .highlighted-informations,
html body.canal-horeca #products .product-miniature .highlighted-informations,
html body.canal-horeca .product-miniature .highlighted-informations.no-variants,
html body.canal-horeca .product-miniature:hover .highlighted-informations,
html body.canal-horeca .product-miniature .thumbnail-container:hover .highlighted-informations {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: none !important;
  bottom: -100% !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

/* 3. Ocultar el boton quick-view (icono lupa flotante) */
html body.canal-horeca .product-miniature .quick-view,
html body.canal-horeca .product-miniature a.quick-view,
html body.canal-horeca .product-miniature .thumbnail-container .quick-view,
html body.canal-horeca .products .product-miniature .quick-view,
html body.canal-horeca #products .product-miniature .quick-view,
html body.canal-horeca .product-miniature:hover .quick-view {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 4. Ocultar cualquier icono material/fontawesome search dentro de la card */
html body.canal-horeca .product-miniature .material-icons.search,
html body.canal-horeca .product-miniature .fa-search,
html body.canal-horeca .product-miniature .fa-search-plus,
html body.canal-horeca .product-miniature i.material-icons:not(.shopping-cart):not(.add_shopping_cart) {
  display: none !important;
  visibility: hidden !important;
}

/* 5. Resetear el thumbnail-container al hover (sin zoom raro ni transform) */
html body.canal-horeca .product-miniature .thumbnail-container,
html body.canal-horeca .product-miniature .thumbnail-top {
  overflow: hidden !important;
  position: relative !important;
  background: #ffffff !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}

html body.canal-horeca .product-miniature:hover .thumbnail-container,
html body.canal-horeca .product-miniature .thumbnail-container:hover,
html body.canal-horeca .product-miniature:hover .thumbnail-top {
  background: #ffffff !important;
  filter: none !important;
  transform: none !important;
}

/* 6. Imagen sin zoom agresivo, solo escala muy sutil */
html body.canal-horeca .product-miniature .thumbnail-container img,
html body.canal-horeca .product-miniature .thumbnail-top img,
html body.canal-horeca .product-miniature img.center-block,
html body.canal-horeca .product-miniature img.replace-2x {
  transition: transform 0.3s ease !important;
  transform: scale(1) !important;
  filter: none !important;
  opacity: 1 !important;
}

html body.canal-horeca .product-miniature:hover .thumbnail-container img,
html body.canal-horeca .product-miniature:hover .thumbnail-top img,
html body.canal-horeca .product-miniature .thumbnail-container:hover img {
  transform: scale(1.02) !important;
  filter: none !important;
  opacity: 1 !important;
}

/* 7. Hover sutil sobre la card entera: solo sombra suave + lift minimo */
html body.canal-horeca .product-miniature,
html body.canal-horeca .products .product-miniature,
html body.canal-horeca #products .product-miniature {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  border: 1px solid #ecdfbf !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

html body.canal-horeca .product-miniature:hover,
html body.canal-horeca .products .product-miniature:hover,
html body.canal-horeca #products .product-miniature:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(192, 90, 16, 0.10) !important;
  border-color: #c05a10 !important;
}

/* 8. Quitar cualquier linea/borde horizontal injectado por theme en hover */
html body.canal-horeca .product-miniature .product-description::before,
html body.canal-horeca .product-miniature .product-description::after,
html body.canal-horeca .product-miniature .product-title::before,
html body.canal-horeca .product-miniature .product-title::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
}

/* 9. Asegurar que .product-flags (badges tipo Nuevo/Promo) no flota encima en hover de forma intrusiva */
html body.canal-horeca .product-miniature .product-flags {
  pointer-events: none !important;
}
html body.canal-horeca .product-miniature .product-flags li.product-flag {
  background: #c05a10 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
}

/* 10. Mismo tratamiento dentro de #checkout (mini-resumen) por si renderiza miniatures */
html body#checkout.canal-horeca .product-miniature .thumbnail-container::after,
html body#checkout.canal-horeca .product-miniature .highlighted-informations,
html body#checkout.canal-horeca .product-miniature .quick-view {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}


/* === v163 === */
/* ============================================
   v163 - Fix login duplicado en header de producto
   Classic theme registra user-info (ps_customersignin)
   en displayNav1 (top-bar) Y displayNav2 (header-nav).
   En product.tpl se renderizan ambos -> 2x boton
   'Iniciar Sesion' cuando no hay sesion.
   Solucion: ocultar la version dentro de
   #header .header-nav y mantener solo la del top-bar.
   ============================================ */

/* 1) Ocultar el user-info duplicado dentro de header-nav (displayNav2)
      en TODAS las paginas (product, category, cart, etc) */
html body #header .header-nav #_desktop_user_info,
html body #header .header-nav .user-info,
html body #header .header-nav .header-nav__user-info,
html body #header .header-nav .header__user-info {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* 2) Si por estructura del theme aparecen DOS nodos #_desktop_user_info
      directamente como hermanos (id duplicado), ocultar el segundo */
html body #header #_desktop_user_info ~ #_desktop_user_info {
    display: none !important;
}

/* 3) Fallback por si el theme usa id _mobile_user_info renderizado en desktop */
html body #header .header-nav #_mobile_user_info {
    display: none !important;
}

/* 4) Asegurar que el user-info del top-bar (displayNav1) si se ve
      en pantallas desktop (>= 768px) */
@media (min-width: 768px) {
    html body #header .top-bar #_desktop_user_info,
    html body #header .header-top #_desktop_user_info,
    html body #header > .header-top #_desktop_user_info,
    html body #header .header-top .user-info {
        display: block !important;
        visibility: visible !important;
        width: auto !important;
        height: auto !important;
        position: static !important;
        left: auto !important;
    }
}

/* 5) En carrito/checkout Horeca el header ya estaba oculto entero,
      mantenemos esa regla intacta (no afecta a la anterior). */

/* 6) Si product.tpl tiene una segunda barra con .user-info en .product-header,
      tambien ocultarla */
html body #product .header-nav .user-info,
html body.product-id .header-nav .user-info {
    display: none !important;
}


/* === v163-fix: ocultar el segundo Iniciar sesion en .quemp-cart-wrapper > #_desktop_user_info === */
html body .quemp-header-right .quemp-cart-wrapper #_desktop_user_info,
html body .quemp-header-right .quemp-cart-wrapper .user-info {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* === v163-fix2: 2 IDs (#header + #_desktop_user_info) para vencer custom.css === */
html body #header .quemp-cart-wrapper #_desktop_user_info,
html body #header .quemp-header-right .quemp-cart-wrapper #_desktop_user_info {
  display: none !important;
  visibility: hidden !important;
}

/* === v171: Flecha back minimalista en cualquier visitante (cart/checkout) === */
html body#cart .container::before,
html body#checkout .container::before {
  content: "\2190" !important;
  position: fixed !important;
  top: 18px !important;
  left: 24px !important;
  z-index: 100 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #1a1a1a !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
}

/* === v171-fix2: specificity con .page-cart/.page-order para vencer custom.css :not() === */
html body#cart.page-cart .container::before,
html body#checkout.page-order .container::before,
html body#checkout .container::before,
html body#cart .container::before {
  content: "\2190" !important;
  position: fixed !important;
  top: 18px !important;
  left: 24px !important;
  z-index: 100 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #1a1a1a !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  text-transform: none !important;
}

/* === v172: Foto catalogo 100% del cuadrado, nombre+precio FUERA debajo === */
/* 1. Container card visible completo + descripcion fuera del overlay */
html body#category .product-miniature,
html body.page-category .product-miniature,
html body#category .js-product,
html body.page-category .js-product {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
}

/* 2. Thumbnail container = 100% width, aspect 1:1, foto entera visible */
html body#category .product-miniature .thumbnail-container,
html body.page-category .product-miniature .thumbnail-container {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #faf6ec !important;
  border-radius: 8px 8px 0 0 !important;
  display: block !important;
}

/* 3. Imagen ocupa 100% del cuadrado sin ningun crop dark */
html body#category .product-miniature .thumbnail-container img,
html body.page-category .product-miniature .thumbnail-container img,
html body#category .product-miniature img,
html body.page-category .product-miniature img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  filter: none !important;
  opacity: 1 !important;
}

/* 4. QUITAR el gradient negro del .product-description */
html body#category .product-miniature .product-description,
html body.page-category .product-miniature .product-description,
html body#category:not(.canal-group-49) .js-product .product-description,
html body#category .js-product .product-description {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  background: #ffffff !important;
  background-image: none !important;
  background-color: #ffffff !important;
  padding: 12px 14px !important;
  color: #1a1a1a !important;
  text-align: center !important;
  z-index: auto !important;
  display: block !important;
  width: 100% !important;
  min-height: auto !important;
  border-top: 1px solid #efe7d2 !important;
}

/* 5. Title del producto en negro legible (no blanco overlay) */
html body#category .product-miniature .product-title,
html body#category .product-miniature .product-title a,
html body.page-category .product-miniature .product-title,
html body.page-category .product-miniature .product-title a,
html body#category .product-miniature h2.h3.product-title,
html body#category .product-miniature h2.h3.product-title a {
  color: #1a1a1a !important;
  text-shadow: none !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

/* 6. Precio sin pildora flotante - inline debajo del nombre */
html body#category .product-miniature .product-price-and-shipping,
html body#category .product-miniature .price,
html body.page-category .product-miniature .product-price-and-shipping,
html body.page-category .product-miniature .price {
  position: static !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #c05a10 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  top: auto !important;
  right: auto !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
  text-align: center !important;
  box-shadow: none !important;
}

html body#category .product-miniature .product-price-and-shipping .price,
html body.page-category .product-miniature .product-price-and-shipping .price {
  color: #c05a10 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* 7. Quitar pseudo-elements con emoji empanada placeholder */
html body#category .product-miniature .thumbnail-container::before,
html body.page-category .product-miniature .thumbnail-container::before {
  content: none !important;
  display: none !important;
}

/* 8. Misma logica para Empanada Club (catalogo otro canal) */
html body.canal-group-49 .product-miniature .product-description {
  position: static !important;
  background: #ffffff !important;
  background-image: none !important;
}

/* === v172-fix2: thumbnail-container flex column, foto top + description debajo === */
html body#category .product-miniature .thumbnail-container,
html body.page-category .product-miniature .thumbnail-container {
  display: flex !important;
  flex-direction: column !important;
  aspect-ratio: auto !important;
  height: auto !important;
  width: 100% !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: visible !important;
  position: relative !important;
}

/* .thumbnail-top = cuadrado 1:1 con foto */
html body#category .product-miniature .thumbnail-container .thumbnail-top,
html body.page-category .product-miniature .thumbnail-container .thumbnail-top {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 auto !important;
  position: relative !important;
  overflow: hidden !important;
  background: #faf6ec !important;
  border-radius: 8px 8px 0 0 !important;
  order: 1 !important;
}

html body#category .product-miniature .thumbnail-top img,
html body.page-category .product-miniature .thumbnail-top img,
html body#category .product-miniature .thumbnail-top a img,
html body.page-category .product-miniature .thumbnail-top a img,
html body#category .product-miniature .thumbnail-top a,
html body.page-category .product-miniature .thumbnail-top a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* product-description: DEBAJO en static */
html body#category .product-miniature .thumbnail-container > .product-description,
html body.page-category .product-miniature .thumbnail-container > .product-description {
  position: static !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  background: #ffffff !important;
  background-image: none !important;
  padding: 14px 14px 18px !important;
  color: #1a1a1a !important;
  text-align: center !important;
  order: 2 !important;
  border-radius: 0 0 8px 8px !important;
}

/* product-miniature card: altura auto con overflow visible */
html body#category .product-miniature,
html body.page-category .product-miniature {
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  margin-bottom: 18px !important;
}

/* wishlist button arriba derecha en top */
html body#category .product-miniature .wishlist-button-add,
html body.page-category .product-miniature .wishlist-button-add {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 5 !important;
}

/* precio chip flotante en esquina inferior derecha del thumbnail-top */
html body#category .product-miniature .thumbnail-top .product-price-and-shipping,
html body.page-category .product-miniature .thumbnail-top .product-price-and-shipping {
  position: absolute !important;
  bottom: 12px !important;
  right: 12px !important;
  z-index: 4 !important;
}

/* === v174: Quitar Vista Rapida hover/focus catalogo (cualquier canal) === */
html body#category .product-miniature .highlighted-informations,
html body#category .product-miniature .quick-view,
html body.page-category .product-miniature .highlighted-informations,
html body.page-category .product-miniature .quick-view,
html body#category .product-miniature:hover .highlighted-informations,
html body#category .product-miniature:focus .highlighted-informations,
html body#category .thumbnail-container:hover .highlighted-informations,
html body#category .thumbnail-container:focus .highlighted-informations,
html body#category .product-miniature:hover .quick-view,
html body#category .product-miniature:focus .quick-view,
html body#category .thumbnail-container:hover .quick-view,
html body#category .thumbnail-container:focus .quick-view,
html body.page-category .product-miniature:hover .highlighted-informations,
html body.page-category .product-miniature:focus .highlighted-informations,
html body.page-category .product-miniature:hover .quick-view,
html body.page-category .product-miniature:focus .quick-view,
html body.page-category .thumbnail-container:hover .highlighted-informations,
html body.page-category .thumbnail-container:focus .highlighted-informations,
html body.page-category .thumbnail-container:hover .quick-view,
html body.page-category .thumbnail-container:focus .quick-view,
html body .product-miniature .highlighted-informations,
html body .product-miniature .quick-view,
html body .product-miniature a.quick-view,
html body .product-miniature .material-icons.search,
html body .product-miniature i.material-icons:not(.shopping-cart):not(.add_shopping_cart):not(.favorite):not(.favorite_border) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  position: absolute !important;
  bottom: -1000px !important;
}

/* Solo zoom sutil de la imagen en hover */
html body#category .product-miniature .thumbnail-top img,
html body.page-category .product-miniature .thumbnail-top img,
html body#category .product-miniature img,
html body.page-category .product-miniature img {
  transition: transform 0.3s ease !important;
}

html body#category .product-miniature:hover .thumbnail-top img,
html body.page-category .product-miniature:hover .thumbnail-top img,
html body#category .product-miniature:hover img,
html body.page-category .product-miniature:hover img {
  transform: scale(1.05) !important;
}

/* === v174-fix: restaurar heart icon (favorite_border) === */
html body .product-miniature .wishlist-button-add i.material-icons,
html body .product-miniature .wishlist-button-add i,
html body .product-miniature .wishlist-button-add .material-icons {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  pointer-events: auto !important;
  position: static !important;
  bottom: auto !important;
}

/* === v174-fix2: heart icon restored con specificity mayor === */
html body#category .product-miniature button.wishlist-button-add i.material-icons,
html body.page-category .product-miniature button.wishlist-button-add i.material-icons,
html body#category .product-miniature .wishlist-button-add .material-icons,
html body.page-category .product-miniature .wishlist-button-add .material-icons,
html body .product-miniature button.wishlist-button-add i,
html body .product-miniature button.wishlist-button-add .material-icons.material-icons {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  pointer-events: auto !important;
  position: static !important;
  bottom: auto !important;
  font-size: 18px !important;
  color: #1a1a1a !important;
}

/* === v177: Restaurar _desktop_user_info nativo (nombre+logout o Iniciar sesión) === */
/* Ocultar mi custom .quemp-login-link en TODAS partes */
html body .quemp-login-link {
  display: none !important;
  visibility: hidden !important;
}

/* Mostrar _desktop_user_info nativo dentro de quemp-header-right */
html body .quemp-header-right #_desktop_user_info,
html body .quemp-header-right .quemp-cart-wrapper #_desktop_user_info,
html body #header .quemp-header-right #_desktop_user_info,
html body #header .quemp-cart-wrapper #_desktop_user_info,
html body .quemp-cart-wrapper #_desktop_user_info {
  display: inline-flex !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  left: auto !important;
  align-items: center !important;
  margin: 0 16px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* User-info layout: nombre/cerrar sesión en línea con carrito */
html body .quemp-header-right .user-info,
html body .quemp-cart-wrapper .user-info,
html body #_desktop_user_info .user-info {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Estilo del nombre/login link */
html body .quemp-header-right #_desktop_user_info a,
html body .quemp-cart-wrapper #_desktop_user_info a {
  color: #c05a10 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

html body .quemp-header-right #_desktop_user_info a.account {
  font-weight: 700 !important;
}

html body .quemp-header-right #_desktop_user_info a.logout,
html body .quemp-cart-wrapper #_desktop_user_info a.logout {
  color: #888 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

html body .quemp-header-right #_desktop_user_info a:hover {
  color: #1a1a1a !important;
}

/* Cuando es customer-guest, Iniciar sesión en terracota */
html body.customer-guest .quemp-header-right #_desktop_user_info a {
  color: #c05a10 !important;
}

/* === v177-fix2: specificity más alta para mostrar _desktop_user_info nativo === */
html body #header .quemp-header-right #_desktop_user_info,
html body #header .quemp-cart-wrapper #_desktop_user_info,
html body #header .quemp-header-right .quemp-cart-wrapper #_desktop_user_info,
html body#category #header .quemp-cart-wrapper #_desktop_user_info,
html body#index #header .quemp-cart-wrapper #_desktop_user_info,
html body#product #header .quemp-cart-wrapper #_desktop_user_info {
  display: inline-flex !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  left: auto !important;
  align-items: center !important;
  margin: 0 16px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
}

html body #header .user-info {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  visibility: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* === v178: Catálogo body#category - mini-bar con flecha + login + carrito === */
/* Flecha back arriba izq */
html body#category .container::before,
html body.page-category .container::before {
  content: "\2190" !important;
  position: fixed !important;
  top: 18px !important;
  left: 24px !important;
  z-index: 100 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #1a1a1a !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
}

/* Mini-bar top-right inyectado por JS */
html body#category #q-catalog-topbar,
html body.page-category #q-catalog-topbar {
  position: fixed !important;
  top: 16px !important;
  right: 24px !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  background: transparent !important;
}

html body#category #q-catalog-topbar .q-user-info,
html body.page-category #q-catalog-topbar .q-user-info {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
  color: #1a1a1a !important;
}

html body#category #q-catalog-topbar .q-user-info a,
html body.page-category #q-catalog-topbar .q-user-info a {
  color: #c05a10 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html body#category #q-catalog-topbar .q-user-info a.q-logout,
html body.page-category #q-catalog-topbar .q-user-info a.q-logout {
  color: #888 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

html body#category #q-catalog-topbar a.q-cart-pill,
html body.page-category #q-catalog-topbar a.q-cart-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #c05a10 !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html body#category #q-catalog-topbar a.q-cart-pill:hover {
  background: #a64c0e !important;
}

/* === v179: Header catálogo = header home (cream bar, mismo look) === */
/* 1. Restaurar header-top nativo (con nav menu + logo + user info) en catálogo */
html body#category header#header,
html body.page-category header#header {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  background: #f5ead4 !important;
}

html body#category header#header .header-top,
html body.page-category header#header .header-top {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 88px !important;
  background: #f5ead4 !important;
  padding: 8px 0 !important;
  border: 0 !important;
}

/* 2. OCULTAR el banner blanco gigante CATÁLOGO MAYORISTA (quemp-mini-header) en #category */
html body#category .quemp-mini-header,
html body.page-category .quemp-mini-header,
html body#category .quemp-cat-banner,
html body#category .q-category-hero,
html body#category .category-header,
html body#category .category-banner {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 3. OCULTAR mi inyección #q-catalog-topbar (redundante - el header nativo ya tiene user-info + cart) */
html body#category #q-catalog-topbar,
html body.page-category #q-catalog-topbar {
  display: none !important;
}

/* 4. OCULTAR la flecha back ::before del .container en #category (no funciona, redundante con logo clickeable) */
html body#category .container::before,
html body.page-category .container::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}

/* 5. Title del h1 (CATÁLOGO MAYORISTA) más pequeño si aún aparece en el body */
html body#category #js-product-list-header h1,
html body#category .block-category h1,
html body#category .category-cover h1,
html body#category h1.h1 {
  font-size: 24px !important;
  line-height: 1.2 !important;
  margin: 8px 0 4px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

html body#category #js-product-list-header .text-uppercase,
html body#category .category-description {
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  color: #c05a10 !important;
  margin-bottom: 16px !important;
}

/* 6. Asegurar alineación vertical center de items del header */
html body#category header#header .header-top .container,
html body#category header#header .header-top > .row,
html body.page-category header#header .header-top .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  min-height: 88px !important;
}

/* 7. Wrapper section main no tener padding top extra (header ya ocupa espacio) */
html body#category section#wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* === v179-fix2: usar mismo pattern :not(.canal-group-49) + más elementos para vencer custom.css === */
html body#category:not(.canal-group-49) #header,
html body.page-category:not(.canal-group-49) #header {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 88px !important;
  background: #f5ead4 !important;
}

html body#category:not(.canal-group-49) #header .header-top,
html body.page-category:not(.canal-group-49) #header .header-top {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 88px !important;
  background: #f5ead4 !important;
  padding: 8px 0 !important;
  border: 0 !important;
}

/* Ensure all children del header-top visible */
html body#category:not(.canal-group-49) #header .header-top *,
html body.page-category:not(.canal-group-49) #header .header-top * {
  visibility: visible !important;
}

html body#category:not(.canal-group-49) #header .header-top .container,
html body.page-category:not(.canal-group-49) #header .header-top .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

/* === v179-fix3: limpiar mi #q-catalog-topbar y flecha::before (redundantes con header-top restaurado) === */
html body#category:not(.canal-group-49) #q-catalog-topbar,
html body.page-category:not(.canal-group-49) #q-catalog-topbar {
  display: none !important;
  visibility: hidden !important;
}

html body#category:not(.canal-group-49) .container::before,
html body.page-category:not(.canal-group-49) .container::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}

/* === v180: Header catalogo - logo visible + bg cream completo === */
/* 1. Forzar el .container dentro del header-top a bg cream (estaba blanco) */
html body#category:not(.canal-group-49) #header .header-top .container,
html body#category:not(.canal-group-49) #header .header-top > .container,
html body#category:not(.canal-group-49) #header > .header-top > .container,
html body.page-category:not(.canal-group-49) #header .header-top .container {
  background: #f5ead4 !important;
  background-color: #f5ead4 !important;
}

html body#category:not(.canal-group-49) #header .header-top *,
html body.page-category:not(.canal-group-49) #header .header-top * {
  background-color: transparent;
}

/* 2. Mostrar el logo central (.quemp-header-center / #_desktop_logo) */
html body#category:not(.canal-group-49) #header .header-top .quemp-header-center,
html body#category:not(.canal-group-49) #header .header-top #_desktop_logo,
html body#category:not(.canal-group-49) #header .header-top .quemp-header-center#_desktop_logo,
html body.page-category:not(.canal-group-49) #header .header-top .quemp-header-center,
html body.page-category:not(.canal-group-49) #header .header-top #_desktop_logo {
  display: flex !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}

html body#category:not(.canal-group-49) #header .header-top .quemp-header-center a,
html body#category:not(.canal-group-49) #header .header-top #_desktop_logo a,
html body.page-category:not(.canal-group-49) #header .header-top #_desktop_logo a {
  display: block !important;
  line-height: 0 !important;
}

html body#category:not(.canal-group-49) #header .header-top .quemp-header-center img,
html body#category:not(.canal-group-49) #header .header-top #_desktop_logo img,
html body#category:not(.canal-group-49) #header .header-top img.logo,
html body.page-category:not(.canal-group-49) #header .header-top img.logo,
html body.page-category:not(.canal-group-49) #header .header-top #_desktop_logo img {
  display: block !important;
  visibility: visible !important;
  width: auto !important;
  height: 70px !important;
  max-height: 80px !important;
  max-width: 200px !important;
  margin: 0 auto !important;
  opacity: 1 !important;
}

/* 3. Flex layout 3 cols del header-top container */
html body#category:not(.canal-group-49) #header .header-top .container,
html body.page-category:not(.canal-group-49) #header .header-top .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  padding: 8px 24px !important;
  min-height: 88px !important;
}

/* 4. Quitar background blanco residual en cualquier ancestor visible cerca del header */
html body#category:not(.canal-group-49) #header,
html body#category:not(.canal-group-49) #header > div,
html body.page-category:not(.canal-group-49) #header,
html body.page-category:not(.canal-group-49) #header > div {
  background: #f5ead4 !important;
  background-color: #f5ead4 !important;
}

/* 5. Cart pill estilo terracota como en home */
html body#category:not(.canal-group-49) #header .header-top .blockcart,
html body#category:not(.canal-group-49) #header .header-top #_desktop_cart,
html body.page-category:not(.canal-group-49) #header .header-top .blockcart {
  background: #c05a10 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

html body#category:not(.canal-group-49) #header .header-top .blockcart a,
html body#category:not(.canal-group-49) #header .header-top .blockcart,
html body#category:not(.canal-group-49) #header .header-top .blockcart span,
html body.page-category:not(.canal-group-49) #header .header-top .blockcart a {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* === v181: Ocultar 'Cerrar sesion' del header en TODAS las páginas === */
html body #header a.logout,
html body #header .user-info a.logout,
html body #header .user-info a[href*='mylogout'],
html body #header a[href*='mylogout'],
html body .header-top a.logout,
html body .header-top a[href*='mylogout'],
html body .quemp-header-right a.logout,
html body .quemp-header-right a[href*='mylogout'] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}

/* === v162: Filtros catálogo (Todos / Empanadas / Postres / Merch) === */
html body#category #q-cat-filters,
html body.page-category #q-cat-filters {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 16px 0 !important;
  flex-wrap: wrap !important;
}

html body#category #q-cat-filters .q-filter-label,
html body.page-category #q-cat-filters .q-filter-label {
  font-size: 13px !important;
  color: #888 !important;
  margin-right: 4px !important;
  font-style: italic !important;
}

html body#category #q-cat-filters button.q-filter-btn,
html body.page-category #q-cat-filters button.q-filter-btn {
  background: transparent !important;
  color: #1a1a1a !important;
  border: 1.5px solid #ecdfbf !important;
  border-radius: 999px !important;
  padding: 6px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
  font-family: inherit !important;
}

html body#category #q-cat-filters button.q-filter-btn:hover,
html body.page-category #q-cat-filters button.q-filter-btn:hover {
  border-color: #c05a10 !important;
  color: #c05a10 !important;
}

html body#category #q-cat-filters button.q-filter-btn.active,
html body.page-category #q-cat-filters button.q-filter-btn.active {
  background: #c05a10 !important;
  color: #ffffff !important;
  border-color: #c05a10 !important;
}

/* Hide cards filtered out */
html body#category .product-miniature.q-hidden,
html body.page-category .product-miniature.q-hidden {
  display: none !important;
}

/* === v183: Carrito pill compacto en header === */
html body #header .header-top .blockcart,
html body #header .header-top #_desktop_cart,
html body #header .header-top #_desktop_cart .blockcart,
html body .quemp-header-right .blockcart,
html body .quemp-cart-wrapper .blockcart {
  padding: 6px 14px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
  background: #c05a10 !important;
  color: #ffffff !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

html body #header .header-top .blockcart a,
html body #header .header-top .blockcart span,
html body #header .header-top .blockcart .header,
html body .quemp-cart-wrapper .blockcart a {
  font-size: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

/* Icono shopping_cart más pequeño */
html body #header .header-top .blockcart .material-icons,
html body #header .header-top .blockcart i,
html body .quemp-cart-wrapper .blockcart i {
  font-size: 15px !important;
  margin: 0 !important;
}

/* Contador del carrito */
html body #header .header-top .blockcart .cart-products-count,
html body .quemp-cart-wrapper .blockcart .cart-products-count {
  font-size: 12px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
}

/* === v183-fix2: carrito pill REALMENTE pequeño (specificity igual a v180) === */
html body#category:not(.canal-group-49) #header .header-top .blockcart,
html body#category:not(.canal-group-49) #header .header-top #_desktop_cart,
html body#category:not(.canal-group-49) #header .header-top #_desktop_cart .blockcart,
html body#category:not(.canal-group-49) #header .header-top #_desktop_cart .cart-preview,
html body#index:not(.canal-group-49) #header .header-top .blockcart,
html body#index:not(.canal-group-49) #header .header-top #_desktop_cart,
html body#index:not(.canal-group-49) #header .header-top #_desktop_cart .blockcart,
html body#product:not(.canal-group-49) #header .header-top .blockcart,
html body#product:not(.canal-group-49) #header .header-top #_desktop_cart .blockcart,
html body:not(#index):not(.canal-group-49) #header .header-top .blockcart,
html body:not(#index):not(.canal-group-49) #header .header-top #_desktop_cart {
  padding: 6px 12px !important;
  font-size: 11px !important;
  border-radius: 999px !important;
  background: #c05a10 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  height: auto !important;
  width: auto !important;
  min-height: 0 !important;
  max-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

html body#category:not(.canal-group-49) #header .header-top .blockcart .header,
html body#category:not(.canal-group-49) #header .header-top .blockcart a,
html body#category:not(.canal-group-49) #header .header-top #_desktop_cart .blockcart .header,
html body:not(#index):not(.canal-group-49) #header .header-top .blockcart .header,
html body:not(#index):not(.canal-group-49) #header .header-top .blockcart a {
  font-size: 11px !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  text-decoration: none !important;
}

html body#category:not(.canal-group-49) #header .header-top .blockcart .material-icons,
html body#category:not(.canal-group-49) #header .header-top .blockcart i,
html body:not(#index):not(.canal-group-49) #header .header-top .blockcart .material-icons,
html body:not(#index):not(.canal-group-49) #header .header-top .blockcart i {
  font-size: 14px !important;
  margin: 0 !important;
  line-height: 1 !important;
}

html body#category:not(.canal-group-49) #header .header-top .blockcart .cart-products-count,
html body:not(#index):not(.canal-group-49) #header .header-top .blockcart .cart-products-count {
  font-size: 11px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  margin: 0 !important;
}

/* === v184: Filtros + Ordenar por en LA MISMA FILA con misma estética === */
html body#category .row.sort-by-row,
html body.page-category .row.sort-by-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  justify-content: space-between !important;
  width: 100% !important;
}

/* Filtros block (#q-cat-filters) en la fila */
html body#category .sort-by-row #q-cat-filters,
html body.page-category .sort-by-row #q-cat-filters {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  flex: 0 1 auto !important;
  flex-wrap: nowrap !important;
  order: 1 !important;
}

/* Label 'Ordenar por:' como label estilo italic igual que 'Filtrar:' */
html body#category .sort-by-row .sort-by,
html body.page-category .sort-by-row .sort-by {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 0 0 16px !important;
  font-size: 13px !important;
  color: #888 !important;
  font-style: italic !important;
  font-weight: 400 !important;
  order: 5 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

/* Dropdown 'Relevancia' estilo igual a botón pill */
html body#category .sort-by-row .products-sort-order,
html body.page-category .sort-by-row .products-sort-order {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  order: 6 !important;
  position: relative !important;
}

/* Botón Relevancia con estilo igual a los filter buttons */
html body#category .sort-by-row .products-sort-order button.select-title,
html body.page-category .sort-by-row .products-sort-order button.select-title {
  background: transparent !important;
  color: #1a1a1a !important;
  border: 1.5px solid #ecdfbf !important;
  border-radius: 999px !important;
  padding: 6px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
  font-family: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 130px !important;
  height: auto !important;
  box-shadow: none !important;
  justify-content: space-between !important;
}

html body#category .sort-by-row .products-sort-order button.select-title:hover,
html body.page-category .sort-by-row .products-sort-order button.select-title:hover {
  border-color: #c05a10 !important;
  color: #c05a10 !important;
}

html body#category .sort-by-row .products-sort-order .material-icons,
html body.page-category .sort-by-row .products-sort-order .material-icons {
  font-size: 14px !important;
  margin-left: 4px !important;
}

/* === v185b: object-position center bottom para enfocar la empanada y no el fondo === */
html body#category .product-miniature img,
html body#category .product-miniature .thumbnail-container img,
html body.page-category .product-miniature img,
html body.page-category .product-miniature .thumbnail-container img {
  object-position: center bottom !important;
}

/* === v186: Padding lateral en filtros catálogo === */
html body#category .row.sort-by-row,
html body.page-category .row.sort-by-row {
  padding: 0 32px !important;
  box-sizing: border-box !important;
}

/* === v186-fix: padding lateral balanceado, dropdown no se corta === */
html body#category .row.sort-by-row,
html body.page-category .row.sort-by-row {
  padding: 0 24px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* Permitir wrap si no cabe (móvil/narrow) */
@media (max-width: 1100px) {
  html body#category .row.sort-by-row,
  html body.page-category .row.sort-by-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}

/* Min-width del dropdown reducido para que quepa */
html body#category .sort-by-row .products-sort-order button.select-title,
html body.page-category .sort-by-row .products-sort-order button.select-title {
  min-width: 110px !important;
  margin-right: 8px !important;
}

/* === v186-fix2: forzar dropdown dentro del container con más espacio === */
html body#category .row.sort-by-row,
html body.page-category .row.sort-by-row {
  padding: 0 40px 0 24px !important;
  gap: 8px !important;
}

html body#category .sort-by-row #q-cat-filters,
html body.page-category .sort-by-row #q-cat-filters {
  gap: 4px !important;
}

html body#category #q-cat-filters .q-filter-btn,
html body.page-category #q-cat-filters .q-filter-btn {
  padding: 5px 12px !important;
  font-size: 11px !important;
}

html body#category .sort-by-row .products-sort-order button.select-title,
html body.page-category .sort-by-row .products-sort-order button.select-title {
  padding: 5px 12px !important;
  font-size: 11px !important;
  min-width: 100px !important;
  margin-right: 0 !important;
}

html body#category .sort-by-row .sort-by,
html body.page-category .sort-by-row .sort-by {
  margin-left: 8px !important;
  font-size: 12px !important;
}

/* ==================== NAVYX_V189_START ==================== */
/* Card redesign V189 — Lorenzo 2026-06-30 */
/* Scope: Horeca catalog cards (NOT canal-group-49 Club) */

/* 1. Hide native description block (was the white strip) */
html body#category:not(.canal-group-49) .product-miniature .product-description,
html body.page-category:not(.canal-group-49) .product-miniature .product-description,
html body#category:not(.canal-group-49) .product-miniature .product-description-short,
html body.page-category:not(.canal-group-49) .product-miniature .product-description-short {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Card wrapper: transparent, no padding/border */
html body#category:not(.canal-group-49) .product-miniature,
html body.page-category:not(.canal-group-49) .product-miniature {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 0 24px 0 !important;
  position: relative !important;
  overflow: visible !important;
  min-height: 0 !important;
  height: auto !important;
}
html body#category:not(.canal-group-49) .product-miniature .product-miniature__inner,
html body#category:not(.canal-group-49) .product-miniature article {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 3. Thumbnail container: aspect 1/1, overflow hidden */
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container,
html body.page-category:not(.canal-group-49) .product-miniature .thumbnail-container {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #efe8da !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.10) !important;
  display: block !important;
}

/* 4. Image fills square, object-fit cover */
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container .product-thumbnail,
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container a.thumbnail,
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container > a {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container img,
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container a img,
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container .product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
}

/* 5. Title overlay: bottom inside square, gradient backdrop */
html body#category:not(.canal-group-49) .product-miniature .q-card-title,
html body.page-category:not(.canal-group-49) .product-miniature .q-card-title {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 38px 88px 12px 14px !important;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%) !important;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  pointer-events: none !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.4) !important;
  word-break: break-word !important;
}

/* 6. Quick-add button: top-left circle */
html body#category:not(.canal-group-49) .product-miniature .q-quickadd {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #c05a10 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.30) !important;
  transition: transform .15s ease, background .15s ease !important;
  font-family: 'Montserrat', sans-serif !important;
  padding: 0 !important;
  text-decoration: none !important;
  outline: 0 !important;
}
html body#category:not(.canal-group-49) .product-miniature .q-quickadd:hover {
  background: #8e2e26 !important;
  transform: scale(1.08) !important;
}
html body#category:not(.canal-group-49) .product-miniature .q-quickadd.q-added {
  background: #2f7a2f !important;
}
html body#category:not(.canal-group-49) .product-miniature .q-quickadd:disabled {
  opacity: .65 !important;
  cursor: wait !important;
}

/* 7. Hide remaining native overlays/buttons */
html body#category:not(.canal-group-49) .product-miniature .product-flags,
html body#category:not(.canal-group-49) .product-miniature .highlighted-informations,
html body#category:not(.canal-group-49) .product-miniature .quick-view,
html body#category:not(.canal-group-49) .product-miniature .variant-links,
html body#category:not(.canal-group-49) .product-miniature .product-availability,
html body#category:not(.canal-group-49) .product-miniature .comments_note,
html body#category:not(.canal-group-49) .product-miniature .regular-price,
html body#category:not(.canal-group-49) .product-miniature .discount-percentage,
html body#category:not(.canal-group-49) .product-miniature .discount-product,
html body#category:not(.canal-group-49) .product-miniature .product-reference {
  display: none !important;
}

/* 8. Price pill stays bottom-right (terracota) */
html body#category:not(.canal-group-49) .product-miniature .product-price-and-shipping,
html body#category:not(.canal-group-49) .product-miniature .product-price {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  top: auto !important;
  left: auto !important;
  z-index: 6 !important;
  background: #c05a10 !important;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.25) !important;
  display: inline-block !important;
  line-height: 1 !important;
}
html body#category:not(.canal-group-49) .product-miniature .product-price-and-shipping .price,
html body#category:not(.canal-group-49) .product-miniature .product-price .price {
  color: #fff !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  border: 0 !important;
}

/* 9. Cover edge case: any explicit max-height on product-list-grid */
html body#category:not(.canal-group-49) .product-miniature * {
  max-height: none !important;
}
html body#category:not(.canal-group-49) .product-miniature .thumbnail-container img {
  max-height: 100% !important;
  min-height: 100% !important;
}
/* ==================== NAVYX_V189_END ==================== */

/* === Boton atras REAL (clicable) — reemplaza el pseudo ::before decorativo === */
html body#cart .container:not(#nx)::before,
html body#checkout .container:not(#nx)::before,
html body#category .container:not(#nx)::before,
html body.page-cart .container:not(#nx)::before,
html body.page-order .container:not(#nx)::before,
html body.page-category .container:not(#nx)::before { content: none !important; }

a.q-back-real{
  position: fixed !important; top: 18px !important; left: 24px !important;
  z-index: 1001 !important; font-size: 28px !important; line-height: 1 !important;
  color: #3a2a1a !important; text-decoration: none !important;
  padding: 8px 12px !important; cursor: pointer !important;
  background: transparent !important; border: 0 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  transition: color .12s ease, transform .12s ease !important;
}
a.q-back-real:hover{ color: #C05A10 !important; transform: translateX(-3px) !important; }
a.q-back-real:focus-visible{ outline: 3px solid #f4d35e !important; outline-offset: 2px !important; border-radius: 4px !important; }
@media (max-width: 767px){ a.q-back-real{ top: 12px !important; left: 12px !important; font-size: 24px !important; } }