.yason-fabric-meter {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(139, 107, 88, 0.22);
  border-radius: 18px;
  background: #fbf8f4;
  color: #3a2f2a;
}

.yason-fabric-meter > label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
}

.yason-fabric-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yason-fabric-control button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(139, 107, 88, 0.35);
  border-radius: 10px;
  background: #fffdf9;
  color: #3a2f2a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.yason-fabric-control button:hover {
  border-color: #e86f1c;
  color: #e86f1c;
}

.yason-fabric-control input {
  width: 150px;
  min-width: 150px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(139, 107, 88, 0.35);
  border-radius: 10px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}

.yason-fabric-input-help {
  margin: 9px 0 0;
  color: #6e625a;
  font-size: 13px;
}

.yason-fabric-note {
  margin: 6px 0 0;
  color: #6e625a;
  font-size: 14px;
}

.yason-show-minimum .yason-fabric-note {
  color: #d45f10;
  font-weight: 600;
}

.yason-fabric-total {
  margin: 12px 0 0;
}

.yason-fabric-total strong {
  color: #e86f1c;
}

.yason-fabric-special-cut {
  border-color: rgba(232, 111, 28, 0.32);
}

.yason-fabric-special-cut p {
  margin: 6px 0;
}

.yason-fabric-special-label strong {
  color: #e86f1c;
}

.yason-fabric-markdown-reason {
  padding-top: 8px;
  border-top: 1px solid rgba(139, 107, 88, 0.18);
}

.yason-fixed-cart-meterage {
  white-space: nowrap;
  font-weight: 600;
}

.yason-fabric-tariffs {
  margin-top: 14px;
  border-top: 1px solid rgba(139, 107, 88, 0.18);
  padding-top: 12px;
}

.yason-fabric-tariffs summary {
  color: #8b6b58;
  font-weight: 600;
  cursor: pointer;
}

.yason-fabric-tariffs dl {
  margin: 10px 0 0;
}

.yason-fabric-tariffs dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(139, 107, 88, 0.12);
}

.yason-fabric-tariffs dt,
.yason-fabric-tariffs dd {
  margin: 0;
}

.yason-fabric-tariffs dd {
  white-space: nowrap;
  font-weight: 600;
}

.yason-fabric-price-range {
  white-space: nowrap;
}

.yason-price-dash {
  display: inline-block;
  margin: 0 4px;
}

.yason-price-unit {
  margin-left: 3px;
  font-size: 0.7em;
  font-weight: 500;
  color: #6e625a;
}

/* Astra/WooCommerce mini-cart: keep the outlined cart button readable. */
.widget_shopping_cart .buttons .button.wc-forward:not(.checkout),
.ast-site-header-cart .buttons .button.wc-forward:not(.checkout) {
  border-color: #e86f1c !important;
  background: #fffdf9 !important;
  color: #e86f1c !important;
}

.widget_shopping_cart .buttons .button.wc-forward:not(.checkout):hover,
.ast-site-header-cart .buttons .button.wc-forward:not(.checkout):hover {
  border-color: #d45f10 !important;
  background: #f2ece5 !important;
  color: #d45f10 !important;
}

.yason-cart-meterage-control {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.yason-cart-meterage-control button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(139, 107, 88, 0.35);
  border-radius: 7px;
  background: #fffdf9;
  color: #3a2f2a;
  line-height: 1;
  cursor: pointer;
}

.yason-cart-meterage-control input {
  width: 64px !important;
  min-width: 64px;
  height: 30px;
  padding: 3px 5px !important;
  text-align: center;
}

.yason-fabric-hint {
  margin: 18px 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(232, 111, 28, 0.32);
  border-radius: 14px;
  background: #fbf8f4;
  color: #3a2f2a;
}

.yason-fabric-hint strong {
  display: block;
  margin-bottom: 4px;
  color: #e86f1c;
}

.yason-fabric-hint p {
  margin: 0;
  color: #6e625a;
}

.yason-culling-notice {
  margin: 18px 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(232, 111, 28, 0.38);
  border-radius: 14px;
  background: #fff8f1;
  color: #3a2f2a;
}

.yason-culling-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #d45f10;
}

.yason-culling-notice p {
  margin: 0;
  color: #6e625a;
}

.yason-culling-consent {
  padding: 14px 16px;
  border: 1px solid rgba(232, 111, 28, 0.38);
  border-radius: 12px;
  background: #fff8f1;
}

.yason-culling-consent label {
  color: #3a2f2a;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .yason-fabric-control {
    gap: 6px;
  }

  .yason-fabric-control input {
    width: 120px;
    min-width: 120px;
  }
}
