/* ==========================================================================
   OREON BILLING — Oreon Hosting Cart, Order Summary & Checkout Theme
   Matches final oreon/hosting/styles.css exactly
   ========================================================================== */

.oreon-commerce {
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px 20px 64px;
  overflow-x: clip;
}

html,
body,
main,
.oreon-main {
  overflow-x: clip !important;
}

.oreon-head {
  margin-bottom: 26px;
}

.oreon-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(143, 126, 242, 0.14);
  border: 1px solid rgba(143, 126, 242, 0.3);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a99cf2;
}

.oreon-head h1 {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f0eefc;
}

.oreon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.oreon-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Order Banner (from order.html) */
.oreon-order-banner {
  min-height: 108px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: url('/images/oreon-plan-banner.png') center / cover no-repeat, linear-gradient(135deg, #271b54 0%, #140f2d 100%);
  border-radius: 18px;
  border: 1px solid #251f47;
}

.oreon-order-banner-title {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 16px rgba(10, 6, 24, 0.65);
}

.oreon-order-banner-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(240, 238, 252, 0.88);
  text-align: center;
}

/* Order & Cart Cards */
.oreon-card,
.oreon-item,
.oreon-empty {
  background: rgba(22, 18, 38, 0.94);
  border: 1px solid #251f47;
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(16px);
}

.oreon-item {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.oreon-item-body h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.oreon-config {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 0.88rem;
  color: #a8a3c6;
}

.oreon-config > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.oreon-config dt {
  color: #7a75a0;
  font-weight: 500;
}

.oreon-config dd {
  margin: 0;
  color: #f0eefc;
  font-weight: 700;
}

.oreon-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.oreon-price {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: right;
}

.oreon-price small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #a8a3c6;
}

.oreon-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.oreon-qty {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #342d63;
  background: rgba(27, 22, 54, 0.88);
  padding: 2px 6px;
  gap: 4px;
}

.oreon-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(143, 126, 242, 0.16);
  color: #f0eefc;
  font-weight: 700;
  cursor: pointer;
}

.oreon-qty button:hover {
  background: #8f7ef2;
  color: #ffffff;
}

.oreon-qty input {
  width: 28px;
  text-align: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
}

.oreon-card-title,
.oreon-summary-title {
  margin: 0 0 18px;
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.oreon-icon,
.oreon-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(143, 126, 242, 0.16);
  border: 1px solid rgba(143, 126, 242, 0.34);
  color: #a99cf2;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Order Summary Card (matches .summary-card) */
.oreon-summary {
  position: sticky;
  top: 90px;
  background: rgba(22, 18, 38, 0.94);
  border: 1px solid #251f47;
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.oreon-coupon {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.oreon-coupon-applied {
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(143, 126, 242, 0.12);
  border: 1px solid rgba(143, 126, 242, 0.32);
}

.oreon-coupon-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: #d8b4fe;
}

.oreon-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #a8a3c6;
}

.oreon-row strong {
  color: #f0eefc;
  font-weight: 700;
  text-align: right;
}

.oreon-total-wrap {
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  margin-top: 16px;
  padding-top: 16px;
  margin-bottom: 16px;
}

.oreon-total-left {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.oreon-total-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0eefc;
}

.oreon-total-left small {
  font-size: 0.78rem;
  color: #7a75a0;
}

.oreon-total {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #d8b4fe;
}

/* Inputs, Selects & Radios */
.oreon-field {
  margin-bottom: 18px;
}

.oreon-field:last-child {
  margin-bottom: 0;
}

.oreon-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f0eefc;
}

.oreon-input,
.oreon-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background-color: rgba(27, 22, 54, 0.88);
  border: 1px solid #251f47;
  color: #f0eefc;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.oreon-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23a99cf2' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}

.oreon-coupon .oreon-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
}

.oreon-input:focus,
.oreon-select:focus {
  border-color: #8f7ef2;
  box-shadow: 0 0 0 3px rgba(143, 126, 242, 0.2);
}

.oreon-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(27, 22, 54, 0.72);
  border: 1px solid #251f47;
  color: #f0eefc;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.oreon-radio input {
  accent-color: #8f7ef2;
}

.oreon-help {
  margin: 6px 0 0 4px;
  font-size: 0.78rem;
  color: #7a75a0;
}

.oreon-error {
  margin: 6px 0 0 4px;
  font-size: 0.8rem;
  color: #fda4af;
}

.oreon-tos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 0.85rem;
  color: #a8a3c6;
  cursor: pointer;
}

.oreon-tos input {
  width: 16px;
  height: 16px;
  accent-color: #8f7ef2;
}

.oreon-tos a {
  color: #d8b4fe;
  text-decoration: underline;
}

/* Buttons (Oreon Iris Purple, no lime) */
.oreon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  text-decoration: none;
}

.oreon-btn-lime,
.oreon-btn-primary {
  background: linear-gradient(135deg, #8f7ef2 0%, #6b5ae0 100%);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(107, 90, 224, 0.38);
}

.oreon-btn-lime:hover,
.oreon-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(143, 126, 242, 0.52);
}

.oreon-btn-neutral {
  background: rgba(148, 140, 200, 0.08);
  border-color: rgba(169, 156, 242, 0.28);
  color: #f0eefc;
}

.oreon-btn-neutral:hover {
  background: rgba(143, 126, 242, 0.18);
  border-color: #8f7ef2;
}

.oreon-btn-danger {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.38);
  color: #fda4af;
}

.oreon-btn-danger:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.6);
}

.oreon-btn-block {
  width: 100%;
  padding: 13px 22px;
  font-size: 0.95rem;
}

.oreon-secure {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: #7a75a0;
}

.oreon-empty {
  text-align: center;
  padding: 52px 24px;
}

.oreon-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(143, 126, 242, 0.16);
  border: 1px solid rgba(143, 126, 242, 0.32);
  color: #a99cf2;
}

.oreon-empty h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.oreon-empty p {
  margin: 0 0 22px;
  color: #a8a3c6;
}

/* Specifications list (green checkmarks + row dividers) */
.oreon-specs p {
  margin: 0 0 14px;
  color: #a8a3c6;
  font-size: 0.94rem;
}

.oreon-specs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oreon-specs li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid rgba(143, 126, 242, 0.14);
  color: #d6d3eb;
  font-size: 0.92rem;
  font-weight: 500;
}

.oreon-specs li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.oreon-specs li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 10px;
  color: #4ade80;
  font-weight: 800;
}

/* Billing Cycle Cards */
.oreon-cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.oreon-cycle-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(19, 15, 42, 0.55);
  border: 1px solid #251f47;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.oreon-cycle-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
}

.oreon-cycle-card.is-active {
  border-color: rgba(168, 85, 247, 0.78);
  background: rgba(139, 92, 246, 0.16);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.35) inset;
}

.oreon-cycle-name {
  font-weight: 800;
  font-size: 0.94rem;
  color: #ffffff;
}

.oreon-cycle-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oreon-cycle-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #d8b4fe;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.oreon-cycle-card.is-active .oreon-cycle-check {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-color: transparent;
  color: #ffffff;
}

.oreon-cycle-price {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.oreon-cycle-renew {
  font-size: 0.75rem;
  color: #7a75a0;
}

/* Optional Server Addons */
.oreon-addons-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #251f47;
}

.oreon-addons-heading {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a99cf2;
}

.oreon-addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oreon-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(27, 22, 54, 0.88);
  border: 1px solid #251f47;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.oreon-addon-row:hover {
  border-color: rgba(143, 126, 242, 0.5);
}

.oreon-addon-row.is-active {
  border-color: rgba(143, 126, 242, 0.65);
  background: rgba(143, 126, 242, 0.12);
  box-shadow: 0 8px 22px -10px rgba(107, 90, 224, 0.35);
}

.oreon-addon-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.oreon-addon-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #f0eefc;
}

.oreon-addon-price {
  font-size: 0.8rem;
  font-weight: 500;
  color: #7a75a0;
}

.oreon-addon-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(169, 156, 242, 0.35);
  background: rgba(143, 126, 242, 0.12);
  color: #f0eefc;
  font-size: 0.84rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.oreon-addon-toggle.is-added {
  background: linear-gradient(135deg, #8f7ef2 0%, #6b5ae0 100%);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(107, 90, 224, 0.5);
}

.oreon-addon-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(14, 11, 30, 0.65);
  border: 1px solid #251f47;
  flex-shrink: 0;
}

.oreon-addon-step-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #251f47;
  background: rgba(143, 126, 242, 0.12);
  color: #f0eefc;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.oreon-addon-step-btn.is-plus {
  background: rgba(143, 126, 242, 0.22);
  border-color: rgba(143, 126, 242, 0.45);
  color: #c4b5fd;
}

.oreon-addon-step-btn:hover:not(:disabled) {
  background: #6b5ae0;
  border-color: #8f7ef2;
  color: #ffffff;
}

.oreon-addon-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.oreon-addon-step-val {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  line-height: 1.15;
}

.oreon-addon-step-val strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f0eefc;
}

.oreon-addon-step-val span {
  font-size: 0.7rem;
  color: #7a75a0;
}

/* Checkout button arrow pill */
.oreon-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.oreon-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .oreon-grid {
    grid-template-columns: 1fr;
  }
  .oreon-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .oreon-cycle-grid {
    grid-template-columns: 1fr;
  }
  .oreon-item {
    flex-direction: column;
  }
  .oreon-item-side {
    align-items: flex-start;
  }
  .oreon-price {
    text-align: left;
  }
}
