/* ==========================================================================
   VARIABLES DE IDENTIDAD VISUAL — DECO DETALLES
   ========================================================================== */
:root {
  --color-petroleo: #3D5A5E;
  --color-petroleo-oscuro: #2F474A;
  --color-terracota: #B85A3A;
  --color-terracota-hover: #9E4A2E;
  --color-crema: #F5F0E6;
  --color-crema-suave: #FAF7F2;
  --color-arena: #EBE2D3;
  --color-texto: #4A4A4A;
  --color-salvia: #7FA287;
  --color-borde: rgba(61, 90, 94, 0.16);

  --fuente-titulos: 'Lora', Georgia, 'Times New Roman', serif;
  --fuente-cuerpo: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --sombra-suave: 0 8px 24px rgba(61, 90, 94, 0.08);
  --sombra-media: 0 12px 30px rgba(61, 90, 94, 0.15);
  --radio-tarjeta: 16px;
  --transicion-suave: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET Y CONFIGURACIÓN BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* Desplazamiento suave entre secciones (Funcionalidad 6) */
  font-size: 16px;
}

body {
  font-family: var(--fuente-cuerpo);
  color: var(--color-texto);
  background-color: var(--color-crema);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
a,
textarea {
  font-family: inherit;
}

.contenedor {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   BOTONES Y ANIMACIONES SUAVES (Funcionalidad 6)
   ========================================================================== */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transicion-suave);
}

.boton--primario {
  background-color: var(--color-terracota);
  color: var(--color-crema);
  box-shadow: 0 4px 14px rgba(184, 90, 58, 0.28);
}

.boton--primario:hover {
  background-color: var(--color-terracota-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 90, 58, 0.36);
}

.boton--secundario {
  background-color: var(--color-petroleo);
  color: var(--color-crema);
  padding: 0.7rem 1.35rem;
  font-size: 0.9rem;
}

.boton--secundario:hover {
  background-color: var(--color-petroleo-oscuro);
  transform: translateY(-2px);
}

.boton--whatsapp {
  width: 100%;
  background-color: var(--color-terracota);
  color: var(--color-crema);
}

.boton--whatsapp:hover:not(:disabled) {
  background-color: var(--color-terracota-hover);
  transform: translateY(-2px);
}

.boton--whatsapp:disabled {
  background-color: #B9B2A8;
  cursor: not-allowed;
  opacity: 0.75;
}

.boton--texto {
  width: 100%;
  background: transparent;
  color: var(--color-texto);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  text-decoration: underline;
}

.boton--texto:hover:not(:disabled) {
  color: var(--color-terracota);
}

.boton--texto:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ==========================================================================
   ENCABEZADO Y MENÚ DE NAVEGACIÓN (Funcionalidad 1)
   ========================================================================== */
.encabezado {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(245, 240, 230, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-borde);
}

.encabezado__contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  gap: 1rem;
}

.marca {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.marca__logo {
  width: 78px;
  height: auto;
  flex-shrink: 0;
}

.marca__texto {
  display: flex;
  flex-direction: column;
}

.marca__eslogan {
  font-family: var(--fuente-titulos);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-petroleo);
  line-height: 1.2;
}

.marca__adorno {
  width: 170px;
  height: 20px;
  margin-top: 2px;
}

/* Menú horizontal en escritorio */
.nav-escritorio__lista {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav__enlace {
  text-decoration: none;
  color: var(--color-petroleo);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
  position: relative;
  transition: var(--transicion-suave);
}

.nav__enlace::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-terracota);
  transition: width 0.28s ease;
}

.nav__enlace:hover {
  color: var(--color-terracota);
}

.nav__enlace:hover::after {
  width: 100%;
}

/* Botón hamburguesa (visible en móvil/tablet) */
.boton-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid var(--color-petroleo);
  border-radius: 10px;
  padding: 0 9px;
  cursor: pointer;
  transition: var(--transicion-suave);
}

.boton-menu:hover {
  background-color: rgba(61, 90, 94, 0.08);
}

.boton-menu__linea {
  width: 100%;
  height: 2.2px;
  background-color: var(--color-petroleo);
  border-radius: 2px;
  transition: var(--transicion-suave);
}

/* Menú desplegable móvil */
.menu-movil {
  background-color: var(--color-crema-suave);
  border-bottom: 1px solid var(--color-borde);
  padding: 0.75rem 1.25rem 1.25rem;
}

.menu-movil[hidden] {
  display: none;
}

.menu-movil__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-movil__enlace {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-petroleo);
  font-weight: 600;
  transition: var(--transicion-suave);
}

.menu-movil__enlace:hover {
  background-color: var(--color-arena);
  color: var(--color-terracota);
}

/* ==========================================================================
   PORTADA / HERO
   ========================================================================== */
.hero {
  background: linear-gradient(90deg, var(--color-crema) 0%, var(--color-arena) 100%);
  border-bottom: 1px solid var(--color-borde);
  padding: 2.25rem 0;
}

.hero__contenedor {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 2rem;
}

.hero__titulo {
  font-family: var(--fuente-titulos);
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  font-weight: 700;
  color: var(--color-petroleo);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__subtitulo {
  font-size: 1.05rem;
  color: var(--color-texto);
  margin-bottom: 1.65rem;
  max-width: 48ch;
}

.hero__imagen-marco {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra-media);
  background-color: var(--color-arena);
  min-height: 290px;
}

.hero__imagen {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: cover;
}

/* ==========================================================================
   ENCABEZADOS DE SECCIÓN DECORATIVOS
   ========================================================================== */
.seccion {
  padding: 3.25rem 0;
}

.encabezado-seccion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.encabezado-seccion__linea {
  flex: 1;
  max-width: 190px;
  height: 1px;
  background-color: rgba(61, 90, 94, 0.25);
}

.encabezado-seccion__rama {
  width: 52px;
  height: 24px;
  flex-shrink: 0;
}

.encabezado-seccion__rama--derecha {
  transform: scaleX(-1);
}

.encabezado-seccion__titulo {
  font-family: var(--fuente-titulos);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  color: var(--color-petroleo);
  text-align: center;
  font-weight: 700;
}

/* ==========================================================================
   NUESTRAS CATEGORÍAS (Fiel al mockup: 4 arriba, 3 abajo)
   ========================================================================== */
.categorias__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem;
}

.tarjeta-categoria {
  position: relative;
  width: calc(25% - 1.05rem);
  min-width: 220px;
  background-color: var(--color-crema-suave);
  border: 2px solid transparent;
  border-radius: var(--radio-tarjeta);
  padding: 0.55rem 0.55rem 1.15rem;
  box-shadow: var(--sombra-suave);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transicion-suave);
}

.tarjeta-categoria:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-media);
  border-color: var(--color-salvia);
}

.tarjeta-categoria.activa {
  border-color: var(--color-terracota);
  background-color: #FFFDF9;
}

.tarjeta-categoria__imagen {
  width: 100%;
  height: 145px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-arena), #DFD3C1);
}

.tarjeta-categoria__imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tarjeta-categoria:hover .tarjeta-categoria__imagen img {
  transform: scale(1.05);
}

.tarjeta-categoria__etiqueta {
  margin-top: -18px;
  position: relative;
  z-index: 2;
  background-color: var(--color-petroleo);
  color: var(--color-crema);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.42rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  transition: var(--transicion-suave);
}

.tarjeta-categoria:hover .tarjeta-categoria__etiqueta,
.tarjeta-categoria.activa .tarjeta-categoria__etiqueta {
  background-color: var(--color-terracota);
}

/* ==========================================================================
   PRODUCTOS DESTACADOS — FILTROS Y CARRUSEL (Funcionalidades 2 y 3)
   ========================================================================== */
.destacados {
  background-color: var(--color-crema-suave);
  border-top: 1px solid var(--color-borde);
  border-bottom: 1px solid var(--color-borde);
}

.filtros-barra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.filtros-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.filtro-pill {
  background-color: var(--color-crema);
  color: var(--color-petroleo);
  border: 1.5px solid var(--color-borde);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion-suave);
}

.filtro-pill:hover {
  border-color: var(--color-petroleo);
  background-color: var(--color-arena);
}

.filtro-pill.activo {
  background-color: var(--color-petroleo);
  color: var(--color-crema);
  border-color: var(--color-petroleo);
}

.filtros-estado {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--color-texto);
}

.boton-ver-todos {
  background-color: transparent;
  color: var(--color-terracota);
  border: 1.5px solid var(--color-terracota);
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion-suave);
}

.boton-ver-todos:hover {
  background-color: var(--color-terracota);
  color: var(--color-crema);
}

/* Carrusel */
.carrusel-contenedor {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carrusel-ventana {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 0.5rem 0.15rem 1rem;
}

.carrusel-ventana::-webkit-scrollbar {
  display: none;
}

.carrusel-pista {
  display: flex;
  gap: 1.25rem;
}

.tarjeta-producto {
  flex: 0 0 calc((100% - 2.5rem) / 3); /* 3 tarjetas visibles en escritorio */
  background-color: #FFFFFF;
  border: 1px solid var(--color-borde);
  border-radius: var(--radio-tarjeta);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  display: flex;
  flex-direction: column;
  transition: var(--transicion-suave);
}

.tarjeta-producto:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-media);
}

.tarjeta-producto__imagen-caja {
  position: relative;
  height: 190px;
  background: linear-gradient(135deg, var(--color-arena), #E3D6C3);
  overflow: hidden;
}

.tarjeta-producto__imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tarjeta-producto__categoria {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(61, 90, 94, 0.92);
  color: var(--color-crema);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.tarjeta-producto__cuerpo {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tarjeta-producto__nombre {
  font-family: var(--fuente-titulos);
  font-size: 1.22rem;
  color: var(--color-petroleo);
  margin-bottom: 0.45rem;
}

.tarjeta-producto__descripcion {
  font-size: 0.92rem;
  color: var(--color-texto);
  margin-bottom: 0.9rem;
  flex: 1;
}

.tarjeta-producto__aviso {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-petroleo);
  background-color: var(--color-crema);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 0.95rem;
}

.tarjeta-producto__boton {
  width: 100%;
  padding: 0.72rem 1rem;
  font-size: 0.9rem;
}

/* Flechas del carrusel */
.carrusel-flecha {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-petroleo);
  background-color: var(--color-crema);
  color: var(--color-petroleo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transicion-suave);
}

.carrusel-flecha:hover:not(:disabled) {
  background-color: var(--color-petroleo);
  color: var(--color-crema);
}

.carrusel-flecha:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

/* ==========================================================================
   SOBRE NOSOTROS
   ========================================================================== */
.sobre-nosotros {
  background-color: var(--color-crema);
}

.sobre-nosotros__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.sobre-nosotros__imagen-caja {
  min-height: 340px;
  background-color: var(--color-arena);
  overflow: hidden;
}

.sobre-nosotros__imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-nosotros__contenido {
  position: relative;
  padding: 3.2rem 2.8rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.sobre-nosotros__titulo {
  font-family: var(--fuente-titulos);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  color: var(--color-petroleo);
  line-height: 1.25;
  margin-bottom: 1.1rem;
  max-width: 24ch;
}

.sobre-nosotros__parrafo {
  font-size: 1rem;
  color: var(--color-texto);
  margin-bottom: 1.75rem;
  max-width: 46ch;
}

.sobre-nosotros__rama {
  position: absolute;
  right: 8px;
  top: 24px;
  width: 85px;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}

.sobre-nosotros__corazon {
  position: absolute;
  right: 16px;
  bottom: 10px;
  width: 190px;
  height: auto;
  pointer-events: none;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contacto {
  padding: 2.25rem 0 3rem;
}
.contacto__tarjeta {
  background-color: var(--color-arena);
  border: 1px solid var(--color-borde);
  border-radius: 22px;
  padding: 1.4rem 2rem; /* Un poco menos alto */
  display: flex;
  flex-direction: column; /* Apila el texto arriba y los íconos abajo de forma prolija */
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  width: fit-content; /* Ajusta el ancho del rectángulo exactamente al contenido */
  max-width: 100%;
  margin: 0 auto; /* Lo centra en la página */
}

.contacto__titulo {
  font-family: var(--fuente-titulos);
  font-size: 1.45rem;
  color: var(--color-petroleo);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contacto__subtexto {
  font-size: 0.94rem;
  color: var(--color-texto);
}
.contacto__divisor {
  display: none; /* Oculta la línea vertical que quedaba suelta */
}


.contacto__acciones {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.contacto__canal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--color-petroleo);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transicion-suave);
}

.contacto__canal:hover {
  color: var(--color-terracota);
  transform: translateY(-2px);
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer {
  background-color: var(--color-petroleo);
  color: var(--color-crema);
  padding: 1.75rem 0;
}

.footer__contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__marca {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__logo {
  width: 66px;
  height: auto;
  background-color: var(--color-crema);
  border-radius: 50%;
  padding: 4px;
}

.footer__separador {
  width: 1px;
  height: 28px;
  background-color: rgba(245, 240, 230, 0.35);
}

.footer__nombre {
  font-family: var(--fuente-titulos);
  font-size: 1.2rem;
  font-weight: 600;
}

.footer__eslogan {
  font-family: var(--fuente-titulos);
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.92;
}

.footer__rama {
  width: 105px;
  height: auto;
}

/* ==========================================================================
   CARRITO FLOTANTE Y PANEL LATERAL (Funcionalidades 4, 5 y 6)
   ========================================================================== */
.carrito-flotante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-terracota);
  color: var(--color-crema);
  border: 2px solid var(--color-crema);
  box-shadow: 0 10px 25px rgba(61, 90, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transicion-suave);
}

.carrito-flotante:hover {
  background-color: var(--color-terracota-hover);
  transform: scale(1.06);
}

.carrito-flotante__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: var(--color-petroleo);
  color: var(--color-crema);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-crema);
}

.carrito-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(34, 49, 51, 0.48);
  z-index: 990;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carrito-overlay.visible {
  opacity: 1;
}

.carrito-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 410px;
  height: 100dvh;
  background-color: var(--color-crema-suave);
  z-index: 1000;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.carrito-panel.abierto {
  transform: translateX(0);
}

.carrito-panel__cabecera {
  background-color: var(--color-petroleo);
  color: var(--color-crema);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.carrito-panel__titulo {
  font-family: var(--fuente-titulos);
  font-size: 1.25rem;
}

.carrito-panel__subtitulo {
  font-size: 0.8rem;
  opacity: 0.85;
}

.carrito-panel__cerrar {
  background: transparent;
  border: none;
  color: var(--color-crema);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.45rem;
  border-radius: 8px;
  transition: var(--transicion-suave);
}

.carrito-panel__cerrar:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.carrito-panel__cuerpo {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.carrito-vacio {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--color-texto);
}

.carrito-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #FFFFFF;
  border: 1px solid var(--color-borde);
  border-radius: 12px;
  padding: 0.75rem;
}

.carrito-item__img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background-color: var(--color-arena);
  flex-shrink: 0;
}

.carrito-item__info {
  flex: 1;
  min-width: 0;
}

.carrito-item__nombre {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-petroleo);
  margin-bottom: 0.15rem;
}

.carrito-item__cat {
  font-size: 0.78rem;
  color: var(--color-texto);
  margin-bottom: 0.45rem;
}

.carrito-item__controles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carrito-item__btn-cant {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--color-borde);
  background-color: var(--color-crema);
  color: var(--color-petroleo);
  font-weight: 700;
  cursor: pointer;
}

.carrito-item__btn-cant:hover {
  background-color: var(--color-arena);
}

.carrito-item__cantidad {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.carrito-item__quitar {
  background: transparent;
  border: none;
  color: var(--color-terracota);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem;
}

.carrito-item__quitar:hover {
  text-decoration: underline;
}

.carrito-panel__pie {
  border-top: 1px solid var(--color-borde);
  background-color: var(--color-crema);
  padding: 1rem 1.35rem 1.25rem;
}

.carrito-panel__resumen {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.96rem;
  color: var(--color-petroleo);
}

.carrito-panel__mensaje-caja {
  margin-bottom: 0.85rem;
}

.carrito-panel__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-texto);
  margin-bottom: 0.35rem;
}

.carrito-panel__textarea {
  width: 100%;
  border: 1px solid var(--color-borde);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font-size: 0.84rem;
  color: var(--color-texto);
  background-color: #FFFFFF;
  resize: vertical;
}

.carrito-panel__botones {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ==========================================================================
   DISEÑO RESPONSIVO (Tablets y Celulares)
   ========================================================================== */
@media (max-width: 960px) {
  .tarjeta-categoria {
    width: calc(50% - 0.75rem);
  }

  .tarjeta-producto {
    flex: 0 0 calc((100% - 1.25rem) / 2); /* 2 tarjetas visibles en tablet */
  }

  .sobre-nosotros__grid {
    grid-template-columns: 1fr;
  }

  .contacto__divisor {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-escritorio {
    display: none;
  }

  .boton-menu {
    display: flex;
  }

  .marca__logo {
    width: 64px;
  }

  .marca__eslogan {
    font-size: 1rem;
  }

  .marca__adorno {
    width: 135px;
  }

  .hero__contenedor {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .tarjeta-categoria {
    width: 100%;
    max-width: 380px;
  }

  .tarjeta-producto {
    flex: 0 0 100%; /* 1 tarjeta visible en celular */
  }

  .carrusel-flecha {
    width: 38px;
    height: 38px;
  }

  .sobre-nosotros__contenido {
    padding: 2.25rem 1.5rem 3.5rem;
  }

  .contacto__tarjeta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem;
  }
}
