/* -------------------------
   Shop desktop + tablet
------------------------- */

body {
  padding-top: 96px;
}

.cpt-categories-section {
  display: none;
}

.cpt-categories-scroll {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  gap: 12px 14px;
  flex-wrap: wrap;
  overflow-x: visible;
  justify-content: flex-start;
}

.ofertas {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 40px 16px;
}

.ofertas-header {
  margin-bottom: 18px;
}

.ofertas-header h2 {
  font-size: 20px;
}

.ofertas-carousel {
  height: 400px;
}

.ofertas-track {
  gap: 0;
  align-items: stretch;
}

.oferta-link {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.oferta-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 36px;
  gap: 20px;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  width: 100%;
  border: 1px solid #e9e9e9;
  justify-content: flex-start;
  align-items: center;
}

.oferta-img-wrapper {
  width: 140px;
  height: 140px;
  background-color: #f6f6f6;
  border: 1px solid #ededed;
  border-radius: 18px;
  box-shadow: none;
  overflow: hidden;
}

.oferta-card img.oferta-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.oferta-info {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.oferta-info h3 {
  font-size: 24px;
  letter-spacing: -0.2px;
}

.oferta-info .descripcion {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 14px;
}

.precios {
  gap: 12px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: fit-content;
}

.precio-old {
  font-size: 1em;
}

.precio-original {
  font-size: 12px;
}

.precio-new {
  font-size: 1em;
}

.filter-content {
  max-width: 560px;
}

.oferta-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-primario);
  color: var(--color-primario);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  letter-spacing: 0.2px;
}

.productos-header {
  max-width: 1200px;
  margin: 20px auto 16px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.productos-header h2 {
  margin: 0;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.productos-header .btn-filter {
  margin-left: auto;
  flex-shrink: 0;
}

.productos-grid {
  max-width: 1200px;
  margin: 20px auto 30px;
  padding: 0 40px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.producto-card {
  width: 100%;
  min-height: 240px;
  transform: none;
}

.producto-card:nth-child(even) {
  transform: none;
}

.producto-card:hover {
  transform: translateY(-4px);
}

.producto-card:nth-child(even):hover {
  transform: translateY(-4px);
}

.producto-img-wrapper {
  width: calc(100% - 24px);
  height: 160px;
  margin: 10px auto 8px;
  overflow: hidden;
}

.producto-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.producto-info {
  padding: 0 16px 12px;
}

.producto-info h3 {
  font-size: 13px;
}

.producto-info .categoria {
  font-size: 11px;
}

@media (min-width: 900px) {
  .cpt-categories-scroll {
    max-width: 1280px;
    padding: 0 56px;
  }
  body {
    padding-top: 104px;
  }

  .ofertas {
    max-width: 1280px;
    padding: 0 56px;
  }

  .productos-header {
    max-width: 1280px;
    padding: 0 56px;
  }

  .productos-grid {
    max-width: 1280px;
    padding: 0 56px;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }
}

@media (min-width: 1200px) {
  .cpt-categories-scroll {
    max-width: 1360px;
  }
  .ofertas {
    max-width: 1360px;
  }

  .productos-header {
    max-width: 1360px;
  }

  .productos-grid {
    max-width: 1360px;
  }
}

.breadcrumb {
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 40px !important;
}

@media (min-width: 900px) {
  .breadcrumb {
    max-width: 1280px;
    padding: 0 56px !important;
  }
}

@media (min-width: 1200px) {
  .breadcrumb {
    max-width: 1360px;
  }
}

/* Banner v2 - desktop */
.v2-offer-banner {
  grid-template-columns: var(--offer-col) minmax(0, 1fr);
  gap: var(--offer-gap);
  padding: 24px 28px 0;
  min-height: 230px;
  border-radius: 24px;
}

.v2-offer-kicker {
  font-size: 34px;
}

.v2-offer-percent {
  font-size: 3.125rem;
  line-height: 0.95;
}

.v2-offer-text {
  font-size: 14px;
  margin-bottom: 10px;
}

.v2-offer-cta {
  padding: 10px 20px;
  font-size: 13px;
  gap: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.v2-offer-content {
  text-align: left;
  align-items: flex-start;
}

.v2-offer-cta {
  align-self: flex-start;
}

.v2-offer-content {
  max-width: none;
  margin-left: 0;
}

.v2-offer-media {
  overflow: visible;
}

.v2-offer-media img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 23.125rem;
  max-width: none;
  transform: translateY(6.8rem);
}

.v2-offer-banner::before {
  width: 380px;
  height: 380px;
  top: -200px;
  right: -140px;
  opacity: 0.22;
}

.v2-offer-banner::after {
  width: 540px;
  height: 540px;
  bottom: -300px;
  left: -240px;
  opacity: 0.18;
}

.v2-offer-arrow {
  width: 20px;
  height: 20px;
  background: var(--color-primario);
  color: #fff;
}

/* ── HERO desktop (igual que Home v2) ─────── */

.v2b-hero {
  padding: 12px 40px 16px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.v2b-hero-link {
  border-radius: 24px;
  min-height: unset;
}

.v2b-hero-img {
  height: 420px;
  min-height: unset;
  transition: transform 0.4s ease;
}

.v2b-hero-link:hover .v2b-hero-img {
  transform: scale(1.015);
}

.v2b-hero-overlay {
  padding: 32px 40px;
}

.v2b-hero-cta {
  padding: 12px 30px;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.v2b-hero-link:hover .v2b-hero-cta {
  background: var(--color-primario);
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .v2b-hero-img {
    height: 500px;
  }
}

@media (min-width: 1200px) {
  .v2b-hero {
    padding: 32px 56px 20px;
    max-width: 1360px;
  }

  .v2b-hero-img {
    height: 540px;
  }
}
