.square-card {
    width: 240px; /* ????? 220 ???? ??????? ?? */
    height: 240px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .square-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    }

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.full-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 0; /* ??? ??????? ???? ????? ?? ???? */
    background: linear-gradient(45deg, #ff5a5f, #ff9966);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ???? ???????? ????????? */
.clean-grid {
    display: grid;
    gap: 20px;
    padding: 10px;
    /* auto-fit ???? ?????? ?? ?????? ???? ??????? ???? ?? ???? ?????? */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    
}


.square-card2 {
    aspect-ratio: 1 / 1; /* ???? ????? ???? */
    width: 100%;
    max-width: 220px; /* ?????? ?????? ???? */
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .square-card2:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

.card-img2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-btn2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px 0;
    background: linear-gradient(45deg, #ff5a5f, #ff9966);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
}

