    /* Contenido */
    main {
      padding: 20px;
    }

    h2 {
      margin: 30px 0 15px;
      font-size: 1.6rem;
      color: #222;
      border-left: 5px solid #2a9d8f;
      padding-left: 10px;
    }

    /* Contenedor general */
    .productos-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
      margin-bottom: 40px;
    }

    /* Tarjeta */
    .product-container {
      position: relative;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .product-container:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    }

    /* Imagen */
    .product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    }

    /* Detalles */
    .product-details {
      padding: 15px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .product-title {
      font-size: 1rem;
      margin: 8px 0;
      color: #111;
      font-weight: 600;
      line-height: 1.3;
    }

    .product-details p {
      font-size: 0.85rem;
      color: #666;
      margin: 4px 0;
    }

    /* Precios */
    .product-prices {
      margin-top: 8px;
      font-size: 0.95rem;
    }

    .price {
      font-weight: bold;
      color: #2a9d8f;
      font-size: 1.1rem;
    }
    .old-price {
      text-decoration: line-through;
      color: #999;
      margin-right: 10px;
      font-size: 0.9rem;
    }

    /* Etiquetas */
    .product-tag {
           position: absolute;
            top: 10px;
            right: -25px;
            background-color: #007bff;
            color: white;
            padding: 5px 25px;
            font-weight: bold;
            transform: rotate(45deg);
            z-index: 10;
    }
    .oferta {
            background-color: #dc3545;
    }
    .nuevo {
            background-color: #007bff;
    }

    /* Responsive */
    @media (max-width: 600px) {
      header h1 {
        font-size: 1.2rem;
      }
      nav a {
        margin-left: 10px;
        font-size: 0.9rem;
      }
      h2 {
        font-size: 1.3rem;
      }
      .product-title {
        font-size: 0.95rem;
      }
      .productos-container {
        grid-template-columns: 1fr;
      }
    }