.wc-batch-expiry-notice,
.wc-batch-expired-alert {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin: 10px 0 14px !important;
    font-size: 0.9em !important;
    line-height: 1.6 !important;
    overflow: hidden !important;
}

.wc-batch-expiry-notice {
    background: #fff8e1 !important;
    border: 1px solid #f0c040 !important;
    border-left: 5px solid #e6a817 !important;
    color: #3d2e00 !important;
}

.wc-batch-expired-alert {
    background: #fff3e0 !important;
    border: 1px solid #ffb74d !important;
    border-left: 5px solid #e65100 !important;
    color: #3d1500 !important;
}

.wc-batch-notice-label {
    display: inline-block !important;
    float: none !important;
    font-size: 0.75em !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 2px 9px !important;
    border-radius: 3px !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    line-height: 1.8 !important;
}

.wc-batch-expiry-notice .wc-batch-notice-label {
    background: #e6a817 !important;
    color: #fff !important;
}

.wc-batch-expired-alert .wc-batch-notice-label {
    background: #e65100 !important;
    color: #fff !important;
}

.wc-batch-expiry-notice span,
.wc-batch-expired-alert span {
    vertical-align: middle !important;
}

/* Plain crop-year line for hops that are not currently marked down. Reads as
   product information, deliberately not as a sale flash. */
.wc-batch-crop-info {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin: 10px 0 14px !important;
    font-size: 0.9em !important;
    line-height: 1.6 !important;
    background: #f4f6f8 !important;
    border: 1px solid #d8dee4 !important;
    border-left: 5px solid #8a949e !important;
    color: #2b3138 !important;
}

/* Batch choice, shown only when the options differ in price. */
.wc-batch-selector {
    display: block !important;
    margin: 0 0 16px !important;
}

.wc-batch-selector-title {
    display: block !important;
    font-weight: 700 !important;
    font-size: 0.9em !important;
    margin-bottom: 6px !important;
}

.wc-batch-selector-option {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    padding: 9px 12px !important;
    margin-bottom: 6px !important;
    border: 1px solid #d8dee4 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 0.92em !important;
}

.wc-batch-selector-option:hover {
    border-color: #8a949e !important;
}

.wc-batch-selector-label {
    font-weight: 600 !important;
}

.wc-batch-selector-price {
    font-weight: 700 !important;
}

.wc-batch-selector-badge {
    background: #e6a817 !important;
    color: #fff !important;
    font-size: 0.78em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 2px 8px !important;
    border-radius: 3px !important;
}

.wc-batch-selector-qty {
    margin-left: auto !important;
    color: #666 !important;
    font-size: 0.86em !important;
}

.expired-batch-atc {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: pointer;
}

/* Grid card clearance strip (LoopBadges) */
.wcbe-loop-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin: 6px 0 8px;
    font-size: 0.8em;
    line-height: 1.4;
}
.wcbe-loop-off {
    background: #fd6d21;
    color: #fff;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 3px;
}
.wcbe-loop-label {
    color: #5f5f5f;
}
.wcbe-loop-stock {
    color: #b32d2e;
    font-weight: 700;
}

/* Buy box reassurance (BuyBoxNotes) */
.wcbe-buybox-notes {
    list-style: none;
    margin: 14px 0 0;
    padding: 12px 14px;
    background: #f6f6f6;
    border-radius: 4px;
    font-size: 0.88em;
    line-height: 1.5;
}
.wcbe-buybox-notes li {
    margin: 0 0 4px;
    padding-left: 22px;
    position: relative;
}
.wcbe-buybox-notes li:last-child {
    margin-bottom: 0;
}
.wcbe-buybox-notes li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #fd6d21;
    font-weight: 700;
}

/* Empty cart suggestions (EmptyCart) */
.wcbe-empty-cart {
    margin-top: 40px;
}
.wcbe-empty-cart-heading {
    font-size: 1.3em;
    margin-bottom: 18px;
}
.wcbe-empty-cart-cta {
    margin-top: 10px;
    font-weight: 700;
}

/* Mobile sticky add-to-cart bar (StickyAtc) */
.wcbe-sticky-atc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: #ffffff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}
.wcbe-sticky-atc[hidden] {
    display: none;
}
.wcbe-sticky-atc-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.wcbe-sticky-atc-name {
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wcbe-sticky-atc-price {
    font-weight: 700;
    font-size: 0.95em;
}
.wcbe-sticky-atc-price del {
    opacity: 0.6;
    font-weight: 400;
    margin-right: 6px;
}
.wcbe-sticky-atc-button {
    flex-shrink: 0;
    background: #fd6d21;
    color: #ffffff;
    border: 0;
    border-radius: 4px;
    font-weight: 700;
    padding: 12px 22px;
    cursor: pointer;
}
.wcbe-sticky-atc-button:hover,
.wcbe-sticky-atc-button:focus {
    background: #e05a12;
    color: #ffffff;
}
@media (min-width: 769px) {
    .wcbe-sticky-atc {
        display: none;
    }
}
