/*your custom css goes here*/

/* Price Tier Cards Styling */
.price-tier-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-tier-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.price-tier-card .text-muted {
    color: #6c757d !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-tier-card .h5 {
    color: #007bff !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Highlight the first tier card */
.price-tier-card:first-child {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.price-tier-card:first-child .h5 {
    color: #28a745 !important;
}

.price-tier-card:first-child::before {
    content: "BEST VALUE";
    position: absolute;
    top: 0;
    right: 0;
    background: #28a745;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 0 8px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Discount styling */
.price-tier-card .text-decoration-line-through {
    text-decoration: line-through !important;
    opacity: 0.7;
}

.price-tier-card .text-success {
    color: #28a745 !important;
}

.price-tier-card .text-muted {
    color: #6c757d !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .price-tier-card {
        margin-bottom: 1rem;
    }

    .price-tier-card .h5 {
        font-size: 1.25rem;
    }
}

/* ===== BEAUTIFUL CART STYLING ===== */

/* Cart Container */
.cart-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

/* Cart Header */
.cart-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cart-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.cart-header .cart-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Cart Items */
.cart-item {
    background: white;
    border-radius: 12px;
    margin: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #28a745);
    border-radius: 0 2px 2px 0;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

/* Cart Item Image */
.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-image {
    border-color: #007bff;
    transform: scale(1.05);
}

/* Cart Item Details */
.cart-item-details h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cart-item-details .variant-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item-details .sku-info {
    color: #adb5bd;
    font-size: 0.8rem;
    font-style: italic;
}

/* Price Display */
.price-display {
    text-align: center;
    padding: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.discounted-price {
    color: #28a745;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.wholesale-price {
    color: #007bff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.discount-info {
    color: #28a745;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.wholesale-info {
    color: #007bff;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 8px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

/* Cart Summary */
.cart-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 15px;
    border: 1px solid #dee2e6;
}

.cart-summary h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #007bff;
}

.summary-label {
    color: #6c757d;
    font-weight: 500;
}

.summary-value {
    color: #2c3e50;
    font-weight: 600;
}

/* Cart Actions */
.cart-actions {
    padding: 20px;
    text-align: center;
}

.btn-cart-action {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cart-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-cart-action:hover::before {
    left: 100%;
}

.btn-checkout {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.btn-continue {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: white;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-cart-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-cart h5 {
    color: #6c757d;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #adb5bd;
    margin-bottom: 30px;
}

/* Cart Badge */
.cart-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-item {
        margin: 10px;
        padding: 15px;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-header {
        padding: 15px;
    }
    
    .cart-header h4 {
        font-size: 1.3rem;
    }
    
    .btn-cart-action {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Animation for cart items */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item {
    animation: slideInUp 0.5s ease-out;
}

/* Hover effects for interactive elements */
.cart-item .btn-remove {
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-item:hover .btn-remove {
    opacity: 1;
}

.btn-remove {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ===== BEAUTIFUL CART DROPDOWN STYLING ===== */

/* Test to ensure CSS is loading */
.cart-dropdown-test {
    background: red !important;
    color: white !important;
}

/* Force cart dropdown styling with high specificity */
body .dropdown-menu.dropdown-menu-right.dropdown-menu-lg,
html body .dropdown-menu.dropdown-menu-right.dropdown-menu-lg,
body .dropdown-menu.dropdown-menu-right.dropdown-menu-lg.show,
html body .dropdown-menu.dropdown-menu-right.dropdown-menu-lg.show {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    min-width: 380px !important;
    max-width: 420px !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Cart Dropdown Container */
.dropdown-menu.dropdown-menu-right.dropdown-menu-lg,
.dropdown-menu.dropdown-menu-right.dropdown-menu-lg.show {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    min-width: 380px !important;
    max-width: 420px !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Cart Dropdown Header */
.dropdown-menu .fs-16.fw-700 {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    padding: 20px !important;
    margin: 0 !important;
    text-align: center !important;
    position: relative !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.dropdown-menu .fs-16.fw-700::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.dropdown-menu .fs-16.fw-700::after {
    content: '🛒';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    z-index: 1;
}

/* Cart Items List */
.dropdown-menu .list-group {
    background: transparent !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    padding: 10px !important;
}

.dropdown-menu .list-group-item {
    background: white !important;
    border: none !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
    padding: 15px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.dropdown-menu .list-group-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #28a745);
    border-radius: 0 2px 2px 0;
}

.dropdown-menu .list-group-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

/* Cart Item Image */
.dropdown-menu .img-fit {
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dropdown-menu .list-group-item:hover .img-fit {
    border-color: #007bff;
    transform: scale(1.05);
}

/* Cart Item Text */
.dropdown-menu .text-dark {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1.3;
}

.dropdown-menu .text-secondary {
    color: #6c757d !important;
    font-size: 0.85rem !important;
}

/* Remove Button */
.dropdown-menu .btn-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.dropdown-menu .btn-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.dropdown-menu .btn-icon i {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Subtotal Section */
.dropdown-menu .border-top {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none !important;
    padding: 20px !important;
    margin: 0 !important;
}

.dropdown-menu .border-top .fs-14 {
    color: #6c757d !important;
    font-weight: 500 !important;
}

.dropdown-menu .border-top .fs-16 {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

/* Action Buttons */
.dropdown-menu .py-3 {
    background: white;
    padding: 20px !important;
    border: none !important;
    margin: 0 !important;
}

.dropdown-menu .btn-secondary-base {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 15px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.9rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
    border: 2px solid transparent !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
}

.dropdown-menu .btn-secondary-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.dropdown-menu .btn-secondary-base::after {
    content: '🛒';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.dropdown-menu .btn-secondary-base:hover::before {
    left: 100%;
}

.dropdown-menu .btn-secondary-base:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.dropdown-menu .btn-secondary-base:hover::after {
    transform: translateY(-50%) scale(1.2);
    animation: cartBounce 0.6s ease-in-out;
}

.dropdown-menu .btn-secondary-base:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Cart Icon Bounce Animation */
@keyframes cartBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-50%) scale(1.2);
    }
    40% {
        transform: translateY(-50%) scale(1.4);
    }
    60% {
        transform: translateY(-50%) scale(1.3);
    }
}

/* Button Pulse Effect */
.dropdown-menu .btn-secondary-base,
body .dropdown-menu .btn-secondary-base,
html body .dropdown-menu .btn-secondary-base {
    animation: gradientShift 3s ease infinite, buttonPulse 2s ease-in-out infinite !important;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
}

/* Button Text Styling */
.dropdown-menu .btn-secondary-base {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Button Focus State */
.dropdown-menu .btn-secondary-base:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* Button Loading State (if needed) */
.dropdown-menu .btn-secondary-base.loading {
    pointer-events: none;
    opacity: 0.8;
}

.dropdown-menu .btn-secondary-base.loading::after {
    content: '⏳';
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Empty Cart */
.dropdown-menu .text-center.p-3 {
    padding: 40px 20px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.dropdown-menu .text-center.p-3 i {
    color: #dee2e6;
    font-size: 3rem !important;
    margin-bottom: 15px;
}

.dropdown-menu .text-center.p-3 h3 {
    color: #6c757d !important;
    font-weight: 600 !important;
    margin-bottom: 20px;
}

/* Cart Badge Animation */
.cart-count {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

/* Scrollbar Styling */
.c-scrollbar-light::-webkit-scrollbar {
    width: 6px;
}

.c-scrollbar-light::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.c-scrollbar-light::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #28a745);
    border-radius: 3px;
}

.c-scrollbar-light::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #1e7e34);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dropdown-menu.dropdown-menu-right.dropdown-menu-lg {
        min-width: 320px;
        max-width: 350px;
    }
    
    .dropdown-menu .list-group-item {
        padding: 12px;
    }
    
    .dropdown-menu .img-fit {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Animation for dropdown */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    animation: slideInDown 0.3s ease-out;
}

/* Cart Icon Hover Effect */
.dropdown-toggle:hover .cart-count {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* ===== ENHANCED CART PAGE STYLING ===== */

/* Cart Container Enhancements */
.cart-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    position: relative !important;
}

.cart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: white;
    z-index: 1;
}

/* Enhanced Cart Header */
.cart-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    padding: 30px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cartPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cartPattern)"/></svg>');
    opacity: 0.3;
}

.cart-header h4 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.cart-header small {
    font-size: 1.1rem !important;
    opacity: 0.9 !important;
}

.cart-icon {
    font-size: 3rem !important;
    margin-bottom: 15px !important;
    animation: cartPulse 2s ease-in-out infinite !important;
}

@keyframes cartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Enhanced Cart Items */
.cart-items {
    padding: 20px !important;
    background: transparent !important;
}

.cart-item {
    background: white !important;
    border-radius: 15px !important;
    margin-bottom: 20px !important;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 123, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: white;
    border-radius: 0 2px 2px 0;
}

.cart-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: #007bff !important;
}

/* Enhanced Product Images */
.cart-item-image {
    border-radius: 12px !important;
    border: 2px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.cart-item:hover .cart-item-image {
    border-color: #007bff !important;
    transform: scale(1.05) !important;
}

/* Enhanced Product Details */
.cart-item-details h6 {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.variant-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    color: #1976d2 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
    margin-bottom: 5px !important;
}

.sku-info {
    color: #6c757d !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

/* Enhanced Price Display */
.price-display {
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

/* Enhanced Quantity Controls */
.quantity-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

.quantity-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3) !important;
}

.quantity-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4) !important;
}

.quantity-input {
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    text-align: center !important;
    font-weight: 600 !important;
    width: 60px !important;
    transition: all 0.3s ease !important;
}

.quantity-input:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1) !important;
    outline: none !important;
}

/* Enhanced Remove Button */
.btn-remove {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
}

.btn-remove:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4) !important;
}

/* Enhanced Cart Summary */
.cart-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 123, 255, 0.1) !important;
}

.cart-summary h5 {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    position: relative !important;
}

.cart-summary h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.summary-row:last-child {
    border-bottom: none !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    color: #007bff !important;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%) !important;
    margin: 0 -25px -25px -25px !important;
    padding: 20px 25px !important;
    border-radius: 0 0 15px 15px !important;
}

.summary-label {
    color: #6c757d !important;
    font-weight: 500 !important;
}

.summary-value {
    color: #2c3e50 !important;
    font-weight: 600 !important;
}

/* Enhanced Cart Actions */
.cart-actions {
    padding: 20px !important;
    background: white !important;
}

.btn-cart-action {
    border-radius: 25px !important;
    padding: 15px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
}

.btn-continue {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: white !important;
}

.btn-checkout {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%) !important;
    color: white !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
}

.btn-cart-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-cart-action:hover::before {
    left: 100%;
}

.btn-cart-action:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Enhanced Empty Cart */
.empty-cart {
    text-align: center !important;
    padding: 60px 20px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.empty-cart-icon {
    font-size: 4rem !important;
    color: #dee2e6 !important;
    margin-bottom: 20px !important;
    animation: cartPulse 2s ease-in-out infinite !important;
}

.empty-cart h5 {
    color: #6c757d !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.empty-cart p {
    color: #adb5bd !important;
    margin-bottom: 30px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-header {
        padding: 20px !important;
    }
    
    .cart-header h4 {
        font-size: 1.5rem !important;
    }
    
    .cart-item {
        padding: 15px !important;
    }
    
    .cart-summary {
        margin: 15px !important;
        padding: 20px !important;
    }
}