:root {
  --color-primary: #ffc605;
  --color-btn-bg: #000;
  --color-btn-text: #fff;
  --color-btn-bg-hover: #ffc605;
  --color-btn-text-hover: #151515;
  --color-heading-text: #000;
  --color-body-link-hover: #704900;
  --color-input-border: rgba(129, 129, 129, .2);
  --color-box-border: #e5e5e5;
}

.wholesale-header {
  color: #151515;
  background: #fff;
}

.wholesale-header__bar, .wholesale-header__nav {
  background: var(--color-primary);
}

.wholesale-header__bar .container {
  padding-block: .45rem;
  font-size: .9rem;
  text-align: center;
}

.wholesale-header__main {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: .9rem;
}

.wholesale-header__logo img {
  display: block;
  max-width: 100%;
  height: 64px;
  object-fit: contain;
}

.wholesale-header__search, .wholesale-header__actions {
  display: flex;
  align-items: center;
}

.wholesale-header__search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding-inline: .8rem;
  border: 1px solid #bfbfbf;
  color: #151515;
}

.wholesale-header__search button {
  min-height: 44px;
  white-space: nowrap;
}

.wholesale-header__actions { gap: 1rem; }
.wholesale-header__login { grid-column: -2 / -1; }
.wholesale-header__account { position: relative; }
.wholesale-header__account summary { cursor: pointer; white-space: nowrap; }
.wholesale-header__account ul {
  position: absolute;
  z-index: 20;
  right: 0;
  min-width: 10rem;
  margin-top: .45rem;
  padding: .45rem;
  border: 1px solid var(--color-box-border);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.wholesale-header__account li a { display: block; padding: .5rem; }
.wholesale-header__cart { white-space: nowrap; }
.wholesale-header__cart span {
  display: inline-block;
  min-width: 1.7em;
  padding-inline: .3em;
  border-radius: 1em;
  background: var(--color-primary);
  color: #151515;
  text-align: center;
}

.wholesale-header__nav .container { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.wholesale-header__nav a { padding-block: .65rem; font-weight: 600; }
.wholesale-header a, .wholesale-footer a { color: inherit; }
.wholesale-header a:hover, .wholesale-footer a:hover { text-decoration: underline; }

.wholesale-footer {
  padding-block: 1.75rem;
  border-top: 1px solid var(--color-box-border);
  background: #f7f7f7;
  color: #262626;
}

.wholesale-footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.wholesale-footer__links h2 { font-size: 1rem; }
.wholesale-footer__links li { margin-bottom: .35rem; }

.wholesale-product-card { display: block; padding: 1rem; }
.wholesale-product-card img { display: block; margin: 0 auto 1rem; }
.wholesale-product-card .btn { white-space: normal; }
.wholesale-product-card--list { display: flex; align-items: center; gap: 1rem; }
.wholesale-product-card--list img { width: 100px; margin: 0; }

#payment-confirmation .btn.disabled { background-color: #475569; border-color: #475569; color: #fff; }

.wholesale-breadcrumb {
  background: #f7f7f7;
  border-bottom: 1px solid var(--color-box-border);
}

.wholesale-breadcrumb .page-heading { font-weight: 600; margin-bottom: .3rem; }
.wholesale-breadcrumb ol { font-size: .9rem; }

.order_steps .step .icons .icon { font-weight: 600; }
.order_steps .step.current .icons .icon,
.order_steps .step[aria-current="step"] .icons .icon {
  background: var(--color-primary);
  border-color: #151515;
  color: #151515;
}
.order_steps .step.current .step-title,
.order_steps .step[aria-current="step"] .step-title { color: #151515; font-weight: 600; }
.order_steps .step.reachable.complete:not(.current):hover .icon { opacity: 1; }

.checkout-step-display .wholesale-delivery-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: .7rem;
  margin: .5rem 0;
  padding: 0 .75rem;
  border: 1px solid var(--color-box-border);
  border-radius: .25rem;
}

.checkout-step-display .wholesale-delivery-option::before { content: none; }
.wholesale-delivery-option:has(input:checked) { border-color: #8d6a00; background: #fff9e6; }
.wholesale-delivery-option input { margin-top: 1rem; accent-color: #151515; }
.wholesale-delivery-option label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .75rem;
  padding-block: .7rem;
  cursor: pointer;
}
.wholesale-delivery-option strong { color: #151515; }
.wholesale-delivery-option__delay { display: block; margin-top: .2rem; }
.wholesale-delivery-option__price { white-space: nowrap; }
.checkout-step-display #delivery textarea { min-height: 4rem; }

#js-checkout-summary .product-line-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: .35rem;
}
#js-checkout-summary .product-line-actions { justify-self: end; }
#js-checkout-summary .product-image { flex: 0 0 48px; }
#js-checkout-summary .cart-summary-line { gap: .75rem; }
#js-checkout-summary .cart-summary-line .value { text-align: right; }

@media (max-width: 767px) {
  .wholesale-header__main { grid-template-columns: auto 1fr; gap: .65rem 1rem; }
  .wholesale-header__logo img { width: 106px; height: 46px; }
  .wholesale-header__actions, .wholesale-header__login { grid-column: 2; grid-row: 1; justify-self: end; }
  .wholesale-header__search { grid-column: 1 / -1; }
  .wholesale-header__nav .container { gap: 0 1rem; }
  .wholesale-footer__links { grid-template-columns: repeat(2, 1fr); }
  .wholesale-footer__links > :first-child { grid-column: 1 / -1; }
  .order_steps .step .icons { height: 34px; }
  .order_steps .step .icons .icon { width: 32px; height: 32px; line-height: 28px; }
  .order_steps .step .icons::after { top: 16px; left: calc(-50% + 24px); width: calc(100% - 48px); }
  .wholesale-delivery-option__delay { font-size: .9rem; }
}
