/* Orden normal (con descuento): se respeta el orden del DOM */

/* Cuando NO hay descuento, invertimos imagen y precios */
.dynamiCK-search.no-discount .product-main-image {
  order: 3;
  /* primero la imagen */
}

.dynamiCK-search.no-discount .all-dynamic-prices {
  order: 2;
  /* despuÃ©s los precios */
}

#not-found {
  max-width: 1100px;
  width: 100%;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  gap: 32px;
}
#not-found img {
  max-width: 100%;
}

#not-found :nth-child(2) {
  height: 100px;
  width: auto !important;
}

.price-before span:last-child {
  font-size: 85%;
  text-decoration: none;
}

.fondo-negro {
  position: absolute;
  width: 100%;
  height: 100px;
  background-color: black;
  z-index: -1;
  border-radius: 8px;
}

#not-found p {
  margin-bottom: 0;
  text-wrap: balance;
}

#not-found :nth-child(4) {
  max-width: 400px;
}

.discount-label {
  width: 116px;
  height: 90px;
  top: 0;
  font-weight: 700;
  color: #fff;
  position: relative;
  background-color: transparent;
  background-image: url(https://cdn.dam.alkosto.com/ecommerce/dinamicos/ktronix/2026/noviembre/blackdays/descuento-deco-evento.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.discount-label p:first-child {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.discount-label p {
  line-height: 28px;
  text-align: left !important;
  /* borde blanco alrededor del texto */
  /*filter: drop-shadow(2.7px 0.2px #ffffff)
            drop-shadow(-1.3px 0.2px #ffffff)
            drop-shadow(0 1.7px #ffffff)
            drop-shadow(0 -1.3px #ffffff)
            drop-shadow(1.2px 1.2px #ffffff)
            drop-shadow(-0.8px 1.2px #ffffff)
            drop-shadow(1.2px -0.8px #ffffff)
            drop-shadow(-0.8px -0.8px #ffffff);*/
}

.discount-label .number {
  font-size: 60px;
  position: absolute;
  top: 20px;
  left: 12px;
  text-shadow: 0px 0px 4px #993512;
}

.discount-label .percentage {
  font-size: 32px;
  position: absolute;
  right: 8px;
  top: 22px;
  text-shadow: 0px 0px 4px #993512;
}

.discount-label .discount {
  position: absolute;
  right: 17px;
  font-size: 32px;
  bottom: 0;
  margin: 0;
  font-size: 0px;
}

.discount-label .discount::before {
  content: "DESCUENTO";
  font-size: 10px;
  background: white;
  border-radius: 2px;
  color: #d30702;
  padding: 0px 4px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.dynamiCK-search img.logo-event {
  display: none !important;
}

.payment-percentage {
  font-size: 24px;
  position: relative;
  top: -8px;
  left: 2px;
  letter-spacing: normal;
}

.dinamick-end {
  order: 4;
  display: flex;
  flex-direction: column;
  height: 150px;
}

.dinamick-end::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 10px;
  width: 140px;
  height: 45px;
  border: 0;
  border-radius: 0;
  background: url(https://cdn.dam.alkosto.com/ecommerce/dinamicos/ktronix/2026/noviembre/blackdays/logo-deco-evento-blanco.webp)
    center / contain no-repeat;
  pointer-events: none;
}

.payment-text {
  font-size: 12px;
  font-weight: bold;
  color: white;
  background-color: transparent;
  border-radius: 4px;
  position: relative;
  top: -6px;
  left: 4px;
  letter-spacing: -0.75px;
}
p.price-before strong {
  filter: drop-shadow(0.7px 0.2px #004691) drop-shadow(-1.3px 0.2px #004691)
    drop-shadow(0 1.7px #004691) drop-shadow(0 -1.3px #004691)
    drop-shadow(1.2px 1.2px #004691) drop-shadow(-0.8px 1.2px #004691)
    drop-shadow(1.2px -0.8px #004691) drop-shadow(-0.8px -0.8px #004691);
}

.dynamiCK-search {
  background-image: url("https://cdn.dam.alkosto.com/ecommerce/dinamicos/ktronix/2026/noviembre/blackdays/fondo-deco-evento-srp-desk.webp");
  max-width: 1100px;
  height: 160px;
  display: block;
  text-decoration: none !important;
  font-family: arial;
  border-radius: 8px;
  margin-bottom: 24px;
  background-size: 105% 100%;
  background-repeat: no-repeat;
  background-position: -30px 0;
  position: relative;
}

.price-before {
  margin-left: 10px !important;
}

.price-before,
.product-save {
  font-size: 16px;
  line-height: 16px;
  color: white;
  margin-bottom: 4px !important;
}

.price-before span {
  text-decoration: line-through;
}

.product-cart {
  width: 72px;
  height: 52px;
  border-radius: 0 0 4px 4px;
  border: none;
  background-color: #004691;
  color: white;
  position: absolute;
  right: 32px;
  top: 0;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.32);
  transition: ease background-color 0.25s;
  z-index: 2;
}

.product-cart:hover {
  background-color: #004691;
}

.product-cart img {
  max-width: 48px !important;
}

.dinamick-end p {
  cursor: pointer;
  width: 124px;
  height: 28px;
  background: #004797;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border-radius: 14px;
  align-self: self-end;
  transition: ease all 0.25s;
  margin: auto auto 16px;
  position: relative;
  right: 12px;
  text-align: center;
  border: 1px solid;
  transform: ease all 0.3s;
  border-color: #004797;
}

.dynamiCK-search:hover .dinamick-end p {
  background: #fff;
  color: #004797;
  border: 1px solid #004797;
}

.product-main-image {
  width: 152px !important;
  background-color: white;
}

.price-offer {
  width: fit-content;
  min-height: 52px;
  margin: 0;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  color: #000;
  background: #fff;
  border-radius: 8px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 28px;
}
.price-offer span {
  font-size: 24px;
}

.price-offer strong {
  display: flex;
}

.padding-product-search {
  display: flex;
  background: transparent;
  position: relative;
  gap: 12px;
  align-items: center;
  height: 160px;
  justify-content: space-between;
  padding: 0 8px;
}

.product-payment {
  display: flex;
  background-color: #0053a3;
  padding-right: 8px;
  border-radius: 8px;
  gap: 8px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  line-height: 18px;
  align-items: center;
  width: fit-content;
  border: 1px solid;
  height: 35px;
  position: relative;
  margin: 4px auto auto 4px;
  left: 2px;
  justify-content: space-evenly;
  border: 2px solid white !important;
}

.product-payment img {
  transform: scale(1.1);
  width: 100%;
  top: -1px !important;
}

.product-payment span {
  background-color: white;
  padding: 6px 8px 6px 12px;
  overflow: initial;
  left: -2px;
  border-radius: 8px 0 0 8px;
  position: relative;
  max-width: 56px !important;
  z-index: 1;
  height: 34px !important;
}

.product-payment-price {
  margin-bottom: 0 !important;
  font-size: 18px;
}

.all-dynamic-prices {
  align-self: center;
  min-width: 176px;
}

.all-dynamic-prices p {
  margin: 0;
  text-align: left;
}

.product-save {
  text-decoration: none;
}

.dinamick-start {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0 4px;
}

.dynamiCK-search h2 {
  min-width: 300px;
  overflow: hidden;
  font-size: 18px !important;
  padding: 0 8px;
  line-height: 20px !important;
  color: white !important;
  text-align: center;
  margin: 0;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.dynamiCK-search img {
  max-width: 150px;
  border-radius: 8px;
  position: relative;
  top: 0;
}

/*img.logo-event {
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.4));
    margin: 16px;
}*/

.brand {
  font-size: 13px;
  background-color: white;
  width: fit-content;
  height: 24px;
  padding: 0 8px;
  line-height: 16px;
  display: flex;
  align-items: center;
  font-weight: 600;
  justify-content: center;
  border-radius: 4px;
  color: #000;
  margin-bottom: 12px;
}

.product-save {
  display: none;
}

.discount-label .number {
  grid-area: 1 / 1 / 3 / 2;
}

@media screen and (max-width: 1400px) {
  .dinamick-start h2 {
    min-width: auto;
  }

  .all-dynamic-prices {
    margin: auto;
  }
}

@media screen and (max-width: 1280px) {
  .discount-label {
    min-width: 124px;
    transform: scale(0.8);
    margin-left: -12px;
  }
  .discount-label .number {
    left: 12px;
  }
  .discount-label .percentage {
    right: 13px;
  }
  .dinamick-start h2 {
    font-size: 16px !important;
    padding: 0 4px;
    line-height: 20px !important;
  }

  .price-offer {
    font-size: 36px;
  }

  .product-before,
  .product-save {
    font-size: 14px;
  }

  .product-paymet-price {
    margin-bottom: 0 !important;
    font-size: 16px;
  }

  .dinamick-end p {
    cursor: pointer;
    min-width: 104px;
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .logo-event {
    content: url(https://cdn.dam.alkosto.com/ecommerce/dinamicos/ktronix/2026/noviembre/blackdays/logo-deco-evento-blanco.webp);
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute !important;
    padding: 0 28px;
    top: -20px !important;
    right: 0;
    max-width: 296px !important;
    left: 0;
    height: 36px !important;
    margin: auto;
  }
  .dynamiCK-search.no-discount .product-main-image {
    order: 2;
  }

  .dynamiCK-search.no-discount .all-dynamic-prices {
    order: 3;
  }
  .kevel-lazy-ad img.logo-event {
    left: 195px;
    margin: 6px;
    width: 111px !important;
    height: 86px !important;
    top: -13px !important;
  }
  .price-offer {
    border-radius: 4px;
    box-shadow: none !important;
    font-family: arial;
    font-size: 28px;
    height: 40px;
    min-height: 40px;
  }

  .price-offer span {
    font-size: 18px;
  }

  .dynamiCK-search {
    background-image: url(https://cdn.dam.alkosto.com/ecommerce/dinamicos/ktronix/2026/noviembre/blackdays/fondo-deco-evento-srp-mob.webp);
    background-position: center;
    max-width: 335px;
    margin: 0 auto 10px;
    height: 518px;
    margin-bottom: 36px;
    padding-right: 0;
  }

  .product-payment {
    border-radius: 4px;
    margin-right: 0;
    margin-left: 0;
    width: fit-content;
    font-size: 18px;
  }
  .product-payment span {
    border-radius: 4px 0 0 4px;
  }

  .price-before {
    margin-left: 0 !important;
    flex-basis: 100%;
  }

  p.price-before strong {
    filter: none;
  }

  .padding-product-search {
    background-size: contain;
    background-position: bottom center;
    flex-direction: column;
    height: 472px;
    position: relative;
    width: calc(100% - 24px);
    margin: auto;
    top: 20px;
    border-radius: 8px;
    padding: 0;
  }

  .product-main-image {
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    top: 0 !important;
    margin-top: 0;
    object-fit: contain;
  }

  .dinamick-start {
    order: 3;
    padding: 0;
  }

  .all-dynamic-prices {
    order: 4;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: space-between;
    width: 100%;
    transform: scale(1);
    position: relative;
    top: -4px;
    padding: 0px 8px;
  }

  .dinamick-end {
    order: 5;
  }
  .dinamick-end p {
    margin: 0 auto !important;
    top: -7px !important;
    bottom: -380px !important;
    order: 5;
    cursor: pointer;
    height: 40px !important;
    margin: auto;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    left: 4px;
  }

  .product-cart {
    width: 72px;
    height: 52px;
    border-radius: 0 0 4px 4px;
    border: none;
    background-color: #453292;
    color: white;
    position: absolute;
    right: 32px;
    top: 0;
    z-index: 1;
  }

  .product-paymet-price {
    margin-bottom: 0 !important;
    font-size: 20px;
  }

  .brand {
    font-size: 12px;
    position: absolute;
    top: 12px;
    z-index: 1;
    border: 1px solid;
    left: 10px;
    color: #444;
    height: 20px;
  }

  .dinamick-start h2 {
    height: 40px;
    text-align: left;
    padding: 0;
  }
  .discount-label {
    min-width: 100px;
    width: 100px;
    right: -4px;
    position: absolute;
    z-index: 1;
    top: 220px;
  }
  .discount-label .number {
    font-size: 48px;
    font-family: arial !important;
    top: -10px;
    left: 4px;
    margin: auto;
    font-weight: 600;
  }
  .discount-label .percentage {
    font-size: 24px;
    right: 20px;
    top: -8px;
  }

  .discount-label p:first-child {
    margin-top: 32px;
    position: relative;
    left: 10px;
  }

  .discount-label .discount {
    right: 18px;
    top: 21px;
    bottom: 0;
    font-size: 0;
  }

  .dinamick-end::before {
    top: -20px;
    width: 120px;
    height: 35px;

    background-image: url(https://cdn.dam.alkosto.com/ecommerce/dinamicos/ktronix/2026/noviembre/blackdays/logo-deco-evento.webp);
    background-color: white;
    padding: 4px 6px;
    background-origin: content-box;
    border-width: 1px;
    border-style: solid;
    border-width: 0px 1px 1px;
    border-radius: 0px 0px 4px 4px;
    border-color: black;
  }
}

@media screen and (max-width: 480px) {
  .dinamick-start h2 {
    padding: 0 6px;
  }

  .price-offer {
    font-size: 24px;
    height: 40px;
    font-family: arial;
  }

  .product-paymet-price {
    margin-bottom: 0 !important;
    font-size: 16px;
  }
}

@media screen and (max-width: 380px) {
  .product-payment-price {
    font-size: 16px;
  }
  .product,
  .padding-product-search {
    min-height: 472px;
    margin-bottom: 48px;
  }

  .product-payment {
    gap: 0;
  }
}
