/* ---- Reset mínimo ---- */
.la-header *,
.la-header,
.la-hero-wrap *,
.la-hero-wrap,
.la-cats-wrap *,
.la-cats-wrap,
.la-product-grid-wrap *,
.la-product-grid-wrap,
.la-footer *,
.la-footer {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ======================================================
     HERO SLIDER
  ====================================================== */
.la-hero-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0d0d0d;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
}

/* Track que se desplaza */
.la-slider-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

/* Cada slide */
.la-slide {
  min-width: 100%;
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Imagen de fondo del slide */
.la-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.55;
}

/* Degradado negro izquierda → transparente */
.la-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 35%, rgba(0, 0, 0, 0.10) 53%);
}

/* Contenido textual */
.la-slide-content {
  position: relative;
  z-index: 2;
  padding: 40px 60px;
  max-width: 560px;
}

.la-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 6px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.la-badge svg {
  flex-shrink: 0;
}

.la-slide-tag {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.la-slide-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.la-slide-title span {
  color: #D32828;
}

.la-slide-sub {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.la-slide-sub span {
  color: #D32828;
}

.la-slide-price {
  font-size: clamp(13px, 1.5vw, 15px);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.la-btn {
  display: inline-block;
  background: #D32828;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.la-btn:hover {
  background: #c0101f;
  transform: translateY(-2px);
}

/* ---- Flechas de navegación ---- */
.la-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 18px;
  line-height: 1;
  user-select: none;
}

.la-arrow:hover {
  background: rgba(232, 25, 44, 0.7);
}

.la-arrow-prev {
  left: 16px;
}

.la-arrow-next {
  right: 16px;
}

/* ---- Dots ---- */
.la-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.la-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.la-dot.active {
  background: #D32828;
  transform: scale(1.35);
}

/* ======================================================
     CATEGORÍAS
  ====================================================== */
.la-cats-wrap {
  width: 100%;
  background: #ffffff;
  padding: 28px 16px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-top: 1px solid #f0f0f0;
}

.la-cats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  max-width: 820px;
  margin: 0 auto;
}

.la-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  min-width: 90px;
}

.la-cat-item:hover {
  background: #fef0f2;
  transform: translateY(-3px);
}

.la-cat-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #f0f0f0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(232, 25, 44, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.la-cat-item:hover .la-cat-icon {
  border-color: #D32828;
  box-shadow: 0 4px 14px rgba(232, 25, 44, 0.18);
}

.la-cat-icon svg {
  width: 24px;
  height: 24px;
  color: #D32828;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.la-cat-label {
  font-size: 12px;
  font-weight: 700;
  color: #2d2d2d;
  letter-spacing: 0.3px;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .la-slide {
    height: 260px;
  }

  .la-slide-content {
    padding: 24px 24px;
  }

  .la-slide-title {
    font-size: 26px;
  }

  .la-cat-item {
    min-width: 72px;
    padding: 10px 10px;
  }

  .la-cat-label {
    font-size: 11px;
  }
}

/* ======================================================
   PRODUCT GRID
====================================================== */
.la-product-grid-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.la-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  /* Spacing between rows */
}

.la-product-card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  /* Matches the tall vertical aspect in the image */
  text-decoration: none;
  background-color: #0d0d0d;
}

.la-product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.la-product-card:hover .la-product-card-img {
  transform: scale(1.03);
}

/* Gradient shadow for text readability */
.la-product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.la-product-card-text {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .la-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .la-product-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .la-product-card-text {
    font-size: 18px;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
}

/* ======================================================
   HEADER
====================================================== */
.la-header {
  background-color: #D32828;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0px, rgba(0, 0, 0, 0.04) 3px, transparent 3px, transparent 8px);
  width: 100%;
  position: sticky;
  top: 0;
  font-family: \'Montserrat\', Arial, sans-serif;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.la-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.la-logo-link {
  display: block;
}

.la-logo {
  height: 48px;
  /* Ajustar según sea necesario */
  width: auto;
  object-fit: contain;
}

/* Hamburger */
.la-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.la-hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.la-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.la-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.la-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menu Desplegable */
.la-nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #D32828;
  width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 999;
}

.la-nav-menu.active {
  display: block;
}

.la-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.la-nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.la-nav-list li:last-child {
  border-bottom: none;
}

.la-nav-list a {
  display: block;
  padding: 16px 24px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}

.la-nav-list a:hover {
  background-color: #b02020;
}

/* ======================================================
   FOOTER
====================================================== */
.la-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
}

.la-footer-col {
  background-color: #222222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.la-footer-col:last-child {
  border-right: none;
}

.la-footer-col.la-footer-red {
  background-color: #D32828;
}

.la-footer-icon {
  width: 32px;
  height: 32px;
  color: #fff;
}

.la-footer-col span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.la-footer-socials {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.la-footer-icon-social {
  width: 24px;
  height: 24px;
  color: #fff;
  cursor: pointer;
}

.la-footer-copy {
  font-size: 12px !important;
  font-weight: 400 !important;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .la-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .la-footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 500px) {
  .la-footer {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   MOBILE OPTIMIZATIONS
====================================================== */
@media (max-width: 640px) {

  /* Header */
  .la-header-inner {
    padding: 10px 16px;
  }

  .la-logo {
    height: 36px;
  }

  /* Slider */
  .la-slide {
    height: 350px;
    align-items: flex-end;
  }

  .la-slide::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  }

  .la-slide-content {
    padding: 24px 16px 45px 16px;
    /* extra bottom padding for dots */
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .la-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .la-arrow {
    display: none;
  }

  /* Hide arrows on mobile, swipe is better */
  .la-slide-title {
    font-size: 26px;
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .la-slide-sub {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .la-slide-price {
    margin-bottom: 16px;
  }

  .la-cat-label {
    font-size: 10px;
  }

  .la-cat-icon {
    width: 40px;
    height: 40px;
  }

  .la-btn {
    width: 100%;
    max-width: 280px;
    padding: 16px;
  }

  /* Categorías horizontales */
  .la-cats-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .la-cats-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
  }

  .la-cat-item {
    scroll-snap-align: start;
    min-width: 85px;
    flex-shrink: 0;
  }
}