.clone-floating-cart-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 28px;
    height: 28px;
    scale: 0.9;
    border: none;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 800;
}

.clone-floating-cart-button i {
    font-size: 1rem;
    text-align: center;
    scale: 0.89;
    color: #000;
    pointer-events: none;
}

.clone-floating-cart-button span {
    display: none;
}

@media (max-width: 1024px) {
    .clone-floating-cart-button {
        display: flex;
        top: 20px;
        right: 8px;
        bottom: unset;
        background-color: #f1c40f;
        color: #000;
        padding: 15px;
        width: 50px;
        height: 50px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        justify-content: center;
        margin: 0;
    }
    .clone-floating-cart-button i {
        font-size: 1.8rem;
        color: #000;
    }
}

@media (max-width: 480px) {
    .clone-floating-cart-button {
        top: 15px;
        right: 15px;
        bottom: unset;
        width: 45px;
        height: 45px;
    }
}


/* Sidebar Clone */

.clone-cart-sidebar {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1060;
    top: 0;
    right: 0;
    background-color: #fff;
    opacity: 0.95;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.5s ease, opacity 0.3s ease, width 0.3s ease;
    box-shadow: var(--box-shadow-dark);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
}

.clone-cart-sidebar.clone-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    width: 40vw;
    min-width: 300px;
}

.clone-cart-sidebar.clone-animating {
    pointer-events: none;
}

.clone-cart-sidebar aside {
    padding: var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

.clone-cart-sidebar h2 {
    margin-top: 50px;
    color: #333;
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.clone-cart-items {
    margin-bottom: var(--spacing-lg);
}

.clone-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.clone-cart-item:last-child {
    border-bottom: none;
}

.clone-cart-item-name {
    color: var(--sidebar-text-light);
    font-size: 0.9rem;
}

.clone-cart-item-price {
    color: #616161;
    font-size: 0.9rem;
    font-weight: 700;
}

.clone-cart-footer {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.clone-checkout-btn {
    background-color: var(--accent-color);
    color: var(--text-dark-page);
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    max-width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


@media (max-width: 480px) {
    .clone-cart-sidebar.clone-open {
        width: 100%;
    }
    .clone-cart-sidebar aside {
        padding: var(--spacing-md);
    }
}