/* Dual Cart Page Styles */
.woocommerce-cart-form>.shop_table.cart {
    display: none !important;
}

.pxl-dual-cart-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.pxl-cart-group {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    overflow-x: auto;
}

.pxl-cart-group-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color, #ff5e14);
    display: inline-block;
}

.pxl-cart-actions-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pxl-cart-actions-wrap .coupon {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pxl-cart-actions-wrap .coupon input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 250px;
}

.pxl-cart-actions-wrap button {
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.pxl-cart-group-subtotal td {
    padding: 20px !important;
    background: #fcfcfc;
    border-top: 2px solid #eee !important;
}

.pxl-cart-group-subtotal .product-subtotal {
    color: var(--primary-color, #ff5e14);
    font-size: 18px;
}

/* Mini Cart Sidebar Styles */
#pxl-cart-sidebar .pxl-widget-cart-sidebar {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    height: 100% !important;
}

#pxl-cart-sidebar .pxl-widget-cart-sidebar .widget_shopping_cart {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

#pxl-cart-sidebar .widget_shopping_head {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    flex-shrink: 0 !important;
    margin-bottom: 0 !important;
    background: #f9f9f9;
    z-index: 10;
}

#pxl-cart-sidebar .widget_shopping_cart_content,
#pxl-cart-sidebar .pxl-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding: 20px 30px !important;
    scrollbar-width: thin;
    height: auto !important;
    /* Allow flex-grow to handle it */
}

#pxl-cart-sidebar .widget_shopping_cart_footer {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    flex-shrink: 0 !important;
    padding: 30px !important;
    background: #fff;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #eee;
    z-index: 10;
}

.pxl-cart-group-header {
    background: #fcfcfc;
    padding: 12px 15px;
    margin: 20px -30px 15px -30px !important;
    border-left: 4px solid var(--primary-color, #ff5e14);
    border-bottom: 1px solid #eee;
}

.pxl-cart-group-header h3 {
    font-size: 14px !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pxl-mini-cart-subtotal {
    margin: 10px 0 20px !important;
    padding: 10px 0;
    border-top: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
}

.pxl-mini-cart-item {
    position: relative;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    display: flex;
    gap: 15px;
}

.pxl-mini-cart-item .cart-product-meta {
    flex-grow: 1;
    padding-right: 30px;
}

.pxl-mini-cart-item .remove_from_cart_button {
    position: absolute !important;
    top: 15px !important;
    right: 0 !important;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.pxl-mini-cart-item:hover .remove_from_cart_button {
    opacity: 1;
}

.pxl-mini-cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}