/* Duplifix — qty field wide enough for 4 digits (9999) */
.product-info .button-group-page .stepper,
.product-info .stepper-group .stepper,
.product-info .cart-group .stepper,
.cart-table .td-qty .stepper,
.cart-section .stepper {
  width: 78px !important;
  min-width: 78px !important;
}

.product-info .button-group-page .stepper .form-control,
.product-info .stepper-group .stepper .form-control,
.product-info .cart-group .stepper .form-control,
.cart-table .td-qty .stepper .form-control,
.cart-section .stepper .form-control {
  padding-left: 4px !important;
  padding-right: 26px !important;
  text-align: center;
}

/* Free shipping progress (checkout) */
.dfx-fs {
  margin: 0 0 18px;
  padding: 22px 24px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #1a1a1a;
}
.dfx-fs__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dfx-fs__msg {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #333;
}
.dfx-fs__bar {
  height: 10px;
  border-radius: 999px;
  background: #e6e6e6;
  overflow: hidden;
}
.dfx-fs__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #4a4f55;
  transition: width 0.35s ease;
}
.dfx-fs.is-done .dfx-fs__fill {
  background: #2e7d32;
}
.dfx-fs.is-done .dfx-fs__msg {
  color: #2e7d32;
}
.dfx-fs__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}
@media (max-width: 560px) {
  .dfx-fs {
    padding: 18px 16px 14px;
  }
  .dfx-fs__title {
    font-size: 14px;
  }
  .dfx-fs__msg {
    font-size: 12px;
  }
}

/* Tall/narrow product photos — fit in frame without breaking Journal Swiper gallery */
.product-image .main-image {
  background: #fff;
}
.product-image .main-image .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image .main-image img {
  object-fit: contain;
  max-height: 480px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
@media (max-width: 767px) {
  .product-image .main-image img {
    max-height: 360px;
  }
}

/* Oversized SKUs — pickup / dedicated fleet notice (PDP + checkout) */
.dfx-pickup-only-notice,
.quick-checkout-wrapper .shipping-payment .section-body > div.dfx-pickup-only-notice,
.section-shipping .dfx-pickup-only-notice {
  display: block !important;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f6f7f8;
  border: 1px solid #e2e4e6;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #1a1a1a;
}
.quick-checkout-wrapper .shipping-payment .section-body > div.dfx-pickup-only-notice::before {
  content: none !important;
  display: none !important;
}
.product-info .dfx-pickup-only-notice {
  margin: 0 0 14px;
}
.section-shipping .dfx-pickup-only-notice {
  margin: 0 0 12px;
  display: block !important;
  width: 100%;
  flex: 1 1 100%;
  grid-column: 1 / -1;
}
.dfx-pickup-only-notice .dfx-pickup-only-msg {
  display: inline;
}
.dfx-pickup-only-notice a,
.dfx-pickup-only-notice a[href^="tel:"],
.dfx-pickup-only-notice a.dfx-pickup-tel {
  display: inline !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: none !important;
  flex-direction: row !important;
  font-weight: 700;
  letter-spacing: normal !important;
  line-height: inherit !important;
  text-align: left !important;
}
