@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
* {
    font-family: 'Poppins', sans-serif;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2.5rem;
    text-decoration: none;
    scroll-behavior: smooth;
}
/* Variables */

:root {
    --main-color: #ff7c03;
    --main2-color: #fde2d0;
    --second-color: #ffffff;
    --white-color: #fff;
    --main-light-color: #ff8b;
    --container-color: #e6e4e3;
    --text-color: #0c0c0c;
    --text-neutral: #f4f4f4;
    --bg-color: #fff;
}

a {
    text-decoration: none;
}
img {
    width: 100%;
}
body {
    background: var(--container-color);
}
section {
    padding: 3rem 0 2rem;
}

.container {
    margin: auto;
    width: 100%;
    max-width: 1070px;
}

header {
    top: 20px;
    left: 0;
    position: fixed;
    z-index: 200;
    width: 100%;
}
.nav {
    justify-content: space-between;
    display: flex;
    align-items: center;
    background: var(--white-color);
    padding: 10px 12px;
    border-radius: 5rem;
    box-shadow: 0 6px 64px 0 hsla(221, 50%, 30%, 0);
}
.logo {
    align-items: center;
    justify-content: space-between;
    display: flex;
}
.logo img {
    width: 70px;
}
.logo h2 {
    font-size: 1.25rem;
    color: #4e3434;
    margin-left: -1rem;
    margin-top: 0.32rem;
    font-weight: 900;
}
.navbar {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.nav-link {
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    margin: -0.75rem;
}
.nav-link:hover{
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
    color: var(--main-color);
}
.nav-right {
    column-gap: 10px;
    align-items: center;
    display: flex;
} /*
.nav-right .bx {
    cursor: pointer;
    font-size: 25px;
    color: var(--text-color);
}
.nav-right .bx:hover {
    color: var(--main-color);
} */
.nav-right i {
    border-radius: 50%;
    background: var(--text-neutral);
    font-size: 18px;
    color: var(--text-color);
    padding: 8px;
} /*
.nav-icons {
    column-gap: 1.5rem;
    display: flex;
    text-decoration: none;
    padding-right: 1rem;
    margin-block: 0;
} */

.cart {
    position: relative;
}
.cart span {
    position: absolute;
    justify-content: center;
    align-items: center;
    display: flex; 
    width: 15px;
    height: 15px;
    font-size: 9.6px;
    right: -8px;
    top:  -10px; 
    border-radius: 50%;
    background: var(--main-color);
    color: var(--bg-color);
}

.login-btn {
    font-size: 1rem;
    padding: 8px 14px;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 5rem;
}
.login-btn:hover {
    background: var(--text-color);
    transition: background 0.4s ease-in-out;
}
.mobile-login {
    display: none;
}

.menu-icon {
    display: none;
    border-radius: 50%;
    background: var(--main-color);
    z-index: 200;
    row-gap: 5px;
    transition: 0.3s;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    cursor: pointer;
}
.menu-icon div {
    display: block;
    background: var(--bg-color);
    height: 2px;
    width: 20px;
    transition: 0.3s;
}
.move .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
}
.move .line2 {
    opacity: 0;
}
.move .line3 {
    transform: rotate(-45deg) translate(-5px, -5px);
}


.home {
    max-width: 1380px;
    margin: auto;
    min-height: 640px;
    background: var(--container-color);
    align-items: center;
    display: flex;
    margin-top: 3rem;
}
.home img {
    margin-left: 2rem;
}
.home-container {
    margin-left: 5rem;
    margin-top: 2rem;
    gap: 1.5rem;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.home-text h1 {
    font-size: 4rem;
    padding: auto;
    font-weight: 700;
}
.home-bn {
    align-items: center;
    justify-content: space-between;
    position: absolute;
    display: flex;
    border-radius: 1rem;
    font-weight: 500;
    padding: 13px 26px;
    color: var(--bg-color);
    background: var(--main-color);
}
.b {
    margin-left: 6rem;
}
.home-btn i{
    padding-left: 0.5rem;
    padding-right: -0.5rem;
}
.home-text p {
    font-size: 1rem;
    margin: 0.5rem 0 1.5rem;
}
.home a {
    color: white;
}
.btn {
    border-radius: 1rem;
    font-weight: 500;
    padding: 13px 26px;
    color: var(--bg-color);
    background: var(--main-color);
}
.btn:hover {
    background: var(--text-color);
    color: var(--main-color);
}
/*
.category {
    position: relative;
}
.category a {
    padding: 7px;
    background: var(--text-neutral);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -27%;
    z-index: 4;
    border-radius: 50%;
}
.category a img {
    width: 30px;
} 
.category-content {
    position: relative;
} */

.product-desc {
    max-width: 90%;
    text-align: center;
    margin: auto auto 2rem auto;
    width: 100%;
}
.product-content {
   display: grid;
   grid-template-columns: repeat(3,250px);
   justify-content: space-between;
   gap: 2rem;
   background: var(--main2-color);
   border-radius: 1.7rem;padding: 40px 60px;
}
.products h2 {
    text-align: center;
    font-weight: 700;
    margin-left: -3.3rem;
}
.products h2 span {
    color: var(--main-color);
}
.product-box {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 1.7rem;
    position: relative;
    height: 23rem;
}
.product-box img {
    margin-top: 0.8rem;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 220px;
    object-fit: contain;
    display: block;
}
.product-box span {
    z-index: 2;
    border: 4px solid var(--main2-color);
    padding: 4px 10px;
    font-size: 0.88rem;
    color: var(--bg-color);
    background: var(--main-color);
    left: 16px;
    top: 1rem;
    position: absolute;
    border-radius: 2rem;
}
.product-box h2 {
    font-weight: 700;
    font-size: 1rem;
} 
.ratting {
    display: flex;
    align-items: center;
    margin: 10px 0;
    margin-top: -1.6rem;
    color: rgb(255, 153, 0);
}
.ratting p {
    margin-top: 1rem;
    margin-left: 0.75rem;
}
.p-info {
    justify-content: space-between;
    align-items: center;
    display: flex;
    margin-top: -1.6rem;
}
 /* ( AJOUTE) */
.p-info a {
    margin-top: 1rem;
}
.price p {
    color: #b2b4c2;
    font-size: 0.94rem;
    text-decoration: line-through;
    margin-bottom: 5px;
} 
/* ( AJOUTE) */
.price h3 {
    color: var(--main-color);
    font-weight: 700;
}
.product-box a i {
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    font-size: 20px;
    border-radius: 50%;
    padding: 8px;
    background: var(--text-neutral);
    color: var(--text-color);
}
.product-box a i:hover {
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    background: var(--main-color);
    color: var(--bg-color);
}

.backpack {
    max-width: 900px;
    margin: auto;
    min-height: 640px;
    background: var(--container-color);
    align-items: center;
    display: flex;
}

.backpack-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.backpack img {
    margin-left: 2rem;
    width: 80%;
    height: 80%;
}
.backpack-img {
    margin-bottom: 22rem;
}
.backpack-text {
    margin-top: 2rem;
}
.backpack p {
    font-size: 1rem;
    margin: 0.5rem 0 1.5rem;
}
.selling {
    top: 0;
}
.selling-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.selling img {
    width: 2rem;
    height: 2rem;
    margin-left: 1.2rem;
}
.selling a {
    justify-content: space-between;
    align-items: center;
    display: flex;
}



.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



















/*========== BRANDS SECTION */
.heading {
    text-align: center;
    margin-bottom: 2rem;
}
.brand-container {
    padding: 50px;
    background-color: #fde2d0;
}
.brand-container h2 {
    font-weight: 800;
}
.brands span {
    color: var(--main-color);
}
.brand-content {
    border-radius: 2rem;
    max-width: 800px;
    width: 100%;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, auto));
}
.brand-box {
    justify-content: center;
    display: grid;
    background-color: var(--bg-color);
    border-radius: 1.5rem;
}
.brand-box img {
    object-fit: contain;
    height: 85px;
    width: 100px;
}

/*======= tips section */ 

/*
.tips-content {
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
}
.blog-box {
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--text-neutral);
    align-items: center;
    display: flex;
}
.blog-box img  {
    width: 200px;
    height: 130px;
    border-radius: 1rem;
    object-fit: cover;
}
.blog-info span {
    background: var(--main2-color);
    color: var(--main-color);
    font-size: 1rem;
    border-radius: 12px;
    padding: 4px 10px;
}
.blog-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 10px 0 1rem;
    cursor: pointer;
}
.read {
    color: var(--text-neutral);
    gap: 4px;
    align-items: center;
    display: flex;
} */
/*
.tips-content .blogs {
   display: grid;
   grid-template-columns: repeat(3,250px);
   justify-content: space-between;
   gap: 1rem;
}
.blog-box {
   align-items: center;
   display: grid;
   align-items: center;
   margin: 0;
}
.blog-box img  {
    margin-left: 1.75rem;
    width: 200px;
    height: 130px;
    border-radius: 1rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
}
.blog-info span {
    margin-top: 8rem;
    background: var(--main2-color);
    color: var(--main-color);
    font-size: 1rem;
    border-radius: 12px;
    padding: 5px;
}
.blog-info p {
    font-weight: 600;
    text-align: center;
}
.read {
    margin-top: -2rem;
    gap: 4px;
    align-items: center;
    display: flex;
    margin-left: 3.7rem;
}
.read p {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}
*/
.tips-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    display: grid;
    margin-bottom: 2rem;
}
.blogs {
    display: grid;
    gap: 1rem;
}
.blog-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--text-neutral);
    border-radius: 1rem;
}
.blog-box img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 1rem;
}
.blog-info span {
    background: var(--main2-color);
    color: var(--main-color);
    font-size: 1rem;
    border-radius: 12px;
    padding: 4px 10px;
}
.blog-info h3 {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin: 10px 0 1rem;
}
.read {
    gap: 4px;
    align-items: center;
    display: flex;
    color: var(--main-color);
}
.read p {
    font-size: 1rem;
    margin-top: 0.85rem;
}
.single-post {
    position: relative;
    border-radius: 1.5rem;
    display: grid;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.single-post img {
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    object-fit: cover;
    top: 0;
}
.single-post-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--bg-color);
    padding: 20px;
    background: 
    linear-gradient(
        1deg, 
           hsl(25, 57%, 62%) 14%,
           hsl(128 24% 49% / 4%) 64%
    );
    backdrop-filter: blur(2px);
}
.single-post i:hover {
    color: var(--main-color);
    background: var(--bg-color);
}
.post-data h2 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.post-data .read {
    color: var(--bg-color);
}
.single-post a i {
    color: var(--bg-color);
    padding: 8px;
    border: 1px solid var(--bg-color);
    border-radius: 50%;
}
.links {
    width: 100%;
    display: grid;
    justify-content: space-between;
    gap: 0.5rem;
}
.link-box {
    border-radius: 1.5rem;
    padding: 8px 14px;
    border: 1px solid var(--text-neutral);
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 100%;
}
.link-box h3 {
    font-size: 0.8rem;
    font-weight: 600;
}
.link-box a i {
    border-radius: 8px;
    font-size: 18px;
    padding: 8px;
    color: var(--main-color);
    background: var(--main2-color);
}
.link-box a i:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transition: all .4s ease-in-out;
}






.footer {
    background: var(--main2-color);
    padding: 50px o;
    padding-top: 2rem;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.footer-box {
    display: flex;
    flex-direction: column;
}
.footer-box  h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.footer-box h3 span {
    color: var(--main-color);
    font-weight: 800;
}
.footer-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    margin: 0.5rem;
    position: relative;
    padding-left: 1rem;
}
.footer-link::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--main-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.footer-link:hover {
    transition: 0.3s;
    color: var(--main-color);
}
.footer-center {
    justify-items: center;
    display: grid;
    gap: 1rem;
}
.footer-center .logo-footer {
    align-items: center;
    justify-content: center;
    display: grid;
}
.footer img {
    margin-left: 2.6rem;
}
.footer .logo-footer h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #4e3434;
}
.footer-center .footer-p p {
    text-align: center;
    margin-bottom: 1.2rem;
    color: #b2b4c2;
}
.social {
    align-items: center;
    gap: 8px;
}
.social a i {
    background-color: var(--main-color);
    color: var(--bg-color);
    padding: 0.5rem;
    border-radius: 12px;
    font-size: 18px;
}
.social a i:hover {
    background: var(--text-color); 
    transition: background 0.4s ease-in-out;
}
.copy-right-link {
    margin-top: 4rem;
    margin-bottom: 3rem;
}
.copy-right-link p {
    color: #818395;
}
.copy-right-link span {
    color: var(--main-color);
}







/*===== RESPONSIVE TIPS */

@media (max-width: 400px) {
    .container {
        width: 80%;
        margin: 0 auto;
    }
    .product-content {
        grid-template-columns: repeat(3, 1fr);
        padding: 40px;
    }
    .home-container {
        display: grid;
        justify-content: space-between;
        grid-template-columns: 1fr;
    }
    .home-text {
        order: 2;
    }
}
@media (max-width: 920px) {
    .section {
        padding: 2rem 0;
    }
    .product-content,
    .tips-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .links {
        display: flex;
        flex-direction: column;
    }
    .link-box {
        padding: 1rem;
    }
    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    header {
       top: 15px;
    }
    .menu-icon {
        display: flex;
    }
    .login-btn {
        display: none;
    }
    .navbar {
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translate(-50%);
        width: 90vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-radius: 1rem;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .open-menu {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .nav-link {
        overflow: hidden;
        display: block;
        margin: 1rem 0;
    }
    .mobile-login {
        display: initial;
    }
    .home-text h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 700px) {
    .home-container {
        display: grid;
        justify-content: space-between;
        grid-template-columns: 1fr;
    }
    .home-text {
        order: 2;
    }
    .home img {
        margin-right: 6rem;
    }
    .product-content {
        padding: 20px;
    }
    .backpack {
        grid-template-columns: repeat(1, 1fr);
    }
    .backpack-content {
        order: 2;
    }
    .backpack-content h2 {
        font-size: 2rem;
    }
    .backpack-grid {
        top: -20px;
        left: 12px;
        width: 50px;
    }
}


@media (max-width: 770px) {
    .product-content,
    .tips-content,
    .footer-container {
        grid-template-columns: 1fr;
    }
    .single-post {
        height: 380px;
    }
    .footer-center {
        order: 3;
    }
}

@media (max-width: 400px) {
    .logo img {
        width: 70px;
        margin-right: 1rem;
    }
    .category-content {
        margin-top: 2rem;
    }
    .selling-heading h2,
    .heading {
        font-size: 1.2rem;
    }
}


