/**
Theme Name: Digital Pratama Retailindo Theme (Riswnx)
Author: Riswan
Author URI: https://instagram.com/riswnx
Description: This dedicated custom theme was architected by Riswnx specifically for the Digital Pratama Retailindo ecosystem, prioritizing a high-end professional aesthetic and ultra-lean performance. Engineered to bypass the bloat of multi-purpose templates, it features a bespoke Dealer Locator engine and a precision-coded framework designed to showcase premium photography equipment with maximum speed and seamless responsiveness.
Version: 2.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digital-pratama-retailindo-theme-riswnx
Template: astra
*/


.mm-section :hover {
background-color: #005EE920 !Important;
border-radius: 8px !Important;
}


/* Container Utama Mega Menu */
.ast-desktop .brand-mega-menu .astra-full-megamenu-wrapper,
.ast-desktop .brand-mega-menu .sub-menu {
    background-color: #0f172a !important; /* Contoh warna biru navy gelap */
    padding: 25px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3) !important;
}

/* Judul Brand di dalam Mega Menu */
.brand-mega-menu .sub-menu h4 {
    color: #ffffff !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
}

/* Deskripsi Singkat di dalam Mega Menu */
.brand-mega-menu .sub-menu p {
    color: #94a3b8 !important; /* Warna abu-abu halus agar tidak terlalu mencolok */
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Link/Item saat di-hover */
.brand-mega-menu .sub-menu .menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px;
}

/* Menghilangkan tombol add to cart di seluruh area produk */
.button.add_to_cart_button, 
.button.product_type_external,
.single_add_to_cart_button,
.elementor-add-to-cart, 
.button.product_type_simple {
    display: none !important;
}

/* Hilangkan tombol keranjang melayang, tapi kecualikan yang ada class Sale */
.ast-on-card-button:not(.ast-onsale-card) {
    display: none !important;
}

/* Pastikan badge Sale (yang lingkaran itu) tetap muncul */
.ast-on-card-button.ast-onsale-card {
    display: flex !important; /* Astra biasanya pakai flex/block buat centering tulisan Sale */
    visibility: visible !important;
    opacity: 1 !important;
}