.tw-delivery-promise {
  margin: 4px 0 16px;
  color: #4d5851;
  font-size: 14px;
  line-height: 1.55;
}

.tw-delivery-promise--compact {
  margin: -4px 0 12px;
  font-size: 13px;
}

/*
 * Woo Blocks exposes the implementation detail "Can be backordered" for
 * supplier-stock products. Tuskwood's fulfilment notice below the cart owns
 * the customer-facing explanation; the native stock state remains unchanged.
 */
body.woocommerce-cart .wc-block-components-product-backorder-badge,
body.woocommerce-checkout .wc-block-components-product-backorder-badge {
  display: none;
}

/*
 * The Tropica minimum is a shopping condition, not a broken-cart error.
 * WooCommerce still owns the blocking validation; only this exact notice gets
 * a calmer, informative presentation.
 */
body.woocommerce-cart .wc-block-components-notice-banner.is-error.tw-supplier-minimum-banner,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error.tw-supplier-minimum-banner,
body.woocommerce-cart .woocommerce-error.tw-supplier-minimum-banner,
body.woocommerce-checkout .woocommerce-error.tw-supplier-minimum-banner {
  border-color: #e4c3a4 !important;
  background: #fff5e9 !important;
  color: #694522 !important;
}

body.woocommerce-cart .wc-block-components-notice-banner.is-error.tw-supplier-minimum-banner > svg,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error.tw-supplier-minimum-banner > svg {
  background-color: #a8672d !important;
}

body.woocommerce-cart .wc-block-components-notice-banner.is-error.tw-supplier-minimum-banner .wc-block-components-notice-banner__content,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error.tw-supplier-minimum-banner .wc-block-components-notice-banner__content {
  color: #694522 !important;
}

.tw-plant-weather__source {
  margin: 0;
}

.tw-plant-weather__zones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tw-plant-weather__zones li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 7px 0;
  border-bottom: 1px solid #e0e7e2;
}

.tw-plant-weather__zones strong {
  color: #287d2d;
  white-space: nowrap;
}

.tw-plant-weather__zones [data-weather-status="risk"] {
  color: #8a651f;
}

.tw-plant-weather__zones [data-weather-status="inte-ok"] {
  color: #a84536;
}

.tw-plant-weather__source {
  grid-column: 1 / -1;
  color: #647069;
  font-size: 12px;
}

.tw-plant-weather__source a {
  color: #287d2d;
}

.tw-plant-weather-compact {
  margin: 2px 0 12px;
  color: #405048;
  font-size: 13px;
}

.tw-plant-weather-compact summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: #287d2d;
  font-weight: 700;
}

.tw-plant-weather-compact summary::-webkit-details-marker {
  display: none;
}

.tw-plant-weather-compact summary::marker {
  content: "";
}

.tw-plant-weather-compact summary:hover {
  background: #f1f6f1;
}

.tw-plant-weather-compact summary:focus-visible {
  outline: 2px solid #1f5f25;
  outline-offset: 2px;
}

.tw-plant-weather-compact--archive {
  margin: 8px 0 16px;
}

.tw-plant-weather-compact--archive summary {
  width: min(100%, 560px);
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d7e1da;
  background: #f8faf8;
}

.tw-plant-weather-compact--archive summary:hover {
  border-color: #a9c5ad;
  background: #f1f6f1;
}

.tw-plant-weather-compact__label {
  min-width: 0;
}

.tw-plant-weather-compact summary small {
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8f3e9;
  color: #287d2d;
  font-size: 12px;
  font-weight: 600;
}

.tw-plant-weather-compact__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #287d2d;
}

.tw-plant-weather-compact__chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: -4px 3px 0 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.tw-plant-weather-compact--archive .tw-plant-weather-compact__chevron {
  margin-left: auto;
}

.tw-plant-weather-compact[open] .tw-plant-weather-compact__chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.tw-plant-weather-compact--risk summary { color: #7a591b; }
.tw-plant-weather-compact--risk .tw-plant-weather-compact__dot { background-color: #b18127; }
.tw-plant-weather-compact--risk summary small { background: #f7efd9; color: #7a591b; }
.tw-plant-weather-compact--inte-ok summary { color: #90372c; }
.tw-plant-weather-compact--inte-ok .tw-plant-weather-compact__dot { background-color: #a84536; }
.tw-plant-weather-compact--inte-ok summary small { background: #f8e8e5; color: #90372c; }
.tw-plant-weather-compact__details { max-width: 560px; margin-top: 10px; padding: 10px 14px; border: 1px solid #dce5df; background: #f8faf8; }
.tw-plant-weather-compact__details .tw-plant-weather__zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tw-plant-weather-compact__details .tw-plant-weather__source { margin-top: 8px; }

.tw-fulfilment-promise-host {
  width: min(100%, 1180px);
  margin: 0 auto 24px;
}

.tw-fulfilment-promise-host[data-tw-fulfilment-context="cart"]:not(.tw-fulfilment-promise-host--placed) {
  display: none;
}

.tw-fulfilment-promise-host--placed {
  width: 100%;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #deddd7;
  color: #59625d;
  font-size: 14px;
  line-height: 1.45;
}

.tw-continue-shopping {
  margin: 14px 0 8px;
}

body.woocommerce-cart .tw-fulfilment-promise-host--placed .tw-continue-shopping a,
body.woocommerce-cart .tw-shopping-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid #287d2d;
  border-radius: 4px;
  color: #287d2d;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

body.woocommerce-cart .tw-fulfilment-promise-host--placed .tw-continue-shopping a span[aria-hidden="true"] {
  font-size: 18px;
  line-height: 1;
}

body.woocommerce-cart .tw-fulfilment-promise-host--placed .tw-continue-shopping a:hover,
body.woocommerce-cart .tw-fulfilment-promise-host--placed .tw-continue-shopping a:focus-visible,
body.woocommerce-cart .tw-shopping-button:hover,
body.woocommerce-cart .tw-shopping-button:focus-visible {
  color: #1f6424;
  background: #f3f8f1;
  border-color: #1f6424;
  text-decoration: none !important;
}

body.woocommerce-cart .tw-fulfilment-promise-host--placed .tw-continue-shopping a:focus-visible {
  outline: 2px solid #1f6424;
  outline-offset: 2px;
}

.tw-cart-discount-hint code {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #c8d8c5;
  border-radius: 4px;
  color: #1f6424;
  background: #f3f8f1;
  font-family: inherit;
  font-size: .95em;
  font-weight: 800;
  letter-spacing: .04em;
}

.tw-fulfilment-promise-host--placed .tw-fulfilment-notice,
.tw-fulfilment-promise-host--placed .tw-supplier-minimum-notice,
.tw-fulfilment-promise-host--placed .tw-root-discount-notice {
  margin: 12px 0;
  padding: 16px 18px;
}

.tw-fulfilment-promise-host--placed .tw-fulfilment-notice h2,
.tw-fulfilment-promise-host--placed .tw-supplier-minimum-notice h2,
.tw-fulfilment-promise-host--placed .tw-root-discount-notice h2 {
  margin: 0 0 6px;
  color: #334039;
  font-size: 18px;
  line-height: inherit;
}

.tw-fulfilment-promise-host--placed .tw-fulfilment-notice p,
.tw-fulfilment-promise-host--placed .tw-supplier-minimum-notice p,
.tw-fulfilment-promise-host--placed .tw-root-discount-notice p {
  margin: 0;
}

.tw-fulfilment-promise-host--placed .tw-supplier-minimum-notice a {
  margin-top: 12px;
}

.tw-fulfilment-notice {
  padding: 18px 20px;
  border: 1px solid #b9d8ca;
  border-left: 4px solid #167865;
  border-radius: 4px;
  background: #f4faf7;
  color: #24302a;
}

.tw-fulfilment-notice--local {
  border-color: #b9d5b8;
  border-left-color: #2d8f34;
  background: #f5faf5;
}

.tw-fulfilment-notice h2 {
  margin: 0 0 5px;
  color: #1f2c25;
  font-size: 20px;
  line-height: 1.3;
}

.tw-fulfilment-notice p,
.tw-fulfilment-order-note p {
  margin: 0;
}

.tw-supplier-minimum-notice {
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid #e4c3a4;
  border-left: 4px solid #a8672d;
  border-radius: 4px;
  background: #fff5e9;
  color: #694522;
  scroll-margin-top: 100px;
}

.tw-supplier-minimum-notice--attention,
.tw-supplier-minimum-notice:focus {
  outline: 3px solid #a8672d;
  outline-offset: 3px;
}

.tw-supplier-minimum-product {
  background: #fff5e9;
  box-shadow: inset 4px 0 #a8672d;
}

.tw-supplier-minimum-notice h2 {
  margin: 0 0 5px;
  color: #35231f;
  font-size: 20px;
  line-height: 1.3;
}

.tw-supplier-minimum-notice p {
  margin: 0 0 10px;
}

.tw-supplier-minimum-notice a {
  color: #287d2d;
  font-weight: 700;
}

.tw-root-discount-notice {
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid #bfd8b9;
  border-left: 4px solid #4d8f3f;
  border-radius: 4px;
  background: #f7fbf5;
  color: #273326;
}

.tw-root-discount-notice--unlocked {
  border-color: #9fcb99;
  border-left-color: #287d2d;
  background: #f1f8ef;
}

.tw-root-discount-notice h2 {
  margin: 0 0 5px;
  color: #233421;
  font-size: 20px;
  line-height: 1.3;
}

.tw-root-discount-notice p {
  margin: 0;
}

.tw-fulfilment-order-note {
  margin: 28px 0;
}

@media (max-width: 760px) {
  .tw-plant-weather-compact__details .tw-plant-weather__zones {
    grid-template-columns: 1fr;
  }

  .tw-fulfilment-promise-host {
    margin-bottom: 18px;
  }

  .tw-fulfilment-promise-host--placed {
    width: calc(100% - 2px);
    margin: 12px 0 0 2px;
    padding-top: 10px;
  }

  .tw-fulfilment-notice {
    padding: 15px 16px;
  }

  .tw-supplier-minimum-notice {
    padding: 15px 16px;
  }

  .tw-root-discount-notice {
    padding: 15px 16px;
  }

  .tw-fulfilment-promise-host--placed .tw-fulfilment-notice,
  .tw-fulfilment-promise-host--placed .tw-supplier-minimum-notice,
  .tw-fulfilment-promise-host--placed .tw-root-discount-notice {
    padding: 14px;
  }

  .tw-fulfilment-notice h2,
  .tw-supplier-minimum-notice h2,
  .tw-root-discount-notice h2 {
    font-size: 18px;
  }

  .tw-fulfilment-promise-host--placed .tw-fulfilment-notice h2,
  .tw-fulfilment-promise-host--placed .tw-supplier-minimum-notice h2,
  .tw-fulfilment-promise-host--placed .tw-root-discount-notice h2 {
    font-size: 17px;
  }
}
.tw-supplier-minimum-banner--duplicate {
  display: none !important;
}
