@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
}

/* root */

:root {
    --main-color:#fcb700;
    --dark-color:#222222;
    --prag-color:#666666;
    --dark-red:#d01418;
    --border-color:#6666662a;
    --name-item:#0066c0;
}

/* default styles */

html, body {
  overflow-x: hidden;
}




body {
    background: #f5f6f9;
    margin-top:180px ;
}

h1,h2,h3,h4,h5,h6 {
    color: var(--dark-color);
}

p {
    color:var(--prag-color) ;
}

.container {
    width: 85%;
    margin: auto;
}

@media (max-width:1500px) {
    .container {
        width: 90%;
    }
}

::-webkit-scrollbar {
    width: 5px; /* عرض السكرول */
    background-color: var(--border-color);;
}
::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

/* header style */

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color:#fff;
    z-index: 100;
}

header .top-nav {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

header .top-nav .logo img {
    width: 180px;
}


header .top-nav .search {
    width: 500px;
    border: 2px solid var(--main-color);
    height: auto;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

header .top-nav .search input {
    padding: 18px 175px 18px 20px;
    border: none;
    outline: none;
    font-size: 17px;
    width: 100%;
}

header .top-nav .search button {
    position: absolute;
    top: 0;
    right: 0;
    width: 170px;
    outline: none;
    border: none;
    height: 100%;
    background-color: var(--main-color);
    font-size: 18px;
    cursor: pointer;
}

header .top-nav .cart-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .top-nav .cart-header .cart-icon {
    display: flex;
    gap: 10px;
}

header .top-nav .cart-header .icon-cart {
    position: relative;
}

header .top-nav .cart-header i {
    color:var(--dark-color) ;
    font-size: 20px;
    border:solid 1px var(--border-color);
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}

header .top-nav .cart-header i:hover {
    background-color: var(--main-color);
    color: #fff;
}

header .top-nav .cart-header .count {
    position: absolute;
    background-color: var(--main-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 13px;
    top: -5px;
    right: 0px;
    color: var(--dark-color);
    border: 1px solid var(--main-color);
}

header .top-nav .cart-header .total-price p {
    margin-bottom: 8px;
    text-align: center;
}

header nav {
    border-top: 1px solid var(--border-color);
}

header nav .links {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
}

header nav .links ul {
    display: flex;
    gap: 70px;
}

header nav .links ul li {
    position: relative;
    padding: 20px 0 ;
}

header nav .links ul li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--main-color);
    transition: all ease 0.3s;
}

header nav .links ul li:hover::after,
header nav .links ul li.active::after {
    width: 100%;
}

header nav .links ul li a {
    color: var(--dark-color);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
}

header nav .links .sign a {
    color: var(--dark-color);
    padding: 10px 20px;
    background-color: var(--main-color);
    margin-left: 10px;
    font-weight: 600;
    border: solid 1px var(--main-color);
    border-radius: 5px;
    transition: 0.3s ease-out;
}

header nav .links .sign a:hover {
    background-color: transparent;
}

/* cart style */

.cart {
    position: fixed;
    top: 0;
    right: -400px;
    bottom: 0;
    background-color: #fff;
    width: 370px;
    padding: 30px;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
}
.cart.active {
    right: 0;
}

.cart .top-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart .top-cart h3 {
    font-size: 18px;
}

.cart .top-cart  h3 span {
    font-size: 14px;
    color: var(--prag-color);
    font-weight: normal;
}

.cart .top-cart .close-cart i  {
    font-size: 25px;
    cursor: pointer;
}

.cart .cart-items {
    padding: 20px 0;
    margin-block: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.cart .cart-items .item-cart {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom:25px;
}

.cart .cart-items .item-cart img {
    width: 100px;
}

.cart .cart-items h4 {
    margin-bottom: 10px;
    font-weight: 500;
}

.cart .cart-items .item-cart:last-child {
    margin-bottom: 0;
}

.cart .cart-items .delete-item {
    outline: none;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.cart .cart-items .delete-item:hover {
    color: var(--dark-red);
    transform: scale(1.2);
}

.cart .cart-items .delete-item i {
    font-size: 22px;
    background-color: #fff;
}

.cart .bottom-cart {
    position: static; 
    margin-top: auto; 
    padding: px;
    border-top: 1px solid var(--border-color);
    background: #fff;
}
.cart .bottom-cart .total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cart .bottom-cart .price-cart-total {
    color: var(--main-color);
}

.cart .cart-button {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.cart .cart-button .cart-btn {
    border: 2px solid var(--main-color);
    border-radius: 5px;
    color: var(--dark-color);
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    background-color: var(--main-color);
    transition: 0.3s ease;
    cursor: pointer;

}

.cart .cart-button .checkout-btn {
    display: none;
}

.cart .cart-button .checkout-btn.show {
    display: block;
}
.cart .cart-button .cart-btn:hover {
    background-color: transparent;
}

.cart .cart-button .cart-btn.trans-bg {
    background-color: transparent;
}

.cart .cart-button .cart-btn.trans-bg:hover {
    background-color: var(--main-color);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);  
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: 100;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart .cart-items::-webkit-scrollbar {
  width: 1px; 
}


/* slider style */

.slider .container  {
    display: flex;
    justify-content: space-between;
}

.slider .container .side-bar {
    width: 300px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.slider .container .side-bar h2 {
    padding: 20px 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 18px;
}

.slider .container .side-bar a {
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    border-top: 1px solod var(--border-color);
    transition: 0.3s ease;
}

.slider .container .side-bar a:hover {
    color: var(--main-color);
}

.slider .container .swiper {
    width: calc(100% - 300px);
  
}

.slider .container .swiper .swiper-wrapper .swiper-slide {
    cursor: pointer;
}

.slider .container .swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}

.slider .container .swiper .swiper-pagination span {
    background-color: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--main-color) !important;
    width: 35px !important;
    height: 8px !important;
    border-radius: 8px !important;
}

/* Features Style */

.features {
    margin: 50px 0;
}

.features .container {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    flex-wrap: wrap;
}

.features .container .feature-item {
    width: 18%;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.features .container .feature-item img {
    width: 50px;
}

.features .container .feature-item h4 {
    margin-bottom: 8px;
    font-size: 15px;
}

.features .container .feature-item p {
    font-size: 12px;
}

/* banner Style */

.banner {
    margin: 50px 0;
}

.banner .container {
    display: flex;
    justify-content: space-between;
}

.banner .container .banner-img {
    width:32%;
    position: relative;
}

.banner .container .banner-img img {
    width: 100%;
}

.banner .glass-hover {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.banner .glass-hover::after {
    content: '';
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(50deg,transparent 50%, rgba(255,255,255,0.1) 60% , rgba(255,255,255,0.5) 70% ,transparent 71%);
    background-size: 200% 100%;
    background-position: 200% 0;
    cursor: pointer;
    z-index: 1;
    transition: 0.8s ease;
}

.banner .banner-img:hover .glass-hover::after {
    background-position: -20% 0;
}

.banner .banner-img a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    height: 100%
}

/* slide sale products style */
.banner-big .container .banner-img {
    width:49%;
    position: relative;
}
.slide {
    margin-bottom: 100px;
}

.top-slide {
    position: relative;
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-slide::after {
    position: absolute;
    content: '';
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: var(--main-color);
}

.top-slide h2 {
    text-transform: capitalize;
}

.top-slide h2 span {
    font-weight: normal;
}

.product {
    position: relative;
    background-color: #fff;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 5px 5px 10px 0.90 #949494;
    overflow: hidden;
    border-radius:5px;
    width: 25%;
}

.product .sale-present{
    position: absolute;
    top: 10px;
    padding: 4px 12px;
    right: 20px;
    z-index: 2;
    background-color: var(--dark-red);
    padding: 7px;
    color: #fff;
    font-size: 14px;
}

.product .product-img {
    position: relative;
}

.product .product-img img {
    width: 100%;
    transition: ease-in-out 0.3s;
}

.product .product-img .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    scale: 0.1;
    opacity: 0;
    
}

.product:hover .product-img .img-hover {
    opacity: 1;
    scale: 1;
}

.product .product-name {
    font-size: 16px;
}

.products .product .product-name a {
    color: var(--name-item);
    font-weight: bold;
}

.products .product .product-name a:hover {
    text-decoration: underline;
}

.product-stars {
    margin: 15px 0;
}

.product-stars i {
    color: var(--main-color);

}

.product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.product-price p {
    font-weight: bold;
    color: var(--main-color);
}

.product-price .old-price {
    color: var(--prag-color);
    text-decoration: line-through;
}

.product .product-icons {
    display: flex;
    flex-direction: column;
    position: absolute;
    gap: 10px;
    right: -80px;
    z-index: 3;
    top: 40%;
    transform: translateY(-50%);
    transition: 0.3s ease-in-out;
}

.product .product-icons i {
    color: var(--dark-color);
    background-color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: solid 1px var(--border-color);
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.product .product-icons i.active {
    background-color: var(--main-color);
    cursor: auto;
    pointer-events: none;
}

.product .product-icons i:hover {
    background-color: var(--main-color);
}

.product:hover .product-icons {
    right: 20px;
}

/* sales Product Slider style */

.slide .container{
    position: relative;
}

.slide .container .mySwiper {
    overflow: hidden;
    padding: 10px 0;
}

.slide .container .mySwiper .btn_Swip {
    position: absolute;
    top: 35px;
    right: 0;
    background-color: var(--main-color);
    border-radius: 5px;
    font-weight: bold;
    padding: 0 18px;
    color: #fff;
    transition: 0.4s ease;
}

.slide .container .mySwiper .btn_Swip:hover {
    background-color:var(--dark-color);
}

.slide .container .mySwiper .btn_Swip::after {
    font-size: 25px;
}

.slide .container .mySwiper .btn_Swip.swiper-button-prev {
    left: calc(100% - 90px);
}

.slide .container .mySwiper .swiper-pagination span {
    opacity: 0;
}

/* products swiper style*/

.slide-product .container .slide-with-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-product .product-swip  {
    width: calc(100% - 100px);

}

.slide-product .container .slide-with-img .categ-img img {
    height: 100%;
}

/* newsletter  style*/

.newsletter {
    background-color: #fff;
}

.newsletter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 ;
}

.newsletter img {
    width: 100px;
}

.newsletter .text {
    width: 50%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter .text h4 {
    font-weight:500;
    font-size: 26px;
}

.newsletter .text p {
    margin: 12px 0;
}

.newsletter .text h6 {
    font-size: 20px;
    font-weight: normal;
}

.newsletter .newsletter-form {
    width: 40%;
    border: 2px var(--main-color) solid;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

.newsletter .newsletter-form input {
    padding: 20px 175px 20px 20px;
    outline: none;
    width: 100%;
    border: none;
}

.newsletter .newsletter-form button {
    background-color: var(--main-color);
    outline: none;
    border: none;
    width: 170px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    text-transform: capitalize;
    color: #222;
}

/* back To Top Style */

.back-to-top {
    font-size: 18px;
    cursor: pointer;
    background:#4d5669;
}

.back-to-top p {
    padding: 22px 0 ;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

/* footer style */

footer {
    background: #394150;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 40px 0;
}

footer .container .big-row {
    display: flex;
    flex-direction: column;
}

footer .container .big-row img {
    width: 220px;
}


footer .container .big-row .hotline {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin-left: -12px;
    gap: 10px;
}

footer .container .big-row .hotline i {
    font-size: 60px;
    color: var(--main-color);
}

footer .container .big-row .hotline h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

footer .container .big-row .hotline h6 {
    color: var(--main-color);
    font-size: 18px;
}

footer .container .big-row .hotline h5,
footer .container .big-row .hotline h6{
    font-weight: bold
}

footer .container .big-row p {
    width: 90%;
    font-weight: bold;
}

footer .container .row h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 20px;
}

footer .container .row .links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

footer .container .row .links a{
    color: #b1b1b1;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease-in-out;
}

footer .container .row .links a:hover {
    transform: translateX(12px);
    color: var(--main-color);
}

footer .bottom-footer {
    background: #202935;
}

footer .bottom-footer .container {
    padding: 20px 0;
    align-items: center;
    display: flex;
}

footer .bottom-footer .container p {
    font-weight:bold;
}

footer .bottom-footer .container span {
    color: var(--main-color);
}

footer .bottom-footer .container .payment-images {
    display: flex;
    gap: 10px;
}

footer .bottom-footer .container .payment-images img {
    filter: grayscale(100%);
    cursor: pointer;
    transition: 0.3s ease;
}

footer .bottom-footer .container .payment-images img:hover {
    filter: grayscale(0);
}


/* media queries style */

header .links ul i,
header .links i.fa-bars,
.menu-overlay,
header .links ul img {
    display: none;
}

@media (max-width:1200px) {
    .slider .container .side-bar {
        display: none;
    }
    .slider .container .mySwiper {
        width: 100%;
    }
}

@media (max-width:1000px) {
    header .top-nav .search {
        width:420px;
    }
    .features .container .feature-item {
        margin-bottom: 30px;
    }
    .slide {
       margin-bottom: 0;
    }
    .newsletter .container  {
        flex-direction: column;
        gap: 20px;
    }
    .newsletter .container .text {
        width: 100%;
    }
    .newsletter .newsletter-form {
        width: 100%;
    } 
    .newsletter .newsletter-form button {
        width: 120px;
        font-size: 14px;
    }
    footer .container {
        flex-direction: column;
        gap: 40px;
    }
    footer .container .big-row {
        text-align: center;
        align-items: center;
    }
    footer .container .row {
        text-align: center;
    }
}

@media (max-width:900px) {
    body {
        background: #f5f6f9;
        margin-top:230px;
    }

    header .top-nav {
        flex-wrap: wrap;
    }
    header .top-nav .search {
        order: 3;
        display: flex;
        width: 100%;
        margin: 10px auto;
    }
    header .links {
        padding: 20px 0;
    }
    header .links ul i,
    header .links i.fa-bars,
    header .links ul img {
        display: block;
    }
    header .links ul img {
        width: 180px;
        margin: 0 auto;
    }
    header nav .links ul {
        position: fixed;
        flex-direction: column;
        top: 0;
        left: -100%;
        right: 0;
        bottom: 0;
        background-color: whitesmoke;
        text-align: center;
        justify-content: center;
        width:100%;
        gap: 50px;
        padding: 30px;
        transition: 0.3s ease-out;
    }
    header nav .links ul.active {
        left: 0;
    }
    header nav .links ul i {
        position: absolute;
        top: 30px;
        cursor: pointer;
        right: 30px;
        font-size: 25px;
        color: var(--main-color);
    }
    header nav .links .btn-open-menu {
       display: block;
       font-size: 25px;
       cursor: pointer;
    }
    .slide {
       margin-bottom: 0;
    }
    .slide-product .categ-img {
        display: none;
    }
    .slide-product .product-swip {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .banner .container {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .banner .container .banner-img  {
        width: 50%;
    }
    .banner .container .banner-img img {
        width: 98%;
    }
}

@media (max-width:540px) {
    .features .container .feature-item {
        justify-content: center;
        width: 100%;
    }
    .slide {
       margin-bottom: 0;
    }
}

@media (max-width:500px) {
    .cart {
        width: 100%;
        right: -100%;
    }
    header .top-nav .search input {
        padding: 13px 130px 13px 20px;
    }
    header .top-nav .search button {
    width: 120px;
    font-size: 14px;
    }
    header nav .links ul {
    width: 100%;
    }
    .product .product-name a {
        font-size: 13px
    }
    .product {
        padding: 15px 7px;
    }
    .product-stars i {
        font-size: 14px;
    }
    .top-slide h2 {
        font-size: 18px;
    }
    .slide .container .mySwiper .btn_Swip {
        scale: 0.7;
    }
    .banner .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .banner .container .banner-img {
        width: 100%;
    }
}

@media (max-width:400px) {
    header .top-nav .logo img {
        width: 130px;
    }
}

/* product details style */

.item-details {
    background: #fff;
    padding: 50px 0;
}

.item-details .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-details .img-item {
    width: 40%;
    overflow: hidden;
}

.item-details .img-item .big-img img {
    width: 100%;
    transition: 0.3s ease;
    overflow: hidden;
}

.item-details .img-item .sm-imgs {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.item-details .img-item .sm-imgs img {
    width: 24%;
}

.item-details .details-item {
    width: 58%;
}

.item-details .details-item h1 {
    margin-bottom: 30px;
}
.item-details .details-item h5 {
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 16px;
}

.item-details .details-item h5 span {
    color: var(--main-color);
}

.item-details .details-item .product-price {
    justify-content: left;
    margin: 20px 0 ;
    gap: 20px;
}

.item-details .details-item .product-price p {
    font-size: 22px;
}

.item-details .details-item .text-p {
    line-height: 1.2;
}

.item-details .details-item h4 {
    font-size: 20px;
    margin-top: 20px;
    font-weight: bold;
}

.item-details .details-item button {
    border: none;
    outline: none;
    background-color: var(--main-color);
    color: var(--dark-color);
    font-weight: bold;
    padding:14px 35px;
    border-radius: 5px;
    margin: 30px 0;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.item-details .details-item button:hover {
    scale: 1.1;
}

.item-details .details-item .icons {
    display: flex;
    gap: 10px;
}

.item-details .details-item .icons i {
    width: 50px;
    height: 50px;
    background-color: #efeeee;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: 0.3s ease;
}

.item-details .details-item .icons i:hover{
    background-color: var(--main-color);

}


/* product Details Responsive */

@media (max-width:400px) {
    .logo {
        width: 20px;
    }
}


@media (max-width:875px) {
    .item-details .container {
        flex-direction: column;
    }
    .item-details .container .img-item {
        width: 50%;
        margin-bottom: 40px;
    }
    .item-details .details-item {
        width: 100%;
    }
}

@media (max-width:700px) {
    .item-details .container .img-item {
        width: 80%;
    }
}

@media (max-width:500px) {
    .item-details .details-item h1 {
        font-size: 20px;
    }
    .item-details .details-item .text-p{
        font-size: 14px;
    }
    .item-details .details-item h4 {
        font-size: 18px;
    }
    .item-details .details-item button {
        font-size: 16px;
    }
}



/* All products Style */


.top-page .container {
    text-align: center;
    padding: 50px 0;
}

.top-page .container h1 {
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 25px;
    font-weight: bold;
}

.top-page .container p {
    font-size: 18px;
    width: 60%;
    margin: auto;
    color: var(--prag-color);
}

.all-product .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.all-product .container .filters {
    background: #fff;
    text-transform: capitalize;
    padding: 20px 25px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    width: 280px;
}

.all-product .container .filters input:checked {
    accent-color: var(--main-color);
}

.all-product .container .filters h4 {
    margin-bottom: 10px;
    margin-top: 25px;
    padding: auto 10px;
    border-bottom: 1px solid var(--border-color);
}

.all-product .container .filters span {
    font-size: 14px;
    cursor: pointer;
}

.all-product  .filters .filter-item .item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.all-product  .filters .filter-item .item .color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.all-product .products-container {
    width: calc(100% - 300px);
    display: flex;
    gap:10px;
    flex-wrap: wrap !important;
}

.all-product .products-container .product {
    width: 24%;
    height: auto;
    margin-bottom: 30px;
    font-weight: bold;
}

.all-product .products-container .product a {
    color: var(--name-item);
}

.all-product .products-container .product a:hover {
    text-decoration: underline;
}

.all-product .container .btn-filter {
    display: none;
}

@media (max-width:1200px) {
    .all-product .products-container .product {
        width: 31%;
    }
}

@media (max-width:924px) {
    .top-page .container p {
        width: 100%;
    }
    .all-product .products-container {
        width: 100%;
    }
    .all-product .container .filters {
        position: absolute;
        width: 35%;
        left: 0;
        top:60px;
        z-index: 50;
        opacity: 1;
        transition: opacity 0.9s ease;
    }
    .all-product .filters.unshowed {
        opacity: 0;
        z-index: -100;
        visibility: hidden;
    }
    .all-product .container{
        position: relative;
        padding-top:60px ;
    }
    .all-product .container .btn-filter {
        display: block;
        position: absolute;
        top: 0;
        padding: 12px 30px;
        background: var(--main-color);
        border-radius:5px ;
        text-transform: capitalize;
        cursor: pointer;
        font-size: 18px;
    }
    .all-product .all-product .container .btn-filter:hover .filters {
        height: 0;
    }
}

@media (max-width:800px) {
    .top-page .container h1{
        font-size: 28px;
    }

    .top-page .container p {
        font-size: 15px;
    }
}

@media (max-width:600px) {
    .all-product .products-container {
        justify-content: space-between;
        gap: 0;
    }
    .all-product .products-container .product {
        width: 40%;
    }
    .all-product .container .filters {
        width: 100%;
    }
    .top-page .container h1{
        font-size: 22px;
    }

    .top-page .container p {
        font-size: 14px;
    }
}



/* checkout style */

.checkout  {
    margin: 50px 0;

}

.checkout .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.checkout form {
    width: 45%;
}

.checkout form h2 {
    padding: 10px 20px;
    background-color: var(--main-color);
    text-transform: capitalize;
}

.checkout form .address,
.checkout form .coupon {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.checkout form .inputs {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}

.checkout form .inputs label {
    color: var(--dark-color);
    font-size: 14px;
    text-transform: capitalize;
}
.checkout form .inputs input {
    margin: 5px 0 20px;
    padding: 12px 10px;
    outline: none;
    border: 1px solid  transparent;
    border-radius: 5px;
    transition: 0.4s ease;
}

.checkout form .inputs input::placeholder {
    color: darkgray;
}

.checkout form .inputs input:focus {
    border-color: var(--main-color) ;
}

.checkout .ordersummary {
    width: 45%;
    background: #fff;
    padding: 0 20px;
}

.checkout .ordersummary h1 {
    border: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 20px;
}

.checkout .ordersummary .cart-products .cart-product-checkout {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.checkout .ordersummary .cart-products .cart-product-checkout img {
    width: 150px;
}

.checkout .ordersummary .cart-products .cart-product-checkout h4 {
    color: var(--prag-color);
    margin-bottom: 20px;
}


.checkout .ordersummary .cart-products .cart-product-checkout p {
    color: var(--dark-color);
    font-size: 18px;
}

.checkout .ordersummary .cart-products .cart-product-checkout p span {
    color: var(--main-color);
    font-weight: bold;
}

.checkout .ordersummary .total {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout .ordersummary .total p {
    font-size: 30px;
    font-weight: bold;
    color:var(--dark-color);
    text-transform: capitalize;
}

.checkout .ordersummary .total span {
    font-weight: bold;
    font-size: 25px;
    color: var(--dark-color);
}

.checkout .ordersummary .total-submit {
    border-top:1px solid var(--border-color);
    padding: 30px 0;
}

.checkout .ordersummary .total-submit button {
    width: 100%;
    background-color: var(--main-color);
    color: var(--dark-color);
    border: 1px solid var(--main-color);
    padding: 15px;
    outline: none;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.checkout .ordersummary .total-submit button:hover {
    background: transparent;
}



/* checkout responsive */

@media (max-width:1024px) {
    .checkout .container {
        margin-bottom: 200px;
    }
}


@media (max-width:1000px) {
    .checkout .container {
        flex-direction: column-reverse;
        gap: 50px;
        align-items: center;
        justify-content: center;
    }
    .checkout .ordersummary,
    .checkout form {
        width: 70%;
    }
}

@media (max-width:650px) {
    .checkout .ordersummary,
    .checkout form {
        width: 100%;
    }
}

@media (max-width:500px) {
    .checkout .ordersummary h1 {
        font-size: 22px;
    }
    .checkout .ordersummary .cart-products .cart-product-checkout .content h4 {
        font-size: 14px;
    }
}

@media (max-width:439px) {
     .checkout .ordersummary .cart-products .cart-product-checkout img {
        width: 105px;
     }
     .checkout .ordersummary .total p {
        font-size: 19px;
     }
     .checkout .ordersummary .total span {
        font-size: 19px;
     }
     .checkout .ordersummary .total-submit button {
        font-size: 14px;
     }
     .checkout form h2 {
        font-size: 17px;
     }
}

