  body {
     background-color: #c5d5d6;
     /* Remove this line: background-image: url("https://www.transparenttextures.com/patterns/blu-stripes.png"); */
     font-family: "Roboto", sans-serif;
   }

.slider {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 400px;
  height: 270px;
  /*   box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); */
}

.wrapper {
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 10px;
}

#items {
  width: 10000px;
  position: relative;
  top: 0;
  left: -400px;
}

#items.shifting {
  transition: left 0.2s ease-out;
}

.slide {
  width: 400px;
  height: 550px;
  cursor: pointer;
  float: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 1s;
  position: relative;
}

.slider.loaded .slide:nth-child(2),
.slider.loaded .slide:nth-child(7) {
  background: #ffcf47;
  border-radius: 10px;
}
.slider.loaded .slide:nth-child(1),
.slider.loaded .slide:nth-child(6) {
  background: #7adcef;
  border-radius: 10px;
}
.slider.loaded .slide:nth-child(3) {
  background: #dff8ec;
  border-radius: 10px;
}
.slider.loaded .slide:nth-child(4) {
  background: #a78df5;
  border-radius: 10px;
}
.slider.loaded .slide:nth-child(5) {
  background: #ff8686;
  border-radius: 10px;
}

.content {
  width: 400px;
  height: 560px;
  border-radius: 10px;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0), 0 0 30px rgba(0, 0, 0, 0.1) inset;
  position: absolute;
  margin-top: 0px;
}

.up {
  width: 400px;
  height: 400px;
  border-radius: 10px 10px 0 0;
  background: rgba(28, 216, 210, 1);
  background: rgba(28, 216, 210, 1);
  background: -moz-linear-gradient(
    top,
    rgba(28, 216, 210, 1) 0%,
    rgba(147, 237, 199, 1) 100%
  );
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(28, 216, 210, 1)),
    color-stop(100%, rgba(147, 237, 199, 1))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(28, 216, 210, 1) 0%,
    rgba(147, 237, 199, 1) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(28, 216, 210, 1) 0%,
    rgba(147, 237, 199, 1) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(28, 216, 210, 1) 0%,
    rgba(147, 237, 199, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(28, 216, 210, 1) 0%,
    rgba(147, 237, 199, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1cd8d2', endColorstr='#93edc7', GradientType=0 );
}

.producto {
  width: 300px;
  height: 500px;
  background-size: 320px 540px;
  background-position: center;
  background-repeat: no-repeat;
  margin-left: calc(50% - 150px);
  position: relative;
  top: 40px;
  border-radius: 10px;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.16), 0 0px 6px rgba(0, 0, 0, 0.1);
}

.producto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  position: absolute;
  top: -33px;    /* Move image up by 40px */
  left: 0;
}

.pro_1 {
  background-image: url("https://via.placeholder.com/300x400");
  background-size: cover;          /* or contain */
  background-position: center;
  background-repeat: no-repeat;
}

.pro_2 {
  background-image: url("https://images.unsplash.com/photo-1507878566509-a0dbe19677a5?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=6285b5a1e58c03ab774087dbd5c6c548&auto=format&fit=crop&w=634&q=80");
}

.pro_3 {
  background-image: url("https://images.unsplash.com/photo-1516767848735-fb701beb5567?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=e68ecebc85b9abc4600ce2d481001f7d&auto=format&fit=crop&w=564&q=80");
}
.pro_4 {
  background-image: url("https://images.unsplash.com/photo-1525740664269-1bb17f251737?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=1b65b03da783cb0bb235cb72b05a83dc&auto=format&fit=crop&w=634&q=80");
}

.pro_5 {
  background-image: url("https://images.unsplash.com/photo-1518938630361-6245118b5415?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=7403b7c93dcaeafcb7faa2b194b6cb98&auto=format&fit=crop&w=634&q=80");
}

.price {
  width: 0px;
  height: 70px;
  border-radius: 2px;
  border-left: 40px solid #ff1f45;
  border-right: 40px solid #ff1f45;
  border-bottom: 20px solid transparent;
  float: right;
  margin-right: 0px;
  top: -40px;
  position: relative;
}

.price p {
  color: #ffffff;
  width: 27px;
  float: right;
  font-size: 2em;
  font-weight: bold;
  margin-top: 25px;
}

.button {
  z-index: 9999 !important;
  position: relative !important;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  text-align: center;
  width: 200px;
  font-weight: bold;
  padding: 20px 0px;
  color: #ffffff;
  border-radius: 5px;
  background-color: #1cd8d2;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.16), 0 0px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto 0 auto;
  bottom: 80px;
  
  /* Mobile-friendly additions */
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  min-height: 44px; /* Ensures minimum touch target */
}

.button:hover {
  background-color: #93edc7;
  color: #ffffff;
}

/* Add active state for mobile feedback */
.button:active {
  background-color: #93edc7;
  transform: scale(0.98);
  transition: all 0.1s ease;
}
.button-link {
    text-decoration: none;
    display: inline-block;
    margin: 0 auto;
}

/* Media query for better mobile experience */
@media (max-width: 768px) {
  .button {
    font-size: 16px;
    padding: 16px 0px; /* Slightly larger touch area */
    width: 220px; /* Slightly wider for easier tapping */
  }
}

.control {
  position: absolute;
  top: 100%;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 20px;
  margin-top: -20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.prev,
.next {
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.prev {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronLeft-512.png);
  left: -20px;
}

.next {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronRight-512.png);
  right: -20px;
}

.prev:active,
.next:active {
  transform: scale(0.8);
}


