/*
 * Plain (non-Tailwind) stylesheet - deliberately not a Tailwind utility class,
 * since dynamically-added classes risk being purged by Tailwind's JIT build
 * (it only generates CSS for class names it can see in the scanned source).
 *
 * Fast Order's own product-options popup (#mgantscontent-option-product,
 * see Mageants_FastOrder's fast-order.css) uses z-index: 9999, above Hyva's
 * default modal z-index (Tailwind's z-50). This keeps our confirmation popup
 * above it on the /fastorder configurable-select flow, and anywhere else that
 * happens to use a similarly high z-index.
 *
 * [data-dialog-ref-name="groundShippingPopup"] is the modal's own outermost
 * overlay wrapper, always present on it regardless of open/closed state
 * (see vendor/hyva-themes .../modal/modal-container.phtml) - no PHP change
 * needed to add this selector, it's already unconditionally rendered.
 */
[data-dialog-ref-name="groundShippingPopup"] {
    z-index: 10000 !important;
}

/*
 * Share Cart page (Webkul_ShareAndMultiCartHyva, theme override
 * cartitems.phtml) row notice - that page's Add to Cart button is a single
 * bulk "update all rows" submit, so blocking it per-row isn't possible the
 * way it is everywhere else; an inline notice is shown per flagged row
 * instead. Styled distinctly from the existing .return-notice (Return Policy
 * Notice, product view page) since this is a different kind of notice.
 */
.ground-shipping-notice {
    margin-top: 6px;
    background: #fffbeb;
    border-left: 2px solid #b45309;
    border-radius: 0 3px 3px 0;
    padding: 5px 9px;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
}

.ground-shipping-notice-icon {
    flex-shrink: 0;
    line-height: 0;
}

.ground-shipping-notice-icon svg {
    width: 14px;
    height: 14px;
}

.ground-shipping-notice-text {
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}
