/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

/* Variaveis */

:root{
    --main-color:#ee5b00;
    --second-color:#ebeff2;
    --text-color:#02171d;
    --bg-color:#fff;

    /* Box Shadow */
    --box-shadow: 2px 2px 10px 4px rgb(14 55 54 /15%);
}

/* custimizacao do Scroll */

html::-webkit-scrollbar-thumb{
    background: transparent;
}
html::-webkit-scrollbar-track{
    background: var(--text-color);
    border-radius: 5rem;
}

body{
    background-color: #f5f5f5;
}
.btn{
    padding: 0.7rem 1.2rem;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    clip-path: polygon(100% 0,93% 50%,86% 99%, 0% 100%, 7% 47%, 13% 0%);
}
.btn:hover{
    background: var(--text-color);
    letter-spacing: 2px;
    transition: 0.2s;
}

.swiper-slide {
    width: calc((100% - 20px) / 3); /* 20px é o espaço entre os slides definido na propriedade spaceBetween */
  }

img{
    width: 100%;
}

section{
    padding: 50px 100px;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 4%;
    background: var(--bg-color);
    box-shadow: var(--box-shadow);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.container{
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alterado para flex-start */
}

.logo{
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

.logo .bx{
    font-size: 24px;
    color: var(--main-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.navbar{
    display: flex;
    column-gap: 2.4rem;
    align-items: center;
}

.navbar li{
    display: flex;
    align-items: center;
}

.navbar a{
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.navbar a:hover{
    color: var(--main-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.header-icons{
    font-size: 28px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-left: auto;
}

.header-icons .icones {
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    color: var(--text-color);
}

.header-icons .icones:hover {
    color: var(--main-color);
    transform: scale(1.1);
}

#menu-icon{
    display: none;
}

.search-box{
    position: absolute;
    top: 110%;
    right: -130%;
}

.search-box input{
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    width: 280px;
    box-shadow: var(--box-shadow);
}

.search-box.active{
    right: 1rem;
    transition: 0.2s;
}

.cart {
    position: absolute;
    top: 110%;
    right: -200%;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0.5rem;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    min-height: 98vh; /* Limite de altura máxima para a modal */
    max-height: 80vh;
    overflow-y: auto; /* Adiciona o scroll vertical quando necessário */
    z-index: 1000; /* Certifique-se de que a modal esteja acima de outros elementos */
}


.cart img{
    width: 100px;
}

.cart .box{
    display: flex;
    align-items: center;
    column-gap: 2rem;
}
.cart .box .text h3{
    font-size: 1rem;
}

.cart .box .bx {
    font-size: 24px;
    cursor: pointer;
}

.cart .box .bx:hover {
    color: var(--main-color);
}

.cart h2{
    font-size: 1.1rem;
    font-weight: 600;
}

.cart.active{
    right: 1rem;
    transition: 0.2s;
}

.icones{
    cursor: pointer;
}
.icones:hover{
    color: var(--main-color);
}
.user{
    position: absolute;
    top: 110%;
    right: -130%;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0.5rem;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}
.user h2{
    font-size: 1.2rem;
    color: var(--text-color);
}

.user form .login-btn{
    background: var(--main-color);
    color: var(--bg-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}

.user form .login-btn:hover{
    background: var(--text-color);
}

.user form input{
    border: none;
    outline: none;
    font-size: 16px;
    background: var(--second-color);
    padding: 10px;
    border-radius: 0.5rem;
    width: 100%;
    margin-bottom: .7rem;;
}

.user a{
    text-decoration: underline;
    color: var(--main-color);
}

.user.active{
    right: 1rem;
    transition: 0.2s;
}

.home{
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    align-items: center;
    gap: 1.5rem;
    background: var(--second-color);
}

.home-text span{
    font-weight: 600;
    text-transform: uppercase;
}
.home-text h1{
    font-size: 3.4rem;
    margin-bottom: 1rem;
}

.heading {
    text-align: center;
}

.heading h1{
    font-size: 1.7rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-color);
}

.heading span{
    padding: 0.2rem 1.2rem;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    clip-path: polygon(100% 0,93% 50%,86% 99%, 0% 100%, 7% 47%, 13% 0%);
}

.new-arrival{
    margin-top: 2rem;
}

.new-arrival .box{
    position: relative;
    overflow: hidden;
    background: var(--second-color);
}

.new-arrival .box img{
    background: var(--second-color);
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.new-arrival .box .content{
    position: absolute;
    top: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(0, 0%, 91%,0.5);
    overflow: hidden;
}
.new-arrival .box:hover .content{
    top: 0;
    transition: 0.2s;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Sempre tentar colocar 5 colunas */
    gap: 1rem; /* Espaçamento entre os produtos */
    margin-top: 2rem;
}

.product-container .box{
    position: relative;
    padding: 10px;
    box-shadow: var(--box-shadow);
    min-width: 200px;
}
.product-container .box .content{
    font-size: 1.2rem;
    font-weight: 600;
}

.product-container .box .content .stars .bx{
    color: gold;
    margin-bottom: 3.5rem;
}

.product-container .box .fa-cart-shopping{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
    font-size: 24px;
    background: var(--main-color);
    color: var(--bg-color);
    border-top-left-radius: 10px;
    box-shadow: var(--box-shadow);
}
.product-container .box span{
    position: absolute;
    bottom: 0;
    left: 1rem;
}
.product-container .box .fa-cart-shopping:hover{
    background: var(--text-color);
    cursor: pointer;
}

.product-container .box:hover img{
    cursor: pointer;
}

.reviews-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px, auto));
    gap: 1rem;
    margin-top: 2rem;
}

.reviews-container .box{
    padding: 10px;
    border: 2px solid var(--text-color);
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.reviews-container .box img{
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.reviews-container .box  .stars .bx{
    color: gold;
}


.reviews-container .box p{
    font-size: 0.938rem;
    font-style: italic;
    margin: 0.5rem 0.5rem;
}

.reviews-container .box h2{
    font-size: 1.2rem;
    font-weight: 600;
}


.footer{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px, auto));
    gap: 1rem;
    color: var(--text-color);
}

.footer-box h2{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-box p{
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.social{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.social a .bx {
    font-size: 24px;
    color: var(--text-color);
    padding: 10px;
    background: var(--second-color);
    border-radius: 0.5rem;
}

.social a .bx:hover{
    background: gold;
}

.footer-box h3{
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-box li a{
    color: var(--text-color);
}

.footer-box li a:hover{
    color: var(--main-color);
}

.copyright{
    padding: 20px;
    text-align: center;
    color: var(--text-color);

    box-shadow: var(--box-shadow);
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--main-color);
    color: var(--bg-color);
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    box-shadow: 0 2px 6px rgba(238, 91, 0, 0.3);
}


/* Estilo para o drop-down */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar .dropdown > a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.navbar .dropdown:hover > a i {
    transform: rotate(180deg);
}

.navbar .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 12px;
    margin: 0;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 320px;
    width: auto;
    max-width: 800px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.navbar .dropdown-menu li {
    margin: 5px 0;
}

.navbar .dropdown-menu li a {
    color: #333;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
    transition: all 0.2s ease;
}

.navbar .dropdown-menu li a::after {
    display: none;
}

.navbar .dropdown-menu li a:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    transform: translateX(4px);
}


.dropdown-menu li a span {
    background-color: #ff5722; /* Cor de fundo do contador */
    color: #fff; /* Cor do texto do contador */
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 12px; /* Deixa o contador com bordas arredondadas */
    min-width: 30px;
    text-align: center;
    margin-left: 10px; /* Espaço entre o texto e o contador */
}

.dropdown-menu li a i {
    margin-right: 8px; /* Espaço entre o ícone e o texto */
    color: #007bff; /* Cor padrão do ícone */
    font-size: 1.2rem; /* Tamanho do ícone */
}

/* Cor diferente para o ícone de concluído */
.dropdown-menu li a i.bx-check-circle {
    color: #28a745; /* Verde para concluídos */
}

.dropdown .dropdown-menu li a{
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

@media (max-width: 1058px) {
    header{
        padding: 18px 60px;
    }
    section{
        padding: 50px 60px;
    }
    .home-text h1{
        font-size: 3rem;

    }
    .container {
        padding: 0 4%;
    }

    .product-container .box {
        max-width: 280px;
    }
}

@media (max-width: 991px) {
    header{
        padding: 18px 4%;
    }
    section{
        padding: 50px 4%;
    }
    .home-text h1{
        font-size: 2.4rem;

    }
}

@media (max-width: 768px) {

    header{
        padding: 12px 4%;
    }
    #menu-icon{
       display: initial;
    }
    header .navbar{
        position: absolute;
        width: 240px;
        height: 100vh;
        top: 110%;
        right: -110%;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        row-gap: 1.4rem;
        padding: 20px;
        box-shadow: 4px 4px 0 4px rgb(14 55 54 / 15%, green, blue);
        transition: 0.2s linear;
        text-align: left;
    }

    .navbar.active{
        right: 0;
    }
    .home-text{
        font-size: 1rem;
    }
    .home-text h1{
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .container {
        justify-content: flex-start;
    }

    .logo {
        margin-right: auto;
    }

    .header-icons {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    #menu-icon {
        display: initial;
        font-size: 24px;
        cursor: pointer;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 280px;
        background: var(--bg-color);
        padding: 1rem;
        box-shadow: var(--box-shadow);
        transition: 0.3s;
    }

    .navbar.active {
        right: 0;
    }
}

@media (max-width: 480px) {
    .product-container .box {
        max-width: 100%;
        margin: 0 auto;
    }

    .logo img {
        height: 35px;
    }
}

@media (max-width: 375){
    body {
        background-color: blue;
    }
    .home-text span{
        font-size: 0.8rem;
    }
    .home-text h1{
        font-size: 1.5rem;
    }
    .btn{
        font-size: 1rem;
    }
    .cart img{
        width: 77px;
    }
    .cart .box .text h3{
        font-size: 0.700rem;
    }
    .cart .box .text span{
        font-size: 0.678rem;
    }

    .heading h1{
        font-size: 1.4rem;
    }
}

@media (min-width: 1450px) {
    .container{
        max-width: 1450px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-icons {
      display: flex;
      justify-content: center;
    }

    .search-box,
    .cart,
    .user {
      max-width: 1450px;
      margin: 0 auto;
    }

    .new-arrival,
    .reviews-container,.footer {
      max-width: 1450px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .search-box.active{
        right: 1rem;
        transition: 0.2s;
    }

    .heading {
        text-align: center;
        margin-bottom: 1rem;
    }

    .heading h1{
        font-size: 1.7rem;
        font-weight: 600;
        text-transform: capitalize;
        color: var(--text-color);
    }

    .heading span{
        padding: 0.8rem 1.2rem;
        background: var(--main-color);
        color: var(--bg-color);
        font-weight: 500;
        display: inline-block;
        text-transform: uppercase;
        clip-path: polygon(100% 0,93% 50%,86% 99%, 0% 100%, 7% 47%, 13% 0%);
    }

}

@media (max-width: 1200px) {
    .product-container {
        grid-template-columns: repeat(4, 1fr); /* 4 colunas em telas menores */
    }
}

@media (max-width: 992px) {
    .product-container {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas em telas ainda menores */
    }
}

@media (max-width: 768px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas para dispositivos móveis */
    }
}

@media (max-width: 576px) {
    .product-container {
        grid-template-columns: 1fr; /* 1 coluna em telas pequenas */
    }
}

/* Estilo para a seção home */
.home .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-text {
    flex: 1;
    padding: 20px;
}

.home-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-text span {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.home-text h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #666;
}

.home-img {
    flex: 1;
    text-align: right;
}

/* Media Query para dispositivos móveis */
@media (max-width: 768px) {
    .home .container {
        flex-direction: column;
        text-align: center;
    }

    .home-text {
        order: 1; /* Coloca o texto em cima */
        margin-bottom: 20px;
    }

    .home-img {
        order: 2; /* Coloca a imagem embaixo */
        margin-top: 20px;
    }

    .home-text h1 {
        font-size: 2rem;
    }

    .home-text span {
        font-size: 1.5rem;
    }

    .home-text h5 {
        font-size: 1rem;
    }

    .home-img img {
        max-width: 100%;
        height: auto;
    }
}
. s m a r t p h o n e - s p e c s { b a c k g r o u n d : l i n e a r - g r a d i e n t ( 1 3 5 d e g , # f 8 f 9 f a   0 % , # f f f   1 0 0 % ) ; b o r d e r - l e f t : 4 p x   s o l i d   # e e 5 b 0 0 ; p a d d i n g : 2 0 p x ; m a r g i n : 2 0 p x   0 ; b o r d e r - r a d i u s : 1 0 p x ; b o x - s h a d o w : 0   3 p x   1 0 p x   r g b a ( 0 , 0 , 0 , . 0 8 ) } . s m a r t p h o n e - s p e c s   p { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; g a p : 1 2 p x ; p a d d i n g : 1 2 p x ; m a r g i n : 8 p x   0 ; b a c k g r o u n d - c o l o r : # f f f ; b o r d e r - r a d i u s : 8 p x ; b o r d e r : 1 p x   s o l i d   # e 9 e c e f ; t r a n s i t i o n : a l l   . 3 s   e a s e ; f o n t - s i z e : . 9 5 r e m ; c o l o r : # 2 c 3 e 5 0 } . s m a r t p h o n e - s p e c s   p : h o v e r { b o r d e r - c o l o r : # e e 5 b 0 0 ; t r a n s f o r m : t r a n s l a t e X ( 5 p x ) ; b o x - s h a d o w : 0   2 p x   8 p x   r g b a ( 2 3 8 , 9 1 , 0 , . 1 5 ) } . s m a r t p h o n e - s p e c s   p   i { c o l o r : # e e 5 b 0 0 ; f o n t - s i z e : 1 . 2 r e m ; m i n - w i d t h : 2 4 p x ; t e x t - a l i g n : c e n t e r } . s m a r t p h o n e - s p e c s   p   s t r o n g { c o l o r : # 4 9 5 0 5 7 ; f o n t - w e i g h t : 6 0 0 ; m i n - w i d t h : 1 4 0 p x } . s m a r t p h o n e - s p e c s   p : n t h - c h i l d ( e v e n ) { b a c k g r o u n d - c o l o r : # f 8 f 9 f a }  
 