html {
    scroll-behavior: smooth
}

a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

.site .site-content #primary .elementor-products-grid ul.products.elementor-grid li.product {
    padding: 0;
}

/* Astra Mobile Cart Drawer Styles (Updated for bdt- classes) */
.astra-cart-drawer {
    font-family: inherit;
    z-index: 1000 !important;
}

.astra-cart-drawer-header {
    border-bottom: 1px solid #f2f2f2;
    padding: 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.astra-cart-drawer-title {
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
    color: #000;
}

/* Close button - Top Right */
.astra-cart-drawer-close {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    color: #000 !important;
    font-size: 24px !important;
    width: 24px;
    height: 24px;
    display: flex !important;
    align-items: center;
}

/* Product list area */
.astra-cart-drawer-content .widget_shopping_cart_content {
    padding: 0 !important;
}

.bdt-mini-cart-products {
    padding: 0 20px !important;
    list-style: none !important;
    margin: 0 !important;
}

.bdt-mini-cart-product-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid #f2f2f2;
    gap: 20px;
}

/* Thumbnail styling */
.bdt-mini-cart-product-thumbnail img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 0;
    border: 1px solid #eee;
}

.bdt-margin-small-left {
    flex: 1;
    margin: 0 !important;
}

/* Product Name */
.bdt-mini-cart-product-name a {
    font-weight: 700 !important;
    color: #000 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    font-size: 0.9rem !important;
    display: block;
    margin-bottom: 10px;
    padding-right: 25px;
}

/* Price and Quantity area */
.bdt-mini-cart-product-price {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Quantity Box Reset */
.bdt-mini-cart-product-price .quantity {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    border: 1px solid #eee !important;
    width: fit-content;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 0 !important;
    /* Remove pill shape */
}

/* Quantity +/- buttons */
.ast-qty-placeholder {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #000 !important;
    font-size: 16px !important;
    font-weight: normal !important;
    background: transparent !important;
    border: none !important;
    transition: background 0.2s;
}

.ast-qty-placeholder:hover {
    background: #f9f9f9 !important;
}

.ast-qty-placeholder.minus {
    border-right: 1px solid #eee !important;
}

.ast-qty-placeholder.plus {
    border-left: 1px solid #eee !important;
}

.ast-mini-cart-price-wrap .amount {
    font-weight: 500;
    color: #000;
    font-size: 0.95rem;
}

/* Remove button x */
.bdt-mini-cart-product-remove {
    margin-top: 5px;
}

.bdt-mini-cart-product-remove a svg {
    width: 14px;
    height: 14px;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.bdt-mini-cart-product-remove a:hover svg {
    opacity: 1;
}

/* Subtotal area */
.bdt-mini-cart-subtotal {
    padding: 30px 20px 20px !important;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #000;
}

/* Footer Buttons Styling */
.bdt-mini-cart-footer-buttons {
    padding: 0 20px 40px !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bdt-mini-cart-footer-buttons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 18px 10px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* Ensure child span is also the right color */
.bdt-mini-cart-footer-buttons a span.bdt-button-text {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 1.5px !important;
    color: inherit !important;
}

/* View Cart Button */
.bdt-button-view-cart {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

/* Checkout Button */
.bdt-button-checkout {
    background: #000 !important;
    color: #fff !important;
    /* Fix for white text on black */
    border: 1px solid #000 !important;
}

.bdt-mini-cart-footer-buttons a:hover {
    filter: invert(1);
}

/* Mobile responsive fixes */
@media (max-width: 1411px) {
    .main-header-menu>.menu-item>.menu-link {
        font-size: 16px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;

    }

    header .custom-logo-link img {
        width: 200px !important;
    }
}



@media (max-width: 480px) {
    .bdt-mini-cart-product-thumbnail img {
        width: 50px !important;
        height: 50px !important;
    }
}