:root {
    --primary: #1B1B1B;
    --secondary: #8F3E43;
    --orange: #FFBA00;
    --text: #FFE7D0;
    --surface-color: #fff;
    --curve: 40;
}

* {
    box-sizing: border-box;
    margin: 0;
    direction: ltr;
}

html {
    background-color: var(--primary);
    color: var(--text);
    
}

body {
    font-family: 'Cairo', sans-serif;
}

.flex {
    display: flex;
}

.fl-1 {
    flex: 1;
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.heading {
    margin: 0 20px;
}

hr {
    margin: 50px 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
}

header {
    padding: 20px 10%;
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.08), 0 2px 4px 0 rgba(255, 255, 255, 0.12);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    /* background-color: #323232; */
}

.container {
    margin-top: 50px;
}

.filter {
    margin-bottom: 30px;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    border-radius: 10px;
    position: relative;
}

.overlay {
    position: absolute;
    background-color: black;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    display: flex;
    justify-content: center;
    color: white !important;
    align-items: center;
    transition: .3s all;
    border-radius: 10px;
    padding: 20px;
}

.lang {
    justify-content: left;
    align-items: unset;
}

.lang select {
    background: none;
    color: var(--text);
    padding: 5px;
    padding-right: 15px;
    border-radius: 5px;
    border: 2px solid white;
    z-index: 0;
}

.table-section {
    margin: 0 20px;
}

.table-num {
    background: none;
    border: none;
    border: 2px solid white;
    padding: 10px;
    border-radius: 5px;
    font-size: large;
    color: var(--text);
}

/* .overlay:hover {
    opacity: 0.7;
} */

.main {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.btn {
    color: #ffffff;
    padding: 0.8rem;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 400;
    display: block;
    width: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 50px;
    height: 100%;
    /* margin-bottom: 100px; */
}

.cards_item {
    display: flex;
    padding: 1rem;
}

.category-item {
    display: flex;
    padding: 1rem;
    /* margin-bottom: 30px; */
}

.category-img {
    width: 100%;
    /* height: 100%; */
}


.category-img img{
    width: 100%;
    border-radius: 10px;
    overflow: none;
}

.category-product {
    width: 100%;
    height: 150px;
    padding: 10px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08), 0 20px 40px 0 rgba(0, 0, 0, 0.616);
    border-radius: 10px;
    align-items: center;
}

.product-img {
    width: 120px;
    height: 120px;
    margin: 0 10px;
    border-radius: 10px;
}

.product-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #555;
}



.product-info p {
    color: #666;
    font-size: 12px;
}

.product-info select {
    background: none;
    color: var(--text);
    padding: 5px;
    padding-right: 15px;
    border-radius: 5px;
}

.add-icon i {
    background-color: var(--orange);
    padding: 5px;
    font-weight: bold;
    border-radius: 100%;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08), 0 20px 40px 0 rgba(0, 0, 0, 0.616);
}

.remove-icon {
    margin: 0 auto;
}

.remove-icon i {
    background-color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    font-weight: bold;
    border-radius: 100%;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08), 0 20px 40px 0 rgba(0, 0, 0, 0.616);
    margin: 0 auto;
    margin-bottom: 10px;
}



.card {
    /* position: relative; */
    display: block;
    height: 100%;
    border-radius: calc(var(--curve) * 1px);
    overflow: hidden;
    text-decoration: none;
}

.card__image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card__overlay {
    border-radius: calc(var(--curve) * 1px);
    background-color: var(--surface-color);
    /* transform: translateY(100%); */
    transition: .2s ease-in-out;
    height: 100%;
}

.card:hover .card__overlay {
    transform: translateY(0);
}

.card__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2em;
    padding: 2em;
    /* border-radius: calc(var(--curve) * 1px) 0 0 0; */
    background-color: var(--surface-color);
    /* transform: translateY(-100%); */
    transition: .2s ease-in-out;
}

.card__arc {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100%;
    right: 0;
    z-index: 1;
}

.card__arc path {
    fill: var(--surface-color);
    d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}

.card:hover .card__header {
    transform: translateY(0);
}

.card__thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.card__title {
    font-size: 1em;
    margin: 0 0 .3em;
    color: #6A515E;
}

.card__tagline {
    display: block;
    margin: 1em 0;
    font-size: 16px;
    color: #D7BDCA;
}

.card__status {
    font-size: 16px;
    color: #666;
}

.card__description {
    padding: 0 2em 2em;
    margin: 0;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    width: 100%;
}

.addCart {
    border: none;
    font-family: 'Cairo', sans-serif;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: var(--orange);
    color: white;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.sizes {
    width: 100%;
    justify-items: center;
    align-items: center;

}

.size {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: bold;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    font-size: large;
    cursor: pointer;
    border-radius: 5px;
    transition: .3s all;
}

.size:hover {
    background-color: var(--primary);
    color: var(--text);
}

.mobv {
    display: flex;
}



.cart-body {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.left-side {
    padding: 10px;
    border-radius: 10px;
    margin: 0 15px;
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.08), 0 2px 4px 0 rgba(255, 255, 255, 0.12);
    height: 100%;
    margin-bottom: 50px;
}

.left-side h2 , .right-side h2{
    text-align: center;
}

.checkout-btn {
    width: 100%;
    border: none;
    font-family: 'Cairo', sans-serif;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: var(--orange);
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
}

.right-side {
    padding: 10px;
    border-radius: 10px;
    margin: 0 15px;
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.08), 0 2px 4px 0 rgba(255, 255, 255, 0.12);
    height: 100%;
    margin-bottom: 50px;
}

.cart-item {
    height: 100px;
}

.cart-item img {
    height: 100%;
    width: 100px;
    border-radius: 10px;
}

.item-img {
    margin-left: 15px;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--orange);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
}

.my-float {
    margin-top: 22px;
}

footer {
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08), 0 20px 40px 0 rgba(0, 0, 0, 0.616);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 30px 10px;
    text-align: center;
}

.footer-icons {
    width: 20%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


@media (min-width: 10rem) {
    .cards_item {
        width: 50%;
    }

    .category-item {
        width: 100% !important;
    }

    .card:hover .card__header {
        transform: 0;
    }

    .card__overlay {
        transform: translateY(0);
    }

    .card__header {
        display: flex;
        flex-direction: column;
    }

    .mobv {
        flex-direction: column;
    }

    .size {
        width: 0;
        height: 0;
        padding: 15px;
    }

    .cart-body {
        flex-direction: column;
    }
}

@media (min-width: 40rem) {
    .cards_item {
        width: 50%;
    }

    .category-item {
        width: 50% !important;
    }

    .cart-body {
        flex-direction: row;
    }
}

@media (min-width: 56rem) {
    .cards_item {
        width: 33.3333%;
    }

    .category-item {
        width: 33.3333% !important;
    }

    .cart-body {
        flex-direction: row;
    }
}