.quantity-container {
    display: flex;
    align-items: center;
    gap: 0px;
    width: 100%;
}

.quantity-input {
    width: 40%;
    height: 35px;
    text-align: center;
    border: 1px solid #ccc;
    border-left: 0;
    border-right: 0;
    padding: 5px;
    font-size: 16px;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.plus-btn,
.minus-btn {
    width: 30%;
    height: 35px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.plus-btn{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.minus-btn{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.plus-btn:hover,
.minus-btn:hover {
    background-color: #e0e0e0;
}

.f-20{
    font-size: 20px !important;
}
.v-center{
    align-self: center;
    display: flex;
    text-align: center;
    justify-content: center;
}

.w-full{
	width:100%;
}

.justify-center{
    justify-content: center;
}



.toggle-header {
	background-color: #f1f1f1;
	padding: 15px;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	font-weight: bold;
}
.toggle-content {
	padding: 15px;
	background-color: #f9f9f9;
	display: none;
}
.toggle-content ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.toggle-content li {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}


.justify-between{
    justify-content: space-between;
}
.items-center{
    align-items: center;
}

.pl-1{
    padding-left: 10px;
}

.fs-12{
    font-size: 12px;
}


ul.qpay {
    display: none !important;
    list-style: none;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 100%;
}
ul.qpay li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    /* color: #333; */
}
ul.qpay li img {
    height: 100%;
    width: 100%;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 5px 28px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e2e2;
}
ul.qpay li {
    width: 72px;
    list-style: none;
    margin: 5px 1rem;
}
@media only screen and (max-width: 768px) {
    ul.qpay {
        display: flex !important;
        margin-top: 30px;
    }
	ul.qpay li {
        width: 60px !important;
    }
}





.mobile-nav-bar {
    display: none; /* Анхнаасаа нуух */
}

@media (max-width: 768px) {
    
	.m-padding{
		padding: 0px 15px;
	}
    /* Цэсийг харуулах, доод талд тогтоох */
    .mobile-nav-bar {
        display: flex; /* Flexbox ашиглан цэсний зүйлсийг жигд байрлуулах */
        position: fixed; /* Дэлгэцийн доод талд тогтмол байрлуулах */
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55px; /* Цэсний өндөр */
        background-color: #ffffff; /* Цагаан дэвсгэр */
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Дээд талд зөөлөн сүүдэр өгөх */
        z-index: 1000;
        justify-content: space-around; /* Цэсний зүйлсийн хооронд зай үүсгэх */
        align-items: center;
        padding: 0;
        margin: 0;
        border-top: 1px solid #e0e0e0; /* Дээд талын шугам */
    }

    /* Цэсний элемент (Icon + Label) */
    .nav-item {
        display: flex;
        flex-direction: column; /* Icon болон текст босоо байрлалтай */
        align-items: center;
        justify-content: center;
        flex-grow: 1; /* Бүх элементүүдийг ижил хэмжээтэй болгох */
        text-decoration: none;
        color: #777; /* Идэвхгүй үеийн текстний өнгө */
        font-size: 10px;
        font-weight: 500;
        transition: color 0.3s; /* Өнгөний шилжилт */
        position: relative; /* Сагсны тоог байрлуулахын тулд */
    }

    /* Icon-уудын style */
    .nav-item i {
        font-size: 20px; /* Icon-ийн хэмжээ */
        margin-bottom: 3px;
    }
    
    /* Идэвхтэй цэсний элемент */
    .nav-item.active {
        color: #3f51b5; /* Идэвхтэй үеийн цэнхэр өнгө (Custom color) */
    }

    .nav-item:hover {
        color: #5d6ed2; /* Hover-ийн үеийн өнгө */
    }

    /*
     * Custom - Сагсны Тоо (Badge)
     */
    .cart-badge {
        position: absolute;
        top: 2px; /* Цэсний дээд талруу ойртуулах */
        right: 15px; /* Баруун талруу ойртуулах */
        
        /* Загвар */
        background-color: #ff4500; /* Улаан өнгө (Custom color) */
        color: white;
        border-radius: 50%; /* Дугуй хэлбэр */
        padding: 2px 6px;
        font-size: 10px;
        font-weight: bold;
        line-height: 1; /* Текстийг төвлөрүүлэх */
        min-width: 10px;
        text-align: center;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    }
    
    /* Сагсгүй үед badge-ийг нуух */
    .cart-badge:empty {
        display: none;
    }
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0; /* Десктоп дээр зай хэрэггүй */
    }
}