/* Dikar cart: align to right edge of button, constrain to viewport. */
body #cart > .dropdown-menu {
  left: auto !important; right: 0 !important; transform: none !important;
  width: 370px !important; min-width: 0 !important;
  max-width: calc(100vw - 24px) !important; box-sizing: border-box;
  max-height: calc(100vh - 160px); overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  margin-left: 0 !important; margin-right: 0 !important;
}
body #cart .dropdown-menu .table { width: 100%; }
body #cart .dropdown-menu .info-item { overflow-wrap: anywhere; }
body #cart p.cart-button a { white-space: normal; }
body #cart-total > .fa-shopping-cart ~ .fa-shopping-cart { display: none !important; }
@media (max-width: 767px) {
  body #cart { position: relative !important; }
  body #cart > .dropdown-menu { top: 100% !important; margin: 8px 0 0 !important; }
  body #cart p.cart-button a { display: block; width: 100%; padding: 15px 12px; }
}
#dikar-cart-confirmation {
  position: fixed; z-index: 2147483000; top: 16px; right: 16px;
  width: 380px; max-width: calc(100vw - 32px); box-sizing: border-box;
  padding: 22px 44px 20px 20px; background: #fff; color: #111827;
  border: 2px solid #34834b; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(17,24,39,.25); font: 16px/1.45 Arial,sans-serif;
}
#dikar-cart-confirmation[hidden] { display: none !important; }
#dikar-cart-confirmation strong { display: block; font-size: 18px; color: #28733d; }
#dikar-cart-confirmation p { margin: 8px 0 14px; }
#dikar-cart-confirmation a { display: block; text-align: center; color: #fff; background: #ac511d; border-radius: 8px; padding: 12px; font-weight: 700; text-decoration: none; }
#dikar-cart-confirmation button { position: absolute; top: 4px; right: 4px; width: 38px; height: 38px; border: 0; background: transparent; color: #111827; font-size: 28px; cursor: pointer; }
