/*
Theme Name: Sabor Caleño Landing Administrable
Theme URI: https://www.majopublicidad.com/
Author: Majo Publicidad
Author URI: http://www.majopublicidad.com/
Description: Tema WordPress administrable para Pollos Sabor Caleño, compatible con WooCommerce, sliders, galería, reseñas Google, pedidos por WhatsApp, clientes y estadísticas.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sabor-caleno
*/


    /* ===== COCOGOOSE simulation via @font-face (users can drop real file in assets/) ===== */
    @font-face {
      font-family: 'Cocogoose';
      src: url('assets/fonts/Cocogoose.woff2') format('woff2'),
           url('assets/fonts/Cocogoose.woff') format('woff');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }

    /* ===== CSS VARIABLES (controlled by admin panel) ===== */
    :root {
      --primary: #760719;
      --primary2: #4f0310;
      --accent: #e61c47;
      --yellow: #ffc21b;
      --bg: #ffffff;
      --bg2: #fff6dc;
      --white: #fff;
      --dark: #27040a;
      --muted: #7b5260;
      --green: #25D366;
      --r: 26px;
      --shadow: 0 22px 60px rgba(48,2,12,.23);
      --font-display: 'Cocogoose', 'Barlow Condensed', 'Nunito', system-ui, sans-serif;
      --font-body: 'Nunito', system-ui, sans-serif;
      --text-primary: #760719;
      --text-secondary: #27040a;
      --text-muted: #7b5260;
    }

    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text-secondary);
      font-family: var(--font-body);
      overflow-x: hidden;
      transition: background 0.3s, color 0.3s;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; display: block; }
    .shell { width: min(1180px, 92vw); margin: auto; }

    /* ===== ADMIN TOGGLE BUTTON ===== */
    #adminToggleBtn {
      position: fixed;
      top: 12px;
      right: 12px;
      z-index: 9999;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 8px 16px;
      font-family: var(--font-body);
      font-weight: 900;
      font-size: .78rem;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(0,0,0,.3);
      display: flex;
      align-items: center;
      gap: 6px;
      transition: transform .2s;
    }
    #adminToggleBtn:hover { transform: scale(1.05); }

    /* ===== ADMIN PANEL ===== */
    #adminPanel {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9000;
      background: rgba(0,0,0,.55);
      backdrop-filter: blur(4px);
    }
    #adminPanel.open { display: flex; align-items: flex-start; justify-content: flex-end; }
    #adminInner {
      width: min(480px, 96vw);
      height: 100vh;
      background: #fff;
      overflow-y: auto;
      box-shadow: -8px 0 60px rgba(0,0,0,.3);
      display: flex;
      flex-direction: column;
    }
    .admin-header {
      background: var(--primary);
      color: #fff;
      padding: 1.2rem 1.4rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .admin-header h2 {
      font-family: var(--font-display);
      font-size: 1.35rem;
      letter-spacing: .03em;
    }
    #adminClose {
      background: rgba(255,255,255,.2);
      border: none;
      color: #fff;
      border-radius: 50%;
      width: 34px;
      height: 34px;
      font-size: 1.3rem;
      cursor: pointer;
      display: grid;
      place-items: center;
    }
    .admin-tabs {
      display: flex;
      overflow-x: auto;
      background: #f8f2f3;
      border-bottom: 2px solid rgba(118,7,25,.1);
      gap: 0;
    }
    .admin-tab {
      border: none;
      background: transparent;
      padding: .7rem .9rem;
      font-family: var(--font-body);
      font-weight: 900;
      font-size: .75rem;
      cursor: pointer;
      white-space: nowrap;
      color: var(--muted);
      border-bottom: 3px solid transparent;
      transition: all .2s;
    }
    .admin-tab.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
      background: #fff;
    }
    .admin-body { padding: 1.2rem; flex: 1; }
    .admin-section { display: none; }
    .admin-section.active { display: block; }
    .form-row { margin-bottom: 1.1rem; }
    .form-row label {
      display: block;
      font-weight: 900;
      font-size: .82rem;
      color: var(--primary);
      margin-bottom: .4rem;
    }
    .form-row small {
      display: block;
      font-size: .72rem;
      color: var(--muted);
      margin-bottom: .4rem;
    }
    .form-row input[type="text"],
    .form-row input[type="url"],
    .form-row input[type="number"],
    .form-row textarea,
    .form-row select {
      width: 100%;
      border: 2px solid rgba(118,7,25,.15);
      border-radius: 12px;
      padding: .65rem .85rem;
      font-family: var(--font-body);
      font-size: .9rem;
      outline: none;
      transition: border-color .2s;
    }
    .form-row input:focus, .form-row textarea:focus, .form-row select:focus {
      border-color: var(--accent);
    }
    .form-row input[type="color"] {
      width: 100%;
      height: 48px;
      border: 2px solid rgba(118,7,25,.15);
      border-radius: 12px;
      padding: 2px 8px;
      cursor: pointer;
    }
    .color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
    .btn-save {
      width: 100%;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 14px;
      padding: .85rem;
      font-family: var(--font-body);
      font-weight: 900;
      font-size: .95rem;
      cursor: pointer;
      margin-top: .5rem;
      transition: transform .15s, box-shadow .15s;
    }
    .btn-save:hover { transform: scale(1.02); box-shadow: 0 8px 25px rgba(118,7,25,.3); }
    .btn-secondary {
      width: 100%;
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      border-radius: 14px;
      padding: .75rem;
      font-family: var(--font-body);
      font-weight: 900;
      font-size: .9rem;
      cursor: pointer;
      margin-top: .5rem;
      transition: all .15s;
    }
    .btn-secondary:hover { background: var(--primary); color: #fff; }
    .sep { border: none; border-top: 2px dashed rgba(118,7,25,.1); margin: 1.2rem 0; }
    .product-admin-card {
      background: #fff;
      border: 2px solid rgba(118,7,25,.1);
      border-radius: 16px;
      padding: 1rem;
      margin-bottom: .8rem;
      cursor: pointer;
      transition: border-color .2s;
    }
    .product-admin-card:hover { border-color: var(--accent); }
    .product-admin-card .pname { font-weight: 900; color: var(--primary); font-size: .95rem; }
    .product-admin-card .pprice { color: var(--accent); font-weight: 900; font-size: .85rem; }
    .product-admin-card .ptag { display: inline-block; font-size: .7rem; background: var(--yellow); color: var(--primary); border-radius: 999px; padding: 2px 8px; font-weight: 900; margin-top: .25rem; }
    .btn-add-product {
      width: 100%;
      background: linear-gradient(135deg, var(--yellow), #ffda6a);
      color: var(--primary);
      border: none;
      border-radius: 14px;
      padding: .85rem;
      font-family: var(--font-body);
      font-weight: 900;
      font-size: .95rem;
      cursor: pointer;
      margin-bottom: .8rem;
      box-shadow: 0 6px 20px rgba(255,194,27,.3);
    }

    /* MODAL PRODUCT EDIT */
    #productModal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(0,0,0,.6);
      backdrop-filter: blur(4px);
      align-items: center;
      justify-content: center;
    }
    #productModal.open { display: flex; }
    #productModalInner {
      background: #fff;
      border-radius: 24px;
      width: min(500px, 94vw);
      max-height: 92vh;
      overflow-y: auto;
      padding: 1.5rem;
      box-shadow: 0 30px 80px rgba(0,0,0,.3);
    }
    .modal-title {
      font-family: var(--font-display);
      font-size: 1.4rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }

    /* ===== NAVBAR ===== */
    .top {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,247,220,.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(118,7,25,.12);
    }
    .nav {
      height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: .75rem;
    }
    .logo-img {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      object-fit: contain;
      background: transparent;
    }
    .logo-placeholder {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      background: var(--primary);
      display: grid;
      place-items: center;
      color: #fff;
      font-family: var(--font-display);
      font-size: 1.4rem;
      font-weight: 900;
      box-shadow: inset -6px -6px 0 rgba(0,0,0,.13);
    }
    .brand-text strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.35rem;
      line-height: .9;
      color: var(--text-primary);
    }
    .brand-text span {
      display: block;
      font-size: .73rem;
      font-weight: 900;
      color: var(--accent);
      letter-spacing: .05em;
    }
    .nav-links {
      display: flex;
      gap: 1rem;
      align-items: center;
    }
    .nav-links a {
      font-weight: 900;
      color: var(--text-primary);
      font-size: .92rem;
    }
    .social-icons {
      display: flex;
      gap: .5rem;
      align-items: center;
    }
    .social-icon {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      transition: transform .2s, opacity .2s;
    }
    .social-icon:hover { transform: scale(1.12); opacity: .85; }
    .social-icon.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
    .social-icon.fb { background: #1877f2; }
    .social-icon.tk { background: #010101; }
    .social-icon svg { width: 18px; height: 18px; fill: #fff; }

    /* ===== BTN ===== */
    .btn {
      border: 0;
      border-radius: 999px;
      padding: .78rem 1.08rem;
      background: var(--accent);
      color: #fff;
      font-weight: 900;
      font-family: var(--font-body);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      box-shadow: 0 12px 30px rgba(230,28,71,.28);
      cursor: pointer;
    }
    .btn.yellow { background: var(--yellow); color: var(--primary); box-shadow: 0 12px 30px rgba(255,194,27,.32); }
    .btn.green { background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.32); }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      isolation: isolate;
      padding: 44px 0 70px;
      overflow: hidden;
      min-height: var(--hero-min-height, 680px);
      display: flex;
      align-items: center;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 15% 10%, rgba(230,28,71,.18), transparent 32%),
                  radial-gradient(circle at 80% 8%, rgba(255,194,27,.35), transparent 32%);
      z-index: 1;
      pointer-events: none;
    }
    .hero-bg-slider {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      background: linear-gradient(135deg, var(--bg), #fff);
    }
    .hero-bg-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      background-image: var(--hero-bg-desktop, linear-gradient(135deg, var(--bg), #fff));
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      transform: scale(1.03);
      transition: opacity .85s ease, transform 6s ease;
    }
    .hero-bg-slide.active {
      opacity: 1;
      transform: scale(1);
    }
    .hero-bg-overlay {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .hero-bg-dots {
      position: absolute;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      z-index: 4;
      display: flex;
      gap: .5rem;
    }
    .hero-bg-dot {
      width: 34px;
      height: 9px;
      border: 0;
      border-radius: 999px;
      background: rgba(118,7,25,.30);
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,.12);
    }
    .hero-bg-dot.active { background: var(--accent); }
    .hero > .shell { position: relative; z-index: 2; }
    .grid-hero {
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      gap: 2rem;
      align-items: center;
    }
    .pill {
      display: inline-flex;
      gap: .5rem;
      align-items: center;
      background: #fff;
      border: 2px solid rgba(118,7,25,.1);
      border-radius: 999px;
      padding: .4rem .78rem;
      color: var(--text-primary);
      font-weight: 900;
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 6vw, 5.7rem);
      line-height: .88;
      margin: 1rem 0;
      color: var(--text-primary);
      letter-spacing: -.01em;
    }
    .hero h1 b { color: var(--accent); }
    .hero p { font-size: 1.08rem; line-height: 1.7; color: var(--text-muted); max-width: 650px; }
    .hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.25rem 0; }
    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: .8rem;
      margin-top: 1.5rem;
    }
    .stat {
      background: #fff;
      border: 1px solid rgba(118,7,25,.1);
      border-radius: 20px;
      padding: 1rem;
      box-shadow: 0 10px 30px rgba(118,7,25,.08);
    }
    .stat strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.55rem;
      color: var(--accent);
      line-height: 1;
    }
    .stat span { font-weight: 900; color: var(--text-primary); font-size: .78rem; }
    .mascot-card {
      position: relative;
      min-height: 570px;
      border-radius: 44px;
      background: linear-gradient(135deg, var(--primary) 0%, #a30d24 48%, var(--yellow) 48%, var(--yellow) 100%);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .mascot-card img {
      position: absolute;
      left: 50%;
      bottom: -80px;
      transform: translateX(-50%);
      width: min(94%, 560px);
      filter: drop-shadow(0 25px 28px rgba(40,0,8,.25));
      animation: float 4s ease-in-out infinite;
    }
    .badge {
      position: absolute;
      right: 1rem;
      top: 1rem;
      background: #fff;
      color: var(--primary);
      border-radius: 22px;
      padding: 1rem;
      font-weight: 900;
      box-shadow: 0 10px 25px rgba(0,0,0,.16);
    }
    @keyframes float { 50% { transform: translateX(-50%) translateY(-14px); } }

    /* ===== SLIDER ===== */
    .slider-wrap { margin-top: -30px; position: relative; z-index: 4; }
    .slider {
      background: var(--primary);
      border-radius: 34px;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      height: 330px;
    }
    .slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: .7s ease;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      align-items: center;
      padding: 2rem;
      background-size: cover;
      background-position: center;
    }
    .slide.active { opacity: 1; }
    .slide-overlay {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .slide > div { position: relative; z-index: 1; }
    .slide > img { position: relative; z-index: 1; }
    .slide h2 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 4rem);
      line-height: .9;
      margin: 0;
      color: #fff;
    }
    .slide p { color: #fff6dc; font-size: 1.02rem; font-weight: 800; max-width: 540px; }
    .slide .big { font-family: var(--font-display); font-size: 6rem; text-align: center; color: var(--yellow); text-shadow: 0 12px 25px rgba(0,0,0,.2); }
    .slide img { max-height: 320px; margin: auto; display: block; }
    .dots { position: absolute; left: 2rem; bottom: 1.4rem; display: flex; gap: .45rem; z-index: 2; }
    .dot {
      width: 36px; height: 8px; border-radius: 999px;
      border: 0; background: rgba(255,255,255,.38); cursor: pointer;
    }
    .dot.active { background: var(--yellow); }

    /* ===== SECTION ===== */
    .section { padding: 72px 0; }
    .title-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
    .eyebrow { font-weight: 900; color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; }
    .h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); line-height: .9; margin: .2rem 0; color: var(--text-primary); }
    .lead { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

    /* ===== CATBAR ===== */
    .catbar { display: flex; gap: .6rem; overflow: auto; padding: .2rem 0 1rem; }
    .catbar button {
      border: 2px solid rgba(118,7,25,.1);
      background: #fff;
      color: var(--text-primary);
      border-radius: 999px;
      padding: .65rem .9rem;
      font-family: var(--font-body);
      font-weight: 900;
      white-space: nowrap;
      cursor: pointer;
    }
    .catbar button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

    /* ===== PRODUCT GRID ===== */
    .menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .product {
      background: #fff;
      border: 1px solid rgba(118,7,25,.12);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 14px 40px rgba(118,7,25,.08);
      display: flex;
      flex-direction: column;
      min-height: 260px;
      transition: transform .2s, box-shadow .2s;
    }
    .product:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(118,7,25,.14); }
    .product-top {
      padding: 1rem;
      background: linear-gradient(135deg, var(--bg2), #fff);
      display: flex;
      justify-content: space-between;
      gap: .8rem;
      position: relative;
    }
    .product-photo {
      width: 100%;
      height: 160px;
      object-fit: cover;
      display: block;
      cursor: zoom-in;
      transition: transform .3s;
    }
    .product-photo:hover { transform: scale(1.04); }
    .product-photo-wrapper { overflow: hidden; position: relative; }
    .ico { width: 64px; height: 64px; border-radius: 22px; background: var(--yellow); display: grid; place-items: center; font-size: 2rem; }
    .product h3 { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; margin: 0; color: var(--text-primary); }
    .product small { font-weight: 900; color: var(--text-muted); }
    .product-body { padding: 1rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
    .price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
    .price { font-family: var(--font-display); font-size: 1.55rem; font-weight: 900; color: var(--accent); }
    .price-old { font-size: .95rem; text-decoration: line-through; color: var(--text-muted); font-weight: 900; }
    .product-tag {
      display: inline-block;
      font-size: .68rem;
      font-weight: 900;
      border-radius: 999px;
      padding: 3px 10px;
      text-transform: uppercase;
      letter-spacing: .05em;
    }
    .tag-destacado { background: var(--yellow); color: var(--primary); }
    .tag-mas-vendido { background: var(--accent); color: #fff; }
    .tag-nuevo { background: #22c55e; color: #fff; }
    .add {
      border: 0;
      background: var(--primary);
      color: #fff;
      border-radius: 14px;
      padding: .75rem;
      font-family: var(--font-body);
      font-weight: 900;
      cursor: pointer;
      transition: background .2s;
    }
    .add:hover { background: var(--accent); }

    /* WooCommerce-compatible data attributes (hidden) */
    .wc-product { display: contents; }

    /* ===== ZOOM LIGHTBOX ===== */
    #zoomOverlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 8000;
      background: rgba(0,0,0,.88);
      align-items: center;
      justify-content: center;
      cursor: zoom-out;
    }
    #zoomOverlay.open { display: flex; }
    #zoomOverlay img { max-width: 90vw; max-height: 90vh; border-radius: 16px; object-fit: contain; }

    /* ===== GOOGLE REVIEWS SECTION ===== */
    .reviews-section { background: linear-gradient(135deg, #fff7dc, #fff); padding: 72px 0; }
    .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
    .review-card {
      background: #fff;
      border-radius: 20px;
      padding: 1.4rem;
      box-shadow: 0 8px 30px rgba(118,7,25,.08);
      border: 1px solid rgba(118,7,25,.08);
    }
    .review-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: .5rem; }
    .review-text { font-size: .92rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: .8rem; }
    .review-author { font-weight: 900; color: var(--primary); font-size: .85rem; }
    .google-badge {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: #fff;
      border: 2px solid #e8e8e8;
      border-radius: 12px;
      padding: .7rem 1.2rem;
      font-weight: 900;
      font-size: .85rem;
      color: #444;
      margin-top: 1rem;
    }
    .google-badge svg { width: 22px; height: 22px; }
    .leave-review-btn {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: #fff;
      border: 2px solid rgba(118,7,25,.15);
      border-radius: 999px;
      padding: .7rem 1.4rem;
      font-family: var(--font-body);
      font-weight: 900;
      color: var(--primary);
      cursor: pointer;
      font-size: .9rem;
      margin-top: 1rem;
      transition: all .2s;
    }
    .leave-review-btn:hover { background: var(--primary); color: #fff; }

    /* ===== GALLERY CASCADE ===== */
    .gallery-section { padding: 72px 0; }
    .gallery-columns {
      column-count: 3;
      column-gap: 1rem;
      margin-top: 1.6rem;
    }
    .gallery-item {
      break-inside: avoid;
      margin-bottom: 1rem;
      border-radius: 16px;
      overflow: hidden;
      cursor: zoom-in;
      transition: transform .25s;
    }
    .gallery-item:hover { transform: scale(1.025); }
    .gallery-item img { width: 100%; display: block; border-radius: 16px; }

    /* Placeholder colored tiles for gallery demo */
    .gallery-tile {
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      font-weight: 900;
      color: rgba(255,255,255,.6);
      margin-bottom: 1rem;
      break-inside: avoid;
      cursor: zoom-in;
      transition: transform .25s;
    }
    .gallery-tile:hover { transform: scale(1.025); }

    /* ===== MAP ===== */
    .map { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
    .map iframe { width: 100%; height: 340px; border: 0; display: block; }

    /* ===== CART ===== */
    .cart {
      position: fixed;
      right: 1rem;
      bottom: 1rem;
      width: min(410px, calc(100vw - 2rem));
      background: #fff;
      border: 2px solid rgba(118,7,25,.12);
      border-radius: 28px;
      box-shadow: 0 24px 80px rgba(70,2,17,.24);
      z-index: 80;
      transform: translateY(calc(100% - 72px));
      transition: .35s ease;
      overflow: hidden;
    }
    .cart.open { transform: translateY(0); }
    .cart-head {
      background: var(--primary);
      color: #fff;
      padding: 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
    }
    .cart-head strong { font-family: var(--font-display); font-size: 1.3rem; }
    .cart-content { padding: 1rem; max-height: 410px; overflow: auto; }
    .cart-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: .5rem;
      border-bottom: 1px solid #f1d6d6;
      padding: .55rem 0;
    }
    .cart-item button { border: 0; background: #ffe1e7; color: var(--accent); font-weight: 900; border-radius: 8px; padding: 4px 8px; cursor: pointer; }
    .field { margin: .6rem 0; }
    .field input, .field textarea {
      width: 100%;
      border: 2px solid rgba(118,7,25,.12);
      border-radius: 15px;
      padding: .75rem;
      font-family: var(--font-body);
    }
    .total { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.1rem; margin: .8rem 0; color: var(--primary); }

    /* ===== WA FLOAT ===== */
    .wa-float {
      position: fixed;
      right: 1.2rem;
      bottom: 6.3rem;
      z-index: 70;
      width: 66px;
      height: 66px;
      border-radius: 50%;
      background: var(--green);
      display: grid;
      place-items: center;
      box-shadow: 0 18px 40px rgba(37,211,102,.45);
      text-decoration: none;
      animation: pulse 2.8s infinite;
    }
    .wa-float svg { width: 42px; height: 42px; }
    @keyframes pulse { 50% { transform: scale(1.08); } }

    /* ===== STATS / VENTAS ===== */
    .ventas-panel {
      background: #fff;
      border-radius: 24px;
      padding: 1.5rem;
      box-shadow: 0 8px 30px rgba(118,7,25,.1);
      border: 1px solid rgba(118,7,25,.08);
    }
    .ventas-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .ventas-stat {
      background: linear-gradient(135deg, var(--bg2), #fff);
      border-radius: 16px;
      padding: 1rem;
      border: 1px solid rgba(118,7,25,.08);
      text-align: center;
    }
    .ventas-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); }
    .ventas-stat span { font-size: .78rem; font-weight: 900; color: var(--text-muted); }
    .cliente-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
    .cliente-table th { background: var(--primary); color: #fff; padding: .7rem .8rem; text-align: left; font-family: var(--font-display); }
    .cliente-table td { padding: .6rem .8rem; border-bottom: 1px solid #f1dde0; }
    .cliente-table tr:nth-child(even) td { background: #fff7f7; }

    /* ===== FOOTER ===== */
    .footer { background: var(--primary); color: #fff; padding: 42px 0; text-align: center; }
    .footer .brand-text strong, .footer .brand-text span { color: #fff; }
    .footer .logo-placeholder { background: rgba(255,255,255,.15); }
    .mini { font-size: .86rem; color: #ffe9b5; margin-top: 1rem; }
    .footer-brand { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: .5rem; }
    .footer-social { display: flex; gap: .8rem; justify-content: center; margin-top: 1rem; }
    .footer-social .social-icon { width: 38px; height: 38px; border-radius: 12px; }

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

    @media(max-width:900px) {
      .hero-bg-slide { background-image: var(--hero-bg-mobile, var(--hero-bg-desktop, linear-gradient(135deg, var(--bg), #fff))); }
      .hero { min-height: var(--hero-min-height-mobile, 620px); }
    }
    @media(max-width:900px) {
      .grid-hero, .slide { grid-template-columns: 1fr; }
      .mascot-card { min-height: 460px; }
      .slide { height: 100%; padding: 1.4rem; }
      .slide .big { display: none; }
      .menu-grid { grid-template-columns: repeat(2,1fr); }
      .nav-links { display: none; }
      .stats { grid-template-columns: 1fr 1fr; }
      .slider { height: 430px; }
      .slide img { max-height: 210px; }
      .cart { right: .65rem; bottom: .65rem; width: calc(100vw - 1.3rem); }
      .reviews-grid { grid-template-columns: 1fr; }
      .gallery-columns { column-count: 2; }
      .ventas-row { grid-template-columns: repeat(2,1fr); }
    }
    @media(max-width:560px) {
      .shell { width: min(94vw,430px); }
      .hero { padding-top: 25px; }
      .hero h1 { font-size: 3rem; }
      .stats { grid-template-columns: 1fr; }
      .mascot-card { min-height: 390px; border-radius: 30px; }
      .mascot-card img { width: 90%; bottom: -45px; }
      .slider { height: 420px; border-radius: 26px; }
      .slide h2 { font-size: 2.35rem; }
      .menu-grid { grid-template-columns: 1fr; }
      .title-row { display: block; }
      .brand-text strong { font-size: 1.08rem; }
      .logo-placeholder { width: 48px; height: 48px; }
      .nav { height: 68px; }
      .cart { transform: translateY(calc(100% - 66px)); }
      .wa-float { width: 60px; height: 60px; bottom: 5.9rem; }
      .wa-float svg { width: 38px; height: 38px; }
      .gallery-columns { column-count: 1; }
      .ventas-row { grid-template-columns: 1fr 1fr; }
    }
  
.admin-bar .top { top: 32px; }
@media(max-width:782px){ .admin-bar .top { top: 46px; } }
.product.hidden-by-filter { display: none !important; }
.cart-empty { color: var(--text-muted); font-weight: 800; }
.qty-controls { display:flex; align-items:center; gap:.35rem; justify-content:flex-end; }
.qty-controls button { border:0; background:#ffe1e7; color:var(--accent); font-weight:900; border-radius:8px; padding:4px 8px; cursor:pointer; }
.required-note { font-size:.78rem; color:var(--text-muted); margin-top:.35rem; }
.sc-loading { opacity:.65; pointer-events:none; }
.logo-img { background: transparent !important; }

/* ===== MAJO UPDATE 1.1: logos grandes, responsive menu, fondos, clientes y sedes ===== */
.logo-img,
.logo-placeholder {
  width: var(--logo-size, 90px) !important;
  height: var(--logo-size, 90px) !important;
  max-width: none;
  flex: 0 0 auto;
}
.logo-img { object-fit: contain; border-radius: 0 !important; }
.logo-placeholder { font-size: calc(var(--logo-size, 90px) * .34) !important; }
.footer-logo-img,
.footer-logo-placeholder {
  width: var(--footer-logo-size, 135px) !important;
  height: var(--footer-logo-size, 135px) !important;
}
.footer-brand { flex-direction: column; gap: 1rem; }
.footer .brand-text strong { font-size: 1.65rem; }

.menu-toggle {
  display: none;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 16px;
  padding: .62rem .78rem;
  font-weight: 900;
  font-family: var(--font-body);
  align-items: center;
  gap: .55rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(118,7,25,.2);
}
.menu-toggle span { display:block; width:20px; height:3px; background:#fff; border-radius:999px; margin:3px 0; }
.menu-toggle b { font-size:.82rem; }

.hero-media-card { min-height: 570px; }
.hero-image-stage { position: absolute; inset: 0; }
.hero-feature-img {
  position: absolute;
  object-fit: contain;
  max-width: 90%;
  filter: drop-shadow(0 26px 28px rgba(40,0,8,.28));
  animation: heroFloat 4s ease-in-out infinite;
  cursor: zoom-in;
}
.hero-feature-img-1 { left: 50%; bottom: 45px; transform: translateX(-50%); z-index: 2; }
.hero-feature-img-2 { right: 20px; top: 94px; z-index: 3; animation-delay: .4s; }
.hero-feature-img-3 { left: 24px; bottom: 95px; z-index: 3; animation-delay: .8s; }
.hero-emoji-img {
  display: grid;
  place-items: center;
  font-size: 5rem;
  background: rgba(255,255,255,.20);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 32px;
  color: #fff;
}
@keyframes heroFloat { 50% { margin-bottom: 12px; } }

/* Carta vertical: se ven hasta N filas y el resto queda con scroll interno */
.menu-grid.product-list-vertical {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem;
  max-height: calc((var(--product-row-height, 190px) + 1rem) * var(--product-visible-rows, 3));
  overflow-y: auto;
  padding-right: .45rem;
  scroll-behavior: smooth;
}
.menu-grid.product-list-vertical::-webkit-scrollbar { width: 10px; }
.menu-grid.product-list-vertical::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }
.product-list-vertical .wc-product,
.product-list-vertical .product {
  display: grid !important;
  grid-template-columns: minmax(160px, 220px) 1.1fr 1.1fr;
  align-items: stretch;
  min-height: var(--product-row-height, 190px);
}
.product-list-vertical .product-photo-wrapper {
  height: 100%;
  min-height: var(--product-row-height, 190px);
  background: linear-gradient(135deg, var(--bg2), #fff);
  display: grid;
  place-items: center;
}
.product-list-vertical .product-photo { height: 100%; min-height: var(--product-row-height, 190px); }
.product-list-vertical .product-photo-placeholder .ico { width: 96px; height: 96px; font-size: 3rem; }
.product-list-vertical .product-top { align-self: stretch; align-items: center; }
.product-list-vertical .product-body { justify-content: center; }
.product-scroll-note { margin-top: .8rem; font-weight: 900; color: var(--text-muted); font-size: .9rem; }

.location-info-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:1rem; margin-bottom:1.2rem; }
.location-info-card { background:#fff; border:1px solid rgba(118,7,25,.1); border-radius:22px; padding:1.2rem; box-shadow:0 12px 32px rgba(118,7,25,.08); }
.location-info-card strong { display:block; font-family:var(--font-display); color:var(--text-primary); font-size:1.25rem; margin-bottom:.45rem; }
.location-info-card p { color:var(--text-muted); font-weight:800; line-height:1.55; }

.sedes-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:1rem; }
.sede-card { background:#fff; border:1px solid rgba(118,7,25,.10); border-radius:26px; overflow:hidden; box-shadow:0 14px 40px rgba(118,7,25,.08); }
.sede-photo img { width:100%; height:220px; object-fit:cover; }
.sede-body { padding:1.2rem; }
.sede-body h2 { font-family:var(--font-display); color:var(--text-primary); line-height:1; }
.sede-body p { color:var(--text-muted); line-height:1.55; }
.sede-content { color:var(--text-secondary); }

.social-icon svg { width: 21px; height: 21px; fill: #fff; }
.footer-social .social-icon svg { width: 23px; height: 23px; }
.social-icon.ig { background: radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icon.fb { background:#1877F2; }
.social-icon.tk { background:#000; }

@media(max-width: 1050px) {
  .nav { height:auto; min-height:78px; position:relative; }
  .menu-toggle { display:flex; }
  .nav-links {
    display:none;
    position:absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background:#fff;
    border:1px solid rgba(118,7,25,.12);
    border-radius:22px;
    padding:1rem;
    box-shadow:0 20px 60px rgba(48,2,12,.18);
    flex-direction:column;
    align-items:stretch;
    z-index:80;
  }
  .nav-links.open { display:flex !important; }
  .nav-links a { padding:.65rem .8rem; border-radius:12px; }
  .nav-links a:hover { background:var(--bg2); }
  .social-icons { justify-content:flex-start; padding:.4rem .8rem; }
}
@media(max-width:900px) {
  .hero-media-card { min-height:460px; }
  .product-list-vertical .wc-product,
  .product-list-vertical .product { grid-template-columns: 140px 1fr; }
  .product-list-vertical .product-body { grid-column: 1 / -1; }
  .location-info-grid, .sedes-grid { grid-template-columns:1fr; }
}
@media(max-width:560px) {
  .logo-img, .logo-placeholder { width:min(var(--logo-size, 90px), 78px) !important; height:min(var(--logo-size, 90px), 78px) !important; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { font-size: .68rem; }
  .menu-toggle b { display:none; }
  .hero-media-card { min-height:380px; }
  .hero-feature-img-1 { width: 82% !important; height: auto !important; bottom:45px; }
  .hero-feature-img-2 { width: 34% !important; height: auto !important; top:82px; right:12px; }
  .hero-feature-img-3 { width: 32% !important; height: auto !important; left:14px; bottom:95px; }
  .product-list-vertical .wc-product,
  .product-list-vertical .product { grid-template-columns: 1fr; }
  .product-list-vertical .product-photo-wrapper,
  .product-list-vertical .product-photo { min-height:180px; height:180px; }
  .menu-grid.product-list-vertical { max-height: calc((430px + 1rem) * var(--product-visible-rows, 3)); }
}


/* ===== MAJO UPDATE 1.3: fondos de encabezado en imagen, carta imagen, menú landing y sedes múltiples ===== */
.landing-menu-main { display:flex; align-items:center; }
.landing-menu-list { list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:1rem; }
.landing-menu-list li { margin:0; padding:0; }
.landing-menu-list a { font-weight:900; color:var(--text-primary); font-size:.92rem; }

.hero-image-slider { position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; }
.hero-image-slide { position:absolute; inset:0; display:grid; place-items:center; opacity:0; transform:translateX(18px) scale(.97); transition:opacity .6s ease, transform .6s ease; pointer-events:none; padding:3.7rem 1.2rem 2.6rem; }
.hero-image-slide.active { opacity:1; transform:translateX(0) scale(1); pointer-events:auto; }
.hero-slider-img { max-width:88%; height:auto; filter:drop-shadow(0 26px 28px rgba(40,0,8,.28)); animation:heroSliderFloat 4s ease-in-out infinite; cursor:zoom-in; }
.hero-slider-emoji { display:grid; place-items:center; max-width:88%; border-radius:34px; background:rgba(255,255,255,.2); color:#fff; font-size:clamp(5rem, 13vw, 10rem); border:2px solid rgba(255,255,255,.28); box-shadow:0 22px 60px rgba(0,0,0,.12); animation:heroSliderFloat 4s ease-in-out infinite; }
.hero-dots { position:absolute; left:50%; bottom:1.2rem; transform:translateX(-50%); display:flex; gap:.5rem; z-index:5; }
.hero-dot { width:34px; height:9px; border:0; border-radius:999px; background:rgba(255,255,255,.45); cursor:pointer; }
.hero-dot.active { background:var(--yellow); }
@keyframes heroSliderFloat { 50% { transform:translateY(-12px); } }

/* Reemplaza la versión lista vertical por tarjetas en 3 columnas y 3 filas visibles */
.menu-grid.product-list-vertical { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; max-height:calc((var(--product-card-height, 360px) + 1rem) * var(--product-visible-rows, 3)); overflow-y:auto; align-items:stretch; }
.product-list-vertical .wc-product,
.product-list-vertical .product { display:flex !important; flex-direction:column; min-height:var(--product-card-height, 360px); }
.product-list-vertical .product-photo-wrapper { min-height:155px; height:155px; }
.product-list-vertical .product-photo { min-height:155px; height:155px; object-fit:cover; }
.product-list-vertical .product-top { padding:1rem 1rem .4rem; }
.product-list-vertical .product-body { flex:1; justify-content:flex-start; }
.product.hidden-by-filter { display:none !important; }

.carta-imagen-section { background:linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,247,220,.9)); }
.carta-image-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1rem; align-items:start; }
.carta-image-card { background:#fff; border:1px solid rgba(118,7,25,.12); border-radius:26px; padding:1rem; box-shadow:0 14px 40px rgba(118,7,25,.08); }
.carta-image-card h3 { font-family:var(--font-display); color:var(--text-primary); font-size:1.45rem; line-height:1; margin-bottom:.8rem; }
.carta-image-card img { width:100%; border-radius:18px; cursor:zoom-in; border:1px solid rgba(118,7,25,.08); box-shadow:0 10px 28px rgba(0,0,0,.08); }
.carta-image-card p { color:var(--text-muted); line-height:1.55; margin-top:.8rem; font-weight:800; }
.carta-image-placeholder { min-height:360px; display:grid; place-items:center; text-align:center; border-radius:18px; background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; padding:1.2rem; }
.carta-image-placeholder strong { display:block; font-family:var(--font-display); font-size:2rem; line-height:.95; }
.carta-image-placeholder span { display:block; margin-top:.5rem; font-weight:900; color:#ffe9b5; }

.sedes-landing-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:1.1rem; }
.sedes-landing-grid .sede-card { display:flex; flex-direction:column; }
.sede-map iframe { width:100%; height:260px; border:0; display:block; }
.sede-card-principal { border:2px solid rgba(255,194,27,.55); }
.sede-body strong { color:var(--text-primary); }

@media(max-width:1050px) {
  .landing-menu-list { flex-direction:column; align-items:stretch; gap:.2rem; }
  .landing-menu-list a { display:block; padding:.65rem .8rem; border-radius:12px; }
  .landing-menu-list a:hover { background:var(--bg2); }
  .landing-menu-main { display:block; }
  .menu-grid.product-list-vertical { grid-template-columns:repeat(2, minmax(0,1fr)) !important; }
  .carta-image-grid, .sedes-landing-grid { grid-template-columns:1fr; }
}
@media(max-width:700px) {
  .menu-grid.product-list-vertical { grid-template-columns:1fr !important; max-height:calc((var(--product-card-height, 360px) + 1rem) * var(--product-visible-rows, 3)); }
  .hero-image-slide { padding:3.2rem .6rem 2.5rem; }
  .hero-slider-img { max-width:92%; }
  .carta-image-placeholder { min-height:280px; }
}

/* ===== MAJO UPDATE 1.4: patrones PNG, colores de cabecera, iconos redes, Elementor ===== */
body { background-color: var(--main-bg, var(--bg)); }
.top { background: var(--nav-bg, rgba(255,247,220,.92)) !important; }
.hero { background: var(--hero-bg, var(--bg)); }
.hero-bg-slider { background: var(--hero-bg, linear-gradient(135deg, var(--bg), #fff)); }
.hero-bg-slide { background-color: var(--hero-bg, var(--bg)); }
.social-custom-img { width: 23px; height: 23px; object-fit: contain; display:block; }
.social-icon:has(.social-custom-img) { background: transparent !important; box-shadow:none; }
.social-icon .social-custom-img { border-radius:6px; }

.hero,
.slider-wrap,
#carta,
.carta-imagen-section,
.gallery-section,
.reviews-section,
#ubicacion,
.footer { position: relative; overflow: hidden; }
.hero > .shell,
.slider-wrap > .slider,
#carta > .shell,
.carta-imagen-section > .shell,
.gallery-section > .shell,
.reviews-section > .shell,
#ubicacion > .shell,
.footer > .shell { position: relative; z-index: 2; }
.sc-pattern {
  position:absolute;
  z-index:1;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  pointer-events:none;
  user-select:none;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.08));
}
.hero .sc-pattern { z-index: 2; }
.sc-pattern-slider { z-index: 0; }
.sc-pattern-footer { z-index: 0; }
.footer { isolation:isolate; }
.footer .sc-pattern { mix-blend-mode:screen; }

.elementor-page-template,
.sc-elementor-content { width:100%; }
.sc-elementor-content .entry-content { width:min(1180px, 92vw); margin:auto; padding:64px 0; }
.sc-elementor-fullwidth .entry-content { width:100%; max-width:none; padding:0; }

@media(max-width:700px) {
  .sc-pattern { width:72px !important; height:72px !important; opacity:.28 !important; }
  .hero .sc-pattern { width:86px !important; height:86px !important; }
}


/* ===== MAJO UPDATE 1.5: Elementor pages, extra patterns and clean texts ===== */
.sc-extra-pattern { z-index:1; }
.sc-elementor-shortcode-section { background: var(--main-bg, #ffffff); }
.sc-elementor-shortcode-section code { background:rgba(118,7,25,.08); color:var(--primary); padding:.15rem .35rem; border-radius:6px; }
.product-scroll-note { display:none !important; }
#carta .title-row .lead:empty, .carta-imagen-section .title-row .lead:empty { display:none; }



/* ===== MAJO UPDATE 1.6: secciones editables, fondo transparente, cabecera móvil completa ===== */
.section .h2,
.gallery-section .h2,
.reviews-section .h2,
#ubicacion .h2 { color: var(--section-heading-color, var(--text-primary)); }
.section .lead,
.gallery-section .lead,
.reviews-section .lead,
#ubicacion .lead,
.section p,
.gallery-section p,
.reviews-section p,
#ubicacion p { color: var(--section-text-color, inherit); }
.hero { min-height: var(--hero-min-height, 680px); }
.hero-image-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 34px;
}
.mobile-header-actions { display:none; align-items:center; gap:.42rem; margin-left:auto; }
.mobile-header-actions .social-icon { width:32px; height:32px; border-radius:10px; }
.mobile-wa-btn {
  width:38px; height:32px; border-radius:999px;
  display:grid; place-items:center;
  background:var(--green); color:#fff; font-weight:900; font-size:.78rem;
  box-shadow:0 8px 18px rgba(37,211,102,.25);
}
@media(max-width:1050px) {
  .nav { display:grid; grid-template-columns:auto 1fr auto; gap:.55rem; align-items:center; min-height:88px; }
  .brand { min-width:0; }
  .brand .logo-img, .brand .logo-placeholder { width:var(--logo-size); height:var(--logo-size); max-width:118px; max-height:118px; flex:0 0 auto; }
  .brand-text { min-width:0; }
  .brand-text strong { font-size:clamp(.95rem, 3.6vw, 1.35rem); }
  .brand-text span { font-size:clamp(.62rem, 2.7vw, .78rem); }
  .mobile-header-actions { display:flex; justify-content:flex-end; }
  .menu-toggle { justify-self:end; }
  .nav-links { grid-column:1 / -1; }
}
@media(max-width:700px) {
  .hero { min-height:var(--hero-min-height-mobile, 620px); }
  .nav { grid-template-columns:minmax(0, 1fr) auto auto; }
  .mobile-header-actions .social-icon { width:28px; height:28px; }
  .mobile-wa-btn { width:34px; height:28px; font-size:.72rem; }
}
@media(max-width:430px) {
  .mobile-social-icons { gap:.25rem; }
  .mobile-header-actions .social-icon { width:25px; height:25px; }
  .mobile-wa-btn { width:32px; height:26px; }
  .menu-toggle { padding:.5rem .58rem; }
  .brand { gap:.45rem; }
  .brand .logo-img, .brand .logo-placeholder { max-width:92px; max-height:92px; }
}


/* ===== MAJO UPDATE 1.8: imagen visual opcional en sliders ===== */
body { background-color: var(--main-bg, #ffffff); }
.hero-full-slider {
  padding: 0;
  min-height: var(--hero-min-height, 680px);
  display: block;
  background: #ffffff;
}
.hero-full-slider::before { z-index: 2; opacity: .65; }
.hero-full-slider-track {
  position: relative;
  min-height: var(--hero-min-height, 680px);
  overflow: hidden;
  background: #ffffff;
}
.hero-full-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .9s ease, transform 6.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-full-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.hero-full-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-full-content {
  position: relative;
  z-index: 3;
  min-height: var(--hero-min-height, 680px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  align-items: center;
  gap: 2rem;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.hero-full-copy {
  max-width: 760px;
  animation: scSlideTextOut .55s ease both;
}
.hero-full-slide.active .hero-full-copy {
  animation: scSlideTextIn .85s ease .12s both;
}
.hero-full-slider h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: .88;
  color: #ffffff;
  text-shadow: 0 18px 34px rgba(0,0,0,.32);
  margin: 1rem 0;
  max-width: 900px;
}
.hero-full-slider p {
  color: rgba(255,255,255,.96);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
  max-width: 680px;
  text-shadow: 0 8px 20px rgba(0,0,0,.26);
}
.hero-full-slider .pill {
  background: rgba(255,255,255,.92);
  color: var(--primary);
  border-color: rgba(255,255,255,.65);
}
.hero-full-slider .stat {
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
}
.hero-full-visual {
  display: grid;
  place-items: center;
  min-height: 320px;
}
.hero-full-visual span {
  font-size: clamp(7rem, 16vw, 13rem);
  line-height: 1;
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.32));
  animation: scFloatHero 4.2s ease-in-out infinite;
}
.hero-full-visual img {
  display: block;
  max-width: min(100%, 460px);
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.32));
  animation: scFloatHero 4.2s ease-in-out infinite;
}
.hero-full-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: .55rem;
}
.hero-full-dot {
  width: 42px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,.48);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.hero-full-dot.active { background: var(--yellow); }
@keyframes scSlideTextIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scSlideTextOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(12px); }
}
@keyframes scFloatHero {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}
@media (max-width: 900px) {
  .hero-full-slider,
  .hero-full-slider-track,
  .hero-full-content { min-height: var(--hero-min-height-mobile, 620px); }
  .hero-full-content {
    grid-template-columns: 1fr;
    align-content: center;
    text-align: left;
    gap: 1rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
  .hero-full-visual { display: none; }
  .hero-full-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .hero-full-slider h1 { font-size: 3.1rem; }
  .hero-full-slider p { font-size: 1rem; }
  .hero-full-stats { grid-template-columns: 1fr; }
  .hero-full-dot { width: 34px; }
}


/* ===== MAJO UPDATE 1.9: botón superior de guardado y productos 4:5 ===== */
.product-photo-wrapper,
.product-list-vertical .product-photo-wrapper {
  aspect-ratio: 4 / 5;
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
  background: linear-gradient(135deg, var(--bg2), #fff);
}
.product-photo,
.product-list-vertical .product-photo {
  aspect-ratio: 4 / 5;
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
  object-fit: cover;
}
.product-list-vertical .product {
  min-height: auto !important;
}
.product-list-vertical .product-photo-placeholder {
  min-height: 0 !important;
}
.product-list-vertical .product-photo-placeholder .ico {
  width: 96px;
  height: 96px;
  font-size: 3rem;
}
.menu-grid.product-list-vertical {
  max-height: calc((620px + 1rem) * var(--product-visible-rows, 3));
}
@media(max-width:900px) {
  .product-list-vertical .product-photo-wrapper,
  .product-list-vertical .product-photo {
    aspect-ratio: 4 / 5;
    height: auto !important;
    min-height: 0 !important;
  }
  .menu-grid.product-list-vertical { max-height: calc((620px + 1rem) * var(--product-visible-rows, 3)); }
}
@media(max-width:560px) {
  .menu-grid.product-list-vertical { max-height: calc((610px + 1rem) * var(--product-visible-rows, 3)); }
}
