﻿/* PRODUCT GRID */
.pbox {
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .pbox:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,.08);
    }

.pbox-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pimg-wrap {
    background: #f6f6f6;
    aspect-ratio: 1/1;
    width: 100%;
}

.pimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pinfo {
    padding: 10px 12px 8px;
}

.ptitle {
    font-weight: 700;
    line-height: 1.2;
    min-height: 36px;
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pprice {
    margin-top: 6px;
    font-weight: 800;
    font-size: 16px;
}

.pactions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
}

.pactions-left {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    margin: 0;
}

.qty {
    display: flex;
    align-items: center;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 28px;
    height: 32px;
    border: 0;
    background: #fff;
    cursor: pointer;
}

.qty-input {
    width: 38px;
    height: 32px;
    border: 0;
    text-align: center;
    outline: none;
}

.btn-add {
    height: 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    padding: 0 12px;
    white-space: nowrap;
}

.fav {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

    .fav:hover {
        transform: scale(1.05);
    }
