/* LaHome: visual-only summary tint. Loaded only by Supercheckout::setMedia.
 * Deliberately independent of Scene Studio activation and its checkout switch. */
body.lahome-supercheckout-page #supercheckout-fieldset .lh-summary-card{
 background:#f7f3ed !important;background-image:none !important;
 border-color:#e4d5c7 !important;box-shadow:none !important;
}
body.lahome-supercheckout-page #supercheckout-fieldset .lh-summary-card h3,
body.lahome-supercheckout-page #supercheckout-fieldset .lh-summary-card .lh-summary-line{
 background-color:transparent !important;
}
body.lahome-supercheckout-page #supercheckout-fieldset .lh-summary-card .lh-summary-total{
 border-color:#ddccbb !important;
}

/* Compact mobile action for the cart and the two pre-payment review forms. */
.lh-order-dock { display:none; }

@media screen and (max-width:820px) {
  :root { --lh-mobile-checkout-dock:1; }

  body > .lh-mobile-primary-wrap.lh-order-dock,
  form.lh-review-with-dock > .lh-order-dock[hidden] {
    position:fixed;
    z-index:900;
    left:0;
    right:0;
    bottom:0;
    box-sizing:border-box;
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:57px;
    margin:0;
    padding:6px 14px;
    padding-right:max(14px, env(safe-area-inset-right, 0px));
    padding-bottom:calc(6px + env(safe-area-inset-bottom, 0px));
    padding-left:max(14px, env(safe-area-inset-left, 0px));
    color:#29241f;
    background:#fff;
    border-top:1px solid #e4dcd2;
    box-shadow:0 -3px 12px rgba(67,49,29,.06);
    font-family:inherit;
    text-align:left;
  }
  .lh-order-dock .lh-dock-price { flex:0 1 auto; min-width:0; }
  .lh-dock-price small { display:block; font-size:11px; line-height:1.2; color:#70665c; }
  .lh-dock-price strong { display:block; font-size:19px; line-height:1.15; color:#29241f; font-weight:700; white-space:nowrap; }
  .lh-order-dock .lh-dock-button {
    box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:10px;
    flex:1 1 0%; min-width:0; max-width:230px; min-height:44px;
    margin:0; padding:4px 9px; border:0; border-radius:7px;
    background:#8a5b24; color:#fff; box-shadow:none; cursor:pointer;
    font-family:inherit; font-size:15px; font-weight:700; line-height:1.15; text-align:center;
    text-transform:none; letter-spacing:normal; white-space:normal;
  }
  .lh-order-dock .lh-dock-button small { display:block; font-size:12px; font-weight:500; line-height:1.15; }
  .lh-order-dock .lh-dock-arrow { flex:none; font-size:17px; font-weight:500; line-height:1; }
  .lh-order-dock .lh-dock-button:hover, .lh-order-dock .lh-dock-button:active { background:#71491f; }
  .lh-order-dock .lh-dock-button:focus-visible { outline:2px solid #68451e; outline-offset:2px; }
  .lh-order-dock .lh-dock-button:disabled { opacity:.6; cursor:wait; }

  form.lh-review-with-dock .lh-bw-confirm-button,
  form.lh-review-with-dock .lh-cod-confirm-button { display:none !important; }

  body.lh-cart-has-dock::after,
  form.lh-review-with-dock::after {
    content:""; display:block; clear:both; height:68px; height:calc(68px + env(safe-area-inset-bottom, 0px));
  }
  body.lh-cart-has-dock #supercheckout-fieldset :focus,
  form.lh-review-with-dock :focus { scroll-margin-bottom:calc(68px + env(safe-area-inset-bottom, 0px)); }
}
@media screen and (max-width:350px) {
  .lh-order-dock .lh-dock-price strong { font-size:17px; }
  .lh-order-dock .lh-dock-button { gap:5px; font-size:14px; }
}
@media screen and (max-width:820px) {
  body.lh-cart-has-dock #supercheckout-fieldset #supercheckout_confirm_order,
  body.lh-cart-has-dock #supercheckout-fieldset #supercheckout_confirm_order_kb,
  body.lh-cart-has-dock #supercheckout-fieldset .lh-summary-card .lh-summary-cta { display:none !important; }
}
@media screen and (max-width:820px) {
  body.lh-cart-has-dock #smartsupp-widget-container > [data-testid="widgetButtonFrame"],
  body:has(form.lh-review-with-dock) #smartsupp-widget-container > [data-testid="widgetButtonFrame"] {
    margin-bottom:57px !important;
    margin-bottom:calc(57px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html.smartsupp-mobile-messenger-active .lh-order-dock,
  body.modal-open .lh-order-dock { visibility:hidden; }
}
