/*
 * Influx cart + checkout refinement.
 * Opt-in only: the companion MU/JS adds .influx-checkout-experience to the
 * primary-store cart and checkout body. WooCommerce and Aero retain ownership
 * of cart state, checkout fields, coupon behavior, payment methods, and actions.
 */
body.influx-checkout-experience {
  --ix-checkout-bg:var(--ie-bg,#061426);
  --ix-checkout-panel:var(--ie-panel,#0c213a);
  --ix-checkout-raised:var(--ie-raised,#132e4d);
  --ix-checkout-text:var(--ie-text,#f2f8ff);
  --ix-checkout-muted:var(--ie-muted,#abc5df);
  --ix-checkout-line:var(--ie-line,#294766);
  --ix-checkout-gold:var(--ie-gold,#55ccff);
  --ix-checkout-ink:var(--ie-ink,#041425);
  --ix-checkout-link:var(--ie-link,#55ccff);
  --ix-checkout-field:var(--ie-field,#ffffff);
  color:var(--ix-checkout-text);
  overflow-wrap:anywhere;
}
html[data-theme="light"] body.influx-checkout-experience {
  --ix-checkout-bg:#f3f8ff;
  --ix-checkout-panel:#ffffff;
  --ix-checkout-raised:#e5f0ff;
  --ix-checkout-text:#0b2341;
  --ix-checkout-muted:#405d7a;
  --ix-checkout-line:#c3d8ef;
  --ix-checkout-gold:#55ccff;
  --ix-checkout-ink:#0b2341;
  --ix-checkout-link:#115078;
  --ix-checkout-field:#ffffff;
}
body.influx-checkout-experience :is(.ix-checkout-masthead,.ix-cart-overview,.ix-cart-quick-checkout) {
  box-sizing:border-box;
  color:var(--ix-checkout-text);
}
body.influx-checkout-experience .ix-checkout-masthead {
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  max-width:1240px;
  margin:0 auto 20px;
  padding:0 0 16px;
  border-bottom:1px solid var(--ix-checkout-line);
}
body.influx-checkout-experience .ix-checkout-masthead h1 {
  margin:0 0 8px;
  color:var(--ix-checkout-text);
  font:600 2.25rem/1.15 Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:-.025em;
}
body.influx-checkout-experience .ix-checkout-context {
  max-width:68ch;
  margin:0;
  color:var(--ix-checkout-muted);
  font-size:1rem;
  line-height:1.55;
}
body.influx-checkout-experience .ix-cart-overview {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 24px;
  margin:0 0 20px;
  padding:16px 20px;
  background:var(--ix-checkout-panel);
  border:1px solid var(--ix-checkout-line);
  border-radius:12px;
}
body.influx-checkout-experience .ix-cart-overview :is(p,span,strong,b) { color:inherit; }
body.influx-checkout-experience .ix-cart-overview a,
body.influx-checkout-experience .ix-checkout-review-link {
  color:var(--ix-checkout-link);
  text-underline-offset:.2em;
}
body.influx-checkout-experience .ix-cart-quick-checkout {
  display:none;
}

/* Cart: a bounded items region beside a readable, sticky order summary. */
body.influx-checkout-experience.woocommerce-cart #main.native-content {
  width:min(1240px,calc(100% - 48px));
  min-width:0;
}
body.influx-checkout-experience.woocommerce-cart .wp-block-woocommerce-cart,
body.influx-checkout-experience.woocommerce-cart .woocommerce {
  min-width:0;
}
body.influx-checkout-experience.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,340px)!important;
  gap:24px!important;
  align-items:start;
  min-width:0;
}
body.influx-checkout-experience.woocommerce-cart :is(.wp-block-woocommerce-cart-items-block,.wp-block-woocommerce-cart-totals-block,.wc-block-components-sidebar,.woocommerce-cart-form,.cart-collaterals .cart_totals) {
  box-sizing:border-box;
  min-width:0;
  color:var(--ix-checkout-text);
  background:var(--ix-checkout-panel);
  border:1px solid var(--ix-checkout-line);
  border-radius:14px;
}
body.influx-checkout-experience.woocommerce-cart :is(.wp-block-woocommerce-cart-items-block,.wp-block-woocommerce-cart-totals-block,.wc-block-components-sidebar) {
  padding:clamp(18px,2.4vw,28px);
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-cart-items,.shop_table) {
  width:100%;
  min-width:0;
  color:var(--ix-checkout-text);
  border-color:var(--ix-checkout-line);
  border-collapse:collapse;
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-cart-items th,.wc-block-cart-items td,.shop_table th,.shop_table td) {
  min-width:0;
  color:var(--ix-checkout-text);
  background:transparent;
  border-color:var(--ix-checkout-line);
  vertical-align:top;
}
body.influx-checkout-experience.woocommerce-cart .wc-block-components-sidebar,
body.influx-checkout-experience.woocommerce-cart .cart-collaterals .cart_totals {
  position:sticky;
  top:24px;
  width:100%;
  padding:22px;
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-components-totals-wrapper,.cart_totals tr,.order-total) {
  border-color:var(--ix-checkout-line)!important;
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-components-product-name,.product-name a,.wc-block-components-totals-item__label) {
  color:var(--ix-checkout-text)!important;
  font-weight:600;
  line-height:1.4;
  overflow-wrap:anywhere;
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-components-product-price,.product-subtotal,.product-price,.amount,bdi) {
  color:var(--ix-checkout-text);
  font-variant-numeric:tabular-nums;
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-cart-item__image img,.product-thumbnail img) {
  display:block;
  width:88px!important;
  height:88px!important;
  max-width:100%;
  object-fit:contain!important;
  object-position:center;
  padding:5px;
  background:var(--ix-checkout-field);
  border:1px solid var(--ix-checkout-line);
  border-radius:9px;
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-components-quantity-selector,.quantity .qty) {
  min-width:0;
  max-width:100%;
  min-height:44px;
}
body.influx-checkout-experience.woocommerce-cart :is(.wc-block-cart-item__remove-link,.shop_table a.remove) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  min-height:40px;
}
body.influx-checkout-experience.woocommerce-cart .coupon {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
body.influx-checkout-experience.woocommerce-cart .coupon input.input-text {
  flex:1 1 12rem;
  width:auto!important;
  min-width:0;
}

/* Aero: keep its native four-step flow, form order, and payment controls. */
body.influx-checkout-experience.woocommerce-checkout .wrapper.wfacp-main-container,
body.influx-checkout-experience.woocommerce-checkout .wfacp-wrapper-decoration {
  min-height:100vh;
  background:var(--ix-checkout-bg)!important;
  color:var(--ix-checkout-text)!important;
}
body.influx-checkout-experience.woocommerce-checkout :is(.wfacp-header,.wfacp-inner-header,.wfacp-header-nav,.wfacp_main_form,.wfacp-left-panel,.wfacp-right-panel,.wfacp_order_sec,.wfacp_order_summary_wrap,.wfacp_order_summary_container) {
  box-sizing:border-box;
  color:var(--ix-checkout-text);
  border-color:var(--ix-checkout-line);
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header {
  background:var(--ix-checkout-bg)!important;
  border-bottom:1px solid var(--ix-checkout-line);
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-inner-header {
  width:min(1160px,calc(100% - 48px));
  margin-inline:auto;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_custom_breadcrumb {
  width:min(1160px,calc(100% - 48px));
  margin:14px auto 22px!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_wrap .wfacp_steps_sec {
  width:100%;
  margin:0;
  padding:0;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec ul {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0;
  padding:0;
  list-style:none;
  background:transparent;
  border:0;
  border-bottom:2px solid var(--ix-checkout-line);
  border-radius:0;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li {
  position:relative;
  min-width:0;
  margin:0;
  text-align:center;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 8px;
  color:var(--ix-checkout-muted)!important;
  border:0;
  border-bottom:3px solid transparent;
  font-size:.9375rem;
  font-weight:600;
  line-height:1.25;
  text-align:center;
  text-decoration:none;
  overflow-wrap:anywhere;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li:is(.wfacp_bred_active,[aria-current="step"]) a,
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a[aria-current="step"] {
  color:var(--ix-checkout-text)!important;
  border-bottom-color:var(--ix-checkout-gold);
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li.wfacp_bred_visited a {
  color:var(--ix-checkout-link)!important;
}
body.influx-checkout-experience.woocommerce-checkout :is(.ix-checkout-title,.ix-checkout-context) {
  width:min(1160px,calc(100% - 48px));
  margin-inline:auto;
}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-title {
  margin-top:0;
  margin-bottom:6px;
  color:var(--ix-checkout-text);
  font:600 2.25rem/1.16 Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:-.02em;
}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-context {
  margin-bottom:22px;
  color:var(--ix-checkout-muted);
  line-height:1.55;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form {
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.95fr);
  gap:24px;
  align-items:start;
  width:min(1160px,calc(100% - 48px))!important;
  max-width:1160px!important;
  margin:0 auto 40px!important;
  background:transparent!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-left-panel,
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel {
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:clamp(20px,2.4vw,30px)!important;
  background:var(--ix-checkout-panel)!important;
  border:1px solid var(--ix-checkout-line)!important;
  border-radius:14px;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-left-panel { grid-column:1; }
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel { grid-column:2; }
body.influx-checkout-experience.woocommerce-checkout .wfacp-section { min-width:0; background:transparent!important; }
body.influx-checkout-experience.woocommerce-checkout .wfacp-section :is(h2,h3,h4,.wfacp_section_title,.wfacp_section_heading) {
  color:var(--ix-checkout-text)!important;
  line-height:1.35;
  overflow-wrap:anywhere;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form :is(label,.wfacp-form-control-label,.woocommerce-form__label-for-checkbox) {
  color:var(--ix-checkout-muted)!important;
  line-height:1.45;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form :is(input,select,textarea) {
  max-width:100%;
  min-width:0;
  color:#0b2341!important;
  background:var(--ix-checkout-field)!important;
  border-color:#9ca38f!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form input::placeholder,
body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form textarea::placeholder {
  color:#405d7a!important;
  opacity:1;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel :is(h2,h3,h4,.wfacp-list-title) {
  color:var(--ix-checkout-text)!important;
  line-height:1.35;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel .wfacp-list-title {
  font-size:1.15rem;
  font-weight:650;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel :is(p,li,td,th,span,bdi,.amount,.product-name) {
  color:var(--ix-checkout-text);
  overflow-wrap:anywhere;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel :is(table,td,th,.wfacp_order_total,.wfacp_order_subtotal) {
  max-width:100%;
  border-color:var(--ix-checkout-line)!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel :is(.product-name,.variation,.wc-item-meta,.booking,.booking-meta) {
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel :is(.wfacp_order_total,.order-total) {
  border-top:1px solid var(--ix-checkout-line)!important;
  font-weight:700;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_mb_mini_cart_wrap {
  color:var(--ix-checkout-text)!important;
  background:var(--ix-checkout-panel)!important;
  border-color:var(--ix-checkout-line)!important;
  border-radius:10px;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_mb_mini_cart_wrap :is(.wfacp_mb_cart_accordian,.wfacp_mb_mini_cart_sec_accordion_content,.wfacp_order_sec) {
  color:var(--ix-checkout-text)!important;
  background:transparent!important;
  border-color:var(--ix-checkout-line)!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_mb_cart_accordian { min-height:50px; }
body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form :is(a,button,input,select,textarea):focus-visible,
body.influx-checkout-experience.woocommerce-cart :is(a,button,input,select,textarea):focus-visible {
  outline:3px solid var(--ix-checkout-gold)!important;
  outline-offset:3px;
}

@media(max-width:1023px) {
  body.influx-checkout-experience.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
    grid-template-columns:minmax(0,1fr) minmax(260px,320px)!important;
    gap:16px!important;
  }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form {
    grid-template-columns:minmax(0,1.25fr) minmax(280px,.9fr);
    gap:16px;
  }
}
@media(max-width:767px) {
  body.influx-checkout-experience.woocommerce-cart #main.native-content {
    width:calc(100% - 28px);
    padding-top:22px;
  }
  body.influx-checkout-experience.woocommerce-cart .ix-cart-overview {
    align-items:flex-start;
    padding:14px;
  }
  body.influx-checkout-experience.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
    display:flex!important;
    flex-direction:column;
    gap:14px!important;
  }
  body.influx-checkout-experience.woocommerce-cart :is(.wp-block-woocommerce-cart-items-block,.wp-block-woocommerce-cart-totals-block,.wc-block-components-sidebar,.woocommerce-cart-form,.cart-collaterals .cart_totals) {
    position:static;
    width:100%;
    max-width:none;
    padding:14px!important;
  }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-items {
    display:block;
    width:100%;
    border:0;
  }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-items thead { display:none; }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-items tbody { display:block;width:100%; }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-items__row {
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr);
    gap:8px 12px;
    width:100%;
    padding:14px 0;
    border-bottom:1px solid var(--ix-checkout-line);
  }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-items__row :is(td,th) {
    display:block;
    min-width:0;
    padding:0!important;
    border:0!important;
  }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-item__image {
    grid-column:1;
    grid-row:1 / span 3;
  }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-item__image img {
    width:72px!important;
    height:72px!important;
  }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-item__product { grid-column:2;grid-row:1; }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-item__product :is(.wc-block-components-product-name,.wc-block-components-product-metadata) { min-width:0;overflow-wrap:anywhere; }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-item__total {
    grid-column:2;
    grid-row:2;
    justify-self:start;
    width:100%;
    text-align:left;
  }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-item__quantity { grid-column:2;grid-row:3; }
  body.influx-checkout-experience.woocommerce-cart .wc-block-cart-item__remove-link { grid-column:2;grid-row:4;justify-self:start; }
  /* Classic Woo table: product, quantity and price stack inside each item row. */
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form { overflow:visible; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table thead { display:none; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table,
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table tbody { display:block;width:100%; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item {
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:8px 12px;
    width:100%;
    padding:14px 0;
    border-bottom:1px solid var(--ix-checkout-line);
  }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td {
    display:block;
    width:auto!important;
    min-width:0;
    padding:0!important;
    border:0!important;
    text-align:left!important;
    white-space:normal;
  }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table td.product-thumbnail { grid-column:1;grid-row:1 / span 3; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table td.product-thumbnail img { width:72px!important;height:72px!important; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table td.product-name { grid-column:2;grid-row:1; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table td.product-price { grid-column:2;grid-row:2; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table td.product-quantity { grid-column:2;grid-row:3; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table td.product-subtotal { grid-column:2;grid-row:4;font-weight:700; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table td.product-remove { grid-column:2;grid-row:5;justify-self:start; }
  body.influx-checkout-experience.woocommerce-cart .woocommerce-cart-form .shop_table .product-name :is(a,dl,dd,p,span) { overflow-wrap:anywhere; }
  body.influx-checkout-experience.woocommerce-cart .cart-collaterals .cart_totals { padding:16px!important; }
  body.influx-checkout-experience.woocommerce-cart .ix-cart-quick-checkout {
    position:sticky;
    z-index:20;
    bottom:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    width:100%;
    margin:16px 0 0;
    padding:12px 14px calc(12px + env(safe-area-inset-bottom));
    color:var(--ix-checkout-text);
    background:var(--ix-checkout-panel);
    border:1px solid var(--ix-checkout-line);
    border-radius:12px 12px 0 0;
    box-shadow:0 -6px 20px rgb(0 0 0 / .14);
  }
  body.influx-checkout-experience.woocommerce-cart .ix-cart-quick-checkout :is(.ix-cart-quick-total,strong,b) {
    min-width:0;
    color:var(--ix-checkout-text);
    font-variant-numeric:tabular-nums;
    font-weight:700;
  }
  body.influx-checkout-experience.woocommerce-cart .ix-cart-quick-checkout a {
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:10px 16px;
    color:var(--ix-checkout-ink)!important;
    background:var(--ix-checkout-gold);
    border:1px solid var(--ix-checkout-gold);
    border-radius:8px;
    font-weight:700;
    line-height:1.25;
    text-decoration:none;
  }

  body.influx-checkout-experience.woocommerce-checkout .wfacp-inner-header,
  body.influx-checkout-experience.woocommerce-checkout .wfacp_custom_breadcrumb,
  body.influx-checkout-experience.woocommerce-checkout .ix-checkout-title,
  body.influx-checkout-experience.woocommerce-checkout .ix-checkout-context {
    width:calc(100% - 28px);
  }
  body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav { gap:8px; }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_custom_breadcrumb { margin:8px auto 16px!important; }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec ul { grid-template-columns:repeat(4,minmax(0,1fr)); }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a {
    min-height:48px;
    padding:8px 3px;
    font-size:.8125rem;
    line-height:1.2;
  }
  body.influx-checkout-experience.woocommerce-checkout .ix-checkout-context { margin-bottom:16px; }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form {
    display:flex!important;
    flex-direction:column;
    gap:14px;
    width:calc(100% - 28px)!important;
    margin:0 auto 28px!important;
  }
  body.influx-checkout-experience.woocommerce-checkout :is(.wfacp-left-panel,.wfacp-right-panel) {
    width:100%!important;
    padding:16px!important;
    border-radius:12px;
  }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_mb_mini_cart_wrap { width:100%!important; }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form .form-row { width:100%!important;min-width:0;float:none!important; }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form :is(input,select,textarea) { width:100%; }
  body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form :is(.wfacp_next_page_button,#place_order,.button) { max-width:100%; }
}
@media(max-width:359px) {
  body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a { padding-inline:1px;font-size:.65rem; }
  body.influx-checkout-experience.woocommerce-cart .ix-cart-quick-checkout { gap:8px;padding-inline:10px; }
}
@media(prefers-reduced-motion:reduce) {
  body.influx-checkout-experience *,body.influx-checkout-experience *::before,body.influx-checkout-experience *::after { scroll-behavior:auto!important;transition:none!important; }
}

/* Actual Aero layout: the form and summary are sibling columns of this wrapper. */
body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper {
 display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(300px,.95fr);gap:24px;align-items:start;
 width:min(1160px,calc(100% - 48px))!important;max-width:1160px!important;margin:0 auto!important;padding:0!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-left-wrapper {display:block!important;width:auto!important;min-width:0;padding:0!important;grid-column:1;}
body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form {display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel {grid-column:2;grid-row:1;position:sticky;top:24px;align-self:start;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-progress {display:none!important;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead {width:calc(100% - 48px);max-width:1160px;margin:22px auto 0;padding:0;border:0;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead :is(.ix-checkout-title,.ix-checkout-context) {width:100%;margin-inline:0;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead .ix-checkout-context {margin-bottom:4px;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-review-link {display:inline-block;padding:6px 0;font-size:.9375rem;font-weight:600;}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li {width:auto!important;max-width:none!important;float:none!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li::before,
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li::after,
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a::before,
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a::after {display:none!important;content:none!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header {padding:18px 0!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-middle-container {display:flex;align-items:center;justify-content:space-between;gap:24px;}
body.influx-checkout-experience.woocommerce-checkout .wfacp_logo_wrap {display:block;flex:0 0 auto;margin:0!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-help-text {padding:0!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav ul {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 18px;margin:0;padding:0;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav li {margin:0!important;padding:0!important;}
body.influx-checkout-experience.woocommerce-checkout .ix-final-review {margin:16px 0 24px;padding:18px 0;border-top:1px solid var(--ix-checkout-line);border-bottom:1px solid var(--ix-checkout-line);}
body.influx-checkout-experience.woocommerce-checkout .ix-final-review h3 {font-size:1.125rem!important;margin:0 0 8px!important;}
body.influx-checkout-experience.woocommerce-checkout .ix-final-review p {font-size:.9375rem;line-height:1.5;margin:0;}
body.influx-checkout-experience.woocommerce-checkout .recurring-totals th {padding-top:20px!important;border-top:1px solid var(--ix-checkout-line)!important;}
body.influx-checkout-experience .ix-cart-overview-amount {display:flex;flex-direction:column;gap:4px;}
body.influx-checkout-experience .ix-cart-overview-total {font-size:1.5rem;font-weight:700;font-variant-numeric:tabular-nums;}
body.influx-checkout-experience .ix-cart-overview-label {font-size:.9375rem;}
body.influx-checkout-experience .ix-cart-recurring-note {flex-basis:100%;margin:0;padding-top:10px;border-top:1px solid var(--ix-checkout-line);font-size:.9375rem;line-height:1.5;}
body.influx-checkout-experience .ix-cart-overview-cta {display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px!important;background:var(--ix-checkout-gold)!important;color:var(--ix-checkout-ink)!important;border:0!important;border-radius:8px;font-size:1rem;font-weight:700;text-decoration:none!important;}
body.influx-checkout-experience [aria-disabled=true].button {opacity:.6;pointer-events:none;}
body.influx-checkout-experience .ix-checkout-masthead>.ix-checkout-review-link {display:inline-block;margin-top:8px;}
@media(max-width:767px) {
 body.influx-checkout-experience.woocommerce-cart.ix-cart-has-quick-checkout {padding-bottom:calc(96px + env(safe-area-inset-bottom));}
 body.influx-checkout-experience.woocommerce-cart .ix-cart-quick-checkout {position:fixed;bottom:0;left:0;right:0;z-index:50;width:100%;margin:0;border-radius:0;box-shadow:none;border:0;border-top:1px solid var(--ix-checkout-line);}
 body.influx-checkout-experience .ix-cart-quick-amount {display:flex;flex-direction:column;gap:3px;min-width:0;}
 body.influx-checkout-experience .ix-cart-quick-label {font-size:.8125rem;line-height:1.3;}
 body.influx-checkout-experience .ix-cart-quick-total {font-size:1.25rem;line-height:1.2;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper {display:block!important;width:calc(100% - 28px)!important;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form {width:100%!important;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-right-panel {position:static;margin-top:16px!important;}
 body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead {width:calc(100% - 28px);margin-top:18px;}
 body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead :is(.ix-checkout-title,.ix-checkout-context) {width:100%;}
 body.influx-checkout-experience .ix-checkout-masthead h1 {font-size:2rem!important;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-middle-container {gap:16px;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-logo {max-width:160px!important;height:auto;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav .wfacp_header_list_sup,
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav .wfacp_header_email,
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav .wfacp_header_ph {display:none;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav ul {font-size:.875rem;}
 body.influx-checkout-experience.woocommerce-cart .ix-cart-overview-cta {width:100%;}
}
/* Remove legacy float/table sizing from the native responsive containers. */
body.influx-checkout-experience.woocommerce-cart #main .ix-checkout-masthead {width:100%!important;max-width:none!important;margin:0 0 20px!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper::before,
body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper::after {content:none!important;display:none!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-left-wrapper {grid-row:1;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-container {padding-inline:0!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper {width:100%!important;max-width:none!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-form {padding:0!important;border:0!important;background:transparent!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-middle-container {width:100%!important;max-width:none!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec ul {width:100%!important;max-width:none!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a {overflow-wrap:normal;word-break:normal;}
@media(max-width:767px) {
 body.influx-checkout-experience.woocommerce-checkout .wfacp-form-panel {width:100%!important;max-width:none!important;margin:0!important;}
}

body.influx-checkout-experience.woocommerce-checkout .wfacp-panel-wrapper > .wfacp-middle-container {display:block!important;box-sizing:border-box;width:min(1160px,calc(100% - 48px))!important;max-width:1160px!important;margin-inline:auto!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-form-panel {width:100%!important;max-width:none!important;margin:0!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-middle-container::before,
body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-middle-container::after {content:none!important;display:none!important;}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav [class^="wfacp-hd-"]::before {display:none!important;content:none!important;}
@media(max-width:767px) {
 body.influx-checkout-experience.woocommerce-checkout .wfacp-panel-wrapper > .wfacp-middle-container {width:calc(100% - 28px)!important;}
}

@media(max-width:767px) {
 body.influx-checkout-experience.woocommerce-cart #main .wc-block-cart-items__row {grid-template-columns:72px minmax(0,1fr)!important;gap:8px 12px!important;}
 body.influx-checkout-experience.woocommerce-cart #main .wc-block-cart-item__image {grid-column:1!important;grid-row:1 / span 2!important;width:72px!important;max-width:72px!important;}
 body.influx-checkout-experience.woocommerce-cart #main .wc-block-cart-item__product {grid-column:2!important;grid-row:1!important;width:auto!important;max-width:none!important;}
 body.influx-checkout-experience.woocommerce-cart #main .wc-block-cart-item__total {grid-column:2!important;grid-row:2!important;align-self:start;width:auto!important;max-width:none!important;text-align:left!important;}
 body.influx-checkout-experience.woocommerce-cart #main .wc-block-cart-item__total::before {content:'Item total';display:block;margin-bottom:2px;color:var(--ix-checkout-muted);font-size:.8125rem;font-weight:400;}
}

body.influx-checkout-experience.woocommerce-cart .wc-block-components-product-metadata__description {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.9375rem;line-height:1.5;}
body.influx-checkout-experience.woocommerce-cart .wc-block-components-product-metadata__description p {margin:0;font-size:inherit;line-height:inherit;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-total-preview {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;padding:14px 0;margin:8px 0;border-top:1px solid var(--ix-checkout-line);border-bottom:1px solid var(--ix-checkout-line);}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-total-label {font-size:.9375rem;font-weight:600;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-total-value {font-size:1.5rem;font-weight:700;font-variant-numeric:tabular-nums;}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-recurring-preview {flex-basis:100%;font-size:.875rem;line-height:1.5;color:var(--ix-checkout-text);}
body.influx-checkout-experience.woocommerce-checkout .ix-checkout-recurring-preview:empty {display:none;}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec a[aria-disabled=true] {cursor:default;}

body.influx-checkout-experience .ix-checkout-mobile-overview {display:none;}
@media(max-width:767px) {
 body.influx-checkout-experience.woocommerce-checkout .wfacp_custom_breadcrumb {display:block!important;}
 body.influx-checkout-experience .ix-checkout-mobile-overview {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 12px;padding:14px;margin-top:16px;border:1px solid var(--ix-checkout-line);border-radius:8px;background:var(--ix-checkout-surface);}
 body.influx-checkout-experience .ix-checkout-mobile-overview > a {flex-basis:100%;font-size:.9375rem;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header .influx-commerce-chat-support {margin:0!important;padding:8px 14px!important;border:0!important;min-height:0!important;display:flex!important;justify-content:flex-end;gap:12px;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header .influx-commerce-chat-support a {display:none!important;}
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header .influx-commerce-chat-support button {min-height:36px!important;font-size:.875rem!important;padding:6px 12px!important;}
}

/* Checkout polish: improve header/step contrast and tighten mobile review spacing.
   Keep Aero's native checkout fields, totals, and payment-provider controls intact. */
body.influx-checkout-experience.woocommerce-checkout .wfacp-header.wfacp_header,
body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-inner-header {
 background:#111812!important;
 color:#e8f0f5!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-logo,
body.influx-checkout-experience.woocommerce-checkout .wfacp-header img.wfacp_logo,
body.influx-checkout-experience.woocommerce-checkout .wfacp-inner-header img {
 opacity:1!important;
 object-fit:contain;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header .wfacp-header-nav :is(li,a,span) {
 color:#e8f0f5!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav .wfacp_header_email a {
 text-decoration:underline;
 text-underline-offset:3px;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a {
 color:#435348!important;
 font-size:14px!important;
 line-height:1.5!important;
}
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li.wfacp_bred_active a,
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li.active a,
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li[aria-current="step"] a,
body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec a[aria-current="step"] {
 color:#18231b!important;
 font-weight:650!important;
}
@media(max-width:767px) {
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav .wfacp_header_email {
  display:none!important;
 }
 body.influx-checkout-experience.woocommerce-checkout .wfacp-header-nav .wfacp_header_list_help a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
 }
 body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead {
  margin-top:12px!important;
 }
 body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead h1 {
  margin:0 0 4px!important;
  font-size:28px!important;
  line-height:1.2!important;
 }
 body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead .ix-checkout-context {
  margin:0 0 6px!important;
  font-size:16px!important;
  line-height:1.5!important;
 }
 body.influx-checkout-experience.woocommerce-checkout .ix-checkout-masthead>.ix-checkout-review-link {
  margin-top:2px!important;
  padding:2px 0!important;
  line-height:1.4!important;
 }
 body.influx-checkout-experience.woocommerce-checkout .ix-checkout-mobile-overview {
  gap:6px 10px!important;
  margin-top:8px!important;
  padding:12px!important;
 }
 body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper {
  margin-top:-16px!important;
 }
}

body.influx-checkout-experience.woocommerce-cart .ix-cart-quick-checkout[hidden]{display:none!important;}

/* Keep checkout policies and attribution readable on the light checkout surface. */
body.influx-checkout-experience.woocommerce-checkout :is(.wfacp-footer-text,.wfacp-footer-text p,.wfacp-footer-text span,.influx-attribution){color:#334155!important;font-size:14px!important;line-height:1.6!important;}
body.influx-checkout-experience.woocommerce-checkout :is(.wfacp-footer-text,.influx-attribution) a{color:#1456b8!important;text-decoration:underline!important;text-underline-offset:3px;}

/* Mobile progress remains readable on the native checkout's light surface. */
@media(max-width:767px){
 body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec{background:#eaeded!important}
 body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li a{color:#475569!important}
 body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li.wfacp_bred_visited a{color:#1456b8!important}
 body.influx-checkout-experience.woocommerce-checkout .wfacp_steps_sec li:is(.wfacp_bred_active,[aria-current="step"]) a{color:#14243b!important;border-bottom-color:var(--ix-confidence-action,#1559bd)!important}
 body.influx-checkout-experience.woocommerce-checkout :is(.wfacp-footer-text,.influx-attribution) a{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;box-sizing:border-box}
}
html[data-influx-funnel-color] body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form :is(.wfacp_next_page_button,#place_order){background:var(--ix-confidence-action,#1559bd)!important;color:#fff!important}
html[data-influx-funnel-color] body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form :is(.wfacp_next_page_button,#place_order) span{color:#fff!important}


/* Mobile checkout: full-width shared measure with small, even page margins. */
@media (max-width: 1200px) {
  body.influx-checkout-experience.woocommerce-checkout :is(#main-content > .container,#main-header .container,#main-footer .container,.wfacp-wrapper-decoration,.ix-checkout-masthead,.wfacp-comm-wrapper,.wfacp-panel-wrapper > .wfacp-middle-container,#ix-checkout-order-summary) {
    box-sizing: border-box !important;
    width: calc(100vw - 24px) !important;
    max-width: 1160px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.influx-checkout-experience.woocommerce-checkout #main-content #left-area {
    box-sizing: border-box !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }
  body.influx-checkout-experience.woocommerce-checkout #main-content #sidebar { display: none !important; }
  body.influx-checkout-experience.woocommerce-checkout #main-content .et_pb_row,
  body.influx-checkout-experience.woocommerce-checkout #main-header .et_pb_row,
  body.influx-checkout-experience.woocommerce-checkout #main-footer .et_pb_row {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1160px !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
  }
  body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper { display: block !important; }
  body.influx-checkout-experience.woocommerce-checkout .wfacp-comm-wrapper :is(.wfacp-left-panel,.wfacp-right-panel),
  body.influx-checkout-experience.woocommerce-checkout .wfacp_main_form {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  body.influx-checkout-experience.woocommerce-checkout #ix-checkout-order-summary table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
  }
}
