.wholesale-hero{
  background:#fff;
  border:1px solid #ececec;
  border-radius:16px;
  padding:24px;
  margin-bottom:20px;
}

.wholesale-hero-kicker{
  margin:0 0 8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#b42318;
}

.wholesale-hero h1{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.25;
}

.wholesale-hero-lead,
.wholesale-hero-min{
  margin:0 0 10px;
  color:#444;
  font-size:16px;
  line-height:1.5;
}

.wholesale-hero-min{
  font-weight:700;
  color:#111;
}

.wholesale-back{
  display:inline-block;
  margin-top:8px;
  color:#b42318;
  font-weight:600;
  text-decoration:none;
}

.wholesale-filters{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:flex-end;
  margin-bottom:16px;
}

.wholesale-filter-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:180px;
  font-size:13px;
  font-weight:600;
}

.wholesale-filter-field input,
.wholesale-filter-field select{
  min-height:42px;
  padding:8px 10px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:14px;
  font-weight:500;
}

.wholesale-filter-meta,
.wholesale-empty{
  margin:0 0 16px;
  color:#555;
}

.wholesale-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  margin-top:12px;
  font-weight:700;
}

.btn.is-disabled{
  pointer-events:none;
  opacity:.55;
}

.cart-wholesale-seller,
.cart-wholesale-min{
  margin:0 0 8px;
  color:#333;
  font-size:15px;
}

.cart-wholesale-note{
  margin:0 0 16px;
  padding:12px 14px;
  border-radius:10px;
  background:#fff7ed;
  color:#9a3412;
  font-weight:600;
}

.product-wholesale-cta{
  margin:8px 0 16px;
  padding:16px;
  border:1px solid #ececec;
  border-radius:16px;
  background:#fff;
}

.product-wholesale-retail{
  margin:0 0 6px;
  color:#555;
  font-size:15px;
}

.product-wholesale-opt{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.2;
  font-weight:800;
  color:#111;
}

.product-wholesale-min,
.product-wholesale-mix,
.product-wholesale-stock{
  margin:0 0 8px;
  color:#444;
  font-size:14px;
  line-height:1.45;
}

.product-wholesale-cta .product-buy-controls{
  margin:12px 0;
}

.product-wholesale-assortment{
  display:inline-block;
  margin-top:10px;
  color:#b42318;
  font-weight:700;
  text-decoration:none;
}

.order-success-badge-wholesale{
  background:#fff8eb;
  color:#9a3412;
}

.wholesale-price-download{
  display:inline-block;
  margin:12px 12px 0 0;
  color:#1f4d38;
  font-weight:700;
  text-decoration:none;
}

.wholesale-terms,
.wholesale-order-terms,
.wholesale-checkout-next,
.wholesale-success-terms{
  background:#fff;
  border:1px solid #ececec;
  border-radius:16px;
  padding:18px 20px;
  margin:0 0 20px;
}

.wholesale-terms h2,
.wholesale-order-terms h2,
.wholesale-checkout-next h2,
.wholesale-success-terms h2{
  margin:0 0 12px;
  font-size:18px;
  font-weight:700;
  color:#111;
}

.wholesale-terms ul,
.wholesale-order-terms ul{
  margin:0;
  padding:0;
  list-style:none;
}

.wholesale-terms li,
.wholesale-order-terms li{
  position:relative;
  padding:5px 0 5px 22px;
  color:#333;
  font-size:15px;
  line-height:1.45;
}

.wholesale-terms li::before,
.wholesale-order-terms li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#3f6b4f;
  font-weight:700;
}

.wholesale-checkout-next ol{
  margin:0 0 12px;
  padding-left:20px;
  color:#333;
  font-size:15px;
  line-height:1.5;
}

.wholesale-checkout-note,
.wholesale-success-terms p{
  margin:0 0 8px;
  color:#333;
  font-size:15px;
  line-height:1.45;
}

.product-wholesale-pay{
  margin:0 0 8px;
  color:#333;
  font-size:14px;
  line-height:1.45;
}

.product-wholesale-terms-link{
  display:inline-block;
  margin-top:8px;
  margin-left:0;
  color:#1f4d38;
  font-weight:700;
  text-decoration:none;
}

.product-wholesale-stock,
.cart-line-stock{
  margin:0 0 8px;
  color:#333;
  font-size:14px;
  line-height:1.45;
}

.wholesale-buy-disabled{
  margin:8px 0 0;
  color:#666;
  font-size:14px;
  font-weight:600;
}

.wholesale-cart-bar{
  position:sticky;
  top:0;
  z-index:40;
  margin:0 0 16px;
  padding:10px 14px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(17,24,39,.08);
  box-sizing:border-box;
}

.wholesale-cart-bar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.wholesale-cart-bar-copy{
  min-width:0;
  flex:1 1 auto;
}

.wholesale-cart-bar-line,
.wholesale-cart-bar-note{
  margin:0;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  color:#111827;
}

.wholesale-cart-bar-note{
  margin-top:4px;
  font-weight:600;
  color:#4b5563;
}

.wholesale-cart-bar-line--mobile,
.wholesale-cart-bar-cta--mobile{
  display:none;
}

a.wholesale-cart-bar-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  min-height:40px;
  padding:0 16px;
  border:none;
  border-radius:12px;
  background:var(--zpt-brand, #ff3b30);
  color:#fff !important;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none !important;
  white-space:nowrap;
  box-sizing:border-box;
  transition:background .15s ease;
}

a.wholesale-cart-bar-cta:hover{
  background:var(--zpt-brand-hover, #e6342a);
  color:#fff !important;
}

a.wholesale-cart-bar-cta:focus-visible{
  outline:2px solid var(--zpt-brand, #ff3b30);
  outline-offset:2px;
}

@media (min-width:768px){
  .wholesale-cart-bar{
    top:8px;
  }
}

@media (max-width:767px){
  .wholesale-page{
    padding-bottom:calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .wholesale-cart-bar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    top:auto;
    z-index:50;
    margin:0;
    border-radius:12px 12px 0 0;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow:0 -4px 12px rgba(17,24,39,.12);
  }

  .wholesale-cart-bar-inner{
    gap:10px;
  }

  .wholesale-cart-bar-line--desktop,
  .wholesale-cart-bar-note,
  .wholesale-cart-bar-cta--desktop{
    display:none;
  }

  .wholesale-cart-bar-line--mobile,
  .wholesale-cart-bar-cta--mobile{
    display:inline;
  }

  a.wholesale-cart-bar-cta{
    min-height:38px;
    padding:0 14px;
  }
}

@media (max-width:640px){
  .wholesale-hero h1{
    font-size:22px;
  }
  .product-wholesale-opt{
    font-size:20px;
  }
}
