.tienda-home-mockup {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.tienda-home-mockup section {
  margin-top: 2rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head.center {
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.section-head p {
  color: #64748b;
  max-width: 560px;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
}

.mini-link:hover {
  border-color: #94a3b8;
}

.hero-slider-section {
  margin-top: calc(var(--header-height) + 0.9rem) !important;
  padding: 0 !important;
}

.hero-slider {
  min-height: 920px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.mockup-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 100%;
  padding: 1rem;
}

.hero-left-stack {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
}

.hero-main-card,
.hero-mini-card,
.hero-right-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.hero-main-card {
  padding: clamp(1rem, 2.6vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main-card h1 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
  color: #020617;
}

.hero-main-card p {
  color: #64748b;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.75rem;
}

.hero-cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff;
  background: #0f172a;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-weight: 600;
}

.hero-cta:hover {
  background: #020617;
}

.hero-mini-card {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 0.8rem;
  padding: 1rem;
  align-items: end;
}

.hero-mini-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.hero-mini-card p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.hero-mini-card strong {
  font-size: 1.05rem;
  color: #0f172a;
}

.hero-mini-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-right-card {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 1rem;
}

.hero-right-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-right-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
}

.hero-right-caption h3 {
  font-size: 1.2rem;
  color: #0f172a;
}

.hero-right-caption strong {
  font-size: 1.1rem;
  color: #0f172a;
}

.slider-indicators {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
}

.indicator.active {
  background: #0f172a;
}

.categories-showcase {
  padding: 0.8rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(160px, auto));
  gap: 1rem;
}

.category-large,
.category-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.category-large {
  grid-row: 1 / span 2;
  min-height: 420px;
}

.category-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-content {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.95rem;
}

.category-content h3 {
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.category-content p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.category-btn {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 0.52rem 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.category-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.category-card h3 {
  font-size: 1.18rem;
}

.category-card p {
  color: #64748b;
  margin: 0.3rem 0 0.8rem;
}

.category-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.best-seller-section,
.news-section,
.testimonials-section,
.newsletter-section {
  padding: 0.6rem 0;
}

.best-seller-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.news-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.news-card.publicidad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  animation: publicidadFloat 1.6s ease-in-out infinite;
}

@keyframes publicidadFloat {
  0% { transform: translateY(-5px); }
  50% { transform: translateY(-9px); }
  100% { transform: translateY(-5px); }
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card h3 {
  font-size: 1.08rem;
  padding: 0.9rem 0.9rem 0.3rem;
}

.news-card p {
  color: #64748b;
  font-size: 0.9rem;
  padding: 0 0.9rem 1rem;
}

.testimonial-nav {
  display: inline-flex;
  gap: 0.45rem;
}

.testimonial-nav button {
  width: 35px;
  height: 35px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.testimonial-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.6rem;
}

.testimonial-card h3 {
  margin-bottom: 0.35rem;
}

.testimonial-card p {
  color: #64748b;
  font-size: 0.92rem;
}

.testimonial-card.quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card.quote i {
  font-size: 2rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.newsletter-box {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  text-align: center;
}

.newsletter-box h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.newsletter-box p {
  color: #64748b;
  margin-bottom: 1rem;
}

.newsletter-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.newsletter-form input {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
}

.newsletter-form button {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
}

.tienda-footer-mockup {
  margin-top: 2.2rem;
  padding: 2rem 1rem 1rem;
}

.footer-wrap {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-wrap h4 {
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.footer-wrap a,
.footer-wrap p {
  display: block;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.brand-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a !important;
}

.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.socials a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.footer-bottom {
  max-width: 1260px;
  margin: 1rem auto 0;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.85rem;
  padding-top: 0.8rem;
}

#auth-modal {
  display: none !important;
}

@media (max-width: 1100px) {
  .mockup-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right-card img {
    min-height: 300px;
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .category-large {
    grid-row: auto;
    min-height: 300px;
  }

  .best-seller-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .tienda-home-mockup {
    padding: 0 0.7rem 2.5rem;
  }

  .hero-slider {
    min-height: 0;
  }

  .hero-main-card h1 {
    font-size: 2rem;
  }

  .hero-mini-card {
    grid-template-columns: 1fr;
  }

  .hero-mini-card img {
    height: 160px;
  }

  .categories-grid,
  .best-seller-grid,
  .news-grid,
  .testimonial-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }
}
