/* Checkout and cart polish. Keeps native checkout actions, wording and states. */
.ordering-process .cart-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
}
.ordering-process .cart-header li.step {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.ordering-process .cart-header li.step > :is(a,strong,span) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  height: auto;
  padding: 0;
  color: var(--hs-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}
.ordering-process .cart-header li.step > :is(a,strong,span)::before {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid #52634b;
  border-radius: 50%;
  background: var(--hs-panel);
  color: var(--hs-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.ordering-process .cart-header li.step > :is(a,strong,span) > span {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}
.ordering-process .cart-header li.step.active > :is(a,strong,span) {
  color: var(--hs-text);
}
.ordering-process .cart-header li.step.active > :is(a,strong,span)::before {
  border-color: var(--hs-green);
  background: var(--hs-green);
  color: #13200b;
}
.ordering-process .cart-header li.step.completed > a::before {
  border-color: #648c47;
  background: #20331a;
  color: var(--hs-green);
}
.ordering-process .cart-header li.step > a:hover {
  color: var(--hs-green);
}

/* A small, readable action row; arrows stay with the action label. */
.ordering-process .next-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}
.ordering-process .next-step > :is(.next-step-back,.next-step-forward,.next-step-finish) {
  float: none;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 11px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
  white-space: nowrap;
}
.ordering-process .next-step > :is(.next-step-back,.next-step-forward) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ordering-process .next-step > .next-step-back {
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
  color: var(--hs-muted);
}
.ordering-process .next-step > .next-step-back:hover {
  color: var(--hs-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ordering-process .next-step > .next-step-forward::after {
  position: static;
  display: inline-block;
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  transform: none;
}
.ordering-process .next-step > .next-step-forward:hover,
.ordering-process .next-step > .next-step-finish:hover {
  background: #b7ff78 !important;
  border-color: #b7ff78 !important;
}
.ordering-process .next-step > #submit-order {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 54px;
  padding: 9px 18px;
  background: var(--hs-green);
  border-color: var(--hs-green);
  color: #13200b;
}
.ordering-process #submit-order .order-button-text {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}
.ordering-process #submit-order .order-button-suffix {
  display: block;
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

/* Unify checkout surfaces without changing the meaning of form controls. */
.ordering-process .order-summary,
.ordering-process .checkout-box {
  background: var(--hs-panel);
  border: 1px solid var(--hs-line);
  border-radius: 12px;
}
.ordering-process .order-summary .checkout-box {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ordering-process .order-summary-inner {
  background: transparent;
}
.ordering-process .co-box .box-bg-default,
.ordering-process .co-billing-address > fieldset {
  border-color: var(--hs-line);
  border-radius: 10px;
  background: var(--hs-panel);
}
.ordering-process .form-control {
  min-height: 44px;
  border: 1px solid #52634b;
  border-radius: 7px;
  background: #101710;
  color: var(--hs-text);
  box-shadow: none;
}
.ordering-process .form-control::placeholder {
  color: var(--hs-muted);
  opacity: 1;
}
.ordering-process .form-control:focus {
  border-color: var(--hs-green);
  background: #101710;
  color: var(--hs-text);
}
.ordering-process .form-control:is([aria-invalid="true"],.error),
.ordering-process .has-error .form-control {
  border-color: #f08e7d;
}
.ordering-process .form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #182316 inset;
  -webkit-text-fill-color: var(--hs-text);
  caret-color: var(--hs-text);
}
.ordering-process .btn.btn-primary.login-from-cart,
.ordering-process .checkout-box .toggle-contacts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid #61715a;
  border-radius: 7px;
  background: #101710;
  color: var(--hs-text);
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
}
.ordering-process .btn.btn-primary.login-from-cart:hover,
.ordering-process .checkout-box .toggle-contacts:hover {
  border-color: var(--hs-green);
  color: var(--hs-green);
}
.ordering-process .checkout-box .toggle-contacts br {
  display: none;
}
.ordering-process .cart-table tbody tr td.cart-p-image,
.ordering-process .cart-table tbody tr td.cart-p-image > a {
  background: var(--hs-panel);
}
.ordering-process .cart-table td.cart-p-image img {
  display: block;
  max-width: 76px;
  max-height: 76px;
  margin-inline: auto;
  border-radius: 6px;
  background: transparent;
  object-fit: contain;
}

/* Cart quantity controls keep the same native inputs and +/- handlers. */
.ordering-process .quantity,
#cart-widget .quantity {
  display: inline-flex;
  align-items: stretch;
  width: auto;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #52634b;
  border-radius: 7px;
  background: #101710;
}
.ordering-process .quantity input.amount,
#cart-widget .quantity input.amount {
  box-sizing: border-box;
  width: 42px;
  min-width: 0;
  height: 44px;
  margin: -1px 0;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: #101710;
  color: var(--hs-text);
  font-size: 15px;
  line-height: 44px;
  text-align: center;
}
.ordering-process .quantity :is(.increase,.decrease),
#cart-widget .quantity :is(.increase,.decrease) {
  position: static;
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 30px;
  height: 44px;
  margin: -1px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #101710;
  color: var(--hs-text);
  line-height: 1;
}
.ordering-process .quantity .decrease,
#cart-widget .quantity .decrease {
  order: -1;
}
.ordering-process .quantity :is(.increase,.decrease):hover,
#cart-widget .quantity :is(.increase,.decrease):hover {
  background: #20331a;
  color: var(--hs-green);
}

/* Mini-cart uses the same dark panel as the header, including its footer. */
#cart-widget {
  border: 1px solid var(--hs-line);
  border-radius: 12px;
  background: var(--hs-panel);
  color: var(--hs-text);
}
#cart-widget .cart-widget-bottom,
#cart-widget .cart-widget-button,
#cart-widget .cart-free-shipping {
  background: var(--hs-panel);
  color: var(--hs-muted);
}
#cart-widget .cart-widget-bottom {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--hs-line);
  border-radius: 0 0 11px 11px;
}
#cart-widget .cart-free-shipping {
  margin: 0 0 12px;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}
#cart-widget .cart-widget-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}
#cart-widget .cart-widget-button #continue-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid var(--hs-green);
  border-radius: 7px;
  background: var(--hs-green);
  color: #13200b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
#cart-widget .cart-widget-button #continue-order-button:hover {
  background: #b7ff78;
  border-color: #b7ff78;
}

@media (max-width: 767px) {
  .ordering-process .cart-header {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }
  .ordering-process .cart-header li.step > :is(a,strong,span) {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }
  .ordering-process .cart-header li.step > :is(a,strong,span)::before {
    flex-basis: 30px;
    width: 30px;
    min-width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .ordering-process .next-step {
    gap: 8px;
  }
  #cart-widget .cart-widget-bottom {
    padding: 14px 16px 16px;
  }
  .ordering-process .form-control {
    font-size: 16px;
  }
}

/* Product details: connected tab strip and readable native specifications. */
.type-detail .p-detail-tabs-wrapper{margin:32px auto 0!important;border:1px solid var(--hs-line);border-radius:12px;background:var(--hs-panel);overflow:hidden}
.type-detail .p-detail-tabs-wrapper>.row{margin:0}
.type-detail .p-detail-tabs-wrapper>.row>div{padding:0}
.type-detail .shp-tabs-holder,.type-detail .shp-tabs-row{background:transparent;padding:0;border:0}
.type-detail #p-detail-tabs{display:flex;flex-wrap:wrap;width:100%!important;max-width:100%;padding:0 20px;margin:0;border:0;border-bottom:1px solid var(--hs-line);background:transparent}
.type-detail #p-detail-tabs>li{float:none;display:block;flex:0 0 auto;margin:0;padding:0;background:transparent;border:0}
.type-detail #p-detail-tabs>li>a{display:flex;align-items:center;min-height:52px;padding:14px 20px;margin:0;border:0!important;border-bottom:2px solid transparent!important;border-radius:0;background:transparent!important;color:var(--hs-muted);font-size:15px;line-height:1.4;font-weight:600}
.type-detail #p-detail-tabs>li.active>a{color:var(--hs-green);border-bottom-color:var(--hs-green)!important}
.type-detail #p-detail-tabs>li>a:hover{color:var(--hs-text)}
.type-detail #tab-content{background:transparent;border:0;border-radius:0;margin:0;padding:28px}
.type-detail .basic-description>h4:first-child{display:none}
.type-detail .description-inner,.type-detail .extended-description-inner{max-width:960px;width:100%;margin:0;background:transparent}
.type-detail .extended-description{width:100%}
.type-detail .detail-parameters{width:100%;table-layout:fixed;border-collapse:collapse;border:0;border-radius:0;background:transparent;font-size:15px}
.type-detail .detail-parameters th,.type-detail .detail-parameters td{padding:14px 16px;border:0;border-bottom:1px solid var(--hs-line);background:transparent!important;color:var(--hs-text);vertical-align:top;line-height:1.6;overflow-wrap:anywhere}
.type-detail .detail-parameters th{width:32%;color:var(--hs-muted);font-weight:500;text-align:left}
.type-detail .detail-parameters tr:last-child>*{border-bottom:0}
.type-detail .detail-parameter-product-code{font-size:13px;line-height:1.5;color:var(--hs-muted);margin-top:14px}
@media(max-width:599px){.type-detail #p-detail-tabs{padding:0 8px}.type-detail #p-detail-tabs>li>a{padding:13px 12px;font-size:14px}.type-detail #tab-content{padding:18px 14px}.type-detail .detail-parameters{font-size:13px}.type-detail .detail-parameters th,.type-detail .detail-parameters td{padding:12px 8px}.type-detail .detail-parameters th{width:36%}}
