.type-banner {
  flex: 1 0 100%;
}

button,
.button,
.shopify-payment-button__button,
.shopify-challenge__button,
input[type="submit"],
input[type="button"],

.results-products__info .grid-product__meta {
  display: block;
  font-size: 0.8em;
  color: #666;
  margin-top: 2px;
}

@media screen and (min-width: 1600px) {
  .page-width,
  .page-width--narrow,
  .page-width-desktop {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.grid-product__stock--in { color: #1a7f37; }
.grid-product__stock--out { color: #b00020; }
.grid-product__stock--preorder { color: #ff9900; }


button,
.button,
.shopify-payment-button__button,
.shopify-challenge__button,
.shopify-challenge__button--secondary,
.btn,
a.button,
a.btn,
input[type="submit"],
input[type="button"],
.results__search-btn,
.pagination__item--current,
.customer button,
.cart__checkout-button {
  border-radius: 9999px !important;
  -webkit-border-radius: 9999px !important;
  -moz-border-radius: 9999px !important;
}


.footer__title {
  font-weight: bold;
  font-size: var(--typeBaseSize);
}

/* Quantity selector and Add to Cart sit inline next to each other */
.product-form__quantity-atc-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.product-form__quantity {
  flex: 0 0 auto;
  position: relative;
}

.product-form__quantity .quantity-label {
  position: absolute;
  top: -14px;
  left: 0;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0;
  font-size: 12px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  line-height: 1;
}

.product-form__quantity .js-qty__wrapper {
  display: inline-flex;
  align-items: center;
  width: 140px;
  min-width: 140px;
  height: 54px;
  border: 1px solid #ddd;
  border-radius: 9999px;
  background: #fff;
  box-sizing: border-box;
}

.product-form__quantity .js-qty__num {
  width: 140px;
  text-align: center;
  font-size: 16px;
  padding: 0 44px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  height: 100%;
}

.product-form__quantity .js-qty__adjust {
  background: transparent !important;
  border: 0 !important;
  height: 100%;
}

.product-form__quantity-atc-row .add-to-cart {
  flex: 1 1 auto;
  white-space: nowrap;
  min-width: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

@media only screen and (max-width: 768px) {
  .product-form__quantity-atc-row {
    gap: 8px;
  }
}

/* Desktop: flex row so price stays left and quantity is pushed to the far right edge */
@media only screen and (min-width: 769px) {
  .product-single__meta [data-product-blocks] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* Price and quantity sit in the same row, quantity pushed to the far edge */
  .product-single__meta [data-product-blocks] .product-block--price {
    flex: 0 0 auto;
    margin-right: 0;
    display: block;
  }

  .product-single__meta [data-product-blocks] .product-block--price ~ .product-block:has(.product__quantity) {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 10rem;
    display: block;
  }

  /* All other blocks take the full row width */
  .product-single__meta [data-product-blocks] .product-block:not(.product-block--price):not(:has(.product__quantity)) {
    flex: 0 0 100%;
  }

  /* Quick-add modal: revert to stacked layout */
  .quick-add-modal .product-single__meta [data-product-blocks] {
    display: block;
  }
}

/* Main product page price only — excludes grid items, compare-at, quick-add */
.product-single__meta .product-block--price [data-product-price] {
  font-size: calc(var(--typeBaseSize) + 14px);
}

/* Reduce bottom margin on the Price label to align the price value with the quantity selector */
.product-single__meta .product-block--price .variant__label[for] {
  margin-bottom: 4px;
}
