/**
 * Shufflrr Checkout — shared Order Summary normalization.
 * Goal: identical sidebar dimensions/spacing/sticky behavior across:
 * - Cloud Trial (.shuf-ct-*)
 * - Blob + Cloud (.shuf-bc-*)
 * - PowerPoint Add-in (.shuf-ad-*)
 */

/* Sticky behavior (desktop) */
.shuf-ct-wrap .shuf-ct-summary,
.shuf-bc-wrap .shuf-bc-summary,
.shuf-ad-wrap .shuf-ad-summary {
  position: sticky !important;
  top: 114px !important;
  align-self: start !important;
}

/* Summary container */
.shuf-ct-wrap .shuf-ct-summary-box,
.shuf-bc-wrap .shuf-bc-summary-box,
.shuf-ad-wrap .shuf-ad-summary-box {
  border: 2px solid var(--shuf-orange) !important;
  border-radius: var(--radius) !important;
  padding: 15px 15px !important;
  background: var(--shuf-white) !important;
}

/* Title + product name */
.shuf-ct-wrap h2.shuf-ct-summary-title,
.shuf-ct-wrap .shuf-ct-summary-title,
.shuf-bc-wrap h2.shuf-bc-summary-title,
.shuf-bc-wrap .shuf-bc-summary-title,
.shuf-ad-wrap h2.shuf-ad-summary-title,
.shuf-ad-wrap .shuf-ad-summary-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  margin: 0 0 4px !important;
  color: var(--shuf-navy) !important;
  line-height: 1.2 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.shuf-ct-wrap .shuf-ct-summary-product,
.shuf-bc-wrap .shuf-bc-summary-product,
.shuf-bc-wrap p.shuf-bc-summary-product,
.shuf-ad-wrap .shuf-ad-summary-product,
.shuf-ad-wrap p.shuf-ad-summary-product {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 10px !important;
  color: var(--shuf-body) !important;
  line-height: 1.2 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Summary rows */
.shuf-ct-wrap .shuf-ct-summary-rows,
.shuf-bc-wrap .shuf-bc-summary-rows,
.shuf-ad-wrap .shuf-ad-summary-rows {
  border-top: 1px solid var(--shuf-border) !important;
  padding-top: 14px !important;
  margin-bottom: 14px !important;
}

.shuf-ct-wrap .shuf-ct-summary-row,
.shuf-bc-wrap .shuf-bc-summary-row,
.shuf-ad-wrap .shuf-ad-summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--shuf-navy) !important;
  margin-bottom: 8px !important;
  gap: 8px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Total / renewal block */
.shuf-ct-summary-renewal,
.shuf-bc-wrap .shuf-bc-summary-renewal,
.shuf-ad-wrap .shuf-ad-summary-renewal {
  margin-bottom: 12px !important;
}

/* Payment row spacing */
.shuf-ct-wrap .shuf-ct-summary-payment,
.shuf-bc-wrap .shuf-bc-summary-payment,
.shuf-ad-wrap .shuf-ad-summary-payment {
  margin-bottom: 14px !important;
}

/* Stripe footer spacing (display remains product-controlled) */
.shuf-ct-wrap .shuf-ct-stripe-footer,
.shuf-bc-wrap .shuf-bc-stripe-footer,
.shuf-ad-wrap .shuf-ad-stripe-footer {
  margin-top: 8px !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Mobile summary box padding parity */
@media (max-width: 600px) {
  .shuf-ct-wrap .shuf-ct-summary-box,
  .shuf-bc-wrap .shuf-bc-summary-box,
  .shuf-ad-wrap .shuf-ad-summary-box {
    padding: 18px 14px !important;
  }
}

/* Thank You / error replaces summary content — beat product display:!important rules */
.shuf-ct-wrap .shuf-ct-summary-box.shuf-summary-showing-response > *:not(.shuf-checkout-response),
.shuf-bc-wrap .shuf-bc-summary-box.shuf-summary-showing-response > *:not(.shuf-checkout-response),
.shuf-ad-wrap .shuf-ad-summary-box.shuf-summary-showing-response > *:not(.shuf-checkout-response) {
  display: none !important;
}

