/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Carter+One&family=Montserrat:wght@100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(353, 93%, 50%);
  --first-color-alt: hsl(353, 93%, 46%);
  --first-color-dark: hsl(353, 50%, 15%);
  --title-color: hsl(353, 48%, 12%);
  --text-color: hsl(353, 16%, 32%);
  --text-color-light: hsl(353, 16%, 48%);
  --white-color: hsl(24, 86%, 90%);
  --body-color: hsl(24, 86%, 88%);
  --container-color: hsl(24, 86%, 92%);
  --shadow-small-img: drop-shadow(0 4px 16px hsla(353, 100%, 8%, .2));
  --shadow-big-img: drop-shadow(0 8px 24px hsla(353, 100%, 8%, .2));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Carter One", system-ui;
  --biggest-font-size: 2.5rem;
  --bigger-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.25rem;
    --bigger-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

input,
button,
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button {
  outline: none;
  border: none;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-regular);
  font-family: var(--second-font);
  line-height: 120%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* img {
  display: block;
  max-width: 100%;
  height: auto;
} */

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 25px;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}
.section__title {
  text-align: center;
  font-size: var(--bigger-font-size);
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/

.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition: box-shadow .4s;
}

.nav{
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo{
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-family: var(--second-font);
  color: var(--title-color);
}

.nav__logo img{
  width: 24px;
  margin-top: 20px;
}

.nav__toggle,
.nav__close{
  display: flex;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width:1150px){
  .nav__menu{
    position: fixed;
    top: -120%;
    left: 0;
    background-color: var(--body-color);
    width: 100%;
    padding-block: 4.5rem 3.5rem;
    box-shadow: 0 4px 16px hsla(353, 100%, 8% .1);
    transition: top .4s;
  }
}

.nav__list{
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.nav__link{
  position: relative;
  color: var(--title-color);
  font-family: var(--second-font);
}

.nav__link::after{
  content: '';
  width: 0;
  height: 3px;
  background-color: var(--first-color);
  position: absolute;
  left: 0;
  bottom: -.5rem;
  transition: width .4s;
}

.nav__link:hover::after{
  width: 60%;
}

.nav__close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu{
  top: 0;
}

/* Add shadow header */
.shadow-header{
  box-shadow: 0 4px 16px hsla(353, 100%, 8% .1);
}
/* Active link */
.active-link::after{
  width: 60%;
}

/*=============== HOME ===============*/
.home__container{
  padding-block: 2rem 3rem;
  row-gap: 7rem;
}
.home__data{
  position: relative;
  text-align: center;
}

.home__title{
  font-size: var(--biggest-font-size);
}

.home__description{
  margin-block: 1rem 2rem;
}

.home__sticker-1,
.home__sticker-2{
  width: 40px;
  position: absolute;
  opacity: .7;
}

.home__sticker-1{
  right: .75rem;
  bottom: 2rem;
  rotate: 30deg;
}

.home__sticker-2{
  left: 2.5rem;
  bottom: -4.5rem;
}

.home__images{
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
}

.home__ingredient{
  width: 60px;
  filter: var(--shadow-small-img);
  position: absolute;
  z-index: 2;
}

.home__board,
.home__pizza{
  filter: var(--shadow-big-img);
}

.home__pizza{
  width: 300px;
  z-index: 2;
}

.home__board{
  width: 300px;
  position: absolute;
  bottom: -.5rem;
  left: -.15rem;
}

.home__leaf-1{
  top: -1rem;
}

.home__pepperoni{
  right: -.5rem;
  top: 2rem;
}

.home__mushroom{
  right: -.5rem;
  bottom: 2rem;
}

.home__olive{
  bottom: -1rem;
}

.home__leaf-2{
  left: -.5rem;
  bottom: 2rem;
}

.home__tomato{
  left: -.5rem;
  top: 2rem;
}

/*=============== BUTTON ===============*/
.button{
  display: inline-flex;
  justify-content: center;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 1rem 1.5rem;
  font-weight: var(--font-semi-bold);
  border-radius: 4rem;
  box-shadow: 0 8px 24px hsla(353, 100%, 40% .4);
  transition: background-color .4s;
}

button:hover{
  background-color: var(--first-color-alt);
}

/*=============== ABOUT ===============*/
.about{
  background-color: var(--container-color);
}

.about__container{
  row-gap: 2rem;
  padding-bottom: 2rem;
}

.about__data{
  position: relative;
  text-align: center;
}

.about__data .section__title{
  margin-bottom: 1rem;
}

.about__description{
  margin-bottom: 2rem;
}

.about__sticker{
  width: 40px;
  position: absolute;
  right: 0;
  bottom: 2rem;
}

.about__img{
  width: 320px;
  justify-self: center;
  filter: var(--shadow-big-img);
}

/*=============== POPULAR ===============*/
 .popular__container{
  grid-template-columns: 100%;
  row-gap: 3rem;
  padding-bottom: 2rem;
 }

 .popular__data .section__title{
  margin-bottom: 1rem;
 }

 .popular__description{
  text-align: center;
 }

 .popular__swiper{
  position: relative;
 }

 .popular__dish{
  width: 220px;
  filter: var(--shadow-big-img);
  position: absolute;
  inset: 0;
  top: -.85rem;
  margin-inline: auto;
 }

 .popular__card,
 .popular__img{
  width: 200px;
 }

 .popular__img{
  transform: scale(.8) rotate(-90deg);
  transition: transform .4s;
 }

.popular__title{
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin-top: 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity .4s;
}

.popular__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.popular__filter-button {
  background: var(--first-color);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background .3s;
}
.popular__filter-button.active,
.popular__filter-button:hover {
  background: var(--first-color-alt);
}



/* Swiper class */
.swiper{
  margin-inline: initial;
  overflow: visible;
}

:is(.swiper-slide-active, .swiper-slide-duplicate-active) .popular__img{
  transform: scale(1) rotate(0);
}

:is(.swiper-slide-active, .swiper-slide-duplicate-active) .popular__title{
  opacity: 1;
}

/*=============== RECIPE ===============*/
.recipe{
  background-color: var(--container-color);
}

.recipe__container{
  row-gap: 2rem;
  padding-bottom: 2rem;
}

.recipe__image{
  width: 60px;
  filter: var(--shadow-small-img);
}

.recipe__name{
  font-size: var(--normal-font-size);
  margin-bottom: .25rem;
}

.recipe__description{
  font-size: var(--small-font-size);
}

.recipe__ingredient{
  display: flex;
  align-items: center;
  column-gap: .75rem;
}

.recipe__img{
  width: 320px;
  justify-self: center;
  filter: var(--shadow-big-img);
}

/* ================= Slider Recipe ================= */
.recipe__container {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.recipe__slider {
  overflow: hidden;
}

.recipe__slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.recipe__slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* As setas */
.recipe__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.recipe__arrow--left {
  left: 1rem;
}

.recipe__arrow--right {
  right: 1rem;
}

.recipe__img--small {
  width: 300px !important;      /* ou o valor que achar melhor */
  max-width: none;   /* garante que não seja reduzido pelo max-width */
}

/*==================== STACK SLIDES NO CELULAR ====================*/
@media screen and (max-width: 576px) {
  /* Cada slide fica em coluna, ingredientes acima e imagem abaixo */
  .recipe__slide {
    display: flex;              /* já vem como flex */
    flex-direction: column;     /* muda o eixo para coluna */
    align-items: center;        /* centra ambos */
    gap: 1.5rem;                /* espaço extra */
  }

  .recipe__slider {
    order: 1;
    width: 100%;
  }
  

  .recipe__arrow {
    position: static;    /* sai do fluxo absoluto */
    transform: none;     /* elimina o translateY(-50%) */
    margin: 0.5rem;      /* um espaçamento generoso */
    order: 2;            /* colocadas depois do slider */
  }

  /* Garante que a listagem também fique full‑width */
  .recipe__slide .recipe__list {
    width: 100%;
  }

  /* Ajusta a imagem para ficar abaixo e ocupar bem o espaço */
  .recipe__img,
  .recipe__img--small {
    order: 1;                   /* força a vir depois da lista */
    width: 100%;                /* ocupa toda a largura do container */
    max-width: 320px;           /* limite pra não estourar na tela */
    margin: 1rem auto 0;        /* separa da lista e centraliza */
  }

  .recipe__slide:nth-child(2) .recipe__img {
    width: 200px;       /* defina o tamanho que quiser */
    max-width: 200px;
    margin: 1rem auto 0;
  }

  /* ou se você estiver usando a classe utilitária */
  .recipe__img--small {
    width: 200px;
    max-width: 200px;
    margin: 1rem auto 0;
  }

  .recipe__arrow--left {
    display: none !important;
  }

  .recipe__arrow--right {
    /* permanece estática, após o slider */
    position: static;
    transform: none;
    margin: 0.5rem;
    order: 2;
  }

  /* Se desejar, centralize a seta direita: */
  .recipe__arrow--right {
    margin-left: auto;
    margin-right: auto;
  }

  :is(.swiper-slide-active, .swiper-slide-duplicate-active)
  .popular__img {
    transform: scale(1) rotate(0) !important;
  }

  .products__filter-button {
    margin-bottom: 0.75rem !important;
  }
}


/* se quiser responsivo, também pode: */
@media screen and (min-width: 1150px) {
  .recipe__img--small {
    width: 450px;    /* tamanho maior em telas grandes */
  }

  .recipe__container {
    overflow: visible;
  }

  /* empurra as setas mais pra fora do conteúdo */
  .recipe__arrow--left {
    left: -5.5rem;    /* experimente -2rem, -3rem, até achar o ponto ideal */
  }
  .recipe__arrow--right {
    right: -5.5rem;
  }
}

/*=============== PRODUCTS ===============*/
.products__container{
  padding-top: 3.5rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 1.5rem;
}

.products__card{
  position: relative;
  background-color: var(--container-color);
  padding: 5rem .75rem 1.25rem .75rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px hsla(353, 100%, 8% .1);
  display: flex;
  flex-direction: column;
}

.products__img{
  width: 120px;
  position: absolute;
  top: -3.5rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  filter: var(--shadow-small-img);
  transition: transform .4s;
}

.products__name{
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.products__price{
  font-family: var(--second-font);
  font-size: var(--h1-font-size);
  line-height: 120%;
  color: var(--first-color);
  margin-top: auto;
}

.products__button{
  position: absolute;
  right: .75rem;
  bottom: 1.25rem;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 4px;
  border-radius: .5rem;
  font-size: 1.5rem;
  display: inline-flex;
  box-shadow: 0 4px 16px hsla(353, 100%, 40% .4);
  cursor: pointer;
  transition: background-color .4s;
}

.products__button:hover{
  background-color: var(--first-color-alt);
}

.products__card:hover .products__img{
  transform: translateY(-.5rem);
}

.products__filters {
  text-align: center;
  margin-bottom: 1.5rem;
}
.products__filter-button {
  background: var(--white-color);
  color: var(--title-color);
  border: 1px solid var(--first-color);
  padding: .5rem 1rem;
  margin: 0 .25rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.products__filter-button.active,
.products__filter-button:hover {
  background: var(--first-color);
  color: var(--white-color);
}

/* === SUBFILTROS (subcategorias) === */
.products__subfilters{
  text-align: center;
  margin: .5rem 0 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.products__subfilter-button{
  background: var(--container-color);
  color: var(--title-color);
  border: 1px dashed var(--first-color);
  padding: .4rem .9rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.products__subfilter-button.active,
.products__subfilter-button:hover{
  background: var(--first-color);
  color: #fff;
}

.products__description {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin: 0.25rem 0 1rem;
}

.products__note {
  font-size: 0.35rem;
  color: #666;
  text-align: start;
  margin: 0.25rem 0 0.5rem;
}


/*=============== CONTACT ===============*/
.contact__container{
  position: relative;
  background-color: var(--first-color-dark);
  padding-top: 3.5rem;
  border-radius: 3rem;
  overflow: hidden;
  row-gap: 3rem;
}

.contact__container .section__title,
.contact__title,
.contact__address{
  color: var(--white-color);
}

.contact__info{
  text-align: center;
  row-gap: 2rem;
} 

.contact_-title{
  text-align: center;
}

.contact__social{
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact__social-link{
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

.contact__social-link:hover{
  transform: translateY(-.25rem);
}

.contact__address{
  font-style: normal;
}

.contact__map{
  color: var(--first-color);
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  margin-top: .5rem;
  font-size: 1rem;
}

.contact__map span{
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.contact__image{
  justify-self: center;
}

/* .contact__img{
  width: 300px;
} */

.contact__img{
  width: 200px;
}

.contact__sticker-1,
.contact__sticker-2,
.contact__sticker-3{
  width: 40px;
  position: absolute;
  opacity: .7;
}

.contact__sticker-1{
  top: 8rem;
  left: 1.5rem;
}

.contact__sticker-2{
  right: 1.5rem;
  bottom: 23rem;
}

.contact__sticker-3{
  left: 2rem;
  bottom: 6rem;
}

/*=============== FOOTER ===============*/
.footer{
  padding-block: 4rem 2rem;
}

.footer__container,
.footer__content{
  row-gap: 3rem;
}

.footer__logo{
  justify-self: center;
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  color: var(--first-color);
}

.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.footer__social,
.footer__pay,
.footer__form{
  display: flex;
  column-gap: 1rem;
}

.footer__social-link{
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

.footer__social-link:hover{
  transform: translateY(-.25rem);
}

.footer__pay-img{
  width: 30px;
  filter: var(--shadow-small-img);
}

.footer__form{
  padding: .5rem;
  background-color: var(--container-color);
  box-shadow: 0 4px 16px hsla(353, 100%, 8% .1);
  border-radius: 4rem;
}

.footer__input{
  width: 100%;
  background: transparent;
  padding-left: .75rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.footer__input::placeholder{
  color: var(--text-color);
}

.footer__button{
  padding-block: .75rem;
  cursor: pointer;
}

.footer__policy{
  display: flex;
  column-gap: 2rem;
  justify-content: center;
  margin-top: 5rem;
}

.footer__link{
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.footer__copy{
  display: block;
  margin-top: 2rem;
  text-align: center;
  font-size: var(--small-font-size);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background-color: hsl(24, 32%, 75%);
}

::-webkit-scrollbar-thumb{
  background-color: hsl(24, 32%, 65%);
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(24, 32%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(353, 100%, 8%, .2);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: .5rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover{
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll{
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-inline: 1rem;
  }

  .products__container{
    grid-template-columns: 150px;
    justify-content: center;
  }

  .footer__form{
    background-color: transparent;
    box-shadow: none;
    flex-direction: column;
    row-gap: 1rem;
    padding: 0;
  }

  .footer__input{
    background-color: var(--container-color);
    box-shadow: 0 4px 16px hsla(353, 100%, 8% .1);
    padding: .75rem 1rem;
    border-radius: 4rem;
  }
}



/* For medium devices */
@media screen and (min-width: 576px){
  .home__container,
  .about__container,
  .popular__container,
  .recipe__container{
    grid-template-columns: 380px;
    justify-content: center;
  }

  .products__container{
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }

  .contact__container{
    width: 450px;
    margin-inline: auto;
  }

  .footer__form{
    width: 360px;
  }
  
}

@media screen and (min-width: 768px){
  .popular__swiper{
    width: 600px;
    overflow-x: clip;
    justify-self: center;
  }

  .products__container{
    grid-template-columns: repeat(3, 160px);
  }

  .footer__content{
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .footer__content div:nth-child(3){
    grid-column: 1 / 3;
  }

  .footer__title{
    text-align: center;
  }

  .footer__social,
  .footer__pay{
    column-gap: 1.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1150px){
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 7rem 2rem;
  }

  .section__title{
    margin-bottom: 4rem;
  }

  .nav{
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toogle,
  .nav__close{
    display: none;
  }

  .nav__list{
    flex-direction: row;
    column-gap: 4rem;
  }

  .home__container{
    grid-template-columns: 515px 555px;
    column-gap: 3rem;
    align-items: start;
    padding-block: 10rem 4rem;
  }

  .home__data{
    text-align: initial;
    margin-top: 2rem;
  }

  .home__description{
    margin-bottom: 3.5rem;
    padding-right: 6rem;
  }

  .home__sticker-1,
  .home__sticker-2{
    width: 50px;
  }

  .home__sticker-1{
    right: 3rem;
    top: 1rem;
    bottom: 0;
  }

  .home__sticker-2{
    left: 16rem;
    bottom: 1rem;
  }

  .home__board,
  .home__pizza{
    width: 520px;
  }

  .home__board{
    bottom: -1rem;
  }

  .home__ingredient{
    width: 100px;
  }

  .home__leaf-1{
    top: -2rem;
  }

  .home__pepperoni{
    right: -1rem;
    top: 3.5rem;
  }

  .home__mushroom{
    right: -1rem;
    bottom: 3.5rem;
  }

  .home__olive{
    bottom: -2rem;
  }

  .home__leaf-2{
    left: -1rem;
    bottom: 3.5rem;
  }

  .home__tomato{
    left: -1rem;
    top: 3.5rem;
  }

  .about__container{
    grid-template-columns: 450px 448px;
    align-items: center;
    column-gap: 6rem;
  }

  .about__img{
    order: -1;
    width: 450px;
  }

  .about__data{
    text-align: initial;
  }

  .about__data .section__title{
    margin-bottom: 1.5rem;
    text-align: initial;
  }

  .about__description{
    margin-bottom: 3.5rem;
  }

  .about__sticker{
    width: 50px;
    right: 6rem;
    bottom: 1rem;
  }

  .popular__container{
    grid-template-columns: 470px;
    row-gap: 5rem;
    padding-bottom: 3rem;
  }

  .popular__data .section__title{
    margin-bottom: 1.5rem;
  }

  .popular__swiper{
    width: 1000px;
  }

  .popular__card,
  .popular__img{
    width: 350px;
  }

  .popular__dish{
    width: 390px;
    top: -1.5rem;
  }

  .popular__title{
    margin-top: 3rem;
    font-size: var(--h2-font-size);
  }

  .recipe__container{
    grid-template-columns: 360px 550px;
    align-items: center;
    column-gap: 6rem;
    padding-bottom: 3rem;
  }

  .recipe__ingredient{
    column-gap: 1.5rem;
  }

  .recipe__image{
    width: 80px;
  }

  .recipe__name{
    font-size: var(--h3-font-size);
  }

  .recipe__description{
    font-size: var(--normal-font-size);
  }

  .recipe__img{
    width: 550px;
  }

  .products__container{
    grid-template-columns: repeat(3, 250px);
    gap: 7.5rem 4rem;
  }

  .products__card{
    padding: 10rem 1.5rem 1.5rem;
    border-radius: 2rem;
  }

  .products__img{
    width: 200px;
    top: -4rem;
  }

  .products__name{
    font-size: var(--h2-font-size);
  }

  .products__button{
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 6px;
  }

  .contact__container{
    width: initial;
    grid-template-columns: 370px 350px;
    justify-content: center;
    column-gap: 6rem;
    border-radius: 4rem;
  }

  .contact__img{
    width: 350px;
  }

  .contact__image{
    order: -1;
  }

  .contact__info,
  .contact__data .section__title{
    text-align: initial;
  }

  .contact__data{
    margin-top: 2rem;
  }

  .contact__info{
    grid-template-columns: repeat(2, max-content);
  }

  .contact__title{
    font-size: var(--h2-font-size);
  }

  .contact__social{
    justify-content: initial;
  }

  .contact__sticker-1,
  .contact__sticker-2,
  .contact__sticker-3{
    width: 50px;
  }

  .contact__sticker-1{
    left: 4rem;
  }

  .contact__sticker-2{
    right: 4rem;
    top: 8rem;
    bottom: 0;
  }

  .contact__sticker-3{
    left: 6rem;
    bottom: 4rem;
  }

  .footer{
    padding-bottom: 3rem;
  }

  .footer__content{
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__content div:nth-child(3){
    grid-column: initial;
  }

  .footer__content div:nth-child(2){
    order: 1;    
    justify-self: end;
  }

  .footer__content div:nth-child(1){
    justify-self: start;    
  }

  .scrollup{
    right: 3rem;
  }

  .products__note {
    font-size: 0.65rem;
    
  }
}

/* ==== Estilo compartilhado das setas ==== */
.arrow-btn {
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(353, 100%, 8%, .2);
  color: var(--title-color);
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  cursor: pointer;
  transition: transform .4s;
}
.arrow-btn:hover {
  transform: translateY(-.5rem);
}

/* ---------- CART ---------- */
.cart-fab {
  position: fixed;
  right: 2rem;
  bottom: 6rem;
  background: var(--first-color);
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px hsla(353,100%,40%,.4);
  cursor: pointer;
  z-index: 999;
}
.cart-fab.hidden { display: none; }
.cart-count{
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--first-color-alt);
  color:#fff;
  font-size:.7rem;
  width:20px;height:20px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}

/* Overlay */
.cart-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
}
.cart-overlay.hidden{ display:none; }

/* Painel lateral */
.cart-panel{
  position: fixed;
  top:0; right:0;
  width: 320px;
  max-width: 100%;
  height: 100%;
  background: var(--body-color);
  box-shadow: -4px 0 16px rgba(0,0,0,.1);
  transform: translateX(100%);
  transition: transform .35s;
  z-index: 999;
  display:flex;
  flex-direction:column;
}
.cart-panel.open{ transform: translateX(0); }

.cart-header{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 1rem 1.25rem;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.cart-close{
  background:none;
  color: var(--title-color);
  font-size:1.5rem;
  cursor:pointer;
}

.cart-items{
  flex:1;
  overflow-y:auto;
  padding: .75rem 1rem;
  list-style:none;
}

.cart-item{
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px; /* impede a 2ª coluna de empurrar a lixeira */
  gap: .5rem;
  align-items: flex-start; /* mantem topo alinhado, não “pula” ao abrir adicionais */
  margin-bottom: .75rem;
}

/* Permite a coluna do meio encolher sem quebrar o layout */
.cart-item > *{
  min-width: 0;
}
.cart-item img{
  width:48px;height:48px;object-fit:cover;border-radius:.5rem;
}
.cart-item-name{
  font-size:.9rem;
  margin-bottom:.25rem;
}
.cart-item-price{
  font-size:.8rem;
  color: var(--text-color-light);
}
.cart-qty{
  display:flex;
  align-items:center;
  gap:.25rem;
  margin-top:.25rem;
}
.cart-qty button{
  width:24px;height:24px;
  border-radius:.25rem;
  background: var(--container-color);
  cursor:pointer;
}
.cart-remove{
  background: none;
  color: var(--first-color);
  font-size: 1.2rem;
  cursor: pointer;
  justify-self: end;  /* fixa na borda direita da 3ª coluna */
  align-self: start;  /* alinha pelo topo */
  margin: 0;          /* evita deslocamento lateral/vertical */
}

.cart-footer{
  padding: 1rem 1.25rem;
  border-top:1px solid rgba(0,0,0,.08);
}
.cart-total-row{
  display:flex;
  justify-content:space-between;
  font-size:1rem;
  margin-bottom:.75rem;
  font-family: var(--second-font);
  color: var(--title-color);
}
.cart-clear{
  width:100%;
  background: var(--first-color-alt);
  color:#fff;
  padding:.75rem 1rem;
  border-radius:.5rem;
  cursor:pointer;
  font-weight: var(--font-semi-bold);
}

.cart-fab.bump {
  animation: cart-bump .3s ease-out;
}

@keyframes cart-bump {
  0%   { transform: scale(1);   }
  50%  { transform: scale(1.15);}
  100% { transform: scale(1);   }
}

/* ======== Cart: pizza meio-a-meio ======== */
/* ======== Cart: pizza meio-a-meio (ajuste do branco) ======== */
.cart-item .pizza-thumb{
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;     /* círculo perfeito */
  overflow: hidden;       /* corta tudo fora do círculo */
  background: transparent;/* remove fundo branco */
  border: none;           /* remove a borda grossa */
}

/* metades ocupam 100% do círculo */
.pizza-thumb .half{
  position: absolute;
  inset: 0;               /* top/right/bottom/left = 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;      /* a imagem preenche sem distorcer */
  display: block;
}

/* recortes exatos de meia pizza */
.pizza-thumb .half.left{
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.pizza-thumb .half.right{
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

/* metade pendente só ocupa sua meia área */
.pizza-thumb .half.right.blank{
  background: #ffffff;    /* ou use var(--container-color) se quiser “combinar” com o painel */
}

/* (opcional) se quiser um filete de contorno fino, sem “borda grossa” */
.cart-item .pizza-thumb::after{
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 50%;
  pointer-events: none;
}

/* faixa de aviso "Escolha a outra metade" */
.half-banner{
  margin-top: .35rem;
  background: var(--first-color);
  color: #fff;
  font-weight: var(--font-semi-bold);
  font-size: .72rem;
  padding: .25rem .5rem;
  border-radius: .35rem;
  display: inline-block;
}

/* ======== Modal elegante ======== */
.app-modal.hidden{ display: none; }
.app-modal{
  position: fixed; inset: 0;
  z-index: 1000;
}
.app-modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.app-modal__card{
  position: relative;
  width: min(92vw, 420px);
  margin: 10vh auto 0;
  background: var(--body-color);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.app-modal__header{
  display:flex; align-items:center; justify-content:space-between;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.app-modal__header h4{
  margin:0; font-size: 1.05rem; font-family: var(--second-font);
}
.app-modal__close{
  background: none; color: var(--title-color); font-size: 1.25rem; cursor: pointer;
}
.app-modal__body{
  padding: 1rem; line-height: 1.5; color: var(--text-color);
}
.app-modal__footer{
  padding: .9rem 1rem 1.1rem;
  display:flex; justify-content:flex-end;
}

/* ======== Products - Estado vazio (Vinhos) ======== */
.products__empty{
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.products__empty-card{
  background: var(--container-color);
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px hsla(353, 100%, 8% , .1);
  padding: 1.5rem;
  max-width: 680px;
  text-align: center;
}
.products__empty-card i{
  font-size: 2rem;
  color: var(--first-color);
  display: inline-block;
  margin-bottom: .75rem;
}
.products__empty-card p{
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

/* ====== Adicionais (cart) – visual elegante ====== */
/* ——— Cart: alinhar imagem no topo para evitar "pular" ——— */
/* ====== Adicionais (cart) – visual elegante ====== */

/* ——— Cart: alinhar imagem no topo para evitar "pular" ——— */
.cart-item{
  align-items: flex-start; /* em vez de center */
}

/* ——— Thumb de pizza meia-a-meia: corte perfeito no centro ——— */
.pizza-thumb{
  width: 48px;
  height: 48px;
  position: relative;
  border-radius: 50%;      /* círculo certinho */
  overflow: hidden;
  background: #f4e1d8;     /* fundo neutro enquanto carrega */
}

/* cada “metade” ocupa 100% e é cortada por clip-path */
.pizza-thumb .half{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* metade esquerda (imagem) */
.pizza-thumb .half.left{
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* metade direita (imagem) */
.pizza-thumb .half.right{
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

/* metade direita “em branco” quando a pizza está incompleta */
.pizza-thumb .half.right.blank{
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

/* ——— Linha com qty + botão de adicionais ——— */
.cart-actions-row{
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .35rem;
}

/* ——— Botão compacto de adicionais ——— */
.addons-toggle{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--first-color);
  color: #fff;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: var(--font-semi-bold);
  box-shadow: 0 8px 24px hsla(353,100%,40%,.25);
  transition: transform .2s, background-color .3s;
  line-height: 1;
}
.addons-toggle--sm{
  font-size: .82rem;
}
.addons-toggle i{
  font-size: 1rem;
  line-height: 0;
}
.addons-toggle:hover{
  background: var(--first-color-alt);
  transform: translateY(-1px);
}

/* ——— Painel/lista de adicionais (sem imagem) ——— */
.addons-panel{
  margin-top: .45rem;
  background: var(--container-color);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  padding: .5rem;
  box-shadow: 0 6px 18px hsla(353, 100%, 8%, .10);
}

.addons-catalog,
.addons-selected{
  list-style: none;
  margin: 0;
  padding: .25rem;
}

.addon-option,
.addon-selected{
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: .6rem;
  padding: .45rem .25rem;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.addon-option:last-child,
.addon-selected:last-child{
  border-bottom: none;
}

.addon-name{
  font-size: .6rem; /* mantém seu tamanho reduzido */
  color: var(--title-color);
}

.addon-price{
  font-family: var(--second-font);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

.btn-icon{
  background: var(--white-color);
  border: 1px solid rgba(0,0,0,.06);
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: .5rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  transition: transform .2s, background .3s;
}
.btn-icon:hover{ transform: translateY(-1px); background: #fff; }

.addon-qty .qty-value{
  width: 24px; display: inline-flex; justify-content: center;
}

.addons-empty{
  font-size: .9rem;
  color: var(--text-color-light);
  padding: .25rem .5rem;
}





