/* Shared maximum-quantity notice with one reusable timing and layout contract. */
[data-storefront-max-quantity-notice] {
  position: fixed;
  inset: auto auto 0 0;
  z-index: 100005;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: 100%;
  min-height: 60px;
  padding: 10px 80px 10px 65px;
  align-items: center;
  gap: 25px;
  color: #fff;
  background-color: #e0b252;
  box-shadow: rgb(0 0 0 / 20%) 0 6px 27px 0;
  font-size: 13px;
  letter-spacing: 0.01em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.35s ease, visibility 0.35s ease;
}

body.storefront-max-quantity-notice-visible [data-storefront-max-quantity-notice] {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.storefront-max-quantity-notice__icon {
  box-sizing: border-box;
  display: block;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
}

.storefront-max-quantity-notice__icon svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.storefront-max-quantity-notice__content {
  box-sizing: border-box;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

.storefront-max-quantity-notice__close {
  position: absolute;
  top: 50%;
  right: 0;
  box-sizing: border-box;
  width: 60px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background-color: rgb(0 0 0 / 10%);
  cursor: pointer;
  transform: translateY(-50%);
}

.storefront-max-quantity-notice__close:hover {
  background-color: rgb(0 0 0 / 20%);
}

.storefront-max-quantity-notice__close svg {
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
  fill: currentColor;
  stroke: transparent;
}

.storefront-mini-cart-quantity-step[aria-disabled="true"][data-storefront-max-reached="true"],
.porto-child-cart__quantity-step[aria-disabled="true"][data-storefront-max-reached="true"] {
  color: #232323;
  cursor: pointer;
}

@media (max-width: 1024px) {
  [data-storefront-max-quantity-notice] {
    min-height: 62px;
  }
}

@media (max-width: 768px) {
  [data-storefront-max-quantity-notice] {
    padding: 10px 80px 10px 20px;
  }
}
