/* XPort Store shell: shared visual roles, never page geometry. */

body.xport-ui-system-active :is(
  .xport-cart-title,
  .xpc-owned-checkout__title,
  .xcat-page-title,
  .xpp-engine__title,
  .xpls-page-head h1
){
  margin:0!important;
  color:var(--xui-color-heading)!important;
  font-family:var(--xui-font-family)!important;
  font-size:var(--xui-font-page-title)!important;
  line-height:1.12!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
}

body.xport-ui-system-active :is(
  .xport-summary-head h2,
  .xpc-owned-checkout__card h2,
  .xpc-order-summary__header h2,
  .xpp-engine__description h2,
  .xpp-engine__specifications h2,
  .xpls-products-head h2
){
  color:var(--xui-color-heading)!important;
  font-family:var(--xui-font-family)!important;
  font-size:var(--xui-font-section-title)!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
}

body.xport-ui-system-active :is(
  .xport-cart-subtitle,
  .xpc-owned-checkout__description,
  .xpp-engine__stock-note
){
  color:var(--xui-color-muted)!important;
  font-family:var(--xui-font-family)!important;
  font-size:var(--xui-font-body)!important;
  line-height:1.45!important;
  font-weight:500!important;
}

body.woocommerce-cart.xport-ui-system-active :is(
  .xport-cart-items-card,
  .xport-cart-summary-card,
  .xport-help-card
),
body.xport-checkout-preview-v2-active :is(
  .xpc-owned-checkout__card,
  .xpc-order-summary
),
body.xport-ui-catalog-active .xcat-filters,
body.xport-ui-product-active :is(
  .xpp-engine__description,
  .xpp-engine__specifications,
  .xpp-engine__recommendations
){
  border:1px solid var(--xui-color-border)!important;
  border-radius:var(--xui-radius-surface)!important;
  background:var(--xui-color-surface)!important;
  box-shadow:var(--xui-shadow-surface)!important;
}

body.xport-ui-product-active :is(
  .xpp-engine__gallery-card,
  .xpp-engine__summary
){
  border:1px solid var(--xui-color-border)!important;
  border-radius:var(--xui-radius-prominent)!important;
  background:var(--xui-color-surface)!important;
  box-shadow:var(--xui-shadow-prominent)!important;
}

body.xport-ui-landing-active .xpls-page-card{
  border:1px solid var(--xui-color-border)!important;
  border-radius:var(--xui-radius-surface)!important;
  box-shadow:var(--xui-shadow-surface)!important;
}

body.xport-checkout-preview-v2-active :is(
  input.input-text,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea
),
body.xport-ui-catalog-active :is(
  .xcat-sort,
  .xcat-filter-search input
){
  min-height:var(--xui-control-height)!important;
  border:1px solid var(--xui-color-border)!important;
  border-radius:var(--xui-radius-control)!important;
  background:var(--xui-color-surface)!important;
  color:var(--xui-color-text)!important;
  font-family:var(--xui-font-family)!important;
  font-size:14px!important;
  line-height:1.3!important;
  box-shadow:var(--xui-shadow-control)!important;
}

body.xport-checkout-preview-v2-active :is(
  input.input-text,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea
):focus,
body.xport-ui-catalog-active :is(
  .xcat-sort,
  .xcat-filter-search input
):focus{
  border-color:var(--xui-color-primary)!important;
  outline:0!important;
  box-shadow:0 0 0 3px rgba(38,178,74,.13)!important;
}

body.xport-ui-system-active :is(
  .xport-main-checkout,
  .xpc-submit button[type="submit"],
  .xpp-engine .single_add_to_cart_button,
  .xcat-more
){
  min-height:var(--xui-control-height)!important;
  border-radius:var(--xui-radius-control)!important;
  font-family:var(--xui-font-family)!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:700!important;
}

@media(max-width:767px){
  body.xport-ui-system-active :is(
    .xport-cart-title,
    .xpc-owned-checkout__title,
    .xcat-page-title,
    .xpp-engine__title,
    .xpls-page-head h1
  ){
    font-size:27px!important;
  }

  body.xport-ui-system-active :is(
    .xport-summary-head h2,
    .xpc-owned-checkout__card h2,
    .xpc-order-summary__header h2,
    .xpp-engine__description h2,
    .xpp-engine__specifications h2,
    .xpls-products-head h2
  ){
    font-size:22px!important;
  }

  body.woocommerce-cart.xport-ui-system-active :is(
    .xport-cart-items-card,
    .xport-cart-summary-card,
    .xport-help-card
  ),
  body.xport-checkout-preview-v2-active :is(
    .xpc-owned-checkout__card,
    .xpc-order-summary
  ),
  body.xport-ui-product-active :is(
    .xpp-engine__description,
    .xpp-engine__specifications,
    .xpp-engine__recommendations
  ){
    border-radius:var(--xui-radius-surface)!important;
  }
}
