﻿.dashboard-card {
    border-radius: 18px;
    transition: .25s;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.12) !important;
}

.dashboard-card h3 {
    font-size: 1.7rem;
    line-height: 1;
}

.dashboard-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.dashboard-card .small {
    line-height: 1.5;
}

/* ===========================
        Checkout Summary
===========================*/

.checkout-summary-card {
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(15,23,42,.05);
}


/* ===========================
        Free Shipping
===========================*/

.free-shipping-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg,#f3fff5,#ebfff2);
    border: 1px solid #d8f4df;
    margin-bottom: 22px;
}

.shipping-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #2f9e44;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.free-shipping-card h6 {
    margin: 0;
    font-weight: 700;
}

.free-shipping-card small {
    color: #6c757d;
}

.free-shipping-card .price {
    color: #2f9e44;
    font-weight: 700;
}


/* ===========================
        Summary
===========================*/

.summary-box {
    margin-top: 10px;
}

.summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 18px;
}

    .summary-title i {
        color: #2f9e44;
    }


.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed #eceff3;
}

    .summary-row:last-child {
        border: none;
    }

    .summary-row span {
        color: #5f6b7a;
        font-size: 14px;
    }

    .summary-row strong {
        font-size: 15px;
        font-weight: 700;
        color: #212529;
    }


/* ===========================
      Final Price
===========================*/

.final-price-card {
    margin: 25px 0;
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(180deg,#fffaf1,#fff3d7);
    border: 1px solid #ffe0a0;
}

    .final-price-card.wallet {
        background: #f4fff5;
        border-color: #d8f3dc;
    }

    .final-price-card small {
        color: #777;
    }

    .final-price-card .price {
        margin: 10px 0;
        font-size: 34px;
        font-weight: 800;
        color: #ff8c00;
        line-height: 1;
    }


/* ===========================
      Shipping Method
===========================*/

.shipping-method-card {
    border: 1px solid #edf1f7;
    border-radius: 16px;
    padding: 16px;
    background: #fafbfd;
    margin-bottom: 20px;
}

.shipping-method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 700;
}

    .shipping-method-header i {
        color: #2f9e44;
        margin-left: 6px;
    }


/* ===========================
      Basket Info
===========================*/

.basket-info-card {
    margin-bottom: 20px;
}

.basket-info-btn {
    width: 100%;
    border: none;
    background: #eef7ff;
    color: #0d6efd;
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: .25s;
}

    .basket-info-btn:hover {
        background: #dceeff;
    }

.basket-description {
    background: #fff7e9;
    border: 1px solid #ffe3ad;
    border-radius: 14px;
    padding: 18px;
    color: #6b5a2b;
    line-height: 2;
}


/* ===========================
      Warning
===========================*/

.shipping-warning {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 18px;
    border-radius: 16px;
    background: #fff6e5;
    border: 1px solid #ffe2a8;
    margin-bottom: 18px;
}

.warning-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffb400;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.shipping-warning strong {
    display: block;
}

.shipping-warning small {
    color: #777;
}


/* ===========================
      Payment Cards
===========================*/

.payment-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e7ecf2;
    transition: .25s;
    color: #212529;
    cursor: pointer;
}

    .payment-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,.08);
        border-color: #2f9e44;
        text-decoration: none;
        color: #212529;
    }

.payment-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

    .payment-title i {
        color: #2f9e44;
        font-size: 20px;
    }

.payment-card small {
    color: #8c96a5;
}

.payment-price {
    text-align: left;
    font-weight: 700;
    font-size: 18px;
    color: #2f9e44;
}

    .payment-price small {
        display: block;
        font-size: 12px;
        color: #999;
    }


/* رنگ اختصاصی هر پرداخت */

.online-payment {
    border-right: 5px solid #2f9e44;
}

.card-payment {
    border-right: 5px solid #ff9800;
}

.wallet-payment {
    border-right: 5px solid #0d6efd;
}

.disabled-payment {
    opacity: .65;
    filter: grayscale(.2);
}


/* ===========================
      Disabled Button
===========================*/

.checkout-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: #2f9e44;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

    .checkout-btn.disabled {
        background: #d6dbe2;
        color: #777;
        cursor: not-allowed;
    }


/* ===========================
      Responsive
===========================*/

@media(max-width:768px) {

    .checkout-summary-card {
        padding: 18px;
    }

    .final-price-card .price {
        font-size: 28px;
    }

    .payment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .payment-price {
        text-align: right;
    }
}


.cart-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qty-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f5f7fa;
    color: #495057;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #2f9e44;
    color: #fff;
    transform: scale(1.08);
}

.qty-value {
    width: 48px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: #212529;
}

.remove-cart-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #fff1f2;
    color: #dc3545;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220,53,69,.08);
}

.remove-cart-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

.checkout-form {
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    padding: 25px;
}

.form-card {
    background: #fafbfd;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 15px;
    height: 100%;
    transition: .25s;
}

.form-card:hover {
    border-color: #cfd8e3;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

.form-title {
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required {
    color: #ef4444;
    font-size: .8rem;
}

.checkout-form .form-control,
.checkout-form .form-select {
    border-radius: 12px;
    border: 1px solid #dce3eb;
    min-height: 48px;
    transition: .2s;
    background: #fff;
}

.checkout-form textarea.form-control {
    min-height: 110px;
    resize: none;
}

.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
    border-color: #2f9e44;
    box-shadow: 0 0 0 .2rem rgba(47,158,68,.12);
}

.help-box {
    margin-top: 10px;
    background: #fff8e6;
    color: #8b5e00;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .82rem;
}

.checkout-card {
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    overflow: hidden;
}

.checkout-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid #edf1f7;
    background: linear-gradient(180deg,#fafbfd,#ffffff);
}

.checkout-card-header .title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.checkout-card-header i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eef9f1;
    color: #2f9e44;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.checkout-card-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.checkout-card-header small {
    color: #8b95a7;
}

.checkout-card-body {
    padding: 5px;
}
.postal-link {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 30px;
    background: #eef9f1;
    color: #2f9e44;
    font-size: .82rem;
    cursor: pointer;
    transition: .2s;
}

.postal-link:hover {
    background: #2f9e44;
    color: #fff;
}

.field-error {
    color: #dc3545;
    font-size: .8rem;
    margin-top: 6px;
    display: block;
}

.site-category-items {
    text-align: center;
    padding: .5rem;
}

.site-category-items img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    transition: .25s;
}

.category-title {
    margin-top: .6rem;
    font-size: .85rem;
    font-weight: 600;
    color: #444;
    transition: .25s;
}

.site-category-items:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.15));
}

.site-category-items:hover .category-title {
    color: var(--bs-danger);
}










.variant-option {
    border: 1px solid #dee2e6 !important;
    background: #fff;
    transition: .2s;
}

.variant-option:hover {
    border-color: #198754 !important;
    background: #fcfffd;
}

.btn-check:checked + .variant-option {
    border: 2px solid #198754 !important;
    background: #f4fff8;
}

.btn-check:checked + .variant-option .checkmark {
    display: block !important;
}

.seller-description {
    display: block;
    font-size: .68rem;
    color: #8a8f98;
    line-height: 1.3;
}

.seller-description i {
    font-size: .65rem;
}

.variant-option .text-success {
    font-size: .95rem;
}




/* حاشیه نرم و سایه ملایم برای المان هدف */


.highlight-arrow {
    position: relative !important;
    scroll-margin-top: 80px;
    border-radius: 12px !important;
    box-shadow: 0 0 0 3px #ffc107, 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
}

/* فلش پایین (▼) با انیمیشن ملایم */
.highlight-arrow::before {
    content: '▼';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: gentle-bounce 0.6s ease-in-out 2;
    pointer-events: none;
}

/* حذف محتوای اضافی */
.highlight-arrow::after {
    display: none;
}

/* انیمیشن ملایم (جهش کوتاه) */
@keyframes gentle-bounce {
     0%, 100% {
         transform: translateX(-50%) translateY(0);
     }

     50% {
         transform: translateX(-50%) translateY(-6px);
     }
 }



.border1 {
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
}


.read-more-wrap > p {
    text-align: justify;
}
.border-bottom-blue {
    border-bottom: 5px solid #0000ff
}
.field-validation-error {
    background-color: red;
    border-radius: 10%;
    margin-top: 1px;
    
}
    .field-validation-error > span {
        color: white;
        font-weight: bold;
        padding: 5px;
    }
/* بسته پرنده (fly-box) */
.fly-box {
    position: fixed;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffcf47, #ff7a00);
    box-shadow: 0 6px 14px rgba(255, 140, 0, 0.4);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.1s ease-in;
}
.btn-check:checked + .variant-option {
    border: 2px dashed #07d410 !important;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.25);
    background-color: #f8fff9;
}
/* حالت تیره */
@media (prefers-color-scheme: dark) {
    .fly-box {
        background: linear-gradient(145deg, #ffb84d, #ff5e00);
        box-shadow: 0 4px 16px rgba(255, 153, 0, 0.6);
    }
}

/* باز شدن بسته در لحظه رسیدن */
@keyframes openBox {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    40% {
        transform: scale(1.2) rotate(-10deg);
    }

    100% {
        transform: scale(0) rotate(15deg);
        opacity: 0;
    }
}

/* افکت پالس سبد */
@keyframes pulseCart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* افکت برخورد فیزیکی سبد (bounce) */
@keyframes cartBounce {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(5px);
    }

    50% {
        transform: translateY(-4px);
    }

    75% {
        transform: translateY(2px);
    }

    100% {
        transform: translateY(0);
    }
}

.cart-bounce {
    animation: cartBounce 0.45s cubic-bezier(0.28, 0.84, 0.42, 1);
}

.cart-pulse {
    animation: pulseCart 0.4s ease-out;
}











.color-label .color-dot {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 50%;
    margin-left: 6px;
    background-color: #555; /* رنگ تیره */
    transition: background-color 0.3s ease;
}

/* وقتی گزینه انتخاب بشه (روشن بشه) */
.btn-check:checked + .color-label .color-dot {
    background-color: #4caf50; /* رنگ روشن (سبز روشن) */
}

/* وقتی غیرفعال باشه */
.btn-check:disabled + .color-label .color-dot {
    background-color: #aaa;
    opacity: 0.6;
    cursor: not-allowed;
}
textarea.form-control {
    padding-top: 20px;
}
    .checkbox-wrapper-26 * {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.checkbox-wrapper-26 input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper-26 label {
    --size: 50px;
    --shadow: calc(var(--size) * .07) calc(var(--size) * .1);
    position: relative;
    display: block;
    width: var(--size);
    height: var(--size);
    background-color: #f72414;
    border-radius: 50%;
    box-shadow: 0 var(--shadow) #ffbeb8;
    cursor: pointer;
    transition: 0.2s ease transform, 0.2s ease background-color, 0.2s ease box-shadow;
    overflow: hidden;
    z-index: 1;
}

    .checkbox-wrapper-26 label:before {
        content: "";
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        width: calc(var(--size) * .7);
        height: calc(var(--size) * .7);
        margin: 0 auto;
        background-color: #fff;
        transform: translateY(-50%);
        border-radius: 50%;
        box-shadow: inset 0 var(--shadow) #ffbeb8;
        transition: 0.2s ease width, 0.2s ease height;
    }

    .checkbox-wrapper-26 label:hover:before {
        width: calc(var(--size) * .55);
        height: calc(var(--size) * .55);
        box-shadow: inset 0 var(--shadow) #ff9d96;
    }

    .checkbox-wrapper-26 label:active {
        transform: scale(0.9);
    }

.checkbox-wrapper-26 .tick_mark {
    position: absolute;
    top: -1px;
    right: 0;
    left: calc(var(--size) * -.05);
    width: calc(var(--size) * .6);
    height: calc(var(--size) * .6);
    margin: 0 auto;
    margin-left: calc(var(--size) * .14);
    transform: rotateZ(-40deg);
}

    .checkbox-wrapper-26 .tick_mark:before,
    .checkbox-wrapper-26 .tick_mark:after {
        content: "";
        position: absolute;
        background-color: #fff;
        border-radius: 2px;
        opacity: 0;
        transition: 0.2s ease transform, 0.2s ease opacity;
    }

    .checkbox-wrapper-26 .tick_mark:before {
        left: 0;
        bottom: 0;
        width: calc(var(--size) * .1);
        height: calc(var(--size) * .3);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.23);
        transform: translateY(calc(var(--size) * -.68));
    }

    .checkbox-wrapper-26 .tick_mark:after {
        left: 0;
        bottom: 0;
        width: 100%;
        height: calc(var(--size) * .1);
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.23);
        transform: translateX(calc(var(--size) * .78));
    }

.checkbox-wrapper-26 input[type="checkbox"]:checked + label {
    background-color: #07d410;
    box-shadow: 0 var(--shadow) #92ff97;
}

    .checkbox-wrapper-26 input[type="checkbox"]:checked + label:before {
        width: 0;
        height: 0;
    }

    .checkbox-wrapper-26 input[type="checkbox"]:checked + label .tick_mark:before,
    .checkbox-wrapper-26 input[type="checkbox"]:checked + label .tick_mark:after {
        transform: translate(0);
        opacity: 1;
    }

/* Main Container */
.easy-autocomplete-container {
    width: 100% !important;
    position: absolute;
    z-index: 1000;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
}

/* Results List */
.easy-autocomplete-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Individual Items */
.eac-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    border-radius: 10px;
    background-color: #ffffff; /* Default background */
}

/* Hover & Selected States */
.eac-item:hover,
.eac-item.selected {
    background-color: #3b82f6; /* Bright blue on hover */
    color: #ffffff; /* White text on hover */
    border-radius: 10px;
}

/* Highlighted Matching Text */
.eac-item b {
    color: #ffcc00; /* Bright yellow for highlighted text */
    font-weight: 600;
}

/* Scrollbar Styling (WebKit) */
.easy-autocomplete-container::-webkit-scrollbar {
    width: 8px;
}

.easy-autocomplete-container::-webkit-scrollbar-thumb {
    background: #3b82f6; /* Blue scrollbar thumb */
    border-radius: 4px;
}

.easy-autocomplete-container::-webkit-scrollbar-track {
    background: #f1f5f9; /* Light gray track */
}

.form-select option,optgroup {
    font-family: tahoma; /* Inherit font family from the select */
    font-size: 14px; /* Inherit font size from the select */
}






.text-danger2 {
    color:red !important
}
.btn-basket-phone {
    position: absolute;
    top: -2px;
    left: -6px;
    background-color: white;
    height: 25px;
    width: 25px;
    border-radius: 10px;
    font-weight: bolder;
    font-size: inherit;
}

@media (max-width: 767.98px) {
    .border-sm-start-none {
        border-left: none !important;
    }
}

.ck-editor__editable.ck-rounded-corners {
    height: 300px
}

.hover2:hover {
    cursor: pointer !important;
}

.i3 {
    position: relative;
    top: 3px !important;
}

.img-index {
    height: 40px;
    width: auto
}

.pointer:hover {
    cursor: pointer !important
}

.center {
    text-align: center !important;
}

.i2 {
    position: relative;
    top: 2px !important;
}

.i1 {
    position: relative;
    top: 1px !important;
}


.hr2 {
    border: 2px dashed black !important;
}

.hidden {
    display: none !important;
}

.blue {
    color: blue !important
}

.green {
    color: green !important
}

.successProgressBar {
    background-color: deepskyblue !important;
}

.hover1:hover {
    background-color: deepskyblue !important;
    cursor: pointer !important;
    color: white !important;
    padding: 3px;
    border-radius: 5px
}

.contact-us {
    font-family: fantasy;
    color: aqua;
    float: left;
    position: relative;
    top: 3px;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: block;
}

.search-form {
    position: absolute;
    left: 60px;
}

.search-in-website:hover {
    border: 2px solid deepskyblue !important;
}

.left {
    text-align: left !important;
}

.left1 {
    position: absolute !important;
    left: 5px;
}

.margin-top--5 {
    margin-top: -5px !important;
}

.margin-top--3 {
    margin-top: -3px !important;
}

.color {
    color: white !important;
}

.color1 {
    color: black !important;
}

.right {
    text-align: right !important;
}

.margin-top-130 {
    margin-top: 130px !important;
}

.margin-top-150 {
    margin-top: 150px !important;
}

.border-radius-5 {
    border-radius: 5px !important;
}

.red {
    color: red !important
}

.border-radius-10 {
    border-radius: 10px !important;
}

.logo-shop {
    height: 30px;
    width: auto;
}

.basket-box {
    position: relative;
}

.basket {
    position: absolute;
    left: 20px;
    background-color: white;
    color: black;
    height: 20px;
    width: 20px
}

.get-started-btn {
    padding: 3px;
    font-size: 14px;
    display: inline-block;
    border: 2px solid #ffc451;
    color: white;
    text-decoration: none !important;
}

    .get-started-btn:hover {
        background-color: #ffc451;
        color: black;
    }

.basketCount {
    background-color: white;
    color: black;
    line-height: 22px;
    margin-right: 5px;
    padding: 0 5px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    font-weight: bold;
}

.standard-logo {
    height: 30px;
    width: 30px
}

.logo-shop-footer {
    height: 50px;
    width: auto;
    margin: 10px;
}

.fadeIn1 {
    visibility: visible;
    animation-delay: 0.3s;
    animation-name: fadeIn;
}

.btn-data:hover {
    position: relative;
    top: -10px;
}

.categories {
    height: 400px !important;
    width: 370px !important;
}

.categories_Image {
    height: 150px !important;
    width: 200px !important;
}

.img-product-category {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.img-article {
    height: 100%;
    width: 100%
}

.img-category {
    height: 40px;
    width: auto
}

.bac-avatar {
    background-Image: url('/bacavatar.jpg') !important;
    border-radius: 10px !important;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2) !important;
}

.bac-img {
    background-Image: url("/bacavatar.jpg");
}

.DashboardContent {
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

.nav-link:hover {
    color: #ffc451 !important
}

.thumbnailParent {
    margin-top: 20px;
}

.coursTitle {
    margin: 0px;
    padding: 0px;
    line-height: 1.2;
    color: inherit;
    font-size: 20px;
}

.avatar {
    vertical-align: middle;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.left-btn {
    position: absolute;
    left: 5px;
    top: 2px
}

.form-control1 {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-Image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.img-product {
    height: 200px !important;
    width: 100% !important;
}

    .img-product:hover {
        transform: scale(1.2);
        transition: transform .5s ease;
        opacity: 0.7
    }

.align-left {
    text-align: left !important
}

.align-right {
    text-align: right !important
}

.mt-6 {
    margin-top: 3.5rem !important
}

.mt-7 {
    margin-top: 4rem !important
}

.mt-8 {
    margin-top: 9rem !important
}
/*========*/
.border2 {
    border: 1px solid #00ffff;
    border-radius: 10px;
}

.main-search {
    background-Image: url("/search.JPG");
}

.form-wrapper {
    background-color: #f6f6f6;
    background-Image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#eae8e8));
    background-Image: -webkit-linear-gradient(top, #f6f6f6, #eae8e8);
    background-Image: -moz-linear-gradient(top, #f6f6f6, #eae8e8);
    background-Image: -ms-linear-gradient(top, #f6f6f6, #eae8e8);
    background-Image: -o-linear-gradient(top, #f6f6f6, #eae8e8);
    background-Image: linear-gradient(top, #f6f6f6, #eae8e8);
    border-color: #dedede #bababa #aaa #bababa;
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 5px #444;
    -moz-box-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 5px #444;
    box-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 5px #444;
    margin: 10px auto;
    padding: 8px;
    width: 100%;
 
}

    .form-wrapper .searchBox {
        border: 1px solid #CCC;
        -webkit-box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #FFF;
        -moz-box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #FFF;
        box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #FFF;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 15px;
        margin-left: 5px;
        height: 100% !important;
        float: right;
        padding: 10px !important;
        width: 100% !important;
    }

        .form-wrapper .searchBox:focus {
            border-color: #31b2c3;
            -webkit-box-shadow: 0 1px 1px #bbb inset;
            -moz-box-shadow: 0 1px 1px #bbb inset;
            box-shadow: 0 1px 1px #bbb inset;
            outline: 0;
        }

    .form-wrapper .seachAuto:-moz-placeholder,
    .form-wrapper .seachAuto:-ms-input-placeholder,
    .form-wrapper .seachAuto::-webkit-input-placeholder {
        color: #999;
    }

    .form-wrapper .submit {
        background-color: #0483a0;
        background-Image: -webkit-gradient(linear, left top, left bottom, from(#31b2c3), to(#0483a0));
        background-Image: -webkit-linear-gradient(top, #31b2c3, #0483a0);
        background-Image: -moz-linear-gradient(top, #31b2c3, #0483a0);
        background-Image: -ms-linear-gradient(top, #31b2c3, #0483a0);
        background-Image: -o-linear-gradient(top, #31b2c3, #0483a0);
        background-Image: linear-gradient(top, #31b2c3, #0483a0);
        border: 1px solid #00748f;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 15px;
        -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #FFF;
        -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #FFF;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #FFF;
        color: #fafafa;
        cursor: pointer;
        height: 100%;
        float: left;
        padding: 0;
        text-transform: uppercase;
        text-shadow: 0 1px 0 rgba(0, 0,0, .3);
        width: 100px;
    }

        .form-wrapper .submit:hover,
        .form-wrapper .submit:focus {
            background-color: #31b2c3;
            background-Image: -webkit-gradient(linear, left top, left bottom, from(#0483a0), to(#31b2c3));
            background-Image: -webkit-linear-gradient(top, #0483a0, #31b2c3);
            background-Image: -moz-linear-gradient(top, #0483a0, #31b2c3);
            background-Image: -ms-linear-gradient(top, #0483a0, #31b2c3);
            background-Image: -o-linear-gradient(top, #0483a0, #31b2c3);
            background-Image: linear-gradient(top, #0483a0, #31b2c3);
        }

        .form-wrapper .submit:active {
            -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
            -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
            outline: 0;
        }

        .form-wrapper .submit::-moz-focus-inner {
            border: 0;
        }

.product-item {
    transition: .5s;
}

.product-item:hover {
        box-shadow: 0 0 30px #DDDDDD;
}

.product-item:hover .product-action {
            background: rgba(255, 255, 255, 0.7);
        }


.product-item:hover .product-action a.btn:first-child {
                opacity: 1;
                margin-top: 0;
                transition: .3s 0s;
            }

            .product-item:hover .product-action a.btn:nth-child(2) {
                opacity: 1;
                margin-top: 0;
                transition: .3s .05s;
            }

            .product-item:hover .product-action a.btn:nth-child(3) {
                opacity: 1;
                margin-top: 0;
                transition: .3s .1s;
            }

            .product-item:hover .product-action a.btn:nth-child(4) {
                opacity: 1;
                margin-top: 0;
                transition: .3s .15s;
            }

    .product-item .product-img img {
        transition: .5s;
    }

    .product-item:hover .product-img img {
        transform: scale(1.2);
    }

    .product-item .btn:hover {
        color: #FFD333 !important;
    }

.product-action {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

    .product-action a.btn {
        position: relative;
        margin: 0 3px;
        margin-top: 100px;
        opacity: 0;
    }


.product-box-Image img {
    width: 100%;
    height: auto
}


.home-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: #222;
    text-align: center;
    margin: 0px;
    padding: 10px;
    width: 100%;
    line-height: 1.6;
    border-radius: 12px;
    background: linear-gradient(to right, #f0f0f0, #ffffff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}


@media (max-width: 576px) {
    .home-heading {
        font-size: 1.1rem;
        padding: 7px;
    }
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: IRANSans, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 4px 0;
}

/* استایل آیتم‌ها */
.ui-menu-item-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    transition: background 0.2s ease;
    border-radius: 6px;
    color: #333;
}

/* وضعیت Hover یا Focus */
.ui-state-active,
.ui-menu-item-wrapper.ui-state-active,
.ui-menu-item-wrapper:hover {
    background-color: #007bff !important;
    color: #fff !important;
}

/* برچسب "موجود" و "ناموجود" */
.badge {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.bg-success {
    background-color: #28a745 !important;
    color: #fff !important;
}

.bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
}

/* برجسته‌سازی عبارت جستجو شده */
.highlight {
    background-color: #ffeeba;
    color: #d63384;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 3px;
}

/* مخفی‌سازی خط زرد/آبی پیش‌فرض مرورگر در Focus */
.ui-autocomplete-input:focus {
    outline: none;
    box-shadow: none;
}

/* ظاهر زیباتر برای اسکرول بار (در مرورگرهایی که پشتیبانی می‌کنند) */
.ui-autocomplete::-webkit-scrollbar {
    width: 6px;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background-color: transparent;
}

/* تطبیق‌پذیری موبایل */
@media (max-width: 576px) {
    .ui-menu-item-wrapper {
        padding: 10px 14px;
        font-size: 15px;
    }

    .highlight {
        font-size: 15px;
    }
}
