/**
 * Product Card Quick Actions - Crimson & Ruby Red Edition
 */

/* ===== 3 Dot Button on Product Card ===== */
.prod-card {
    position: relative;
}

.prod-card-actions-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    /* Latar belakang soft crimson yang sangat bersih */
    background: rgba(255, 241, 242, 0.95);
    border: 1px solid #FECDD3; /* Border rose/crimson halus */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(136, 19, 55, 0.1); /* Bayangan berbasis Crimson lembut */
    color: #881337; /* Warna ikon Crimson */
    -webkit-tap-highlight-color: transparent;
}

.prod-card-actions-btn:hover {
    background: #FFFFFF;
    border-color: #E11D48; /* Border berubah menjadi Ruby Red saat hover */
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25); /* Bayangan glow Ruby Red */
    transform: scale(1.05);
}

.prod-card-actions-btn:active {
    transform: scale(0.95);
}

/* ===== Bottom Sheet Crimson & Ruby Red Style ===== */
.pca-bottom-sheet {
    background: #FFF1F2; /* Latar belakang soft crimson */
    border-top: 2px solid #881337; /* Dipertegas dengan border atas Crimson */
    box-shadow: 0 -10px 30px rgba(136, 19, 55, 0.12); /* Bayangan atas berbasis Crimson */
}

.pca-sheet-product {
    border-bottom: 1px solid #FECDD3; /* Pemisah rose/crimson halus */
}

.pca-product-name {
    color: #4C0519; /* Deep Crimson pekat untuk nama produk */
}

.pca-product-price {
    color: #E11D48; /* Harga menggunakan warna Ruby Red agar kontras dan memikat */
    font-weight: 700;
}

/* ===== Action Items ===== */
.pca-action-item {
    color: #4C0519;
    transition: all 0.2s ease;
}

.pca-action-item:hover {
    background: #FFE4E6; /* Hover efek menggunakan warna rose lembut */
    color: #E11D48; /* Teks berubah menjadi Ruby Red */
}

.pca-action-icon {
    color: #881337; /* Ikon menu menggunakan warna Crimson */
}

/* ===== Animation for Flying Product ===== */
.flying-product {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border: 2px solid #E11D48; /* Efek terbang menggunakan border Ruby Red agar dinamis */
    border-radius: 8px;
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 640px) {
    .pca-bottom-sheet {
        border-radius: 16px 16px 0 0;
    }
    
    .pca-sheet-product {
        padding: 10px 16px;
    }
    
    .pca-product-image {
        border: 1px solid #FECDD3; /* Border gambar responsif menggunakan rose/crimson */
    }
}