
:root {
  --ae-co-text: #263b58;
  --ae-co-title: #1a2f49;
  --ae-co-muted: #6d829b;
  --ae-co-line: #dbe8f1;
  --ae-co-line-strong: #c8dbe8;
  --ae-co-card: #ffffff;
  --ae-co-card-2: #f7fbff;
  --ae-co-shadow: 0 28px 60px rgba(52, 88, 122, 0.12), 0 10px 24px rgba(52, 88, 122, 0.08);
  --ae-co-soft-shadow: 0 18px 36px rgba(52, 88, 122, 0.08);
  --ae-co-green: #27c983;
  --ae-co-teal: #1bc9d0;
  --ae-co-teal-2: #2ab8e8;
  --ae-co-radius-xl: 34px;
  --ae-co-radius-lg: 26px;
  --ae-co-radius-md: 18px;
}

body.woocommerce-checkout.ae-checkout-premium,
body.woocommerce-block-theme-has-button-styles.ae-checkout-premium {
  background: linear-gradient(180deg, #f7fbff 0%, #f3f8fd 100%);
}

body.ae-checkout-premium .ae-checkout-main {
  position: relative;
  z-index: 3;
  max-width: 1360px;
  margin: -106px auto 84px;
  padding: 0 22px;
}

body.ae-checkout-premium .ae-checkout-hero {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto 26px;
  padding: 44px 56px 38px;
  text-align: center;
  border-radius: var(--ae-co-radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(249,252,255,.98) 100%);
  border: 1px solid rgba(215, 229, 239, 0.98);
  box-shadow: var(--ae-co-shadow);
}

body.ae-checkout-premium .ae-checkout-hero__title {
  margin: 0;
  color: var(--ae-co-title);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
}

body.ae-checkout-premium .ae-checkout-hero__desc {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--ae-co-muted);
  font-size: 18px;
  line-height: 1.55;
}

body.ae-checkout-premium .ae-checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 28px;
  align-items: start;
}

body.ae-checkout-premium .ae-checkout-content,
body.ae-checkout-premium .ae-checkout-sidebar {
  min-width: 0;
}

body.ae-checkout-premium .ae-checkout-sidebar > * + * {
  margin-top: 20px;
}

body.ae-checkout-premium .ae-checkout-content > .wc-block-checkout__main,
body.ae-checkout-premium .ae-checkout-content > .wc-block-components-main,
body.ae-checkout-premium .ae-checkout-content > form.checkout {
  display: block;
  min-width: 0;
}

body.ae-checkout-premium .wc-block-checkout,
body.ae-checkout-premium .wc-block-components-sidebar-layout,
body.ae-checkout-premium .wp-block-woocommerce-checkout {
  background: transparent !important;
}

body.ae-checkout-premium .wc-block-components-main,
body.ae-checkout-premium .wc-block-checkout__main,
body.ae-checkout-premium .wc-block-components-sidebar,
body.ae-checkout-premium .wc-block-checkout__sidebar {
  width: auto !important;
  flex: initial !important;
  min-width: 0;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions,
body.ae-checkout-premium .ae-checkout-content .wp-block-heading,
body.ae-checkout-premium .ae-checkout-content > p,
body.ae-checkout-premium .ae-checkout-content > h1,
body.ae-checkout-premium .ae-checkout-content > h2 {
  display: none !important;
}

/* Core cards */
body.ae-checkout-premium .wc-block-checkout__express-payment-block,
body.ae-checkout-premium .wc-block-components-checkout-step,
body.ae-checkout-premium .woocommerce-billing-fields,
body.ae-checkout-premium .woocommerce-shipping-fields,
body.ae-checkout-premium .woocommerce-additional-fields,
body.ae-checkout-premium .woocommerce-checkout-payment,
body.ae-checkout-premium .ae-classic-card {
  position: relative;
  margin: 0 0 20px !important;
  padding: 28px !important;
  border-radius: var(--ae-co-radius-xl) !important;
  border: 1px solid rgba(216,229,238,.98) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,252,255,.98) 100%) !important;
  box-shadow: var(--ae-co-shadow) !important;
  overflow: hidden;
}

body.ae-checkout-premium .wc-block-checkout__express-payment-block::before,
body.ae-checkout-premium .wc-block-components-checkout-step::before,
body.ae-checkout-premium .woocommerce-billing-fields::before,
body.ae-checkout-premium .woocommerce-shipping-fields::before,
body.ae-checkout-premium .woocommerce-additional-fields::before,
body.ae-checkout-premium .woocommerce-checkout-payment::before,
body.ae-checkout-premium .ae-classic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(110% 90% at 100% 0%, rgba(57,219,221,.12) 0%, rgba(57,219,221,0) 45%), radial-gradient(120% 90% at 0% 100%, rgba(163,223,235,.18) 0%, rgba(163,223,235,0) 45%);
}

body.ae-checkout-premium .wc-block-checkout__express-payment-block > *,
body.ae-checkout-premium .wc-block-components-checkout-step > *,
body.ae-checkout-premium .woocommerce-billing-fields > *,
body.ae-checkout-premium .woocommerce-shipping-fields > *,
body.ae-checkout-premium .woocommerce-additional-fields > *,
body.ae-checkout-premium .woocommerce-checkout-payment > *,
body.ae-checkout-premium .ae-classic-card > * {
  position: relative;
  z-index: 1;
}

body.ae-checkout-premium .wc-block-components-checkout-step__heading,
body.ae-checkout-premium .woocommerce-billing-fields > h3,
body.ae-checkout-premium .woocommerce-shipping-fields > h3,
body.ae-checkout-premium .woocommerce-additional-fields > h3,
body.ae-checkout-premium .ae-classic-card > h3,
body.ae-checkout-premium .woocommerce-checkout-payment .wc_payment_methods + p,
body.ae-checkout-premium .ae-express-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px !important;
  color: var(--ae-co-title) !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

body.ae-checkout-premium .wc-block-components-checkout-step__heading::before,
body.ae-checkout-premium .woocommerce-billing-fields > h3::before,
body.ae-checkout-premium .woocommerce-shipping-fields > h3::before,
body.ae-checkout-premium .woocommerce-additional-fields > h3::before,
body.ae-checkout-premium .ae-classic-card > h3::before,
body.ae-checkout-premium .woocommerce-checkout-payment .wc_payment_methods + p::before,
body.ae-checkout-premium .ae-express-title::before {
  content: "";
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(180deg, #66ddd4 0%, #8fd6eb 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 12px 18px rgba(58, 164, 179, .16);
}

body.ae-checkout-premium .wc-block-components-checkout-step.ae-step-contact .wc-block-components-checkout-step__heading::before,
body.ae-checkout-premium .woocommerce-billing-fields > h3::before { background: linear-gradient(180deg,#68ddd2 0%,#93d9ea 100%) url('../img/icon-mail.svg') center/18px 18px no-repeat; }
body.ae-checkout-premium .wc-block-components-checkout-step.ae-step-shipping .wc-block-components-checkout-step__heading::before,
body.ae-checkout-premium .woocommerce-shipping-fields > h3::before { background: linear-gradient(180deg,#70ddd0 0%,#93d9ea 100%) url('../img/icon-pin.svg') center/18px 18px no-repeat; }
body.ae-checkout-premium .wc-block-components-checkout-step.ae-step-shipping-options .wc-block-components-checkout-step__heading::before,
body.ae-checkout-premium .ae-classic-card.ae-shipping-card > h3::before { background: linear-gradient(180deg,#6fd8d1 0%,#9ad8ea 100%) url('../img/icon-shipping.svg') center/18px 18px no-repeat; }
body.ae-checkout-premium .wc-block-components-checkout-step.ae-step-payment .wc-block-components-checkout-step__heading::before,
body.ae-checkout-premium .woocommerce-checkout-payment .wc_payment_methods + p::before { background: linear-gradient(180deg,#6fd8d1 0%,#9ad8ea 100%) url('../img/icon-card.svg') center/18px 18px no-repeat; }
body.ae-checkout-premium .ae-express-title::before { background: linear-gradient(180deg,#6ddbd1 0%,#9edcef 100%) url('../img/icon-bag.svg') center/18px 18px no-repeat; }

body.ae-checkout-premium .wc-block-checkout__express-payment-block .wc-block-checkout__express-payment__title,
body.ae-checkout-premium .wc-block-checkout__express-payment-block .wc-block-components-title,
body.ae-checkout-premium .wc-block-checkout__express-payment-block .wc-block-components-express-payment__title {
  position: relative;
  padding-left: 56px;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--ae-co-title) !important;
  margin: 0 0 20px !important;
}

body.ae-checkout-premium .wc-block-checkout__express-payment-block .wc-block-checkout__express-payment__title::before,
body.ae-checkout-premium .wc-block-checkout__express-payment-block .wc-block-components-title::before,
body.ae-checkout-premium .wc-block-checkout__express-payment-block .wc-block-components-express-payment__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(180deg,#6ddbd1 0%,#9edcef 100%) url('../img/icon-bag.svg') center/18px 18px no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 12px 18px rgba(58, 164, 179, .16);
}

/* Inputs */
body.ae-checkout-premium .wc-block-components-text-input input,
body.ae-checkout-premium .wc-block-components-text-input textarea,
body.ae-checkout-premium .wc-block-components-combobox-control .components-combobox-control__input,
body.ae-checkout-premium .wc-block-components-select .wc-block-components-select__select,
body.ae-checkout-premium .wc-block-components-address-form input,
body.ae-checkout-premium .wc-block-components-address-form select,
body.ae-checkout-premium .wc-block-components-address-form textarea,
body.ae-checkout-premium .woocommerce form .form-row input.input-text,
body.ae-checkout-premium .woocommerce form .form-row textarea,
body.ae-checkout-premium .woocommerce form .form-row select {
  min-height: 60px !important;
  height: auto !important;
  border-radius: 16px !important;
  border: 1px solid rgba(205, 221, 233, 1) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,253,255,.98)) !important;
  color: var(--ae-co-text) !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  padding: 16px 18px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

body.ae-checkout-premium .wc-block-components-checkbox .wc-block-components-checkbox__label,
body.ae-checkout-premium .woocommerce form .form-row label,
body.ae-checkout-premium .wc-block-components-text-input label,
body.ae-checkout-premium .wc-block-components-address-form__address_2-toggle,
body.ae-checkout-premium .wc-block-components-checkbox label,
body.ae-checkout-premium .woocommerce form .woocommerce-form__label-for-checkbox span {
  color: var(--ae-co-muted) !important;
  font-size: 15px !important;
}

body.ae-checkout-premium .wc-block-components-checkout-step__container,
body.ae-checkout-premium .wc-block-components-checkout-step__description,
body.ae-checkout-premium .woocommerce-billing-fields__field-wrapper,
body.ae-checkout-premium .woocommerce-shipping-fields__field-wrapper,
body.ae-checkout-premium .woocommerce-additional-fields__field-wrapper {
  margin-top: 0 !important;
}

/* Shipping and payment option cards */
body.ae-checkout-premium .wc-block-components-shipping-rates-control__package,
body.ae-checkout-premium .wc-block-components-radio-control__option,
body.ae-checkout-premium .wc-block-components-payment-method,
body.ae-checkout-premium .woocommerce-shipping-methods li,
body.ae-checkout-premium #payment ul.payment_methods > li {
  border: 1px solid rgba(210, 223, 233, 0.98) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(250,253,255,.99)) !important;
  padding: 18px 20px !important;
  box-shadow: var(--ae-co-soft-shadow) !important;
  margin: 0 0 14px !important;
}

body.ae-checkout-premium .wc-block-components-radio-control__option--checked,
body.ae-checkout-premium .wc-block-components-payment-method.is-active,
body.ae-checkout-premium .woocommerce-shipping-methods li:has(input:checked),
body.ae-checkout-premium #payment ul.payment_methods > li:has(input:checked) {
  border-color: rgba(98, 221, 211, 0.95) !important;
  box-shadow: 0 18px 36px rgba(49, 194, 198, 0.10) !important;
}

body.ae-checkout-premium .wc-block-components-radio-control__option-layout,
body.ae-checkout-premium .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option-layout {
  align-items: center !important;
}

body.ae-checkout-premium .wc-block-components-product-name,
body.ae-checkout-premium .wc-block-components-payment-method__title,
body.ae-checkout-premium #payment label,
body.ae-checkout-premium .woocommerce-shipping-methods label {
  color: var(--ae-co-title) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

body.ae-checkout-premium .wc-block-components-radio-control__secondary-label,
body.ae-checkout-premium .wc-block-components-radio-control__description,
body.ae-checkout-premium .wc-block-components-payment-method__description,
body.ae-checkout-premium #payment div.payment_box,
body.ae-checkout-premium .woocommerce-shipping-methods .amount {
  color: var(--ae-co-muted) !important;
}

/* Sidebar */
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-sidebar,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-checkout__sidebar,
body.ae-checkout-premium .woocommerce-checkout-review-order,
body.ae-checkout-premium #order_review {
  position: sticky;
  top: 120px;
  align-self: start;
  border-radius: var(--ae-co-radius-xl) !important;
  border: 1px solid rgba(214,228,239,.98) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(248,252,255,.99) 100%) !important;
  box-shadow: var(--ae-co-shadow) !important;
  padding: 18px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-wrapper,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-coupon,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel,
body.ae-checkout-premium .ae-checkout-sidebar .wp-block-woocommerce-checkout-order-summary-block,
body.ae-checkout-premium .ae-checkout-sidebar .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.ae-checkout-premium .ae-checkout-sidebar .wp-block-woocommerce-checkout-totals-block,
body.ae-checkout-premium .ae-checkout-sidebar .wp-block-woocommerce-checkout-actions-block {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__title,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__title-text,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel__button,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-checkout__sidebar h3,
body.ae-checkout-premium .woocommerce-checkout-review-order #order_review_heading {
  color: var(--ae-co-title) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 18px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__content,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__items,
body.ae-checkout-premium .woocommerce-checkout-review-order-table tbody {
  display: block;
  margin: 0 0 16px !important;
  padding: 14px 16px !important;
  border-radius: var(--ae-co-radius-lg) !important;
  border: 1px solid rgba(215,228,238,.98) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,252,255,.98)) !important;
  box-shadow: 0 16px 34px rgba(50, 86, 118, 0.08);
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table tr.cart_item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: start;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(219,232,241,.92) !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item:last-child,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table tr.cart_item:last-child {
  border-bottom: 0 !important;
}

body.ae-checkout-premium .wc-block-components-order-summary-item__image,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-image {
  width: 54px !important;
}

body.ae-checkout-premium .wc-block-components-order-summary-item__image img,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-image img {
  width: 54px !important;
  height: 54px !important;
  object-fit: cover;
  border-radius: 14px !important;
  box-shadow: 0 12px 18px rgba(45, 78, 112, 0.10);
}

body.ae-checkout-premium .wc-block-components-order-summary-item__description,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-name {
  min-width: 0;
}

body.ae-checkout-premium .wc-block-components-order-summary-item__quantity,
body.ae-checkout-premium .wc-block-components-order-summary-item__total-price,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-total {
  justify-self: end;
  color: var(--ae-co-title) !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item__description .wc-block-components-product-name,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-name {
  color: var(--ae-co-title) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-product-details,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-name .variation,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-name .wc-item-meta {
  color: var(--ae-co-muted) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin-top: 6px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-coupon,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-coupon-form,
body.ae-checkout-premium .woocommerce-form-coupon {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-coupon-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-coupon-form .wc-block-components-text-input,
body.ae-checkout-premium .woocommerce-form-coupon .form-row-first {
  flex: 1 1 auto;
  margin: 0 !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-coupon-form .wc-block-components-text-input input,
body.ae-checkout-premium .woocommerce-form-coupon .input-text {
  min-height: 54px !important;
  font-size: 16px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-coupon-form button,
body.ae-checkout-premium .woocommerce-form-coupon button.button {
  min-width: 90px;
  min-height: 54px !important;
  border-radius: 14px !important;
  border: 0 !important;
  background: linear-gradient(90deg, rgba(44,185,232,.88), rgba(39,201,131,.90)) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: 0 16px 26px rgba(41, 196, 151, 0.18) !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-wrapper,
body.ae-checkout-premium .woocommerce-checkout-review-order-table tfoot {
  border-top: 1px solid rgba(218,231,241,.95) !important;
  padding-top: 14px !important;
  margin-top: 6px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-item,
body.ae-checkout-premium .woocommerce-checkout-review-order-table tfoot tr {
  color: var(--ae-co-title) !important;
  font-weight: 700 !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-item__label,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-item__value,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-formatted-money-amount,
body.ae-checkout-premium .woocommerce-Price-amount.amount {
  color: var(--ae-co-title) !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-totals-footer-item,
body.ae-checkout-premium .order-total {
  font-size: 22px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-checkout-place-order-button,
body.ae-checkout-premium #place_order,
body.ae-checkout-premium .woocommerce #payment #place_order {
  width: 100% !important;
  min-height: 62px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(90deg, var(--ae-co-teal-2) 0%, var(--ae-co-green) 100%) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  box-shadow: 0 22px 36px rgba(39, 201, 131, 0.20), 0 12px 24px rgba(27, 183, 231, 0.15) !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-checkout-place-order-button:hover,
body.ae-checkout-premium #place_order:hover,
body.ae-checkout-premium .woocommerce #payment #place_order:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

body.ae-checkout-premium .wc-block-components-order-summary .wc-block-components-panel__button,
body.ae-checkout-premium .wc-block-components-order-summary__button-text {
  color: var(--ae-co-title) !important;
  font-weight: 800 !important;
}

body.ae-checkout-premium .wc-block-components-checkout-step__description,
body.ae-checkout-premium .wc-block-components-checkout-step__heading .wc-block-components-link,
body.ae-checkout-premium .wc-block-components-totals-shipping__change-address-link,
body.ae-checkout-premium .wc-block-components-validation-error,
body.ae-checkout-premium .woocommerce-privacy-policy-text,
body.ae-checkout-premium .woocommerce-terms-and-conditions-wrapper,
body.ae-checkout-premium .wc-block-checkout__actions_row,
body.ae-checkout-premium .wc-block-components-totals-shipping__via {
  color: var(--ae-co-muted) !important;
}

body.ae-checkout-premium .wc-block-checkout__actions_row,
body.ae-checkout-premium .woocommerce-checkout-payment .form-row.place-order,
body.ae-checkout-premium .wc-block-components-checkout-place-order-block,
body.ae-checkout-premium .woocommerce-terms-and-conditions-wrapper {
  margin-top: 18px !important;
}

body.ae-checkout-premium .woocommerce .checkout_coupon,
body.ae-checkout-premium .woocommerce-form-login,
body.ae-checkout-premium .woocommerce-error,
body.ae-checkout-premium .woocommerce-info,
body.ae-checkout-premium .woocommerce-message {
  border-radius: 18px !important;
  border: 1px solid rgba(208, 222, 233, .96) !important;
  box-shadow: var(--ae-co-soft-shadow) !important;
}

body.ae-checkout-premium .ae-classic-hidden,
body.ae-checkout-premium .wp-block-woocommerce-checkout-fields-block .wp-block-heading,
body.ae-checkout-premium .wc-block-components-checkout-step__description br:only-child {
  display: none !important;
}

body.ae-checkout-premium form.checkout,
body.ae-checkout-premium .woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: minmax(0,1fr) 372px;
  gap: 28px;
}

body.ae-checkout-premium .woocommerce-checkout .col2-set .col-1,
body.ae-checkout-premium .woocommerce-checkout .col2-set .col-2 {
  width: auto !important;
  float: none !important;
}

body.ae-checkout-premium .woocommerce-checkout .col2-set .col-2,
body.ae-checkout-premium .woocommerce-checkout-review-order,
body.ae-checkout-premium #order_review {
  position: sticky;
  top: 120px;
  align-self: start;
}

@media (max-width: 1099px) {
  body.ae-checkout-premium .ae-checkout-main {
    margin: 16px auto 48px;
    padding: 0 14px;
  }
  body.ae-checkout-premium .ae-checkout-hero {
    margin: 0 0 18px;
    padding: 30px 24px 28px;
  }
  body.ae-checkout-premium .ae-checkout-hero__title {
    font-size: 42px;
  }
  body.ae-checkout-premium .ae-checkout-hero__desc {
    font-size: 16px;
    margin-top: 16px;
  }
  body.ae-checkout-premium .ae-checkout-shell,
  body.ae-checkout-premium form.checkout,
  body.ae-checkout-premium .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
  body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-sidebar,
  body.ae-checkout-premium .ae-checkout-sidebar .wc-block-checkout__sidebar,
  body.ae-checkout-premium .woocommerce-checkout .col2-set .col-2,
  body.ae-checkout-premium .woocommerce-checkout-review-order,
  body.ae-checkout-premium #order_review,
  body.ae-checkout-premium .wc-block-components-order-summary {
    position: static !important;
    top: auto !important;
  }
  body.ae-checkout-premium .wc-block-checkout__express-payment-block,
  body.ae-checkout-premium .wc-block-components-checkout-step,
  body.ae-checkout-premium .woocommerce-billing-fields,
  body.ae-checkout-premium .woocommerce-shipping-fields,
  body.ae-checkout-premium .woocommerce-additional-fields,
  body.ae-checkout-premium .woocommerce-checkout-payment,
  body.ae-checkout-premium .ae-classic-card,
  body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-sidebar,
  body.ae-checkout-premium .ae-checkout-sidebar .wc-block-checkout__sidebar {
    padding: 22px !important;
    border-radius: 24px !important;
  }
}


/* ===== Cart Page Premium alignment overrides ===== */
body.ae-checkout-premium {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8fd 100%);
}

body.ae-checkout-premium .ae-checkout-main {
  max-width: 1260px;
  margin: -96px auto 72px;
  padding: 0 18px;
}

body.ae-checkout-premium .ae-cart-shopbar-wrap {
  margin: 0 0 18px;
}

body.ae-checkout-premium .ae-cart-shopbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 92px;
  padding: 14px 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(246, 250, 253, .98) 0%, rgba(240, 246, 251, .97) 100%);
  border: 1px solid rgba(205, 221, 233, .95);
  box-shadow: 0 14px 30px rgba(45, 76, 108, .12), inset 0 1px 0 rgba(255,255,255,.95);
  box-sizing: border-box;
}
body.ae-checkout-premium .ae-cart-shopbar__brand,
body.ae-checkout-premium .ae-cart-shopbar__actions { display:flex; align-items:center; }
body.ae-checkout-premium .ae-cart-shopbar__brand { gap:14px; min-width:0; flex:1 1 auto; }
body.ae-checkout-premium .ae-cart-shopbar__logo {
  width: 44px; height: 44px; border-radius: 15px; display:grid; place-items:center;
  font-size:24px; font-weight:800; letter-spacing:-.03em; color:#223857;
  background: linear-gradient(180deg, #e9f3f9 0%, #dae9f2 100%);
  border: 1px solid rgba(194, 214, 228, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
}
body.ae-checkout-premium .ae-cart-shopbar__copy{min-width:0;}
body.ae-checkout-premium .ae-cart-shopbar__title{color:#21354f; font-size:17px; font-weight:800; line-height:1.2;}
body.ae-checkout-premium .ae-cart-shopbar__subtitle{margin-top:5px; color:#7b8ea5; font-size:14px; line-height:1.3;}
body.ae-checkout-premium .ae-cart-shopbar__actions{gap:12px; flex:0 0 auto; flex-wrap:nowrap;}
body.ae-checkout-premium .ae-cart-shopbar__pill{
  display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 16px; border-radius:999px;
  background: linear-gradient(180deg, #f4faf7 0%, #e6f6ef 100%);
  border:1px solid rgba(171, 221, 203, .96); color:#243a57; font-size:14px; font-weight:700; white-space:nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 6px 16px rgba(37, 169, 129, .08);
}
body.ae-checkout-premium .ae-cart-shopbar__pill img{width:15px; height:15px; flex:0 0 15px;}
body.ae-checkout-premium .ae-cart-shopbar__pill-label{color:#46617f; font-weight:700;}
body.ae-checkout-premium .ae-cart-shopbar__pill strong{color:#1c3250; font-weight:800;}
body.ae-checkout-premium .ae-cart-shopbar__account{
  display:inline-flex; align-items:center; justify-content:center; min-width:132px; min-height:52px; padding:0 22px; border-radius:18px;
  background: linear-gradient(180deg, #28cbb5 0%, #17b8cf 100%); color:#07314b !important; font-size:17px; font-weight:800;
  text-decoration:none !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 22px rgba(31, 190, 186, .18);
}

body.ae-checkout-premium .ae-checkout-hero {
  max-width: 940px;
  margin: 0 auto 18px;
  padding: 40px 48px 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(244,251,255,.96) 0%, rgba(250,253,255,.98) 100%);
  border: 1px solid rgba(214, 228, 239, 0.98);
  box-shadow: 0 20px 50px rgba(54, 88, 121, 0.12), 0 8px 18px rgba(54, 88, 121, 0.06);
}
body.ae-checkout-premium .ae-checkout-hero__title { font-size: 58px; line-height:1; color:#1c3250; }
body.ae-checkout-premium .ae-checkout-hero__desc { max-width: 760px; font-size: 18px; color:#6f839b; }

body.ae-checkout-premium .ae-checkout-shell {
  gap: 22px;
  grid-template-columns: minmax(0,1fr) 320px;
}
body.ae-checkout-premium .ae-checkout-content > .wc-block-checkout__main,
body.ae-checkout-premium .ae-checkout-content > .wc-block-components-main,
body.ae-checkout-premium .ae-checkout-content > form.checkout {
  display:block; min-width:0;
}

body.ae-checkout-premium .wc-block-checkout__express-payment-block,
body.ae-checkout-premium .wc-block-components-checkout-step,
body.ae-checkout-premium .woocommerce-billing-fields,
body.ae-checkout-premium .woocommerce-shipping-fields,
body.ae-checkout-premium .woocommerce-additional-fields,
body.ae-checkout-premium .woocommerce-checkout-payment,
body.ae-checkout-premium .ae-classic-card {
  margin: 0 0 18px !important;
  padding: 24px !important;
  border-radius: 26px !important;
  border: 1px solid rgba(207, 222, 234, 0.96) !important;
  background: linear-gradient(180deg, rgba(250,253,255,.95) 0%, rgba(244,250,255,.92) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 14px 28px rgba(57, 88, 121, 0.07) !important;
}
body.ae-checkout-premium .wc-block-checkout__express-payment-block::before,
body.ae-checkout-premium .wc-block-components-checkout-step::before,
body.ae-checkout-premium .woocommerce-billing-fields::before,
body.ae-checkout-premium .woocommerce-shipping-fields::before,
body.ae-checkout-premium .woocommerce-additional-fields::before,
body.ae-checkout-premium .woocommerce-checkout-payment::before,
body.ae-checkout-premium .ae-classic-card::before {
  background: linear-gradient(180deg, rgba(220,240,252,.72) 0%, rgba(247,251,255,.08) 100%), url('../img/clouds-top.svg') center top / cover no-repeat;
  opacity: .38;
}

body.ae-checkout-premium .wc-block-components-checkout-step__heading,
body.ae-checkout-premium .woocommerce-billing-fields > h3,
body.ae-checkout-premium .woocommerce-shipping-fields > h3,
body.ae-checkout-premium .woocommerce-additional-fields > h3,
body.ae-checkout-premium .ae-classic-card > h3,
body.ae-checkout-premium .woocommerce-checkout-payment .wc_payment_methods + p,
body.ae-checkout-premium .ae-express-title,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__title,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__title-text,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel__button,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-checkout__sidebar h3,
body.ae-checkout-premium .woocommerce-checkout-review-order #order_review_heading {
  color:#1c3250 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}
body.ae-checkout-premium .wc-block-components-checkout-step__heading::before,
body.ae-checkout-premium .woocommerce-billing-fields > h3::before,
body.ae-checkout-premium .woocommerce-shipping-fields > h3::before,
body.ae-checkout-premium .woocommerce-additional-fields > h3::before,
body.ae-checkout-premium .ae-classic-card > h3::before,
body.ae-checkout-premium .woocommerce-checkout-payment .wc_payment_methods + p::before,
body.ae-checkout-premium .ae-express-title::before {
  width: 40px; height: 40px; border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 10px 16px rgba(58, 164, 179, .16);
}

body.ae-checkout-premium .wc-block-components-text-input input,
body.ae-checkout-premium .wc-block-components-address-form input,
body.ae-checkout-premium .wc-block-components-address-form select,
body.ae-checkout-premium .wc-block-components-address-form textarea,
body.ae-checkout-premium .woocommerce form .form-row input.input-text,
body.ae-checkout-premium .woocommerce form .form-row textarea,
body.ae-checkout-premium .woocommerce form .form-row select {
  min-height: 58px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(205, 221, 233, 1) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,253,255,.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
  color:#243a57 !important;
  font-size: 16px !important;
  padding: 16px 18px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-sidebar,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-checkout__sidebar,
body.ae-checkout-premium .woocommerce-checkout-review-order,
body.ae-checkout-premium #order_review {
  border-radius: 24px !important;
  border: 1px solid rgba(207, 222, 234, 0.98) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,251,255,.98) 100%) !important;
  box-shadow: 0 14px 30px rgba(56, 86, 118, 0.09) !important;
  padding: 22px !important;
  top: 112px;
}
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__content,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__items,
body.ae-checkout-premium .woocommerce-checkout-review-order-table tbody {
  padding: 14px 14px !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 24px rgba(49, 79, 112, 0.07);
}
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table tr.cart_item {
  grid-template-columns: 54px minmax(0,1fr) auto;
  gap: 12px 12px;
}
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item__image img,
body.ae-checkout-premium .shop_table.woocommerce-checkout-review-order-table .product-image img {
  border:1px solid rgba(214, 226, 237, .98);
  background:#fff;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-coupon-form .wc-block-components-text-input input,
body.ae-checkout-premium .woocommerce-form-coupon .input-text {
  min-height: 52px !important;
}
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-coupon-form button,
body.ae-checkout-premium .woocommerce-form-coupon button.button,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-checkout-place-order-button,
body.ae-checkout-premium #place_order,
body.ae-checkout-premium .woocommerce #payment #place_order {
  border-radius: 18px !important;
  background: linear-gradient(180deg, #28cbb5 0%, #17b8cf 100%) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 22px rgba(31, 190, 186, .18) !important;
}
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-checkout-place-order-button,
body.ae-checkout-premium #place_order,
body.ae-checkout-premium .woocommerce #payment #place_order {
  min-height: 58px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.ae-checkout-premium .wc-block-components-shipping-rates-control__package,
body.ae-checkout-premium .wc-block-components-radio-control__option,
body.ae-checkout-premium .wc-block-components-payment-method,
body.ae-checkout-premium .woocommerce-shipping-methods li,
body.ae-checkout-premium #payment ul.payment_methods > li {
  border-radius: 18px !important;
  box-shadow: 0 12px 24px rgba(49, 79, 112, 0.07) !important;
}

@media (max-width: 1399px) {
  body.ae-checkout-premium .ae-cart-shopbar { gap:14px; }
  body.ae-checkout-premium .ae-cart-shopbar__actions { gap:10px; }
  body.ae-checkout-premium .ae-cart-shopbar__pill { padding:0 14px; font-size:13px; }
  body.ae-checkout-premium .ae-cart-shopbar__account { min-width:120px; font-size:16px; }
}

@media (max-width: 1099px) {
  body.ae-checkout-premium .ae-checkout-main { margin: 16px auto 48px; padding: 0 14px; }
  body.ae-checkout-premium .ae-cart-shopbar { flex-direction: column; align-items: stretch; min-height: 0; }
  body.ae-checkout-premium .ae-cart-shopbar__actions { flex-wrap: wrap; }
  body.ae-checkout-premium .ae-checkout-shell { grid-template-columns: 1fr; }
  body.ae-checkout-premium .ae-checkout-hero { padding: 28px 22px 24px; }
  body.ae-checkout-premium .ae-checkout-hero__title { font-size: 42px; }
  body.ae-checkout-premium .ae-checkout-hero__desc { font-size: 16px; }
}


/* ===== v103 top banner alignment override ===== */
body.ae-checkout-premium .uicore-page-title .uicore-container,
body.ae-checkout-premium .uicore-page-title .uicore-page-title-content,
body.ae-checkout-premium .uicore-page-title .uicore-breadcrumbs,
body.ae-checkout-premium .uicore-page-title h1,
body.ae-checkout-premium .uicore-page-title .page-title {
  display: none !important;
}

body.ae-checkout-premium .uicore-page-title {
  min-height: 420px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: visible !important;
}

body.ae-checkout-premium .uicore-page-title::before,
body.ae-checkout-premium .uicore-page-title::after {
  opacity: 1 !important;
}

body.ae-checkout-premium .ae-checkout-main {
  position: relative;
  z-index: 6;
  max-width: 1260px;
  margin: -148px auto 72px !important;
  padding: 0 18px;
}

body.ae-checkout-premium .ae-cart-shopbar-wrap {
  margin: 0 0 32px !important;
}

body.ae-checkout-premium .ae-cart-shopbar {
  max-width: 1000px;
  margin: 0 auto;
}

body.ae-checkout-premium .ae-checkout-shell,
body.ae-checkout-premium .ae-checkout-hero {
  position: relative;
  z-index: 2;
}


/* ===== v104 checkout alignment + summary cards ===== */
body.ae-checkout-premium .ae-checkout-main {
  margin: -166px auto 72px !important;
}

body.ae-checkout-premium .ae-cart-shopbar-wrap {
  margin: -4px 0 60px !important;
}

body.ae-checkout-premium .ae-cart-shopbar {
  max-width: 1040px;
}

body.ae-checkout-premium .ae-checkout-shell {
  grid-template-columns: minmax(0,1fr) 364px;
  gap: 24px;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__title,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__title-text,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel__button {
  font-size: 18px !important;
  margin: 0 0 14px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__content,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__items {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item.ae-summary-enhanced {
  display: grid !important;
  grid-template-columns: 68px minmax(0,1fr) !important;
  gap: 14px !important;
  align-items: start !important;
  margin: 0 0 12px !important;
  padding: 14px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(211,224,235,.98) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(247,251,255,.98) 100%) !important;
  box-shadow: 0 14px 26px rgba(49,79,112,.07) !important;
}

body.ae-checkout-premium .ae-summary-card__media {
  position: relative;
  width: 68px;
  min-width: 68px;
}

body.ae-checkout-premium .ae-summary-card__media img {
  width: 68px !important;
  height: 68px !important;
  object-fit: cover;
  border-radius: 16px !important;
  border: 1px solid rgba(214,226,237,.98);
  background: #fff;
  box-shadow: 0 12px 18px rgba(45,78,112,.10);
}

body.ae-checkout-premium .ae-summary-card__qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
  border: 1px solid rgba(205, 221, 233, .98);
  color: var(--ae-co-title);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(49, 79, 112, .12);
}

body.ae-checkout-premium .ae-summary-card__body {
  min-width: 0;
}

body.ae-checkout-premium .ae-summary-card__header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: start;
}

body.ae-checkout-premium .ae-summary-card__title {
  color: var(--ae-co-title);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ae-checkout-premium .ae-summary-card__price {
  color: var(--ae-co-title);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

body.ae-checkout-premium .ae-summary-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(191, 213, 228, .98);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(244,249,253,.98) 100%);
  color: #547291;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 8px 16px rgba(49,79,112,.06);
}

body.ae-checkout-premium .ae-summary-details {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(219,232,241,.92);
  color: var(--ae-co-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.ae-checkout-premium .ae-summary-details.is-open {
  display: block;
}

body.ae-checkout-premium .ae-summary-details .wc-block-components-product-metadata,
body.ae-checkout-premium .ae-summary-details .wc-block-components-product-details,
body.ae-checkout-premium .ae-summary-details .wc-item-meta,
body.ae-checkout-premium .ae-summary-details .variation {
  margin: 0 !important;
  color: var(--ae-co-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.ae-checkout-premium .ae-summary-details > * + * {
  margin-top: 8px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__button-text,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-formatted-money-amount {
  white-space: nowrap;
}


/* ===== v105 summary card stability fix ===== */
body.ae-checkout-premium .ae-checkout-shell {
  grid-template-columns: minmax(0, 1fr) 420px;
}

body.ae-checkout-premium .ae-checkout-sidebar,
body.ae-checkout-premium .ae-checkout-sidebar > * {
  min-width: 0;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item.ae-summary-enhanced {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 14px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary-item.ae-summary-enhanced > * {
  min-width: 0;
}

body.ae-checkout-premium .ae-summary-card__media {
  flex: 0 0 56px;
  width: 56px;
  min-width: 56px;
}

body.ae-checkout-premium .ae-summary-card__media img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
}

body.ae-checkout-premium .ae-summary-card__qty {
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  font-size: 12px;
}

body.ae-checkout-premium .ae-summary-card__body {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  display: flex;
  flex-direction: column;
}

body.ae-checkout-premium .ae-summary-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  width: 100%;
}

body.ae-checkout-premium .ae-summary-card__title {
  font-size: 15px;
  line-height: 1.35;
  max-width: none;
  width: 100%;
  word-break: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ae-checkout-premium .ae-summary-card__price {
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  align-self: start;
}

body.ae-checkout-premium .ae-summary-toggle {
  align-self: flex-start;
  margin-top: 12px;
  min-height: 36px;
  padding: 0 16px;
}

body.ae-checkout-premium .ae-summary-details {
  width: 100%;
}


/* ===== v107 topbar higher + summary arrow hidden ===== */
body.ae-checkout-premium .ae-checkout-main {
  margin: -194px auto 72px !important;
}

body.ae-checkout-premium .ae-cart-shopbar-wrap {
  margin: -18px 0 46px !important;
}

body.ae-checkout-premium .ae-cart-shopbar {
  max-width: 1040px;
}

body.ae-checkout-premium .ae-checkout-hero {
  margin: 0 auto 18px !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel__button svg,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel__button .wc-block-components-panel__button-icon,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel__button .wc-block-components-order-summary__button-icon,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__toggle,
body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-order-summary__button-text + svg {
  display: none !important;
}

body.ae-checkout-premium .ae-checkout-sidebar .wc-block-components-panel__button {
  padding-right: 0 !important;
  gap: 0 !important;
}


/* ===== v108 user requested top spacing + visible place order ===== */
body.ae-checkout-premium .ae-checkout-main {
  margin: -252px auto 72px !important;
}

body.ae-checkout-premium .ae-cart-shopbar-wrap {
  margin: -34px 0 60px !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions {
  display: block !important;
  margin-top: 22px !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions_row,
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-block,
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-step__container .wc-block-checkout__actions,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-checkout-place-order-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button[type="submit"],
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions a.button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout-place-order-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-button {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions_row {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout-place-order-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button[type="submit"] {
  width: 100% !important;
  min-height: 58px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #28cbb5 0%, #17b8cf 100%) !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 22px rgba(31, 190, 186, .18) !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button__text,
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-button span,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout-place-order-button span {
  color: #ffffff !important;
}



/* ===== v109 refined place order button ===== */
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions_row {
  align-items: center !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-checkout-place-order-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-checkout-place-order-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button[type="submit"],
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout-place-order-button,
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-button,
body.ae-checkout-premium #place_order,
body.ae-checkout-premium .woocommerce #payment #place_order {
  width: auto !important;
  min-width: 280px !important;
  max-width: 340px !important;
  min-height: 56px !important;
  padding: 0 28px !important;
  margin-left: auto !important;
  border: 1px solid rgba(255,255,255,.46) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)) padding-box,
    linear-gradient(135deg, #39d4cf 0%, #26c5d4 48%, #20b5e5 100%) border-box !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  box-shadow:
    0 18px 34px rgba(35, 192, 214, 0.22),
    0 10px 18px rgba(31, 173, 198, 0.14),
    inset 0 1px 0 rgba(255,255,255,.24) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-checkout-place-order-button:hover,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-checkout-place-order-button:hover,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button:hover,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button[type="submit"]:hover,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout-place-order-button:hover,
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-button:hover,
body.ae-checkout-premium #place_order:hover,
body.ae-checkout-premium .woocommerce #payment #place_order:hover {
  transform: translateY(-1px) !important;
  filter: saturate(1.04) brightness(1.01) !important;
  box-shadow:
    0 22px 40px rgba(35, 192, 214, 0.26),
    0 12px 22px rgba(31, 173, 198, 0.16),
    inset 0 1px 0 rgba(255,255,255,.28) !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-checkout-place-order-button:active,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-checkout-place-order-button:active,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button:active,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button[type="submit"]:active,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout-place-order-button:active,
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-button:active,
body.ae-checkout-premium #place_order:active,
body.ae-checkout-premium .woocommerce #payment #place_order:active {
  transform: translateY(0) !important;
  box-shadow:
    0 12px 24px rgba(35, 192, 214, 0.18),
    inset 0 2px 6px rgba(0,0,0,.06) !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-checkout-place-order-button[disabled],
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-checkout-place-order-button[disabled],
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button[disabled],
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button[type="submit"][disabled],
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout-place-order-button[disabled],
body.ae-checkout-premium .ae-checkout-content .wc-block-components-checkout-place-order-button[disabled],
body.ae-checkout-premium #place_order[disabled],
body.ae-checkout-premium .woocommerce #payment #place_order[disabled] {
  opacity: .7 !important;
  filter: grayscale(.05) saturate(.8) !important;
  cursor: not-allowed !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-checkout-place-order-button .wc-block-components-button__text,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button .wc-block-components-button__text {
  color: #ffffff !important;
  font-weight: 800 !important;
}

body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-checkout-place-order-button svg,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions .wc-block-components-button svg,
body.ae-checkout-premium .ae-checkout-content .wc-block-checkout__actions button[type="submit"] svg {
  margin-right: 8px !important;
  filter: brightness(10) !important;
}


/* ===== v110 PayPal/Card gateway compatibility =====
   Keep PayPal/Card smart buttons and iframes visible and clickable. */
body.ae-checkout-premium.ae-checkout-classic-safe form.checkout,
body.ae-checkout-premium .ae-checkout-main--classic form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 372px !important;
  gap: 28px !important;
  align-items: start !important;
}

body.ae-checkout-premium .ae-checkout-main--classic .col2-set {
  display: block !important;
  grid-column: 1 !important;
  min-width: 0 !important;
}

body.ae-checkout-premium .ae-checkout-main--classic #order_review_heading,
body.ae-checkout-premium .ae-checkout-main--classic #order_review,
body.ae-checkout-premium .ae-checkout-main--classic .woocommerce-checkout-review-order {
  grid-column: 2 !important;
  min-width: 0 !important;
}

body.ae-checkout-premium .ae-checkout-main--classic #order_review_heading {
  margin: 0 0 14px !important;
  color: var(--ae-co-title) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

body.ae-checkout-premium #payment,
body.ae-checkout-premium #payment ul.payment_methods,
body.ae-checkout-premium #payment ul.payment_methods > li,
body.ae-checkout-premium #payment div.payment_box,
body.ae-checkout-premium .woocommerce-checkout-payment,
body.ae-checkout-premium .woocommerce-checkout-payment.ae-classic-card,
body.ae-checkout-premium .payment_box,
body.ae-checkout-premium .payment_box.payment_method_wpg_paypal_checkout,
body.ae-checkout-premium .payment_box[class*="paypal"],
body.ae-checkout-premium .payment_box[class*="ppcp"],
body.ae-checkout-premium [id*="paypal"],
body.ae-checkout-premium [class*="paypal"],
body.ae-checkout-premium [class*="PayPal"],
body.ae-checkout-premium [class*="ppcp"],
body.ae-checkout-premium iframe[src*="paypal"],
body.ae-checkout-premium iframe[name*="paypal"] {
  overflow: visible !important;
}

body.ae-checkout-premium .paypal-buttons,
body.ae-checkout-premium .paypal-button,
body.ae-checkout-premium .paypal-button-container,
body.ae-checkout-premium [id*="paypal-button"],
body.ae-checkout-premium [class*="paypal-button"],
body.ae-checkout-premium iframe[src*="paypal"],
body.ae-checkout-premium iframe[name*="paypal"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 5 !important;
  max-width: 100% !important;
}

body.ae-checkout-premium #payment ul.payment_methods > li input.input-radio {
  position: relative !important;
  z-index: 6 !important;
}

@media (max-width: 1099px) {
  body.ae-checkout-premium .ae-checkout-main--classic form.checkout {
    grid-template-columns: 1fr !important;
  }
  body.ae-checkout-premium .ae-checkout-main--classic .col2-set,
  body.ae-checkout-premium .ae-checkout-main--classic #order_review_heading,
  body.ae-checkout-premium .ae-checkout-main--classic #order_review,
  body.ae-checkout-premium .ae-checkout-main--classic .woocommerce-checkout-review-order {
    grid-column: 1 !important;
  }
}


/* ===== v111 checkout notice visibility fix =====
   WooCommerce/AJAX errors must stay visible inside the premium shell. */
body.ae-checkout-premium .ae-checkout-notices,
body.ae-checkout-premium form.checkout > .woocommerce-NoticeGroup,
body.ae-checkout-premium form.checkout > .woocommerce-NoticeGroup-checkout,
body.ae-checkout-premium form.checkout > .woocommerce-error,
body.ae-checkout-premium form.checkout > .woocommerce-message,
body.ae-checkout-premium form.checkout > .woocommerce-info,
body.ae-checkout-premium .woocommerce-notices-wrapper,
body.ae-checkout-premium .woocommerce-NoticeGroup,
body.ae-checkout-premium .woocommerce-NoticeGroup-checkout {
  grid-column: 1 / -1 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 20 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

body.ae-checkout-premium .ae-checkout-notices {
  margin: 0 0 20px !important;
}

body.ae-checkout-premium .ae-checkout-notices:empty {
  display: none !important;
}

body.ae-checkout-premium .woocommerce-error,
body.ae-checkout-premium .woocommerce-message,
body.ae-checkout-premium .woocommerce-info,
body.ae-checkout-premium .woocommerce-NoticeGroup-checkout > ul,
body.ae-checkout-premium form.checkout > .woocommerce-NoticeGroup-checkout > ul {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 16px 18px 16px 52px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  color: #263b58 !important;
  box-shadow: 0 18px 38px rgba(52, 88, 122, 0.12) !important;
  line-height: 1.45 !important;
  list-style-position: outside !important;
}

body.ae-checkout-premium .woocommerce-error,
body.ae-checkout-premium .woocommerce-NoticeGroup-checkout > ul.woocommerce-error,
body.ae-checkout-premium form.checkout > .woocommerce-NoticeGroup-checkout > ul.woocommerce-error {
  border: 1px solid rgba(255, 117, 117, .45) !important;
  border-left: 5px solid #ff5d5d !important;
}

body.ae-checkout-premium .woocommerce-message {
  border: 1px solid rgba(39, 201, 131, .38) !important;
  border-left: 5px solid var(--ae-co-green) !important;
}

body.ae-checkout-premium .woocommerce-info {
  border: 1px solid rgba(42, 184, 232, .35) !important;
  border-left: 5px solid var(--ae-co-teal-2) !important;
}

body.ae-checkout-premium .woocommerce-error li,
body.ae-checkout-premium .woocommerce-message li,
body.ae-checkout-premium .woocommerce-info li,
body.ae-checkout-premium .woocommerce-NoticeGroup-checkout li {
  display: list-item !important;
  margin: 4px 0 !important;
  color: inherit !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body.ae-checkout-premium .woocommerce-invalid input,
body.ae-checkout-premium .woocommerce-invalid select,
body.ae-checkout-premium .woocommerce-invalid textarea,
body.ae-checkout-premium .wc-block-components-validation-error + input,
body.ae-checkout-premium .wc-block-components-validation-error + select,
body.ae-checkout-premium .wc-block-components-validation-error + textarea {
  border-color: rgba(255, 93, 93, .82) !important;
  box-shadow: 0 0 0 4px rgba(255, 93, 93, .12) !important;
}

body.ae-checkout-premium .woocommerce-invalid label,
body.ae-checkout-premium .wc-block-components-validation-error {
  color: #d63638 !important;
}

/* v1.1.4: Digital-only checkout. Downloadable/virtual carts require no manual billing details. */
body.ae-checkout-premium.ae-checkout-digital-only .ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .ae-digital-hidden-field.form-row,
body.ae-checkout-premium.ae-checkout-digital-only p.ae-digital-hidden-field,

body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form__first_name.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form__last_name.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-country-input.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-combobox-control.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form__address_1.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form__address_2.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form__city.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form__postcode.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form__state.ae-digital-hidden-field,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-phone-number.ae-digital-hidden-field {
  display: none !important;
}

body.ae-checkout-premium .ae-digital-checkout-note {
  margin: -4px 0 18px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(64, 201, 186, .28) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(232, 255, 251, .88), rgba(244, 252, 255, .94)) !important;
  color: #3e6376 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.ae-checkout-premium.ae-checkout-digital-only .woocommerce-shipping-fields,
body.ae-checkout-premium.ae-checkout-digital-only .woocommerce-shipping-totals,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-totals-shipping,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-shipping-rates-control,
body.ae-checkout-premium.ae-checkout-digital-only .wp-block-woocommerce-checkout-shipping-methods-block,
body.ae-checkout-premium.ae-checkout-digital-only .wp-block-woocommerce-checkout-shipping-address-block {
  display: none !important;
}


/* v1.1.4: Digital-only orders should not show the Billing address card at all.
   The plugin keeps hidden/autofilled billing values in the DOM/backend for PayPal/WooCommerce. */
body.ae-checkout-premium.ae-checkout-digital-only .woocommerce-billing-fields,
body.ae-checkout-premium.ae-checkout-digital-only .woocommerce-billing-fields.ae-classic-card,
body.ae-checkout-premium.ae-checkout-digital-only .wp-block-woocommerce-checkout-billing-address-block,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-checkout-step--with-step-number:has(.wc-block-components-address-form),
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-checkout-step:has(.wc-block-components-address-form),
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-checkout__billing-fields,
body.ae-checkout-premium.ae-checkout-digital-only .wc-block-components-address-form {
  display: none !important;
}

body.ae-checkout-premium.ae-checkout-digital-only .ae-checkout-content::before {
  content: 'Digital checkout: no delivery address is required for this order.';
  display: block;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(35, 213, 198, .35);
  border-radius: 18px;
  background: rgba(239, 253, 255, .92);
  color: #19586b;
  font-size: 14px;
  line-height: 1.45;
}

/* v1.1.5: Split checkout tabs for mixed digital + physical carts. */
body.ae-checkout-premium .ae-checkout-split-tabs {
  margin: 18px 0 22px !important;
  padding: 20px !important;
  border: 1px solid rgba(141, 214, 231, .55) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(82, 224, 213, .18), transparent 34%),
    linear-gradient(180deg, rgba(247, 253, 255, .96), rgba(238, 250, 255, .9)) !important;
  box-shadow: 0 22px 48px rgba(30, 141, 170, .12) !important;
}

body.ae-checkout-premium .ae-checkout-split-tabs__head {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin: 0 0 14px !important;
}

body.ae-checkout-premium .ae-checkout-split-tabs__kicker {
  width: max-content !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(35, 213, 198, .15) !important;
  color: #087987 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body.ae-checkout-premium .ae-checkout-split-tabs h2 {
  margin: 0 !important;
  color: #0c2534 !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}

body.ae-checkout-premium .ae-checkout-split-tabs p {
  margin: 0 !important;
  max-width: 760px !important;
  color: #557286 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.ae-checkout-premium .ae-checkout-split-tabs__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.ae-checkout-premium .ae-checkout-split-tab {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 11px !important;
  min-height: 92px !important;
  padding: 14px 14px !important;
  border: 1px solid rgba(172, 207, 220, .82) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .84) !important;
  color: #153448 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(41, 93, 125, .08) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
  overflow: hidden !important;
}

body.ae-checkout-premium .ae-checkout-split-tab:hover,
body.ae-checkout-premium .ae-checkout-split-tab:focus {
  transform: translateY(-2px) !important;
  border-color: rgba(35, 213, 198, .75) !important;
  box-shadow: 0 20px 36px rgba(35, 150, 176, .16) !important;
  outline: none !important;
}

body.ae-checkout-premium .ae-checkout-split-tab.is-active {
  border-color: rgba(35, 213, 198, .9) !important;
  background: linear-gradient(180deg, rgba(232, 255, 251, .98), rgba(255, 255, 255, .94)) !important;
  box-shadow: 0 24px 48px rgba(35, 213, 198, .18) !important;
}

body.ae-checkout-premium .ae-checkout-split-tab__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(100, 222, 213, .8), rgba(41, 184, 232, .7)) !important;
  box-shadow: 0 12px 22px rgba(35, 213, 198, .22) !important;
  font-size: 21px !important;
}

body.ae-checkout-premium .ae-checkout-split-tab__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
}

body.ae-checkout-premium .ae-checkout-split-tab__label {
  color: #112d3e !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

body.ae-checkout-premium .ae-checkout-split-tab__hint {
  color: #627c8e !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

body.ae-checkout-premium .ae-checkout-split-tab__count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(15, 57, 76, .08) !important;
  color: #0e3548 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.ae-checkout-premium .ae-checkout-split-tab__active {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #23d5c6 !important;
  color: #063c42 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

body.ae-checkout-premium.ae-checkout-split-digital .ae-checkout-content::before {
  content: 'Digital tab is active: only digital products are being paid now. Physical products stay in the cart for a separate checkout.';
}

body.ae-checkout-premium.ae-checkout-split-physical .ae-checkout-content::before {
  content: 'Physical tab is active: only delivery products are being paid now. Digital products stay in the cart for a separate checkout.';
  display: block;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 184, 232, .35);
  border-radius: 18px;
  background: rgba(244, 252, 255, .92);
  color: #19586b;
  font-size: 14px;
  line-height: 1.45;
}

body.ae-checkout-premium.ae-checkout-split-all .ae-checkout-content::before {
  content: 'All items tab is active: digital and physical products will be paid together. Delivery address is required because the cart includes physical products.';
  display: block;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 184, 232, .35);
  border-radius: 18px;
  background: rgba(244, 252, 255, .92);
  color: #19586b;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  body.ae-checkout-premium .ae-checkout-split-tabs__grid {
    grid-template-columns: 1fr !important;
  }

  body.ae-checkout-premium .ae-checkout-split-tab {
    min-height: 82px !important;
  }
}

/* v1.1.6 — Premium order received / thank-you page */
body.ae-checkout-thankyou {
  background: linear-gradient(180deg, #f7fbff 0%, #f3f8fd 100%) !important;
}

body.ae-checkout-thankyou .woocommerce,
body.ae-checkout-thankyou .woocommerce-order,
body.ae-checkout-thankyou main .entry-content > .woocommerce {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.ae-checkout-thankyou .woocommerce-order {
  padding: 0 22px 72px !important;
  color: var(--ae-co-text) !important;
}

body.ae-checkout-thankyou .woocommerce-thankyou-order-received {
  display: none !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel {
  position: relative !important;
  overflow: hidden !important;
  margin: 26px 0 26px !important;
  padding: 30px !important;
  border-radius: 34px !important;
  border: 1px solid rgba(169, 230, 237, .82) !important;
  background:
    radial-gradient(circle at 14% 16%, rgba(35, 213, 198, .24), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(42, 184, 232, .18), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,252,255,.98)) !important;
  box-shadow: 0 28px 68px rgba(52, 88, 122, .14), 0 10px 24px rgba(52, 88, 122, .08) !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__glow {
  position: absolute !important;
  inset: auto -80px -130px auto !important;
  width: 260px !important;
  height: 260px !important;
  border-radius: 50% !important;
  background: rgba(39, 201, 131, .18) !important;
  filter: blur(10px) !important;
  pointer-events: none !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__status {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  flex: 0 0 72px !important;
  border-radius: 24px !important;
  color: #073b3e !important;
  font-size: 34px !important;
  font-weight: 950 !important;
  background: linear-gradient(135deg, #77e1da, #25c2ef) !important;
  box-shadow: 0 18px 32px rgba(35, 213, 198, .28) !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__eyebrow {
  margin: 0 0 5px !important;
  color: #16a8b4 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel h2 {
  margin: 0 !important;
  color: #071d33 !important;
  font-size: clamp(32px, 4vw, 54px) !important;
  line-height: .98 !important;
  font-weight: 950 !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel p:not(.ae-thankyou-panel__eyebrow) {
  max-width: 680px !important;
  margin: 10px 0 0 !important;
  color: #587286 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 650 !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__grid,
body.ae-checkout-thankyou .woocommerce-order-overview {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__metric,
body.ae-checkout-thankyou .woocommerce-order-overview li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(208, 229, 241, .96) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 14px 30px rgba(52, 88, 122, .07) !important;
  color: #6c8395 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__metric span,
body.ae-checkout-thankyou .woocommerce-order-overview li span {
  display: block !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__metric strong,
body.ae-checkout-thankyou .woocommerce-order-overview li strong {
  display: block !important;
  margin-top: 8px !important;
  color: #061a30 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.ae-checkout-thankyou .woocommerce-order-overview {
  margin: 0 0 24px !important;
}

body.ae-checkout-thankyou .woocommerce-order-details,
body.ae-checkout-thankyou .woocommerce-customer-details,
body.ae-checkout-thankyou .woocommerce-bacs-bank-details,
body.ae-checkout-thankyou .woocommerce-order-downloads {
  margin: 24px 0 0 !important;
  padding: 26px !important;
  border: 1px solid rgba(208, 229, 241, .96) !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 24px 54px rgba(52, 88, 122, .1) !important;
}

body.ae-checkout-thankyou .woocommerce-order-details__title,
body.ae-checkout-thankyou .woocommerce-column__title,
body.ae-checkout-thankyou .woocommerce-order-downloads__title {
  margin: 0 0 18px !important;
  color: #071d33 !important;
  font-size: 26px !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
}

body.ae-checkout-thankyou table.shop_table,
body.ae-checkout-thankyou table.woocommerce-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(213, 230, 240, .95) !important;
}

body.ae-checkout-thankyou table.shop_table thead th,
body.ae-checkout-thankyou table.woocommerce-table thead th {
  padding: 18px 20px !important;
  border: 0 !important;
  background: linear-gradient(180deg, #f8fcff, #eff8fb) !important;
  color: #496579 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

body.ae-checkout-thankyou table.shop_table tbody td,
body.ae-checkout-thankyou table.woocommerce-table tbody td,
body.ae-checkout-thankyou table.shop_table tfoot th,
body.ae-checkout-thankyou table.shop_table tfoot td,
body.ae-checkout-thankyou table.woocommerce-table tfoot th,
body.ae-checkout-thankyou table.woocommerce-table tfoot td {
  padding: 18px 20px !important;
  border-top: 1px solid rgba(214, 231, 240, .95) !important;
  color: #263b58 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.ae-checkout-thankyou table.shop_table tbody td.product-name a,
body.ae-checkout-thankyou table.woocommerce-table tbody td.product-name a {
  color: #049b82 !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

body.ae-checkout-thankyou table.shop_table tbody td.product-total,
body.ae-checkout-thankyou table.shop_table tfoot td,
body.ae-checkout-thankyou table.woocommerce-table tbody td.product-total,
body.ae-checkout-thankyou table.woocommerce-table tfoot td {
  color: #061a30 !important;
  font-weight: 950 !important;
  text-align: right !important;
}

body.ae-checkout-thankyou .wc-item-meta,
body.ae-checkout-thankyou .woocommerce-table__product-name .wc-item-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.ae-checkout-thankyou .wc-item-meta li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: rgba(35, 213, 198, .09) !important;
  color: #18566a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.ae-checkout-thankyou .wc-item-meta li strong,
body.ae-checkout-thankyou .wc-item-meta li p {
  display: inline !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1.2 !important;
}

body.ae-checkout-thankyou .woocommerce .button,
body.ae-checkout-thankyou .woocommerce a.button,
body.ae-checkout-thankyou .woocommerce button.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #25c985, #20bfd2) !important;
  color: #fff !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  box-shadow: 0 16px 30px rgba(35, 201, 160, .25) !important;
}

body.ae-checkout-thankyou .woocommerce-customer-details address {
  padding: 18px !important;
  border: 1px solid rgba(208, 229, 241, .96) !important;
  border-radius: 22px !important;
  background: #f8fcff !important;
  color: #263b58 !important;
  font-style: normal !important;
  line-height: 1.55 !important;
}

@media (max-width: 980px) {
  body.ae-checkout-thankyou .ae-thankyou-panel__grid,
  body.ae-checkout-thankyou .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.ae-checkout-thankyou .woocommerce-order {
    padding: 0 14px 56px !important;
  }

  body.ae-checkout-thankyou .ae-thankyou-panel,
  body.ae-checkout-thankyou .woocommerce-order-details,
  body.ae-checkout-thankyou .woocommerce-customer-details,
  body.ae-checkout-thankyou .woocommerce-bacs-bank-details,
  body.ae-checkout-thankyou .woocommerce-order-downloads {
    padding: 20px !important;
    border-radius: 24px !important;
  }

  body.ae-checkout-thankyou .ae-thankyou-panel__status {
    align-items: flex-start !important;
  }

  body.ae-checkout-thankyou .ae-thankyou-panel__icon {
    width: 58px !important;
    height: 58px !important;
    flex-basis: 58px !important;
    border-radius: 20px !important;
    font-size: 28px !important;
  }

  body.ae-checkout-thankyou .ae-thankyou-panel__grid,
  body.ae-checkout-thankyou .woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }

  body.ae-checkout-thankyou table.shop_table tbody td,
  body.ae-checkout-thankyou table.shop_table tfoot th,
  body.ae-checkout-thankyou table.shop_table tfoot td,
  body.ae-checkout-thankyou table.woocommerce-table tbody td,
  body.ae-checkout-thankyou table.woocommerce-table tfoot th,
  body.ae-checkout-thankyou table.woocommerce-table tfoot td {
    padding: 14px !important;
  }
}


/* ===== v117 thank-you topbar + cleaner info cards ===== */
body.ae-checkout-thankyou .ae-cart-shopbar-wrap--thankyou {
  display: block !important;
  margin: 0 auto 28px !important;
  max-width: 1088px !important;
}

body.ae-checkout-thankyou .ae-cart-shopbar-wrap--thankyou .ae-cart-shopbar {
  border-radius: 26px !important;
  box-shadow: 0 18px 38px rgba(52,88,122,.10) !important;
}

body.ae-checkout-thankyou .woocommerce-order-overview {
  display: none !important;
}

body.ae-checkout-thankyou .woocommerce-order-details,
body.ae-checkout-thankyou .woocommerce-customer-details,
body.ae-checkout-thankyou .woocommerce-bacs-bank-details,
body.ae-checkout-thankyou .woocommerce-order-downloads {
  max-width: 1088px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel {
  max-width: 1088px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__grid {
  align-items: stretch !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__metric {
  min-height: 116px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

body.ae-checkout-thankyou .ae-thankyou-panel__metric strong {
  word-break: break-word !important;
}

body.ae-checkout-thankyou .woocommerce-order-details table.shop_table,
body.ae-checkout-thankyou .woocommerce-table--order-details,
body.ae-checkout-thankyou .woocommerce-customer-details address {
  margin-top: 8px !important;
}

@media (max-width: 1099px) {
  body.ae-checkout-thankyou .ae-cart-shopbar-wrap--thankyou,
  body.ae-checkout-thankyou .ae-thankyou-panel,
  body.ae-checkout-thankyou .woocommerce-order-details,
  body.ae-checkout-thankyou .woocommerce-customer-details,
  body.ae-checkout-thankyou .woocommerce-bacs-bank-details,
  body.ae-checkout-thankyou .woocommerce-order-downloads {
    max-width: 100% !important;
  }
}
