.msw-shipping-notices:empty { display: none; }
/* Free shipping counter. Looks: card (default), minimal, banner; the wrapper carries msw-shipping-look--* classes. */
.msw-shipping-notice { --msw-shipping-icon: var(--wootilities-icon-truck, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E")); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--wootilities-space-3, 12px); row-gap: 2px; align-items: center; margin-block: var(--wootilities-space-3, 12px); padding: var(--wootilities-space-3, 12px) var(--wootilities-space-4, 16px); border-radius: var(--wootilities-card-radius, 8px); background: var(--wootilities-muted, color-mix(in srgb, currentColor 6%, transparent)); color: var(--wootilities-foreground, inherit); }
.msw-shipping-notice.is-free { --msw-shipping-icon: var(--wootilities-icon-success, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E")); }
.msw-shipping-notice::before { content: ""; grid-row: 1 / span 2; width: 28px; height: 28px; background: var(--wootilities-primary, currentColor); -webkit-mask: var(--msw-shipping-icon) center / contain no-repeat; mask: var(--msw-shipping-icon) center / contain no-repeat; }
.msw-shipping-notice > * { grid-column: 2; }
.msw-shipping-notice p { margin: 0; }
.msw-shipping-notice__title { font-weight: 600; line-height: 1.35; }
.msw-shipping-notice__note { color: var(--wootilities-muted-foreground, inherit); font-size: var(--wootilities-font-sm, .875em); line-height: 1.4; opacity: .85; }
.msw-shipping-notice progress { -webkit-appearance: none; appearance: none; display: block; box-sizing: border-box; width: 100%; height: var(--msw-shipping-bar, 8px); margin: var(--wootilities-space-2, 8px) 0 2px; overflow: hidden; border: 0; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); color: var(--wootilities-primary, currentColor); accent-color: var(--wootilities-primary, currentColor); }
.msw-shipping-notice progress::-webkit-progress-bar { border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }
.msw-shipping-notice progress::-webkit-progress-value { border-radius: 999px; background: var(--wootilities-primary, currentColor); transition: width .3s ease; }
.msw-shipping-notice progress::-moz-progress-bar { border-radius: 999px; background: var(--wootilities-primary, currentColor); }
.msw-shipping-look--no-icon .msw-shipping-notice { grid-template-columns: minmax(0, 1fr); }
.msw-shipping-look--no-icon .msw-shipping-notice::before, .msw-shipping-look--no-note .msw-shipping-notice__note { display: none; }
.msw-shipping-look--no-icon .msw-shipping-notice > * { grid-column: 1; }
/* Minimal: the previous plain look, text above a thin line, no box. */
.msw-shipping-look--minimal .msw-shipping-notice { padding: var(--wootilities-space-2, 8px) 0; border-radius: 0; background: none; }
.msw-shipping-look--minimal .msw-shipping-notice::before { grid-row: 1; width: 20px; height: 20px; }
.msw-shipping-look--minimal .msw-shipping-notice__title { font-weight: 400; }
.msw-shipping-look--minimal .msw-shipping-notice progress { grid-column: 1 / -1; border-radius: 0; }
.msw-shipping-look--minimal .msw-shipping-notice progress::-webkit-progress-bar, .msw-shipping-look--minimal .msw-shipping-notice progress::-webkit-progress-value, .msw-shipping-look--minimal .msw-shipping-notice progress::-moz-progress-bar { border-radius: 0; }
/* Banner: centered strip, e.g. a bar above the header. */
.msw-shipping-look--banner .msw-shipping-notice { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px var(--wootilities-space-2, 8px); border-radius: 0; text-align: center; }
.msw-shipping-look--banner .msw-shipping-notice::before { width: 22px; height: 22px; }
.msw-shipping-look--banner .msw-shipping-notice__note { flex-basis: 100%; }
.msw-shipping-look--banner .msw-shipping-notice progress { flex-basis: 100%; max-width: 480px; }
.msw-shipping-cross-sells { margin-block: var(--wootilities-space-3, 12px) var(--wootilities-space-4, 16px); }
.msw-shipping-cross-sells[hidden] { display: none; }
.msw-shipping-cross-sells h2 { margin: 0 0 var(--wootilities-space-2, 8px); color: inherit; font-size: var(--wootilities-font-base, 1rem); line-height: 1.4; }
.msw-shipping-cross-sells h2:focus { outline: none; }
.msw-shipping-cross-sells h2:focus-visible { outline: 2px solid var(--wootilities-ring, currentColor); outline-offset: 2px; }
.msw-shipping-cross-sells__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--wootilities-gap, 8px); margin: 0; padding: 0; list-style: none; }
.msw-shipping-cross-sell { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "image name" "image price" "image action"; align-content: start; column-gap: var(--wootilities-space-3, 12px); row-gap: var(--wootilities-space-1, 4px); min-width: 0; margin: 0; padding: var(--wootilities-space-2, 8px); border: var(--wootilities-border-width, 1px) solid var(--wootilities-border, currentColor); border-radius: var(--wootilities-card-radius, 8px); background: var(--wootilities-card, transparent); color: var(--wootilities-foreground, inherit); }
.msw-shipping-cross-sell img { grid-area: image; width: 64px; height: 64px; object-fit: cover; border-radius: var(--wootilities-button-radius, 4px); }
.msw-shipping-cross-sell__name { grid-area: name; color: inherit; overflow-wrap: anywhere; }
.msw-shipping-cross-sell__price { grid-area: price; font-weight: 600; }
.msw-shipping-cross-sells .msw-shipping-cross-sell__action { grid-area: action; justify-self: start; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%; min-width: 44px; min-height: 44px; margin: 0; padding: var(--wootilities-space-2, 8px) var(--wootilities-space-3, 14px); border: var(--wootilities-border-width, 1px) solid var(--wootilities-border, currentColor); border-radius: var(--wootilities-button-radius, 6px); background: var(--wootilities-secondary, transparent); color: var(--wootilities-secondary-text, inherit); font: inherit; line-height: 1.2; text-align: center; text-decoration: none; white-space: normal; cursor: pointer; }
.msw-shipping-cross-sells .msw-shipping-cross-sell__action:hover { background: var(--wootilities-secondary-hover, transparent); color: var(--wootilities-secondary-text-hover, inherit); border-color: var(--wootilities-border-hover, currentColor); }
.msw-shipping-cross-sells .msw-shipping-cross-sell__action:focus-visible, .msw-shipping-cross-sell__name:focus-visible { outline: 2px solid var(--wootilities-ring, currentColor); outline-offset: 2px; }
.msw-shipping-cross-sells[aria-busy="true"] .msw-shipping-cross-sell__action { cursor: progress; opacity: .6; }
.msw-shipping-cross-sells__status { margin: var(--wootilities-space-2, 8px) 0 0; }
.msw-shipping-cross-sells__status:empty { display: none; }
.msw-free-shipping:empty { display: none; }
.msw-free-shipping { margin-block: var(--wootilities-space-3, 12px); }
/* Rewards bar (IDEA-17): equal segments, done ones full, the current one filled by its own progress. */
.msw-rewards { margin-block: var(--wootilities-space-3, 12px); padding: var(--wootilities-space-3, 12px) var(--wootilities-space-4, 16px); border-radius: var(--wootilities-card-radius, 8px); background: var(--wootilities-muted, color-mix(in srgb, currentColor 6%, transparent)); color: var(--wootilities-foreground, inherit); }
.msw-rewards p { margin: 0; }
.msw-rewards__title { font-weight: 600; line-height: 1.35; }
.msw-rewards__steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--wootilities-space-1, 4px); margin: var(--wootilities-space-2, 8px) 0; padding: 0; list-style: none; }
.msw-rewards__step { display: flex; flex-direction: column-reverse; gap: var(--wootilities-space-1, 4px); min-width: 0; margin: 0; }
.msw-rewards__label { color: var(--wootilities-muted-foreground, inherit); font-size: var(--wootilities-font-sm, .875em); line-height: 1.3; overflow-wrap: anywhere; }
.msw-rewards__step.is-done .msw-rewards__label, .msw-rewards__step.is-current .msw-rewards__label { color: var(--wootilities-foreground, inherit); }
.msw-rewards__note { color: var(--wootilities-muted-foreground, inherit); font-size: var(--wootilities-font-sm, .875em); line-height: 1.4; opacity: .85; }
.msw-rewards progress { -webkit-appearance: none; appearance: none; display: block; box-sizing: border-box; width: 100%; height: var(--msw-shipping-bar, 8px); margin: 0; overflow: hidden; border: 0; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); color: var(--wootilities-primary, currentColor); accent-color: var(--wootilities-primary, currentColor); }
.msw-rewards progress::-webkit-progress-bar { border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }
.msw-rewards progress::-webkit-progress-value { border-radius: 999px; background: var(--wootilities-primary, currentColor); transition: width .3s ease; }
.msw-rewards progress::-moz-progress-bar { border-radius: 999px; background: var(--wootilities-primary, currentColor); }
.msw-shipping-look--no-note .msw-rewards__note { display: none; }
.msw-shipping-look--minimal .msw-rewards { padding: var(--wootilities-space-2, 8px) 0; border-radius: 0; background: none; }
.msw-shipping-look--minimal .msw-rewards progress, .msw-shipping-look--minimal .msw-rewards progress::-webkit-progress-bar, .msw-shipping-look--minimal .msw-rewards progress::-webkit-progress-value, .msw-shipping-look--minimal .msw-rewards progress::-moz-progress-bar { border-radius: 0; }
.msw-shipping-look--banner .msw-rewards { border-radius: 0; text-align: center; }
/* Delivery estimate (SHP-06): product page sentence and the line under a classic shipping rate; colours inherit the section. */
.msw-delivery-estimate[hidden], .msw-delivery-estimate [hidden], .msw-delivery-estimate.is-expired { display: none; }
div.msw-delivery-estimate { margin-block: var(--wootilities-space-3, 12px); color: inherit; font-size: var(--wootilities-font-sm, .875em); line-height: 1.5; }
div.msw-delivery-estimate p { margin: 0; }
.msw-delivery-estimate--rate { display: inline-block; color: var(--wootilities-muted-foreground, inherit); font-size: var(--wootilities-font-sm, .875em); line-height: 1.4; }
/* Beats WooCommerce `.cart_totals table small { color: #767676 }` (unreadable on dark sections). */
#shipping_method .msw-delivery-estimate--rate { color: var(--wootilities-muted-foreground, inherit); }
