/**
 * 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 #F0C4C8; /* 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(74, 14, 22, 0.1); /* Bayangan berbasis Crimson lembut */
    color: #4A0E16; /* Warna ikon Crimson */
    -webkit-tap-highlight-color: transparent;
}

.prod-card-actions-btn:hover {
    background: #FFFFFF;
    border-color: #9B2C3A; /* Border berubah menjadi Ruby Red saat hover */
    box-shadow: 0 4px 12px rgba(155, 44, 58, 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: #F0C4C8; /* Latar belakang soft crimson */
    border-top: 2px solid #4A0E16; /* Dipertegas dengan border atas Crimson */
    box-shadow: 0 -10px 30px rgba(74, 14, 22, 0.12); /* Bayangan atas berbasis Crimson */
}

.pca-sheet-product {
    border-bottom: 1px solid #F0C4C8; /* Pemisah rose/crimson halus */
}

.pca-product-name {
    color: #2A080C; /* Deep Crimson pekat untuk nama produk */
}

.pca-product-price {
    color: #9B2C3A; /* Harga menggunakan warna Ruby Red agar kontras dan memikat */
    font-weight: 700;
}

/* ===== Action Items ===== */
.pca-action-item {
    color: #2A080C;
    transition: all 0.2s ease;
}

.pca-action-item:hover {
    background: #F0C4C8; /* Hover efek menggunakan warna rose lembut */
    color: #9B2C3A; /* Teks berubah menjadi Ruby Red */
}

.pca-action-icon {
    color: #4A0E16; /* Ikon menu menggunakan warna Crimson */
}

/* ===== Animation for Flying Product ===== */
.flying-product {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border: 2px solid #9B2C3A; /* 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 #F0C4C8; /* Border gambar responsif menggunakan rose/crimson */
    }
}