.shopping-btn {
    position: relative;
    background-color: #6e00ff;
    padding: 6px 10px;
    border-radius: 23px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.shopping-btn:hover {
    transform: scale(1.1);
}

.shopping-btn-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ff5630;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 991px) {
    .shopping-btn {
        display: flex;
        justify-content: center;
    }

    .shopping-btn-badge {
        position: unset;
        font-size: 16px;
        margin-left: 10px;
        padding: 0 8px 0 8px;
        border-radius: 5px;

    }

}

.ytko-cart-container {
    position: relative;
    margin-right: 15px;
}

.ytko-cart-btn {
    position: relative;
    padding: 5px 12px;
    color: black;
    cursor: pointer;
    transition: transform 0.2s ease;
    font-size: 22px;
}

.ytko-cart-btn:hover {
    transform: scale(1.1);
}

.ytko-cart-btn:hover + .ytko-cart-dropdown,
.ytko-cart-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ytko-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #00B7FD;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ytko-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.ytko-cart-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ytko-cart-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.ytko-cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.ytko-cart-item {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.ytko-cart-item:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}


.ytko-cart-item-image {
    width: 83px;
    height: 40px;
    object-fit: cover;
    margin-right: 12px;
}

.ytko-cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ytko-cart-item-details h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 500;
    color: #36394A;
    line-height: 20px;
}

.ytko-cart-item-price-wrapper {
    display: flex;
    align-items:end;
    gap: 6px;
}

.ytko-cart-item-price {
    margin: 0;
    color: #36394A;
    font-weight: 600;
    font-size: 14px;
}

.ytko-cart-item-discounted-price {
    font-size: 16px;
    color: #00B7FD;
    line-height: 24px;
}


.ytko-cart-footer {
    padding: 15px;
    text-align: center;
    width: 100%;
}

@media only screen and (max-width: 991px) {
    .ytko-cart-checkout {
        display: block !important;
    }
}


.ytko-cart-checkout {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #030326, #00007C,#00B7FD,#7EDCF1);
    color: white;
    padding: 8px;
    gap: 8px;
    border-radius: 62px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
    font-size: 14px;
}


.ytko-cart-checkout:hover {
    transform: scale(1.03);
}

/* Mobile Responsive Styles */
@media only screen and (max-width: 991px) {
    .ytko-cart-container {
        margin-right: 0;
    }

    .ytko-cart-btn {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ytko-cart-badge {
        position: unset;
        font-size: 16px;
        margin-left: 10px;
        padding: 0 8px;
        border-radius: 5px;
    }

    .ytko-cart-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        margin-top: 0;
        transform: translateY(100%);
    }

    .ytko-cart-dropdown.active {
        transform: translateY(0);
    }

    .ytko-cart-items {
        max-height: 50vh;
    }
}


