
@import url(fonts.css);
@import url(grid.css);
@import url(global.css);
@import url(header.css);


.cart-table {
    width: 100%;
    background-color: #FCFCFC;
    text-align: center;
    color: #828284;
}

    .cart-table th {
        padding: 10px 0;
        color: #000;
        font-weight: 500;
        font-size: var(--font-size-2);
        border-bottom: 1px solid #e4e4e4;
    }

    .cart-table td {
        padding: 12px 0;
        border-bottom: 1px solid #e4e4e4;
    }

.cart__remove-btn {
    appearance: none;
    border: none;
    background-color: transparent;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml, %3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.5303 7.46967C16.2374 7.17678 15.7626 7.17678 15.4697 7.46967L7.46967 15.4697C7.17678 15.7626 7.17678 16.2374 7.46967 16.5303C7.76256 16.8232 8.23744 16.8232 8.53033 16.5303L16.5303 8.53033C16.8232 8.23744 16.8232 7.76256 16.5303 7.46967Z' fill='%23858585'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.46967 7.46967C7.17678 7.76256 7.17678 8.23744 7.46967 8.53033L15.4697 16.5303C15.7626 16.8232 16.2374 16.8232 16.5303 16.5303C16.8232 16.2374 16.8232 15.7626 16.5303 15.4697L8.53033 7.46967C8.23744 7.17678 7.76256 7.17678 7.46967 7.46967Z' fill='%23858585'/%3E%3C/svg%3E");
}

.cart-table img {
    max-width: 64px;
    border-radius: 8px;
}

.cart__price {
    color: #EF304D;
}

    .cart__price span {
        font-size: var(--font-size-0);
    }

.cart__count {
    border: 1px solid #D6D6D6;
    height: 40px;
    width: 46px;
    border-radius: 6px;
    padding: 5px;
    text-align: center;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.buttons-wrapper {
    justify-content: space-around;
}

    .buttons-wrapper .main-btn {
        width: 200px;
    }

.main-btn {
    padding: 10px 20px;
    background-color: var(--color-green-primary);
    color: #fff;
    border-radius: 8px;
    border: 0;
    font-family: inherit;
    margin-left: auto;
    margin-right: auto;
    display: table;
    font-size: var(--font-size-2);
    font-weight: 300;
}

    .main-btn.big {
        font-size: var(--font-size-3);
        padding: 15px 20px;
        min-width: 200px;
    }

    .main-btn.gray-btn {
        background-color: #D6D6D6;
    }

.white-box {
    background: #FFFFFF;
    box-shadow: 0px 2px 90px 30px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    padding: 30px;
}

.white-box__title {
    color: var(--color-green-primary);
    font-weight: 500;
    font-size: var(--font-size-4);
}

.form-row > div {
    padding-left: 8px;
    padding-right: 8px;
}

.form-row {
    margin-left: -8px;
    margin-right: -8px;
}

.form__lable {
    display: inline-block;
    color: #000;
    font-size: var(--font-size-1);
}

.form__input {
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    padding: 8px 11px;
    width: 100%;
    font-family: inherit;
    font-weight: 400;
    color: #828284;
    height: 45px;
}

    .form__input::placeholder {
        font-size: var(--font-size-0);
        color: #CFCDCD;
    }


/* ------------------------------------- select 2 */
.select2-container {
    width: 100% !important;
}

.select2-selection {
    border-radius: 10px !important;
}

.select2-selection__placeholde {
    font-size: var(--font-size-0);
    color: #CFCDCD;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #D9D9D9 !important;
    background-color: #fff;
}

.select2-container .select2-selection--single {
    height: 40px;
    display: flex;
    align-items: center;
}

.select2-container--open {
    border-radius: 10px !important;
    /* overflow: hidden !important; */
}

.select2-container--default .select2-results > .select2-results__options {
    border-radius: 10px !important;
}

.select2-dropdown {
    border-radius: 10px;
    border: 1px solid #D9D9D9;
    top: 1px;
}

.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #D9D9D9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid #D9D9D9;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: var(--font-size-0);
    color: #CFCDCD;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border: none;
        background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.231232 0.231231C0.53954 -0.0770772 1.03941 -0.0770772 1.34772 0.231231L5 3.88352L8.65228 0.231231C8.96059 -0.0770772 9.46046 -0.0770772 9.76877 0.231231C10.0771 0.53954 10.0771 1.03941 9.76877 1.34772L5.55824 5.55824C5.24993 5.86655 4.75007 5.86655 4.44176 5.55824L0.231232 1.34772C-0.0770772 1.03941 -0.0770772 0.53954 0.231232 0.231231Z' fill='%23858585'/%3E%3C/svg%3E");
        width: 10px;
        height: 6px;
        background-position: center;
    }

.select2-container--default .select2-results__option--selected {
    background-color: #fff;
    color: #000;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #828284;
    font-size: 14px;
}

.ltr .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 8px;
}

/* ----------------------------------- */
.delivery__title {
    color: #000;
    font-weight: 500;
    font-size: var(--font-size-2);
}

.delivery__desc {
    color: var(--color-green-primary);
    font-size: var(--font-size-0);
}

.delivery__lable input[type="radio"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.delivery__lable::before {
    content: " ";
    width: 10px;
    height: 10px;
    /* border: 2px solid #858585; */
    outline: 2px solid #828284;
    outline-offset: 2px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    margin: 0 2px;
}

.delivery__lable.active::before {
    background-color: var(--color-green-primary);
}

.white-box__title.dark {
    color: #000;
    font-size: var(--font-size-2);
    width: 50%;
    display: inline-block;
}

    .white-box__title.dark.min-width {
        width: auto;
    }

.rtl .white-box__title.dark.min-width {
    margin-left: 10px;
}

.ltr .white-box__title.dark.min-width {
    margin-right: 10px;
}

.white-box__price {
    color: #EF304D;
    font-size: var(--font-size-3);
}

    .white-box__price span {
        font-size: var(--font-size-1);
    }

.discount-code {
    flex-grow: 1;
}

    .discount-code .form__input {
        height: 45px;
        padding-left: 90px;
    }

.discount-btn {
    position: absolute;
    top: 3px;
    height: calc(100% - 6px);
    padding: 3px 8px;
    font-size: var(--font-size-0);
}

.rtl .discount-btn {
    left: 3px;
}

.ltr .discount-btn {
    right: 3px;
}

.login-modal .form__lable {
    display: block;
}

.login-modal .form__input {
    display: block;
    width: 100%;
}

.white-box__title {
    font-weight: 500;
}

.login-modal .main-btn {
    display: inline-block;
    min-width: 48%;
    text-align: center;
}

.login-modal .close-login {
    background-color: #757775;
}
.login-modal {
    position: fixed;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 24px 31px;
    z-index: 120;
    border-radius: 24px;
    width: 500px;
    display: none;
}

.remove-modal {
    position: fixed;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 24px 31px;
    z-index: 120;
    border-radius: 24px;
    width: 500px;
    display: none;
}

    .remove-modal .white-box__title {
        color: #EF304D;
        text-align: center;
    }

    .remove-modal .main-btn {
        min-width: 100px;
        text-align: center;
    }

    .remove-modal .yes {
        background-color: #EF304D;
    }

.tab__pans::before {
    content: " ";
    width: 100%;
    position: absolute;
    height: 2px;
    background-color: #e3e3e3;
    bottom: 0;
}

.underline {
    left: 100%;
    bottom: 0;
    height: 2px;
    transition: all 0.5s;
    background-color: var(--color-green-primary);
}

.tab__content {
    animation: fadein 0.5s both;
}

.tab__pane .tab__pane__title {
    font-size: 25px;
    font-weight: 500;
    color: #b8b8b8;
    cursor: pointer;
}

.tab__pane.show .tab__pane__title {
    color: var(--color-green-primary);
}

.cart-empty {
    color: var(--color-green-primary);
    font-weight: 500;
    font-size: 25px;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


@media only screen and (max-width:1200px) {
    .white-box__title.dark {
        font-size: var(--font-size-1);
    }
}

@media only screen and (max-width:768px) {
    .cart-table th {
        font-size: var(--font-size-1);
    }

    .cart__title {
        font-size: var(--font-size-0);
    }

    .cart__price {
        font-size: var(--font-size-0);
    }

    .cart-table {
        min-width: 500px;
    }

    .table__wrapper {
        overflow-x: auto;
    }

    .white-box__col {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .discount-col {
        order: -2;
    }

    .white-box__price {
        font-size: var(--font-size-5);
    }
}

@media only screen and (max-width:576px) {
    .buttons-wrapper {
        flex-direction: column;
    }

        .buttons-wrapper * {
            margin-bottom: 10px;
        }

    .white-box {
        padding: 15px;
    }

    .login-modal {
        max-width: 92vw;
        padding: 20px 15px;
    }

    .remove-modal {
        max-width: 92vw;
        padding: 20px 15px;
    }

        .remove-modal .white-box__title {
            font-size: var(--font-size-2);
            flex-wrap: wrap;
        }

    .white-box__title {
        font-size: var(--font-size-3);
    }

    .delivery__title {
        font-size: var(--font-size-1);
    }

    .tab__pane__title {
        font-size: 16px !important;
    }
}
.alert {
    font-size: 12px;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-success {
    background: #28a745;
    color: white;
}

.alert-error {
    background: #ee264f;
    color: white;
}

.text-danger {
    color: red;
    /* flex-basis: 100%; */
    position: absolute;
    top: 100%;
    font-size: 11px;
    /* left: 0; */
    right: 126px;
}