/*
 * CT_MOBILE_COMMERCE_RESPONSIVE_01A_SAFE_V1
 * Visual-only responsive corrections for product, cart and checkout actions.
 * No handlers, forms, endpoints, prices, stock or checkout state are changed.
 */

@media (max-width: 575.98px) {
  html body#product form#add-to-cart-or-refresh
  .product-add-to-cart .product-quantity > .p-cartwapper {
    display: grid !important;
    grid-template-columns: minmax(86px, 1fr) 48px !important;
    grid-auto-flow: row !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  html body#product form#add-to-cart-or-refresh
  .product-add-to-cart .product-quantity > .p-cartwapper > .qty {
    order: 1 !important;
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  html body#product form#add-to-cart-or-refresh
  .product-add-to-cart .product-quantity > .p-cartwapper > .leo-compare-wishlist-button {
    order: 2 !important;
    grid-column: 2 !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 54px !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body#product form#add-to-cart-or-refresh
  .product-add-to-cart .product-quantity > .p-cartwapper .ctsl-wishlist-icon-only {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body#product form#add-to-cart-or-refresh
  .product-add-to-cart .product-quantity > .p-cartwapper > .add {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 56px !important;
    margin: 0 !important;
  }

  html body#product form#add-to-cart-or-refresh
  .product-add-to-cart .product-quantity > .p-cartwapper > .add .add-to-cart,
  html body#product form#add-to-cart-or-refresh button[data-button-action="add-to-cart"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 56px !important;
    height: auto !important;
    padding: 11px 14px !important;
    overflow: visible !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    letter-spacing: .05em !important;
    box-sizing: border-box !important;
  }

  html body#product form#add-to-cart-or-refresh
  button[data-button-action="add-to-cart"]::after {
    content: none !important;
    display: none !important;
  }

  html body#cart .cart-detailed-actions,
  html body#cart .cart-detailed-actions > .text-sm-center {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body#cart .cart-detailed-actions a.btn,
  html body#cart .cart-detailed-actions button.btn,
  html body#cart .ct-cart-summary-v99b .cart-detailed-actions .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 11px 12px !important;
    overflow: visible !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    letter-spacing: .05em !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 1199.98px) {
  html body#checkout.page-order #wrapper > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(14px, 2.4vw, 24px) !important;
    padding-right: clamp(14px, 2.4vw, 24px) !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order #wrapper > .container > .row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body#checkout.page-order #content-wrapper,
  html body#checkout.page-order #main,
  html body#checkout.page-order #content.ct-order-content-v100 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order #content.ct-order-content-v100
  > .ct-order-layout-v100.row.ct-order-layout-active-v100,
  html body#checkout.page-order .ct-order-layout-v100,
  html body#checkout.page-order .ct-order-layout-v100.row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body#checkout.page-order .ct-order-left-v100,
  html body#checkout.page-order .ct-order-right-v100 {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order .ct-order-review-v104b,
  html body#checkout.page-order .ct-order-review-v121h,
  html body#checkout.page-order .ct-order-review-inline-panel-v120,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .checkout-step,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .checkout-step,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .checkout-step .content,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .checkout-step .content,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 form,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h form,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .address,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .address,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .delivery-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .delivery-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .delivery-option,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .delivery-option,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .payment-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .payment-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .payment-option,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .payment-option {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 575.98px) {
  html body#checkout.page-order #wrapper > .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  html body#checkout.page-order .ct-order-left-card-v100 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order .ct-order-review-title-v104b,
  html body#checkout.page-order .ct-order-review-title-v121h {
    padding: 20px 14px 14px !important;
  }

  html body#checkout.page-order .ct-order-review-row-v104b,
  html body#checkout.page-order .ct-order-review-row-v104b.ct-order-row-recovered-v121h {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order .ct-order-review-row-v104b .ct-order-review-edit-v104b,
  html body#checkout.page-order .ct-order-review-row-v104b .ct-order-review-action-v104b {
    grid-column: 2 !important;
    grid-row: auto !important;
    justify-self: start !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 4px 0 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order .ct-order-review-inline-panel-v120,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h,
  html body#checkout.page-order .ct-order-review-inline-panel-v120[data-ct-inline-step-target],
  html body#checkout.page-order .ct-order-review-inline-panel-v121h[data-ct-inline-step-target] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 12px 16px !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order .ct-order-review-inline-panel-v120 .checkout-step,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .checkout-step,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .checkout-step .content,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .checkout-step .content,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 form,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order .ct-order-review-inline-panel-v120 .address,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .address,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .delivery-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .delivery-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .delivery-option,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .delivery-option,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .payment-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .payment-options,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .payment-option,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .payment-option {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  html body#checkout.page-order .ct-order-review-inline-panel-v120 button,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h button,
  html body#checkout.page-order .ct-order-review-inline-panel-v120 .btn,
  html body#checkout.page-order .ct-order-review-inline-panel-v121h .btn {
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
  }
}
