.PrdBtn {
    position: relative;
    min-height: 48px;
}

.img-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1;
}

.img-actions>* {
    pointer-events: auto;
}

/* 購物車按鈕 - 使用背景圖 */
.cart-btn {
    background: #fff url('https://athena.noon360.com/noon360/noon360/MsgInfo/shopcart_20250710_14180380.svg') no-repeat center center;
    background-size: 24px 24px;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
    cursor: pointer;
    transition: box-shadow 0.18s;
    margin-left: 0;
    position: relative;
}

/* 購物車按鈕（連結模式） */
.cart-btn-link {
    cursor: pointer;
}

.cart-btn-link:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    transition: all 0.2s;
}

/* 購物車徽章 - 紅底白字圓點 */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 數字選擇器（動畫淡入+滑動） */
.qty-popup {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
    padding: 4px;
    min-width: 96px;
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
}

/* 展開時加 .open */
.img-actions.open .qty-popup {
    opacity: 1;
    pointer-events: auto;
}

.img-actions.open .cart-btn {
    opacity: 0;
    pointer-events: none;
}

/* 加減鈕 */
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #222;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qty-btn:disabled {
    background: #d9d9d9;
    color: #f3f3f3;
    cursor: default;
}

.qty-value {
    font-size: 1.1rem;
    min-width: 22px;
    text-align: center;
    user-select: none;
    color: #000;
}