.products-panel {
    padding: 32px;
  /*  background-color: #f0f0f0;*/
    font-family: Montserrat, -apple-system, Roboto, Helvetica, sans-serif;
}

@media (max-width: 640px) {
    .products-panel {
        padding: 16px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    /*background-color: #f0f0f0;*/
    position: relative;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 384 / 244;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s;
}

.product-image:hover {
  -ms-transform: scale(1.05); /* IE 9 */
  -webkit-transform: scale(1.05); /* Safari 3-8 */
  transform: scale(1.05); 
}

.stock-badge {
    position: absolute;
    top: 25px;
    right: 23px;
    padding: 4px 8px;
    background-color: #606060;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;
}

.product-content {
    padding: 24px 23px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.product-title {
    margin: 0;
 /*   color: #060606;*/
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.product-description {
    margin: 0;
/*    color: #060606; */
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
   /* color: #060606; */
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.view-button {
    display: flex;
    padding: 10px;
    background-color: #060606;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.view-button:hover {
    opacity: 0.8;
}

.view-button-icon {
    width: 24px;
    height: 24px;
}
