#slideout-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
	padding: 0px!important;
}
.quantity {
	padding-left: 25px !important;
	position: relative;
	left: -15px;
	font-size: 14px;
}
.woocommerce-mini-cart__empty-message {
	text-align: center;
}
.woocommerce-mini-cart-item.mini_cart_item > a {
    font-size: 14px;
}
.woocommerce-Price-amount.amount {
	font-size: 14px;
	padding-left: 10px;
}
.remove.remove_from_cart_button {
	float: right;
}
#slideout-cart.open {
    right: 0;
}

#slideout-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}

#slideout-overlay.active {
    display: block;
}

#slideout-cart .cart-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#slideout-cart .cart-header h4 {
    margin: 0;
    font-size: 18px;
}

#slideout-cart .close-slideout {
    cursor: pointer;
    font-size: 24px;
    color: #666;
}

#slideout-cart .cart-contents {
	flex-grow: 1;
	overflow-y: auto;
	padding: 0px;
	padding-top: 12px;
}

#slideout-cart .cart-buttons {
    padding: 15px;
    border-top: 1px solid #eee;
    background-color: #f8f9fa;
}

#slideout-cart .cart-buttons a {
    display: block;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

#slideout-cart .cart-buttons a.view-cart-btn {
    background-color: #eee;
    color: #000;
}
ul.woocommerce-mini-cart.cart_list.product_list_widget {
	padding-left: 10px;
	padding-right: 10px;
}
.woocommerce-mini-cart__total.total {
	padding-left: 10px;
	padding-top: 10px;
}
.woocommerce-mini-cart__buttons.buttons {
	display: none;
}
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img, .woocommerce-page ul.cart_list li img, .woocommerce-page ul.product_list_widget li img {
    float: left !important;
    height: auto;
    width: 33%;
    margin-right: 10px;
}
@media (max-width: 500px) {
    #slideout-cart {
        width: 100%;
    }
}

.custom-header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}
.login-dropdown {
    position: relative;
    display: flex;
}
a.login-link {
    position: relative;
    left: 4px;
    top: 5px;
}
.bi-person::before {
    content: "\f4e1";
    font-size: 23px;
    top: 3px;
    position: relative;
}
.cart-heart-icon {
    position: relative;
    font-size: 20px;
    text-decoration: none;
    margin-right: 9px;
}
.cart-count {
	background: red;
	color: white;
	font-size: 12px;
	padding: 1px 7px;
	border-radius: 100%;
	position: absolute;
	top: -13px;
	right: -13px;
}
.bag-icon-trigger {
	font-size: 20px;
	cursor: pointer;
	margin-right: 6px;
}
#slideout-cart {
    position: fixed;
    right: -100%;
    top: 0;
    width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
#slideout-cart.open {
    right: 0;
}
#slideout-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}
#slideout-overlay.active {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-buttons {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.view-cart-btn, .checkout-btn {
    padding: 10px;
    background: #333;
    color: #fff;
    text-align: center;
    flex: 1;
    text-decoration: none;
    border-radius: 5px;
}

/* User Dropdown */
.login-dropdown {
    position: relative;
}
.user-icon {
    cursor: pointer;
    font-size: 20px;
}
.user-menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    list-style: none;
    padding: 10px;
    z-index: 999;
}
.user-menu li {
    margin: 5px 0;
}
.user-menu li a {
    text-decoration: none;
    color: #333;
}
.login-dropdown:hover .user-menu {
    display: block;
}
