/* ===== App Slide Inner ===== */
.app-slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px;
  margin-bottom: 50px;
  scroll-margin-top: 80px;
  /* Navbar offset */
}

.version-lbl {
  color: white;
  font-size: .9rem;
  background: #f30000;
  padding: 2px 10px;
  border-radius: 10px;
  position: relative;
  top: -3px
}

/* ===== Preview (Left) ===== */
.preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* image upar, dots neeche */
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.preview img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 400px;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ===== Arrows ===== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 2;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* ===== Dots ===== */
.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  text-align: center;
}

.dots span,
.dot {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dots span.active,
.dot.active {
  background: #333 !important;
}

/* ===== Details (Right) ===== */
.details {
  flex: 1;
}

.title-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.title-box1 {
  position: relative;
  width: 100%;
}

.logo {
  height: 60px;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .5));
}

.title {
  font-size: 1.5rem;
  font-weight: bold;
}

.underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #12f7ff;
}

/* ===== Description ===== */
.desc {
  line-height: 1.5;
  margin: 10px 0 20px 0;
  padding: 20px;
}

/* ===== Buttons ===== */
.btn {
  background: #00ADEF;
  border: 2px solid #078EBE;
  padding: 5px 10px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  font-family: calibri;
  font-size: 1rem;
}

.btn:hover {
  background: #10BDFF;
}

/* ===== Price ===== */
.price {
  color: #ae0d0d;
  font-weight: bold;
  margin-top: 10px;
}

/* ===== Actions ===== */
.actions {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .app-slide-inner {
    flex-direction: column;
    text-align: center;
  }

  .title {font-size: 1.1rem}

  .version-lbl {font-size: 0.7rem}

  .preview {
    margin-bottom: 20px;
  }

  .actions {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .actions>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
  }

  .actions .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
  }
}
.price .old-price {
  text-decoration: line-through;
  /* 👈 cutting line */
  color: #ae0d0d;
  font-size: 0.9rem;
  /* 👈 thoda chhota */
  margin-right: 4px;
}

.price .new-price {
  color: #ae0d0d;
  /* 👈 red highlight */
  font-size: 1.2rem;
  /* 👈 thoda bada */
  font-weight: bold;
}
/* container relative hona chahiye */
.app-slide-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px;
  margin-bottom: 50px;
  scroll-margin-top: 80px;
}
/* ✅ Badge box with image */
.badge {
  position: absolute;
  top: -10px;
  right: 10px;
  width: 85px;
  height: 85px;
  z-index: 20;
  text-align: center;
}

.badge img {
  width: 100%;
  height: auto;
  display: block;
  /* ✅ Left-bottom dark shadow, no top shadow */
  /*filter: drop-shadow(3px 0px 0px rgba(0, 0, 0, 0.4));*/
}

/* ✅ Upar ka text */
.badge-text {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}

/* ✅ Neeche discount % */
.badge-discount {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

/* 📱 Mobile view me size aur text chhota karo */
@media (max-width: 768px) {
  .badge {
    width: 60px;    /* size chhota kiya */
    height: 60px;
    opacity: 0.8;   /* transparency same */
    right: 2px;
    top: -6.5px;
  }

  .badge-text {
    font-size: 11px;    /* text size thoda aur chhota */
    top: 13px;         /* thoda adjust kiya position */
  }

  .badge-discount {
    font-size: 9px;    /* text size thoda aur chhota */
    bottom: 8px;      /* thoda adjust kiya position */
  }
}
