/* ==========================================================================
   Operator sales page
   ========================================================================== */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s cubic-bezier(.22,.8,.3,1), box-shadow .2s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier.is-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.tier.is-featured::before {
  content: "Most operators pick this";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}

.tier h3 { font-size: 19px; }
.tier__price { font-size: 38px; font-weight: 800; color: var(--accent); margin-top: 10px; line-height: 1; }
.tier__price small { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.tier__commission { font-size: 13px; color: var(--ink-2); font-weight: 700; margin-top: 8px; }
.tier__avail { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.tier__desc {
  font-size: 14px; color: var(--ink-3); margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.tier .ticks { margin: 16px 0 22px; }
.tier__note {
  font-size: 13px; color: var(--ink-3); margin-top: 26px;
  max-width: 76ch; line-height: 1.7;
}

.rules { counter-reset: rule; margin-top: 24px; max-width: 80ch; }
.rules li {
  counter-increment: rule; position: relative;
  padding-left: 44px; margin-top: 16px; font-size: 15px; color: var(--ink-2);
}
.rules li::before {
  content: counter(rule);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}

.apply { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.apply__box {
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
}
.apply__box h3 { font-size: 17px; }
.apply__box p { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.apply__small { font-size: 13px !important; margin-top: 16px !important; }
.apply__small b { color: var(--ink); }

/* ------------------------------------------------- open slots on the home page */
.operator-list { display: grid; gap: 20px; }

.slot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 2px dashed var(--line); border-radius: var(--r-xl);
  padding: 26px 30px; background: transparent;
}
.slot:hover { border-color: var(--accent); }
.slot__tag {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 10px;
}
.slot h4 { font-size: 18px; }
.slot p { font-size: 14px; color: var(--ink-3); margin-top: 8px; max-width: 62ch; }

/* tier styling for the directory blocks */
.operator--partner { border-color: var(--accent); }
.operator--osnovni { padding: 22px; }
.operator--osnovni .operator__head h3 { font-size: 18px; }
.pkg-more { font-size: 13px; color: var(--ink-3); margin-top: 12px; }

@media (max-width: 1080px) {
  .tiers { grid-template-columns: 1fr; }
  .tier.is-featured::before { left: 30px; transform: none; }
  .apply { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  .slot { flex-direction: column; align-items: flex-start; }
}

/* the tick list lives in route.css, which this page does not load */
.ticks li {
  position: relative; padding-left: 26px; font-size: 14px;
  color: var(--ink-2); margin-top: 9px;
}
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}
