/* Audiostreamen sitewide typography for order form */
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: #0f1a2b; /* var(--as-blue-dark) fallback */
}

.as-text-muted {
  color: #637084;
}

.as-text-accent {
  color: #0f7bff;
}

/* Full-width layout for configure product view */
#order-standard_cart.as-cart-fullwidth .cart-sidebar {
  display: none;
}

#order-standard_cart.as-cart-fullwidth .cart-body {
  width: 100%;
  float: none;
  background: transparent;
}

#order-standard_cart.as-cart-fullwidth {
  background: #f7f9fb;
  padding: 24px 0 40px;
}

/* Pricing grid styling for streaming plans */
.as-pricing-streams {
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0;
  background: transparent;
}

.as-pricing-header h1 {
  font-size: 30px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: #0f7bff;
}

.as-pricing-header p {
  margin-bottom: 24px;
  color: #637084;
  font-size: 14px;
}

.as-plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(2, 115, 212, 0.05);
  color: #0273d4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.as-plan-label {
  background: #e3ecf9;
  color: #3169bd;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.as-pricing-grid .as-plan-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 8px 24px -16px rgba(15, 26, 43, 0.25);
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

/* Override base WHMCS card spacing so button can sit flush under the card */
#order-standard_cart .products .product.as-plan-card {
  margin: 0;
  padding: 18px;
  border-radius: 3px 3px 0 0;
  border: 1px solid #ececec;
}

.as-pricing-grid .as-plan-card header {
  border-bottom: none;
  margin: 0 0 6px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.as-pricing-grid .as-plan-card header span {
  font-size: 18px;
  font-weight: 700;
}

.as-plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.as-plan-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f7bff;
}

/* Force Audiostreamen blue for plan titles even if other themes override header spans */
#order-standard_cart .as-pricing-grid .as-plan-card .as-plan-name {
  color: #0f7bff !important;
}

.as-pricing-grid .as-plan-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.as-pricing-grid .as-plan-card .product-pricing {
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 0;
  text-align: left;
}

#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing .price {
  font-size: 4.2rem;
  line-height: 1.02;
  font-weight: 400;
  color: #0f1a2b;
  display: block;
}

#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing small {
  display: block;
  margin-top: 3px;
  color: #637084;
  font-size: 14px;
}

.as-price-stamp {
  display: block;
  font-size: 14px;
  color: #4a90e2;
  font-weight: 400;
  margin-bottom: 2px;
}

.as-price-term {
  display: block;
  margin-top: 2px;
}

.as-price-cycle {
  font-size: 14px;
  color: #637084;
}

.as-price-vat {
  font-size: 13px;
  color: #637084;
}

/* Ensure cycle/VAT text under price is smaller and not bold inside header */
#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing .as-price-term,
#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing .as-price-term .as-price-cycle,
#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing .as-price-term .as-price-vat {
  font-weight: 400;
}

#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing .as-price-term .as-price-cycle {
  font-size: 14px;
}

#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing .as-price-term .as-price-vat {
  font-size: 13px;
}

#order-standard_cart .as-pricing-grid .as-plan-card .product-pricing .as-price-stamp {
  font-size: 14px;
  font-weight: 400;
}

.as-pricing-grid .as-plan-card .product-desc p {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #637084;
}

.as-pricing-grid .as-plan-card .product-desc {
  padding: 0;
  flex-grow: 1;
  margin-top: 6px;
}

.as-price-main {
  font-family: "Raleway-Regular", "Raleway", "Open Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
}

.as-plan-price {
  font-family: "Raleway-Regular", "Raleway", "Open Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.as-plan-price .price {
  letter-spacing: -0.03em;
}

.as-plan-price .price strong {
  font-weight: 400;
}

.as-plan-short {
  font-size: 13px;
  line-height: 1.5;
  color: #637084;
  margin-bottom: 6px;
}

.as-plan-description {
  font-size: 15px;
  line-height: 1.6;
  color: #637084;
  margin-bottom: 6px;
}

.as-pricing-grid .as-plan-card .product-desc ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
}

.as-pricing-grid .as-plan-card .product-desc ul li {
  font-size: 13px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
  line-height: 1.4;
}

.as-pricing-grid .as-plan-card .product-desc ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: #4a90e2;
}

/* Lists coming from the rich product description (WHMCS HTML) */
.as-pricing-grid .as-plan-card .product-desc .as-plan-description ul {
  margin: 0 0 10px;
  padding-left: 0;
  list-style: none;
}

.as-pricing-grid .as-plan-card .product-desc .as-plan-description ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  padding-left: 0;
  margin-bottom: 6px;
  color: #637084;
  white-space: nowrap;
}

.as-pricing-grid .as-plan-card .product-desc .as-plan-description ul li::before {
  content: none;
}

.as-pricing-grid .as-plan-card .product-desc .as-plan-description ul li i {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  color: #4a90e2;
}

@media (max-width: 767px) {
  .as-pricing-grid .as-plan-card .product-desc .as-plan-description ul li {
    white-space: normal;
  }
}

.as-pricing-grid .product {
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
}

.as-pricing-row > [class*='col-'] {
  display: flex;
}

.as-plan-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 3px;
  overflow: hidden;
}

.as-plan-item .as-plan-card {
  flex-grow: 1;
  margin-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.as-plan-item .as-plan-card.as-plan-card--popular {
  border-radius: 3px 3px 0 0;
}

.as-plan-cta {
  margin-top: 0;
}

.as-plan-cta.btn-order-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 52px;
  font-size: 15px;
  padding: 0 20px;
  line-height: 1.1;
  white-space: nowrap;
  margin: 0 !important;
  border-radius: 0 0 3px 3px;
  font-weight: 700;
  background: #4a90e2 !important;
  border-color: #4a90e2 !important;
  box-shadow: none;
}

.as-plan-cta.btn-order-now i {
  line-height: 1;
}

.as-pricing-row > [class*='col-'] {
  display: flex;
}

.as-pricing-row > [class*='col-'] .as-plan-card {
  height: 100%;
}

.as-plan-cta.btn-order-now:hover {
  background: #3c7ac5;
  border-color: #3c7ac5;
  text-decoration: none;
}

/* Highlight middle Pro-Stream plan as popular */
.as-pricing-grid .as-plan-card--popular {
  border-width: 2px;
  border-color: #4a90e2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  position: relative;
}

.as-plan-divider {
  border-top: 1px solid #d1d1d1;
  margin: 12px 0 10px;
}

/* Configure product header and details */
.as-config-header {
  margin-bottom: 24px;
}

.as-config-header h1 {
  margin-bottom: 6px;
}

.as-config-lead {
  margin: 0;
  color: #637084;
  font-size: 16px;
  line-height: 1.6;
}

.as-config-details {
  margin-top: 32px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid #e6e9ed;
}

.as-config-details h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Streaming FAQ section under pricing */
.as-streaming-faq {
  padding: 32px 0 0;
  border-radius: 0;
  background: transparent;
  color: #222;
  border: 0;
  box-shadow: none;
}

.as-streaming-faq h4 {
  font-size: 18px;
  font-weight: 700;
  color: #013857;
}

.as-streaming-faq p {
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.as-streaming-faq hr {
  margin: 12px 0;
  border-color: #e6e9ed;
}

.as-price-note {
  font-size: 12px;
  color: #6a7280;
  margin-top: 8px;
  text-align: center;
}
