/* Order configurator */
.order { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.order-main { display: grid; gap: 18px; min-width: 0; }
.order-main .card + .card { margin-top: 0; }
.order-side { position: sticky; top: 92px; }

.step h2 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 18px; }
.step .num { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: rgba(1, 149, 244, .15); color: var(--blue); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* tier tabs */
.seg { display: none; background: var(--card-2); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
html.js .seg { display: inline-flex; }
.seg-btn { border: 0; background: none; color: var(--text); padding: 8px 24px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.seg-btn:hover { color: var(--white); }
.seg-btn.on { background: var(--blue); color: #fff; }
html.js .no-js-title { display: none; }
.tier-title { font-size: 1rem; color: var(--muted); margin: 6px 0 12px; }
.tier-block[data-off] { display: none; }
.tier-block + .tier-block { margin-top: 18px; }

/* plans + cycles share a selectable-card look */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.plan, .cycle {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--card-2);
  border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.plan:hover, .cycle:hover, .addon:hover { border-color: rgba(1, 149, 244, .6); }
.plan.on, .cycle.on, .addon.on { border-color: var(--blue); background: rgba(1, 149, 244, .1); box-shadow: 0 0 0 3px rgba(1, 149, 244, .14); }
.plan input, .cycle input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.plan:focus-within, .cycle:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.plan-gb { font-size: 1.55rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.plan-tag { font-size: 12.5px; color: var(--muted); min-height: 2.9em; line-height: 1.45; }
.plan-price { margin-top: 6px; font-weight: 600; color: var(--white); font-size: 13.5px; }

.cycle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cycle-name { color: var(--white); font-weight: 600; }
.cycle-save { color: var(--green); font-size: 12.5px; font-weight: 700; min-height: 1.5em; }
.cycle-amount { font-size: 13px; color: var(--text); }

/* add-ons */
.addon-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.addon-group:last-child { margin-bottom: 0; }
.addon-group legend { color: var(--white); font-weight: 600; margin-bottom: 10px; padding: 0; }
.addon { display: flex !important; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--card-2); transition: border-color .15s, background .15s, box-shadow .15s; }
.addon:last-child { margin-bottom: 0; }
.addon-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.addon-text b { color: var(--white); font-weight: 600; }
.addon-text small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.addon-price { color: var(--white); font-weight: 600; white-space: nowrap; font-size: 14px; }

/* summary */
.summary h2 { font-size: 1.15rem; margin-bottom: 16px; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-lines li span:last-child { color: var(--white); font-weight: 500; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 8px; }
.sum-total span { color: var(--text); }
.sum-total strong { font-size: 1.7rem; color: #fff; }
.summary .btn { margin-top: 12px; }
.trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; font-size: 12.5px; color: var(--muted); }
.trust li { display: flex; gap: 9px; align-items: flex-start; }
.trust svg { flex: 0 0 16px; color: var(--green); margin-top: 3px; }

@media (max-width: 1000px) {
  .order { grid-template-columns: 1fr; }
  .order-side { position: static; }
}
@media (max-width: 560px) {
  .cycle-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .addon { flex-wrap: wrap; }
  .addon-price { margin-left: 34px; }
}

/* Domain + hosting bundle */
.bundle-opts { display: grid; gap: 10px; margin-top: 8px; }
.bundle-opt { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card-2); }
.bundle-opt:has(input:checked) { border-color: var(--blue); }
.bundle-badge { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(32, 191, 108, .15); color: var(--green); font-size: 12.5px; font-weight: 600; }
.sum-lines s { color: var(--muted); margin-right: 4px; }
.bundle-promo { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan .bundle-badge { margin-top: 6px; }

/* Black Friday */
.bf-banner { margin-bottom: 16px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(250, 204, 21, .45); background: rgba(250, 204, 21, .1); color: var(--white); font-weight: 500; }
.bf-banner .bf-tag { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: #facc15; color: #111827; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.plan-price s { color: var(--muted); font-weight: 400; margin-right: 2px; }
.sum-lines li.bf-line span:last-child { color: var(--green); }
