.arbi-buy-menu { position: relative; display: inline-block; }
.arbi-buy-menu summary { list-style: none; }
.arbi-buy-menu summary::-webkit-details-marker { display: none; }
.arbi-buy-options {
  position: absolute; top: calc(100% + 4px); right: 0; z-index: 8;
  min-width: 130px; background: white; border: 1px solid #ddd;
  border-radius: 4px; box-shadow: 0 4px 12px #0002; text-align: left;
}
.arbi-buy-options button {
  display: block; width: 100%; padding: 8px 14px; border: 0;
  color: #252525; text-align: left; white-space: nowrap; background: transparent;
}
.arbi-buy-options button:hover, .arbi-buy-options button:focus-visible { background: #fff0f8; }
@media (min-width: 768px) { .arbi-table-wrap { overflow: visible; } }
@media (max-width: 767px) { .arbi-buy-options { position: static; margin-top: 4px; min-width: 0; } }

.arbi-cart-fab {
  position: fixed; right: var(--gap-from-right); bottom: calc(var(--gap-from-bottom) - var(--fab-size) - 16px);
  z-index: 9998; width: var(--fab-size); height: var(--fab-size); display: grid; place-items: center;
  border-radius: 50%; color: white; background: #95d858; font-size: calc(var(--fab-size) * .52);
  box-shadow: 0 8px 18px #0003; text-decoration: none;
}
.arbi-cart-fab:hover, .arbi-cart-fab:focus { color: white; background: #7fc63f; text-decoration: none; }
.arbi-cart-fab [data-cart-count] {
  position: absolute; top: -2px; right: -2px; min-width: 23px; padding: 3px 5px;
  border-radius: 14px; color: white; background: #ec2828; font: bold 12px/17px Arial,sans-serif; text-align: center;
}
.arbi-cart-toast {
  position: fixed; right: var(--gap-from-right); bottom: calc(var(--gap-from-bottom) + var(--fab-size) + 12px);
  z-index: 10000; margin: 0; max-width: calc(100vw - 40px); padding: 10px 15px;
  border-radius: 5px; background: #30353c; color: white; box-shadow: 0 4px 14px #0003;
}

#arbi-basket {
  width: min(454px, calc(100% - 24px)); max-height: 86vh; margin: auto; padding: 26px 29px;
  border: 1px solid #ddd; background: white; color: #323840; font: 14px/1.45 Arial,sans-serif;
}
#arbi-basket::backdrop { background: #17171cb3; }
.arbi-basket-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; }
.arbi-basket-heading h2 { margin: 0; font: bold 15px Arial,sans-serif; text-transform: uppercase; }
.arbi-basket-heading button, .arbi-basket-quantity button, .arbi-basket-remove {
  border: 0; background: transparent; color: #525b64; padding: 4px 6px; min-width: 24px; font-size: 16px;
}
.arbi-basket-quantity button:disabled { opacity: .45; cursor: default; }
.arbi-basket-list { padding: 0; margin: 0 0 18px; list-style: none; border-top: 1px solid #e7e7e7; }
.arbi-basket-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px;
  align-items: center; padding: 10px 0; border-bottom: 1px solid #e7e7e7;
}
.arbi-basket-item strong { white-space: nowrap; }
.arbi-basket-product { color: #323840; font-weight: bold; overflow-wrap: anywhere; }
.arbi-basket-quantity { display: flex; align-items: center; margin: 0; }
.arbi-basket-number { min-width: 22px; border: 1px solid #e7e7e7; text-align: center; }
.arbi-basket-totals { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; margin: 0 0 18px; }
.arbi-basket-totals dt { font-weight: normal; }
.arbi-basket-totals dd { margin: 0; text-align: right; }
.arbi-basket-pay {
  width: 100%; padding: 12px 16px; border: 0; border-radius: 2px;
  background: #05a9de; color: white; font-weight: bold; text-transform: uppercase;
}
.arbi-basket-pay:hover { background: #0088b8; }
[data-cart-error] { color: #a11c39; }
@media (max-width: 480px) {
  #arbi-basket { padding: 18px; }
  .arbi-basket-product { grid-column: 1 / -1; }
  .arbi-basket-item { grid-template-columns: 1fr auto auto; }
}
