/* MINI CART DRAWER BASE */
*{
    font-family: Inter;
}

.elementor-menu-cart__toggle .elementor-button{
    width: 30px !important;
    justify-content: center !important;
}

/* ELEMENTOR MENU CART BUTTON - Make it clickable */
.elementor-menu-cart {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer;
}

.elementor-menu-cart__toggle {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    cursor: pointer;
    user-select: none;
    padding: 0 !important;
}

.elementor-button-icon svg{
    width: 22px !important;
    height: 23px !important;
}

#elementor-menu-cart__toggle_button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none !important;
}

#elementor-menu-cart__toggle_button:focus {
    outline: none;
}

.elementor-menu-cart__toggle,
.elementor-menu-cart__button,
.e-menu-cart-toggle {
    cursor: pointer !important;
}

.elementor-menu-cart__toggle .elementor-button{
    padding: 0 !important;
}
/* .elementor-menu-cart__toggle::after {
    content: 'Cart';
    font-size: 14px;
    font-weight: 500;
    color: #000000;
} */

.custom-cart-text{
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #000000;

}

.elementor-menu-cart__main{
    width: 572px !important;
    height: 100%;
    padding: 30px 45px 30px 30px !important;
}

/* HIDE ELEMENTOR CLOSE BUTTON */
.elementor-menu-cart__close-btn{
    display: none !important;
}

.cart-drawer {
    position: fixed;
    top: 32px;
    right: 0;
    width: 572px;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.cart-drawer.active {
    right: 0;
}

/* MINI CART CONTAINER */
.custom-mini-cart {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ================================
   HEADER
================================ */
.mini-cart-header {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #cccccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mini-cart-header h3 {
    font-family: Inter;
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.drawer-close {
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: #999;
    font-weight: 300;
    transition: 0.2s;
}

.drawer-close:hover {
    color: #333;
}

/* ================================
   CART ITEMS CONTAINER
================================ */
.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* ================================
   INDIVIDUAL CART ITEM
================================ */
.mini-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    padding: 15px 0px;
    /* border-bottom: 1px solid #cccccc !important; */
    align-items: flex-start;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.item-details{
    position: relative;
}

/* PRODUCT IMAGE */
.item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #F5F6F6;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* PRODUCT DETAILS */
.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    position: relative;
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-name {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #000000;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.product-name a:hover {
    color: #0b8f4e;
}

.product-sku {
    font-size: 11px;
    color: #000000;
    margin: 0;
    font-weight: 400;
}

/* QUANTITY DISPLAY */
.quantity-display {
    font-family: Inter;
    font-size: 14px;
    color: #000000;
    margin: 0;
    font-weight: 600;
}

/* PRODUCT VARIATIONS */
.product-variations {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 0 0;
}

.variation-item {
    font-size: 11px;
    color: #999;
    margin: 0;
    font-weight: 400;
}

.attr-label {
    font-weight: 500;
    color: #666;
}

.attr-value {
    color: #333;
}

/* PRICE & REMOVE */
.item-price-remove {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    justify-content: flex-start;
}

.product-price {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.product-line-total {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.remove_from_cart_button {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ddd;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.remove_from_cart_button:hover {
    color: #999;
}

/* QUANTITY × PRICE DISPLAY */
.qty-price-display {
    font-family: Inter;
    font-size: 14px;
    color: #000000;
    font-weight: 600;
}

/* PRICE TOTAL */
.item-price-total {
    position: absolute;
    top: 0px;
    right: 0;
    font-family: Inter;
    display: flex;
    align-items: center;
    justify-content: right;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    height: 100%;
}

/* ================================
   FOOTER
================================ */
.mini-cart-footer {
    padding: 20px 0 0 0;
    border-top: 1px solid #cccccc;
    flex-shrink: 0;
}

.subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 16px;
    align-items: center;
}

.estimate-section {
    display: flex;
    flex-direction: column;
}

.subtotal span {
    font-family: Inter;
    color: #000000;
    font-weight: 600;
}

.subtotal strong {
    font-family: Inter;
    font-size: 14px;
    color: #000000;
    font-weight: 600;
}


.subtotal .shipping-text{
    font-family: Inter;
    font-size: 12px;
    color: #000000;
    font-weight: 400;
}
/* ================================
   ACTION BUTTONS
================================ */
.cart-actions {
    display: flex;
    gap: 10px;
}

.view-cart-btn {
    width: 246px;
    height: 50px;
    padding: 22px 13px 20px 13px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    text-decoration: none;
    color: #000000;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.view-cart-btn:hover {
    color: #fff;
    background-color: #00291E;
}

.checkout-btn {
    display: flex;
    gap: 6px;
    width: 246px;
    height: 50px;
    padding: 22px 13px 20px 13px;
    text-align: center;
    background: #003D29;
    color: #fff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkout-btn:hover {
    color: #fff;
    background-color: #00291E;
}

.item-details .remove-item{
    font-family: Inter;
    color: #333333;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 400;
}

/* ================================
   EMPTY CART
================================ */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 300px;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    
}

.empty-cart h3 {
    display: flex;
    font-size: 38px;
    font-weight: 600;
    color: #000;
}

.empty-cart p {
    color: #000;
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 0 !important;
}

.empty-cart .button {
    display: inline-block;
    padding: 22px 13px 20px 13px;
    background: #003D29 !important;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400 !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 50px;
    width: 100%;
}

.empty-cart .button:hover {
    background: #000;
    color: #fff;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}
