:root body.storefront-page :is(.section-scroll-button, .account-carousel-arrow, .avatar-carousel-arrow)[hidden] {
  display: none !important;
}
:root body.storefront-page :is(.section-scroll-button, .account-carousel-arrow, .avatar-carousel-arrow) {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #e9e7f2;
  color: #171320;
}
:root body.storefront-page :is(.section-scroll-button, .account-carousel-arrow, .avatar-carousel-arrow) svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 3;
}
:root body.storefront-page :is(.section-scroll-button, .account-carousel-arrow, .avatar-carousel-arrow)::after {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: auto;
  border: 2px solid transparent;
  border-radius: 11px;
  background: transparent;
  transform: none;
  pointer-events: none;
  transition: border-color 180ms ease;
}
:root body.storefront-page :is(.section-scroll-button, .account-carousel-arrow, .avatar-carousel-arrow):is(:hover, :focus-visible)::after {
  border-color: rgb(235 232 245 / 90%);
  background: transparent;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  :root body.storefront-page :is(.section-scroll-button, .account-carousel-arrow, .avatar-carousel-arrow)::after { transition: none; }
}
:root body.storefront-page #giftView #shopGrid .section-scroll-button,
:root body.storefront-page #rechargeView .account-carousel-arrow:not([hidden]) {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}
:root body.storefront-page #giftView #shopGrid .section-scroll-button svg,
:root body.storefront-page #rechargeView .account-carousel-arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}
:root body.storefront-page #giftView #shopGrid .section-scroll-button svg path,
:root body.storefront-page #rechargeView .account-carousel-arrow svg path {
  stroke-width: 3;
}
:root body.storefront-page #giftView #shopGrid .is-carousel .section-scroll-button.is-left { left: -20px; }
:root body.storefront-page #giftView #shopGrid .is-carousel .section-scroll-button.is-right { right: -20px; }
:root body.storefront-page #rechargeView .account-carousel-arrow[data-direction="-1"] { left: -14px; }
:root body.storefront-page #rechargeView .account-carousel-arrow[data-direction="1"] { right: -14px; }

:root body.storefront-page #giftView #shopGrid .shop-section.is-carousel .section-grid[data-fit-carousel] {
  column-gap: 0 !important;
  scroll-snap-type: x mandatory !important;
  overflow-anchor: none;
}
:root body.storefront-page #giftView #shopGrid .shop-section.is-carousel .section-grid[data-fit-carousel] > .item-card {
  flex: 0 0 var(--fitted-card-width) !important;
  width: var(--fitted-card-width) !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-inline: 0 var(--fitted-card-space) !important;
  scroll-snap-align: none !important;
}
:root body.storefront-page #giftView #shopGrid .shop-section.is-carousel .section-grid[data-fit-carousel] > [data-carousel-page-start] {
  scroll-snap-align: start !important;
}

/* Mobile overflow clipping must not cut the control or its 3px focus ring. */
@media (max-width: 820px) {
  :root body.storefront-page #giftView #shopGrid .is-carousel .section-scroll-button.is-left[data-carousel-scroll] { left: 4px; }
  :root body.storefront-page #giftView #shopGrid .is-carousel .section-scroll-button.is-right[data-carousel-scroll] { right: 4px; }
  :root body.storefront-page #rechargeView .account-carousel .account-carousel-arrow[data-direction="-1"] { left: 4px; }
  :root body.storefront-page #rechargeView .account-carousel .account-carousel-arrow[data-direction="1"] { right: 4px; }
}
