    /* ─────────────────────────────────────────────
       Paleta de marca kobox
       ───────────────────────────────────────────── */
    :root {
      --navy: #1C3A5E;
      --navy-dark: #142b46;
      --red: #B0202C;
      --red-dark: #8d1922;
      --bg: #f6f7f9;
      --card: #ffffff;
      --ink: #1a2430;
      --muted: #607089;
      --line: #e3e7ee;
      --radius: 14px;
      --shadow: 0 6px 24px rgba(28,58,94,.08);
      --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--ink);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }

    .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

    section { scroll-margin-top: 78px; }

    /* ── Navbar ── */
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    /* Logo recreado en CSS (reemplazable por el PNG real) */
    .brand {
      display: inline-flex;
      align-items: center;
      font-weight: 800;
      font-size: 1.55rem;
      letter-spacing: -.02em;
      color: var(--navy);
    }
    .brand .box {
      display: inline-flex;
      align-items: center;
      border: 3px solid var(--navy);
      border-radius: 7px;
      padding: 1px 5px 1px 7px;
      line-height: 1;
    }
    .brand .dot {
      width: .58em; height: .58em;
      background: var(--red);
      border-radius: 50%;
      margin: 0 .04em 0 .05em;
    }
    .brand .rest { padding-left: 3px; }
    .brand img { height: 38px; display: block; }
    .brand-badge { display: inline-block; background: #fff; padding: 7px 12px; border-radius: 10px; }
    .brand-badge img { height: 30px; display: block; }

    .nav-links { display: flex; align-items: center; gap: 6px; }
    .nav-links a {
      font-size: .92rem;
      font-weight: 600;
      color: var(--muted);
      padding: 8px 14px;
      border-radius: 8px;
      transition: color .15s, background .15s;
    }
    .nav-links a:hover { color: var(--navy); background: #eef1f6; }
    .nav-links a.cta {
      background: var(--red);
      color: #fff;
    }
    .nav-links a.cta:hover { background: var(--red-dark); }

    .nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--navy); }

    /* Con 5 enlaces el menu horizontal necesita ~900px; bajo eso, menu desplegable */
    @media (max-width: 900px) {
      .nav-links { position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 8px 16px 16px; display: none; }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 12px 8px; }
      .nav-toggle { display: block; }
    }

    /* ── Hero / Inicio ── */
    .hero {
      background:
        radial-gradient(900px 400px at 80% -10%, rgba(176,32,44,.10), transparent 60%),
        linear-gradient(180deg, #fff, var(--bg));
      padding: 72px 0 60px;
      border-bottom: 1px solid var(--line);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 40px;
      align-items: center;
    }
    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.1rem);
      line-height: 1.08;
      letter-spacing: -.02em;
      color: var(--navy);
      margin-bottom: 16px;
    }
    .hero h1 .accent { color: var(--red); }
    .hero p.lead {
      font-size: 1.1rem;
      color: var(--muted);
      max-width: 520px;
      margin-bottom: 28px;
    }
    .hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: .95rem;
      padding: 13px 22px;
      border-radius: 10px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: transform .1s, background .15s, color .15s;
    }
    .btn:active { transform: translateY(1px); }
    .btn-primary { background: var(--navy); color: #fff; }
    .btn-primary:hover { background: var(--navy-dark); }
    .btn-red { background: var(--red); color: #fff; }
    .btn-red:hover { background: var(--red-dark); }
    .btn-ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
    .btn-ghost:hover { background: #eef1f6; }

    .hero-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow);
      padding: 26px;
    }
    .hero-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 14px; }
    .feature { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
    .feature:first-of-type { border-top: none; }
    .feature .fi { font-size: 1.3rem; flex-shrink: 0; }
    .feature .ft { font-weight: 700; font-size: .92rem; color: var(--navy); }
    .feature .fd { font-size: .84rem; color: var(--muted); }

    @media (max-width: 820px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-card { order: 2; }
    }

    /* ── Section heads ── */
    .sec-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
    .sec-eyebrow {
      display: inline-block;
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 10px;
    }
    .sec-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--navy); letter-spacing: -.01em; }
    .sec-head p { color: var(--muted); margin-top: 10px; }

    .pad { padding: 64px 0; }
    .pad-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

    /* ── Catálogo ── */
    .filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
    .filter-btn {
      font-family: var(--font);
      font-weight: 700;
      font-size: .85rem;
      padding: 8px 16px;
      border-radius: 20px;
      border: 1.5px solid var(--line);
      background: #fff;
      color: var(--muted);
      cursor: pointer;
      transition: all .15s;
    }
    .filter-btn.active, .filter-btn:hover { border-color: var(--navy); color: var(--navy); background: #eef1f6; }

    .catalog {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 22px;
    }
    .product {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform .15s, box-shadow .15s;
    }
    .product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
    .product .ph {
      aspect-ratio: 4 / 3;
      background: linear-gradient(135deg, #eef1f6, #dfe5ee);
      display: flex; align-items: center; justify-content: center;
      font-size: 3.4rem;
      position: relative;
      overflow: hidden;
    }
    .product .ph img { width: 100%; height: 100%; object-fit: cover; }
    .product .tag {
      position: absolute; top: 10px; left: 10px;
      background: var(--navy); color: #fff;
      font-size: .68rem; font-weight: 700; letter-spacing: .04em;
      padding: 4px 10px; border-radius: 20px;
    }
    .product .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
    .product .pname { font-weight: 800; color: var(--navy); font-size: 1.02rem; }
    .product .pdesc { font-size: .85rem; color: var(--muted); flex: 1; }
    .product .specs { display: flex; flex-wrap: wrap; gap: 6px; }
    .product .chip {
      font-size: .7rem; font-weight: 700;
      background: #eef1f6; color: var(--navy);
      padding: 3px 9px; border-radius: 6px;
    }
    .product .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
    .product .price { font-size: 1.25rem; font-weight: 900; color: var(--navy); }
    .product .price small { font-size: .7rem; color: var(--muted); font-weight: 600; }
    .cotizar-tag { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .03em;
      color: var(--navy); background: #eef1f6; border: 1.5px solid var(--line); border-radius: 8px; padding: 4px 12px; }
    .product .soldout { font-size: .72rem; font-weight: 700; color: var(--red); }
    .wa-btn {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      width: 100%; margin-top: 4px;
      background: #25D366; color: #fff;
      font-family: var(--font); font-weight: 700; font-size: .9rem;
      border: none; border-radius: 10px; padding: 11px; cursor: pointer;
      transition: background .15s;
    }
    .wa-btn:hover { background: #1ebe5a; }
    .wa-btn:disabled { background: #c8ced6; cursor: not-allowed; }

    .catalog-empty { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }

    .catalog-note {
      text-align: center; margin-top: 28px;
      font-size: .85rem; color: var(--muted);
    }

    /* ── Sección imprimir mi diseño ── */
    .checks { list-style: none; max-width: 540px; margin: 0 auto 30px; display: grid; gap: 14px; }
    .checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); font-size: 1rem; }
    .checks li svg { flex-shrink: 0; color: #1a7f37; }
    .imprimir-cta { text-align: center; }
    .file-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 26px; }
    .file-tags span { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); border: 1.5px solid var(--line); border-radius: 6px; padding: 4px 10px; background: #fff; }
    /* Recuerdos para eventos */
    .ev-banner { max-width: 900px; margin: 0 auto 34px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
    .ev-banner img { width: 100%; display: block; }
    .ev-sub { text-align: center; font-size: 1rem; color: var(--navy); margin-bottom: 18px; }
    .event-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto 16px; }
    .event-grid span { font-size: .88rem; font-weight: 600; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 9px 18px; }
    .ev-note { text-align: center; font-size: .88rem; color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
    .ev-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto 34px; }
    @media (max-width: 640px) { .ev-cards { grid-template-columns: 1fr; } }
    .ev-card { background: #fff; border: 1.5px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 20px 22px; }
    .ev-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
    .ev-card p { font-size: .9rem; color: var(--muted); }
    .ev-cta-text { max-width: 620px; margin: 0 auto 22px; color: var(--muted); font-size: .95rem; }

    /* ── Modal de detalle de producto ── */
    .modal-overlay { position: fixed; inset: 0; background: rgba(20,30,45,.55); z-index: 100;
      display: none; align-items: center; justify-content: center; padding: 18px; }
    .modal-overlay.open { display: flex; }
    .modal { background: #fff; border-radius: 16px; max-width: 560px; width: 100%; max-height: 92vh;
      overflow-y: auto; box-shadow: 0 24px 70px rgba(0,0,0,.35); position: relative; }
    .modal-close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 34px; height: 34px;
      border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--navy);
      font-size: 1.05rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
    .modal .m-photo { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg,#eef1f6,#dfe5ee);
      display: flex; align-items: center; justify-content: center; font-size: 5rem;
      border-radius: 16px 16px 0 0; overflow: hidden; }
    .modal .m-photo img { width: 100%; height: 100%; object-fit: cover; }
    .modal .m-body { padding: 24px; }
    .modal .m-tag { display: inline-block; background: var(--navy); color: #fff; font-size: .7rem;
      font-weight: 700; letter-spacing: .04em; padding: 4px 11px; border-radius: 20px; margin-bottom: 10px; }
    .modal .m-name { font-size: 1.5rem; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
    .modal .m-price { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
    .modal .m-price small { font-size: .8rem; color: var(--muted); font-weight: 600; }
    .modal .m-soldout { color: var(--red); font-weight: 700; font-size: .85rem; margin-top: 4px; }
    .modal .m-desc { color: var(--ink); margin: 14px 0; line-height: 1.6; }
    .modal .m-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
    .modal .m-specs .chip { font-size: .76rem; font-weight: 700; background: #eef1f6; color: var(--navy); padding: 5px 11px; border-radius: 7px; }
    /* Carrusel del modal */
    .m-photo .car-img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
    .m-photo .car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
    .m-photo .car-btn:hover { background: #fff; }
    .m-photo .car-prev { left: 10px; }
    .m-photo .car-next { right: 10px; }
    .m-photo .car-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
    .m-photo .car-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
    .m-photo .car-dots button.active { background: #fff; }
    .m-medidas { margin: 12px 0 2px; font-size: .9rem; color: var(--ink); }
    .m-medidas .m-med-label { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: #eef1f6; border-radius: 6px; padding: 3px 9px; margin-right: 8px; }
    /* Visor a pantalla completa (lightbox) */
    .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
    .lightbox.open { display: flex; }
    .lightbox img { max-width: 96vw; max-height: 92vh; object-fit: contain; border-radius: 6px; }
    .lb-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; cursor: pointer; }
    .lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
    .lb-prev { left: 16px; }
    .lb-next { right: 16px; }
    .lb-close:hover, .lb-btn:hover { background: rgba(255,255,255,.32); }
    .product { cursor: pointer; }
    .product .ph::after { content: 'Ver detalle'; position: absolute; inset: 0; background: rgba(28,58,94,.0);
      color: #fff; font-size: .82rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity .15s, background .15s; }
    .product:hover .ph::after { opacity: 1; background: rgba(28,58,94,.45); }

    /* ── Calculadora section ── */
    .calc-frame-wrap {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    #calcFrame { width: 100%; border: none; display: block; min-height: 1400px; }

    /* ── Footer ── */
    .footer {
      background: var(--navy);
      color: #cdd7e3;
      padding: 40px 0 28px;
    }
    .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
    .footer .brand { color: #fff; }
    .footer .brand .box { border-color: #fff; }
    .footer .brand .rest { color: #fff; }
    .footer a:hover { color: #fff; }
    .footer .fcol h4 { color: #fff; font-size: .9rem; margin-bottom: 10px; }
    .footer .fcol p, .footer .fcol a { font-size: .85rem; display: block; margin-bottom: 6px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .78rem; color: #9fb0c4; text-align: center; }
    .footer .socials { display: flex; gap: 12px; margin-top: 6px; }
    .footer .socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; transition: background .15s, transform .1s; }
    .footer .socials a:hover { background: var(--red); transform: translateY(-2px); }
    .footer .socials svg { width: 22px; height: 22px; }

    /* ─────────────────────────────────────────────
       Estilos propios de la estructura por páginas
       (el sitio dejó de ser una sola página continua)
       ───────────────────────────────────────────── */

    /* Enlace de la página en la que estás */
    .nav-links a.activo { color: var(--navy); background: #eef1f6; }
    .nav-links a.cta.activo { color: #fff; background: var(--red); }

    /* Encabezado de las páginas interiores */
    .page-head { background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); padding: 46px 0 40px; }
    .page-head .sec-head { margin-bottom: 0; }

    /* Migas de pan: dónde estoy y cómo vuelvo */
    .crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
    .crumbs a:hover { color: var(--navy); text-decoration: underline; }
    .crumbs span { color: var(--line); margin: 0 6px; }

    /* Accesos desde Inicio a las demás páginas */
    .doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
    .door { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
      border-radius: var(--radius); padding: 24px; transition: transform .15s, box-shadow .15s, border-color .15s; }
    .door:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy); }
    .door h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 8px; }
    .door p { color: var(--muted); font-size: .9rem; flex: 1; margin-bottom: 16px; }
    .door .door-go { font-weight: 800; font-size: .88rem; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
    .door:hover .door-go svg { transform: translateX(3px); }
    .door .door-go svg { transition: transform .15s; }

    /* ── Hero sin tarjeta lateral (los 3 puntos pasaron a la franja) ── */
    .hero-solo { max-width: 760px; }
    .hero-solo .lead { max-width: 640px; }

    /* ── Franja de confianza con íconos ── */
    .tira { background: #fff; border-bottom: 1px solid var(--line); }
    .tira-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px 30px; padding: 28px 20px; }
    .tira-item { display: flex; gap: 14px; align-items: flex-start; }
    .tira-item > svg { flex-shrink: 0; width: 30px; height: 30px; color: var(--red); }
    .tira-item .tt { font-weight: 800; font-size: .95rem; color: var(--navy); }
    .tira-item .td { font-size: .86rem; color: var(--muted); margin-top: 2px; }

    /* ── Llamado a la acción centrado ── */
    .cta-centro { text-align: center; margin-top: 34px; }

    /* Los destacados se centran: con 2 o 3 productos no quedan
       pegados a la izquierda dejando un hueco al lado. */
    #gridDestacados { grid-template-columns: repeat(auto-fit, minmax(230px, 270px)); justify-content: center; }

    /* ─────────────────────────────────────────────
       Mi pedido (carrito que termina en WhatsApp)
       ───────────────────────────────────────────── */

    /* Botón "+" discreto sobre la foto de cada tarjeta */
    .product .add-btn {
      position: absolute; top: 10px; right: 10px; z-index: 3;
      width: 32px; height: 32px; border-radius: 50%;
      border: none; background: rgba(255,255,255,.94); color: var(--navy);
      font-family: var(--font); font-size: 1.25rem; font-weight: 700; line-height: 1;
      cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.22);
      opacity: 0; transition: opacity .15s, background .15s, transform .1s;
    }
    .product:hover .add-btn, .product:focus-within .add-btn { opacity: 1; }
    .product .add-btn:hover { background: var(--navy); color: #fff; }
    .product .add-btn:active { transform: scale(.92); }
    /* En pantallas táctiles no hay "hover": el botón se ve siempre */
    @media (hover: none) { .product .add-btn { opacity: 1; } }

    /* Botón "Agregar a mi pedido" dentro de la ficha */
    .btn-agregar {
      display: block; width: 100%; margin-bottom: 8px;
      font-family: var(--font); font-weight: 700; font-size: .9rem;
      background: #fff; color: var(--navy); border: 2px solid var(--navy);
      border-radius: 10px; padding: 11px; cursor: pointer; transition: background .15s;
    }
    .btn-agregar:hover { background: #eef1f6; }

    /* Botón flotante con el contador */
    .pedido-fab {
      position: fixed; right: 20px; bottom: 20px; z-index: 90;
      width: 56px; height: 56px; border-radius: 50%;
      border: none; background: var(--navy); color: #fff; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 8px 24px rgba(28,58,94,.34);
      transition: background .15s, transform .1s;
    }
    .pedido-fab:hover { background: var(--navy-dark); }
    .pedido-fab[hidden] { display: none; }
    .pedido-cuenta {
      position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px;
      padding: 0 5px; border-radius: 11px; background: var(--red); color: #fff;
      font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
      border: 2px solid var(--bg);
    }
    @keyframes pedido-late { 0%,100% { transform: scale(1); } 45% { transform: scale(1.16); } }
    .pedido-fab.late { animation: pedido-late .32s ease; }

    /* Panel lateral */
    .pedido-overlay { position: fixed; inset: 0; background: rgba(20,30,45,.5); z-index: 150;
      display: none; justify-content: flex-end; }
    .pedido-overlay.open { display: flex; }
    .pedido-panel { background: #fff; width: 100%; max-width: 400px; height: 100%;
      display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.25); }
    .pedido-head { display: flex; align-items: center; justify-content: space-between;
      padding: 18px 20px; border-bottom: 1px solid var(--line); }
    .pedido-head h3 { color: var(--navy); font-size: 1.1rem; }
    .pedido-cerrar { width: 34px; height: 34px; border-radius: 50%; border: none;
      background: #eef1f6; color: var(--navy); font-size: 1rem; cursor: pointer; }
    .pedido-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
    .pedido-vacio { color: var(--muted); font-size: .9rem; text-align: center; padding: 30px 0; }

    .pedido-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .pi-foto { width: 64px; height: 64px; border-radius: 9px; overflow: hidden; flex-shrink: 0;
      background: #eef1f6; border: 1px solid var(--line); }
    .pi-foto img { width: 100%; height: 100%; object-fit: cover; }
    .pi-info { flex: 1; min-width: 0; }
    .pi-nombre { font-weight: 700; color: var(--navy); font-size: .92rem; }
    .pi-precio { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
    .pi-cant { display: flex; align-items: center; gap: 6px; }
    .pi-cant button { font-family: var(--font); width: 26px; height: 26px; border-radius: 7px;
      border: 1.5px solid var(--line); background: #fff; color: var(--navy);
      font-weight: 800; cursor: pointer; }
    .pi-cant button:hover { border-color: var(--navy); }
    .pi-cant span { min-width: 22px; text-align: center; font-weight: 800; color: var(--navy); font-size: .9rem; }
    .pi-cant .pi-quitar { width: auto; padding: 0 9px; font-size: .74rem; font-weight: 700;
      color: var(--red); border-color: #e7b3b8; margin-left: auto; }

    .pedido-pie { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
    .pedido-total { display: flex; align-items: baseline; justify-content: space-between;
      margin-bottom: 12px; color: var(--muted); font-size: .88rem; }
    .pedido-total small { font-size: .74rem; }
    .pedido-total strong { font-size: 1.3rem; font-weight: 900; color: var(--navy); }
    .pedido-vaciar { display: block; width: 100%; margin-top: 8px; background: none; border: none;
      font-family: var(--font); font-size: .82rem; color: var(--muted); cursor: pointer; }
    .pedido-vaciar:hover { color: var(--red); }

    /* ── Elección de color en la ficha ── */
    .m-colores { margin: 4px 0 18px; }
    .m-col-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .05em;
      text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
    .col-opciones { display: flex; flex-wrap: wrap; gap: 7px; }
    .col-chip, .col-muestra {
      display: inline-flex; align-items: center; gap: 7px;
      font-family: var(--font); font-size: .8rem; font-weight: 700; color: var(--navy);
      background: #fff; border: 1.5px solid var(--line); border-radius: 20px;
      padding: 6px 13px; cursor: pointer; transition: border-color .15s, background .15s;
    }
    .col-chip:hover, .col-muestra:hover { border-color: var(--navy); }
    .col-chip.activo, .col-muestra.activo { border-color: var(--navy); background: #eef1f6; }
    .col-muestra span { width: 15px; height: 15px; border-radius: 50%;
      border: 1px solid rgba(0,0,0,.18); flex-shrink: 0; }

    /* Color de cada línea del pedido */
    .pi-color { display: flex; align-items: center; gap: 6px; font-size: .78rem;
      color: var(--navy); font-weight: 600; margin-bottom: 6px; }
    .pi-color em { color: var(--muted); font-weight: 500; font-style: normal; }
    .pi-punto { width: 12px; height: 12px; border-radius: 50%;
      border: 1px solid rgba(0,0,0,.18); display: inline-block; }
