/* BEGIN ESTABROOKS SHIP2STORE SEASONAL CLOSURE
   Storefront protection only. VMX must reject new store 6 orders server-side.
   Remove this block when Ship2Store ordering reopens in spring 2027. */
body:has(#navbarDropdown[aria-label*="Ship2Store"]) #main-content .add-to-cart,
body:has(#navbarDropdown[aria-label*="Ship2Store"]) #main-content [data-target="#add-to-cart-modal"],
body:has(#navbarDropdown[aria-label*="Ship2Store"]) #main-content #frmCheckout,
body:has(#navbarDropdown[aria-label*="Ship2Store"]) #main-content #credit-form {
    display: none !important;
}
body:has(#navbarDropdown[aria-label*="Ship2Store"]) #main-content:has(#frmCheckout, #credit-form)::before {
    content: "Ship2Store ordering has ended for 2026. Checkout is closed. Ordering will return next spring.";
    display: block;
    margin: 0 0 1.5rem;
    padding: 1.25rem;
    border-left: 5px solid #d43b86;
    border-radius: 12px;
    background: #f8ede3;
    color: #173e2c;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
}
/* Remove closed Ship2Store referrals from product cards; retain Direct. */
#main-content div.small.text-left.mb-1:has(> a[href*="select-store.php?id=6"]) {
    visibility: hidden;
    font-size: 0 !important;
}
#main-content div.small.text-left.mb-1 > a[href*="select-store.php?id=6"] {
    display: none !important;
}
#main-content div.small.text-left.mb-1:has(> a[href*="select-store.php?id=6"]):not(:has(> a[href*="select-store.php?id=5"])) {
    display: none !important;
}
#main-content div.small.text-left.mb-1:has(> a[href*="select-store.php?id=6"]) > a[href*="select-store.php?id=5"],
#main-content div.small.text-left.mb-1:has(> a[href*="select-store.php?id=6"]):has(> a[href*="select-store.php?id=5"])::before {
    visibility: visible;
    font-size: .875rem;
}
#main-content div.small.text-left.mb-1:has(> a[href*="select-store.php?id=6"]):has(> a[href*="select-store.php?id=5"])::before {
    content: "Available to order with ";
}
/* Remove seasonal Ship2Store availability banners on item pages. */
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]) {
    visibility: hidden;
    font-size: 0 !important;
}
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]) > strong,
#main-content .alert.alert-info > a[href*="select-store.php?id=6"] {
    display: none !important;
}
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]):not(:has(> a[href*="select-store.php?id=5"])) {
    display: none !important;
}
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]) > a[href*="select-store.php?id=5"],
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]):has(> a[href*="select-store.php?id=5"])::before {
    visibility: visible;
    font-size: 1rem;
}
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]):has(> a[href*="select-store.php?id=5"])::before {
    content: "Available to ship to your home with ";
}
/* Keep the original alert surface visible while suppressing its old text. */
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]):has(> a[href*="select-store.php?id=5"]) {
    isolation: isolate;
}
#main-content .alert.alert-info:has(> a[href*="select-store.php?id=6"]):has(> a[href*="select-store.php?id=5"])::after {
    content: "";
    visibility: visible;
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: inherit;
    border: inherit;
    border-radius: inherit;
    pointer-events: none;
}
/* END ESTABROOKS SHIP2STORE SEASONAL CLOSURE */
