/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Titan+One&display=swap");

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

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #fffdf5;
  --first-color-dark: #fffdf5;
  --first-color-darken: hsl(170, 100%, 23%);
  --second-color: hsl(170, 100%, 28%);
  --second-color-dark: #fff;
  --white-color: #000;
  --shadow-img: drop-shadow(0 12px 24px hsla(0, 0%, 0%, .4));
  --shadow-circle: 0 12px 24px hsla(0, 0%, 0%, .4);
  --shadow-button: 0 -4px 8px hsla(0, 0%, 0%, .3);
  --shadow-card: 0 -8px 24px hsla(0, 0%, 0%, .3);
  --shadow-text: 0 2px 4px var(--first-color-darken);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Titan One", sans-serif;
  --biggest-font-size: 3.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

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

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--first-color);
  color: var(--white-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

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

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

.section {
  padding-block: 5rem 1rem;
}

.section-home {
  padding-block: 3rem 1rem;
}

.section__title {
  font: var(--font-regular) var(--h1-font-size) var(--second-font);
  text-align: center;
  margin-bottom: 1.5rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--first-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 {
  color: var(--white-color);
  font-family: var(--second-font);
  text-shadow: var(--shadow-text);
}

.nav__close, 
.nav__toggle {
  display: flex;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    background-color: var(--first-color-dark);
    width: 100%;
    height: 100%;
    padding: 7rem 1.5rem 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left .4s;
  }
}

.nav__list, 
.nav__social {
  display: flex;
}

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

.nav__link {
  color: var(--white-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__link:hover {
  color: var(--second-color);
}

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

.nav__social {
  column-gap: 1rem;
  align-self: flex-end;
}

.nav__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: color .4s;
}

.nav__social-link:hover {
  color: var(--second-color);
}

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

/* Shadow header */
.shadow-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, .15);
}

/* Active link */
.active-link {
  color: var(--second-color);
}

/*=============== HEADER & NAV RE-DISEÑADO ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--first-color-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* --- Barra Superior --- */
.header__top {
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
}

.header__top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__top-left, .header__top-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- ICONOS MISMO TAMAÑO (Redes y Carrito) --- */
.nav__social-link i, 
.header__cart i {
    font-size: 1.5rem; /* Tamaño exacto para todos */
    color: #000;
    display: block;
}

.nav__social-top {
    display: flex;
    gap: 1rem;
    padding-right: 1.5rem;
    border-right: 1px solid #eee;
}

/* --- Info Contacto --- */
.top__info-item { display: flex; align-items: center; gap: 8px; }
.t-green { color: #25D366; font-size: 1.4rem; }
.info__text { line-height: 1.1; }
.info__title { font-weight: 700; font-size: 12px; color: #000; display: block; }
.info__subtitle { font-size: 10px; color: #666; }

/* --- NAV PRINCIPAL CENTRADO --- */
.nav {
    height: 90px;
    display: flex;
    justify-content: center; /* Centrado base */
    align-items: center;
    position: relative;
}

.nav__logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav__logo-center img {
    height: 117px;
    width: auto;
}

/* --- Menu Escritorio --- */
@media screen and (min-width: 1150px) {
    .nav__toggle, .nav__close { display: none; }
    
    .nav__list {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

    /* Espaciado para que no choquen con el logo central */
    .nav__list li:nth-child(2) { margin-right: 180px; }
    .nav__list li:nth-child(3) { margin-left: 180px; }
    
    .nav__link {
        color: #000;
        font-weight: 800;
        font-size: 13px;
        text-transform: uppercase;
    }
}

/* --- MENU MÓVIL (Arreglado) --- */
@media screen and (max-width: 1150px) {
    .nav { justify-content: space-between; }
    .nav__logo-center { position: static; transform: none; }
    .hide-mobile, .nav__social-top { display: none; }

    .nav__menu {
        position: fixed;
        left: -100%;
        top: 0;
        background-color: #fff;
        width: 100%;
        height: 100%;
        padding: 6rem 2rem;
        transition: left .4s;
        display: flex;
        flex-direction: column;
        z-index: 1000;
    }

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

    .nav__link {
        color: #000;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .show-menu { left: 0; }
    
    .nav__toggle, .nav__close {
        display: flex;
        font-size: 1.5rem;
        cursor: pointer;
        color: #000;
    }
}

/* Carrito Count */
.header__cart { position: relative; }
.cart__count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 50%;
}

/*=============== HOME ===============*/
.home__container {
  padding-top: 1.5rem;
  justify-content: center;
  row-gap: 4rem;
}

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

.home__title {
  font: var(--font-regular) var(--biggest-font-size) var(--second-font);
  line-height: 100%;
  margin-bottom: 1rem;
  /* text-shadow: var(--shadow-text); */
}

.home__meat {
  width: 100px;
  position: absolute;
  top: 7rem;
  right: 0;
  opacity: .5;
}

.home__description {
  margin-bottom: 2.5rem;
}

.home__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}

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

.home__circle {
  width: 320px;
  height: 320px;
  background-color: #635b47;
  border-radius: 50%;
  box-shadow: inset var(--shadow-circle);
  display: grid;
  place-items: center;
}

.home__subcircle {
  width: 250px;
  height: 250px;
  background-color: #e0d6bd;
  border-radius: 50%;
  box-shadow: inset var(--shadow-circle);
}

.home__images .home__img {
  width: 250px;
  rotate: 10deg;
  filter: var(--shadow-img);
  position: absolute;
}

.home__images img {
  width: 60px;
  filter: var(--shadow-img);
  position: absolute;
}

.home__chips-1 {
  right: -.5rem;
}

.home__chips-2 {
  bottom: -.75rem;
  right: .5rem;
}

.home__chips-3 {
  top: .25rem;
  left: -.5rem;
}

.home__tomato-1 {
  top: -1.5rem;
  right: 2.5rem;
}

.home__tomato-2 {
  left: 3.5rem;
  bottom: -1.5rem;
}

.home__leaf {
  left: -.75rem;
}

/*=============== BUTTON ===============*/
.button {
  background-color: var(--second-color);
  color: var(--second-color-dark);
  font-weight: var(--font-semi-bold);
  padding: .75rem 2rem;
  border-radius: 4rem;
  box-shadow: inset var(--shadow-button);
}

.button__ghost {
  background-color: transparent;
  box-shadow: none;
  border: 3px solid var(--second-color);
  color: var(--second-color);
}

/*=============== FAVORITES ===============*/
.favorites__container {
  row-gap: 3rem;
  grid-template-columns: 100%;
  padding-bottom: 4rem;
}

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

.favorites__cheese-1, 
.favorites__cheese-2 {
  width: 40px;
  position: absolute;
  opacity: .6;
}

.favorites__cheese-1 {
  top: 2rem;
  right: -1rem;
  rotate: -1deg;
}

.favorites__cheese-2 {
  bottom: -2rem;
  left: -.75rem;
  transform: scaleX(-1) rotate(20px);
}

.favorites__article {
  position: relative;
  width: 200px;
  margin: 0 auto; /* ACTUALIZADO: Centra el producto en móvil */
}

.favorites__img {
  width: 200px;
  scale: .8;
  transition: scale .4s, filter .4s;
}

.favorites__leaf-1, 
.favorites__leaf-2 {
  width: 70px;
  position: absolute;
  filter: var(--shadow-img);
  scale: 0;
  transition: scale .4s .1s;
}

.favorites__leaf-1 {
  top: -1rem;
  right: -.5rem;
}

.favorites__leaf-2 {
  bottom: -1rem;
  left: -.5rem;
}

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

/*=============== SOLUCIÓN FLECHAS Y DOTS MÓVIL ===============*/

/* 1. Eliminar flechas duplicadas (iconos default de Swiper) */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important; /* Esto quita la flecha pequeña duplicada */
    content: "";
}

/* 2. Estilo de tus flechas en móvil */
.swiper-button-next,
.swiper-button-prev {
    color: var(--second-color); /* Tu amarillo */
    font-size: 2.5rem; /* Un poco más pequeñas que en desktop */
    top: 50%;
}

/* 3. Posicionamiento de los dots */
.favorites__container .swiper-pagination {
  bottom: 0rem !important;
}

/* 4. Estilo de los dots (Inactivos) */
.favorites__container .swiper-pagination-bullet {
  width: 7.5px;
  height: 7.5px;
  background-color: var(--white-color);
  opacity: .5;
  transition: all .3s ease;
}

/* 5. Estilo dot SELECCIONADO (Amarillo y Grande) */
.favorites__container .swiper-pagination-bullet-active {
  background-color: var(--second-color) !important; 
  width: 14px; /* Mismo tamaño que en desktop para resaltar */
  height: 14px;
  opacity: 1;
}

/* Animaciones de escala */
:is(.swiper-slide-active, .swiper-slide-duplicate-active) .favorites__img {
  scale: 1;
  filter: var(--shadow-img);
}

:is(.swiper-slide-active, .swiper-slide-duplicate-active) .favorites__leaf-1,
:is(.swiper-slide-active, .swiper-slide-duplicate-active) .favorites__leaf-2 {
  scale: 1;
}

/*=============== CARE ===============*/
.care {
  background-color: var(--first-color-dark);
}

.care__container {
  row-gap: 4rem;
  padding-block: 1rem 2rem;
}

.care__list {
  display: grid;
  row-gap: 1.25rem;
}

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

.care__item i {
  font-size: 1.5rem;
  color: var(--second-color);
}

/*=============== CARE IMAGES (MÓVIL - UNA DEBAJO DE OTRA) ===============*/
.care__images {
  position: relative;
  justify-self: center;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  height: 650px; /* Aumentamos la altura para que quepan una debajo de otra */
  margin-top: 2rem;
}

.care__img {
  width: 220px; /* Un poquito más grandes para que luzcan */
  position: absolute;
  border: 8px solid var(--white-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-radius: .5rem;
}

/* 1. Foto Superior */
.care__img-1 {
  top: 5%; 
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%) rotate(0deg); 
  animation: float-top 6s ease-in-out infinite;
}

/* 2. Foto del Medio */
.care__img-2 {
  top: 45%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: float-center 5s ease-in-out infinite;
}

/* 3. Foto Inferior */
.care__img-3 {
  top: 85%; /* La bajamos al final */
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: float-bottom 7s ease-in-out infinite;
}

/*=============== ANIMACIONES CON MOVIMIENTO EQUILIBRADO ===============*/

@keyframes float-top {
  0%, 100% { 
    margin-top: 0;
  }
  50% { 
    /* Movimiento elegante hacia arriba */
    margin-top: -12px; 
  }
}

@keyframes float-center {
  0%, 100% { 
    margin-top: 0;
  }
  50% { 
    /* La central se mueve un poco menos para ser el ancla visual */
    margin-top: -10px;
  }
}

@keyframes float-bottom {
  0%, 100% { 
    margin-top: 0;
  }
  50% { 
    /* La de abajo tiene un poco más de recorrido para dar dinamismo */
    margin-top: -15px;
  }
}

/*=============== VARIABLES DE CONTROL (Cálculo Matemático) ===============*/
:root {
  /* Configuración por defecto (Móvil) */
  --logo-width: 120px;
  --logo-gap: 3rem;
  /* (4 logos * ancho) + (4 espacios) */
  --scroll-width: calc((var(--logo-width) * 4) + (var(--logo-gap) * 4));
}

@media screen and (min-width: 1150px) {
  :root {
    /* Configuración para Laptop */
    --logo-width: 180px;
    --logo-gap: 8rem;
    --scroll-width: calc((var(--logo-width) * 4) + (var(--logo-gap) * 4));
  }
}

/*=============== SECCIÓN PERSONAJES FULL ===============*/
.section_personajes {
    padding: 4rem 0; /* Espacio arriba y abajo de la sección */
    overflow: hidden;
}

.personajes__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.personajes__content {
    width: 100%;
    max-width: 3000px; /* Aquí controlas qué tan gigante se ve en PC */
    display: flex;
    justify-content: center;
}

.personajes__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Animación suave de escala para que parezca que respiran */
    animation: breath 6s ease-in-out infinite;
    /* Sombra opcional muy suave para dar profundidad */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/*=============== ANIMACIÓN DE RESPIRACIÓN ===============*/
@keyframes breath {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03); /* Crece un poquito */
    }
}

/*=============== RESPONSIVE ===============*/
@media screen and (max-width: 1024px) {
    .personajes__content {
        max-width: 700px;
    }
}

@media screen and (max-width: 576px) {
    .section_personajes {
        padding: 2rem 0;
    }
    .personajes__content {
        max-width: 100%; /* En móvil que tome todo el ancho */
        padding: 0 1rem;
        margin-top: 40px;
    }
}

/*=============== BANNER REPARADO ===============*/
.banner {
  background-color: var(--second-color);
  padding-block: 2rem;
  overflow: hidden;
  width: 100%;
}

.banner_tiendas {
  padding-top: 3rem; /* Espaciado que pediste para móvil */
}

.banner__wrapper {
  display: flex;
  width: max-content;
  /* En móvil 15s es buena velocidad, en laptop puedes subirlo a 25s */
  animation: scroll-fixed 21s linear infinite;
  will-change: transform;
}

.banner__list {
  display: flex;
  align-items: center;
  column-gap: var(--logo-gap);
  padding-right: var(--logo-gap);
  flex-shrink: 0;
}

.banner__img {
  width: var(--logo-width);
  height: 50px; /* Altura constante para que no varíen */
  object-fit: contain;
  filter: brightness(0.3);
  margin-right: 5px;
}

/*=============== MEDIA QUERIES ESPECÍFICOS ===============*/
@media screen and (min-width: 1150px) {
  .banner_tiendas {
    padding-top: 10rem;
  }
  
  .banner__wrapper {
    animation-duration: 25s; /* Más lento en laptop para mayor elegancia */
  }
}

/*=============== LA ANIMACIÓN SIN ERRORES DECIMALES ===============*/
@keyframes scroll-fixed {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Se mueve exactamente la suma de logos + gaps de un bloque */
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}

/*=============== PRODUCTS ===============*/
.products__container {
  position: relative;
  /* padding-top: 1rem; */
}

.products__content {
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 1.5rem;
}

.products__card {
  position: relative;
  background-color: var(--first-color-dark);
  padding: 6.25rem .75rem 1.25rem;
  border-radius: 1rem;
  box-shadow: inset var(--shadow-card);
  z-index: 10;
}

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

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

.products__title {
  font: 140 1.2rem var(--second-font);
  margin-bottom: .5rem;
}

.products__price {
  font-family: var(--second-font);
}

.products__button {
  position: absolute;
  right: .75rem;
  bottom: 1.25rem;
  outline: none;
  border: none;
  background-color: var(--second-color);
  padding: 4px;
  border-radius: .25rem;
  font-size: 1.25rem;
  color: var(--second-color-dark);
  box-shadow: inset var(--shadow-button);
  display: inline-flex;
  cursor: pointer;
}

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

.products__crab, 
.products__hamburger, 
.products__cheese {
  position: absolute;
  width: 40px;
  opacity: .5;
}

.products__crab {
  top: -2.5rem;
  left: 0;
  rotate: 30deg;
}

.products__hamburger {
  top: 17rem;
  right: -1.5rem;
  rotate: -15deg;
}

.products__cheese {
  left: 2rem;
  right: 0;
  margin: 0 auto;
  bottom: 3rem;
  rotate: 15deg;
}

/*=============== CONTACTO FINAL PREMIUM ===============*/
.contact__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
    padding: 1rem; /* Evita que choque con los bordes en móvil */
}

/* --- TARJETA FORMULARIO --- */
.contact__form-card {
    position: relative;
    background-color: var(--first-color-dark);
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    box-shadow: inset var(--shadow-card);
    overflow: hidden;
}

.contact__title-form {
    font-size: var(--h2-font-size);
    color: #000;
    margin-bottom: 2rem;
}

/* --- ESTILOS DE INPUTS Y LABELS (Corregidos) --- */
.contact__form {
    display: grid;
    row-gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.contact__group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact__box {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
}

.contact__label {
    font-weight: 700;
    font-size: var(--small-font-size);
    color: var(--first-color-darken);
}

.contact__input {
    width: 100%;
    background-color: #eeeeee; /* El gris suave de la referencia */
    color: var(--first-color-darken);
    padding: 1.25rem;
    border-radius: 1rem;
    border: none;
    outline: none;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

/* Textarea con alto fijo */
.contact__area {
    height: 150px !important;
    max-height: 150px;
    min-height: 150px;
    resize: none;
}

/* --- BOTÓN RECARGADO --- */
.contact__button-send {
    justify-self: flex-start; /* Alineado a la izquierda */
    background-color: var(--first-color-darken);
    color: #fff;
    padding: 1.25rem 3rem;
    border-radius: 4rem;
    font-size: var(--normal-font-size);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact__button-send:hover {
    background-color: var(--second-color);
    color: var(--first-color-darken);
    transform: translateY(-3px);
}

/* --- TARJETA INFO (VERDE) --- */
.contact__info-card {
    position: relative;
    background-color: var(--first-color-dark);
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
    overflow: hidden;
    box-shadow: inset var(--shadow-card);
}

.contact__sidebar-title {
    color: #000;
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

.contact__sidebar-data p, 
.contact__social-list a i {
    color: hsl(45, 100%, 52%) !important;
}

.contact__social-list {
    display: flex;
    column-gap: 1.5rem;
    font-size: 2rem;
}

/* --- ADORNOS INTERNOS --- */
.contact__shrimp-in, .contact__crab-in, .contact__meat-in {
    position: absolute;
    width: 80px;
    opacity: .05; /* Muy sutil para que no estorbe al texto */
    pointer-events: none;
}

.contact__shrimp-in { top: 1rem; right: 1rem; rotate: 15deg; }
.contact__crab-in { bottom: 1rem; left: 1rem; rotate: -15deg; }
.contact__meat-in { bottom: 1rem; right: 1rem; rotate: 45deg; }

/* --- RESPONSIVE OPTIMIZADO --- */
@media screen and (min-width: 1024px) {
    .contact__container {
        grid-template-columns: 1.7fr 1fr;
        column-gap: 3rem;
    }
}

@media screen and (max-width: 1023px) {
    .contact__group {
        grid-template-columns: 1fr; /* En móvil uno debajo de otro */
    }
    
    .contact__button-send {
        width: 100%; /* Botón grande en móvil para el dedo */
    }
}

/* --- BANNER DINÁMICO COMPACTO --- */
.contact__banner {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* Altura reducida: 5rem arriba, 7rem abajo para el solapamiento */
    padding: 5rem 0 7rem; 
    margin-bottom: -4rem; 
    
    /* Centrado total */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact__banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
    z-index: 1;
}

.contact__banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 1.5rem; /* Margen de seguridad para mobile */
}

.contact__banner .section__title {
    color: #fff;
    font-size: 2.5rem; /* Un poco más pequeño para ser sutil */
    margin-bottom: .5rem;
    line-height: 1.2;
}

.contact__banner .contact__subtitle {
    color: #fff;
    opacity: .9;
    font-size: var(--normal-font-size);
    max-width: 500px;
    margin: 0 auto; /* Centra el bloque de texto */
}

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 768px) {
    .contact__banner {
        padding: 4rem 0 6rem; /* Aún más bajito en móvil */
        margin-bottom: -3.5rem;
    }

    .contact__banner .section__title {
        font-size: 2rem;
    }

    .contact__banner .contact__subtitle {
        font-size: var(--small-font-size);
        padding: 0 1rem;
    }
    .contact__banner{
      padding-top: 120px;
    }
}

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

.footer__container {
  row-gap: 2rem;
}

.footer__logo {
  color: var(--white-color);
  font: var(--h1-font-size) var(--second-font);
  justify-self: center;
  text-shadow: var(--shadow-text);
}

.footer__content {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  row-gap: 3.5rem;
}

.footer__copy {
  grid-column: 1/3;
  text-align: center;
}

.footer__link {
  color: var(--white-color);
  transition: color .4s;
}

.footer__link:hover {
  color: var(--second-color);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background-color: hsl(170, 50%, 30%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(170, 50%, 20%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(170, 50%, 15%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--first-color-dark);
  color: var(--white-color);
  box-shadow: inset var(--shadow-button);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: .25rem;
  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: 340px) {
  .container {
    margin-inline: 1rem;
  }

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

  .home__title {
    font-size: 3rem;
  }
  .home__buttons {
    flex-direction: column;
    row-gap: 1rem;
  }
  .home__circle {
    width: 250px;
    height: 250px;
  }
  .home__subcircle {
    width: 200px;
    height: 200px;
  }
  .home__images .home__img {
    width: 200px;
  }

  .products__content {
    grid-template-columns: 160px;
    justify-content: center;
  }

  .footer__content {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 1.5rem;
  }
  .footer__copy {
    grid-column: 1;
  }
}


/* For medium devices */
@media screen and (min-width: 540px) {
  .home__container,
  .favorites__container,
  .care__container {
    grid-template-columns: 370px;
    justify-content: center;
  }

.favorites__swiper {
    max-width: 600px;
    overflow-x: clip;
    justify-self: center;
    padding-bottom: 4rem; /* Espacio para los dots */
  }

.favorites__container .swiper-pagination {
  bottom: -3rem;
}

/* Posicionamiento de los dots */
.swiper-pagination {
    bottom: 0; /* Los baja al puro borde del contenedor */
}

  /* Estilo general de los dots (inactivos) */
  .swiper-pagination-bullet {
    width: 7.5px;
    height: 7.5px;
    background-color: var(--white-color); /* O un color grisáceo */
    opacity: 0.5;
    transition: all .3s ease; /* Suaviza el cambio de tamaño */
  }

.swiper-pagination-bullet-active {
    background-color: hsl(45, 100%, 52%) !important;
    opacity: 1;
    width: 14px; /* Aumentamos el ancho */
    height: 14px; /* Aumentamos el alto */
    transform: translateY(2px); /* Alineación visual opcional */
  }

/* Limpiar flechas extra si Swiper genera las default por error */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: ''; /* Borra la flecha fea que viene por defecto en Swiper */
}

.swiper-button-next{
  padding-left: 20px !important;
}

.swiper-button-prev{
  padding-right: 20px !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--first-color-dark);
    font-size: 4rem;
    top: 50%;
    color: hsl(45, 100%, 52%);;
}

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

  .contact {
    display: grid;
    grid-template-columns: 450px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .products__content {
    grid-template-columns: repeat(3, 160px);
  }

  .contact {
    grid-template-columns: 550px;
  }

  .footer__content {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    align-items: center;
  }
  .footer__copy {
    grid-column: initial;
  }
  .footer__link:nth-child(2) {
    order: 1;
  }
}

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

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

  .section_products{
    padding-block: 10rem 2rem;
  }
  .section__title {
    margin-bottom: 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__toggle, 
  .nav__close {
    display: none;
  }
  .nav__link {
    font-size: var(--normal-font-size);
  }
  .nav__menu {
    display: flex;
    column-gap: 3rem;
    align-items: center;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }

  .home__container {
    grid-template-columns: 420px 585px;
    align-items: center;
    column-gap: 6rem;
    padding-top: 5rem;
  }
  .home__data {
    text-align: initial;
  }
  .home__title {
    margin-bottom: 1.5rem;
  }
  .home__description {
    margin-bottom: 1.5rem;
  }
  .home__buttons {
    justify-content: initial;
    column-gap: 1.5rem;
  }
  .home__meat {
    width: 170px;
    top: 10.5rem;
  }
  .home__circle {
    width: 550px;
    height: 550px;
  }
  .home__subcircle {
    width: 430px;
    height: 430px;
  }
  .home__images .home__img {
    width: 400px;
  }
  .home__images img {
    width: 95px;
  }

  .favorites__container {
    grid-template-columns: 520px;
    row-gap: 1.5rem;
  }
  .favorites__cheese-1, 
  .favorites__cheese-2 {
    width: 200px;
  }
  .favorites__cheese-1 {
    right: -18rem;
  }
  .favorites__cheese-2 {
    left: -18rem;
  }
  .favorites__swiper {
    max-width: 1000px;
  }

  .favorites__article, 
  .favorites__img {
    width: 320px;
  }
  .favorites__leaf-1, 
  .favorites__leaf-2 {
    width: 110px;
  }

/* For large devices (Laptops) */
@media screen and (min-width: 1150px) {
  .care__container {
    grid-template-columns: 610px 520px;
    column-gap: 6rem;
    align-items: center;
    /* padding-block: 4rem; */
  }

  /* Ajustamos el contenedor del collage para laptop */
  .care__images {
    width: 500px;
    height: 550px; /* Más altura para que el escalonado sea más elegante */
    order: -1;     /* Mantiene las imágenes a la izquierda */
    justify-self: center;
  }

  /* Redimensionamos las imágenes para que luzcan en pantalla grande */
  .care__img {
    width: 300px; /* Imágenes más grandes en laptop */
    border-width: 10px; /* Borde más grueso para mantener el estilo Polaroid */
  }

  /* Reposicionamos las fotos para que se vean más separadas y claras */
  .care__img-1 {
    top: 25%;
    left: 35%;
    transform: translate(-50%, -50%) rotate(-5deg);
  }

  .care__img-2 {
    top: 70%;
    left: 94%;
    transform: translate(-50%, -50%) rotate(6deg);
    /* No tocamos el translate aquí porque ya viene de la animación central */
  }

  .care__img-3 {
    top: 105%;
    left: 35%;
    transform: translate(-50%, -50%) rotate(-5deg);
  }

  .care__item {
    column-gap: 1rem;
  }
  
  .care__item i {
    font-size: 2rem;
  }
}

  /* .banner {
    padding-top: 10rem;
  }
  .banner__list {
    column-gap: 6.5rem;
  }
  .banner__item {
    column-gap: 1rem;
  }
  .banner__item i {
    font-size: 4.5rem;
  }
  .banner__item span {
    font-size: var(--h1-font-size);
  } */

:root {
  /* Definimos medidas exactas para que no haya errores de redondeo */
  --logo-width: 180px; 
  --logo-gap: 80px;
  /* Calculamos el ancho de una lista: (4 logos * ancho) + (4 espacios) */
  --scroll-width: calc((var(--logo-width) * 4) + (var(--logo-gap) * 4));
}

.banner {
  background-color: var(--second-color);
  padding-block: 2.5rem;
  overflow: hidden;
  width: 100%;
}

.banner_tiendas{
  padding-top: 10rem;
}

.banner__wrapper {
  display: flex;
  width: max-content;
  /* Usamos 25s para que sea elegante */
  animation: scroll-fixed 27s linear infinite;
}

.banner__list {
  display: flex;
  align-items: center;
  column-gap: var(--logo-gap);
  padding-right: var(--logo-gap); /* Sincronizado con el gap */
  flex-shrink: 0;
}

.banner__img {
  width: var(--logo-width);
  height: 40px; /* Altura fija para que todos tengan presencia */
  object-fit: contain;
  margin-right: 20px;
  filter: brightness(0.3);
}

/* LA ANIMACIÓN CON PÍXELES EXACTOS */
@keyframes scroll-fixed {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Nos movemos exactamente el ancho de una lista en píxeles */
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}

  .products__container {
    padding-top: 5.5rem;
  }
  .products__content {
    grid-template-columns: repeat(3, 250px);
    gap: 4rem 4rem;
  }
  .products__card {
    padding: 15rem 2rem 2rem;
    border-radius: 1.5rem;
  }
  .products__img {
    width: 135px;
    top: 1rem;
  }
  .products__subtitle {
    font-size: var(--normal-font-size);
  }
  .products__price {
    font-size: var(--h3-font-size);
  }
  .products__button {
    right: 1rem;
    bottom: 2rem;
    padding: 6px;
    font-size: 1.5rem;
    border-radius: .5rem;
  }
  .products__crab, 
  .products__hamburger, 
  .products__cheese {
    width: 80px;
  }
  .products__crab {
    top: 2rem;
  }
  .products__hamburger {
    top: 30rem;
    right: 3rem;
  }
  .products__cheese {
    left: 4rem;
    margin: initial;
  }

  .contact {
    display: block;
  }
  .contact__container {
    padding-top: 80px;
    border-radius: 4rem;
  }
  .contact__content {
    grid-template: 330px/360px 320px;
    justify-content: center;
    align-items: flex-start;
    column-gap: 10rem;
    padding-top: 2rem;
  }
  .contact__data {
    text-align: initial;
    grid-template: max-content/repeat(2, max-content);
    gap: 3rem 2rem;
  }
  .contact__title {
    margin-bottom: .75rem;
  }
  .contact__social {
    justify-content: initial;
  }
  .contact__img {
    width: 320px;
    transform: translateY(-6rem);
  }
  .contact__shrimp, 
  .contact__crab, 
  .contact__meat {
    width: 80px;
  }
  .contact__shrimp {
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 20rem;
  }
  .contact__crab {
    top: 5rem;
    left: 4rem;
  }
  .contact__meat {
    right: initial;
    left: 12rem;
    bottom: -1rem;
  }

  .footer {
    padding-block: 1rem 3rem;
  }
  .footer__container {
    row-gap: 3rem;
  }

  .scrollup {
    right: 3rem;
  }
}

/* Layout interno de la vista productos */
.shop__wrapper {
    display: grid;
    grid-template-columns: 260px 1fr; /* Espacio para el filtro a la izquierda */
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

/* Tarjeta de Filtros */
.filter__card {
    background-color: var(--first-color-dark);
    box-shadow: inset var(--shadow-card);
    padding: 1.5rem;
    border-radius: 1.5rem;

}

.filter__main-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 2rem;
}

.filter__group {
    margin-bottom: 1.5rem;
}

.filter__subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

/* Estilo de cada item del filtro */
.filter__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

/* Estilos para los cuadraditos (Checkboxes) */
.filter__checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #25D366; /* El verde Simbiose cuando lo marcan */
}

/* Estilos para el texto al lado del cuadradito */
.filter__label {
    font-size: 0.95rem;
    color: #4a5568; /* Un gris elegante */
    cursor: pointer;
    transition: .3s;
    font-weight: 500;
}

.filter__label:hover {
    color: #25D366; /* Cambia a verde al pasar el mouse */
}

/* Para que el cuadradito y el texto estén bien alineados */
.filter__item {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre el cuadro y el texto */
    margin-bottom: 0.8rem;
}

/* Títulos de los grupos de filtros */
.filter__subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 1.5rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media screen and (max-width: 968px) {
    .shop__wrapper {
        grid-template-columns: 1fr;
    }
    .shop__sidebar{
      margin-bottom: 50px;
    }
    .filter__card{
      margin-top: 4rem;
    }
}