/* ========== SLIDER WRAPPER ========== */
.section-phones {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

/* ========== CONTAINER DE TARJETA ========== */
.c-plan-cel {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin: 6px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.c-plan-cel__imgs {
  width: auto;
  flex-shrink: 0;
  margin: auto;
}

.c-plan-cel__imgs img {
  width: auto;
  height: 128px;
  object-fit: contain;
}

/* ========== CONTENIDO ========== */
.c-plan-cel__content {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ========== LABEL ========== */
.custom-label {
  display: inline-block;
  background-color: #e63780;
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 4px;
  width: fit-content;
}

.brand {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  color: #555;
  margin: 0;
}

/* ========== TÍTULO ========== */
.c-plan-cel__title p {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

/* ========== PRECIOS ========== */
.c-plan-cel__prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.prices-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.price-normal {
  color: #888;
  font-size: 13px;
  margin: 0;
}

.line-through {
  text-decoration: line-through;
}

.discount {
  background: #e1efff;
  color: #019df4;
  font-size: 12px;
  font-weight: bold;
  border-radius: 12px;
  padding: 2px 6px;
}

.price-final {
  font-size: 16px;
  margin: 0;
  color: #50535a;
}

.price-final span {
  font-size: 18px;
  font-weight: bold;
  color: #0b2739;
}

/* ========== DETALLES ========== */
.c-plan-cel__details {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #019df4;
  margin: 10px 0;
}

.c-plan-cel__iconsend {
  background: url(https://aprodmovistarcomsa.z13.web.core.windows.net/persons/home/box-phone/icon/icon-send.svg) no-repeat center / cover;
  width: 24px;
  height: 16px;
  display: block;
}

/* ========== CTA ========== */
.c-plan-cel__cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #019df4;
  color: #fff;
  padding: 8px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  font-size: 13px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.c-plan-cel__cta a:hover {
  background-color: #007dc3;
}

/* ========== ICONO CARRITO ========== */
.icon-btn.--shop {
  -webkit-mask: url(/assets/img/icon-chart.svg) no-repeat center;
  mask: url(/assets/img/icon-chart.svg) no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: #fff;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* ========== CONTROLES DE SLIDER ========== */
.c-cel__slidecontrol {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.c-cel__slidearrow {
  background: url(https://aprodmovistarcomsa.z13.web.core.windows.net/persons/home/box-phone/icon/icon-arrow.svg) no-repeat center / cover;
  width: 16px;
  height: 16px;
  color: transparent;
  font-size: 0;
}

.c-cel__slidearrow.--next {
  transform: scaleX(-1);
}

.c-cel__slidecontrol .slick-dots {
  position: relative;
  bottom: auto;
}

.c-cel__slidecontrol .slick-dots li {
  width: 28px;
  height: 28px;
}

.c-cel__slidecontrol .slick-dots li button {
  position: relative;
  border-radius: 50%;
  padding: 8px;
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #8e8e8e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.c-cel__slidecontrol .slick-dots li.slick-active button {
  animation: animate 10s ease-in .4s 1 forwards;
  background: conic-gradient(var(--blue) var(--angle), var(--bg-lightGray) 0deg);
  color: var(--blue);
  font-weight: bold;
}

.c-cel__slidecontrol .slick-dots li button::before {
  content: "";
  position: absolute;
  background-color: transparent;
  border-radius: 50%;
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.c-cel__slidecontrol .slick-dots li.slick-active button::before {
  background-color: #ddedf5;
}

@keyframes animate {
  to {
    --angle: 360deg;
  }
}

/* ================== BREAKPOINTS ================== */
@media (min-width: 768px) {

  .c-plan-cel {
    flex-direction: column;
    padding: 16px;
    margin: 8px;
  }

  .c-plan-cel__imgs img {
    margin-bottom: 10px;
    height: 200px;
  }

  .custom-label {
    font-size: 13px;
    padding: 7px 20px;
    margin-bottom: 8px;
  }

  .price-final span {
    font-size: 28px;
  }

  .c-plan-cel__cta a {
    font-size: 14px;
    padding: 10px;
  }
}