@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Inter", sans-serif;
}


:root {
    --main_color: #ff8716;
    --p_color: #7b7b7b;
    --bg_color: #F3F3F3;
    --white_color: #fff;
    --color_heading: #121416;
    --border_color: #e5e5e5d5;
    --Sale_color: #E51A1A;
}

body {
    padding-top: 210px;
    background-color: #f9f9f9;
}

span {
    color: var(--main_color);
}

p {
    color: var(--p_color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color_heading);
    font-family: "DM Sans", sans-serif;
}

img {
    width: 100%;
}

input,
select,
button {
    border: none;
    outline: none;
    cursor: pointer;
}

.container {
    width: 90%;
    margin: auto;
    max-width: 1350px;
}

@media (max-width: 1350px) {
    .container {
        width: 90%;
    }
}

/* Start Header */

/* ✅ تحسين الهيدر */
header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 12324;
}

header .top_header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

header .top_header .logo {
    width: 180px;
}

/* ✅ تحسين شريط البحث */
header .top_header .search_box {
    width: 610px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background-color: var(--bg_color);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

header .top_header .search_box input {
    height: 55px;
    width: 400px;
    padding: 5px 15px 10px 10px;
    background: var(--bg_color);
}

/* ✅ تحسين القائمة المنسدلة */
header .top_header .search_box .select_box {
    position: relative;
}

header .top_header .search_box .select_box::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -5px;
    width: 1px;
    height: 50%;
    background: #b9b9b9;
}

header .top_header .search_box select {
    height: 55px;
    width: 190px;
    background-color: var(--bg_color);
    font-size: 15px;
    padding-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

select option:checked {
    background-color: #ff8716;
    color: white;
}

header .top_header .search_box select:hover {
    background-color: #eaeaea;
}

header .top_header .search_box button {
    height: 55px;
    width: 60px;
    background-color: var(--main_color);
    transition: background-color 0.3s ease;
}

header .top_header .search_box button:hover {
    background-color: #e06b00;
}

header .top_header .search_box button i {
    color: var(--white_color);
}

/* ✅ تحسين أيقونات الهيدر */
header .top_header .header_icons {
    display: flex;
    gap: 30px;
}

header .top_header .header_icons .icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

header .top_header .header_icons .icon i {
    font-size: 24px;
    transition: color 0.3s ease;
}

header .top_header .header_icons.icon:hover {
    transform: scale(1.1);
}

header .top_header .header_icons .icon:hover i {
    color: var(--main_color);
}

header .top_header .header_icons .icon .count {
    position: absolute;
    top: -10px;
    right: -15px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    background-color: var(--main_color);
    color: var(--white_color);
    border-radius: 100%;
    font-size: 11px;
}

/* ✅ تحسين التجاوب مع الهواتف */
@media (max-width: 768px) {
    header .top-header .container {
        flex-direction: column;
        gap: 10px;
    }

    header .top-header .search-box {
        width: 100%;
    }

    header .top-header .header-icon {
        gap: 20px;
    }
}


/* bottom header */
header .bottom_header {
    border-top: 1px solid var(--border_color);
    background-color: var(--white_color);
    padding: 10px 0;
}

header .bottom_header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .bottom_header nav {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 60px;
}

/* ✅ تحسين زر الفئات */
header .bottom_header .category_nav {
    width: 220px;
    height: 100%;
    position: relative;
}

header .bottom_header .category_nav .category_btn {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main_color);
    padding: 15px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

header .bottom_header .category_nav .category_btn:hover {
    background-color: #e06b00;
    scale: 0.9;

}

header .bottom_header .category_nav .category_btn p {
    color: var(--white_color);
    font-weight: 600;
    font-size: 15px;
}

header .bottom_header .category_nav .category_btn i {
    color: var(--white_color);
    font-size: 18px;
}

header .bottom_header .category_nav .category_nav_list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white_color);
    border: 1px solid #999;
    border-top: 0;
    display: flex;
    flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.3s ease-in-out;
    z-index: 10000 !important;

}

header .bottom_header .category_nav .category_nav_list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 100 !important;

}

header .bottom_header .category_nav .category_nav_list a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border_color);
    color: var(--color_heading);
    font-size: 15px;
}

header .bottom_header .category_nav .category_nav_list a:last-child {
    border-bottom: none;
}

header .bottom_header .category_nav .category_nav_list a:hover {
    background-color: #b9b9b95e;
}

/* ✅ تحسين قائمة الروابط */
header .bottom_header .nav_links {
    display: flex;
    gap: 30px;
}

header .bottom_header .nav_links li a {
    color: var(--color_heading);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 10px;
    border-radius: 5px;
}

header .bottom_header .nav_links li:hover a,
header .bottom_header .nav_links li.active a {
    color: var(--main_color);
    background-color: rgba(255, 135, 22, 0.1);
}

/* ✅ تحسين الأزرار */
.btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--main_color);
    color: var(--white_color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background-color: #e06b00;
    scale: 1.1;
}

@media (max-width:600px) {
    header .bottom_header .nav_links {
        width: 100%;
    }

    header .bottom_header .nav_links.active {
        left: -100px;
    }

    header .bottom_header .category_nav .category_btn {
        margin-left: 70px;
    }

    header .top-header .header-icon .icon {
        display: none;
    }
}



/* Slide */


/* Swiper style */
.slider {
    position: relative;
    z-index: -12;
}

.slider .container {
    display: flex;
    justify-content: space-between;
}

.slider .banner_2 {
    width: 23%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.slider .banner_2:hover {
    scale: 1.05;
}

.slider .banner_2 a {
    height: 100%;
    width: 100%;
}

.slider .container .slide-swp {
    width: 75%;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    height: auto !important;
}

.slider .container .slide-swp .swiper-pagination span {
    background-color: var(--main_color);
    width: 15px;
    height: 15px;
}


/* banners 4 */
.banners_4 {
    margin: 40px 0;
}

.banners_4 .container {
    display: flex;
    justify-content: space-between;
}

.banners_4 .container .box {
    width: 24%;
    background: url(../img/bg_banner3.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.banners_4 .container .box img {
    width: 100px;
    transition: 0.3s;
}

.banners_4 .container .box:hover img {
    scale: 1.05;
}

.banners_4 .container .box h5 {
    font-size: 16px;
}

.banners_4 .container .box .sale {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0;

}

.banners_4 .container .box .sale span {
    font-size: 25px;
    font-weight: bold;
}

.banners_4 .container .box h6 {
    font-size: 14px;
    font-weight: bold;
    background-color: var(--main_color);
    padding: 12px;
    border-radius: 5px;
    color: var(--white_color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banners_4 .container .box .link_btn {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}


/* Start Slide */

.slide {
    margin-bottom: 70px;
}

.top_slide {
    position: relative;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--main_color);
}

.top_slide h2 {
    position: relative;
    text-transform: uppercase;
    background: var(--main_color);
    color: var(--white_color);
    font-size: 18px;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.top_slide h2::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    z-index: 9;
    border-left: 20px solid transparent;
    background: #fff;
    left: 0;
    border-bottom: 20px solid #e26e02;
}

.top_slide h2 i {
    color: var(--white_color);
}

.slide .container {
    position: relative;
}

.slide .container .mySwiper {
    padding: 10px 0;
}

.slide .container .mySwiper .btn_Swip {
    position: absolute;
    top: 30px;
    right: 0;
    background-color: var(--main_color);
    color: var(--white_color);
    font-weight: bold;
    border-radius: 5px;
    height: 35px;
    width: 35px;
    border: 1px solid var(--border_color);
    transition: 0.5s;
}

.slide .container .mySwiper .btn_Swip:hover {
    background-color: var(--main_color);
    color: var(--white_color);
    scale: 1.1;
}

.slide .container .mySwiper .btn_Swip::after {
    font-size: 12px;
}

.slide .container .mySwiper .btn_Swip.swiper-button-prev {
    left: calc(100% - 80px);
}


/* Slider for Products */
.mySwiper {
    overflow: hidden;
}

.product {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border_color);
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.product .sale_present {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background-color: #ed0505;
    color: var(--white_color);
    padding: 5px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}

.product .img_product {
    position: relative;
    height: 200px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}

.product .img_product:hover {
    transform: scale(1.1);
}

.product .name_product {
    margin-bottom: 10px;
    color: var(--color_heading) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
    font-size: 16px;
}

.product .name_product a {
    color: #121416;
}

.stars {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.stars i {
    color: var(--main_color);
    font-size: 16px;
    margin-right: 3px;
}

.price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.price p {
    font-weight: bold;
    font-size: 20px;
    color: var(--main_color);
}

.price .old_price {
    color: var(--color_heading);
    text-decoration: line-through;
    font-size: 14px;
}

.product .icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.product .icons .icon_product {
    color: var(--color_heading);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.product .icons .icon_product:hover {
    transform: scale(1.15);
    color: var(--white_color);
    background: var(--main_color);
}

.product .icons .btn_add_cart {
    color: var(--white_color);
    font-size: 14px;
    background-color: var(--main_color);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product .icons .btn_add_cart:hover {
    color: var(--color_heading);
    background: transparent;
    border: 1px solid var(--main_color);
    scale: 1.05;
}

.product .icons .btn_add_cart:hover i {
    color: var(--main_color);
}

.btn_add_cart.active {
    background-color: var(--white_color) !important;
    /* لون أخضر عند إضافة المنتج للسلة */
    color: var(--main_color) !important;
    border: 1px solid var(--main_color);
    font-weight: bold;
    transform: scale(1.05);
    pointer-events: none;
    /* تكبير الزر قليلاً */
}

/* banners */
.banners {
    margin: 50px 0;
}

.banners .banners_boxs {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.banners .banners_boxs .box {
    width: 49%;
    transition: 0.3s;
}

.banners .banners_boxs .box:hover {
    scale: 1.05;
}

/* Footer */
footer {
    background: linear-gradient(to right, #1e1e1e, #2a2a2a);
    /* تدرج لوني جذاب */
    padding: 40px 0;
    color: var(--white_color);
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* قسم اللوجو والمعلومات */
footer .big_row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 30%;
}

footer .big_row .logo_footer {
    width: 180px;
    margin-top: 10px;
}

footer .big_row p {
    width: 90%;
    color: #b1b1b1;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

/* أيقونات التواصل الاجتماعي */
footer .big_row .icons_footer {
    display: flex;
    gap: 10px;
}

footer .big_row .icons_footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--main_color);
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

footer .big_row .icons_footer a:hover {
    transform: scale(1.1);
    background-color: #ff7b00;
    /* لون مميز عند التمرير */
}

footer .big_row i {
    font-size: 20px;
    color: var(--white_color);
    font-weight: bold;
}

/* أقسام الروابط */
footer .row {
    padding: 10px;
    width: 22%;
}

footer .row h4 {
    color: var(--white_color);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid var(--main_color);
    display: inline-block;
    padding-bottom: 5px;
}

/* تنسيق الروابط */
footer .row .links {
    display: flex;
    flex-direction: column;
}

footer .row .links a {
    padding: 8px 0;
    color: var(--main_color);
    font-weight: 400;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

footer .row .links a i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

footer .row .links a:hover {
    color: #ff7b00;
    transform: translateX(5px);
}

footer .row .links a:hover i {
    transform: rotate(15deg);
}

.bottom_footer {
    background: #252525;
    text-align: center;
    padding: 15px 10px;
    color: #b1b1b1;
    font-size: 16px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

.bottom_footer p {
    font-size: 18px;
    margin: 0;
}

.bottom_footer p span {
    margin-left: 5px;
    font-size: 20px;
    text-transform: capitalize;
    /* font-weight: bold; */
    color: var(--main_color);
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.bottom_footer p span:hover {
    color: var(--white_color);
    transform: scale(1.1) !important;
}

/* جعل الفوتر متجاوبًا */
@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .big_row,
    footer .row {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* start cart */
.cart {
    z-index: 100000;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--white_color);
    border-left: 2px solid var(--border_color);
    width: 350px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;

    transform: translateX(100%);
    /* إخفاء السلة خارج الشاشة */
    transition: transform 0.5s ease-in-out;
    /* تحسين سلاسة الحركة */
}

.cart.active {
    transform: translateX(0);
    /* إظهار السلة عند التفعيل */
}

.cart .top_cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart .top_cart .close_cart {
    cursor: pointer;
    font-size: 25px;
    color: var(--color_heading);
    transition: 0.3s;
}

.cart .top_cart .close_cart:hover {
    color: var(--main_color);
    scale: 1.1;
}

.cart .top_cart h3 {
    font-size: 18px;
    scale: 1.1;
}

.cart .top_cart h3 span {
    color: var(--color_heading);
}

.cart .items_in_cart {
    padding: 20px 0;
    border-block: 1px solid var(--border_color);
    margin-block: 20px;
    height: 100%;
    overflow-y: auto;
}

.cart .items_in_cart .item_cart {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    height: 125px;
    border-bottom: 2px solid var(--border_color);
}

.cart .items_in_cart .item_cart:last-child {
    border-bottom: 0;
    margin-bottom: 0;

}

.cart .items_in_cart .item_cart img {
    width: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart .items_in_cart .item_cart h4 {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart .items_in_cart .item_cart .delete_item {
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.cart .items_in_cart .item_cart .delete_item:hover {
    scale: 1.1;
    color: var(--main_color);
    text-align: center;
}

.cart .items_in_cart .item_cart .quantity_control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cart .items_in_cart .item_cart .quantity_control span {
    font-size: 18px;
    min-width: 30px;
    text-align: center;
    color: var(--color_heading);
}

.cart .items_in_cart .item_cart .quantity_control button {
    width: 27px;
    height: 27px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 2px;
    border: 1px solid var(--border_color);
    text-align: center;
    transition: 0.3s;
}

.cart .items_in_cart .item_cart .quantity_control button:hover {
    background-color: var(--main_color);
    color: var(--white_color);
    scale: 1.1;
}

/* .bottom_cart{
    border-top: 2px solid var(--border_color);
} */
.bottom_cart .total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
}

.bottom_cart .total .price_cart_total {
    color: var(--main_color);
}

.buttom_cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buttom_cart .btn_cart {
    background-color: var(--main_color);
    padding: 13px;
    color: var(--white_color);
    font-weight: 600;
    transition: 0.3s;
    border-radius: 5px;
    width: 120px;
    text-align: center;
}

.buttom_cart .btn_cart:hover {
    background-color: #e26e02;
    scale: 1.1;
}

.buttom_cart .trans_bg {
    color: var(--main_color);
    background-color: transparent;
    border: 1px solid var(--main_color);
}

.buttom_cart .trans_bg:hover {
    color: var(--white_color);
}

/* end cart */
.close_menu,
.open_menu {
    display: none;
}

/* STart Responsive */


@media (max-width:1100px) {
    body {
        padding-top: 240px;
    }

    header .top_header .container {
        flex-wrap: wrap;
    }

    header .top_header .search_box {
        order: 3;
        width: 80%;
        margin: 20px auto 0;
    }

    header .top_header .logo {
        width: 140px;
    }

    header .top_header .search_box select {
        width: 200px;
    }

    header .top_header .search_box input {
        width: calc(100% - 200px);
    }

    header .bottom_header .nav_links {
        position: fixed;
        top: 0;
        left: -400px;
        bottom: 0;
        background: #fff;
        width: 400px;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        border: 1px solid #b5b5b596;
        transition: 0.3s ease-in-out;
    }

    header .bottom_header .nav_links.active {
        left: 0;
    }

    header .bottom_header .nav_links li {
        font-size: 18px;
        height: auto;
    }

    .close_menu {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 30px;
    }

    .open_menu {
        display: block;
        font-size: 25px;
    }

    .open_menu i {
        color: var(--main_color);
        /* border: 1px solid var(--main_color); */
        height: 40px;
        width: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 3px;
    }

    header .bottom_header .category_nav {
        width: auto;
    }

    header .bottom_header .category_nav .category_btn p {
        font-size: 13px;
        margin: 0 10px;
    }

    header .bottom_header nav {
        gap: 20px;
    }





    .banners_4 .container {
        flex-wrap: wrap;

    }

    .banners_4 .container .box {
        width: 49%;
        margin-bottom: 20px;
        justify-content: space-around;
    }
}

@media (max-width:1000px) {
    .slider .banner_2 {
        display: none;
    }

    .slider .container .slide-swp {
        width: 100%;
    }



    footer .container {
        flex-wrap: wrap;
    }

    footer .container .big_row {
        width: 40%;
        margin-bottom: 20px;
    }

    footer .container .row {
        width: 30%;
        margin-bottom: 20px;
    }


}

@media (max-width:800px) {

    .top_slide h2 {
        font-size: 16px;
        padding: 10px 25px;
    }

    .product .name_product {
        font-size: 14px;
    }

    .price p {
        font-size: 16px;
    }

    .price .old_price {
        font-size: 12px;
    }

    .product .icons .btn_add_cart {
        font-size: 14px;
        padding: 3px 5px;
    }

    .banners .banners_boxs {
        flex-wrap: wrap;
    }

    .banners .banners_boxs .box {
        width: 100%;
        margin-bottom: 20px;
    }

    .banners .banners_boxs.banner_3_img .box {
        width: 49%;
    }







    footer .container .big_row {
        width: 50%;
        margin-bottom: 30px;
    }

    footer .container .row {
        width: 50%;
        margin-bottom: 30px;
    }

    footer .bottom_footer .container {
        flex-direction: column;
        gap: 10px;
    }


}


@media (max-width:500px) {

    header .bottom_header .category_nav {
        display: none;
    }

    header .top_header .search_box {
        width: 100%;
    }

    header .top_header .search_box select {
        width: 140px;
    }

    header .top_header .search_box input {
        width: calc(100% - 140px);
    }

    header .bottom_header .nav_links {
        width: 100%;
    }

    .cart {
        width: 100%;
    }

    .banners_4 .container .box {
        width: 100%;
    }

    .banners_4 .container .box h5 {
        font-size: 14px;
    }

    .banners_4 .container .box h6 {
        font-size: 13px;
    }

    .banners .banners_boxs.banner_3_img .box {
        width: 100%;
    }




    .product .icons .btn_add_cart.active {
        font-size: 13px;
    }

    .product .icons .btn_add_cart.active i {
        font-size: 14px;
    }


    footer .container .row {
        width: 100%;
    }

    footer .container .big_row {
        width: 100%;
    }

    body {
        margin-top: 40px;
    }
    .header_icons{
        margin-right: 10px;
    }

}















/* End Cart */




/* checkout page */

.checkout {
    margin: 50px 0;
}

.checkout .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout .ordersummary {
    width: 45%;
    padding: 0 20px;
    border: 2px solid var(--border_color);
    border-radius: 5px;
    box-shadow: 0px 8px 10px #c0bfbf44;
}

.checkout .ordersummary h1 {
    border-bottom: 1px solid var(--border_color);
    padding: 20px 0;
    margin-bottom: 20px;
    color: var(--main_color);
}

.checkout .ordersummary .items {
    height: 350px;
    overflow-y: auto;
}

.checkout .ordersummary .item_cart {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    height: 125px;
    border-bottom: 1px solid var(--border_color);
    padding-right: 20px;
}

.checkout .ordersummary .item_cart:last-child {
    border-bottom: 0;
}

.checkout .ordersummary .item_cart .image_name {
    display: flex;
    align-items: center;
    gap: 20px;
}

.checkout .ordersummary .item_cart img {
    width: 80px;
}

.checkout .ordersummary .item_cart h4 {
    margin-bottom: 10px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.checkout .ordersummary .delete_item i {
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.checkout .ordersummary .delete_item i:hover {
    color: #E51A1A;
    scale: 1.1;
}

.checkout .ordersummary .quantity_control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.checkout .ordersummary .quantity_control span {
    font-size: 18px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg_color);
    padding: 3px 0;

}

.checkout .ordersummary .quantity_control button {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-radius: 2px;
    border: 1px solid var(--border_color);
}


.checkout .ordersummary .bottom_summary {
    border-top: 1px solid var(--border_color);
    padding-top: 25PX;
}

.checkout .ordersummary .shop_table {
    margin-bottom: 20PX;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout .ordersummary .shop_table p {
    font-size: 20px;
    color: var(--color_heading);
    text-transform: capitalize;
}

.checkout .ordersummary .shop_table span {
    font-weight: bold;
    font-size: 20px;
}

.checkout .ordersummary .button_div {
    border-top: 1px solid var(--border_color);
    padding: 30px 0;
}


.checkout .ordersummary .button_div button {
    width: 100%;
    background: var(--main_color);
    color: var(--white_color);
    border: 2px solid var(--main_color);
    padding: 15px 0;
    outline: none;
    border-radius: 3px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.checkout .ordersummary .button_div button:hover {
    background: transparent;
    color: var(--main_color);
}


.checkout .input_info {
    width: 45%;
}

.checkout .input_info h2 {
    padding: 10px 20px;
    background: var(--main_color);
    text-transform: capitalize;
    color: var(--white_color);
}

.checkout .input_info .address,
.checkout .input_info .coupon {
    margin-bottom: 25px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border_color);
    box-shadow: 0px 8px 10px #c0bfbf44;
}

.checkout .input_info .coupon .btn_coupon {
    text-align: center;
    padding-bottom: 20px;
}

.checkout .input_info .coupon .btn_coupon button {
    width: 50%;
    background: var(--main_color);
    color: var(--white_color);
    border: 2px solid var(--main_color);
    padding: 12px 0;
    outline: none;
    border-radius: 2px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.checkout .input_info .coupon .btn_coupon button:hover {
    background: transparent;
    color: var(--main_color);
}

.checkout .input_info .inputs {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}

.checkout .input_info .inputs label {
    color: var(--color_heading);
    font-size: 14px;
    text-transform: capitalize;
}

.checkout .input_info .inputs input {
    margin: 8px 0 22px;
    padding: 15px 10px;
    outline: none;
    border: 1px solid var(--border_color);
    border-radius: 5px;
    transition: 0.3s;
}

.checkout .input_info .inputs input:focus {
    border-color: var(--main_color);
}