@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;500;900&display=swap');

body {
    font-family: "inter";
    background: var(--bg);
    font-weight: 400;
    font-size: 13px;
}


/* global */

:root {
    --bg: #f3eeee;
    /* --red: #ef533b; */
    --red: #d01f1f;
    --white: #fff;
    --yellow: #fed03b;
    --black: #000;
    --brown: #bf7f28;
    --gray: #f1edee;
    --muted: #797979;
    --lightGray: #fbfbfb;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    transition: 0.2s;
    text-decoration: none;
}

a:focus {
    outline: none;
}

a:hover {
    text-decoration: none;
    color: var(--brown);
}

p {
    text-align: left;
    /* line-height: 42px; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}


/* btns */

.btn-red {
    background-color: var(--red);
    color: var(--white);
}

.itemQty {
    position: absolute;
    font-size: 12px;
    background: #fff;
    padding: 0 5px;
    color: #000;
    border-radius: 1px;
    top: calc(50% - 8px);
    left: 4px;
    border-radius: 2px;
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--black);
}

.btn-wide {
    padding-left: 50px;
    padding-right: 50px;
}


/* bg */

.title,
.bg-brush {
    background-color: #f6ecd7;
    background-image: url("https://www.transparenttextures.com/patterns/scribble-light.png");
    /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}


/* forms */

.form-control.red:focus {
    border-color: var(--red) !important;
}

.form-control.noeffect {
    outline: none !important;
    box-shadow: none !important;
}

.line-group {
    background: var(--white);
    padding: 22px 10px;
    border-radius: 10px;
}

.line-group input {
    background: none;
    border-left: none;
    border-right: none;
    border-radius: unset;
    border-color: #000;
    margin-right: 24px;
}


/* header */

header .logo {
    max-width: 50px;
    max-height: 32px;
}

header .social {
    font-size: 17px;
    margin: 10px;
}

header {
    padding-top: 10px;
    padding-bottom: 10px;
    background: var(--white);
}

header nav {
    text-align: right;
}

header .social i {
}


/* first section */

.firstSlider {
}

.choiceTab {
    transform: translateY(-61px);
    z-index: 9;
    padding: 0;
    box-shadow: 0px 12px 20px -12px #000000a3;
}

.choiceTab li button.nav-link {
    background: #ccc;
    height: 100%;
    width: 100%;
    color: #000;
    vertical-align: bottom;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.choiceTab li button.nav-link svg {
    width: 24px;
}

.choiceTab li button.nav-link.active {
}

.choiceTab li {
    flex: 1 0 0%;
    vertical-align: bottom;
}

.choiceTab ul.nav {
    display: flex;
    justify-content: center;
}

.choiceTab .tab-content {
    background: #fff;
}


/* title */

.sepratorTitle {
    text-align: center;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.sepratorTitle::after {
    margin-left: 10px;
}

.sepratorTitle::before {
    margin-right: 10px;
}

.sepratorTitle::after,
.sepratorTitle::before {
    border-width: 1px;
    border-color: #0000006e;
    flex: 1 1 0%;
    position: relative;
    content: "";
    height: 1px;
    top: -2px;
    z-index: 99999;
    display: block;
    border-style: solid;
}


/* footer */

footer {
    background: #1f1f1f;
    color: #fff;
    padding: 70px 0;
}

footer a {
    display: block;
    text-decoration: none;
    font-size: 12px;
    margin: 5px;
}

.copyright p {
    text-align: center;
    font-size: 9px;
    color: #ccc;
}


/* Menu Nav */

.menuNav {
    background: var(--white);
    border-top: 1px solid #ccc;
}

.menuNav a {
    padding: 12px 20px;
    text-decoration: none;
    border-right: 1px solid #ccc;
    /* font-weight: bold; */
}

.menuNav a:last-child {
    border: none;
}

.menuNav a:hover,
.menuNav a.active {
    background: var(--red);
    color: var(--white);
    background-image: url(/images/bg.jpg);
    background-size: auto 83%;
}

.menuNav a:first-child {
    margin-left: 34px;
}


/* Product Card */

.productCard .select {
}

.productCard .select select {
    width: 100%;
    background: #f6f6f6;
    border: none;
    margin-bottom: 11px;
}

.productCard .select h5 {
    font-size: 14px;
    font-weight: normal;
}

.productCard .select .price {
    font-size: 13px;
    float: right;
    margin-top: 3px;
}

.productCard .select a {
}

.productCard {
    margin: 25px 15px;
    background: var(--white);
    box-shadow: 0 0 2px #0000005c;
    position: relative;
}

.productCard img {
    height: 190px;
}

.productCard .content {
    padding: 15px;
}

.productCard h4 {
    font-weight: normal;
    font-size: 20px;
}

.productCard h4 .spesification {
    background: #449f81;
    padding: 2px 9px;
    color: #fff;
    font-size: 16px;
    vertical-align: middle;
}

.productCard p {
}

.productCard .footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.productCard .footer .price {
}

.productCard .footer .discount {
    margin-left: -40px;
    color: var(--red);
    position: relative;
}

.productCard .footer .discount::before {
    content: '';
    width: 130%;
    height: 1px;
    background: var(--red);
    position: absolute;
    transform: rotate(-19deg);
    top: 13px;
    left: -3px;
}


/* Bsaket */

.basket {
    height: 100vh;
}

.basketDivider {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    height: 100%;
    position: fixed;
    top: 0;
    background: #fff;
}

.basket .topBasket {
    padding: 10px;
}

.basket .topBasket h4 {
    display: inline-block;
    color: var(--red);
}

.basket .topBasket i {
    font-size: 30px;
    color: var(--red);
}

.basket .topBasket p {
    font-size: 12px;
    display: inline-block;
}

.basket .topBasket img {
    width: 20px;
}

.basketItem {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 5px;
}

.basketItem img {
    max-width: 36%;
}

.basketItem button {
    background: #fff;
    margin: 7px auto;
    padding: 2px 5px;
}

.basketItem button.btn-plus {
    color: green;
}

.basketItem button.btn-minus {
    color: red;
}

.basketItem h6 {
    font-weight: normal;
    font-size: 13px;
    line-height: 20px;
}

.basketItem h6 span {
    color: #fff !important;
    font-size: 24px;
}

.basketItem a span {
    color: #ccc;
}

.basketItem > div span {
    flex: 1 0 50%;
    text-align: center;
    color: var(--white);
}

.basketItem .price {
    font-size: 13px;
    display: inline-block;
    float: right;
    margin: 0;
}

.basketItem .price i {
    margin: 0 4px;
}

.basketItem > div {
    background: rgb(158, 41, 68);
    background: linear-gradient(0deg, rgba(158, 41, 68, 1) 0%, rgba(178, 76, 61, 1) 100%);
    flex: 1 0 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    flex-wrap: wrap;
}

.basketItem > div > div {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    display: flex;
}

.basketItem > a {
    display: flex;
    background: rgb(158, 41, 68);
    background: linear-gradient(0deg, rgba(158, 41, 68, 1) 0%, rgba(178, 76, 61, 1) 100%);
    flex: 1 0 70%;
    color: var(--white);
    text-decoration: none;
}

.basketItem > a > div {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: normal;
}

.basketFooter .btn {
    position: relative;
}

.basketFooter img {
    width: 80%;
    display: block;
    margin: 0 auto;
}

.basketFooter p {
    text-align: center;
}

.select-but {
    text-align: center;
}

.flag {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 75px;
    height: 75px;
    overflow: hidden;
    z-index: 1;
}

.flag__inner {
    position: absolute;
    top: 19px;
    left: -21px;
    display: block;
    width: 100px;
    font-size: 10px;
    color: rgba(0, 0, 0, .6);
    text-align: center;
    line-height: 20px;
    background: hsla(0, 0%, 100%, .9);
    box-shadow: 0 1px 8px -3px rgb(0 0 0 / 60%);
    transform: rotate(-45deg);
}

.flag__inner:before {
    left: 0;
    border-color: hsla(207, 8%, 51%, .2) transparent transparent hsla(207, 8%, 51%, .2);
}

.flag__inner:after,
.flag__inner:before {
    content: "";
    position: absolute;
    top: 100%;
    z-index: -1;
    border-style: solid;
    border-width: 2px;
}

.flag__inner:after {
    right: 0;
    border-color: hsla(207, 8%, 51%, .2) hsla(207, 8%, 51%, .2) transparent transparent;
}

.text-left {
    text-align: left !important;
}


/* /////////////////////// */

.itemBox {
    width: 24%;
    text-align: center;
    border: 1px solid #ccc;
    padding: 0 !important;
    margin: 5px;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    min-width: 250px;
    max-width: 300px;
}
.itemBox select {padding: 10px 0;width: 100%;border: unset;border-top: 1px solid #795206;font-size: 14px !important;outline: none !important;}
.itemBox strong {
    text-align: center;
    margin: 10px 0;
    display: block;
}

.text-right {
    text-align: right;
}

.CategoryTab {
}

.CategoryTab button {
    background: #ccc !important;
    color: #000;
    transform: scale(.95);
    margin-bottom: 2px!important;
}

.CategoryTab button.show .nav-link,
.CategoryTab button.active {
    background: #fff !important;
    transform: scale(1);
}

.itemDivider {
}

.itemDivider .tab-content {
    height: 80vh;
    overflow-y: auto;
    position: relative;
    overflow-x: overlay !important;
    padding-top: 5px;
    background: #ffffff63;
}

.input {
    display: inline-block;
    height: 30px;
    margin: 5px;
}

.w-80 {
    width: 80px !important;
}

.btn-grp {
    display: inline-block;
}

.btn-grp .input {
    margin-right: 0;
    width: 80%;
}

.btn-grp .btn {
    height: 30px;
    margin: 5px;
    margin-left: 0;
    vertical-align: bottom;
    padding: 4px 10px;
}

.btn-defualt {
    background: #e5e5e5;
    border: 1px solid #b7b7b7;
}

.line {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.title {
    margin: 0 -10px;
    margin-bottom: 7px;
}

.lastInvoice .btn {
    font-size: 12px;
    padding: 5px 10px !important;
}

.lastInvoice {
    margin-top: 10px;
}

.invoiceTotal td {
    width: 47%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 3%;
    height: 32px;
}

.invoice {
}

.invoice table {
    margin-top: 11px;
}

.lastInvoice table thead,
.invoice table thead,
.invoice table tbody tr td:first-child {
    background: #e6dfd1;
    color: #000;
    text-align: center;
}

.lastInvoice table {
    margin-top: 10px;
}

.lastInvoice table td,
.invoice table td {
    text-align: center;
    padding: 3px;
}

.invoice table tbody {
    max-height: 30vh;
    overflow: auto;
}

.line::before {
    content: '';
    width: 80%;
    height: 1px;
    background: #cbcbcb;
    position: absolute;
    bottom: 0;
    left: 10%;
}

.h-30 {
    height: 30px;
}

.btn.h-30 {
    padding: 3px 10px;
}

.title h6 {
    margin: 0;
    padding: 7px;
}

.rotate {
    transform: rotate(-90deg);
}

.otItem {
    background: #fff;
    padding: 2px 45px;
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.w-120 {
    width: 120px !important;
}

.btn-icon {
    margin-right: 20px;
    min-width: 54px;
}

.btn-icon i {
    font-size: 22px;
}

.ml-2 {
    margin-left: 20px;
}

.ovy {
    overflow-y: auto;
}

.hv100 {

}

.clock {
    width: 50px;
    display: inline-block;
}


.clamp-1 {
    white-space: nowrap; /* Keep the text on a single line */
    overflow: hidden; /* Hide the overflow */
    text-overflow: ellipsis; /* Add ellipsis for clipped text */
    width: 100%; /* You must define a width */
    display: block; /* This can be a block or inline-block */
}

.customerAddressForm > *,
.customerForm > * {
    flex: 1 0 150px;
}
.customerAddressForm,
.customerForm {
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 40px;
    margin-top: 40px;
}

.flex-basis-full{
    flex-basis: 100%;
}

.btn,
input,select{
    font-size: 15px !important;
}

.btn-select {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
    margin-top: 1rem;
}


.priceCollapseBtn{display: block;margin: 5px 0;background: #fff;border: 1px solid;border-radius: 5px;width: 100%;padding: 10px;font-size: 18px;}

.price-type{
    border: 1px solid #ccc;
}
.price-type.active{background: #239f3e;color: white;}

.model-select{
    max-width: 90%;
    margin:5px auto
}

.price-div{display: flex;justify-content: flex-end;/* width: 100%; */flex-grow: 1;text-align: right;column-gap: .2rem;}
.price-div .override-price{position: relative;font-size: 11px}

.price-div .override-price::before {
    content: '';
    width: 90%;
    height: 1px;
    background: red;
    position: absolute;
    transform: rotate(-14deg);
    top: 10px;
    left: 3px;
}
.select2-container{
    max-width: 100%!important;
}

tr.selected{
    background: #6a6af1;
    color: #fff !important;
}
#previewTab{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: auto;
}

.model-select-div{
    width: 100%;
}

.customer-code-div .autocomplete-wrapper{
    flex-grow: 1;
}
.customer-code-div{
    display: inline-flex!important;
    flex-grow: 1;
    gap: 0.2rem;
}
.customer-code-div .select2-selection__choice__remove{display: none!important;}
.customer-code-div .select2-selection__choice{
    background-color: unset!important;
    border: unset !important;
}

.number {
    text-align:right !important;
}
