/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
html[lang="ar"] body {
    font-family:
        "Cairo",
        Arial,
        sans-serif;
}


/* English */

html[lang="en"] body {
    font-family:
        "Open Sans",
        Arial,
        sans-serif;
}
body {
    margin: 0;

    background: #f7f7f7;

    color: #181818;

    font-family:
        "Cairo",
        Arial,
        sans-serif;

    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}


.souq-search{display:flex;align-items:center;position:relative;}
.souq-search input{width:100%;padding-left:75px;}
.souq-search-button{position:absolute;left:2px;border:0;background:#cf1d2a;color:#fff;border-radius:8px;padding:8px 18px;font-weight:700;cursor:pointer;}

/* =========================================================
   CONTAINER
========================================================= */

.souq-container {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.souq-topbar {
    background: #181818;

    color: #ffffff;

    padding: 7px 0;

    text-align: center;

    font-size: 12px;
}


/* =========================================================
   NAVBAR
========================================================= */

.souq-navbar {
    background: #ffffff;

    border-bottom: 1px solid #ededed;
}

.souq-navbar-inner {
    min-height: 72px;

    display: flex;

    align-items: center;

    gap: 25px;
}


/* =========================================================
   LOGO
========================================================= */

.souq-logo {
    display: flex;

    align-items: baseline;

    gap: 6px;

    white-space: nowrap;

    font-weight: 800;

    font-size: 20px;
}

.souq-logo-market {
    color: #181818;
}

.souq-logo-etlbni {
    color: #d9232e;
}


/* =========================================================
   SEARCH
========================================================= */

.souq-search {
    flex: 1;
}

.souq-search input {
    width: 100%;

    height: 44px;

    border: 1px solid #dedede;

    border-radius: 10px;

    background: #f8f8f8;

    padding: 0 16px;

    outline: none;
}

.souq-search input:focus {
    background: #ffffff;

    border-color: #a9a9a9;
}


/* =========================================================
   NAVBAR ACTIONS
========================================================= */

.souq-navbar-actions {
    display: flex;

    align-items: center;

    gap: 20px;

    white-space: nowrap;
}

.souq-navbar-actions a {
    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   CART
========================================================= */

.souq-cart-link {
    position: relative;
}

.souq-cart-count {
    position: absolute;

    top: -13px;
    right: -12px;

    width: 19px;
    height: 19px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d9232e;

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   CATEGORY NAV
========================================================= */

.souq-category-nav {
    background: #ffffff;

    border-bottom: 1px solid #ececec;
}

.souq-category-scroll {
    display: flex;

    align-items: center;

    gap: 27px;

    overflow-x: auto;

    padding-top: 12px;
    padding-bottom: 12px;

    scrollbar-width: none;
}

.souq-category-scroll::-webkit-scrollbar {
    display: none;
}

.souq-category-scroll a {
    white-space: nowrap;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   GENERAL PAGE
========================================================= */

#main-content {
    min-height: 60vh;
}


/* =========================================================
   SECTION HELPERS
========================================================= */

.souq-section {
    margin-top: 42px;
    margin-bottom: 42px;
}

.souq-section-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}

.souq-section-title {
    margin: 0;

    font-size: 23px;

    font-weight: 750;
}

.souq-view-all {
    color: #666666;

    font-size: 13px;
}


/* =========================================================
   BUTTON
========================================================= */

.souq-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 9px;

    padding: 11px 20px;

    background: #181818;

    color: #ffffff;

    cursor: pointer;

    font-weight: 700;
}

.souq-button:hover {
    opacity: .9;
}


/* =========================================================
   FOOTER
========================================================= */

.souq-footer {
    margin-top: 60px;

    background: #191919;

    color: #ffffff;

    padding-top: 45px;
}

.souq-footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;
}

.souq-footer-logo {
    font-size: 20px;

    font-weight: 800;

    margin-bottom: 10px;
}

.souq-footer-description {
    max-width: 450px;

    margin: 0;

    color: #a9a9a9;

    font-size: 13px;

    line-height: 1.9;
}

.souq-footer h3 {
    margin-top: 0;

    margin-bottom: 14px;

    font-size: 15px;
}

.souq-footer a {
    display: block;

    margin-bottom: 8px;

    color: #bbbbbb;

    font-size: 13px;
}

.souq-footer a:hover {
    color: #ffffff;
}

.souq-footer-bottom {
    margin-top: 35px;

    padding: 20px 0;

    border-top: 1px solid #333333;

    color: #888888;

    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .souq-navbar-inner {
        gap: 15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .souq-container {
        width: calc(100% - 44px);
    }


    .souq-topbar {
        font-size: 11px;
    }


    .souq-navbar-inner {
        display: grid;

        grid-template-columns: 1fr auto;

        gap: 12px;

        padding-top: 12px;
        padding-bottom: 12px;
    }


    .souq-logo {
        font-size: 18px;
    }


    .souq-search {
        grid-column: 1 / -1;

        grid-row: 2;
    }


    .souq-navbar-actions {
        gap: 14px;
    }


    .souq-category-scroll {
        gap: 20px;
    }


    .souq-section {
        margin-top: 30px;
        margin-bottom: 30px;
    }


    .souq-section-title {
        font-size: 20px;
    }


    .souq-footer-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

}
