/* ==========================================================
   InsFollowTR V46 — Service package chip layout
   Prevent quantity/price overlap at all widths.
   ========================================================== */

.v10-package-chips{
  align-items:stretch;
}

.v10-package-chip.v46-package-chip{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-width:0!important;
  min-height:116px!important;
  padding:11px 12px 12px!important;
  overflow:hidden!important;
}

/* Every card reserves the same top area.
   Popular cards use it for the label; normal cards keep it invisible. */
.v46-chip-top{
  display:flex!important;
  align-items:center!important;
  min-height:17px!important;
  height:17px!important;
  margin-bottom:7px!important;
  min-width:0!important;
}

.v46-chip-top i{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-style:normal!important;
  font-size:7px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  color:var(--brand)!important;
  white-space:nowrap!important;
}

.v46-chip-top .v46-chip-spacer{
  visibility:hidden!important;
  width:1px!important;
  min-width:1px!important;
  height:1px!important;
}

.v46-chip-main{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-width:0!important;
}

.v46-chip-quantity{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  overflow:hidden!important;
}

.v10-package-chip.v46-package-chip .v46-chip-quantity strong{
  display:block!important;
  max-width:100%!important;
  margin:0!important;
  font-family:'Sora','Inter',sans-serif!important;
  font-size:16px!important;
  line-height:1.05!important;
  font-weight:800!important;
  letter-spacing:-.025em!important;
  color:#20222a!important;
  white-space:nowrap!important;
}

.v10-package-chip.v46-package-chip .v46-chip-quantity small{
  display:block!important;
  margin:4px 0 0!important;
  font-size:8px!important;
  line-height:1.15!important;
  color:#8e939f!important;
}

.v10-package-chip.v46-package-chip em{
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  margin:0!important;
  border-radius:9px!important;
  align-self:flex-start!important;
}

.v10-package-chip.v46-package-chip .v46-chip-price{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin-top:auto!important;
  padding-top:9px!important;
  border-top:1px solid rgba(var(--brand-rgb),.08)!important;
  font-family:'Sora','Inter',sans-serif!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
  color:var(--brand)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Popular package keeps the same geometry as every other card. */
.v10-package-chip.v46-package-chip.is-popular{
  background:
    radial-gradient(circle at 0 0,rgba(var(--brand-rgb),.065),transparent 45%),
    linear-gradient(145deg,#fff,rgba(var(--brand-rgb),.045))!important;
}

.v10-package-chip.v46-package-chip.is-popular .v46-chip-price{
  border-top-color:rgba(var(--brand-rgb),.14)!important;
}

/* Wider screens: keep long TRY prices legible. */
@media(min-width:1161px){
  .v10-package-chip.v46-package-chip{
    min-height:120px!important;
  }
  .v10-package-chip.v46-package-chip .v46-chip-price{
    font-size:11.5px!important;
  }
}

/* 2-column mode gets more room, so scale text up slightly. */
@media(max-width:1160px){
  .v10-package-chip.v46-package-chip .v46-chip-quantity strong{
    font-size:17px!important;
  }
  .v10-package-chip.v46-package-chip .v46-chip-price{
    font-size:13px!important;
  }
}

/* Mobile remains vertical and overlap-proof. */
@media(max-width:620px){
  .v10-package-chips{
    grid-template-columns:1fr 1fr!important;
  }
  .v10-package-chip.v46-package-chip{
    min-height:116px!important;
    padding:10px!important;
  }
  .v10-package-chip.v46-package-chip .v46-chip-quantity strong{
    font-size:15px!important;
  }
  .v10-package-chip.v46-package-chip .v46-chip-price{
    font-size:11.5px!important;
  }
}

@media(max-width:420px){
  .v10-package-chips{
    grid-template-columns:1fr!important;
  }
  .v10-package-chip.v46-package-chip{
    min-height:108px!important;
  }
  .v10-package-chip.v46-package-chip .v46-chip-quantity strong{
    font-size:17px!important;
  }
  .v10-package-chip.v46-package-chip .v46-chip-price{
    font-size:13px!important;
  }
}
