/* retail-actions/1: one shared presentation for current and future retail products.
   Price amounts, commerce validation, quantities and native action handlers are untouched. */
.single-product .summary .price,
.ps3d-product-options__price,
.es3d-lumasegno-commercial__price,
.es3d-lumasegno-price,
.esr02-catalog .esr02-price-summary {
  text-align:right!important;
  justify-content:flex-end!important;
  justify-items:end;
}
.esr02-catalog .esr02-price-summary {
  width:100%;
  justify-self:end;
}
.esr02-catalog .esr02-feature .esr02-button {
  display:flex!important;
  width:fit-content!important;
  flex:0 0 auto!important;
  align-self:flex-end!important;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
  justify-self:end;
  max-width:100%;
}
.single-product .summary form.cart > .single_add_to_cart_button {
  display:flex!important;
  flex:0 0 auto!important;
  float:none!important;
  width:fit-content!important;
  max-width:100%!important;
  min-height:44px;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
  justify-content:center;
}
[data-luma-commerce], [data-es-retail-purchase] {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:16px;
  text-align:right;
}
[data-luma-commerce] > p, [data-es-retail-purchase] > p {
  margin:0;
}
[data-luma-commerce-buy], [data-es-retail-add-to-cart] {
  align-self:flex-end;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
  max-width:100%;
  min-height:44px;
}
[data-es-retail-actions] [data-es-retail-update] {
  display:block!important;
  width:fit-content!important;
  max-width:100%!important;
  margin-block-start:20px!important;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
  align-self:end!important;
}
/* Native checkbox keeps its label, keyboard action and state; only its graphic is hidden.
   Important declarations share Telaio's existing cascade layer. */
@layer telaio-preview-actions {
  [data-es-retail-actions] [data-telaio-preview-actions] > label > input[role="switch"] {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    min-width:0!important;
    min-height:0!important;
    margin:-1px!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
  }
}

/* A product may route to its configurator instead of submitting the cart directly. */
.single-product .summary > p:has(> .button) {
  text-align:right;
}
.single-product .summary > p > .button, [data-es-retail-action] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  min-height:44px;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
}
