.products-section {
    padding: 40px 0 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card img {
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-family: 'PlayfairDisplay', serif;
    margin: 10px 0 5px;
    font-size: 1.6rem;
    color: var(--title);
}

.product-card p {
    color: var(--primary-strong);
    font-weight: 700;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000b4;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 16px;
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.lightbox button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.lightbox .prev {
    left: 40px;
}

.lightbox .next {
    right: 40px;
}

.product-card {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    main {
        padding-top: 0;
    }

    .products-section {
        padding-top: 25px !important;
        padding-bottom: 0;
    }

    .lightbox img {
        max-width: 90%;
    }
}

@media (hover: none) and (pointer: coarse) {

  .product-card {
    transition: none !important;
  }

  .product-card:hover {
    transform: none !important;
  }

  .product-card img {
    transition: none !important;
  }

}