/* خرید اقساطی — hero mockup layout */



.ip-hero {

  background: linear-gradient(180deg, #050a18 0%, #0a1428 50%, #0f172a 100%) !important;

  padding: 3.25rem 0 2.5rem;

  overflow: hidden;

}



.ip-hero::before {

  background:

    radial-gradient(ellipse 75% 90% at 18% 65%, rgba(37, 99, 235, .32), transparent 62%),

    radial-gradient(ellipse 45% 35% at 82% 15%, rgba(34, 211, 238, .1), transparent 55%) !important;

}



.ip-hero__row {

  --bs-gutter-x: 2.5rem;

  align-items: stretch;

}



@media (min-width: 992px) {

  .ip-hero__row {

    display: grid;

    grid-template-columns: 7fr 5fr;

    align-items: stretch;

  }



  .ip-hero__row > [class*="col-"] {

    width: 100%;

    max-width: 100%;

  }

}



.ip-hero__content {

  display: flex;

  flex-direction: column;

  gap: 0;

}



.ip-hero__content h1 {

  font-weight: 900;

  font-size: clamp(1.75rem, 2.8vw, 2.35rem);

  line-height: 1.4;

  color: #fff;

  margin: 0 0 .75rem;

}



.ip-hero__content h1 em {

  font-style: normal;

  background: linear-gradient(135deg, #38bdf8, #22d3ee);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

}



.ip-hero__sub {

  color: rgba(203, 213, 225, .88);

  font-size: .92rem;

  line-height: 1.85;

  margin: 0 0 1.35rem;

  max-width: 38rem;

}



/* white pill search bar */

.ip-hero-search {

  display: flex;

  flex-direction: row-reverse;

  align-items: center;

  background: #fff;

  border-radius: 50px;

  padding: 5px 6px 5px 8px;

  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);

  margin-bottom: 1rem;

  gap: .35rem;

}



.ip-hero-search input {

  flex: 1;

  border: none;

  padding: .8rem 1rem;

  font-size: .86rem;

  color: var(--text);

  outline: none;

  min-width: 0;

  background: transparent;

}



.ip-hero-search input::placeholder {

  color: #94a3b8;

}



.ip-hero-search button {

  flex-shrink: 0;

  display: inline-flex;

  align-items: center;

  gap: .4rem;

  border: none;

  background: var(--blue);

  color: #fff;

  font-size: .84rem;

  font-weight: 700;

  padding: .72rem 1.3rem;

  border-radius: 50px;

  white-space: nowrap;

  transition: background .2s, box-shadow .2s;

}



.ip-hero-search button:hover {

  background: var(--blue-light);

  box-shadow: 0 4px 16px rgba(37, 99, 235, .35);

}



/* dark pill tags */

.ip-hero-tags {

  display: flex;

  flex-wrap: wrap;

  gap: .5rem;

  margin-bottom: 1.1rem;

}



.ip-hero-tag {

  display: inline-block;

  padding: .38rem .9rem;

  border-radius: 50px;

  border: 1px solid rgba(255, 255, 255, .14);

  background: rgba(255, 255, 255, .07);

  color: rgba(255, 255, 255, .82);

  font-size: .78rem;

  font-weight: 500;

  text-decoration: none;

  transition: .2s;

}



.ip-hero-tag:hover {

  background: rgba(37, 99, 235, .28);

  border-color: rgba(147, 197, 253, .35);

  color: #fff;

}



/* meta footer */

.ip-hero-footer {
  margin-top: auto;
}

.ip-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  font-size: .84rem;
}

.ip-hero-meta__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #38bdf8;
  padding: 0 .95rem;
}

.ip-hero-meta__item:first-child {
  padding-right: 0;
}

.ip-hero-meta__divider {
  width: 1px;
  height: 18px;
  background: rgba(148, 163, 184, .32);
  flex-shrink: 0;
}

.ip-hero-meta__item i {
  color: #38bdf8;
  font-size: 1.05rem;
}

.ip-hero-meta__item strong {
  color: #38bdf8;
  font-weight: 700;
}



/* visual */

.ip-hero__visual-wrap {

  position: relative;

  display: flex;

  align-items: flex-end;

  justify-content: center;

  align-self: stretch;

  min-height: 100%;

  padding-top: 1.25rem;

  overflow: visible;

}



.ip-hero-img {

  width: 100%;

  max-width: none;

  height: 100%;

  max-height: 100%;

  display: block;

  object-fit: contain;

  object-position: center bottom;

  transform: scale(1.18) translateY(12px);

  transform-origin: center bottom;

  mix-blend-mode: lighten;

}



/* main body */

.ip-main {
  padding: 2rem 0 3rem;
  background: #f8fafc;
}

/* categories panel */

.ip-categories-panel {
  margin-bottom: 1.75rem;
}

.ip-categories-panel__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: 0 0 1.15rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}

.ip-categories-panel__title-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue-glow);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ip-breadcrumb .breadcrumb {
  margin-bottom: 0;
  font-size: .82rem;
}

/* featured products row */
.ip-featured-products {
  margin-bottom: 1.75rem;
}

.ip-featured-products__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}

.ip-featured-products__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.ip-featured-products__hint {
  font-size: .78rem;
  color: var(--text-muted);
}

.ip-featured-products__scroll {
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: none;
}

.ip-featured-products__scroll::-webkit-scrollbar {
  display: none;
}

.ip-featured-products__row {
  display: flex;
  gap: .65rem;
  width: max-content;
  min-width: 100%;
}

.ip-featured-product {
  flex: 0 0 auto;
  width: 118px;
  padding: .85rem .55rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .07);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.ip-featured-product:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .22);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .1);
  color: inherit;
}

.ip-featured-product__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto .55rem;
  border-radius: 14px;
  background: var(--blue-glow);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  overflow: hidden;
}

.ip-featured-product__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ip-featured-product__name {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
}

.ip-featured-product__meta {
  display: block;
  margin-top: .2rem;
  font-size: .68rem;
  color: var(--text-muted);
}

.ip-plan-card__provider-note {
  margin: -.15rem 0 .55rem;
  font-size: .78rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.ip-product-hero__icon-fallback {
  width: min(220px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--blue-glow);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.ip-categories-scroll {
  overflow-x: auto;
  padding-bottom: .35rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ip-categories-scroll::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}

.ip-categories-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: .65rem;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.ip-type-card {
  flex: 0 0 auto;
  width: 112px;
  min-height: 118px;
  padding: 1.05rem .55rem .9rem;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, .07);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.ip-type-card:hover {
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 4px 14px rgba(37, 99, 235, .08);
  color: var(--text);
}

.ip-type-card.is-active {
  border-color: var(--blue);
  background: rgba(37, 99, 235, .05);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .12);
}

.ip-type-card__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto .6rem;
  border-radius: 12px;
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ip-type-card.is-active .ip-type-card__icon {
  background: rgba(37, 99, 235, .12);
  color: var(--blue);
}

.ip-type-card__label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.5;
}

/* filters panel */

.ip-filters-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 1.75rem;
}

.ip-filters-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: 1.1rem;
}

.ip-filters-panel__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
}

.ip-filters-panel__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
}

.ip-filters-panel__count {
  color: var(--blue);
  font-size: .86rem;
  font-weight: 700;
}

.ip-filters-panel__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.ip-filters-panel__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .85rem 1rem;
  margin-bottom: 1rem;
}

.ip-filter-field__label {
  display: block;
  margin-bottom: .4rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
}

.ip-filter-search {
  position: relative;
}

.ip-filter-search i {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.ip-filter-search__input,
.ip-filter-select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: .84rem;
  padding: .68rem .85rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.ip-filter-search__input {
  padding-right: 2.35rem;
}

.ip-filter-search__input:focus,
.ip-filter-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.ip-filter-field--search {
  grid-column: span 2;
}

.ip-filters-panel__extra.is-collapsed {
  display: none;
}

.ip-quick-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
}

.ip-quick-filters__label {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
}

.ip-quick-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.ip-quick-filter {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .8rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #f8fafc;
  color: var(--text);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
}

.ip-quick-filter:hover {
  border-color: rgba(37, 99, 235, .25);
  color: var(--blue);
}

.ip-quick-filter.is-active {
  border-color: var(--blue);
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
}

.ip-filters-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}

.ip-filters-actions__apply {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: none;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  padding: .68rem 1.2rem;
  cursor: pointer;
  transition: background .2s;
}

.ip-filters-actions__apply:hover {
  background: var(--blue-light);
}

.ip-filters-actions__clear {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  background: #fff;
  color: var(--text-muted);
  font-size: .84rem;
  font-weight: 600;
  padding: .66rem 1.1rem;
  text-decoration: none;
  transition: .2s;
}

.ip-filters-actions__clear:hover {
  border-color: rgba(0, 0, 0, .16);
  color: var(--text);
}



/* mobile */

@media (max-width: 991px) {

  .ip-hero {

    padding: 1rem 0 1.35rem;

  }



  .ip-hero__row {

    min-height: auto;

    gap: .5rem;

  }



  .ip-hero__content h1 {

    font-size: clamp(1.28rem, 4.8vw, 1.72rem);

    text-align: center;

    margin-bottom: .55rem;

  }



  .ip-hero__sub {

    font-size: .8rem;

    line-height: 1.7;

    text-align: center;

    margin-bottom: .9rem;

    max-width: none;

  }



  .ip-hero__visual-wrap {

    order: -1;

    min-height: 0;

    max-height: 168px;

    height: auto !important;

    margin-bottom: .35rem;

    padding-top: 0;

  }



  .ip-hero-img {

    width: auto;

    height: auto;

    max-height: 150px;

    max-width: min(280px, 78vw);

    margin: 0 auto;

    transform: none;

    object-fit: contain;

  }



  .ip-hero-search {

    flex-direction: row-reverse;

    border-radius: 14px;

    padding: 4px;

    margin-bottom: .75rem;

  }



  .ip-hero-search input {

    padding: .62rem .85rem;

    font-size: .8rem;

  }



  .ip-hero-search button {

    justify-content: center;

    width: auto;

    padding: .62rem .9rem;

    border-radius: 11px;

    font-size: .78rem;

    white-space: nowrap;

  }



  .ip-hero-tags {

    justify-content: center;

    gap: .45rem;

    margin-bottom: .65rem;

  }



  .ip-hero-tag {

    font-size: .72rem;

    padding: .38rem .7rem;

    gap: .3rem;

  }



  .ip-hero-footer {
    gap: 0;
  }

  .ip-hero-meta__item {
    padding: 0 .65rem;
  }

  .ip-hero-meta__item:first-child {
    padding-right: 0;
  }

  .ip-categories-panel__title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .ip-type-card {
    width: 96px;
    min-height: 108px;
    padding: .9rem .45rem .75rem;
  }

  .ip-filters-panel__grid {
    grid-template-columns: 1fr;
  }

  .ip-filter-field--search {
    grid-column: span 1;
  }

  .ip-filters-actions {
    justify-content: stretch;
  }

  .ip-filters-actions__apply,
  .ip-filters-actions__clear {
    flex: 1;
    justify-content: center;
  }

}



@media (max-width: 1199px) {
  .ip-filters-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ip-filter-field--search {
    grid-column: span 3;
  }
}

@media (max-width: 767px) {
  .ip-hero-meta {
    justify-content: center;
  }

  .ip-hero-meta__divider:nth-last-child(2) {
    display: none;
  }
}

/* ── Plan cards grid ── */

.ip-plans-section {
  margin-top: 2rem;
}

.ip-plans-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.ip-plans-section__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.ip-plans-section__count {
  display: inline-flex;
  align-items: center;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
}

.ip-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.ip-plans-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ip-plan-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  transition: border-color .22s, box-shadow .22s, transform .22s;
  height: 100%;
}

.ip-plan-card.is-featured {
  border-color: rgba(37, 99, 235, .2);
  box-shadow: 0 12px 32px rgba(37, 99, 235, .1);
}

.ip-plan-card:hover {
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .12);
  transform: translateY(-3px);
}

.ip-plan-card.is-compare-selected {
  border-color: rgba(37, 99, 235, .4);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.ip-plan-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f8fafc, #eef2ff);
}

.ip-plan-card__visual {
  display: block;
  width: 100%;
  height: 100%;
}

.ip-plan-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ip-plan-card:hover .ip-plan-card__visual img {
  transform: scale(1.04);
}

.ip-plan-card__visual-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 2.4rem;
}

.ip-plan-card__media-badges {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  max-width: calc(100% - 3rem);
}

.ip-plan-card__pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

.ip-plan-card__pill--featured { color: var(--amber); }
.ip-plan-card__pill--blue { color: var(--blue); }
.ip-plan-card__pill--purple { color: #7c3aed; }
.ip-plan-card__pill--orange { color: var(--amber); }
.ip-plan-card__pill--green { color: var(--emerald); }
.ip-plan-card__pill--teal { color: #0d9488; }

.ip-plan-card__compare {
  position: absolute;
  top: .65rem;
  left: .65rem;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  z-index: 2;
}

.ip-plan-card__compare input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ip-plan-card__compare-box {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, .9);
  border-radius: 6px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
  transition: .2s;
}

.ip-plan-card__compare input:checked + .ip-plan-card__compare-box {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 2px #fff;
}

.ip-plan-card__content {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: .95rem 1rem .75rem;
  flex: 1;
}

.ip-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem;
}

.ip-plan-card__category {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(37, 99, 235, .08);
  padding: .15rem .5rem;
  border-radius: 999px;
  margin-bottom: .35rem;
}

.ip-plan-card__title {
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
}

.ip-plan-card__title a {
  color: var(--text);
  text-decoration: none;
}

.ip-plan-card__title a:hover {
  color: var(--blue);
}

.ip-plan-card__provider-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.ip-plan-card__provider-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.ip-plan-card__provider-logo i {
  color: var(--blue);
  font-size: 1rem;
}

.ip-plan-card__provider {
  margin: 0;
  font-size: .76rem;
  color: var(--text-muted);
}

.ip-plan-card__provider strong {
  color: var(--text);
  font-weight: 700;
}

.ip-plan-card__excerpt {
  margin: 0;
  font-size: .78rem;
  line-height: 1.7;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ip-plan-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  padding: .7rem 0 0;
  border-top: 1px dashed rgba(15, 23, 42, .08);
}

.ip-plan-card__stat {
  padding: .45rem .5rem;
  border-radius: 10px;
  background: #f8fafc;
}

.ip-plan-card__stat-label {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .66rem;
  color: var(--text-muted);
  margin-bottom: .15rem;
}

.ip-plan-card__stat-label i {
  color: var(--blue);
  font-size: .72rem;
}

.ip-plan-card__stat-value {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.ip-plan-card__stat-value.is-positive {
  color: var(--emerald);
}

.ip-plan-card__monthly {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .08), rgba(37, 99, 235, .03));
  font-size: .74rem;
  color: var(--text-muted);
}

.ip-plan-card__monthly strong {
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
}


.ip-plan-card__btn-label--short { display: none; }

.ip-plan-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .75rem 1rem .95rem;
  border-top: 1px solid rgba(15, 23, 42, .06);
  margin-top: auto;
}

.ip-plan-card__compare-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  transition: color .2s;
}

.ip-plan-card__compare-btn:hover,
.ip-plan-card__compare-btn.is-active {
  color: var(--blue);
}

.ip-plan-card__details-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .58rem 1rem;
  border-radius: 12px;
  background: var(--blue);
  color: #fff !important;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}

.ip-plan-card__details-btn:hover {
  background: var(--blue-light);
}

/* ── Pagination ── */

.ip-pagination {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, .06);
  text-align: center;
}

.ip-pagination__summary {
  font-size: .82rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
}

.ip-pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.ip-pagination__item.is-disabled .ip-pagination__link {
  opacity: .45;
  pointer-events: none;
}

.ip-pagination__item.is-active .ip-pagination__link {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.ip-pagination__item.is-ellipsis span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: var(--text-muted);
}

.ip-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .55rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  background: #fff;
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}

.ip-pagination__link:hover {
  border-color: rgba(37, 99, 235, .25);
  color: var(--blue);
}

/* ── Detail page ── */

.ip-detail {
  padding-top: 1.75rem;
  padding-bottom: 5rem;
}

.ip-detail__breadcrumb {
  margin-bottom: 1.25rem;
}

.ip-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}

.ip-detail-main {
  min-width: 0;
}

.ip-detail-sidebar__sticky {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.ip-detail-sidebar__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed rgba(15, 23, 42, .08);
  border-bottom: 1px dashed rgba(15, 23, 42, .08);
}

.ip-detail-sidebar__facts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem 0;
  font-size: .8rem;
}

.ip-detail-sidebar__facts span {
  color: var(--text-muted);
}

.ip-detail-sidebar__facts strong {
  font-weight: 800;
  color: var(--text);
}

.ip-detail-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid rgba(15, 23, 42, .1);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.ip-detail-mobile-bar__price span {
  display: block;
  font-size: .68rem;
  color: var(--text-muted);
}

.ip-detail-mobile-bar__price strong {
  display: block;
  font-size: .92rem;
  color: var(--blue);
  font-weight: 800;
}

.ip-detail-mobile-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.1rem;
  border-radius: 12px;
  background: var(--blue);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ip-detail-hero {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
  margin-bottom: 1rem;
}

.ip-detail-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
}

.ip-detail-hero__category {
  display: inline-flex;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.ip-detail-hero__updated {
  font-size: .72rem;
  color: var(--text-muted);
}

.ip-detail-hero__badge--blue { background: rgba(37, 99, 235, .12); color: var(--blue); }
.ip-detail-hero__badge--purple { background: rgba(124, 58, 237, .12); color: #7c3aed; }
.ip-detail-hero__badge--orange { background: rgba(217, 119, 6, .12); color: var(--amber); }
.ip-detail-hero__badge--green { background: rgba(5, 150, 105, .12); color: var(--emerald); }
.ip-detail-hero__badge--teal { background: rgba(20, 184, 166, .12); color: #0d9488; }

.ip-detail-hero__visual {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fafc, #eef2ff);
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-detail-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ip-detail-hero__visual-fallback {
  font-size: 3rem;
  color: var(--blue);
}

.ip-detail-hero__badge {
  position: absolute;
  top: .75rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}

.ip-detail-hero__badge--popular {
  right: .75rem;
  background: rgba(217, 119, 6, .12);
  color: var(--amber);
}

.ip-detail-hero__badge--fast {
  left: .75rem;
  background: rgba(5, 150, 105, .12);
  color: var(--emerald);
}

.ip-detail-hero__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}

.ip-detail-hero__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
}

.ip-detail-hero__bank-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  flex-shrink: 0;
}

.ip-detail-hero__bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.ip-detail-hero__desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.85;
  margin: 0 0 1rem;
}

.ip-detail-hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.ip-detail-feature {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: #fafbfd;
}

.ip-detail-feature i {
  color: var(--blue);
  font-size: 1.1rem;
}

.ip-detail-feature span {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
}

.ip-detail-feature strong {
  display: block;
  font-size: .86rem;
  font-weight: 800;
}

.ip-detail-hero__aside {
  display: none;
}

.ip-detail-panel__header {
  margin-bottom: 1.1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.ip-detail-panel__header h2 {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 .25rem;
}

.ip-detail-panel__header h2 i {
  color: var(--blue);
}

.ip-detail-panel__header p {
  margin: 0;
  font-size: .82rem;
  color: var(--text-muted);
}

.ip-detail-panel__single h2,
.ip-detail-box h3,
.ip-detail-installments__table-wrap h2,
.ip-detail-provider h3 {
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 .85rem;
}

.ip-detail-rich--analysis {
  background: rgba(217, 119, 6, .04);
  border: 1px solid rgba(217, 119, 6, .12);
  border-radius: 14px;
  padding: 1rem;
}

.ip-detail-cta {
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  border: 1px solid rgba(37, 99, 235, .12);
  padding: 1rem;
  text-align: center;
}

.ip-detail-cta__label {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
}

.ip-detail-cta__price {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.4;
}

.ip-detail-cta__note {
  display: block;
  margin-top: .35rem;
  font-size: .72rem;
  color: var(--text-muted);
}

.ip-detail-cta__primary,
.ip-detail-cta__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 700;
  padding: .72rem 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
}

.ip-detail-cta__primary {
  background: var(--blue);
  color: #fff !important;
  border: none;
}

.ip-detail-cta__primary:hover {
  background: var(--blue-light);
}

.ip-detail-cta__secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(37, 99, 235, .25);
}

.ip-detail-cta__secondary.is-active,
.ip-detail-cta__secondary:hover {
  background: rgba(37, 99, 235, .06);
}

.ip-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  margin-bottom: 1rem;
  position: sticky;
  top: 72px;
  z-index: 20;
}

.ip-detail-tabs a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .9rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: .2s;
  white-space: nowrap;
}

.ip-detail-tabs a i {
  font-size: .9rem;
}

.ip-detail-tabs a:hover,
.ip-detail-tabs a.is-active {
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
}

.ip-detail-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  scroll-margin-top: 120px;
}

.ip-detail-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ip-detail-panel__single h2,
.ip-detail-box h2,
.ip-detail-installments__table-wrap h2,
.ip-detail-provider h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.ip-detail-subtitle {
  font-size: .92rem;
  font-weight: 800;
  margin: 1.5rem 0 .75rem;
}

.ip-detail-box {
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 14px;
  padding: 1rem;
  background: #fafbfd;
}

.ip-detail-list,
.ip-detail-checklist,
.ip-detail-advantages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ip-detail-list li,
.ip-detail-checklist li,
.ip-detail-advantages li {
  position: relative;
  padding: .45rem 0;
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-bottom: 1px dashed rgba(15, 23, 42, .06);
}

.ip-detail-list li:last-child,
.ip-detail-checklist li:last-child,
.ip-detail-advantages li:last-child {
  border-bottom: none;
}

.ip-detail-checklist li {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.ip-detail-checklist i {
  color: var(--emerald);
}

.ip-detail-info {
  display: flex;
  gap: .55rem;
  margin-top: .85rem;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(37, 99, 235, .06);
  color: var(--blue);
}

.ip-detail-info p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.ip-detail-advantages li {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.ip-detail-advantages__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ip-detail-rich {
  color: var(--text-muted);
  line-height: 1.9;
}

.ip-detail-installments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1rem;
  align-items: start;
}

.ip-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}

.ip-detail-table th,
.ip-detail-table td {
  padding: .75rem .65rem;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  text-align: center;
}

.ip-detail-table th {
  font-size: .74rem;
  color: var(--text-muted);
  font-weight: 700;
  background: #fafbfd;
}

.ip-detail-table tbody tr.is-selected {
  background: rgba(37, 99, 235, .06);
}

.ip-detail-table__term {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  cursor: pointer;
}

.ip-detail-installments__note {
  border-radius: 14px;
  background: rgba(217, 119, 6, .08);
  border: 1px solid rgba(217, 119, 6, .15);
  padding: 1rem;
  color: var(--amber);
}

.ip-detail-installments__note p {
  margin: .45rem 0 0;
  font-size: .82rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.ip-detail-provider__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.ip-detail-provider__head img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  padding: 6px;
  background: #fff;
}

.ip-detail-provider__head p {
  margin: .2rem 0 0;
  color: var(--text-muted);
  font-size: .84rem;
}

.ip-detail-provider__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.ip-detail-faq .accordion-item {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: .5rem;
}

.ip-detail-related {
  margin-top: 1.5rem;
}

.ip-detail-related__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.ip-detail-related__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
}

.ip-detail-related__back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .6rem 1rem;
  border-radius: 12px;
  background: var(--blue);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.ip-detail-related__head h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 .25rem;
}

@media (max-width: 1199px) {
  .ip-plans-grid,
  .ip-plans-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ip-detail-layout {
    grid-template-columns: 1fr;
  }

  .ip-detail-sidebar {
    display: none;
  }

  .ip-detail-mobile-bar {
    display: flex;
  }

  .ip-detail {
    padding-bottom: 6.5rem;
  }

  .ip-detail-hero {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  }

  .ip-detail-panel__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ip-plans-grid,
  .ip-plans-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .ip-plan-card {
    border-radius: 14px;
  }

  .ip-plan-card__media {
    aspect-ratio: 4 / 3;
  }

  .ip-plan-card__visual-fallback {
    font-size: 1.5rem;
  }

  .ip-plan-card__media-badges {
    top: .4rem;
    right: .4rem;
    max-width: calc(100% - 2.2rem);
  }

  .ip-plan-card__pill {
    font-size: .58rem;
    padding: .12rem .4rem;
  }

  .ip-plan-card__compare {
    top: .4rem;
    left: .4rem;
    transform: scale(.9);
    transform-origin: top left;
  }

  .ip-plan-card__content {
    padding: .7rem .65rem .55rem;
    gap: .35rem;
  }

  .ip-plan-card__category {
    font-size: .62rem;
    margin-bottom: .15rem;
  }

  .ip-plan-card__title {
    font-size: .78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ip-plan-card__provider-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .ip-plan-card__provider,
  .ip-plan-card__provider-note,
  .ip-plan-card__excerpt {
    display: none;
  }

  .ip-plan-card__stats {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .ip-plan-card__stat:nth-child(n + 3) {
    display: none;
  }

  .ip-plan-card__stat {
    padding: .35rem .45rem;
  }

  .ip-plan-card__stat-label {
    font-size: .62rem;
  }

  .ip-plan-card__stat-value {
    font-size: .76rem;
  }

  .ip-plan-card__monthly {
    padding: .4rem .5rem;
    font-size: .68rem;
    flex-wrap: wrap;
    gap: .15rem .35rem;
  }

  .ip-plan-card__monthly strong {
    font-size: .78rem;
  }

  .ip-plan-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    padding: .55rem .65rem .7rem;
  }

  .ip-plan-card__compare-btn {
    font-size: .68rem;
    padding: .4rem .45rem;
    justify-content: center;
  }

  .ip-plan-card__compare-btn i {
    font-size: .8rem;
  }

  .ip-plan-card__details-btn {
    justify-content: center;
    font-size: .72rem;
    padding: .45rem .5rem;
  }

  .ip-plan-card__btn-label--full { display: none; }
  .ip-plan-card__btn-label--short { display: inline; }
  .ip-plan-card__compare-btn .ip-plan-card__btn-label { display: none; }

  .ip-pagination {
    align-items: center;
  }

  .ip-detail-hero {
    grid-template-columns: 1fr;
  }

  .ip-detail-hero__visual {
    max-height: 220px;
  }

  .ip-detail-hero__features {
    grid-template-columns: 1fr;
  }

  .ip-detail-panel__grid,
  .ip-detail-installments {
    grid-template-columns: 1fr;
  }

  .ip-detail-tabs {
    top: 64px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .ip-detail-tabs::-webkit-scrollbar {
    display: none;
  }

  .ip-detail-related__head {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Compare float — corner widget, panel opens upward */
.ip-compare-float {
  position: fixed;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 1050;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: .65rem;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: opacity .24s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.ip-compare-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ip-compare-float.is-pulse .ip-compare-float__trigger {
  animation: ipComparePulse .65s ease;
}

@keyframes ipComparePulse {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37, 99, 235, .5); }
  70% { transform: scale(.98); }
}

/* Compare toast */
.ip-compare-toast-stack {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1060;
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

.ip-compare-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem .95rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, .16);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .14), 0 4px 12px rgba(37, 99, 235, .08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-14px) scale(.96);
  transition: opacity .28s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
  pointer-events: auto;
}

.ip-compare-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ip-compare-toast.is-leaving {
  opacity: 0;
  transform: translateY(-10px) scale(.98);
}

.ip-compare-toast--success {
  border-color: rgba(22, 163, 74, .22);
}

.ip-compare-toast--warning {
  border-color: rgba(245, 158, 11, .28);
}

.ip-compare-toast__icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.ip-compare-toast--success .ip-compare-toast__icon {
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
}

.ip-compare-toast--warning .ip-compare-toast__icon {
  background: rgba(245, 158, 11, .14);
  color: #d97706;
}

.ip-compare-toast__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-top: .1rem;
}

.ip-compare-toast__title {
  font-size: .9rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
}

.ip-compare-toast__subtitle {
  font-size: .78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ip-compare-toast__close {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.ip-compare-toast__close:hover {
  background: #f1f5f9;
  color: #475569;
}

.ip-compare-toast__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  transform-origin: right center;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
  animation: ipCompareToastProgress 3.8s linear forwards;
}

.ip-compare-toast--warning .ip-compare-toast__progress {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  animation-duration: 4.5s;
}

@keyframes ipCompareToastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 575.98px) {
  .ip-compare-toast-stack {
    top: .75rem;
    width: calc(100vw - 1.25rem);
  }
}

.ip-compare-float__trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .62rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .35);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ip-compare-float__trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, .4);
}

.ip-compare-float__badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ip-compare-float__panel {
  width: min(360px, calc(100vw - 2.3rem));
  max-height: min(62vh, 380px);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .16);
  padding: .85rem;
  transform-origin: bottom left;
  transform: scale(.94) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
}

.ip-compare-float.is-expanded .ip-compare-float__panel:not([hidden]) {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.ip-compare-float__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .7rem;
}

.ip-compare-float__title {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: #0f172a;
}

.ip-compare-float__subtitle {
  display: block;
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: .15rem;
  line-height: 1.4;
}

.ip-compare-float__close {
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ip-compare-float__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ip-compare-float__slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: .45rem;
  margin-bottom: .75rem;
}

.ip-compare-slot {
  position: relative;
  min-height: 2.6rem;
  border-radius: 10px;
  padding: .5rem .65rem .5rem 2rem;
  display: flex;
  align-items: center;
}

.ip-compare-slot--empty {
  display: none;
}

.ip-compare-slot--filled {
  border: 1px solid rgba(37, 99, 235, .16);
  background: #f8fbff;
}

.ip-compare-slot__index {
  display: none;
}

.ip-compare-slot__title {
  font-size: .78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ip-compare-slot__remove {
  position: absolute;
  top: 50%;
  left: .45rem;
  transform: translateY(-50%);
  width: 1.3rem;
  height: 1.3rem;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
}

.ip-compare-slot__remove:hover {
  background: #fee2e2;
  color: #dc2626;
}

.ip-compare-float__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border-top: 1px solid rgba(15, 23, 42, .06);
  padding-top: .7rem;
}

.ip-compare-float__clear {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: .76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .35rem .45rem;
  border-radius: 8px;
}

.ip-compare-float__clear:hover {
  background: #fef2f2;
  color: #dc2626;
}

.ip-compare-float__cta {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.ip-compare-float__cta:hover {
  color: #fff !important;
}

.ip-compare-float__cta.is-disabled {
  opacity: .45;
  pointer-events: none;
}

.ip-compare-float__empty {
  margin: 0;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  padding: .5rem 0;
}

@media (max-width: 767.98px) {
  .ip-compare-float {
    left: .85rem;
    bottom: .85rem;
  }

  .ip-compare-float__panel {
    width: min(320px, calc(100vw - 1.7rem));
  }
}

/* Compare page */
.ip-compare-page {
  padding-bottom: 4rem;
}

.ip-compare-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
}

.ip-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #fff;
}

.ip-compare-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
}

.ip-compare-table th,
.ip-compare-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  vertical-align: top;
}

.ip-compare-table th:first-child,
.ip-compare-table td:first-child {
  background: #f8fafc;
  font-weight: 700;
  white-space: nowrap;
  width: 140px;
}

.ip-compare-table__title {
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.ip-compare-table__bank {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

/* Product search */
.ip-product-search {
  position: relative;
}

.ip-product-search__results {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
  max-height: 260px;
  overflow: auto;
}

.ip-product-search__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  padding: .7rem .9rem;
  text-align: right;
}

.ip-product-search__item:hover {
  background: #f1f5f9;
}

.ip-product-search__item small {
  color: var(--text-muted);
}

/* Product landing */
.ip-product-hero {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 20px;
  padding: 1.5rem;
}

.ip-product-hero__img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.ip-product-hero__brand {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .35rem;
}

.ip-product-hero__title {
  font-size: 1.75rem;
  font-weight: 800;
}

.ip-product-hero__desc {
  color: var(--text-muted);
  margin-top: .5rem;
}

