/* ================= CARRITO ================= */

    .cart-fab {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: #ffb703;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2000;
      box-shadow: 0 15px 35px rgba(255,183,3,0.4);
    }

    .cart-fab svg { stroke: #000; }

    .cart-count {
      position: absolute;
      top: -5px;
      right: -5px;
      background: #000;
      color: #fff;
      font-size: 0.7rem;
      padding: 3px 7px;
      border-radius: 50%;
      font-weight: 600;
    }

    .cart-drawer {
      position: fixed;
      top: 0;
      right: -420px;
      width: 400px;
      height: 100vh;
      background: #111;
      box-shadow: -10px 0 30px rgba(0,0,0,0.7);
      padding: 30px;
      transition: right .4s ease;
      z-index: 3000;
    }

    .cart-drawer.open { right: 0; }

    .cart-drawer h3 {
      margin-bottom: 20px;
      border-bottom: 1px solid #333;
      padding-bottom: 10px;
    }

    .cart-items {
      max-height: 65vh;
      overflow-y: auto;
    }

    .cart-item {
      display: flex;
      justify-content: space-between;
      margin-bottom: 15px;
      font-size: 0.95rem;
    }

    .cart-total {
      margin-top: 20px;
      font-weight: 600;
    }

    .close-cart {
      position: absolute;
      top: 20px;
      right: 20px;
      cursor: pointer;
      opacity: 0.6;
    }

    /* ============ RESPONSIVE ============ */

    @media (max-width: 768px) {
      header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
      }

      header nav a { margin: 0 10px; }

      .content h2 { font-size: 2.4rem; }

      .cart-drawer {
        width: 100%;
      }
    }
    .cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.remove-btn {
  background: none;
  border: none;
  color: #ff4d4d;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn-cart {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  background: #333;
  color: #fff;
}

.btn-cart.primary {
  background: #ffb703;
  color: #000;
}
/* ===== CART PRO ===== */

.cart-empty {
  text-align: center;
  opacity: 0.6;
  margin-top: 40px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid #222;
  padding-bottom: 12px;
}

.cart-info span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-actions button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #222;
  color: #fff;
  cursor: pointer;
}

.cart-subtotal {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.cart-subtotal button {
  background: none;
  border: none;
  color: #ff4d4d;
  cursor: pointer;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 1.1rem;
}

.cart-btn {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 500;
}

.cart-btn.primary {
  background: #ffb703;
  color: #000;
}

.cart-btn.secondary {
  background: #222;
  color: #fff;
}/* ===== CART RESPONSIVE PRO ===== */

@media (max-width: 1024px) {
  .cart-drawer {
    width: 360px;
  }
}

@media (max-width: 768px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
    padding: 20px;
  }

  .cart-drawer.open {
    right: 0;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cart-actions {
    justify-content: center;
  }

  .cart-actions button {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .cart-subtotal {
    font-size: 1rem;
  }

  .cart-btn {
    padding: 16px;
    font-size: 1rem;
  }

  .cart-summary {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .cart-fab {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }

  .cart-fab svg {
    width: 22px;
    height: 22px;
  }

  .cart-count {
    font-size: 0.75rem;
  }

  .cart-drawer h3 {
    font-size: 1.4rem;
  }

  .cart-info strong {
    font-size: 1rem;
  }

  .cart-info span {
    font-size: 0.8rem;
  }
}

