
/*
 * css/misc/walger-ui-v2.css
  WALGER UI V2
  - Estilos modernos (UX/UI) basados en el prototipo.
  - Convivencia con Bootstrap 3 / plugins existentes.
  - Selectores acotados a .walger-*.
*/

:root{
  --walger-dark-900:#1a1a2e;
  --walger-dark-800:#16213e;
  --walger-primary:#667eea;
  --walger-secondary:#764ba2;
  --walger-accent:#e94560;
  --walger-cyan:#00d4ff;

  --walger-gray-50:#f8f9fa;
  --walger-surface:#fff;
  --walger-bg:#f6f7fb;

  --walger-border-color:#e6e8f0;
  --walger-border:1px solid var(--walger-border-color);

  --walger-shadow-sm:0 6px 18px rgba(15,23,42,.08);
  --walger-shadow:0 12px 34px rgba(0,0,0,.08);
  --walger-shadow-lg:0 15px 40px rgba(0,0,0,0.15);

  --walger-radius:18px;
  --walger-radius-md:14px;
  --walger-radius-sm:10px;
}


/* Base */
body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color:#333;
  line-height:1.6;
}

/*
  Header global fijo/estable (todas las páginas)
  - Se aplica al contenedor generado por renderHeader(): <header id="walger-header" class="walger-header-sticky">
*/
.walger-header-sticky{
  position: sticky;
  top: 0;
  z-index: 1500;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}
/* Botones (sin romper .btn de Bootstrap: se acota a .walger-btn) */
.walger-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 20px;
  border-radius:25px;
  text-decoration:none !important;
  font-weight:600;
  border:none;
  cursor:pointer;
  transition:all .25s ease;
}
.walger-btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--walger-primary) 0%,var(--walger-secondary) 100%);
}
.walger-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 5px 15px rgba(102,126,234,.35);
}
.walger-btn-outline{
  background:transparent;
  color:var(--walger-primary);
  border:2px solid var(--walger-primary);
}
.walger-btn-outline:hover{
  background:var(--walger-primary);
  color:#fff;
}

/* Top bar */
.walger-topbar{
  background:linear-gradient(135deg,var(--walger-dark-900) 0%,var(--walger-dark-800) 100%);
  color:#fff;
  font-size:14px;
}
.walger-topbar .walger-topbar-content{
  max-width:1200px;
  margin:0 auto;
  padding:10px 15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.walger-topbar .walger-contact-info{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.walger-topbar .walger-contact-item{
  display:flex;
  align-items:center;
  gap:8px;
  opacity:.95;
}
.walger-topbar .walger-contact-item i{ color:var(--walger-cyan); }
.walger-topbar .walger-whatsapp,
.walger-topbar .walger-whatsapp-btn{
  background:#25D366;
  color:#fff;
  padding:8px 18px;
  border-radius:25px;
  text-decoration:none !important;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:transform .25s ease;
}
.walger-topbar .walger-whatsapp:hover,
.walger-topbar .walger-whatsapp-btn:hover{ transform:scale(1.04); }

/* Header (logo + acciones) */
.walger-header-wrap{
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}
.walger-header{
  max-width:1200px;
  margin:0 auto;
  padding:16px 15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}
.walger-brand,
.walger-logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none !important;
}
.walger-brand img,
.walger-logo img{
  max-height:52px;
  width:auto;
}
.walger-logo #logo{
  width:190px;
  height:60px;
  background-repeat:no-repeat;
  background-position:left center;
  background-size:contain;
}
.walger-brand .walger-brand-text,
.walger-logo .walger-logo-text{
  font-size:26px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--walger-dark-800);
}
.walger-brand .walger-brand-text span,
.walger-logo .walger-logo-text span{ color:var(--walger-accent); }

.walger-header-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* Alias por si el header usa otro nombre */
.walger-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.walger-hours{
  font-size:12px;
  color:#667;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  background:rgba(0,0,0,0.03);
  border-radius:999px;
}

/* Dropdown compacto */
.walger-dropdown{
  border-radius:12px;
  overflow:hidden;
  padding:8px;
}
.walger-dropdown-item{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:#222 !important;
  text-decoration:none !important;
}
.walger-dropdown-item:hover{
  background:rgba(102,126,234,0.12);
}

/* Carrito V2 */
.walger-cart{ position:relative; }
.walger-cart-btn{
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--walger-accent) 0%, #f5576c 100%);
  color:#fff;
  border:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.walger-cart-btn i{ font-size:18px; }
.walger-cart-badge{
  position:absolute;
  top:-8px;
  right:-8px;
  background:var(--walger-dark-900);
}
.walger-cart-menu{
  min-width:300px;
  border-radius:14px;
  padding:12px;
}

/* Modal V2 */
.walger-modal{ border-radius:16px; overflow:hidden; }
.walger-modal-header{ background:#fff; border-bottom:1px solid rgba(0,0,0,0.06); }
.walger-modal-body{ padding:18px; }
.walger-modal-actions{ display:flex; flex-direction:column; gap:10px; }

/* Carrito */
.walger-cart{ position:relative; }
.walger-cart-btn{
  width:46px;
  height:46px;
  border-radius:14px;
  border:none;
  background:linear-gradient(135deg,var(--walger-accent) 0%, #f5576c 100%);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 22px rgba(233,69,96,0.25);
}
.walger-cart-btn i{ font-size:20px; }
.walger-cart-badge{
  position:absolute;
  top:-8px;
  right:-8px;
  background:var(--walger-dark-900) !important;
}
.walger-cart-menu{ padding:12px; min-width:320px; border-radius:12px; }

/* Nav */
#encabezado-fijo{
  background:var(--walger-gray-50) !important;
  border-top:1px solid rgba(0,0,0,0.06);
  border-bottom:1px solid rgba(0,0,0,0.06);
}

#encabezado-fijo .walger-nav-content{
  max-width:1200px;
  margin:0 auto;
  padding:8px 15px;
  display:flex;
  align-items:center;
  gap:14px;
}

.walger-nav-toggle{
  width:48px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,0.12);
  background:#fff;
  box-shadow: var(--walger-shadow-sm);
  display:none;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
}
.walger-nav-toggle span{
  display:block;
  width:24px;
  height:3px;
  background:#3a3a3a;
  border-radius:999px;
}

.walger-nav-links{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
}

.walger-nav-link{
  position:relative;
  padding:12px 14px;
  border-radius:12px;
  text-decoration:none !important;
  font-weight:600;
  color:#333 !important;
  transition:color .2s ease;
  background:transparent !important;
}
.walger-nav-link:hover{ color:var(--walger-primary) !important; }

.walger-nav-link::after{
  content:'';
  position:absolute;
  bottom:6px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:3px;
  border-radius:3px;
  background:linear-gradient(135deg,var(--walger-primary) 0%,var(--walger-secondary) 100%);
  transition:width .2s ease;
}
.walger-nav-link:hover::after{ width:72%; }
.walger-nav-link.is-active::after{ width:72%; }

/* Dropdown (sin Bootstrap) */
.walger-nav-dropdown{ position:relative; }
.walger-nav-dd-toggle{
  border:0;
  background:transparent;
}
.walger-nav-dd-menu{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  min-width:220px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:14px;
  box-shadow:var(--walger-shadow);
  padding:8px;
  display:none;
  z-index:2000;
}
.walger-nav-dropdown.is-open .walger-nav-dd-menu{ display:block; }
.walger-nav-dd-item{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:#222 !important;
  text-decoration:none !important;
}
.walger-nav-dd-item:hover{ background:rgba(102,126,234,0.12); }

/* Buscador en nav */
#encabezado-fijo .walger-search{ margin-left:auto; }
#encabezado-fijo .walger-search-box{
  display:flex;
  align-items:center;
  overflow:hidden;
  border-radius:12px;
  border:2px solid #e6e8f0;
  background:#fff;
  height:40px;
  min-width:260px;
}
#encabezado-fijo .walger-search-box input#search{
  border:0;
  outline:none;
  padding:0 12px;
  height:40px;
  width:100%;
}
#encabezado-fijo .walger-search-box button{
  width:46px;
  height:40px;
  border:0;
  color:#fff;
  background:linear-gradient(135deg,var(--walger-primary) 0%,var(--walger-secondary) 100%);
}

/* Badges en header: anulamos el posicionamiento legacy (.badge { bottom:-40px; ... }) */
#contador-mensajes,
#contador-cesta{
  position:absolute !important;
  top:-8px !important;
  right:-8px !important;
  bottom:auto !important;
  left:auto !important;
}

/* Responsive */
@media (max-width: 768px){
  #encabezado-fijo .walger-nav-content{ flex-wrap:wrap; }
  .walger-nav-toggle{ display:inline-flex; }
  .walger-nav-links{
    display:none;
    width:100%;
    justify-content:flex-start;
    padding-top:6px;
  }
  .walger-nav-links.is-open{ display:flex; }
  #encabezado-fijo .walger-search{ width:100%; }
  #encabezado-fijo .walger-search-box{ min-width:0; width:100%; }
}

/* Buscador */
#buscador .form-control{
  border-radius:10px 0 0 10px;
  height:40px;
}
#buscador .input-group-addon{
  padding:0;
  border:none;
  background:transparent;
}
#buscador .input-group-addon button{
  height:40px;
  border-radius:0 10px 10px 0;
  background:linear-gradient(135deg,var(--walger-primary) 0%,var(--walger-secondary) 100%);
  border:none;
}

/* Modal login */
.walger-modal .modal-content{
  border-radius:15px;
  box-shadow:0 20px 60px rgba(0,0,0,0.25);
}
.walger-modal .modal-header{
  border-bottom:none;
}
.walger-modal .modal-title{
  color:var(--walger-dark-800);
  font-weight:800;
}
.walger-modal .form-control{
  border-radius:10px;
  height:42px;
}

/* Footer */
footer.walger-footer{
  background:var(--walger-dark-900);
  color:#fff;
  padding:55px 15px 18px;
}
.walger-footer .walger-footer-content{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:35px;
  margin-bottom:32px;
}
.walger-footer h3{
  margin-top:0;
  margin-bottom:18px;
  color:var(--walger-cyan);
  font-weight:800;
}
.walger-footer a{
  color:#ccc;
  text-decoration:none;
}
.walger-footer a:hover{ color:var(--walger-cyan); }
.walger-footer ul{ list-style:none; padding:0; margin:0; }
.walger-footer li{ margin-bottom:10px; }

.walger-newsletter{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.walger-newsletter input{
  flex:1;
  padding:12px;
  border:none;
  border-radius:10px;
  background:rgba(255,255,255,0.10);
  color:#fff;
}
.walger-newsletter input::placeholder{ color:rgba(255,255,255,0.55); }
.walger-newsletter button{
  padding:12px 22px;
  background:var(--walger-cyan);
  border:none;
  border-radius:10px;
  color:var(--walger-dark-900);
  font-weight:800;
  transition:transform .2s ease;
}
.walger-newsletter button:hover{ transform:scale(1.03); }

.walger-footer-bottom{
  max-width:1200px;
  margin:0 auto;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,0.10);
  color:#cfcfcf;
  font-size:13px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  align-items:center;
}

.walger-social{
  display:flex;
  gap:12px;
  margin-top:12px;
}
.walger-social a{
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  transition:transform .2s ease, background .2s ease;
}
.walger-social a:hover{
  background:var(--walger-cyan);
  transform:translateY(-3px);
}

/* Responsive */
@media (max-width: 768px){
  .walger-topbar .walger-topbar-content{ justify-content:center; text-align:center; }
  .walger-header{ justify-content:center; }
  #encabezado-fijo .navbar-nav>li>a{ text-align:center; }
}


/* === FIX: Modal (Bootstrap) por encima del header sticky === */
.modal{
  z-index: 6000 !important;
}
.modal-backdrop{
  z-index: 5900 !important;
}


/* ============================================================
   STEP 2.3 — UI V2 DOMINANTE (Productos / Producto / Carrito)
   Objetivo: modernizar UX/UI sin tocar la lógica ni el HTML dinámico.
   Se apoya en clases existentes generadas por custom.js:
   - .productos-contenedor, .productos-inner, .productos-imagen, etc.
   ============================================================ */

:root{
  --walger-surface: #ffffff;
  --walger-bg: #f7f8fc;
  --walger-border: #e6e8f0;
  --walger-text: #111827;
  --walger-muted: #6b7280;
}

body{
  background: var(--walger-bg);
  color: var(--walger-text);
}

/* Títulos de sección */
h3.titulo{
  font-size: 28px;
  margin: 10px 0 22px 0;
  color: var(--walger-dark-900, #16213e);
}
h3.titulo:after{
  content:'';
  display:block;
  width: 72px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--walger-primary, #667eea) 0%, var(--walger-secondary, #764ba2) 100%);
}

/* =======================
   Productos — Grilla/Lista
   ======================= */

#productos-contenedor{
  margin-top: 6px;
}

.productos-contenedor.producto.panel{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Card base */
.productos-inner{
  background: var(--walger-surface) !important;
  border: 1px solid var(--walger-border) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.productos-inner:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
}

/* Imagen */
.productos-contenedor-imagen{
  position: relative;
  background: #f2f4fb;
}
.productos-imagen{
  width: 100%;
  height: auto;
  display: block;
}

/* Modo grilla (custom.js agrega col-lg-4 col-sm-6 + .grilla y reacomoda columnas) */
.productos-contenedor.grilla{
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-bottom: 20px;
}
.productos-contenedor.grilla .productos-inner{
  padding: 0 !important;
}
.productos-contenedor.grilla .productos-contenedor-imagen{
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1px solid var(--walger-border);
}
.productos-contenedor.grilla .productos-imagen{
  max-height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.productos-contenedor.grilla .productos-contenedor-detalles{
  padding: 14px 14px 16px 14px !important;
}
.productos-contenedor.grilla .productos-titulo h5{
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--walger-text);
  margin: 8px 0 10px 0;
  min-height: 38px;
}
.productos-contenedor.grilla .producto-descripcion{
  color: var(--walger-muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.productos-contenedor.grilla .productos-precio h3{
  font-size: 22px;
  color: var(--walger-accent, #e94560);
  margin: 0 0 12px 0;
  font-weight: 800;
}
.productos-contenedor.grilla .productos-controles .input-group{
  width: 100%;
}
.productos-contenedor.grilla .input-group input[type="number"]{
  height: 40px;
  border: 2px solid var(--walger-border);
  border-right: 0;
  border-radius: 12px 0 0 12px;
}
.productos-contenedor.grilla .input-group-addon{
  border: 0;
  padding: 0;
  background: transparent;
}
.productos-contenedor.grilla .input-group-addon a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, var(--walger-primary, #667eea) 0%, var(--walger-secondary, #764ba2) 100%);
  color: #fff !important;
}
.productos-contenedor.grilla .input-group-addon a:hover{ opacity: .92; }

/* Botón Vista Rápida (si existe) */
.productos-titulo .btn.btn-default{
  border-radius: 999px !important;
  border: 2px solid rgba(102,126,234,.35) !important;
  color: var(--walger-primary, #667eea) !important;
  background: transparent !important;
  padding: 8px 14px !important;
  font-weight: 700;
}
.productos-titulo .btn.btn-default:hover{
  background: rgba(102,126,234,.10) !important;
}

/* Modo lista */
.productos-contenedor.lista{
  padding: 0 !important;
  margin-bottom: 16px !important;
}
.productos-contenedor.lista .productos-inner{
  padding: 14px !important;
}
.productos-contenedor.lista .productos-contenedor-imagen{
  padding: 10px;
  border-radius: 12px;
}
.productos-contenedor.lista .productos-imagen{
  max-height: 130px;
  object-fit: contain;
}
.productos-contenedor.lista .productos-titulo h5{
  font-size: 16px;
  font-weight: 800;
  margin: 6px 0 8px 0;
  color: var(--walger-text);
}
.productos-contenedor.lista .productos-precio h3{
  font-size: 22px;
  color: var(--walger-accent, #e94560);
  margin: 0;
  font-weight: 900;
}

/* Badges / avisos */
.productos-controles h6,
.productos-precio h6{
  margin-top: 10px;
  color: var(--walger-muted);
}

/* =======================
   Detalle de producto
   ======================= */

#producto-contenedor .producto .productos-inner{
  background: var(--walger-surface) !important;
  border: 1px solid var(--walger-border) !important;
  border-radius: 18px !important;
  overflow: hidden;
  padding: 18px !important;
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
}

#producto-contenedor h3.titulo{
  margin-bottom: 18px;
}

#producto-contenedor .producto .productos-contenedor-imagen,
#producto-contenedor .producto .col-sm-4.no-padding{
  background: #f2f4fb;
  border-radius: 16px;
  padding: 14px !important;
}
#producto-contenedor .producto .productos-imagen{
  object-fit: contain;
  max-height: 340px;
}

#producto-contenedor .producto h2,
#producto-contenedor .producto h4,
#producto-contenedor .producto h5{
  color: var(--walger-text);
  font-weight: 800;
}
#producto-contenedor .producto .productos-precio h3{
  font-size: 30px;
  color: var(--walger-accent, #e94560);
  font-weight: 900;
  margin-top: 8px;
  margin-bottom: 14px;
}

/* selects atributos */
#producto-contenedor .producto select{
  border: 2px solid var(--walger-border);
  border-radius: 12px;
  height: 42px;
}
#producto-contenedor .producto label{
  font-weight: 800;
  color: var(--walger-muted);
}

/* input cantidad + carrito */
#producto-contenedor .producto .input-group input[type="number"]{
  height: 44px;
  border: 2px solid var(--walger-border);
  border-right: 0;
  border-radius: 12px 0 0 12px;
}
#producto-contenedor .producto .input-group-addon{
  border: 0;
  padding: 0;
  background: transparent;
}
#producto-contenedor .producto .input-group-addon a{
  width: 56px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, var(--walger-primary, #667eea) 0%, var(--walger-secondary, #764ba2) 100%);
  color:#fff !important;
}

/* =======================
   Carrito
   ======================= */

table#mis-pedidos.table{
  background: var(--walger-surface);
  border: 1px solid var(--walger-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15,23,42,.08);
}

table#mis-pedidos thead th{
  background: #f2f4fb;
  color: var(--walger-muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 12px !important;
  border-bottom: 1px solid var(--walger-border) !important;
}

table#mis-pedidos tbody td{
  padding: 14px 12px !important;
  border-top: 1px solid var(--walger-border) !important;
  vertical-align: middle !important;
}

table#mis-pedidos tbody tr:hover{
  background: rgba(102,126,234,.06);
}

table#mis-pedidos a{
  color: var(--walger-primary, #667eea);
  font-weight: 800;
}
table#mis-pedidos a:hover{ opacity: .85; }

table#mis-pedidos td.editar a,
table#mis-pedidos td:first-child a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f2f4fb;
  border: 1px solid var(--walger-border);
}

table#mis-pedidos td.editar a:hover,
table#mis-pedidos td:first-child a:hover{
  background: rgba(233,69,96,.12);
  border-color: rgba(233,69,96,.30);
}

/* Totales / botones del carrito (sin cambiar clases) */
.btn.btn-success,
.btn.btn-primary{
  border-radius: 999px !important;
  font-weight: 800 !important;
}
.btn.btn-success{
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  border: 0 !important;
}
.btn.btn-danger{
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* Responsive */
@media (max-width: 768px){
  .productos-contenedor.grilla .productos-contenedor-imagen{ height: 200px; }
  #producto-contenedor .producto .productos-imagen{ max-height: 260px; }
  h3.titulo{ font-size: 24px; }
}


/* =====================================================================
   STEP 2.3A — UI V2 dominante para: Contacto / Registro / Pedidos / Remitos
   (solo estilos; sin tocar lógica)
   ===================================================================== */

/* Breadcrumb / separadores */
#page-wrap hr{
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(102,126,234,.15), rgba(118,75,162,.15));
  margin: 14px 0;
}

#page-wrap h5 a{
  color: var(--walger-dark-900);
  text-decoration: none;
  font-weight: 800;
}

/* Títulos uniformes */
#page-wrap .titulo,
#page-wrap .titulo2{
  color: var(--walger-dark-900);
  font-weight: 900;
  letter-spacing: .2px;
  margin: 12px 0 16px;
}

#page-wrap .titulo3{
  color: var(--walger-dark-900);
  font-weight: 900;
  margin: 8px 0 14px;
  font-size: 18px;
  opacity: .9;
}

/* Card base para bloques legacy (.contenedor .inner) */
#page-wrap .contenedor{
  margin-bottom: 18px;
}

#page-wrap .contenedor .inner{
  background: #fff;
  border: 1px solid var(--walger-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

/* Formularios */
#page-wrap .form-group label{
  font-weight: 800;
  color: var(--walger-dark-900);
  margin-bottom: 8px;
}

#page-wrap .help-block{
  color: rgba(2,6,23,.55);
  font-size: 12px;
  margin-top: 6px;
}

#page-wrap .form-control{
  border-radius: 12px !important;
  border: 2px solid var(--walger-border) !important;
  box-shadow: none !important;
  height: 44px;
}

#page-wrap textarea.form-control{
  height: auto;
  min-height: 140px;
  padding-top: 12px;
}

#page-wrap .form-control:focus{
  border-color: rgba(102,126,234,.65) !important;
  box-shadow: 0 0 0 4px rgba(102,126,234,.15) !important;
}

/* Botones de formularios */
#page-wrap .btn.form-submit,
#page-wrap .btn.btn-primary{
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: .2px;
}

#page-wrap .btn.form-submit{
  padding: 12px 18px;
}

#page-wrap .btn.btn-default{
  border-radius: 999px !important;
  border: 2px solid rgba(102,126,234,.35) !important;
  background: #fff !important;
  color: rgba(102,126,234,1) !important;
  font-weight: 900 !important;
}

#page-wrap .btn.btn-default:hover{
  border-color: rgba(102,126,234,.65) !important;
  box-shadow: 0 8px 22px rgba(102,126,234,.18);
}

/* Tablas (Pedidos/Remitos + Detalle modal) */
#page-wrap table.table{
  background: #fff;
  border: 1px solid var(--walger-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

#page-wrap table.table thead th{
  background: rgba(102,126,234,.06);
  border-bottom: 1px solid var(--walger-border) !important;
  font-weight: 900;
  color: var(--walger-dark-900);
}

#page-wrap table.table tbody td{
  border-top: 1px solid rgba(230,232,240,.7) !important;
  vertical-align: middle;
}

#page-wrap table.table tbody tr:hover{
  background: rgba(102,126,234,.04);
}

/* Spinner de carga */
#page-wrap .spinner{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--walger-border);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  color: rgba(2,6,23,.75);
  margin: 8px 0 12px;
}

/* Modal (detalle pedido / remito) */
.modal-content{
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(230,232,240,.9) !important;
}

.modal-header{
  background: linear-gradient(135deg, rgba(102,126,234,.12) 0%, rgba(118,75,162,.10) 100%);
  border-bottom: 1px solid var(--walger-border) !important;
}

.modal-title{
  font-weight: 900;
  color: var(--walger-dark-900);
}

.modal-footer{
  border-top: 1px solid var(--walger-border) !important;
}

/* Menu lateral (categorías / filtros) */
#productos-menu{
  background: #fff;
  border: 1px solid var(--walger-border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  margin-bottom: 18px;
}

#productos-menu h3.titulo{
  font-size: 18px;
  margin: 8px 0 10px;
}

#productos-categorias li{
  padding: 6px 6px;
  border-radius: 12px;
}

#productos-categorias li:hover{
  background: rgba(102,126,234,.06);
}

#productos-categorias a{
  color: rgba(2,6,23,.80);
  text-decoration: none;
  font-weight: 700;
}

#productos-categorias a:hover{
  color: rgba(102,126,234,1);
}

/* reCAPTCHA bloque */
#page-wrap .g-recaptcha{
  transform-origin: 0 0;
}



/* =========================================================
   STEP 2.3B — UI Modernización Global (cards, inputs, botones)
   Objetivo: que el front deje el look "cuadrado/legacy"
   sin tocar la lógica ni el markup existente.
   ========================================================= */

:root{
  --walger-radius-lg: 18px;
  --walger-radius-md: 14px;
  --walger-radius-sm: 10px;
  --walger-shadow-sm: 0 6px 18px rgba(15,23,42,.08);
  --walger-shadow-md: 0 14px 40px rgba(15,23,42,.12);
  --walger-border: 1px solid rgba(15,23,42,.10);
}

/* Fondo general más moderno (sin afectar slider) */
body{
  background: #f6f7fb;
}

/* Contenedores principales tipo card (contacto/registro/páginas internas) */
.contenedor .inner,
#productos-menu,
.categoria-inner,
.productos-inner,
.portfolio-inner,
.novedades-inner,
.formaspago-inner,
.servicios-inner,
.mensajes-inner,
.editarcuenta-inner,
.estadocuenta-inner{
  background: #fff;
  border-radius: var(--walger-radius-lg);
  border: var(--walger-border);
  box-shadow: var(--walger-shadow-sm);
}

/* Cuando hay padding legacy inexistente, lo aseguramos */
.contenedor .inner{
  padding: 22px;
}

/* Títulos de secciones (CATEGORÍAS, FILTRAR, NOVEDADES, OFERTAS, etc.) */
h3.titulo,
h3.bold.titulo,
h2.titulo,
.titulo{
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: none !important;
}

h3.bold.titulo,
#productos-menu > h3{
  margin: 0 0 14px 0;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

/* Sidebar categorías: links más modernos */
#productos-categorias{
  margin: 0;
  padding: 10px 18px 18px 18px;
}
#productos-categorias li{
  margin: 8px 0;
}
#productos-categorias li a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
}
#productos-categorias li a:hover{
  background: rgba(102,126,234,.10);
  color: #2b3aa5;
}
#productos-categorias li i{
  color: #667eea !important;
}

/* Inputs/Select/Textarea (Bootstrap legacy) */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea{
  border-radius: var(--walger-radius-md) !important;
  border: 2px solid #e6e8f0 !important;
  box-shadow: none !important;
  background: #fff;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus{
  outline: none !important;
  border-color: rgba(102,126,234,.65) !important;
  box-shadow: 0 0 0 4px rgba(102,126,234,.15) !important;
}

/* Botones (Bootstrap) */
.btn{
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15,23,42,.14);
}
.btn:active{
  transform: translateY(0);
}

/* Primario/Acción */
.btn-primary{
  border: 0 !important;
  background: linear-gradient(135deg,#667eea 0%,#764ba2 100%) !important;
}
.btn-primary:hover{
  background: linear-gradient(135deg,#5b73ff 0%,#7a4bd1 100%) !important;
}

/* Secundario */
.btn-default, .btn-secondary{
  border: 2px solid rgba(102,126,234,.55) !important;
  color: #4f63d8 !important;
  background: transparent !important;
}
.btn-default:hover, .btn-secondary:hover{
  background: rgba(102,126,234,.10) !important;
}

/* Rojo/CTA (se usa mucho en "Ver más", carrito, etc.) */
.btn-danger, .btn-red{
  border: 0 !important;
  background: linear-gradient(135deg,#e94560 0%,#f5576c 100%) !important;
  color: #fff !important;
}

/* Botones pequeños de carrito en grilla/lista */
.productos-controles .btn,
.productos-controles button,
.input-group-btn .btn{
  border-radius: 14px !important;
}

/* Tablas (pedidos/remitos/carrito) */
.table{
  background: #fff;
  border-radius: var(--walger-radius-lg);
  overflow: hidden;
  border: var(--walger-border);
  box-shadow: var(--walger-shadow-sm);
  border-collapse: separate !important;
  border-spacing: 0;
}
.table thead th{
  background: #f3f5ff !important;
  color: #111827;
  border-bottom: 1px solid rgba(15,23,42,.10) !important;
}
.table > tbody > tr > td{
  border-top: 1px solid rgba(15,23,42,.06) !important;
}
.table tbody tr:hover{
  background: rgba(102,126,234,.06) !important;
}

/* Cards de categorías Home */
.categoria-contenedor{
  margin-bottom: 22px;
}
.categoria-inner{
  padding: 22px;
}
.categoria-inner:hover{
  box-shadow: var(--walger-shadow-md);
  transform: translateY(-2px);
  transition: transform .15s ease, box-shadow .15s ease;
}
.categoria-titulo2{
  text-transform: none !important;
}

/* Secciones NOVEDADES/OFERTAS: evitar contenedores cuadrados */
#novedades .productos-inner,
#ofertas .productos-inner{
  border-radius: var(--walger-radius-lg);
}

/* Ajustes para cajas del contenido central (services/portfolio/novedades) */
#page-wrap .col-xs-12 > hr{
  border-color: rgba(15,23,42,.08);
}
#page-wrap h5 a{
  color: #111827;
  text-decoration: none;
  font-weight: 700;
}

/* ------------------------------------------------------------
   STEP 2.3C — HOME (UI moderno: slider + categorías + destacados + novedades)
   Objetivo: eliminar “look cuadrado/legacy” sin tocar funcionalidades.
------------------------------------------------------------ */

/* Slider (Camera) como “hero” moderno */
#slider,
.camera_wrap{
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 55px rgba(15,23,42,.18) !important;
  background: #0f172a;
}

/* Separación del hero respecto al header */
.walger-hero{
  padding-top: 26px;
  padding-bottom: 26px;
}

/* Caption overlay */
.slider_caption{
  display: inline-block;
  max-width: 720px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}
.slider_caption a{
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
}

/* Secciones HOME: aire y fondo moderno */
#categorias,
section#destacados,
#novedades{
  padding-top: 52px;
  padding-bottom: 52px;
}
#categorias{ background: transparent; }
section#destacados{ background: transparent; }
#novedades{ background: transparent !important; }

/* Títulos de HOME más actuales */
section#destacados .titulo,
#novedades h2,
#novedades h3,
#categorias h2,
#categorias h3{
  letter-spacing: .2px;
}

/* Categorías HOME: cards realmente modernas */
#categorias .categoria-contenedor{ padding: 12px !important; }
#categorias .categoria-inner{
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.10) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: flex;
  align-items: stretch;
  min-height: 320px;
}
#categorias .categoria-inner:hover{
  box-shadow: 0 22px 55px rgba(15,23,42,.16) !important;
  transform: translateY(-3px);
}

/* Columna texto */
#categorias .categoria-descripcion{
  padding: 28px !important;
  margin-bottom: 0 !important;
}
#categorias .categoria-titulo2{
  font-weight: 900;
  color: #111827 !important;
  line-height: 1.1;
}
#categorias .categoria-detalle{
  color: rgba(17,24,39,.72);
}

/* Columna imagen */
#categorias .categoria-imagen{
  height: 100% !important;
  min-height: 320px !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  background-size: cover !important;
}

/* Botón “Ver catálogo” (más premium, sin tocar eventos) */
#categorias .btn.btn-danger.btn-lg{
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-weight: 800;
  letter-spacing: .3px;
}

/* Destacados (productos) en Home: cards + contenido */
section#destacados .owl-carousel{
  padding: 14px 4px !important;
}
section#destacados .destacados-contenedor{
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 10px 30px rgba(15,23,42,.10) !important;
  background: #fff !important;
}
section#destacados .destacados-inner{
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
section#destacados .destacados-imagen{
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
}
section#destacados .destacados-imagen img{
  width: 100% !important;
  height: 220px !important;
  object-fit: contain;
  background: #fff;
}
section#destacados .destacados-descripcion{
  padding: 14px 16px 18px !important;
}
section#destacados .destacados-descripcion h3{
  font-weight: 900;
  color: #e94560;
}
section#destacados .destacados-descripcion h5{
  color: rgba(17,24,39,.70);
  font-weight: 800;
}
section#destacados .destacados-descripcion p{
  color: rgba(17,24,39,.86);
}

/* Novedades (news) Home: card moderna */
#novedades .novedades-contenedor{ padding: 12px !important; }
#novedades .novedades-inner{
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.10) !important;
}
#novedades .novedades-imagen{
  height: 360px !important;
  background-size: cover !important;
  background-position: center !important;
}
#novedades .novedades-descripcion{
  padding: 18px 18px 20px !important;
}
#novedades .novedades-titulo{
  color: #111827;
  font-weight: 900;
  letter-spacing: .2px;
}
#novedades .novedades-btn{
  border-radius: 14px !important;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive (HOME) */
@media (max-width: 991px){
  #categorias .categoria-inner{
    flex-direction: column;
    min-height: unset;
  }
  #categorias .categoria-imagen{
    min-height: 240px !important;
  }
  #novedades .novedades-imagen{
    height: 260px !important;
  }
}

/* ------------------------------------------------------------
   STEP 2.3D — CATÁLOGO / PRODUCTOS (UI moderno)
   Objetivo:
   - Sidebar (categorías/filtros) como cards
   - Listado (lista/grilla) como cards con bordes redondeados + sombras
   - Botonera y controles con look consistente V2
   Sin tocar funcionalidad (solo CSS)
------------------------------------------------------------ */

/* Sidebar como card */
#productos-menu{
  background: #fff !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.10) !important;
  padding: 18px 18px 10px !important;
}

/* Títulos sidebar */
#productos-menu h3.titulo{
  font-size: 15px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 16px 0 12px !important;
}

/* Lista de categorías */
#productos-categorias{
  margin: 0 0 14px !important;
  padding-left: 0 !important;
}
#productos-categorias > li{
  list-style: none;
  padding: 10px 10px;
  border-radius: 14px;
  transition: background .15s ease, transform .15s ease;
}
#productos-categorias > li:hover{
  background: rgba(102,126,234,.08);
  transform: translateY(-1px);
}
#productos-categorias > li a{
  color: #111827 !important;
  text-decoration: none !important;
  font-weight: 700;
}
#productos-categorias > li i{
  margin-right: 8px;
}

/* Lineas en categorías (subitems) */
#productos-categorias li.menu-linea{
  padding-left: 22px;
  opacity: .92;
}
#productos-categorias li.menu-linea a{
  font-weight: 600;
}

/* Filtros: inputs/select con look V2 */
#productos-menu .form-group,
#productos-menu > div{
  margin-bottom: 14px;
}
#productos-menu label.control-label{
  font-weight: 800;
  color: rgba(17,24,39,.85);
  margin-bottom: 8px;
}

/* Contenedor panel central */
#productos-contenedor{
  padding: 0 6px;
}

/* Botones de vista lista/grilla y ordenamiento */
.productosMostrar .btn{
  border-radius: 14px !important;
  padding: 10px 12px !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.12) !important;
}
#formasordenamiento{
  border-radius: 14px !important;
}

/* Listado de productos: tarjeta moderna (lista y grilla) */
#productos-contenedor .producto.panel{
  border: 1px solid rgba(15,23,42,.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.10) !important;
  overflow: hidden !important;
  background: #fff !important;
}
#productos-contenedor .producto.panel:hover{
  box-shadow: 0 22px 55px rgba(15,23,42,.14) !important;
  transform: translateY(-2px);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Padding interno */
#productos-contenedor .producto .productos-inner{
  padding: 16px 16px !important;
}

/* Bloque imagen como mini-card */
#productos-contenedor .producto .productos-contenedor-imagen{
  background: rgba(248,250,252,1);
  border-radius: 16px;
  padding: 10px;
  min-height: 140px;
}
#productos-contenedor .producto .productos-contenedor-imagen img{
  border-radius: 14px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Título / texto */
#productos-contenedor .producto .productos-titulo h5{
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
}
#productos-contenedor .producto .productos-titulo a{
  text-decoration: none !important;
}

/* Precio */
#productos-contenedor .producto .productos-precio h3{
  font-weight: 900;
  letter-spacing: .2px;
}

/* Controles: input + carrito */
#productos-contenedor .producto .input-group{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.12);
}
#productos-contenedor .producto .input-group input.form-control{
  border: 0 !important;
  border-radius: 0 !important;
  height: 44px;
  font-weight: 700;
}
#productos-contenedor .producto .input-group-addon{
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
#productos-contenedor .producto .input-group-addon .btn{
  height: 44px;
  border-radius: 0 !important;
  min-width: 52px;
}

/* “Vista rápida” y botones secundarios */
#productos-contenedor .producto .btn-default{
  border-radius: 14px !important;
  border: 1px solid rgba(102,126,234,.28) !important;
  color: #4f46e5 !important;
  background: rgba(102,126,234,.06) !important;
  font-weight: 800 !important;
}
#productos-contenedor .producto .btn-default:hover{
  background: rgba(102,126,234,.12) !important;
}

/* Cargar más */
.cargarmas{
  margin: 22px 0 10px;
}
.cargarmas .btn{
  border-radius: 999px !important;
  padding: 14px 20px !important;
  box-shadow: 0 18px 45px rgba(15,23,42,.16) !important;
}

/* Home “Novedades/Ofertas” (carousel): reforzar cards (por si algún CSS legacy pisa) */
section#destacados .destacados-inner{
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.10) !important;
  background: #fff !important;
}

@media (max-width: 768px){
  #productos-menu{
    margin-bottom: 16px;
  }
  #productos-contenedor .producto .productos-inner{
    padding: 14px 12px !important;
  }
}


/* =========================================================
   PRODUCTO (DETALLE) — UI MODERNA (A1)
   No toca lógica: solo presentación sobre el HTML existente.
   ========================================================= */

/* Contenedor general */
#producto-contenedor{
  max-width: 1200px;
  margin: 18px auto 40px;
  padding: 0 14px;
}

#producto-contenedor .titulo{
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 16px;
  color: #0f172a;
}

/* Card principal del producto */
#producto-contenedor #producto{
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  overflow: hidden;
}

#producto-contenedor #producto .productos-inner{
  padding: 18px 18px 14px;
}

/* Imagen principal */
#producto-contenedor #producto .productos-imagen{
  width: 100%;
  border-radius: 14px;
  background: #f3f6fb;
  border: 1px solid #e8ecf3;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

/* Thumbs */
#producto-contenedor #producto .inner-thumb{
  width: 100%;
  height: 74px;
  border-radius: 12px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  background-color: #f3f6fb;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  margin-top: 10px;
}

#producto-contenedor #producto .inner-thumb:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, .10);
}

#producto-contenedor #producto .inner-thumb.active{
  border-color: var(--walger-primary);
}

/* Info */
#producto-contenedor #producto h1{
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0 0 10px;
  color: #0b1220;
}

#producto-contenedor #producto .cl-color-1 h3{
  font-size: 34px;
  font-weight: 900;
  margin: 8px 0 14px;
  color: #e11d48; /* precio */
}

#producto-contenedor #producto .input-group{
  max-width: 420px;
  margin-top: 6px;
}

#producto-contenedor #producto .input-group .form-control{
  height: 46px;
  border-radius: 14px 0 0 14px;
  border: 1px solid #e8ecf3;
  box-shadow: none;
}

#producto-contenedor #producto .input-group-addon{
  border: 0;
  background: transparent;
  padding: 0;
}

#producto-contenedor #producto .input-group-addon .btn{
  height: 46px;
  min-width: 58px;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 12px 26px rgba(225, 29, 72, .20);
}

#producto-contenedor #producto a.favoritos{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f6fb;
  border: 1px solid #e8ecf3;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

#producto-contenedor #producto a.favoritos:hover{
  background: #eef2ff;
  border-color: #dbe3ff;
}

/* Código y referencia (bloque informativo) */
#producto-contenedor #producto .text-justify{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e8ecf3;
  color: #334155;
  font-weight: 600;
}

/* Tabs detalle */
#producto-contenedor .detalleproducto{
  margin-top: 18px;
  padding: 0 0 10px;
}

#producto-contenedor .detalleproducto .nav-tabs{
  border-bottom: 0;
  display: flex;
  gap: 10px;
  padding: 0 6px;
}

#producto-contenedor .detalleproducto .nav-tabs > li{
  float: none;
}

#producto-contenedor .detalleproducto .nav-tabs > li > a{
  border: 1px solid #e8ecf3;
  background: #f3f6fb;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  color: #0f172a;
}

#producto-contenedor .detalleproducto .nav-tabs > li.active > a,
#producto-contenedor .detalleproducto .nav-tabs > li.active > a:hover,
#producto-contenedor .detalleproducto .nav-tabs > li.active > a:focus{
  background: #eef2ff;
  border-color: #dbe3ff;
  color: #1e293b;
}

#producto-contenedor .detalleproducto .tab-content .tab-pane{
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
  margin-top: 12px;
}

@media (max-width: 768px){
  #producto-contenedor #producto .productos-inner{ padding: 14px 12px; }
  #producto-contenedor #producto h1{ font-size: 22px; }
  #producto-contenedor #producto .cl-color-1 h3{ font-size: 28px; }
}



/* === FIX DEFINITIVO: modales siempre arriba del header sticky === */
.modal-backdrop{ z-index: 2147483600 !important; }
.modal{ z-index: 2147483700 !important; }

/* Vista rápida (modal legacy) */
#modalproducto{ z-index: 2147483700 !important; }

/* Header/menus por debajo del modal */
.walger-header-sticky,
#walger-header,
#encabezado-fijo,
#encabezado-ocultable{
  z-index: 2000 !important;
}

/* === Paginación (Opción B) === */
.walger-pager{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  clear: both; /* evita solapamiento con cards en la opción 1 (lista) */
  margin:22px 0 10px;
}

.walger-btn-page{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.walger-btn-page:hover{ transform:translateY(-1px); box-shadow:0 10px 26px rgba(0,0,0,.08); }
.walger-btn-page:disabled{ opacity:.45; cursor:not-allowed; transform:none; box-shadow:none; }

.walger-page-info{
  font-weight:800;
  color:#16213e;
  padding:8px 10px;
  border-radius:10px;
}

/* === A2: CTA Agregar al Carrito + Stepper de cantidad (Producto Detalle) === */
.walger-buybox{ margin-top: 12px; }

.walger-qty-stepper{
  display:flex;
  align-items:stretch;
  gap:0;
  width:100%;
  max-width: 320px;
  border:1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  background:#fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
  overflow:hidden;
}

.walger-qty-btn{
  border:0;
  background:#f8fafc;
  width:46px;
  font-weight:900;
  cursor:pointer;
  transition: background .15s ease;
}
.walger-qty-btn:hover{ background:#eef2ff; }

.walger-qty-input{
  border:0 !important;
  box-shadow:none !important;
  text-align:center;
  font-weight:900;
  color:#0f172a;
}
.walger-qty-input:focus{ outline:none; }

.walger-cta-cart-lg{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top: 12px;
  padding: 14px 16px;
  width:100%;
  max-width: 360px;
  border-radius: 999px !important;
  border:0 !important;
  font-weight:900;
  letter-spacing:.2px;
  box-shadow: 0 14px 32px rgba(233,69,96,.20);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.walger-cta-cart-lg:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(233,69,96,.26);
  filter: brightness(1.02);
}

/* El sistema usa btn-danger/btn-success para estado. Estilizamos ambos sin romper la lógica */
.btn.btn-danger.walger-cta-cart-lg,
.btn.btn-danger.walger-cta-cart-sm{
  background: linear-gradient(135deg, #e94560 0%, #f5576c 100%) !important;
}

.btn.btn-success.walger-cta-cart-lg,
.btn.btn-success.walger-cta-cart-sm{
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

.walger-cta-cart-sm{
  border-radius: 12px !important;
  padding: 10px 12px !important;
  box-shadow: 0 10px 24px rgba(233,69,96,.16);
}

/* Botón “Seleccione” (atributos) en catálogo: se ve más “secundario” sin cambiar comportamiento */
.walger-cta-choose{
  border-radius: 14px !important;
  padding: 10px 12px !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border:0 !important;
}

/* Inputs en catálogo: bordes más suaves */
.productos-controles .form-control{
  border-radius: 12px !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow: none !important;
}

/* Mobile: CTA full-width */
@media (max-width: 768px){
  .walger-qty-stepper{ max-width: 100%; }
  .walger-cta-cart-lg{ max-width: 100%; }
}






/* === STEP 2.3E - CARRITO / CHECKOUT (UI V2) === */

/* Tabla carrito como card */
#mis-pedidos{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
#mis-pedidos thead th{
  background:rgba(102,126,234,.08);
  color:#16213e;
  font-weight:800;
  border-bottom:1px solid rgba(0,0,0,.06) !important;
}
#mis-pedidos tbody td{
  border-top:1px solid rgba(0,0,0,.06) !important;
  vertical-align:middle;
}
#mis-pedidos tbody tr:hover{
  background:rgba(0,0,0,.015);
}
#mis-pedidos td:first-child, #mis-pedidos th:first-child{ width:48px; }
#mis-pedidos td:nth-child(2), #mis-pedidos th:nth-child(2){ width:48px; }

/* Acciones (trash / pencil) como botones redondos */
#mis-pedidos td a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
#mis-pedidos td a:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}
#mis-pedidos td a i{ font-size:16px; }
#mis-pedidos td a[onclick*='borrarCesta'] i{ color:#e94560; }
#mis-pedidos td a[onclick*='editarCantidad'] i{ color:#667eea; }

/* Total row */
#mis-pedidos tr.bg-gray-5{
  background:linear-gradient(135deg, rgba(102,126,234,.12) 0%, rgba(118,75,162,.12) 100%) !important;
}

/* Checkout: cards para columnas */
.walger-checkout .walger-checkout-form,
.walger-checkout .walger-checkout-summary{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.walger-checkout label.control-label{
  font-weight:800;
  color:#16213e;
}

.walger-checkout .form-control{
  border-radius:12px;
  border:2px solid rgba(0,0,0,.08);
  height:42px;
  box-shadow:none;
}
.walger-checkout .form-control:focus{
  border-color:#667eea;
  box-shadow:0 0 0 4px rgba(102,126,234,.18);
}

.walger-summary-table thead th{
  background:transparent !important;
  border:0 !important;
  font-weight:800;
  color:#16213e;
}
.walger-summary-table td{
  border-top:1px solid rgba(0,0,0,.06) !important;
}

/* Mejor lectura de valores finales */
#importefinal, #importefinaliva{
  font-size:1.05rem;
  font-weight:900;
  color:#e94560;
}

/* Mobile: tabla scrollable sin romper layout */
@media (max-width: 768px){
  #mis-pedidos{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; min-width:760px; }
}

/* ==========================================================
   STEP A5 — Cuenta del cliente (editarcuenta / estadocuenta / mensajes)
   Objetivo: eliminar look cuadrado/legacy con cards, sombras y botones modernos.
   (Sin tocar lógica, solo UI)
========================================================== */

/* Breadcrumbs / encabezados */
.page-editarcuenta section .col-xs-12 > hr,
.page-estadocuenta section .col-xs-12 > hr,
.page-mensajes section .col-xs-12 > hr{
  border:0 !important;
  height:1px !important;
  background:rgba(0,0,0,.08) !important;
  margin:14px 0 !important;
}

.page-editarcuenta section .col-xs-12 h5,
.page-estadocuenta section .col-xs-12 h5,
.page-mensajes section .col-xs-12 h5{
  font-weight:900;
  color:#16213e;
  margin:10px 0;
}

.page-editarcuenta section .col-xs-12 h5 a,
.page-estadocuenta section .col-xs-12 h5 a,
.page-mensajes section .col-xs-12 h5 a{
  color:#667eea !important;
  text-decoration:none;
}

/* Panel central como card */
.page-editarcuenta #formulario-editar-registro,
.page-estadocuenta #page-wrap section .col-lg-9.col-md-9.col-sm-8.col-xs-12,
.page-mensajes #page-wrap section .col-lg-9.col-md-9.col-sm-8.col-xs-12{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:20px;
  box-shadow:0 14px 40px rgba(0,0,0,.07);
  padding:18px 16px;
  margin-bottom:18px;
}

/* Bloques internos (contenedor/inner) más premium */
.page-editarcuenta .contenedor .inner,
.page-estadocuenta .contenedor .inner{
  border-radius:18px !important;
  border:1px solid rgba(0,0,0,.06) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.06) !important;
}

/* Tabla estado de cuenta (y mensajes) como card */
.page-estadocuenta .contenedor,
.page-mensajes .row .col-xs-12{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  padding:12px;
}

.page-estadocuenta table.table,
.page-mensajes table.table{
  margin:0;
  border-radius:14px;
  overflow:hidden;
}

.page-estadocuenta table.table thead th,
.page-mensajes table.table thead th{
  background:rgba(102,126,234,.10) !important;
  border-bottom:1px solid rgba(0,0,0,.06) !important;
  font-weight:900;
  color:#16213e;
}

.page-estadocuenta table.table td,
.page-mensajes table.table td{
  border-top:1px solid rgba(0,0,0,.06) !important;
}

.page-estadocuenta table.table tbody tr:hover,
.page-mensajes table.table tbody tr:hover{
  background:rgba(102,126,234,.06) !important;
}

/* Inputs / selects */
.page-editarcuenta .form-control,
.page-estadocuenta .form-control,
.page-mensajes .form-control{
  border-radius:12px !important;
  border:2px solid rgba(0,0,0,.08) !important;
  height:42px;
  box-shadow:none !important;
}

.page-editarcuenta textarea.form-control,
.page-estadocuenta textarea.form-control{
  height:auto;
}

.page-editarcuenta .form-control:focus,
.page-estadocuenta .form-control:focus,
.page-mensajes .form-control:focus{
  border-color:#667eea !important;
  box-shadow:0 0 0 4px rgba(102,126,234,.18) !important;
}

.page-editarcuenta label.control-label,
.page-estadocuenta label.control-label,
.page-mensajes label.control-label{
  font-weight:900;
  color:#16213e;
}

.page-editarcuenta .help-block,
.page-estadocuenta .help-block{
  color:rgba(0,0,0,.55);
}

/* Botones (incluye .btn-default, .btn-primary y fileinput) */
.page-editarcuenta .btn,
.page-estadocuenta .btn,
.page-mensajes .btn{
  border-radius:999px !important;
  font-weight:800;
  padding:10px 16px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 26px rgba(0,0,0,.07);
  transition:transform .15s ease, box-shadow .15s ease;
}

.page-editarcuenta .btn:hover,
.page-estadocuenta .btn:hover,
.page-mensajes .btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(0,0,0,.10);
}

.page-editarcuenta .btn-primary,
.page-estadocuenta .btn-primary{
  border:0 !important;
  color:#fff !important;
  background:linear-gradient(135deg,#667eea 0%,#764ba2 100%) !important;
}

.page-editarcuenta .btn-default,
.page-mensajes .btn-default{
  background:#fff !important;
}

.page-estadocuenta .fileinput-button{
  border:0 !important;
  background:linear-gradient(135deg,#667eea 0%,#764ba2 100%) !important;
}

/* Mobile: panel central respirable */
@media (max-width: 768px){
  .page-editarcuenta #formulario-editar-registro,
  .page-estadocuenta #page-wrap section .col-lg-9.col-md-9.col-sm-8.col-xs-12,
  .page-mensajes #page-wrap section .col-lg-9.col-md-9.col-sm-8.col-xs-12{
    padding:14px 12px;
    border-radius:18px;
  }
}


/* =========================
   STEP 2.3A6 — TABLAS PRO (Pedidos/Remitos)
   ========================= */
.walger-table-toolbar{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin:10px 0 14px;
  flex-wrap:wrap;
}
.walger-table-count{
  font-weight:800;
  color:#16213e;
  background:rgba(102,126,234,.10);
  border:1px solid rgba(102,126,234,.18);
  padding:8px 12px;
  border-radius:999px;
}
.walger-search{
  position:relative;
  display:flex;
  align-items:center;
}
.walger-search i{
  position:absolute;
  left:12px;
  opacity:.55;
}
.walger-input{
  padding:11px 14px 11px 36px;
  border-radius:999px;
  border:2px solid rgba(0,0,0,.10);
  min-width:260px;
  outline:none;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.walger-input:focus{
  border-color: rgba(102,126,234,.55);
  box-shadow:0 0 0 4px rgba(102,126,234,.18);
}
.walger-table-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
}
.walger-table-wrap{
  width:100%;
  overflow:auto;
}
.walger-table-card table.table{
  margin:0;
}
.walger-table-card .table > thead > tr > th{
  background: linear-gradient(180deg, rgba(248,249,252,1) 0%, rgba(242,244,250,1) 100%);
  border-bottom:1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 5;
}
.walger-table-card .table > tbody > tr > td{
  border-top:1px solid rgba(0,0,0,.06);
  vertical-align:middle;
}
.walger-table-card .table > tbody > tr:hover{
  background: rgba(102,126,234,.06);
}
@media (max-width: 768px){
  .walger-input{ min-width: 220px; width:100%; }
  .walger-search{ width:100%; }
  .walger-table-toolbar{ gap:10px; }
}

/* =========================================================
   STEP A7 — Novedades / Portfolio / Servicios (UI PRO)
   Solo estilos (sin romper funcionalidad)
   ========================================================= */

.walger-center{ text-align:center; }

/* --- Novedades (listado AJAX) --- */
.walger-page-novedades #paginanovedades .novedad{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  padding:22px 22px 18px;
  margin:18px 0;
}
.walger-page-novedades #paginanovedades .novedad img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:14px;
  margin:12px 0 14px;
  background:#f2f4fa;
}
.walger-page-novedades #paginanovedades .novedad .titulo2{
  margin:0;
  font-size:22px;
  letter-spacing:.2px;
  text-transform:none !important;
}
.walger-page-novedades #paginanovedades .novedad p{
  color:rgba(0,0,0,.72);
  margin:0 0 14px;
  font-size:15px;
  line-height:1.65;
}

/* Novedad / Obra (detalle) reutiliza estilo de card */
.walger-page-novedad .row.novedad,
.walger-page-obra .row.novedad{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  padding:22px 22px 18px;
  margin:18px 0;
}
.walger-page-novedad .row.novedad img,
.walger-page-obra .row.novedad img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:14px;
  margin:12px 0 14px;
  background:#f2f4fa;
}
.walger-page-novedad .row.novedad .titulo2,
.walger-page-obra .row.novedad .titulo2{
  text-transform:none !important;
}
.walger-page-novedad .row.novedad p,
.walger-page-obra .row.novedad p{
  color:rgba(0,0,0,.72);
  line-height:1.7;
}
.walger-page-novedades .cargarmas a.btn,
.walger-page-novedades .cargarmas a.btn-danger{
  border-radius:999px !important;
  padding:12px 22px !important;
  box-shadow:0 10px 26px rgba(233,69,96,.22);
}

/* --- Portfolio (modo Isotope) --- */
.walger-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:6px 0 18px;
}
.walger-filters button.btn{
  border-radius:999px !important;
  padding:10px 14px !important;
  border:1px solid rgba(0,0,0,.10) !important;
  background:#fff !important;
  color:#16213e !important;
  font-weight:800;
  text-transform:none !important;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.walger-filters button.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}
.walger-filters button.is-checked,
.walger-filters button.btn.is-checked{
  border-color:rgba(102,126,234,.35) !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color:#fff !important;
}

.walger-page-portfolio .portfolio-inner{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
  padding:0;
}
.walger-page-portfolio .portfolio-inner:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 42px rgba(0,0,0,.10);
}
.walger-page-portfolio .portfolio-contenedor-imagen img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  background:#f2f4fa;
}
.walger-page-portfolio .portfolio-contenedor-detalles{
  padding:16px 16px 18px !important;
}
.walger-page-portfolio .portfolio-titulo h5{
  margin:0 0 12px;
  font-size:16px;
  font-weight:800;
  color:#16213e;
  text-transform:none !important;
}
.walger-page-portfolio .portfolio-inner a.btn{
  border-radius:999px !important;
  padding:10px 14px !important;
}

/* --- Portfolio (modo 2: listado por categorías) --- */
.walger-page-portfolio .portfolio2-categoria{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  padding:12px 14px;
}
.walger-page-portfolio ul.fa-ul{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  padding:14px 18px;
}
.walger-page-portfolio ul.fa-ul li{
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.walger-page-portfolio ul.fa-ul li:last-child{ border-bottom:0; }
.walger-page-portfolio ul.fa-ul a{ font-weight:800; }

/* --- Servicios (dl) --- */
.walger-page-servicios .walger-dl dt{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-bottom:0;
  border-radius:18px 18px 0 0;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  padding:14px 16px;
  margin-top:16px;
  font-size:16px;
  font-weight:900;
  color:#16213e;
}
.walger-page-servicios .walger-dl dd{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-top:0;
  border-radius:0 0 18px 18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  padding:14px 16px 18px;
  margin:0 0 10px;
  color:rgba(0,0,0,.72);
  line-height:1.7;
}

@media (max-width: 768px){
  .walger-page-novedades #paginanovedades .novedad img{ height:200px; }
  .walger-page-portfolio .portfolio-contenedor-imagen img{ height:190px; }
}

/* =====================
   STEP A8 – Consistencia global
   Objetivo: que el tema V2 domine visualmente en TODO el front sin tocar funcionalidades.
   ===================== */

:root{
  --walger-primary:#667eea;
  --walger-secondary:#764ba2;
  --walger-accent:#e94560;
  --walger-dark:#16213e;
  --walger-bg:#f6f7fb;
  --walger-card:#ffffff;
  --walger-border:rgba(0,0,0,.06);
  --walger-shadow:0 12px 34px rgba(0,0,0,.08);
  --walger-radius:18px;
}

body.walger{
  background:var(--walger-bg);
  color:rgba(0,0,0,.78);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Contenedor principal (evitar full-width “plano”) */
#page-wrap.container-fluid{
  padding-left:18px;
  padding-right:18px;
}

/* Tipografía y jerarquía */
h1,h2,h3,h4{
  color:var(--walger-dark);
  font-weight:900;
  letter-spacing:.2px;
}

a{ color:var(--walger-primary); }
a:hover, a:focus{ color:var(--walger-primary); text-decoration:none; }

/* Cards base para la mayoría de contenedores legacy */
.well2, .well3,
.contenedor .inner,
.categoria-inner,
.portfolio-inner,
.novedad,
.remitosinner,
.pedidosinner,
.mensajesinner{
  background:var(--walger-card);
  border:1px solid var(--walger-border);
  border-radius:var(--walger-radius);
  box-shadow:var(--walger-shadow);
}

/* Separaciones más “premium” */
.well2, .well3{ padding:22px 18px; }
.contenedor .inner{ padding:18px; }

/* Inputs */
.form-control, input[type="text"], input[type="email"], input[type="password"], select, textarea{
  border-radius:14px !important;
  border:2px solid rgba(0,0,0,.10) !important;
  box-shadow:none !important;
}
.form-control:focus, input:focus, select:focus, textarea:focus{
  border-color:rgba(102,126,234,.65) !important;
  box-shadow:0 0 0 4px rgba(102,126,234,.12) !important;
  outline:none !important;
}

/* Botones – coherencia V2 (sin romper clases Bootstrap) */
.btn{
  border-radius:999px !important;
  font-weight:800 !important;
  letter-spacing:.2px;
  border:1px solid rgba(0,0,0,.08) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.10);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover{ transform:translateY(-1px); box-shadow:0 14px 34px rgba(0,0,0,.14); }
.btn:active{ transform:translateY(0); box-shadow:0 8px 18px rgba(0,0,0,.10); }

.btn-primary, .btn-success{
  border:0 !important;
  color:#fff !important;
  background:linear-gradient(135deg, var(--walger-primary) 0%, var(--walger-secondary) 100%) !important;
}
.btn-danger{
  border:0 !important;
  color:#fff !important;
  background:linear-gradient(135deg, var(--walger-accent) 0%, #f5576c 100%) !important;
}
.btn-default, .btn-secondary{
  background:#fff !important;
  color:var(--walger-primary) !important;
}

/* Breadcrumbs / caminos (si existen) */
.breadcrumb{
  background:rgba(255,255,255,.9);
  border:1px solid var(--walger-border);
  border-radius:999px;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  padding:10px 14px;
}
.breadcrumb > li + li:before{ color:rgba(0,0,0,.35); }

/* Alerts */
.alert{
  border-radius:var(--walger-radius);
  border:1px solid var(--walger-border);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}

/* Tablas */
.table{
  background:#fff;
  border-radius:var(--walger-radius);
  overflow:hidden;
}
.table > thead > tr > th{
  background:rgba(102,126,234,.08);
  border-bottom:1px solid rgba(0,0,0,.06);
  color:var(--walger-dark);
  font-weight:900;
}

/* Badges – neutralizar offsets legacy */
.badge{ top:auto !important; }

@media (max-width: 768px){
  #page-wrap.container-fluid{ padding-left:12px; padding-right:12px; }
  .well2, .well3{ padding:18px 14px; }
}

/* =========================================================
   Menú móvil tipo drawer (slide desde izquierda)
   - No cambia funcionalidad: solo UI/UX
   - Usa el nav existente (#walger-nav-links)
   ========================================================= */

.walger-drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(10,14,24,.55);
  backdrop-filter: blur(2px);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index: 20040;
}

body.walger-drawer-open .walger-drawer-backdrop{
  opacity:1;
  pointer-events:auto;
}

@media (max-width: 991px){
  body.walger-drawer-open{ overflow:hidden; }

  /* Panel lateral estilo "app" */
  #walger-nav-links{
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    width:min(84vw, 320px);
    max-width:320px;
    background: linear-gradient(180deg, var(--walger-dark-900), var(--walger-dark-800));
    color:#fff;
    border-right:1px solid rgba(255,255,255,.08);
    box-shadow: 0 28px 70px rgba(0,0,0,.35);
    padding:16px 0;
    overflow:auto;
    transform: translateX(-105%);
    transition: transform .22s ease;
    z-index: 20050;
  }
  body.walger-drawer-open #walger-nav-links{ transform: translateX(0); }

  /* Header del drawer */
  #walger-nav-links .walger-drawer-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:6px 16px 14px 16px;
    margin-bottom:6px;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  #walger-nav-links .walger-drawer-title{
    font-weight:800;
    letter-spacing:.6px;
    text-transform:uppercase;
    font-size:14px;
    opacity:.95;
  }

  #walger-nav-links .walger-drawer-close{
    width:38px;
    height:38px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color:#fff;
    font-size:24px;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
  }
  #walger-nav-links .walger-drawer-close:hover{ background: rgba(255,255,255,.10); }

  /* Lista */
  #walger-nav-links .sf-menu{
    display:flex;
    flex-direction:column;
    gap:0;
    padding:4px 0;
    margin:0;
  }
  #walger-nav-links .sf-menu > li{ width:100%; }

  #walger-nav-links .sf-menu > li > a{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    padding:14px 16px;
    border-radius:0;
    background:transparent;
    border:0;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:#fff;
    font-weight:600;
    text-decoration:none;
  }

  #walger-nav-links .sf-menu > li.active > a{
    background: rgba(255,255,255,.06);
    box-shadow: inset 4px 0 0 rgba(102,126,234,.95);
  }
  #walger-nav-links .sf-menu > li > a:hover{
    background: rgba(255,255,255,.05);
  }

  #walger-nav-links .sf-menu ul{ display:none !important; }
}

/* Drawer más angosto en teléfonos chicos (separado, NO anidado) */
@media (max-width: 420px){
  #walger-nav-links{
    width:min(84vw, 280px);
    max-width:280px;
  }
}



/*
 * WALGER V2 - CORRECCIONES MENÚ MÓVIL
 * Soluciones a los 4 problemas identificados
 */

/* =====================================================
   PROBLEMA 1: X visible en escritorio (no debería)
   SOLUCIÓN: Ocultar drawer-header en desktop
   ===================================================== */
.walger-drawer-header {
  display: none; /* Por defecto oculto en desktop */
}

@media (max-width: 991px) {
  .walger-drawer-header {
    display: flex; /* Solo visible en móvil */
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px 14px 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}

/* =====================================================
   PROBLEMA 2: Botón hamburguesa muestra "---" 
   SOLUCIÓN: Mejorar el HTML structure y CSS
   ===================================================== */
.walger-nav-toggle {
  width: 48px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.10);
  display: none; /* Oculto en desktop */
  flex-direction: column; /* CAMBIO: de 'align-items' a flex-direction */
  align-items: center;
  justify-content: center;
  gap: 5px; /* Espacio entre las líneas */
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.walger-nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #3a3a3a;
  border-radius: 999px;
  transition: all 0.3s ease;
}

/* Animación cuando está abierto */
body.walger-drawer-open .walger-nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.walger-drawer-open .walger-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.walger-drawer-open .walger-nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
  .walger-nav-toggle {
    display: flex; /* Mostrar en móvil */
  }
}

/* =====================================================
   PROBLEMA 3: Opciones del menú móvil mal posicionadas
   SOLUCIÓN: Mejorar visibilidad y layout vertical
   ===================================================== */
@media (max-width: 991px) {
  /* Asegurar que el nav se comporte como columna */
  #walger-nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(84vw, 320px);
    max-width: 320px;
    background: linear-gradient(180deg, #1a1a2e, #16213e);
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 28px 70px rgba(0,0,0,.35);
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(-105%);
    transition: transform .22s ease;
    z-index: 20050;
    display: flex;
    flex-direction: column; /* IMPORTANTE: layout vertical */
  }

  body.walger-drawer-open #walger-nav-links {
    transform: translateX(0);
  }

  /* Links del menú: uno arriba del otro */
  #walger-nav-links .walger-nav-link,
  #walger-nav-links .walger-nav-dropdown {
    width: 100%;
    display: block;
  }

  #walger-nav-links .walger-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
  }

  #walger-nav-links .walger-nav-link:hover {
    background: rgba(255,255,255,.08);
  }

  #walger-nav-links .walger-nav-link.is-active {
    background: rgba(102,126,234,.20);
    box-shadow: inset 4px 0 0 #667eea;
  }

  /* Resetear el ::after de desktop */
  #walger-nav-links .walger-nav-link::after {
    display: none;
  }

  /* Dropdowns en móvil */
  #walger-nav-links .walger-nav-dropdown {
    position: relative;
  }

  #walger-nav-links .walger-nav-dd-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-align: left;
  }

  #walger-nav-links .walger-nav-dd-menu {
    position: static; /* No flotante en móvil */
    transform: none;
    width: 100%;
    background: rgba(0,0,0,.25);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    display: none;
  }

  #walger-nav-links .walger-nav-dropdown.is-open .walger-nav-dd-menu {
    display: block;
  }

  #walger-nav-links .walger-nav-dd-item {
    display: block;
    padding: 14px 20px 14px 40px; /* Indentación para sub-items */
    color: rgba(255,255,255,.85) !important;
    border-bottom: 1px solid rgba(255,255,255,.05);
    background: transparent;
    border-radius: 0;
  }

  #walger-nav-links .walger-nav-dd-item:hover {
    background: rgba(255,255,255,.08);
  }

  /* Buscador en móvil: moverlo debajo del nav */
  #encabezado-fijo .walger-search {
    order: 10; /* Moverlo al final */
    width: 100%;
    margin: 0;
    padding: 12px 15px;
  }

  #encabezado-fijo .walger-search-box {
    width: 100%;
    min-width: 0;
  }
}

/* =====================================================
   PROBLEMA 4: Pantalla opaca al cerrar/reabrir
   SOLUCIÓN: Asegurar que backdrop se oculte correctamente
   ===================================================== */
.walger-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,14,24,.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden; /* IMPORTANTE: añadir visibility */
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 20040;
}

body.walger-drawer-open .walger-drawer-backdrop {
  opacity: 1;
  visibility: visible; /* IMPORTANTE: hacer visible */
  pointer-events: auto;
}

/* Prevenir scroll del body cuando drawer está abierto */
body.walger-drawer-open {
  overflow: hidden;
  position: relative;
}

/* =====================================================
   CORRECCIONES ADICIONALES
   ===================================================== */

/* Asegurar que el contenido del nav sea flexible */
#walger-nav-links {
  flex-wrap: wrap;
  gap: 0;
}

/* En desktop: mantener comportamiento horizontal normal */
@media (min-width: 992px) {
  #walger-nav-links {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    flex-direction: row;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }

  .walger-nav-toggle {
    display: none !important;
  }

  .walger-drawer-backdrop {
    display: none !important;
  }
}

/* Ajuste para pequeñas pantallas */
@media (max-width: 420px) {
  #walger-nav-links {
    width: min(90vw, 280px);
    max-width: 280px;
  }
}

/* =====================================================
   OPCIÓN 2: ÍCONO DE BÚSQUEDA DENTRO DEL INPUT (ELEGANTE)
   
   Añade este código al final de tu walger-ui-v2.css
   o crea un archivo separado y cárgalo después.
   ===================================================== */

/* Contenedor del buscador */
#encabezado-fijo .walger-search { 
  margin-left: auto; 
  position: relative;
}

/* Box del buscador */
#encabezado-fijo .walger-search-box {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  border-radius: 12px;
  border: 2px solid #e6e8f0;
  background: #fff;
  height: 40px;
  min-width: 260px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Estado focus */
#encabezado-fijo .walger-search-box:focus-within {
  border-color: rgba(102, 126, 234, 0.65);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

/* Ícono de lupa dentro del input (izquierda) */
#encabezado-fijo .walger-search-box::before {
  content: "\f002"; /* Font Awesome search icon */
  font-family: "FontAwesome";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.35);
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
  transition: color 0.2s ease;
}

/* El ícono cambia de color al hacer focus */
#encabezado-fijo .walger-search-box:focus-within::before {
  color: rgba(102, 126, 234, 0.75);
}

/* Input con espacio para ambos íconos */
#encabezado-fijo .walger-search-box input#search {
  border: 0;
  outline: none;
  padding: 0 46px 0 42px; /* Espacio izq para lupa, der para botón */
  height: 40px;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

#encabezado-fijo .walger-search-box input#search::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

/* Botón con ícono (derecha) */
#encabezado-fijo .walger-search-box button {
  position: absolute;
  right: 0;
  width: 46px;
  height: 40px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  flex-shrink: 0;
}

#encabezado-fijo .walger-search-box button:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.35);
}

#encabezado-fijo .walger-search-box button:active {
  transform: scale(0.96);
}

#encabezado-fijo .walger-search-box button i {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  #encabezado-fijo .walger-search { 
    width: 100%; 
    margin-left: 0;
    margin-top: 8px;
  }
  
  #encabezado-fijo .walger-search-box { 
    min-width: 0; 
    width: 100%; 
  }
  
  #encabezado-fijo .walger-search-box input#search {
    padding: 0 46px 0 38px;
  }
  
  #encabezado-fijo .walger-search-box::before {
    left: 12px;
  }
}

/* =====================================================
   MENÚ LATERAL PRODUCTOS - MEJORAS UI DESKTOP (FIXED)
   Aplica a: #productos-menu (categorías + filtros)
   ===================================================== */

/* Contenedor principal del sidebar */
#productos-menu{
  background:#fff !important;
  border:1px solid rgba(0,0,0,.06) !important;
  border-radius:20px !important;
  box-shadow:0 12px 32px rgba(0,0,0,.08) !important;
  padding:0 !important;
  margin-bottom:20px;
  overflow:hidden;
  animation: walgerSlideInLeft .4s ease-out;
}

@keyframes walgerSlideInLeft{
  from{ opacity:0; transform:translateX(-20px); }
  to{ opacity:1; transform:translateX(0); }
}

/* Títulos de sección (Categorías, Filtrar) */
#productos-menu > h3.titulo,
#productos-menu > h3.bold.titulo{
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#1a1a2e !important;
  margin:0 !important;
  padding:18px 20px;
  background:linear-gradient(135deg, rgba(102,126,234,.08) 0%, rgba(118,75,162,.06) 100%);
  border-bottom:2px solid rgba(102,126,234,.15);
  position:relative;
}

#productos-menu > h3.titulo::after,
#productos-menu > h3.bold.titulo::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:20px;
  width:60px;
  height:3px;
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius:999px;
}

/* Lista de categorías */
#productos-categorias{
  list-style:none;
  padding:10px 0 !important;
  margin:0 !important;
}

/* Cada item: lo hacemos flex en el LI (porque el <i> está fuera del <a>) */
#productos-categorias > li{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  padding:0;
  border-bottom:1px solid rgba(0,0,0,.04);
  transition:background .2s ease;
}

#productos-categorias > li:last-child{ border-bottom:0; }

#productos-categorias > li:hover{
  background:rgba(102,126,234,.08);
}

/* Ícono (hermano del <a>) */
#productos-categorias > li > i.fa-check{
  color:#667eea !important;
  font-size:14px;
  margin-left:20px;              /* alineación */
  flex:0 0 auto;
  transition:transform .2s ease;
}

#productos-categorias > li:hover > i.fa-check{
  transform:scale(1.15);
}

/* Link de categoría: ocupa el resto */
#productos-categorias > li > a{
  flex:1 1 auto;
  display:block;
  padding:14px 20px 14px 0;       /* ya tenemos margen en ícono */
  color:#1a1a2e !important;
  text-decoration:none !important;
  font-weight:600;
  font-size:14px;
  transition:all .2s ease;
}

#productos-categorias > li:hover > a{
  color:#667eea !important;
  transform:translateX(4px);
}

/* Focus accesible */
#productos-categorias > li > a:focus{
  outline:2px solid #667eea;
  outline-offset:-2px;
}

/* Sección filtros: OJO con tu estructura -> acotar padding al bloque posterior al H3 "Filtrar" */
#productos-menu > h3.titulo + div{
  padding:0 20px 20px 20px;
}

/* Labels de filtros */
#productos-menu label.control-label{
  font-weight:800;
  font-size:13px;
  color:#1a1a2e;
  margin:16px 0 8px;
  display:block;
  text-transform:uppercase;
  letter-spacing:.05em;
}

/* Selects */
#productos-menu select.form-control{
  border-radius:12px !important;
  border:2px solid rgba(0,0,0,.10) !important;
  height:44px;
  font-size:14px;
  font-weight:600;
  color:#1a1a2e;
  background:#fff;
  padding:0 16px;
  transition:all .2s ease;
  appearance:none;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:20px;
  padding-right:40px;
}

#productos-menu select.form-control:hover{
  border-color:rgba(102,126,234,.35);
}

#productos-menu select.form-control:focus{
  outline:none;
  border-color:rgba(102,126,234,.65) !important;
  box-shadow:0 0 0 4px rgba(102,126,234,.12) !important;
}

#productos-menu select.form-control:focus-visible{
  outline:2px solid #667eea;
  outline-offset:2px;
}

/* Inputs ocultos */
#productos-menu input[type="hidden"]{ display:none; }

/* Activos opcionales */
#productos-categorias > li.active{
  background:rgba(102,126,234,.12);
  border-left:4px solid #667eea;
}
#productos-categorias > li.active > a{
  color:#667eea !important;
  font-weight:800;
}

#productos-menu select.form-control.has-value{
  border-color:rgba(102,126,234,.45);
  background-color:rgba(102,126,234,.04);
}

/* Responsive */
@media (max-width: 991px) and (min-width: 768px){
  #productos-menu{ margin-bottom:25px; }
  #productos-categorias > li > a{ font-size:13px; padding:12px 18px 12px 0; }
  #productos-menu > h3.titulo,
  #productos-menu > h3.bold.titulo{ padding:16px 18px; font-size:15px !important; }
  #productos-categorias > li > i.fa-check{ margin-left:18px; }
}

@media (max-width: 767px){
  #productos-menu{ border-radius:16px !important; }
  #productos-menu > h3.titulo,
  #productos-menu > h3.bold.titulo{ padding:14px 16px; font-size:14px !important; }
  #productos-categorias > li > a{ font-size:14px; padding:12px 16px 12px 0; }
  #productos-categorias > li > i.fa-check{ margin-left:16px; }
  #productos-menu > h3.titulo + div{ padding:0 16px 16px 16px; }
  #productos-menu select.form-control{ height:42px; }
}


/* =====================================================
   WALGER - TOPBAR CONTACTO RESPONSIVE (VERSIÓN LISTA VERTICAL)
   Items uno arriba del otro, a lo ancho, como el botón de WhatsApp
   ===================================================== */

/* =========================
   DESKTOP (>=768px)
   ========================= */
@media (min-width: 768px) {
  .walger-topbar{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color:#fff;
    font-size:14px;
  }

  .walger-topbar .walger-topbar-content{
    max-width:1200px;
    margin:0 auto;
    padding:12px 15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
  }

  .walger-topbar .walger-contact-info{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    align-items:center;
  }

  .walger-topbar .walger-contact-item{
    display:inline-flex;
    align-items:center;
    gap:8px;
    opacity:.95;
    font-size:13px;
    transition:opacity .2s ease;
  }
  .walger-topbar .walger-contact-item:hover{ opacity:1; }

  .walger-topbar .walger-contact-item i{
    color:#00d4ff;
    font-size:14px;
  }

  .walger-topbar .walger-contact-item a{
    color:inherit;
    text-decoration:none;
    transition:color .2s ease;
  }
  .walger-topbar .walger-contact-item a:hover{ color:#00d4ff; }

  .walger-topbar .walger-whatsapp-btn{
    background:#25D366;
    color:#fff;
    padding:10px 20px;
    border-radius:25px;
    text-decoration:none !important;
    font-weight:700;
    font-size:14px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:all .25s ease;
    box-shadow:0 4px 12px rgba(37,211,102,.25);
  }
  .walger-topbar .walger-whatsapp-btn:hover{
    transform:scale(1.05);
    box-shadow:0 6px 18px rgba(37,211,102,.35);
    background:#22c55e;
  }
  .walger-topbar .walger-whatsapp-btn i{ font-size:18px; }
}

/* =========================
   MÓVIL (<768px) - LISTA VERTICAL (UNO ARRIBA DEL OTRO)
   ========================= */
@media (max-width: 767px) {
  .walger-topbar{
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    padding:0;
  }

  .walger-topbar .walger-topbar-content{
    max-width:100%;
    padding:14px;
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  /* Contenedor de info: columna vertical */
  .walger-topbar .walger-contact-info{
    display:flex;
    flex-direction:column;
    gap:10px;
    width:100%;
  }

  /* Cada item ocupa todo el ancho (como el botón de WhatsApp) */
  .walger-topbar .walger-contact-item{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    padding:14px 16px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-radius:16px;
    border:1px solid rgba(255,255,255,.12);
    transition:all .2s ease;
    text-align:left;
    width:100%;
    color:#fff;
    min-height:60px;
  }
  
  .walger-topbar .walger-contact-item:active{
    transform:scale(.98);
    background:rgba(255,255,255,.14);
  }

  /* Ícono circular a la izquierda */
  .walger-topbar .walger-contact-item i{
    font-size:20px;
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(0,212,255,.15);
    color:#00d4ff !important;
    flex-shrink:0;
  }

  /* Texto a la derecha del ícono */
  .walger-topbar .walger-contact-item a,
  .walger-topbar .walger-contact-item span{
    font-size:14px;
    line-height:1.4;
    display:block;
    word-break:break-word;
    color:#fff !important;
    text-decoration:none !important;
    flex:1;
  }

  /* Si el item completo es un link */
  .walger-topbar a.walger-contact-item{
    color:#fff !important;
    text-decoration:none !important;
  }

  /* WhatsApp: igual que antes (verde, destacado) */
  .walger-topbar .walger-whatsapp-btn{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:16px 20px;
    background:#25D366;
    border-radius:16px;
    font-weight:800;
    font-size:15px;
    color:#fff !important;
    text-decoration:none !important;
    box-shadow:0 8px 24px rgba(37,211,102,.35);
    border:2px solid rgba(255,255,255,.2);
    transition:all .2s ease;
  }
  
  .walger-topbar .walger-whatsapp-btn:active{ 
    transform:scale(.98); 
  }
  
  .walger-topbar .walger-whatsapp-btn i{
    font-size:22px;
    width:auto !important;
    height:auto !important;
    background:none !important;
    border-radius:0 !important;
    color:#fff !important;
  }

  /* Animación suave */
  .walger-topbar .walger-contact-item{
    animation: walgerFadeInUp .4s ease-out backwards;
  }
  .walger-topbar .walger-contact-item:nth-child(1){ animation-delay:.05s; }
  .walger-topbar .walger-contact-item:nth-child(2){ animation-delay:.1s; }
  .walger-topbar .walger-contact-item:nth-child(3){ animation-delay:.15s; }
  .walger-topbar .walger-whatsapp-btn{ 
    animation: walgerFadeInUp .4s ease-out .2s backwards; 
  }

  @keyframes walgerFadeInUp{
    from{ opacity:0; transform:translateY(10px); }
    to{ opacity:1; transform:translateY(0); }
  }
}

/* =========================
   MÓVIL PEQUEÑO (<480px)
   ========================= */
@media (max-width: 479px){
  .walger-topbar .walger-topbar-content{ 
    padding:12px; 
    gap:8px; 
  }
  
  .walger-topbar .walger-contact-info{ 
    gap:8px; 
  }
  
  .walger-topbar .walger-contact-item{ 
    padding:12px 14px; 
    min-height:56px; 
  }
  
  .walger-topbar .walger-contact-item i{ 
    width:40px; 
    height:40px; 
    font-size:18px; 
  }
  
  .walger-topbar .walger-contact-item a,
  .walger-topbar .walger-contact-item span{ 
    font-size:13px; 
  }
  
  .walger-topbar .walger-whatsapp-btn{ 
    padding:14px 18px; 
    font-size:14px; 
  }
}

/* =========================
   TABLET (768 - 991px)
   ========================= */
@media (max-width: 991px) and (min-width: 768px){
  .walger-topbar .walger-topbar-content{ 
    padding:10px 15px; 
  }
  
  .walger-topbar .walger-contact-info{ 
    gap:14px; 
  }
  
  .walger-topbar .walger-contact-item{ 
    font-size:12px; 
  }
}

/* =========================
   ACCESIBILIDAD
   ========================= */
.walger-topbar .walger-contact-item:focus,
.walger-topbar .walger-whatsapp-btn:focus{
  outline:2px solid #00d4ff;
  outline-offset:2px;
}

/* =========================
   NOTAS:
   - Ahora los items van uno arriba del otro (flex-direction: column)
   - Cada item tiene flex-direction: row (ícono a la izq, texto a la der)
   - Todos ocupan el 100% del ancho (width: 100%)
   - El botón de WhatsApp mantiene su estilo verde original
   - Los íconos son circulares de 44x44px
   - Texto 14px legible
   - Funciona desde 350px en adelante
   ========================= */



/* =====================================================
   TÍTULOS CON ÍCONOS - VERSIÓN SIMPLIFICADA
   SOLUCIÓN DIRECTA QUE FUNCIONA
   ===================================================== */

/* Estilo base del título */
h3.titulo,
.titulo {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #1a1a2e !important;
  margin: 20px 0 !important;
  padding: 22px 30px 22px 75px !important;
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08) !important;
  border: 1px solid #e6e8f0 !important;
  text-transform: none !important;
  position: relative;
}

/* Círculo de fondo para TODOS los íconos */
h3.titulo::before,
.titulo::before {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(102,126,234,0.25);
  
  /* Font Awesome */
  font-family: "FontAwesome" !important;
  font-weight: normal !important;
  font-style: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* =========================
   ÍCONOS ESPECÍFICOS
   ========================= */

/* Servicios */
h3.titulo-servicios::before,
.titulo-servicios::before {
  content: "\f0ad" !important; /* fa-wrench */
}

/* Categorías */
h3.titulo-categorias::before,
.titulo-categorias::before {
  content: "\f03a" !important; /* fa-list */
}

/* Portfolio */
h3.titulo-portfolio::before,
.titulo-portfolio::before {
  content: "\f07c" !important; /* fa-folder-open */
}

/* Novedades */
h3.titulo-novedades::before,
.titulo-novedades::before {
  content: "\f1ea" !important; /* fa-newspaper-o */
}

/* Formas de Pago */
h3.titulo-pagos::before,
.titulo-pagos::before {
  content: "\f09d" !important; /* fa-credit-card */
}

/* Contacto */
h3.titulo-contacto::before,
.titulo-contacto::before {
  content: "\f0e0" !important; /* fa-envelope */
}

/* Productos */
h3.titulo-productos::before,
.titulo-productos::before {
  content: "\f07a" !important; /* fa-shopping-cart */
}

/* Cuenta */
h3.titulo-cuenta::before,
.titulo-cuenta::before {
  content: "\f007" !important; /* fa-user */
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 767px) {
  h3.titulo,
  .titulo {
    font-size: 22px !important;
    padding: 18px 24px 18px 65px !important;
  }
  
  h3.titulo::before,
  .titulo::before {
    left: 18px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* =========================
   FIX ICONOS TITULOS (FA 4.7)
   ========================= */

h3.titulo::before,
.titulo::before{
  /* si no hay clase específica, al menos muestra algo */
  content:"\f111";
  
  position:absolute;
  left:22px;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);
  color:#fff;
  font-size:20px;
  box-shadow:0 4px 12px rgba(102,126,234,.25);

  /* FA 4.7 correcto */
  font-family:"FontAwesome" !important;
  font-weight:400 !important;   /* <- CLAVE */
  font-style:normal !important;
  line-height:1 !important;
  text-rendering:auto;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Iconos por clase */
.titulo-servicios::before{ content:"\f0ad"; }  /* wrench */
.titulo-categorias::before{ content:"\f03a"; } /* list */
.titulo-portfolio::before{ content:"\f07c"; }  /* folder-open */
.titulo-novedades::before{ content:"\f1ea"; }  /* newspaper-o */
.titulo-pagos::before{ content:"\f09d"; }      /* credit-card */
.titulo-contacto::before{ content:"\f0e0"; }   /* envelope */
.titulo-productos::before{ content:"\f07a"; }  /* shopping-cart */
.titulo-cuenta::before{ content:"\f007"; }     /* user */

/* Responsive */
@media (max-width: 767px){
  h3.titulo, .titulo{
    font-size:22px !important;
    padding:18px 24px 18px 65px !important;
  }
  h3.titulo::before, .titulo::before{
    left:18px;
    width:40px;
    height:40px;
    font-size:18px;
  }
}


/* =====================================================
   TÍTULOS CON ÍCONOS - FIX REAL (FA 4.7)
   - Agrega content base para que el ::before exista
   - Permite íconos por página usando body.page-<slug>
   ===================================================== */

/* Base títulos */
h3.titulo,
.titulo{
  position: relative;
  padding-left: 75px !important; /* deja espacio al icono */
}

/* Base icono (SIEMPRE renderiza porque tiene content) */
h3.titulo::before,
.titulo::before{
  content: "\f111"; /* fa-circle (base) */
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(102,126,234,0.25);

  font-family: "FontAwesome" !important; /* FA 4.7 */
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== ÍCONOS POR PÁGINA (GLOBAL) ====== */
/* Servicios */
body.page-servicios h3.titulo::before,
body.page-servicios .titulo::before{
  content: "\f0ad"; /* fa-wrench */
}

/* Productos / Catálogo */
body.page-productos h3.titulo::before,
body.page-productos .titulo::before{
  content: "\f07a"; /* fa-shopping-cart */
}

/* Contacto */
body.page-contacto h3.titulo::before,
body.page-contacto .titulo::before{
  content: "\f0e0"; /* fa-envelope */
}

/* Portfolio */
body.page-portfolio h3.titulo::before,
body.page-portfolio .titulo::before{
  content: "\f07c"; /* fa-folder-open */
}

/* Novedades */
body.page-novedades h3.titulo::before,
body.page-novedades .titulo::before{
  content: "\f1ea"; /* fa-newspaper-o */
}

/* Formas de pago */
body.page-formaspago h3.titulo::before,
body.page-formaspago .titulo::before{
  content: "\f09d"; /* fa-credit-card */
}

/* Responsive */
@media (max-width: 767px){
  h3.titulo,
  .titulo{
    padding-left: 65px !important;
  }
  h3.titulo::before,
  .titulo::before{
    left: 18px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}


