/*
 * Cart drawer (inc/cart-drawer.php, assets/er-cart-drawer.js). Phone first.
 * Geometry and colours follow the live Upcart drawer measured on 2026-10-10 (upcart-2026-10-10 evidence pack,
 * reference/components.json): white panel, 100% wide up to 500px and 500px above, slide 0.249s ease, backdrop black 0.4,
 * Montserrat 17px (phone) / 18px (desktop), header 20px / 30px padding, footer #f6f6f7 23px padding, button #098b8a,
 * radius 8. The whole drawer, form controls included, uses the self-hosted Montserrat (owner decision 2026-10-10; live
 * left its controls in the browser's Arial). Corrected on purpose: reduced motion, a real scroll lock, safe areas,
 * dynamic viewport height, visible keyboard focus, the closed drawer is not focusable, and the small controls (trash,
 * upsell arrows, coupon remove) get invisible WCAG 2.2 touch targets (::after hit areas; boxes and look unchanged).
 */
.er-cd {
  --er-cd-accent: #f6f6f7;
  --er-cd-button: #098b8a;
  --er-cd-button-text: #fff;
  --er-cd-button-hover-text: #e9e9e9;
  --er-cd-text: #000;
  --er-cd-line: rgba(0, 0, 0, 0.1);
  --er-cd-pad: 20px;
  --er-cd-base: 17px;
  --er-cd-lh: 29.1429px;
  --er-cd-time: 0.249s;
  --er-cd-font: "ER Montserrat", Montserrat, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 2147483639;
  visibility: hidden;
  pointer-events: none;
  font-family: var(--er-cd-font);
  font-size: var(--er-cd-base);
  font-weight: 400;
  line-height: var(--er-cd-lh);
  color: var(--er-cd-text);
  text-align: start;
  letter-spacing: normal;
  text-transform: none;
  -webkit-text-size-adjust: 100%;
}
.er-cd[open] {
  visibility: visible;
  pointer-events: auto;
}
.er-cd *,
.er-cd *::before,
.er-cd *::after {
  box-sizing: border-box;
}
.er-cd :where(p, a, s, span, li, h2, h3) {
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}
/* Form controls too (browsers give them their own system font otherwise). */
.er-cd :where(button, input, select, option, textarea) {
  font-family: var(--er-cd-font);
}
/* Resets at class-level specificity (0,1,0) via :where(), so they beat the theme's element rules but never the
   drawer's own component rules. */
.er-cd :where(p, h2, h3, ul, li, s, form) {
  margin: 0;
  padding: 0;
}
.er-cd :where(ul) {
  list-style: none;
}
.er-cd :where(a) {
  color: inherit;
  text-decoration: none;
}
.er-cd :where(button) {
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.er-cd-vh {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.er-cd :focus {
  outline: none;
}
.er-cd :focus-visible {
  outline: 2px solid var(--er-cd-button);
  outline-offset: 2px;
}

/* Backdrop: black at 0.4 while open (live shows no fade). */
.er-cd__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
}
.er-cd[open] .er-cd__backdrop {
  opacity: 0.4;
}

/* Panel */
.er-cd__panel {
  position: absolute;
  top: var(--er-cd-vvtop, 0px);
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  height: 100%;
  height: var(--er-cd-vvh, 100%);
  max-height: 100%;
  overflow: hidden;
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--er-cd-time) ease, visibility 0s linear var(--er-cd-time);
  visibility: hidden;
}
.er-cd[open] .er-cd__panel {
  transform: none;
  visibility: visible;
  transition: transform var(--er-cd-time) ease;
}
@supports (height: 100dvh) {
  .er-cd__panel {
    height: var(--er-cd-vvh, 100dvh);
  }
}

/* Header: close left, title centred over the full width */
.er-cd__header {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: calc(var(--er-cd-pad) + env(safe-area-inset-top, 0px)) var(--er-cd-pad) var(--er-cd-pad);
  border-bottom: 1px solid var(--er-cd-line);
}
.er-cd__title {
  margin: 0 40px;
  font-size: 1.17em;
  font-weight: 700;
  line-height: calc(var(--er-cd-lh) * 1.17);
  text-align: center;
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
}
.er-cd__close {
  position: absolute;
  top: calc(50% + env(safe-area-inset-top, 0px) / 2);
  left: var(--er-cd-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.047);
  color: #637381;
  transform: translateY(-50%);
  transition: background-color 0.2s;
}
.er-cd__close:hover {
  background: rgba(0, 0, 0, 0.08);
}
.er-cd__close svg {
  display: block;
  width: 9.89px;
  height: 9.89px;
  fill: currentColor;
}

/* Announcement strip: the owner's optional plain text only (the live "reserved for mm:ss" countdown is not reproduced:
   owner decision R26). Same look as the live strip: 11px, 4px 10px, teal top and bottom border. */
.er-cd__announcement {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-top: 1px solid var(--er-cd-button);
  border-bottom: 1px solid var(--er-cd-button);
  background: #fff;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}
.er-cd__announcement[hidden] {
  display: none;
}

.er-cd__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Scrolling body */
.er-cd__body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.er-cd.is-busy .er-cd__body,
.er-cd.is-busy .er-cd__footer {
  cursor: progress;
}

.er-cd__loading {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}
.er-cd__loading span {
  width: 28px;
  height: 28px;
  border: 3px solid var(--er-cd-line);
  border-top-color: var(--er-cd-button);
  border-radius: 50%;
  animation: er-cd-spin 0.8s linear infinite;
}
@keyframes er-cd-spin {
  to {
    transform: rotate(360deg);
  }
}

.er-cd__notice {
  margin: 10px var(--er-cd-pad) 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--er-cd-accent);
  font-size: 14px;
  line-height: 1.4;
}
.er-cd__notice.is-error {
  background: #fdecea;
  color: #8a1c1c;
}
/* A write's outcome is being checked: the drawer's controls wait (aria-disabled) until it is known. */
.er-cd__notice.is-checking {
  background: var(--er-cd-accent);
  color: rgba(0, 0, 0, 0.75);
}
.er-cd.is-checking .er-cd__qty-btn[aria-disabled="true"],
.er-cd.is-checking .er-cd__remove[aria-disabled="true"],
.er-cd.is-checking .er-cd__reco-add[aria-disabled="true"],
.er-cd.is-checking .er-cd__coupon-remove[aria-disabled="true"],
.er-cd.is-checking .er-cd__qty-input[readonly] {
  cursor: not-allowed;
  opacity: 0.4;
}
.er-cd__notice-retry {
  margin-top: 6px;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: 600 13px/1.4 var(--er-cd-font);
}

/* Empty state */
/* The theme zeroes the block margins of first/last-child p, h1-h6 and ul with !important, so the drawer spaces those
   with padding and flex instead of margins. */
.er-cd__empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 15px;
}
.er-cd__empty-main {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding-bottom: 15px;
}
.er-cd__empty-title {
  margin: 0 30px;
  font-size: 22px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}
.er-cd__empty-note {
  margin: 0 30px;
  padding: 18px 30px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7143;
  text-align: center;
}

/* Lines */
.er-cd__item {
  display: flex;
  gap: 20px;
  padding: 15px var(--er-cd-pad);
  border-bottom: 1px solid var(--er-cd-line);
}
.er-cd__item-img {
  display: flex;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
}
.er-cd__item-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.er-cd__item-main {
  flex: 1 1 auto;
  min-width: 0;
}
.er-cd__item-head {
  display: flex;
  align-items: flex-start;
}
.er-cd__item-title {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.er-cd__remove {
  display: flex;
  flex: 0 0 15px;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: none;
  color: rgba(0, 0, 0, 0.4);
  transition: color 0.2s;
  position: relative;
}
.er-cd__remove::after {
  /* Touch target (WCAG 2.2 target size). The 15px icon, its box and the layout do not change. 44px tall; only 2px to the
     left, so the line title keeps 8px clear; to the right out to the panel edge on phones (37px wide), 8px short of it
     from 601px (39px). */
  content: "";
  position: absolute;
  top: -14.5px;
  right: calc(var(--er-cd-pad) * -1);
  bottom: -14.5px;
  left: -2px;
}
.er-cd__remove:hover {
  color: #000;
}
.er-cd__remove svg {
  display: block;
}
.er-cd__item-opt {
  margin-top: 2px;
  font-size: 14px;
  line-height: var(--er-cd-lh);
  color: rgba(0, 0, 0, 0.4);
}
.er-cd__item-opt + .er-cd__item-opt {
  margin-top: 0;
}
/* Real low-stock notice "Only N left" (owner decision R26), in the live theme's own low-stock colour
   (product_low_stock_text_color #de2b2b; 4.7:1 on white). */
.er-cd__low-stock {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #de2b2b;
}
.er-cd__item-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 20px;
  column-gap: 10px;
  margin-top: 8px;
}
.er-cd__qty {
  display: flex;
  flex: 0 0 auto;
  height: 30px;
}
.er-cd__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  color: #637381;
  font: 400 13.3333px var(--er-cd-font);
  position: relative;
}
.er-cd__qty-btn::after {
  content: "";
  position: absolute;
  inset: -7px 0;
}
.er-cd__qty-btn--dec {
  border-radius: 8px 0 0 8px;
}
.er-cd__qty-btn--inc {
  border-radius: 0 8px 8px 0;
}
.er-cd__qty-btn svg {
  display: block;
  fill: currentColor;
}
.er-cd__qty-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.4;
}
.er-cd__qty-input {
  width: 45px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: 400 14px/1 var(--er-cd-font);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.er-cd__qty-input::-webkit-outer-spin-button,
.er-cd__qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.er-cd__qty-static {
  font-size: 14px;
}
.er-cd__prices {
  flex: 0 0 auto;
  margin-left: auto;
  line-height: 1.2;
  text-align: right;
}
.er-cd__price-row {
  display: flex;
  min-height: calc(var(--er-cd-base) * 1.2);
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
}
.er-cd__compare {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.4;
}
.er-cd__price {
  font-size: 15px;
  font-weight: 500;
}
.er-cd__savings {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 800;
  line-height: calc(var(--er-cd-base) * 1.2);
}
.er-cd__item-err {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #8a1c1c;
}
.er-cd__item-err.is-checking {
  color: rgba(0, 0, 0, 0.6);
}

/* Recommendations ("Most Customers Also Buy"), pinned to the bottom of the scroll area as on live */
.er-cd__bottom {
  margin-top: auto;
}
.er-cd__reco {
  padding: calc(10px + 12.45px) var(--er-cd-pad) 10px;
}
.er-cd__reco-title {
  margin: 0;
  padding: 0 30px 12.45px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7143;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
}
.er-cd__reco-viewport {
  position: relative;
}
.er-cd__reco-clip {
  overflow: hidden;
}
.er-cd__reco-track {
  display: flex;
  transition: transform 0.35s ease-in-out;
}
.er-cd__reco-card {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 5px;
  background: var(--er-cd-accent);
}
.er-cd__reco-img {
  display: block;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
}
.er-cd__reco-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.er-cd__reco-main {
  flex: 1 1 auto;
  min-width: 0;
}
.er-cd__reco-name {
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7143;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.er-cd__reco-prices {
  display: flex;
  align-items: baseline;
  height: 20px;
  font-size: 14px;
  line-height: 20px;
}
.er-cd__reco-compare {
  margin-right: 10px;
  font-size: 12px;
  opacity: 0.6;
}
.er-cd__reco-price {
  font-size: 14px;
  font-weight: 500;
}
.er-cd__reco-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.7143;
}
.er-cd__stars {
  position: relative;
  display: inline-block;
  color: #000;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.er-cd__stars-base {
  color: #c9c9c9;
}
.er-cd__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}
.er-cd__reviews {
  color: #555;
}
.er-cd__reco-form {
  display: flex;
  align-items: center;
  margin-top: 5px;
}
.er-cd__reco-select {
  width: calc(50% - 8px);
  height: 30px;
  margin: 0 8px 0 0;
  padding: 0 20px 0 9px;
  border: 1px solid #dfe3e8;
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%23637381' d='M0 0h8L4 5z'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: #000;
  font: 400 12px var(--er-cd-font);
  text-overflow: ellipsis;
  -webkit-appearance: none;
  appearance: none;
}
.er-cd__reco-add {
  width: 50%;
  height: 36px;
  padding: 7px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--er-cd-button);
  color: var(--er-cd-button-text);
  font: 600 14px/1.7143 var(--er-cd-font);
  white-space: nowrap;
}
.er-cd__reco-form.is-single .er-cd__reco-add {
  width: 100%;
}
.er-cd__reco-add:hover {
  color: var(--er-cd-button-hover-text);
}
.er-cd__reco-add[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
}
/* P2 (owner decision F-2, 8px spacing): the arrows sit in the title row, centred on the title line (title padding-bottom
   12.45px + half its 15px line), 44px tall, so their touch targets end 3.3px above the card: 8.3px clear of the card's
   controls on phones (card padding 5px; 13.3px at 320px, 18.5px from 601px). The card itself does not change. */
.er-cd__reco-arrow {
  position: absolute;
  top: calc(-12.45px - 15px * 1.7143 / 2 - 22px);
  height: 44px;
  z-index: 1;
  width: 19px;
  padding: 0;
  border: 0;
  background: none;
}
.er-cd__reco-arrow--prev {
  left: -17px;
}
.er-cd__reco-arrow--next {
  right: -17px;
}
.er-cd__reco-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  transform: translate(-30%, -50%) rotate(-45deg);
}
.er-cd__reco-arrow--next::before {
  transform: translate(-70%, -50%) rotate(135deg);
}
/* Touch target (WCAG 2.5.5 target size): 44 x 44px, from the panel edge inwards. The 19px buttons and their chevrons do
   not change size; the title text stays clear (it starts 30px inside the reco padding). */
.er-cd__reco-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
}
.er-cd__reco-arrow--prev::after {
  right: -22px;
  left: -3px;
}
.er-cd__reco-arrow--next::after {
  right: -3px;
  left: -22px;
}

/* Footer */
.er-cd__footer {
  flex: 0 0 auto;
  container-type: inline-size;
  padding: 23px 23px calc(23px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--er-cd-line);
  background: var(--er-cd-accent);
}
.er-cd__footer[hidden] {
  display: none;
}
.er-cd__coupon {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.er-cd__coupon-field {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--er-cd-line);
  background: #fff;
}
.er-cd__coupon-field input {
  width: 100%;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: 400 16px/1.7143 var(--er-cd-font);
  box-shadow: none;
}
.er-cd__coupon-field input::placeholder {
  color: #757575;
  opacity: 1;
}
.er-cd__coupon-apply {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 25px;
  border: 0;
  border-radius: 8px;
  background: var(--er-cd-button);
  color: var(--er-cd-button-text);
  font: 600 14px var(--er-cd-font);
}
.er-cd__coupon-apply:hover {
  color: var(--er-cd-button-hover-text);
}
.er-cd__coupon-msg {
  margin: -4px 0 10px;
  font-size: 13px;
  line-height: 1.4;
}
.er-cd__coupon-msg.is-error {
  color: #8a1c1c;
}
.er-cd__coupons {
  margin-bottom: 10px;
}
.er-cd__coupon-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.er-cd__coupon-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.er-cd__coupon-remove {
  position: relative;
  padding: 2px 10px;
  border: 1px solid var(--er-cd-line);
  border-radius: 8px;
  background: #fff;
  color: #000;
  font: 400 13px var(--er-cd-font);
}
/* Touch target (WCAG 2.2 target size; the 22px button looks the same): 2px more above the first chip's button and below
   the last one's, so the usual single code gets 26px, 8px clear of Apply and Checkout. */
.er-cd__coupon-remove::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
}
.er-cd__coupon-chip:first-child .er-cd__coupon-remove::after {
  top: -3px;
}
.er-cd__coupon-chip:last-child .er-cd__coupon-remove::after {
  bottom: -3px;
}
.er-cd__checkout {
  display: block;
  padding: 14px;
  border-radius: 8px;
  background: var(--er-cd-button);
  color: var(--er-cd-button-text) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition: opacity 0.3s;
}
.er-cd__checkout:hover {
  color: var(--er-cd-button-hover-text) !important;
}
.er-cd.is-busy .er-cd__checkout,
.er-cd__checkout[aria-busy="true"] {
  opacity: 0.7;
}
.er-cd__checkout[aria-busy="true"],
.er-cd__coupon-apply[aria-disabled="true"] {
  cursor: progress;
}
.er-cd__coupon-apply[aria-disabled="true"] {
  opacity: 0.7;
}
/* Same strip height as live: its badge image (1037x94) is contained in the footer width minus 10px. Each local icon
   (38x24) gets that height; only the owner-approved methods are listed. */
.er-cd__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 15px 5px 9px;
}
.er-cd__badges img {
  display: block;
  width: 47.5px;
  height: 30px;
}
@supports (width: 1cqw) {
  .er-cd__badges img {
    width: calc((100cqw - 10px) * 94 / 1037 * 38 / 24);
    height: calc((100cqw - 10px) * 94 / 1037);
  }
}

.er-cd-form-error {
  margin: 10px 0 0;
  color: #8a1c1c;
  font-size: 14px;
  line-height: 1.4;
}
.er-cd-form-error[hidden] {
  display: none;
}
[data-product-add-to-cart-button].is-loading {
  cursor: progress;
  opacity: 0.7;
}

/* 320px phones: the card keeps 10px padding (live) */
@media (max-width: 349px) {
  .er-cd__reco-card {
    padding: 10px;
  }
}

/* Desktop: 500px drawer, 18px base, 30px insets, larger images (live values at 1024 / 1440 / 1481) */
@media (min-width: 601px) {
  .er-cd {
    --er-cd-pad: 30px;
    --er-cd-base: 18px;
    --er-cd-lh: 31.2px;
  }
  .er-cd__empty-note {
    line-height: 1.7333;
  }
  .er-cd__announcement {
    padding: 4px 33px;
  }
  .er-cd__item {
    padding: 20px var(--er-cd-pad);
  }
  .er-cd__item-img {
    flex-basis: 88px;
    width: 88px;
    height: 88px;
  }
  .er-cd__reco {
    padding: calc(15px + 12.45px) var(--er-cd-pad) 15px;
  }
  .er-cd__reco-title {
    line-height: 1.7333;
  }
  .er-cd__reco-card {
    padding: 15px;
  }
  .er-cd__reco-img {
    flex-basis: 90px;
    width: 90px;
    height: 90px;
  }
  .er-cd__reco-name,
  .er-cd__reco-rating {
    line-height: 1.7333;
  }
  .er-cd__reco-select {
    height: 36px;
  }
  .er-cd__reco-arrow {
    top: calc(-12.45px - 15px * 1.7333 / 2 - 22px);
  }
  .er-cd__reco-arrow--prev {
    left: -22px;
  }
  .er-cd__reco-arrow--next {
    right: -22px;
  }
  .er-cd__reco-arrow--prev::after {
    right: -17px;
    left: -8px;
  }
  .er-cd__reco-arrow--next::after {
    right: -8px;
    left: -17px;
  }
  .er-cd__remove::after {
    right: calc(var(--er-cd-pad) * -1 + 8px);
  }
}

/* Honour reduced motion (live does not). */
@media (prefers-reduced-motion: reduce) {
  .er-cd__panel,
  .er-cd[open] .er-cd__panel,
  .er-cd__reco-track,
  .er-cd__close,
  .er-cd__checkout {
    transition: none !important;
  }
  .er-cd__loading span {
    animation-duration: 2.4s;
  }
}
