@media (min-width: 1025px) {
  html body .sfmc-panel {
    background: #fff !important;
    color: #171718 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 35px rgba(23,23,24,.13), 0 3px 8px rgba(23,23,24,.05) !important;
    box-sizing: border-box !important;
    padding: 18px !important;
    text-align: left;
  }
  html body .sfmc-panel .sfmc-count {
    color: #525252 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  html body .sfmc-panel .sfmc-total {
    color: #171718 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }
  html body .sfmc-panel .sfmc-total .sfmc-amount {
    font-size: 17px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums;
  }
  html body .sfmc-panel .sfmc-checkout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin: 12px 0 0 !important;
    padding: 11px 16px !important;
    background: #C91735 !important;
    border: 1px solid #C91735 !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .18s ease, border-color .18s ease !important;
  }
  html body .sfmc-panel .sfmc-checkout:hover:not(:disabled):not([aria-disabled="true"]) {
    background: #A9122C !important;
    border-color: #A9122C !important;
  }
  html body .sfmc-panel .sfmc-checkout:focus-visible { outline: 2px solid #C91735 !important; outline-offset: 3px; }
}

/* Mobile: style only the detected header cart dropdown. Keep theme anchoring and visibility. */
@media (max-width: 1024px) {
  html body .sfmc-panel {
    background: #fff !important;
    color: #171718 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(23,23,24,.15), 0 2px 6px rgba(23,23,24,.06) !important;
    box-sizing: border-box !important;
    max-width: calc(100vw - 24px) !important;
    padding: 16px !important;
    text-align: left;
  }
  html body .sfmc-panel .sfmc-count {
    color: #525252 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  html body .sfmc-panel .sfmc-total {
    color: #171718 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }
  html body .sfmc-panel .sfmc-total .sfmc-amount {
    font-size: 17px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums;
  }
  html body .sfmc-panel .sfmc-checkout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin: 12px 0 0 !important;
    padding: 11px 12px !important;
    background: #C91735 !important;
    border: 1px solid #C91735 !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  html body .sfmc-panel .sfmc-checkout:active:not(:disabled):not([aria-disabled="true"]) {
    background: #A9122C !important;
    border-color: #A9122C !important;
  }
}
