/* No desktop layout rules. The footer markup is hidden until the mobile native-form enhancement is ready. */
#bes-mobile-purchase[hidden], .bes-mobile-product-nav[hidden] { display:none !important; }

@media(max-width:767px) {
  body.bes-mobile-pdp-ready.single-product .summary > .bes-mobile-product-nav {
    order:0;
    display:flex;
    gap:6px;
    width:100%;
    margin:0 0 16px;
    padding:0;
    border:0;
  }
  .bes-mobile-product-nav a {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1 1 0;
    min-width:0;
    min-height:44px;
    padding:8px 6px;
    box-sizing:border-box;
    border:1px solid #e6dce0;
    border-radius:999px;
    background:#fff;
    color:var(--bes-wine,#60253c);
    font-family:inherit;
    font-size:12px;
    font-weight:500;
    line-height:1.3;
    text-align:center;
    text-decoration:none;
    overflow-wrap:anywhere;
    transition:background-color 160ms ease,border-color 160ms ease;
  }
  .bes-mobile-product-nav a:active { background:#f6f0f3; border-color:#cbb5bf; }
  body.bes-mobile-pdp-ready.single-product .bes-product-description,
  body.bes-mobile-pdp-ready.single-product .bes-product-disclosure {
    scroll-margin-block-start:110px;
  }
  body.bes-mobile-pdp-ready.single-product #bes-mobile-purchase:not([hidden]) {
    position:fixed;
    z-index:100;
    inset:auto 0 0;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(138px,45%);
    align-items:center;
    gap:12px;
    box-sizing:border-box;
    width:100%;
    padding:10px max(14px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));
    border-top:1px solid #e9dfe3;
    background:#fff;
    box-shadow:0 -6px 24px rgba(54,27,40,.08);
    color:#292529;
    animation:bes-mobile-purchase-in 180ms ease-out both;
  }
  .bes-mobile-purchase__info { min-width:0; }
  #bes-mobile-purchase .bes-mobile-purchase__choice {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:5px;
    min-width:0;
    width:100%;
    min-height:30px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:#686064;
    font-family:inherit;
    font-size:12px;
    font-weight:500;
    line-height:1.35;
    text-align:left;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  #bes-mobile-purchase .bes-mobile-purchase__choice > .bes-icon { flex:0 0 13px; width:13px; height:13px; }
  #bes-mobile-purchase .bes-mobile-purchase__price {
    min-width:0;
    font-family:inherit;
    font-size:18px;
    font-weight:600;
    line-height:1.4;
    overflow-wrap:anywhere;
  }
  #bes-mobile-purchase .bes-mobile-purchase__price .price { margin:0; color:inherit; font:inherit; }
  #bes-mobile-purchase .bes-mobile-purchase__price del { color:#8a8186; font-size:12px; font-weight:400; margin-right:5px; }
  #bes-mobile-purchase .bes-mobile-purchase__price ins { text-decoration:none; color:var(--bes-wine,#60253c); font:inherit; }
  #bes-mobile-purchase .bes-mobile-purchase__buy {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:48px;
    height:auto;
    margin:0;
    padding:12px 10px;
    border:0;
    border-radius:10px;
    background:var(--bes-wine,#60253c);
    color:#fff;
    box-shadow:none;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    line-height:1.4;
    white-space:normal;
    overflow-wrap:anywhere;
    transition:background-color 160ms ease,transform 160ms ease;
  }
  #bes-mobile-purchase .bes-mobile-purchase__buy .bes-icon { flex:0 0 18px; width:18px; height:18px; }
  #bes-mobile-purchase .bes-mobile-purchase__buy:disabled { background:#ebe5e8; color:#81717a; cursor:default; opacity:1; }
  #bes-mobile-purchase .bes-mobile-purchase__buy:not(:disabled):active { background:#40202e; transform:translateY(1px); }
  #bes-mobile-purchase button:focus-visible,
  .bes-mobile-product-nav a:focus-visible { outline:2px solid var(--bes-wine,#60253c); outline-offset:3px; }
  body.bes-visual-refresh.bes-minimal-commerce.single-product.bes-mobile-buy-visible {
    padding-bottom:var(--bes-mobile-buy-height,84px) !important;
  }
  body.bes-visual-refresh.bes-minimal-commerce.single-product.bes-mobile-buy-visible #bes-care-finder .bes-assistant-launcher {
    bottom:calc(var(--bes-mobile-buy-height,84px) + 14px) !important;
    transition:bottom 180ms ease;
  }
  body.bes-mobile-pdp-ready.single-product .commercekit-sticky-add-to-cart { display:none !important; }
  @keyframes bes-mobile-purchase-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
  @media(prefers-reduced-motion:reduce) {
    #bes-mobile-purchase, #bes-mobile-purchase button, .bes-mobile-product-nav a,
    body.bes-mobile-buy-visible #bes-care-finder .bes-assistant-launcher { animation:none !important; transition:none !important; }
  }
}
