/**
 * 商品詳細のボタンレイアウト
 */
.vv-favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #111111;
    background: #fff;
    cursor: pointer;
    transition: .2s;
    margin-top: 12px;
    height: 50px;
    text-align: center;
    font-size: 14px;
}
.vv-favorite-btn::before {
    font-size: 16px;
    transition: transform .2s ease, color .2s ease;
    content: '♡';
    margin-right: 5px;
}
.vv-favorite-btn.active::before {
    content: '♥';
    color: #111111;
    transform: scale(1.3);
}

.vv-favorite-btn.active .vv-text {
    color: #111111;
}

.vv-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #222;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(-10px);
    transition: .3s;
    z-index: 9999;
    font-size: 14px;
}

.vv-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/**
 * マイページの「お気に入り」一覧レイアウト
 */
.vv-favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.vv-fav-card {
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

.vv-fav-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.vv-fav-thumb img {
    width: 100%;
    border-radius: 8px;
}

.vv-fav-title {
    font-size: 14px;
    margin: 12px 0 6px;
    line-height: 1.4;
}

.vv-fav-title a {
    text-decoration: none;
    color: gray;
}

.vv-fav-price {
    margin-bottom: 10px;
    font-size: 15px;
}

.vv-fav-price del {
    color: #999;
    font-size: 13px;
    margin-right: 6px;
}

.vv-fav-price ins {
    color: #111111;
    font-weight: bold;
    text-decoration: none;
}

.vv-remove-favorite {
    margin-top: auto;
    padding: 8px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 0;
    font-size: 13px;
    transition: .2s;
    text-align: center;
}

.vv-remove-favorite:hover {
    background: #111111;
    color: #fff;
}

.vv-empty-fav {
    margin-top: 20px;
}

/* added css(sp) */
@media screen and (max-width: 768px) {
/**
 * 商品詳細のボタンレイアウト
 */
.vv-favorite-btn  {
    width: 160px;
    text-align: center;
    display: block;
    font-size: 14px;
}

.vv-favorite-btn::before {
    font-size: 14px;
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
    margin-bottom: 12px;
}

}