/* Site fixes — survives style.css overwrite when master keeps this link */

/* Horizontal promo banners: show full image on mobile */
.promo-banner,
.app-home .promo-banner {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

.promo-banner-img,
.app-home .promo-banner-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Small phones: nothing may be wider than the screen (a wider page pushes fixed
   buttons such as the AI chat launcher and the bottom nav past the right edge) */
.footer-grid > * { min-width: 0; }
.newsletter-form { max-width: 100%; }
.newsletter-form input[type="email"] { min-width: 0; width: 100%; }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
.shop-toolbar > * { min-width: 0; max-width: 100%; }
@media (max-width: 480px) {
    .shop-toolbar-right { flex-wrap: wrap; gap: 8px; width: 100%; }
    .shop-toolbar-right .shop-sort { flex: 1 1 140px; min-width: 0; }
    .shop-toolbar-right .shop-sort select { width: 100%; max-width: 100%; }
    .shop-filter-toggle { flex: 0 0 auto; }
}
