.sticky-bottom-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e9e9e9;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 10px 14px;
    transition: all 0.25s ease;
}

.sticky-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

/* Hide sticky cart when cart sidebar is active */
.cart-sidebar.active ~ .sticky-bottom-cart,
.cart-sidebar.active + .sticky-bottom-cart {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(100%) !important;
}

.sticky-cart-container {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    min-height: 64px;
}

.sticky-cart-image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #efefef;
}

.sticky-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-cart-info {
    flex: 1;
    min-width: 0;
    margin-right: 15px;
}

.sticky-cart-title {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sticky-cart-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 15px;
}

.sticky-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #1f1f1f;
    white-space: nowrap;
}

.sticky-price-original {
    font-size: 13px;
    color: #a1a1a1;
    text-decoration: line-through;
    white-space: nowrap;
}

.sticky-cart-variants {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    margin-right: 15px;
}

.variant-select {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dedede;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    min-width: 160px;
    font-weight: 500;
    color: #2d2d2d;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #777 50%),
                      linear-gradient(135deg, #777 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.variant-select:focus {
    outline: none;
    border-color: #333;
}

.sticky-cart-actions {
    flex-shrink: 0;
}

.sticky-add-to-cart-btn {
    background: #d7d7d7;
    color: #1f1f1f;
    border: 1px solid #cfcfcf;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 3px;
    min-width: 220px;
}

.sticky-add-to-cart-btn:hover:not(:disabled) {
    background: #cfcfcf;
    transform: translateY(-1px);
}

.sticky-add-to-cart-btn:disabled {
    background: #e3e3e3;
    color: #9a9a9a;
    border-color: #e3e3e3;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sticky-bottom-cart {
        padding: 10px 12px;
    }
    
    .sticky-cart-container {
        gap: 10px;
    }
    
    .sticky-cart-image {
        width: 50px;
        height: 50px;
    }
    
    .sticky-cart-title {
        font-size: 14px;
    }
    
    .sticky-price-current {
        font-size: 15px;
    }
    
    .sticky-price-original {
        font-size: 12px;
    }
    
    .sticky-cart-variants {
        margin-right: 8px;
    }
    
    .variant-select {
        min-width: 120px;
        height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }
    
    .sticky-add-to-cart-btn {
        padding: 10px 18px;
        font-size: 12px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .sticky-cart-container {
        gap: 8px;
    }
    
    .sticky-cart-title {
        font-size: 13px;
    }
    
    .sticky-price-current {
        font-size: 14px;
    }
    
    .sticky-cart-variants {
        display: none; /* Hide on very small screens */
    }
    
    .sticky-add-to-cart-btn {
        padding: 8px 12px;
        font-size: 11px;
        min-width: 90px;
    }
}