/** bebarefoot.eu — desktop cart v2; load after header CSS */
@media (min-width: 992px) {
  /* No native mini-cart on desktop. */
  #cart-widget, .user-action-cart.popup-widget, [data-testid="popupCartWidget"] { display: none !important; }

  #header [data-testid="headerCart"].beb-header-cart {
    position: relative !important; display: inline-flex !important; align-items: center; justify-content: center;
    width: 52px !important; min-width: 52px !important; height: 52px !important; min-height: 52px !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; background: #fff !important;
    box-shadow: none !important; color: #211f1d !important; font-size: 0 !important;
  }
  #header [data-testid="headerCart"].beb-header-cart:hover { background: #f5f5f5 !important; }
  #header [data-testid="headerCart"].beb-header-cart::before,
  #header [data-testid="headerCart"].beb-header-cart::after { display: none !important; content: none !important; }
  #header [data-testid="headerCart"].beb-header-cart > :not(.beb-header-bag):not(.beb-cart-badge) { display: none !important; }
  #header .beb-header-bag { display: block !important; width: 27px; height: 27px; pointer-events: none; }
  #header .beb-cart-badge {
    position: absolute; top: 3px; right: 2px; display: inline-flex; align-items: center; justify-content: center;
    min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #fff; border-radius: 99px;
    background: #211f1d; color: #fff; font: 650 10px/1 "Source Sans 3", sans-serif; pointer-events: none;
  }
  #header .beb-cart-badge[hidden] { display: none !important; }

  body.beb-cart-confirmation-open { overflow: hidden; }
  .beb-cart-confirmation[hidden], .beb-cart-confirmation-backdrop[hidden] { display: none !important; }
  .beb-cart-confirmation-backdrop {
    position: fixed; z-index: 10040; inset: 0; background: rgba(0,0,0,.72); opacity: 0; transition: opacity .22s ease;
  }
  .beb-cart-confirmation {
    position: fixed; z-index: 10041; top: 0; right: 0; bottom: 0; width: min(760px,52vw);
    padding: clamp(24px,2.35vw,40px); overflow-y: auto; background: #fff; color: #211f1d;
    box-shadow: -24px 0 70px rgba(0,0,0,.2); transform: translateX(100%); transition: transform .25s ease;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  body.beb-cart-confirmation-open .beb-cart-confirmation-backdrop { opacity: 1; }
  body.beb-cart-confirmation-open .beb-cart-confirmation { transform: translateX(0); }
  .beb-cart-confirmation__header { display: flex; align-items: center; gap: 14px; padding-right: 50px; }
  .beb-cart-confirmation__check {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 38px; height: 38px; border: 1.5px solid #211f1d; border-radius: 50%; font-size: 22px;
  }
  .beb-cart-confirmation__title {
    margin: 0; font-size: clamp(32px,2.8vw,48px); font-weight: 650; letter-spacing: -.045em; line-height: .98; text-transform: uppercase;
  }
  .beb-cart-confirmation__close {
    position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; padding: 0; border: 0;
    background: transparent; color: #211f1d; font-size: 32px; font-weight: 300; line-height: 1;
  }
  .beb-cart-confirmation__product {
    display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 28px; align-items: center;
    margin-top: 34px; padding-bottom: 30px; border-bottom: 1px solid #dedede;
  }
  .beb-cart-confirmation__image-wrap { width: 150px; height: 150px; background: #f5f5f5; }
  .beb-cart-confirmation__image { display: block; width: 100%; height: 100%; object-fit: contain; }
  .beb-cart-confirmation__product.is-without-image { display: block; }
  .beb-cart-confirmation__product.is-without-image .beb-cart-confirmation__image-wrap { display: none; }
  .beb-cart-confirmation__name { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
  .beb-cart-confirmation__variant { margin: 8px 0 0; color: #6b6762; font-size: 13px; font-weight: 500; text-transform: uppercase; }
  .beb-cart-confirmation__price { margin: 28px 0 0; font-size: 20px; font-weight: 600; }
  .beb-cart-confirmation__actions { margin-top: 24px; }
  .beb-cart-confirmation__view-cart {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: 0 24px;
    border: 1.5px solid #211f1d; background: #fff; color: #211f1d !important; font-size: 15px; font-weight: 800;
    letter-spacing: .055em; text-decoration: none !important; text-transform: uppercase; transition: background-color .18s ease, color .18s ease;
  }
  .beb-cart-confirmation__view-cart:hover,
  .beb-cart-confirmation__view-cart:focus-visible { background: #211f1d; color: #fff !important; }
  .beb-cart-confirmation__continue {
    display: block; margin: 10px auto 0; padding: 7px; border: 0; background: transparent;
    color: #211f1d; font-size: 13px; font-weight: 550; text-decoration: underline;
  }
  .beb-cart-recommendations { margin-top: 26px; padding-top: 24px; border-top: 1px solid #dedede; }
  .beb-cart-recommendations__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
  .beb-cart-recommendations__title { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.025em; }
  .beb-cart-recommendations__all { color: #211f1d !important; font-size: 12px; font-weight: 550; text-decoration: underline; white-space: nowrap; }
  .beb-cart-recommendations__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
  .beb-cart-recommendation { position: relative !important; display: flex; min-width: 0; flex-direction: column; isolation: isolate; }
  .beb-cart-recommendation__image-link { display: block; aspect-ratio: 1/1; overflow: hidden; background: #f5f5f5; }
  .beb-cart-recommendation__image { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
  .beb-cart-recommendation:hover .beb-cart-recommendation__image { transform: scale(1.025); }
  .beb-cart-recommendation__name { display: -webkit-box; min-height: 39px; margin-top: 13px; overflow: hidden; color: #211f1d !important; font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .beb-cart-recommendation__price { margin: 8px 0 13px; font-size: 14px; font-weight: 600; }
  .beb-cart-recommendation__button { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: auto; border: 1.5px solid #211f1d !important; background: #fff !important; color: #211f1d !important; font-size: 14px; font-weight: 800; letter-spacing: .02em; text-decoration: none !important; text-transform: uppercase; transition: background-color .18s ease, color .18s ease; }
  .beb-cart-recommendation__button[hidden] { display: none !important; }
  .beb-cart-recommendation__button:hover,
  .beb-cart-recommendation__button:focus-visible { background: #211f1d !important; color: #fff !important; }
  .beb-cart-recommendation.is-added .beb-cart-recommendation__button { background: #211f1d !important; color: #fff !important; }
  .beb-cart-recommendation__picker { position: absolute !important; z-index: 20 !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; display: flex; flex-direction: column; width: 100% !important; height: 100% !important; min-height: 100%; margin: 0 !important; padding: 14px; overflow-y: auto; border: 1px solid #dedede; background: #fff; box-shadow: 0 8px 24px rgba(33,31,29,.12); }
  .beb-cart-recommendation__picker[hidden] { display: none !important; }
  .beb-cart-recommendation__sizes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .beb-cart-recommendation__size { min-height: 44px; padding: 6px; border: 1.5px solid #d6d6d6; background: #fff; color: #211f1d; font-size: 14px; font-weight: 750; }
  .beb-cart-recommendation__size:hover,
  .beb-cart-recommendation__size:focus-visible { border-color: #211f1d; background: #211f1d; color: #fff; }
  .beb-cart-recommendation__size.is-selected { border-color: #211f1d; background: #211f1d; color: #fff; }
  .beb-cart-recommendation__form { margin-top: auto; }
  .beb-cart-recommendation__add { width: 100%; min-height: 48px; margin-top: 9px; border: 1.5px solid #211f1d !important; background: #fff !important; color: #211f1d !important; font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; transition: background-color .18s ease, color .18s ease; }
  .beb-cart-recommendation__add:not(:disabled):hover,
  .beb-cart-recommendation__add:not(:disabled):focus-visible { background: #211f1d !important; color: #fff !important; }
  .beb-cart-recommendation__add:disabled { border-color: #d6d6d6; background: #eee; color: #8b8782; cursor: not-allowed; }
  .beb-cart-recommendation__picker-close { position: absolute; top: 5px; right: 0; width: 28px; height: 28px; padding: 0; border: 0; background: #fff; color: #211f1d; font-size: 20px; line-height: 1; }
  .beb-cart-recommendation__size-label { margin: 0 34px 10px 0; font-size: 14px; font-weight: 800; text-transform: uppercase; }
  .beb-cart-recommendations__status { grid-column: 1/-1; margin: 0; color: #6b6762; font-size: 13px; }
  .site-msg.beb-cart-native-message { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .beb-cart-confirmation, .beb-cart-confirmation-backdrop { transition: none; }
}
