* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Header tema claro ── */
header {
  box-shadow: 0px -1px 12px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
}
header .menu a { color: #000000; }
header .logo img { filter: none; }
header .btn #spn1, #spn2, #spn3 { background-color: #101010; }
header .user img {
  filter: invert(100%) sepia(50%) saturate(2%) hue-rotate(62deg) brightness(107%) contrast(101%);
}
header .Bag .buy {
  filter: invert(100%) sepia(50%) saturate(2%) hue-rotate(62deg) brightness(107%) contrast(101%);
}
header .count-products {
  background: #000000;
  color: #f0f0f0;
  border: 1px solid #f0f0f0;
}
header .count-products span { color: #f0f0f0; }

/* ── Base ── */
body {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
}
.section {
  max-width: 1550px;
  margin: 0 auto;
}

/* ── Portada ── */
.cover_container {
  padding: 130px 10% 40px;
  text-align: center;
}
.cover-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand);
  background: rgba(4, 141, 152, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cover_container h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cover_container h1 b {
  color: var(--color-brand);
  font-weight: 700;
}
.cover_container > p {
  font-size: 1rem;
  color: #555;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Filtros ── */
.base_sections {
  padding: 0 10%;
  display: flex;
  flex-wrap: wrap;
}
.option {
  font-size: 0.78rem;
  font-weight: 700;
  color: #999;
  margin-bottom: 10px;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.filtros {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 2px solid rgba(4, 141, 152, 0.15);
}
.filtros .filtro {
  list-style: none;
  color: #555;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  padding: 7px 22px;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  width: auto;
  margin: 0;
}
.filtros a:hover {
  transform: translateY(-2px);
  background: rgba(4, 141, 152, 0.07);
  border-color: rgba(4, 141, 152, 0.3);
  color: var(--color-brand);
  box-shadow: 0 4px 12px rgba(4, 141, 152, 0.15);
}
.filtros .filtro_active {
  background: var(--color-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(4, 141, 152, 0.3);
}

/* ── Grid de productos ── */
.contenedor2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  margin-bottom: 44px;
  padding-top: 24px;
}

/* ── Tarjeta ── */
.tarjeta {
  width: 23%;
  background: #ffffff;
  margin-top: 24px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
}
.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
}

/* ── Imagen ── */
.imagen3 {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.imagen3 img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  transition: transform 0.45s ease;
}
.tarjeta:hover .imagen3 img {
  transform: scale(1.04);
}

/* ── Badge categoría ── */
.category {
  display: none;
  position: absolute;
  top: 10px;
  left: 8px;
  border-radius: 6px;
  padding: 3px 10px;
}
.category span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: 0.03em;
}
.Personales {
  background: linear-gradient(45deg, var(--color-brand), #123f59);
}
.Productividad {
  background: linear-gradient(45deg, #96048f, #3d1259);
}
.Negocios {
  background: linear-gradient(45deg, #964604, #592612);
}

/* ── Badge popular ── */
.popular {
  position: absolute;
  top: 10px;
  right: 8px;
  background: rgba(66, 154, 135, 0.88);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  clip-path: none;
}
.popular .tipo_producto {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}
.popular .estrella {
  width: 11px;
  height: 11px;
  background: #ffffff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  flex-shrink: 0;
}

/* ── Badge descuento ── */
.descuento {
  position: absolute;
  top: 10px;
  right: 8px;
  border-radius: 7px;
  padding: 3px 9px;
  background: linear-gradient(90deg, #6639c5, #2b1657);
  display: flex;
  align-items: center;
}
.descuento p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f0f0f0;
}

/* ── Contenido tarjeta ── */
.tarjeta h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  padding: 10px 4% 5px;
  line-height: 1.35;
  text-align: left;
}
.tarjeta .includes {
  color: #999;
  font-size: 0.75rem;
  align-items: start;
  display: flex;
  padding: 0 4%;
  margin-bottom: 2px;
}
.tarjeta li {
  list-style-type: none;
  display: flex;
  align-items: center;
  padding: 0 4%;
}
.tarjeta p {
  font-size: 0.78rem;
  color: #555;
  display: flex;
}
.tarjeta .checkProduct {
  width: 12px;
  height: 12px;
  margin-right: 5px;
}
.aspect {
  display: flex;
  padding: 4px 4% 2px;
  align-items: center;
}
.aspect img {
  width: 12px;
  height: 12px;
  margin-right: 5px;
}
.aspect p {
  font-size: 0.72rem;
  color: var(--color-brand);
}

/* ── Carrito ── */
.carrito {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 4px;
}
.precios {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4% 0;
}
.payment_summary {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 5px 4%;
}

/* ── Botón: NO modificar ── */
.btndec {
  display: flex;
  justify-content: center;
  border: none;
  color: #f0f0f0;
  background: linear-gradient(30deg, #6639c5, #048d98);
  border-radius: 3px;
  font-size: 16px;
  align-items: center;
  padding: 7px 5px;
  cursor: pointer;
  transition: .4s;
  width: 90%;
  font-weight: 600;
  height: 40px;
}
.btndec:hover {
  -webkit-animation: pulse 2s infinite;
  animation: pulse512 1s infinite;
}
@keyframes pulse512 {
  0%   { box-shadow: 0 0 0 0 #048d96; }
  70%  { box-shadow: 0 0 0 5px rgb(218 103 68 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(218 103 68 / 0%); }
}

/* ── Precios ── */
.carrito:has(.predesc) .pretot {
  text-decoration: line-through;
  color: #aaa;
  font-size: 0.9rem;
  margin: 0 2px;
  font-weight: 400;
}
.carrito p {
  color: #f0f0f0;
  margin-bottom: 0;
}
.carrito .predesc,
.carrito .pretot {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2px 7px 2px 0;
  color: #6639c5;
}
.carrito img {
  width: 20px;
  height: 20px;
  margin-left: 7px;
}
.base_aspects {
  display: flex;
  padding: 40px 10% 60px;
  gap: 44px;
  align-items: flex-start;
}
.base_aspects .specifications {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
}
.base_aspects .specifications h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 18px;
  padding: 0px 0px 14px 0px;
  border-bottom: 2px solid rgba(4, 141, 152, 0.18);
}
.base_aspects .specifications h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 24px 0 12px;
  padding: 0;
}
.base_aspects .specifications p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ── FAQ ── */
.base_aspects .faq_questions {
  width: 380px;
  flex-shrink: 0;
}
.base_aspects .faq_questions .title_faq {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 14px;
  border-bottom: 2px solid rgba(4, 141, 152, 0.18);
  margin-bottom: 16px;
}
.base_aspects .faq_questions .title_faq img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.base_aspects .faq_questions .title_faq h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brand);
  padding: 0;
  margin: 0;
}
.base_aspects .faq_questions .question {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-left: 3px solid transparent;
  transition: border-left-color 0.25s;
}
.base_aspects .faq_questions .question:has(.answer.show) {
  border-left-color: var(--color-brand);
}
.base_aspects .faq_questions .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s;
  margin: 0;
  border-radius: 0;
  width: 100%;
}
.base_aspects .faq_questions .title:hover {
  background: rgba(4, 141, 152, 0.04);
}
.base_aspects .faq_questions .question:has(.answer.show) .title {
  background: rgba(4, 141, 152, 0.06);
}
.base_aspects .faq_questions h4 {
  font-size: 0.87rem;
  font-weight: 600;
  color: #222;
  text-align: left;
  line-height: 1.4;
  flex: 1;
}
.base_aspects .faq_questions .title img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) invert(45%) sepia(90%) saturate(1800%) hue-rotate(155deg) brightness(92%) contrast(102%);
}
.base_aspects .faq_questions .question:has(.answer.show) .title img {
  transform: rotate(180deg);
}
.base_aspects .faq_questions .answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
  text-align: left;
}
.base_aspects .faq_questions .answer.show {
  max-height: 400px;
  opacity: 1;
  padding: 4px 16px 16px;
}
.base_aspects .faq_questions p {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0;
  display: block;
}

/* ── Responsive ── */
@media (min-width: 1600px) {
  .cover_container { padding: 130px 130px 40px; }
  .base_sections   { padding: 0 130px; }
  .base_aspects    { padding: 40px 130px 60px; }
}
@media (max-width: 1200px) {
  .tarjeta { width: 31%; }
}
@media (max-width: 1100px) {
  .base_aspects .faq_questions { width: 320px; }
}
@media (max-width: 1030px) {
  .base_sections   { padding: 0 5%; }
  .cover_container { padding: 105px 5% 30px; }
  .base_aspects    { padding: 30px 5% 50px; }
}
@media (max-width: 850px) {
  .tarjeta { width: 48%; }
  .base_aspects {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .base_aspects .specifications { width: 100%; }
  .base_aspects .faq_questions  { width: 100%; }
}
@media (max-width: 650px) {
  .cover_container {
    padding: 155px 3% 30px;
  }
  .cover_container h1 {
    font-weight: 100;
  }
  .cover_container h1 b {
    font-weight: 100;
  }
  .base_sections {
    padding: 0 3%;
  }
  .base_aspects {
    padding: 30px 3% 40px;
  }
  .btndec {
    font-size: 12.5px;
    font-weight: 100;
    width: 100%;
  }
  .precios {
    flex-direction: column;
  }
}
