/* Products Container */
.products-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* Product Card */
.product-card {
    height: 530px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product-card:first-child {
    margin-left: 0;
}

.product-card:last-child {
    margin-right: 0;
}

.product-card__image {
    width: 100%;
    height: 200px;
    margin: 50px 0 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card__title {
    font-size: 18px;
    color: #373737;
    margin: 0;
}

.product-card__description {
    font-size: 16px;
    color: #373737;
    opacity: 0.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card__price {
    margin: auto 0 0;
    padding: 0 20px;
    font-weight: 700;
    font-size: 24px;
    color: #373737;
}

.product-card__currency {
    font-size: 18px;
}

.product-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 20px 20px;
    margin-top: 30px;
}

.product-card__link {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    text-decoration: underline;
}

.product-card__link:hover {
    opacity: 0.7;
}

.product-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 150px;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #373737;
    background-color: #fff;
    border: 1px solid #373737;
    border-radius: 0px 10px 0px 10px;
    cursor: pointer;
    transition: all 0.2s;
    height: 50px;
    flex-shrink: 0;
}

.product-card__btn:hover {
    background-color: #5DAF98;
    border-color: #5DAF98;
    color: #fff;
}

.product-card__btn:hover svg path {
    stroke: #fff;
    fill: transparent;
}

.product-card__btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .products-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-container {
        grid-template-columns: 1fr;
    }
}