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


    html { scroll-behavior: smooth; }
    body { background: var(--cream); color: var(--black); font-family: var(--font-body); font-size: 15px; min-height: 100vh; display: flex; flex-direction: column; }
    main { flex: 1; }

    /* ── TICKER ── */
    .ticker-wrap {
      background: var(--black); color: var(--white);
      overflow: hidden; padding: 10px 0;
      font-size: 12px; letter-spacing: 0.08em; font-weight: 500;
    }
    .ticker-track { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; will-change: transform; }
    .ticker-track span { padding: 0 32px; display: inline-flex; align-items: center; gap: 32px; }
    .ticker-track span::after { content: '●'; color: var(--coral); font-size: 8px; }
    @keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

    /* ── HEADER ── */
    header { background: var(--white); border-bottom: 1px solid var(--gray-light); position: sticky; top: 0; z-index: 100; }
    .header-inner {
      max-width: 1320px; margin: 0 auto; padding: 0 32px;
      display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px;
    }
    .header-left { display: flex; align-items: center; }
    .header-btn {
      display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray);
      cursor: pointer; text-decoration: none; transition: color 0.2s; font-family: var(--font-body);
      background: none; border: none;
    }
    .header-btn:hover { color: var(--black); }
    .header-btn svg { width: 17px; height: 17px; }
    .logo { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--black); letter-spacing: -0.5px; text-decoration: none; }
    .logo em { font-style: normal; color: var(--coral); }
    .header-right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
    .cart-count {
      background: var(--coral); color: white; font-size: 10px; font-weight: 600;
      width: 18px; height: 18px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center; margin-left: -4px;
    }

    /* ── NAV ── */
    nav { background: var(--white); border-bottom: 1px solid var(--gray-light); }
    .nav-inner {
      max-width: 1320px; margin: 0 auto; padding: 0 32px;
      display: flex; justify-content: center; gap: 40px; height: 44px; align-items: center;
    }
    .nav-inner a { font-size: 13px; color: var(--gray); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
    .nav-inner a:hover { color: var(--black); }

    /* ── BREADCRUMB ── */
    .breadcrumb {
      max-width: 1320px; margin: 0 auto; padding: 20px 32px 0;
      font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 8px;
    }
    .breadcrumb a { color: var(--gray); text-decoration: none; }
    .breadcrumb a:hover { color: var(--coral); }
    .breadcrumb .sep { color: var(--gray-light); }
    .breadcrumb .current { color: var(--black); font-weight: 500; }

    /* ── PAGE HEADER ── */
    .page-header {
      max-width: 1320px; margin: 0 auto;
      padding: 24px 32px 28px;
      display: flex; justify-content: space-between; align-items: flex-end;
      border-bottom: 1px solid var(--gray-light);
    }
    .page-title { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.5px; }
    .page-title span { font-size: 18px; font-weight: 400; color: var(--gray); font-family: var(--font-body); margin-left: 10px; }

    .btn-vaciar {
      display: flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--gray); background: none; border: 1.5px solid var(--gray-light);
      border-radius: 30px; padding: 8px 14px; cursor: pointer; transition: all 0.2s;
      font-family: var(--font-body);
    }
    .btn-vaciar:hover { border-color: var(--red); color: var(--red); }
    .btn-vaciar svg { width: 14px; height: 14px; }

    /* ── LAYOUT ── */
    .cart-layout {
      max-width: 1320px; margin: 0 auto;
      padding: 32px 32px 80px;
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 40px;
      align-items: start;
    }

    /* ── ITEMS LIST ── */
    .cart-items { display: flex; flex-direction: column; gap: 0; }

    .cart-item {
      display: grid;
      grid-template-columns: 88px 1fr auto;
      gap: 20px;
      align-items: center;
      padding: 20px 0;
      border-bottom: 1px solid var(--gray-light);
      transition: background 0.15s;
    }
    .cart-item:first-child { border-top: 1px solid var(--gray-light); }

    .item-img {
      width: 88px; height: 88px; border-radius: 8px; overflow: hidden;
      border: 1px solid var(--gray-light); flex-shrink: 0; background: var(--white);
    }
    .item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .item-details { display: flex; flex-direction: column; gap: 4px; }
    .item-name { font-size: 14px; font-weight: 600; color: var(--black); line-height: 1.4; }
    .item-paquete {
      font-size: 12px; color: var(--gray); font-weight: 400;
      display: inline-flex; align-items: center; gap: 4px;
    }
    .item-paquete::before { content: ''; display: block; width: 14px; height: 1.5px; background: var(--gray-light); }
    .item-precio-unit { font-size: 12px; color: var(--gray); margin-top: 2px; }

    .item-controls {
      display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
    }

    /* Subtotal */
    .item-subtotal {
      font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--black);
      white-space: nowrap;
    }

    /* Cantidad inline */
    .qty-control {
      display: inline-flex; align-items: center;
      border: 1.5px solid var(--gray-light); border-radius: 5px; overflow: hidden;
    }
    .qty-btn {
      width: 34px; height: 34px; background: none; border: none;
      font-size: 16px; cursor: pointer; color: var(--black);
      display: flex; align-items: center; justify-content: center;
      transition: background 0.15s; font-family: var(--font-body);
    }
    .qty-btn:hover { background: var(--gray-light); }
    .qty-val {
      width: 40px; text-align: center;
      border-left: 1.5px solid var(--gray-light); border-right: 1.5px solid var(--gray-light);
      font-size: 14px; font-weight: 600; color: var(--black);
      background: var(--white); height: 34px; line-height: 34px;
      font-family: var(--font-body); border-top: none; border-bottom: none;
      outline: none; -moz-appearance: textfield;
    }
    .qty-val::-webkit-outer-spin-button,
    .qty-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

    /* Eliminar */
    .btn-eliminar {
      display: flex; align-items: center; gap: 4px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
      color: var(--gray); background: none; border: none; cursor: pointer;
      transition: color 0.2s; font-family: var(--font-body);
      padding: 0;
    }
    .btn-eliminar:hover { color: var(--red); }
    .btn-eliminar svg { width: 13px; height: 13px; }

    /* ── COLUMNA RESUMEN ── */
    .cart-summary {
      background: var(--white);
      border: 1px solid var(--gray-light);
      border-radius: 14px;
      box-shadow: 0 12px 32px rgba(26,26,26,0.06);
      padding: 28px;
      position: sticky;
      top: 132px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .zona-envio {
      display: flex; flex-direction: column; gap: 10px;
    }
    .zona-envio-label {
      display: flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 600; color: var(--gray);
      text-transform: uppercase; letter-spacing: 0.06em;
    }
    .zona-envio-label svg { width: 13px; height: 13px; color: var(--coral); }
    .zona-envio-opciones {
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
      background: var(--cream);
      border: 1px solid var(--gray-light);
      border-radius: 12px;
      padding: 5px;
    }
    .zona-envio-opcion {
      position: relative;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 3px;
      padding: 10px 8px;
      border-radius: 8px;
      cursor: pointer;
      text-align: center;
      transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
      color: var(--gray);
    }
    .zona-envio-opcion input[type="radio"] {
      position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
    }
    .zona-envio-opcion svg {
      width: 17px; height: 17px; stroke: currentColor;
      transition: stroke 0.18s ease;
    }
    .zona-envio-opcion .zona-envio-texto {
      font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; color: currentColor;
    }
    .zona-envio-opcion:hover { color: var(--black); }
    .zona-envio-opcion.activa {
      background: var(--coral);
      color: var(--white);
      box-shadow: 0 6px 16px rgba(115,171,250,0.35);
    }
    .zona-envio-opcion.activa:hover { color: var(--white); }

    .summary-title {
      font-family: var(--font-display); font-size: 20px; font-weight: 700;
      padding-bottom: 16px; border-bottom: 1px solid var(--gray-light);
    }

    .summary-rows { display: flex; flex-direction: column; gap: 12px; }
    .summary-row {
      display: flex; justify-content: space-between; align-items: center;
      font-size: 13px; color: #555;
    }
    .summary-row.total {
      padding-top: 16px; border-top: 2px solid var(--black);
      font-size: 15px; font-weight: 700; color: var(--black);
    }
    .summary-row.total .total-price {
      font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--black);
    }

    .envio-badge {
      display: inline-flex; align-items: center; gap: 5px;
      background: #F0FAF0; color: #2D7A2D;
      font-size: 11px; font-weight: 600; border-radius: 3px; padding: 4px 8px;
    }
    .envio-badge svg { width: 12px; height: 12px; }

    /* Botón Mercado Pago */
    .btn-mercadopago {
      width: 100%; padding: 15px 20px;
      background: linear-gradient(180deg, #00b1ea 0%, #009ee3 100%);
      border: none; border-radius: 40px;
      font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
      cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      font-family: var(--font-body); color: #FFFFFF;
      box-shadow: 0 6px 18px rgba(0, 158, 227, 0.35);
    }
    .btn-mercadopago:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 158, 227, 0.4); }
    .btn-mercadopago:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0, 158, 227, 0.35); }
    .btn-mercadopago:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
    .btn-mercadopago .mp-icon {
      width: 20px; height: 20px; flex-shrink: 0;
      background: #FFFFFF; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
    }
    .btn-mercadopago .mp-icon svg { width: 12px; height: 12px; color: #009ee3; }
    .btn-mercadopago .mp-wordmark { font-weight: 800; }

    /* Contenedor del Payment Brick */
    .mp-brick-wrap {
      min-height: 220px;
      border: 1px solid var(--gray-light);
      border-radius: 14px;
      overflow: hidden;
      padding: 4px;
    }
    .mp-brick-loading {
      display: flex; align-items: center; justify-content: center;
      height: 180px; font-size: 13px; color: var(--gray);
    }

    .mp-datos-envio {
      display: flex; flex-direction: column; gap: 12px;
      background: var(--white); border: 1px solid var(--gray-light);
      border-radius: 14px; padding: 18px;
    }
    .mp-datos-titulo {
      font-family: var(--font-display); font-size: 15px; font-weight: 600;
      color: var(--black); display: flex; align-items: center; gap: 8px;
    }
    .mp-datos-titulo svg { width: 16px; height: 16px; color: var(--coral); }
    .mp-datos-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    }
    .mp-datos-grid .full { grid-column: 1 / -1; }
    .mp-datos-envio input {
      width: 100%; padding: 12px 14px; border-radius: 10px;
      border: 1.5px solid var(--gray-light); font-family: var(--font-body);
      font-size: 13px; color: var(--black); outline: none;
      transition: border-color 0.2s; background: var(--cream);
    }
    .mp-datos-envio input:focus { border-color: var(--coral); background: var(--white); }
    .mp-datos-envio input::placeholder { color: var(--gray); }
    .mp-datos-envio input.mp-input-error { border-color: #E85D5D; }

    @media (max-width: 420px) {
      .mp-datos-grid { grid-template-columns: 1fr; }
      .mp-datos-grid .full { grid-column: auto; }
    }


    .btn-seguir {
      width: 100%; padding: 13px;
      background: none; border: 1.5px solid var(--gray-light); border-radius: 40px;
      font-size: 13px; font-weight: 500; color: var(--gray);
      cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
      display: flex; align-items: center; justify-content: center; gap: 7px;
      text-decoration: none;
    }
    .btn-seguir:hover { border-color: var(--black); color: var(--black); }
    .btn-seguir svg { width: 14px; height: 14px; }

    .secure-note {
      display: flex; align-items: center; justify-content: center; gap: 5px;
      font-size: 11px; color: var(--gray);
    }
    .secure-note svg { width: 12px; height: 12px; }

    /* ── CARRITO VACÍO ── */
    .empty-cart {
      max-width: 480px; margin: 0 auto;
      padding: 80px 32px;
      text-align: center;
      display: flex; flex-direction: column; align-items: center; gap: 16px;
    }
    .empty-icon {
      width: 80px; height: 80px;
      border: 2px solid var(--gray-light); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--gray-light);
    }
    .empty-icon svg { width: 36px; height: 36px; }
    .empty-cart h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
    .empty-cart p { font-size: 14px; color: var(--gray); line-height: 1.6; }
    .btn-ir-catalogo {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--black); color: white;
      padding: 14px 28px; border-radius: 40px;
      font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
      text-decoration: none; transition: background 0.2s, transform 0.15s; margin-top: 8px;
    }
    .btn-ir-catalogo:hover { background: var(--coral); transform: translateY(-1px); }

    /* ── TOAST ── */
    .toast {
      position: fixed; bottom: 32px; left: 50%;
      transform: translateX(-50%) translateY(12px);
      opacity: 0; pointer-events: none;
      background: var(--black); color: white;
      padding: 13px 22px; border-radius: 10px;
      font-size: 13px; font-weight: 500; line-height: 1.5;
      display: flex; align-items: flex-start; gap: 10px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.2);
      transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      z-index: 999;
      max-width: min(90vw, 360px);
      white-space: normal;
    }
    .toast.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
    .toast svg { width: 15px; height: 15px; color: var(--coral); flex-shrink: 0; margin-top: 1px; }

    /* ── MODAL CONFIRMAR VACIAR ── */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.45);
      display: flex; align-items: center; justify-content: center;
      z-index: 500; opacity: 0; pointer-events: none; transition: opacity 0.2s;
    }
    .modal-overlay.show { opacity: 1; pointer-events: all; }
    .modal {
      background: var(--white); border-radius: 16px; padding: 32px;
      max-width: 380px; width: 90%; text-align: center;
      transform: scale(0.95); transition: transform 0.2s;
      display: flex; flex-direction: column; gap: 16px;
      box-shadow: 0 24px 64px rgba(26,26,26,0.18);
    }
    .modal-overlay.show .modal { transform: scale(1); }
    .modal h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
    .modal p { font-size: 14px; color: var(--gray); line-height: 1.6; }
    .modal-btns { display: flex; gap: 10px; margin-top: 4px; }
    .modal-cancel {
      flex: 1; padding: 12px; border: 1.5px solid var(--gray-light); border-radius: 40px;
      background: none; font-family: var(--font-body); font-size: 13px; font-weight: 500;
      color: var(--gray); cursor: pointer; transition: all 0.2s;
    }
    .modal-cancel:hover { border-color: var(--black); color: var(--black); }
    .modal-confirm {
      flex: 1; padding: 12px; border: none; border-radius: 40px;
      background: var(--red); color: white;
      font-family: var(--font-body); font-size: 13px; font-weight: 700;
      cursor: pointer; transition: background 0.2s;
    }
    .modal-confirm:hover { background: #c0392b; }

    .modal-check {
      width: 64px; height: 64px; margin: 0 auto;
      border-radius: 50%; background: #F0FAF0; color: #2D7A2D;
      display: flex; align-items: center; justify-content: center;
    }
    .modal-check svg { width: 30px; height: 30px; }
    .modal-order-id {
      font-size: 12px; color: var(--gray); background: var(--cream);
      border-radius: 6px; padding: 8px 12px; font-weight: 600; word-break: break-all;
    }
    .modal-accept {
      width: 100%; padding: 13px; border: none; border-radius: 40px;
      background: var(--black); color: white;
      font-family: var(--font-body); font-size: 13px; font-weight: 700;
      cursor: pointer; transition: background 0.2s;
    }
    .modal-accept:hover { background: var(--coral); }
    .modal-whatsapp { background: #25D366; margin-bottom: -2px; }
    .modal-whatsapp:hover { background: #0c9b43; }

    .btn-transferencia {
      width: 100%; padding: 13px; border: 1.5px; border-radius: 40px;
      background: var(--black); color: var(--white);
      font-family: var(--font-body); font-size: 13px; font-weight: 700;
      cursor: pointer; transition: all 0.2s;
    }
    .btn-transferencia:hover { background: var(--coral); color: white; }
    .transfer-list { display: flex; flex-direction: column; gap: 10px; text-align: left; }
    .transfer-row {
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      background: var(--cream); border-radius: 6px; padding: 10px 14px;
    }
    .transfer-label { font-size: 11px; color: var(--black); text-transform: capitalize; }
    .transfer-value { font-size: 13px; font-weight: 700; color: var(--black); word-break: break-all; text-align: right; }

    /* ── FOOTER ── */
    footer { background: var(--black); color: var(--white); margin-top: auto; }
    .footer-bottom-simple {
      max-width: 1320px; margin: 0 auto; padding: 28px 32px;
      display: flex; justify-content: space-between; align-items: center;
    }
    .footer-bottom-simple p { font-size: 12px; color: #555; }
    .payment-icons { display: flex; gap: 8px; }
    .payment-icon { background: #2a2a2a; border-radius: 4px; padding: 4px 8px; font-size: 10px; font-weight: 700; color: #999; letter-spacing: 0.05em; }

    /* ── RESPONSIVE ── */
    @media (max-width: 960px) {
      .cart-layout { grid-template-columns: 1fr; gap: 28px; }
      .cart-summary { position: static; }
    }
    @media (max-width: 600px) {
      .header-inner { padding: 0 16px; }
      .page-header { padding: 20px 16px 20px; flex-wrap: wrap; gap: 12px; }
      .page-title { font-size: 28px; }
      .cart-layout { padding: 20px 16px 60px; }
      .breadcrumb { padding: 16px 16px 0; }
      .nav-inner { gap: 20px; overflow-x: auto; justify-content: flex-start; padding: 0 16px; }

      .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 14px;
        padding: 16px;
        margin-bottom: 14px;
        background: var(--white);
        border: 1px solid var(--gray-light);
        border-radius: 10px;
      }
      .cart-item:first-child { border-top: 1px solid var(--gray-light); }
      .item-img { width: 80px; height: 80px; }
      .item-name { font-size: 14.5px; line-height: 1.4; }
      .item-paquete { font-size: 12.5px; margin-top: 2px; }
      .item-precio-unit { font-size: 12px; }

      .item-controls {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px dashed var(--gray-light);
        gap: 10px;
      }
      .item-subtotal { font-size: 19px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .ticker-track, .toast, .modal, .modal-overlay { animation: none; transition: none; }
    }
    @media (max-width: 768px) {
      .nav-inner {
      display: flex;
      align-items: center;    
      justify-content: center;
      width: 100%;
      text-align: center;
      }
    }    