.pg-fde1dd4a-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pg-fde1dd4a-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pg-fde1dd4a-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pg-fde1dd4a-image-wrap {
    position: relative;
    overflow: hidden;
    padding: 10px 10px 0 10px;
}

.pg-fde1dd4a-image-link {
    display: block;
    text-decoration: none;
}

.pg-fde1dd4a-image {
    width: 100%;
    height: 280px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.pg-fde1dd4a-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.pg-fde1dd4a-card:hover .pg-fde1dd4a-image img {
    transform: scale(1.05);
}

.pg-fde1dd4a-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    line-height: 1.3;
    z-index: 2;
    letter-spacing: 0.3px;
}

.pg-fde1dd4a-rating {
    padding: 10px 14px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1;
}

.pg-fde1dd4a-star-filled {
    color: #FFB800;
    margin-right: 1px;
}

.pg-fde1dd4a-star-empty {
    color: #dddddd;
    margin-right: 1px;
}

.pg-fde1dd4a-rating-count {
    color: #888888;
    font-size: 12px;
    margin-left: 4px;
}

.pg-fde1dd4a-info {
    padding: 10px 14px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pg-fde1dd4a-title {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.pg-fde1dd4a-title:hover {
    color: #4CAF50;
}

.pg-fde1dd4a-price {
    font-size: 17px;
    font-weight: 700;
    color: #222222;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.pg-fde1dd4a-price del {
    color: #999999;
    font-size: 13px;
    font-weight: 400;
}

.pg-fde1dd4a-price ins {
    text-decoration: none;
    font-weight: 700;
}

.pg-fde1dd4a-action {
    padding: 6px 14px 16px;
}

.pg-fde1dd4a-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background-color: #ffffff;
    color: #222222;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid #333333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pg-fde1dd4a-btn:hover {
    background-color: #222222;
    border-color: #222222;
    color: #ffffff;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .pg-fde1dd4a-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .pg-fde1dd4a-image {
        height: 240px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .pg-fde1dd4a-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pg-fde1dd4a-image-wrap {
        padding: 6px 6px 0 6px;
    }
    .pg-fde1dd4a-image {
        height: 180px;
        border-radius: 8px;
    }
    .pg-fde1dd4a-image img {
        border-radius: 8px;
    }
    .pg-fde1dd4a-badge {
        top: 14px;
        right: 14px;
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 4px;
    }
    .pg-fde1dd4a-info {
        padding: 8px 10px 4px;
        gap: 4px;
    }
    .pg-fde1dd4a-title {
        font-size: 13px;
    }
    .pg-fde1dd4a-price {
        font-size: 14px;
        gap: 5px;
    }
    .pg-fde1dd4a-price del {
        font-size: 11px;
    }
    .pg-fde1dd4a-rating {
        padding: 6px 10px 0;
        font-size: 12px;
    }
    .pg-fde1dd4a-rating-count {
        font-size: 10px;
    }
    .pg-fde1dd4a-action {
        padding: 4px 10px 12px;
    }
    .pg-fde1dd4a-btn {
        padding: 10px 12px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    .pg-fde1dd4a-card {
        border-radius: 10px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .pg-fde1dd4a-grid {
        gap: 8px;
    }
    .pg-fde1dd4a-image {
        height: 150px;
    }
    .pg-fde1dd4a-btn {
        padding: 8px 10px;
        font-size: 10px;
    }
}
