html, body {
    height: 100%;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.products,
.my_order {
    /*min-height: calc(100vh - 200px);*/
}

footer {
    margin-top: auto;
}

/* Converted from app.scss to static CSS */

.malzeme-checkbox:not(:checked) + .malzeme-checkbox-span {
    color: #e51837;
    text-decoration: line-through;
}

.malzeme-checkbox-span {
    cursor: pointer;
}

.sepetim .frImg {
    width: 150px;
}

.cart-box-component .dropdown-menu {
    left: -150px;
    padding-bottom: 0;
}

#slider-main .carousel-cell {
    width: 100%;
}

#slider-main .carousel-cell img {
    width: 100%;
    display: inline-block;
}

.card-header .canceled-pill {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    border-radius: 10px;
    background: #e51837;
    padding: 5px;
}

#slider-main.is-hidden {
    display: none;
}

/* Desktop styles */
@media (min-width: 1200px) {
    .card-header .canceled-pill {
        display: block;
    }
    .canceled-li {
        display: none;
    }
}

/* Mobile, tablet, laptop styles */
@media (max-width: 1199px) {
    .urun-detay-modal .modal-title {
        font-size: 10px;
    }
    .cart-box-component .cart-button .circle {
        margin-left: 0;
    }
    .cart-box-component .dropdown-menu {
        width: 95%;
        left: 10px;
    }
    .loginlink.dropdown-menu {
        width: 95%;
        left: 10px;
    }
    .card-header .canceled-pill {
        display: none;
    }
    .card-header .canceled-li {
        display: block;
    }
    .text-ellipsis {
        display: inline-block;
        width: 250px;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
    }
}

.user-select-all {
    -webkit-user-select: all !important;
    -moz-user-select: all !important;
    user-select: all !important;
}

.user-select-auto {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    user-select: auto !important;
}

.user-select-none {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
}

.urun-detay-modal-content .price-badge {
    padding: 5px 10px !important;
    color: #fff;
}

.btn-complate-cart:hover {
    background-color: #0181C4;
    color: white;
}

.fa-trash-o {
    font-size: 24px;
}

.cart-box-component .price-label {
    font-size: 12px;
}

/* Mobile Cart Badge Styles */
.mobile-cart-link {
    position: relative;
    display: inline-block;
}

.mobile-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e51837;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.mobile-cart-badge:empty {
    display: none;
}

/* Hide badge when count is 0 */
.mobile-cart-badge[data-count="0"] {
    display: none;
}

/* Animation for badge updates */
.mobile-cart-badge.updated {
    transform: scale(1.2);
    animation: badgePulse 0.3s ease-in-out;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile cart items styling - similar to desktop */
#mobile-cart-items .my_basket_item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f7;
    background: #fff;
    margin-bottom: 0;
}

#mobile-cart-items .my_basket_item:last-child {
    border-bottom: none;
}

#mobile-cart-items .my_basket_item .my_basket_title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #303030;
    font-weight: 600;
}

#mobile-cart-items .my_basket_item .my_basket_desc {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.1;
}

#mobile-cart-items .my_basket_item .my_basket_price {
    line-height: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: right;
    display: block;
    color: #a38248;
}

#mobile-cart-items .my_basket_item .counter_trash {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mobile-cart-items .my_basket_item .counter_trash .my_basket_trash a i {
    color: #303030;
}

#mobile-cart-items .my_basket_item .counter_side {
    height: 35px;
}

#mobile-cart-items .my_basket_item .counter_side .btn {
    padding-left: .25rem;
    padding-right: .25rem;
}

#mobile-cart-items .my_basket_item .counter_side .counter {
    width: 35px;
}
