.footer-add-to-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.footer-add-to-cart-bar.show {
    transform: translateY(0);
}

.footer-add-to-cart-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-add-to-cart-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer-add-to-cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-add-to-cart-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.footer-add-to-cart-info {
    flex: 1;
}

.footer-add-to-cart-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-add-to-cart-countdown {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 500;
    background: #ffe6e6;
    padding: 2px 6px;
    border-radius: 4px;
}

.footer-add-to-cart-product-title {
    font-size: 14px;
    color: #666;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.footer-add-to-cart-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-add-to-cart-compare-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.footer-add-to-cart-current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e74c3c;
}

.footer-add-to-cart-right {
    flex-shrink: 0;
    margin-left: 20px;
    display: flex;
    gap: 20px;
}

.footer-add-to-cart-buttons {
    display: flex;
    gap: 10px;
}

.footer-add-to-cart-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    height: fit-content;
}

a.footer-add-to-cart-btn-secondary {
    background: #333;
    color: #FFF;
}

.footer-add-to-cart-btn-secondary:hover {
    background: #333333a2;
}

.footer-add-to-cart-btn-primary {
    background: #FEDB1E;
    color: #000;
}

.footer-add-to-cart-btn-primary:hover {
    background: #fedc1ea8;
}

.chat-buttons {
    z-index: 1001 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .advc-back-to-top {
        bottom: 160px !important;
    }

    .chat-buttons {
        bottom: 6.5rem !important;
    }

    .footer-add-to-cart-price {
        justify-content: center;
    }

    .footer-add-to-cart-current-price {
        font-size: 1rem;
    }

    .footer-add-to-cart-container {
        padding: 12px 15px;
        flex-direction: column;
        gap: 12px;
    }

    .footer-add-to-cart-left {
        width: 100%;
        justify-content: center;
    }

    .footer-add-to-cart-product-title {
        max-width: 150px;
    }

    .footer-add-to-cart-right {
        margin-left: 0;
        width: 100%;
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }

    .footer-add-to-cart-buttons {
        width: 100%;
        justify-content: center;
    }

    .footer-add-to-cart-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .footer-add-to-cart-product {
        gap: 8px;
    }

    .footer-add-to-cart-image {
        width: 50px;
        height: 50px;
    }

    .footer-add-to-cart-title {
        font-size: 14px;
    }

    .footer-add-to-cart-countdown {
        font-size: 12px;
    }

    .footer-add-to-cart-product-title {
        font-size: 12px;
        max-width: 100px;
    }

    .footer-add-to-cart-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}