.galley-restock-prototype .restock-control-band {
  display: none !important;
}

.galley-restock-prototype .galley-restock-scroll {
  padding-top: 8px !important;
}

.galley-restock-prototype .galley-restock-scroll > .restock-section-label {
  margin: 0 0 7px;
}

.galley-restock-prototype .galley-restock-grid {
  gap: 11px 8px;
}

.galley-restock-prototype .restock-product-card {
  width: 90%;
}

.galley-restock-prototype .restock-product-copy {
  width: 84%;
  min-height: 29px;
  padding: 4px 7px 5px;
  border-radius: 10px;
}

.galley-restock-prototype .restock-product-name {
  display: block;
  overflow: hidden;
  font-size: 8.6px;
  line-height: 1.03;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.galley-restock-prototype .restock-product-card img {
  z-index: 3;
  transform: translate(8px, -31px) scale(1.13);
}

.galley-restock-prototype .restock-product-card--selected img {
  transform: translate(9px, -32px) scale(1.17);
}

.galley-restock-prototype .restock-product-count {
  top: -7px;
  right: auto;
  bottom: auto;
  left: 2px;
  z-index: 2;
  width: 62px;
  height: 54px;
  font-size: clamp(46px, 12.4vw, 54px);
  line-height: .9;
  letter-spacing: -.08em;
  text-align: center;
  text-shadow:
    -1px 0 rgba(255, 255, 255, .98),
    1px 0 rgba(255, 255, 255, .98),
    0 -1px rgba(255, 255, 255, .98),
    0 1px rgba(255, 255, 255, .98),
    0 4px 10px rgba(7, 35, 76, .2);
}

.galley-restock-prototype .restock-product-count--multi {
  width: 66px;
  font-size: clamp(38px, 10vw, 44px);
  letter-spacing: -.11em;
}

.galley-restock-prototype .restock-product-card--selected .restock-product-copy {
  border-color: rgba(79, 151, 242, .24);
  background: linear-gradient(160deg, #0a2853 0%, #10427d 100%);
  box-shadow: 0 5px 13px rgba(7, 31, 72, .11), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.galley-restock-prototype .restock-product-card--selected .restock-product-name {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-height: 820px) {
  .galley-restock-prototype .restock-product-card {
    min-height: 97px;
    grid-template-rows: 64px auto;
    margin-top: 26px;
  }

  .galley-restock-prototype .restock-product-visual {
    min-height: 64px;
    height: 64px;
  }

  .galley-restock-prototype .restock-product-card img {
    transform: translate(9px, -34px) scale(1.16);
  }

  .galley-restock-prototype .restock-product-card--selected img {
    transform: translate(10px, -35px) scale(1.20);
  }

  .galley-restock-prototype .restock-product-count {
    top: -8px;
    left: 3px;
    width: 66px;
    height: 57px;
    font-size: clamp(49px, 12.8vw, 56px);
  }

  .galley-restock-prototype .restock-product-count--multi {
    width: 70px;
    font-size: clamp(40px, 10.4vw, 46px);
  }
}

@media (max-width: 360px) {
  .galley-restock-prototype .restock-product-copy {
    width: 86%;
  }

  .galley-restock-prototype .restock-product-card img {
    transform: translate(7px, -28px) scale(1.09);
  }

  .galley-restock-prototype .restock-product-card--selected img {
    transform: translate(8px, -29px) scale(1.13);
  }

  .galley-restock-prototype .restock-product-count {
    top: -6px;
    left: 1px;
    width: 56px;
    height: 49px;
    font-size: 42px;
  }

  .galley-restock-prototype .restock-product-count--multi {
    width: 60px;
    font-size: 34px;
  }
}

@media (max-height: 740px) {
  .galley-restock-prototype .galley-restock-scroll {
    padding-top: 7px !important;
  }

  .galley-restock-prototype .galley-restock-grid {
    gap-block: 8px;
  }

  .galley-restock-prototype .restock-product-card img {
    transform: translate(7px, -27px) scale(1.08);
  }

  .galley-restock-prototype .restock-product-card--selected img {
    transform: translate(8px, -28px) scale(1.12);
  }

  .galley-restock-prototype .restock-product-count {
    top: -5px;
    left: 1px;
    width: 58px;
    height: 50px;
    font-size: 42px;
  }

  .galley-restock-prototype .restock-product-count--multi {
    width: 62px;
    font-size: 35px;
  }
}
