/*

green:var(--primary)

light green:var(--primary)

red:#e12726

*/
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/poppins.woff2) format("woff2");

}
/* arabic */
@font-face {
    font-family: "Tajawal";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/taj.woff2) format("woff2");

}
:root{
    --primary:#3aaa35;
    --secondary:#951b81;
    --primaryLight:#5cd357;
}


* {
    font-family: "Poppins","Tajawal";
}
.enFont {
    font-family: "Poppins" !important;
}
html {
    scroll-behavior: smooth;
}
body {
    padding: 0;
    margin: 0;
    position: relative;
    min-height: 100vh;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
::selection {
    color: var(--primary);
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

.fexRow{
    display: flex;
    flex-direction: row
}
.fexColumn{
    display: flex;
    flex-direction: column
}
.bodyContent {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.headerContainer {
    width: 100%;
    background-color: var(--primary);
    position: relative;
}
.ltrDirection{
    direction: ltr;
}


.flexRow{
    display: flex;
    flex-direction: row;
}
.flexColumn{
    display: flex;
    flex-direction: column;
}
.justifyContentCenter{
    justify-content: center;
}
.alignItems{
    align-items: center;
}
.notify {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 2rem;
    border-radius: 3px;
    box-shadow: 1px 1px 5px grey;
    width: 80%;
    max-width: 500px;
    margin: auto;
    padding: 30px;
    background-color: white;
    gap: 1rem;
}
.cmlink {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}
.cmlink::before {
    content: "";
    background-color: black;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    transition: all 0.5s;
    width: 0%;
}
.cmlink:hover::before {
    width: 100%;
}
.cmModalContainer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 70;
}
.forSingleProduct .forQuantity .cmModal {
    background-color: white;
}
.cmOverLay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.8;
}
.cmModal {
    background-color: white;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 300px;
    width: 90%;
    max-width: 500px;
    z-index: 50;
    animation: modalAnimation 0.5s;
}
@keyframes modalAnimation {
    0% {
        transform:scale(1.2);
    }
    100% {
        transform:scale(1);
    }
}
.cmCloseModal {
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: none;
    outline: none;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

}
.cmCloseModal .fa {
    color: black;
    transition: all 0.5s;
}
.cmCloseModal:hover .fa{
    transform: rotateZ(180deg);
}

.cmSection {
    width: 100%;
    max-width: 1140px;
    margin: auto;
}
.cmInputContainer {
    display: flex;
    min-height: 50px;
    min-width: 250px;
    width: 90%;
    max-width: 500px;
    position: relative;
}
.cmInputContainer .fa{
    cursor: initial;
}
.cmInput {
    outline: none;
    display: flex;
    width: 100%;
    height: 100%;
    border: 1px solid black;
    padding: 15px;
    border-radius: 3px;
    background-color: transparent;
    z-index: 5;
    font-size: 1rem;
    color: black;
}
.cmInput::placeholder {
    color: red;
}
.cmInputRed {
    border-color: red;
}
.cmInputRed + label {
    color: red;
}


.cmInputLabel {
    position: absolute;
    top: 30%;
    left: 1rem;
    transition: all 0.5s;
    font-weight: bold;
    z-index: 2;
}

.cmInputLabel:focus,
.cmInput:focus + .cmInputLabel {
    top: -20px;
}
.cmSelectContainer label {
    position: absolute;
    top: -20px;
    left: 1rem;
    font-weight: bold;
}
.cmInput:not(:placeholder-shown) + .cmInputLabel {
    top: -20px;
}

.cmButton {
    outline: none;
    border: 1px solid var(--secondary);
    border-radius: 100px;
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    color: white;
    background-color: var(--primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.5s;
    gap: 1rem;
}
.cmButton::before {
    content: "";
    position: absolute;
    bottom: 0;
    top: 0;
    left: -50px;
    right: 0;
    width: 0%;
    height: 100%;
    transform: skew(45deg);
    z-index: -1;
    background-color: var(--secondary);
    transition: all 0.5s;
}
.cmButton:hover {
    border-color: var(--primary);
}
.cmButton:hover::before {
    width: 150%;
}
.cmButton:active {
    transform: scale(0.95);
}
@keyframes arrowAnimation {
    0% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(5px);
    }
}
.arrowAnimation {
    animation: arrowAnimation 1s  alternate;
}
.maxLetterNumber {
    position: absolute;
    bottom: 0;
    right: 5px;
}
.cmSelectContainer {
    min-width: 250px;
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.cmSelect {
    width: 100%;
    height: 58px;
    border: 1px solid black;
    border-radius: 3px;
}
.cmToast {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    background-color: #e12726;
    width: 90%;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 3px;
    transition: all 0.5s;
    width: 90%;
    max-width: 500px;
    margin: auto;
    z-index: 10;
    position: fixed;
    left: 0;
    right: 0;
    transition: all 1s;
}
.greenToast {
    background-color: var(--primary);
}
.cmToastHide {
    top: -9999px;
}
.cmToastShow {
    top: 100px;
}
.cmCloseToast {
    position: absolute;
    cursor: pointer;
    top: 5px;
    left: 5px;
}
.cmToastTitle {
    margin: 0px;
}
.cmToastTitle .singleSetting{
    border-color:var(--primaryLight)
}
.fixedToast {
    position: fixed;
    z-index: 9999;
}

ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    background-color: #eee;
}

ul.breadcrumb li {
    display: inline;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}
ul.breadcrumb li:hover {
    color: #67be5e;
}

ul.breadcrumb li + li:before {
    padding: 8px;
    color: var(--primary);
    content: "/\00a0";
}

ul.breadcrumb li a {
    text-decoration: none;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    width: 100%;
    padding: 0;
}
.pagination li {
    background-color: var(--primary);
    width: 30px;
    height: 30px;
    color: white;
    cursor: pointer;
    border-radius: 100%;
    padding: 0;
    transition: all 0.5s;
}
.pagination li.active {
    background-color: var(--primary);
}
.pagination li:active {
    transform: scale(0.9);
}
.pagination li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
select {
    transition: all 0.5s;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: center;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    padding: 5px;

    outline: none;
}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;

}
.loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    z-index: 999999;
    background-color: var(--primary);
}

.langToolTip {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    position: absolute;
    white-space: nowrap;
    background-color: rgb(255 255 255 / 40%);
    padding: 5px;
    border-radius: 3px;
    right: -80px;
    border-radius: 100px;
    transition: all 1s;
    opacity: 0;
    font-family: "Tajawal" !important;
}
.changeLanguage {
    cursor: pointer;
}
.changeLanguage:hover .langToolTip {
    opacity: 1;
    transform: translateX(8px);
}
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: white;
    transition: all 0.2s;
    box-shadow: 1px 1px 5px grey;
    padding: 10px 0px;
    z-index: 50;

}
.navScroll{
    position: fixed;
    animation: navAnimation 0.5s forwards;
}
@keyframes navAnimation{
    0%{
        top:-50%;
    }
    100%{
        top:0%;
    }
}

.navChild {
    max-width: 1200px;
    margin: auto;
    width: 100%;
    height:100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav .fa {
    color: var(--primary);
    font-size: 1.2rem;
}
nav li {
    cursor: pointer;
}
.navSettings {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.preferencesInfoContainerChild .navSettings i {
    color: white;
}

.singleSetting {
    font-size: 1.5rem;
}
.singleSetting {
    border: 2px solid var(--primary);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.navChild .navSettings .singleSetting {
    color: var(--primary);
    border-color: var(--primary);
}
.cartNumber {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background-color: var(--primary);
    color: white;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}
nav .navigationMenu {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0px;
    margin: 0px;
    height: 100%;
    align-items: center;
    z-index: 10;
}
nav .navigationMenu li {
    list-style: none;
    cursor: poitner;
    font-size: 1.2rem;
}

@keyframes goTopAnimation {
    0% {
        transform: translateY(-50px);
    }
    100% {
        transform: translateY(0px);
    }
}
#goTop {
    position: fixed;
    bottom: 1rem;
    right: 10px;
    width: 50px;
    height: 50px;
    padding: 0;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    background-color: var(--primary);
    transition: transform 0.5s;
    border: 2px solid var(--primary);
    z-index: 45;
    cursor: pointer;
    animation: goTopAnimation 1s  alternate;
    border: 2px solid var(--primary);
}
#goTop:active {
    transform: scale(0.9);
}

#goTop .fa {
    color: white;
}

.categoryDropDown {
    background-color: white;
    border-radius: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border: 1px solid black;
    height: 100%;
    height: 52px;
    min-width: 50px;
    font-weight: bold;
}
option {
    font-weight: bold;
    font-size: 1rem;
}
.searchBoxContainer {
    width: 100%;
    margin: auto;
    max-width: 880px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    position: relative;
}
.relativePosition{
    position: relative;
}

.cmAutoComplete {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    min-height: 100px;
    max-height: 250px;
    width: 100%;
    margin: auto;
    z-index: 50;
    border: 1px solid black;
    background-color: white;
    overflow: auto;
    display: none;
}
.cmAutoComplete h3 {
    text-align: center;
}
.cmAutoComplete h5 {
    padding: 5px;
    font-size: 1rem;
    margin: 0;
    cursor: pointer;
}
.cmAutoComplete h5:hover {
    background-color: #f7f7f7;
}
.searchBoxContainer .searchBoxContainerSearch {
    min-width: unset;
}
.searchBoxContainerSearch,
.searchBoxContainerIcon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    background-color: white;
}
.searchBoxContainerSearch input {
    width: 100%;
    padding: 15px;
    outline: none;
    border: 1px solid black;
    border-radius: 0px;
    padding: 0px 15px;
    transition: all 0.5s;
}

.searchBoxContainerIcon {
    border: 1px solid black;
    border-radius: 3px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    width: 10%;
    min-width: 50px;
    cursor: pointer;
    transition: all 0.5s;
}
.searchBoxContainerIcon:hover,
.categoryDropDown:hover,
.searchBoxContainerSearch input:focus {
    box-shadow: 1px 1px 5px grey;
}
@keyframes leafAnimation {
    0% {
        transform: translateY(2px);
    }
    100% {
        transform: translateY(-5px);
    }
}
@keyframes spinnerAnimation {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}
.cmSpinner {
    width: 20px;
    height: 20px;
    border: 5px solid var(--primary);
    border-top-color: white;
    border-radius: 100%;
    animation: spinnerAnimation 1s ;
}
.similarSection {
    background-color: white;
    box-shadow: 1px 1px 5px grey;
    padding-bottom: 50px;
}
.similarSection h3 {
    padding: 10px;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.similarSection h3 i {
    animation: leafAnimation 1s  alternate;
}
.leafAnimation {
    animation: leafAnimation 1s  alternate;
}
.bounce {
    transition: all 0.5s;
}
.bounce:active {
    transform: scale(0.9);
}
.lineSeparator {
    height: 3px;
    width: 100%;
    background-color: var(--primary);
}
.menuTitles {
    font-weight: bold;
    color: var(--primary);
    transition: all 0.5s;
}
.notClickable{
    cursor: initial;
}
.cmDropOptions {
    display: block;
    position: absolute;
    top: 22px;
    background-color: white;
    border-radius: 3px;
    width: 100%;
}
.cmDropOptionsTitle {
    cursor: pointer;
}
.cmDropOptionsContainer {
    position: relative;
}

.cmDropOptionsContainer:hover .cmDropOptions {
    display: block;
}
a {
    color: unset;
    text-decoration: unset;
}
.menuToggleClose,
.menuToggleOpen {
    display: none;
}
.preferencesInfoContainer {
    background-color: var(--secondary);
    width: 100%;
    height: 50px;
    z-index: 50;
    border-bottom: 2px solid var(--primary);
}
.preferencesInfoContainerChild {
    width: 100%;
    height: 100%;
    margin: auto;
    max-width: 1140px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.socialMediaContainer,
.infoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.socialMediaContainer {
    gap: 1rem;
}
.singleInfo {
    color: white;
}
.singleInfoSeparator {
    height: 30px;
    width: 1px;
    background-color: white;
}
.preferencesInfoContainer i {
    font-size: 1.5rem;
}
i {
    cursor: pointer;
    transition: all 0.5s;
}

.sectionSeparator {
    height: 2rem;
}
.navChild .navSettings {
    display: none;
}
#logoImage {
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s;
}
#logoImage:hover {
    transform: translateX(15px)
}

nav ul li:hover .menuTitles,
nav ul li:hover .fa,
.headerContainer .fa:hover {
    color: #67be5e !important;
}

#logoImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footerContainer {
    margin-top: auto;
    width: 100%;
    min-height: 100px;
    background-color: var(--secondary);
    display: flex;
    flex-direction: column;
}

.singleLocationContainerForFooter {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
}
.singleLocationIconForFooter{
    margin: 0px 7px;
    font-size: 1.5rem;
    width: 10%;
    text-align: center
}
.singleLocationTextForFooter{
    width: 90%
}
.footer1 {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1.5rem;
    max-width: 1140px;
    margin: auto;
    padding-top: 10px;
}
.footer2 {
    border-top: 1px solid white;
    padding-top: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1140px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    gap: 0.5rem;
}
.footer2 span {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}
.footer2 #opentech {
    color: #f26a23;
    background-color: white;
    border: 2px solid #f26a23;
    border-radius: 20px;
    padding: 5px;
    font-weight: bold;
    font-family: "poppins";
}
.footerLogo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; 
    padding: 50px 0;
    border-radius: 5px;
}
.footerLogo img {
    width: 200px;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s;
}
.footerLink,
.footerPreferences {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}


.footerLink {
    border-left: 2px dashed white;
    border-right: 2px dashed white;
    display: flex;
    padding:2px
}
.footerLink ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
}
.footerLink li,
.footerLink a {
    color: white;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.5s;
}

.footerContainer .singleInfo .fa {
    font-size: 2.2rem;
}

.footerContainer li:hover,
.footerContainer img:hover {
    transform: scale(0.9);
}
.singleInfo {
    transition: all 0.5s;
}
.productsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 280px);
    gap: 1rem;
    place-content: center;
    place-items: center;
    position: relative;
}
@keyframes growingAnimation {
    0% {
        transform: scale(0.5);
        border-width: 1px;
    }
    100% {
        transform: scale(1.5);
        border-width: 10px;
    }
}
.cmGrowing {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: var(--primary);
    border: 1px solid var(--secondary);
    animation: growingAnimation 1s  infinite alternate;
}
.outLineButton {
    background-color: white;
    border-color: var(--primary);
    color: var(--primary);
}
.outLineButton:hover {
    color: white;
}
.outLineButton::before {
    background-color: var(--primary);
}
.redButton,
.backButton {
    margin: 1rem 0px;
    background-color: #e12726;
    color: white;
    border-color: white;
}
.redButton:hover,
.backButton:hover {
    color: #e12726;
    border-color: #e12726;
}
.redButton::before,
.backButton::before {
    background-color: white;
}
.menuLiHolder {
    display: flex;
}
@media screen and (min-width: 1101px) {
    .menuLiHolder {
        gap: 3rem;
        justify-content: flex-end;
        width: 100%;
        padding: 0px;
        margin: 0px;
        height: 100%;
        align-items: center;
    }
}
@media screen and (max-width: 1100px) {

    .menuLiHolder {
        gap: 1rem;
        flex-direction: column;
    }
    .menuTitles,
    nav ul li .fa,
    .menuToggleClose .fa {
        color: white;
        font-size: 1.5rem;
    }
    .preferencesInfoContainer .navSettings {
        display: none;
    }
    .navChild .navSettings {
        display: flex;
    }
    nav .navigationMenu {
        flex-direction: column;
        height: 100vh;
        justify-content: center;
        align-items: center;
        width: 100%;
        background-color: var(--primary);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transition: all 0.5s;
        transform: translateY(-101vh);
    }
    .menuToggleOpen {
        display: flex;
    }
    .menuToggleClose {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        font-size: 1.5rem;
        border: 2px solid var(--primary);
        border-radius: 100%;
        width: 30px;
        height: 30px;
        position: fixed;
        top: 10%;
        right: 10%;
    }
    .preferencesInfoContainer .socialMediaContainer {
        display: none;
    }
}
@media screen and (max-width: 1000px) {


}

@media screen and (max-width: 600px) {
    .cmSelectContainer {
        margin-top: 8px
    }
    .footerLogo {
        width: 80%;
        padding: 0;
    }

    .footerLink {
        animation: unset;
        border: none;
    }
    .footer1 {
        flex-direction: column;
    }
    .footerPreferences {
        flex-direction: row;
        width: 100%;
        gap: 1.5rem;
    }
    .footerContainer {
        flex-direction: column;
    }

    .singleLocationContainerForFooter{
        flex-direction: column; 
    }
    .singleLocationTextForFooter{
        text-align: center
    }
    .hideMobile{
        display: none;
    }
    .categoryDropDown{
        width: 10%;
    }
    .infoContainer div:nth-child(2),
    .infoContainer div:nth-child(3){
        display: none
    }
    .notify {
        flex-direction: column;
    }
}
