
.carousel-image {
    display: flex;
    justify-content: center; /* برای وسط‌چینی افقی */
    align-items: center; /* برای وسط‌چینی عمودی (در صورت نیاز) */
    height: 100%; /* ارتفاع مورد نیاز برای وسط‌چینی عمودی */
    background-color: #0b2e13;
}

.social-links {
    margin-top: auto; /* قرار دادن در پایین */
}

ul li {
    display: inline; /* نمایش عناصر به صورت افقی */
    margin-right: 10px; /* فاصله بین آیکون‌ها */
}

@media screen and (max-width: 767px) {

    .table tr .cart-plus-minus1 {
        margin: 0;
    }
}

@media screen and (max-width: 575px) {

    .table tr td .cart-plus-minus1 {
        margin: 0 auto;
    }
}

/*================== برای کلیدهای دو بخشی آیکون و متن =========================*/
.btn-custom {
    display: flex; /* استفاده از Flexbox */
    /*justify-content: center;*/
    align-items: stretch; /* کشیدن به ارتفاع یکسان */
    padding: 0px; /* حذف فاصله داخلی */
    text-decoration: none; /* حذف خط زیر */
    /*width: 30px;*/
    /*border-color: #28a745;*/
    gap: 0px; /* حذف فاصله بین عناصر */
    align-content: center;
    align-content: center;
    line-height: normal;
    height: auto;
    width: auto;
}

.icon, .text {
    /*display: flex; !* استفاده از Flexbox برای محتویات داخلی *!*/
    align-items: center; /* مرکز کردن عمودی محتویات */
    justify-content: center; /* مرکز کردن افقی محتویات */
    /*padding: 10px; !* فاصله داخلی *!*/
    margin: 0;
}

.icon {
    /*flex: 0;*/
    background-color: #b35729; /* رنگ پس‌زمینه آیکون */
    color: white; /* رنگ قلم آیکون */
    padding: 8px; /* فاصله داخلی آیکون */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    /*margin: 30px;*/
}

.text {
    /*flex: 0;*/
    background-color: #de6d35; /* رنگ پس‌زمینه متن */
    color: white; /* رنگ قلم متن */
    padding: 8px; /* فاصله داخلی متن */
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    margin: 0px;
    /*margin-right: 0px;*/
}

.icon_ye, .text_ye {
    /*display: flex; !* استفاده از Flexbox برای محتویات داخلی *!*/
    align-items: center; /* مرکز کردن عمودی محتویات */
    justify-content: center; /* مرکز کردن افقی محتویات */
    /*padding: 10px; !* فاصله داخلی *!*/
    margin: 0;
}

.icon_ye {
    /*flex: 0;*/
    background-color: #27ba1a; /* رنگ پس‌زمینه آیکون */
    color: white; /* رنگ قلم آیکون */
    padding: 8px; /* فاصله داخلی آیکون */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    /*margin: 30px;*/
}

.text_ye {
    /*flex: 0;*/
    background-color: #c9c71e; /* رنگ پس‌زمینه متن */
    color: white; /* رنگ قلم متن */
    padding: 8px; /* فاصله داخلی متن */
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    margin: 0px;
    /*margin-right: 0px;*/
}

.text_ye:hover {
    /*color: #bfbbba;*/
    background-color: #b8b521;
    border-color: #1e7e34;
}


/* نمایش فقط آیکون در اندازه‌های کوچک */
@media (max-width: 576px) {
    .text {
        display: none; /* پنهان کردن متن */
    }

    .icon {
        border-radius: 5px;
    }
}

.text:hover {
    /*color: #bfbbba;*/
    background-color: #c25f2f;
    border-color: #1e7e34;
}

.btn-custom:focus, .btn-custom.focus {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.btn-custom.disabled, .btn-custom:disabled {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-container {
    display: flex;
    padding: 5px;
    margin: 5px;
    gap: 5px;
}

/*============= product_details.html ===== product_direct_sail.html ================*/
.col {
    display: flex; /* فعال‌سازی Flexbox */
    flex-direction: column; /* تنظیم جهت به صورت ستونی */
    align-items: center; /* مرکز کردن محتوا افقی */
    justify-content: flex-start; /* شروع از بالا */
    height: inherit; /* تنظیم ارتفاع */
}

.slider-text {
    flex: 1; /* اجازه به slider-text برای پر کردن فضای موجود */
    display: flex; /* فعال‌سازی Flexbox درون slider-text */
    flex-direction: column; /* تنظیم جهت به صورت ستونی */
    height: inherit; /* تنظیم ارتفاع */
    width: 100%; /* تنظیم عرض */
}

.social-links {
    margin-top: 30px; /* قرار دادن در پایین‌ترین سطح */
    margin-bottom: 0;
    display: flex; /* فعال‌سازی Flexbox برای لینک‌ها */
    gap: 10px; /* فاصله بین لینک‌ها */
}

.description-box {
    border: 1px solid #007bff; /* رنگ مرز */
    border-radius: 5px; /* گوشه‌های گرد */
    padding: 15px; /* فاصله داخلی */
    background-color: #f1b0b7; /* رنگ پس‌زمینه */
    margin-top: 0;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    margin-right: 10px; /* فاصله بین گروه ورودی و دکمه سابمیت */
    align-items: center; /* تراز کردن عمودی عناصر */
    width: 100px;
    height: 30px;
}

.input-container {
    display: flex; /* استفاده از Flexbox */
    align-items: center; /* تراز کردن عمودی عناصر */
    margin-top: 20px;
    margin-bottom: 20px;
}

.quantity-input {
    font-size: 10px;
    border-top: 1px solid darkgrey; /* حاشیه بالا */
    border-bottom: 1px solid darkgrey; /* حاشیه پایین */
    border-left: none; /* مخفی کردن حاشیه چپ */
    border-right: none; /* مخفی کردن حاشیه راست */
    width: 30px; /* تنظیم عرض فیلد عددی */
    height: 30px;
    text-align: center; /* مرکز کردن متن */
    margin: 0; /* حذف فاصله */
    -moz-appearance: textfield; /* مخفی کردن فلش‌ها در Firefox */
    padding: 0; /* حذف padding */
    line-height: 30px; /* تنظیم ارتفاع خط برای تراز کردن متن */
}

/* مخفی کردن فلش‌ها در Chrome */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.decrease, .increase {
    background-color: lightgrey; /* پس‌زمینه سبز برای دکمه افزایش */
    color: white; /* رنگ متن سفید */
    border: none; /* حذف حاشیه */
    width: 30px;
    height: 30px;
    display: flex; /* استفاده از flexbox برای تراز کردن محتوا */
    justify-content: center; /* مرکز کردن محتوا */
    align-items: center; /* تراز کردن عمودی محتوا */
    margin: 0; /* حذف فاصله */
    border: 1px solid darkgrey;
}

.decrease {
    background-color: lightgrey; /* پس‌زمینه قرمز برای دکمه کاهش */
    border-top-right-radius: 12px; /* گوشه بالای چپ */
    border-bottom-right-radius: 12px; /* گوشه پایین چپ */
    border-top-left-radius: 0px; /* گوشه بالای چپ */
    border-bottom-left-radius: 0px; /* گوشه پایین چپ */
}

.increase {
    background-color: lightgrey; /* پس‌زمینه سبز برای دکمه افزایش */
    border-top-right-radius: 0px; /* گوشه بالای چپ */
    border-bottom-right-radius: 0px; /* گوشه پایین چپ */
    border-top-left-radius: 12px; /* گوشه بالای چپ */
    border-bottom-left-radius: 12px; /* گوشه پایین چپ */
}

.btn-primary {
    padding: 15px 30px; /* تغییر padding برای بزرگ‌تر کردن دکمه */
    font-size: 10px; /* تغییر اندازه فونت */
    width: 150px;
    height: 30px;
    border-radius: 5px; /* تنظیم گوشه‌ها */
    margin-right: 20px;
}

.quantity-input, .increase, .decrease {
    margin: 0 !important; /* حذف فاصله */
}

ul li {
    display: inline; /* نمایش عناصر به صورت افقی */
    margin-right: 10px; /* فاصله بین آیکون‌ها */
}

.topdropdown {
    border-style: dashed;
    border: black;
    font-size: 10px;
    color: black;
    position: relative;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 5px;
}

.topdropdown-content {
    color: black;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 130px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-left: 5px;
    margin-right: 5px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
}

.show {
    display: block;
}

.topdropdown-content a {
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
}

.lastitem a{
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
    height: 40px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    background-color: #ffd9d9;
}
.topdropdown-content a:hover {
    color: black;
    background-color: #f1f1f1;
}

.topdropdown-content .lastitem a:hover {
    color: black;
    background-color: red !important;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #1ab7ea; /* رنگ سیاه */
    display: inline-block;
    margin-right: 5px; /* فاصله از نام کاربر */
    /*margin-left: 5px;*/
}

.profile-container {
    max-width: 400px; /* حداکثر عرض */
    margin: 0 auto; /* مرکز کردن کادر */
    padding: 20px; /* فاصله داخلی */
    /*background-color: #f8f9fa; !* رنگ پس‌زمینه کادر محصولات *!*/
    border-radius: 0 0 10px 10px; /* گوشه‌های پایینی پخ */
    width: 90%;
    /*margin: 0 auto; !* مرکز کردن کادر *!*/
    margin-top: -1px; /* حذف فاصله بین header و container */
    /*padding-top: 20px; !* فاصله داخلی بالای کادر محصولات *!*/
}

/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}

.login100-form-btn {
    font-family: 'Vazir';
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    text-transform: uppercase;

    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: #57b846;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;

    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.login100-form-btn:hover {
    background: #333333;
}

.wrap-input100 {
    position: relative;
    width: 100%;
    z-index: 1;
    margin-bottom: 10px;
}

.input100 {
    font-family: 'Vazir';
    font-size: 13px;
    line-height: 1.5;
    color: #666666;

    display: block;
    width: 100%;
    background: #e6e6e6;
    height: 50px;
    border-radius: 25px;
    padding: 0 68px 0 30px;
}

.footer-bottom
{
    /*margin-top: 5px;*/
    font-size: 10px;
    margin: 0;
    paddingt: 0;
    vertical-align: center;
    /*display: flex;*/
    height: 30px;
}