.or-cart {
  --cart-ink: #141d2f;
  --cart-blue: #0735a3;
  --cart-line: #d9dfe8;
  --cart-muted: #536077;
  --cart-ice: #f4f7fc;
  position: fixed;
  inset: 0 0 0 auto;
  box-sizing: border-box;
  width: min(100%, 28rem);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  margin: 0 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid var(--cart-line);
  background: #fff;
  color: var(--cart-ink);
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
}

.or-cart[open] { animation: or-cart-in 180ms ease-out; }
.or-cart::backdrop { background-color: rgb(13 23 43 / 37%); }
html:has(.or-cart[open]) { overflow: hidden; }
.or-cart *, .or-cart *::before, .or-cart *::after { box-sizing: border-box; }
.or-cart [hidden] { display: none !important; }

.or-cart__panel { display: flex; flex-direction: column; height: 100%; }
.or-cart__header, .or-cart__footer { flex: 0 0 auto; padding: 1.4rem clamp(1.2rem, 5vw, 2rem); }
.or-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cart-line);
}
.or-cart__header h2, .or-cart__description h3, .or-cart__description p { margin: 0; }
.or-cart__header h2 { font: inherit; font-size: 1.65rem; letter-spacing: -.045em; font-weight: 750; line-height: 1.12; }
.or-cart button { font-family: inherit; cursor: pointer; }
.or-cart button:focus-visible { outline: 3px solid var(--cart-blue); outline-offset: 3px; }
.or-cart button:disabled { cursor: default; opacity: .35; }
.or-cart__close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cart-ice);
  color: var(--cart-ink);
}
.or-cart__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 clamp(1.2rem, 5vw, 2rem);
}
.or-cart__empty { margin: 2.6rem 0; color: var(--cart-muted); }
.or-cart__items { margin: 0; padding: 0; list-style: none; }
.or-cart__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: .9rem 1rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--cart-line);
}
.or-cart__description h3 { font: inherit; font-size: 1.07rem; font-weight: 720; line-height: 1.35; }
.or-cart__description p { margin-top: .15rem; color: var(--cart-muted); font-size: .9rem; }
.or-cart__line-total { font-weight: 650; font-variant-numeric: tabular-nums; }
.or-cart__quantity {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border: 1px solid var(--cart-line);
  border-radius: .45rem;
}
.or-cart__quantity button {
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cart-ink);
  font-size: 1.15rem;
  line-height: 1;
}
.or-cart__quantity span[data-cart-quantity] { min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.or-cart__remove {
  align-self: center;
  justify-self: end;
  min-height: 2.5rem;
  padding: .4rem 0 .4rem .5rem;
  border: 0;
  background: transparent;
  color: var(--cart-muted);
  font-size: .83rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.or-cart__footer { border-top: 1px solid var(--cart-line); padding-bottom: max(1.4rem, env(safe-area-inset-bottom)); }
.or-cart__subtotal { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: 0 0 1.2rem; }
.or-cart__subtotal strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.or-cart__continue {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--cart-blue);
  border-radius: .5rem;
  background: var(--cart-blue);
  color: #fff;
  font-size: .96rem;
  font-weight: 680;
}
.or-cart__screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes or-cart-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .or-cart[open] { animation: none; }
}

.or-cart__primary { font: inherit; }
.or-cart__primary {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--cart-blue);
  border-radius: .5rem;
  background: var(--cart-blue);
  color: #fff;
  font-weight: 700;
}
.or-cart__primary:not([hidden]) + .or-cart__continue {
  margin-top: .45rem;
  color: var(--cart-blue);
  background: #fff;
}

.set-order { margin: 0; }
.offer-selector { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.offer-selector legend { padding: 0; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 730; letter-spacing: -.04em; line-height: 1.15; }
.offer-selector__unit { margin: .32rem 0 .85rem; color: var(--mute); font-size: .93rem; }
.offer-primary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.offer-card, .offer-row { cursor: pointer; }
.offer-saving { color: #20573d; font-size: .8rem; font-weight: 680; }
.offer-saving[hidden] { display: none; }
.offer-card { align-content: start; }
.shipping-note { margin: .65rem 0 0; color: var(--mute); font-size: .85rem; line-height: 1.4; }
.shipping-note strong { color: var(--ink); }
.or-cart__footer .shipping-note { margin: -.6rem 0 1rem; }

.offer-card {
  position: relative;
  display: grid;
  gap: .15rem;
  padding: .8rem clamp(.7rem, 1.3vw, 1.1rem);
  border: 1.5px solid #c6cfdf;
  border-radius: .6rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.offer-card:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #eef4ff; }
.offer-card strong { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.2; padding-right: 1.4rem; }
.offer-coverage { color: var(--mute); font-size: .85rem; }
.offer-card__price { margin-top: .35rem; font-size: clamp(1.12rem, 1.85vw, 1.45rem); line-height: 1.2; font-weight: 720; }
.offer-selector input[type=radio] { accent-color: var(--navy); width: 1.05rem; height: 1.05rem; margin: 0; flex: none; }
.offer-card input[type=radio] { position: absolute; right: .7rem; top: .8rem; }
.offer-card:has(input:focus-visible), .offer-row:has(input:focus-visible) { outline: 3px solid #558aec; outline-offset: 2px; }
.offer-action { margin-top: .75rem; }
.offer-action .add { min-height: 3.2rem; }
.offer-action .add:disabled { opacity: .6; cursor: default; }
.add-price { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.add-price [data-price-label] { font-size: .72rem; font-weight: 500; letter-spacing: 0; }
.offer-bulk { margin-top: 1.15rem; scroll-margin-top: 1rem; }
.offer-bulk h2 { font: inherit; font-size: .96rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .25rem; }
.offer-row {
  display: grid;
  grid-template-columns: auto minmax(4.9rem, auto) 1fr;
  align-items: center;
  gap: .26rem .6rem;
  padding: .65rem .35rem;
  border-block-end: 1px solid var(--border);
}
.offer-row:has(input:checked) { background: #eef4ff; }
.offer-row > strong { font-size: .92rem; white-space: nowrap; }
.offer-row > span { color: var(--mute); font-size: .85rem; line-height: 1.4; }
.offer-row b { font-weight: 630; color: var(--ink); }
.offer-row__rate { white-space: nowrap; }
.set-order__quantity[hidden] { display: none; }
.set-order__quantity { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-top: .8rem; }
.set-order__quantity label { font-weight: 650; }
.set-order__quantity input {
  width: 6rem;
  height: 2.75rem;
  padding-inline: .75rem;
  border: 1px solid #adbace;
  border-radius: .45rem;
  color: var(--ink);
  background: #fff;
  font-weight: 650;
  font-size: 1rem;
}
@media (max-width: 480px) {
  .offer-row { grid-template-columns: auto minmax(4.5rem, auto) 1fr; column-gap: .5rem; }
  .offer-row .rate-separator { display: none; }
  .offer-row__rate { display: block; }
}
.set-order__error { color: #962b20; font-size: .92rem; }
.set-order__quantity input[aria-invalid="true"], .or-cart__quantity input[aria-invalid="true"] { border: 2px solid #962b20; }
.or-cart__rate { margin: 0 0 .65rem; font-size: .93rem; color: var(--cart-muted); }
.or-cart__primary { display: grid; place-items: center; }
.or-cart__quantity input {
  appearance: textfield;
  width: 3.65rem;
  min-height: 2.5rem;
  border: 0;
  border-inline: 1px solid var(--cart-line);
  background: white;
  color: var(--cart-ink);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.or-cart__quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-count { min-width: 1.4rem; width: auto; padding-inline: .36rem; border-radius: 1rem; }
@media (max-width: 739px) and (max-height: 600px) {
  .offer-card { padding-block: .6rem; }
  .offer-selector__unit { margin-bottom: .55rem; }
}
