/* Portada de CTPFast. Los colores y la cuadrícula solo afectan a esta página. */
body.taller.revision.portada-top {
  --portada-ink: #161e3a;
  --portada-paper: #f8faff;
  --portada-amber: #ffb765;
  background-color: #15265b;
  background-image:
    radial-gradient(ellipse 87% 86% at 96% -12%, transparent 61%, #c6d1ff29 61.3%, transparent 61.7%,
      transparent 72%, #c6d1ff24 72.3%, transparent 72.7%, transparent 84%, #c6d1ff1c 84.3%, transparent 84.7%,
      transparent 95%, #c6d1ff18 95.3%, transparent 95.7%),
    radial-gradient(ellipse 34rem 24rem at 98% 3rem, #ff99574a, transparent 78%),
    radial-gradient(ellipse 69rem 29rem at 88% 14rem, #485affba, transparent 78%),
    radial-gradient(ellipse 51rem 23rem at 48% 35rem, #3362d154, transparent 90%),
    linear-gradient(145deg, #0e193d 1%, #203d91 36%, #242a67 68%, #152452 100%);
  background-size: min(82vw, 61rem) 38rem, auto, auto, auto, auto;
  background-position: right top, center, center, center, center;
  background-repeat: no-repeat;
}

.portada-top.revision > .site-header {
  background-color: #0d193a;
  background-image: linear-gradient(108deg, #0b1632, #1c2e66);
  border-bottom: 2px solid #f3a758;
}

.portada-top.revision .home-water {
  width: 100%;
  max-width: 1240px;
  padding-inline: clamp(16px, 3.2vw, 38px);
  padding-top: clamp(20px, 2.5vw, 34px);
}

.portada-top.revision .home-water > .home-search {
  padding: 0 0 clamp(15px, 1.6vw, 22px);
  border-bottom: 1px solid #e6eaff38;
}

.portada-top.revision .home-search .home-slogan {
  color: #fff;
  max-width: 25ch;
  margin: 0 0 9px;
  font-size: clamp(2.25rem, 5vw, 4.55rem);
  line-height: 1.02;
  text-wrap: pretty;
}

.portada-top.revision .home-search .home-purpose {
  max-width: 62ch;
  margin: 0 0 18px;
  color: #f3efff;
}

.portada-top.revision .home-search .search {
  max-width: 790px;
  margin-block: 0 8px;
  box-shadow: 0 14px 30px #10153b49;
  border-bottom-color: #f2a256;
}

.portada-top.revision .home-search .search button {
  color: var(--portada-ink);
  background-color: #ffa94f;
  background-image: linear-gradient(135deg, #ffbe72, #ff9f43);
}

.portada-top.revision .home-search .search button:hover {
  color: var(--portada-ink);
  background-image: linear-gradient(135deg, #ffc984, #ffac59);
}

.portada-top.revision .home-search .hint {
  color: #e5e9ff;
  margin-block: 8px 0;
}

.portada-top.revision .water-control {
  color: #e5e9ff;
}

.portada-top.revision .home-water > .top-descuentos {
  margin-top: clamp(16px, 2vw, 23px);
}

.portada-top .top-descuentos-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 10px 24px;
  margin-bottom: 13px;
}

.portada-top.revision .top-descuentos-heading h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 3vw, 2.42rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.portada-top .top-descuentos-heading p,
.portada-top .top-descuentos-status {
  margin: 6px 0 0;
  color: #e4e9ff;
  font-size: .91rem;
  line-height: 1.5;
}

.portada-top.revision .top-descuentos-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: #ffe0b6;
  font-size: .91rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .28em;
}

.portada-top.revision .top-descuentos-heading > a:hover {
  color: #fff3df;
}

.portada-top .top-descuentos-status:empty {
  display: none;
}

.portada-top .top-descuentos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 17px);
}

.portada-top .top-producto {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d2d9f1;
  border-radius: 16px;
  background: var(--portada-paper);
  color: var(--portada-ink);
  box-shadow: 0 9px 22px #0a143c34;
}

.portada-top .top-producto-imagen {
  display: grid;
  position: relative;
  place-items: center;
  min-height: 106px;
  padding: 23px 12px 7px;
  background-color: #fff;
  background-image: radial-gradient(ellipse at 50% 100%, #e8ecff, #fff 80%);
  border-bottom: 1px solid #e2e6f4;
}

.portada-top .top-producto-imagen img {
  display: block;
  width: 100%;
  height: clamp(76px, 6.3vw, 96px);
  max-width: 156px;
  object-fit: contain;
}

.portada-top .top-producto-descuento {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border: 1px solid #efbf85;
  border-radius: 999px;
  background-color: #ffe6bf;
  color: #74310c;
  font-size: .79rem;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.portada-top .top-producto-cuerpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: clamp(10px, 1.3vw, 15px);
}

.portada-top .top-producto-tienda,
.portada-top .top-producto-fecha {
  margin: 0;
  color: #4c5271;
  font-size: .77rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.portada-top .top-producto-tienda {
  color: #354582;
  font-weight: 750;
}

.portada-top.revision .top-producto h3 {
  display: -webkit-box;
  min-height: 2.6em;
  max-height: 3.9em;
  margin: 4px 0 9px;
  overflow: hidden;
  color: var(--portada-ink);
  font-family: inherit;
  font-size: clamp(.9rem, .85rem + .3vw, 1.05rem);
  font-weight: 760;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portada-top .top-producto-precios {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
  margin-bottom: 5px;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}

.portada-top .top-producto-precios strong {
  color: #152e72;
  font-size: clamp(1rem, .85rem + .57vw, 1.3rem);
  font-weight: 850;
}

.portada-top .top-producto-precios del {
  color: #515c75;
  font-size: .83rem;
}

.portada-top.revision .top-producto .top-producto-accion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 7px 8px;
  border: 1px solid #bac7ef;
  border-radius: 8px;
  background: #eaf0ff;
  color: #193481;
  font: inherit;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
}

.portada-top .top-producto-fecha {
  margin-bottom: 11px;
}

.portada-top.revision .top-producto .top-producto-accion:hover {
  border-color: #899fe3;
  background: #dce6ff;
}

.portada-top.revision .top-descuentos-heading > a:focus-visible {
  outline: 3px solid var(--portada-amber);
  outline-offset: 3px;
}

.portada-top.revision .top-producto .top-producto-accion:focus-visible {
  outline: 3px solid #2347af;
  outline-offset: 2px;
}

@media (min-width: 760px) {
  .portada-top .top-descuentos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .portada-top .top-descuentos-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 550px) {
  .portada-top .top-descuentos-heading {
    gap: 0 16px;
    margin-bottom: 9px;
  }

  .portada-top.revision .home-search .home-purpose {
    font-size: 1rem;
    line-height: 1.45;
  }
}

@media (max-width: 335px) {
  .portada-top .top-descuentos-grid {
    grid-template-columns: 1fr;
  }
}
