/* =====================================================
   FOOD MENU APP — style.css
   Mobile-first | Responsive | CSS Variables (tema)
   ===================================================== */

/* Fuente cargada dinámicamente desde index.php según configuración */

/* ── VARIABLES (sobreescritas desde PHP) ── */
:root {
  --primary:   #FF6B35;
  --secondary: #F7931E;
  --bg:        #FFF8F0;
  --white:     #FFFFFF;
  --text:      #2D2D2D;
  --text-light:#888888;
  --border:    #F0E6D3;
  --shadow:    0 4px 24px rgba(0,0,0,.09);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font, 'Poppins', sans-serif);
  font-size:   var(--font-size, 15px);
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  padding-bottom:110px;
}
img { max-width:100%; display:block; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
a { text-decoration:none; color:inherit; }
input, select, textarea { font-family:inherit; }

/* ── HEADER ── */
.site-header {
  background:var(--white);
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:200;
  box-shadow:var(--shadow-sm);
}
.header-brand {
  display:flex;
  align-items:center;
  gap:10px;
}
.header-logo {
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--border);
}
.header-logo-placeholder {
  width:42px; height:42px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:18px; font-weight:700;
}
.header-info h1 {
  font-size:16px; font-weight:700; color:var(--text); line-height:1.2;
}
.header-info small {
  font-size:11px; color:var(--text-light);
}
.header-cart-btn {
  position:relative;
  background:var(--primary);
  color:#fff;
  border-radius:50px;
  padding:9px 18px;
  display:flex; align-items:center; gap:6px;
  font-size:14px; font-weight:600;
  transition:transform .15s, background .15s;
}
.header-cart-btn:active { transform:scale(.95); }
.cart-badge {
  background:#fff;
  color:var(--primary);
  border-radius:50%;
  width:20px; height:20px;
  font-size:11px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  min-width:20px;
}
.cart-badge.hidden { display:none; }

/* ── BANNER BIENVENIDA ── */
.welcome-banner {
  background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);
  color:#fff;
  padding:22px 18px;
  margin-bottom:0;
}
.welcome-banner h2 { font-size:20px; font-weight:700; margin-bottom:4px; }
.welcome-banner p  { font-size:13px; opacity:.9; }

/* ── CATEGORÍAS NAV ── */
.categories-nav {
  background:var(--white);
  padding:0 12px;
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  position:sticky;
  top:70px;
  z-index:150;
  border-bottom:2px solid var(--border);
  -webkit-overflow-scrolling:touch;
}
.categories-nav::-webkit-scrollbar { display:none; }
.cat-tab {
  padding:12px 16px;
  font-size:13px; font-weight:500;
  color:var(--text-light);
  white-space:nowrap;
  border-bottom:3px solid transparent;
  transition:all .2s;
  cursor:pointer;
  background:none; border-radius:0;
}
.cat-tab.active, .cat-tab:hover {
  color:var(--primary);
  border-bottom-color:var(--primary);
}

/* ── SECCIÓN CATEGORÍA ── */
.category-section { padding:0 0 12px; }
.category-title {
  font-size:17px; font-weight:700;
  padding:18px 16px 10px;
  color:var(--text);
  display:flex; align-items:center; gap:8px;
}
.category-title::after {
  content:''; flex:1; height:1px; background:var(--border);
}

/* ── GRID DE PRODUCTOS ── */
.products-grid {
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
  padding:0 14px;
}

/* ── TARJETA DE PRODUCTO ── */
.product-card {
  background:var(--card-bg, var(--white));
  border-radius:var(--card-radius, var(--radius));
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  cursor:pointer;
  transition:transform .18s, box-shadow .18s;
  position:relative;
}
.product-card:active { transform:scale(.97); }
.product-card-img-wrap {
  position:relative;
  padding-top:70%;
  overflow:hidden;
  background:#f5f0ea;
}
.product-card-img {
  position:absolute;
  inset:0; width:100%; height:100%;
  object-fit:contain;
  transition:transform .3s;
}
.product-card:hover .product-card-img { transform:scale(1.04); }
.product-card-img-placeholder {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:40px;
}
.product-card-body { padding:10px 12px 12px; }
.product-card-name {
  font-size:var(--name-size, 13px); font-weight:600; line-height:1.3;
  margin-bottom:4px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.product-card-desc {
  font-size:11px; color:var(--text-light); line-height:1.4;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  margin-bottom:8px;
}
.product-card-footer {
  display:flex; align-items:center; justify-content:space-between;
}
.product-card-price {
  font-size:var(--price-size, 15px); font-weight:700; color:var(--price-color, var(--primary));
}
.product-card-add {
  width:30px; height:30px;
  background:var(--primary);
  color:#fff;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:18px; font-weight:300;
  transition:transform .15s;
}
.product-card:active .product-card-add { transform:scale(.85); }

/* ── Barra de búsqueda ── */
.search-bar-wrap { padding:10px 14px 0; }
.search-bar-inner {
  display:flex; align-items:center; gap:8px;
  background:#fff; border:1.5px solid var(--border);
  border-radius:50px; padding:8px 14px;
  box-shadow:var(--shadow-sm);
}
.search-bar-inner:focus-within { border-color:var(--primary); }
.search-icon { font-size:15px; flex-shrink:0; }
#menuSearchInput {
  flex:1; border:none; outline:none; font-size:14px;
  background:transparent; color:var(--text);
  font-family:inherit;
}
#searchClear {
  background:none; border:none; cursor:pointer;
  color:#aaa; font-size:16px; line-height:1;
  padding:0 2px;
}
#searchClear:hover { color:#333; }

/* Producto agotado */
.product-unavailable { opacity:.6; cursor:default !important; }
.product-unavailable:active { transform:none !important; }
.product-sold-out-badge {
  position:absolute; top:8px; left:8px; z-index:2;
  background:#dc3545; color:#fff; font-size:10px; font-weight:800;
  padding:2px 8px; border-radius:20px; letter-spacing:.5px;
}
.product-card { position:relative; }

/* Sin imagen — producto solo texto */
.product-card.no-image .product-card-img-wrap { display:none; }
.product-card.no-image { display:flex; gap:10px; padding:12px; align-items:center; }
.product-card.no-image .product-card-img-placeholder {
  position:static; width:48px; height:48px; font-size:26px;
  flex-shrink:0; border-radius:10px; background:#f5f0ea;
}
.product-card.no-image .product-card-body { padding:0; flex:1; min-width:0; }
.product-card.no-image .product-card-footer { margin-top:6px; }

/* Footer: precio no empuja al botón fuera */
.product-card-price { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.product-card-add   { flex-shrink:0; margin-left:6px; }

/* ── SIN PRODUCTOS ── */
.empty-menu {
  text-align:center; padding:60px 20px; color:var(--text-light);
}
.empty-menu .icon { font-size:60px; margin-bottom:12px; }

/* ══════════════════════════════════════════════
   MODAL PRODUCTO
══════════════════════════════════════════════ */
.modal-overlay {
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  z-index:500;
  opacity:0; visibility:hidden;
  transition:all .25s;
}
.modal-overlay.open { opacity:1; visibility:visible; }

.product-modal {
  position:fixed; bottom:0; left:0; right:0;
  background:var(--white);
  border-radius:24px 24px 0 0;
  max-height:92vh;
  overflow:hidden;
  z-index:501;
  transform:translateY(110%);
  visibility:hidden;
  transition:transform .3s cubic-bezier(.4,0,.2,1), visibility 0s linear .35s;
  scrollbar-width:none;
}
.product-modal::-webkit-scrollbar { display:none; }
.product-modal.open {
  transform:translateY(0);
  visibility:visible;
  overflow-y:auto;
  transition:transform .3s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}
.modal-topbar { display:none; }
.modal-close-x {
  position:absolute;
  top:12px; right:14px;
  z-index:10;
  width:34px; height:34px;
  background:#f0ece8; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:16px; cursor:pointer; border:none; color:#555;
  transition:background .15s; box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.modal-close-x:hover { background:#e0d9d3; }
#productModalContent { position:relative; }

#productModalContent { position:relative; }
.modal-drag-bar {
  width:40px; height:4px;
  background:var(--border);
  border-radius:2px;
  margin:12px auto 0;
}
.modal-img-wrap {
  width:100%; height:220px; overflow:hidden; background:#f5f0ea;
}
.modal-img { width:100%; height:100%; object-fit:contain; }
.modal-img-placeholder {
  width:100%; height:220px;
  display:flex; align-items:center; justify-content:center;
  font-size:72px; background:#faf5f0;
}
.modal-body { padding:18px 18px 24px; }
.modal-product-name { font-size:20px; font-weight:700; margin-bottom:6px; }
.modal-product-desc { font-size:13px; color:var(--text-light); line-height:1.6; margin-bottom:12px; }
.modal-product-price { font-size:22px; font-weight:700; color:var(--primary); margin-bottom:20px; }

/* Grupos de opciones */
.option-group { margin-bottom:20px; }
.option-group-title {
  font-size:14px; font-weight:700; margin-bottom:8px;
  display:flex; align-items:center; gap:6px;
}
.badge-required {
  font-size:10px; background:var(--primary); color:#fff;
  padding:2px 7px; border-radius:50px;
}
.option-group-items { display:flex; flex-wrap:wrap; gap:8px; }
.option-label {
  display:flex; align-items:center; gap:6px;
  background:#f9f5f0; border:1.5px solid var(--border);
  border-radius:50px; padding:7px 14px;
  font-size:13px; cursor:pointer;
  transition:all .18s;
}
.option-label input { display:none; }
.option-label.selected, .option-label:hover {
  background:var(--primary); color:#fff; border-color:var(--primary);
}
.option-extra-price { font-size:11px; opacity:.8; }

/* Contador de cantidad */
.qty-control {
  display:flex; align-items:center; gap:0;
  background:#f5f0ea; border-radius:50px;
  padding:4px; margin-bottom:20px;
  width:fit-content;
}
.qty-btn {
  width:36px; height:36px;
  background:var(--white); border-radius:50%;
  font-size:20px; font-weight:400; color:var(--primary);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm); transition:transform .15s;
}
.qty-btn:active { transform:scale(.88); }
.qty-value { font-size:16px; font-weight:700; min-width:36px; text-align:center; }

/* Botón agregar al carrito */
.btn-add-cart {
  width:100%;
  background:var(--primary);
  color:#fff;
  border-radius:var(--radius);
  padding:16px;
  font-size:16px; font-weight:700;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:transform .15s, background .15s;
}
.btn-add-cart:active { transform:scale(.97); background:var(--secondary); }

/* Notas del producto */
.notes-input {
  width:100%; padding:10px 14px;
  border:1.5px solid var(--border); border-radius:var(--radius-sm);
  font-size:13px; resize:vertical; min-height:60px;
  margin-bottom:16px;
  transition:border-color .2s;
}
.notes-input:focus { outline:none; border-color:var(--primary); }

/* ══════════════════════════════════════════════
   CARRITO LATERAL
══════════════════════════════════════════════ */
.cart-panel {
  position:fixed; top:0; right:0; bottom:0;
  width:100%; max-width:420px;
  background:var(--white);
  z-index:600;
  transform:translateX(100%);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
  display:flex; flex-direction:column;
  box-shadow:-4px 0 30px rgba(0,0,0,.12);
}
.cart-panel.open { transform:translateX(0); }

.cart-header {
  padding:18px 18px 14px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--border);
  background:var(--white); position:sticky; top:0; z-index:1;
}
.cart-header h2 { font-size:18px; font-weight:700; }
.cart-close {
  width:34px; height:34px;
  background:#f5f0ea; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:18px; color:var(--text-light);
}

.cart-items-list { flex:1; overflow-y:auto; padding:12px 18px; }
.cart-empty {
  text-align:center; padding:50px 20px; color:var(--text-light);
}
.cart-empty .icon { font-size:50px; margin-bottom:10px; }

.cart-item {
  display:flex; align-items:flex-start; gap:12px;
  padding:12px 0; border-bottom:1px solid var(--border);
}
.cart-item-img {
  width:56px; height:56px; border-radius:var(--radius-xs);
  object-fit:cover; flex-shrink:0; background:#f5f0ea;
}
.cart-item-info { flex:1; }
.cart-item-name { font-size:13px; font-weight:600; margin-bottom:2px; }
.cart-item-options { font-size:11px; color:var(--text-light); line-height:1.4; }
.cart-item-price { font-size:14px; font-weight:700; color:var(--primary); margin-top:4px; }
.cart-item-qty {
  display:flex; align-items:center; gap:6px; margin-top:6px;
}
.cart-qty-btn {
  width:24px; height:24px;
  background:#f5f0ea; border-radius:50%;
  font-size:14px; display:flex; align-items:center; justify-content:center;
  color:var(--primary); font-weight:700;
}
.cart-qty-value { font-size:13px; font-weight:600; min-width:18px; text-align:center; }
.cart-item-remove {
  color:#cc0000; font-size:18px; flex-shrink:0; padding:4px;
}

.cart-footer {
  padding:16px 18px;
  border-top:1px solid var(--border);
  background:var(--white);
}
.cart-summary { margin-bottom:14px; }
.cart-row {
  display:flex; justify-content:space-between;
  font-size:13px; margin-bottom:5px; color:var(--text-light);
}
.cart-row.total {
  font-size:17px; font-weight:700; color:var(--text);
  border-top:1px solid var(--border); padding-top:8px; margin-top:4px;
}
.btn-checkout {
  width:100%;
  background:var(--primary); color:#fff;
  border-radius:var(--radius); padding:16px;
  font-size:16px; font-weight:700;
  transition:transform .15s;
}
.btn-checkout:active { transform:scale(.97); }

/* ── OVERLAY CARRITO ── */
.cart-overlay {
  position:fixed; inset:0;
  background:rgba(0,0,0,.4);
  z-index:599;
  opacity:0; visibility:hidden;
  transition:all .25s;
}
.cart-overlay.open { opacity:1; visibility:visible; }

/* ══════════════════════════════════════════════
   TOAST / NOTIFICACIÓN
══════════════════════════════════════════════ */
.toast {
  position:fixed; bottom:100px; left:50%; transform:translateX(-50%) translateY(20px);
  background:#2D2D2D; color:#fff;
  padding:12px 22px; border-radius:50px;
  font-size:13px; font-weight:500;
  z-index:1000;
  opacity:0; pointer-events:none;
  transition:all .3s;
  white-space:nowrap;
}
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════ */
.checkout-header {
  background:var(--white);
  padding:14px 18px;
  display:flex; align-items:center; gap:12px;
  box-shadow:var(--shadow-sm); position:sticky; top:0; z-index:100;
}
.back-btn {
  width:36px; height:36px;
  background:#f5f0ea; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
}
.checkout-header h1 { font-size:17px; font-weight:700; }

.checkout-section {
  background:var(--white);
  border-radius:var(--radius);
  margin:14px;
  padding:18px;
  box-shadow:var(--shadow-sm);
}
.checkout-section h3 {
  font-size:15px; font-weight:700; margin-bottom:14px;
  color:var(--text); display:flex; align-items:center; gap:7px;
}
.form-group { margin-bottom:14px; }
.form-label { font-size:12px; font-weight:600; color:var(--text-light); margin-bottom:5px; display:block; }
.form-input {
  width:100%; padding:12px 14px;
  border:1.5px solid var(--border); border-radius:var(--radius-sm);
  font-size:14px; transition:border-color .2s;
}
.form-input:focus { outline:none; border-color:var(--primary); }
.form-input.error { border-color:#dc3545; }

/* Zonas */
.zone-card {
  border:1.5px solid var(--border);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  margin-bottom:8px;
  cursor:pointer;
  transition:all .18s;
  display:flex; justify-content:space-between; align-items:center;
}
.zone-card.selected, .zone-card:hover {
  border-color:var(--primary); background:#fff5f0;
}
.zone-card input { display:none; }
.zone-card-name { font-size:13px; font-weight:600; }
.zone-card-desc { font-size:11px; color:var(--text-light); }
.zone-card-price { font-size:15px; font-weight:700; color:var(--primary); }

/* Métodos de pago */
.payment-options { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.payment-card {
  border:1.5px solid var(--border); border-radius:var(--radius-sm);
  padding:14px 8px; text-align:center; cursor:pointer; transition:all .18s;
}
.payment-card.selected, .payment-card:hover {
  border-color:var(--primary); background:#fff5f0;
}
.payment-card input { display:none; }
.payment-card .icon { font-size:24px; margin-bottom:4px; }
.payment-card .label { font-size:11px; font-weight:600; }

/* Resumen del pedido */
.order-summary-item {
  display:flex; justify-content:space-between;
  padding:8px 0; border-bottom:1px solid var(--border);
  font-size:13px;
}
.order-summary-item:last-child { border:none; }
.order-summary-item .name { flex:1; padding-right:10px; }
.order-summary-item .price { font-weight:600; color:var(--primary); }

/* Botón WhatsApp */
.btn-whatsapp {
  width:100%;
  background:#25D366; color:#fff;
  border-radius:var(--radius);
  padding:18px;
  font-size:17px; font-weight:700;
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin-top:4px;
  transition:transform .15s, background .15s;
}
.btn-whatsapp:active { transform:scale(.97); background:#1da851; }
.btn-whatsapp-icon { font-size:22px; }

/* Info de pago */
.payment-info-box {
  background:#f9f5f0; border-radius:var(--radius-sm);
  padding:12px 14px; margin-top:10px;
  font-size:12px; line-height:1.7; color:var(--text-light);
  display:none;
}
.payment-info-box.show { display:block; }
.payment-info-box strong { color:var(--text); }

/* Error de lista negra */
.blacklist-error {
  background:#fee; border:1.5px solid #dc3545;
  border-radius:var(--radius-sm); padding:16px;
  margin:14px; text-align:center; color:#721c24;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  text-align:center; padding:20px;
  font-size:12px; color:var(--text-light);
  background:var(--white);
  border-top:1px solid var(--border);
  margin-top:20px;
}

/* ══════════════════════════════════════════════
   LOADING SPINNER
══════════════════════════════════════════════ */
.spinner {
  width:40px; height:40px;
  border:3px solid var(--border);
  border-top-color:var(--primary);
  border-radius:50%;
  animation:spin .7s linear infinite;
  margin:40px auto;
}
@keyframes spin { to { transform:rotate(360deg); } }

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET / DESKTOP
══════════════════════════════════════════════ */
@media (min-width:540px) {
  .products-grid { grid-template-columns:repeat(3,1fr); }
}
@media (min-width:768px) {
  .products-grid { grid-template-columns:repeat(3,1fr); gap:18px; padding:0 20px; }
  .product-modal { max-width:480px; left:50%; right:auto; transform:translateX(-50%) translateY(110%); border-radius:var(--radius); bottom:40px; }
  .product-modal.open { transform:translateX(-50%) translateY(0); }
  .checkout-section { max-width:600px; margin-left:auto; margin-right:auto; }
}
@media (min-width:1024px) {
  .products-grid { grid-template-columns:repeat(4,1fr); }
  body { max-width:1200px; margin:0 auto; }
  .site-header { border-radius:0 0 var(--radius) var(--radius); }
}

/* ══════════════════════════════════════════════
   MENÚ PÚBLICO — ESTILOS CONFIGURABLES
══════════════════════════════════════════════ */

/* ── Barra promo ── */
.promo-bar {
  width:100%; padding:8px 16px;
  text-align:center; font-size:13px; font-weight:600;
  letter-spacing:.01em;
}

/* ── Header variantes ── */
.site-header.header-color,
.site-header.header-gradient,
.site-header.header-dark {
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.site-header.header-dark .header-logo-placeholder {
  background:rgba(255,255,255,.15);
}

/* ── Banner configurable ── */
.welcome-banner {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:24px 18px;
  transition:min-height .3s;
}
.welcome-banner h2 { font-size:var(--banner-text-size, 20px); font-weight:700; margin-bottom:6px; }
.welcome-banner p  { font-size:14px; opacity:.9; }

/* ── Layouts de productos ── */
.layout-grid1 { grid-template-columns:1fr !important; }
.layout-grid1 .product-card { display:flex; flex-direction:row; max-height:130px; }
.layout-grid1 .product-card-img-wrap { width:130px; min-width:130px; padding-top:0; height:130px; }
.layout-grid1 .product-card-body { flex:1; padding:14px; display:flex; flex-direction:column; justify-content:space-between; }

.layout-list { grid-template-columns:1fr !important; gap:0 !important; padding:0 !important; }
.layout-list .product-card { border-radius:0 !important; border-bottom:1px solid var(--border); box-shadow:none !important; display:flex; align-items:center; padding:12px 16px; gap:12px; }
.layout-list .product-card-img-wrap { width:64px; min-width:64px; height:64px; padding-top:0; border-radius:var(--radius-sm); }
.layout-list .product-card-body { padding:0; flex:1; }
.layout-list .product-card-footer { margin-top:4px; }
.layout-list:first-child .product-card { border-top:1px solid var(--border); }

/* ── Sombras ── */
.shadow-none  .product-card { box-shadow:none; border:1px solid var(--border); }
.shadow-soft  .product-card { box-shadow:0 2px 10px rgba(0,0,0,.06); }
.shadow-medium .product-card { box-shadow:0 4px 20px rgba(0,0,0,.12); }
.shadow-strong .product-card { box-shadow:0 8px 30px rgba(0,0,0,.18); }

/* ── Tamaño de imagen ── */
.img-small  .product-card-img-wrap { padding-top:50%; }
.img-medium .product-card-img-wrap { padding-top:70%; }
.img-large  .product-card-img-wrap { padding-top:90%; }

/* ── Descripción oculta ── */
.hide-desc .product-card-desc { display:none; }

/* ── Botón agregar variantes ── */
.add-icon  .product-card-add::before { content:'+'; }
.add-icon  .product-card-add { /* solo ícono, default */ }
.add-text  .product-card-add {
  border-radius:var(--radius-xs); width:auto; padding:0 12px;
  font-size:12px; font-weight:700;
}
.add-text  .product-card-add::before { content:'Agregar'; }
.add-text  .product-card-add { font-size:0; }      /* oculta el "+" del span */
.add-text  .product-card-add::before { font-size:12px; }
.add-full  .product-card-add {
  border-radius:var(--radius-xs); width:auto; padding:0 10px;
  font-size:0;                                      /* oculta el "+" del span */
  font-weight:700;
}
.add-full  .product-card-add::before { content:'+ Agregar'; font-size:12px; }

/* ── Estilos de categorías ── */

/* Pills */
.cat-style-pills { background:transparent; border-bottom:none; padding:10px 12px; }
.cat-style-pills .cat-tab {
  border-bottom:none; border-radius:50px;
  background:#f0ece8; padding:7px 16px;
  transition:background .2s, color .2s;
}
.cat-style-pills .cat-tab.active,
.cat-style-pills .cat-tab:hover {
  background:var(--primary); color:#fff; border-bottom:none;
}

/* Buttons */
.cat-style-buttons {
  background:transparent; border-bottom:none;
  display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr));
  gap:8px; padding:10px 14px; overflow-x:visible;
}
.cat-style-buttons .cat-tab {
  border-bottom:none; border-radius:var(--radius-sm);
  background:#fff; border:1.5px solid var(--border);
  padding:10px 8px; text-align:center; white-space:normal;
  line-height:1.3; height:auto; font-size:12px;
  transition:all .2s;
}
.cat-style-buttons .cat-tab.active,
.cat-style-buttons .cat-tab:hover {
  background:var(--primary); color:#fff; border-color:var(--primary); border-bottom:none;
}

/* ── Footer redes sociales ── */
.social-footer {
  background:var(--white);
  border-top:1px solid var(--border);
  padding:20px 18px;
  text-align:center;
  margin-top:20px;
}
.social-footer-text {
  font-size:12px; color:var(--text-light); margin-bottom:12px;
}
.social-links {
  display:flex; justify-content:center; gap:14px; flex-wrap:wrap;
}
.social-link {
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; transition:transform .18s, opacity .18s;
}
.social-link:active { transform:scale(.9); opacity:.85; }
.social-fb { background:#1877F2; }
.social-ig { background:linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-tt { background:#000000; }
.social-wa { background:#25D366; }

/* Botón flotante WhatsApp */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float-btn:active { transform: scale(.93); }
@media (hover: hover) { .wa-float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,.6); } }
