.mobile-disclosure { display: none; }
.breadcrumbs, .auth-breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
.listing, .listing-heading > div { min-width: 0; }
.listing-heading h1 { overflow-wrap: anywhere; }
.product-media-strip, .review-media { flex-wrap: wrap; overflow: visible; }

@media (min-width: 801px) and (max-width: 1050px) {
    .quick-links { flex-wrap: wrap; gap: 5px 16px; min-height: 27px; height: auto; padding: 0 0 6px; }
}

@media (max-width: 980px) {
    .purchase-status-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        overflow: visible;
    }
    .purchase-status-tabs > a {
        min-width: 0;
        min-height: 40px;
        padding: 7px 6px;
        font-size: 12px;
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 800px) {
    .header-main .search { min-width: 0; min-height: 50px; padding: 2px; }
    .header-main .search:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
    .header-main .search input { background: transparent; font-size: 16px; }
    .header-main .search button { flex: none; min-width: 44px; min-height: 44px; }
    .mobile-disclosure:not([hidden]) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 42px;
        padding: 8px 12px;
        border: 1px solid #e9dfd9;
        border-radius: 8px;
        background: #fff;
        color: #49413b;
        text-align: start;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }
    .mobile-disclosure::after {
        width: 8px;
        height: 8px;
        flex: none;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        transform: translateY(-2px) rotate(45deg);
        content: "";
    }
    .mobile-disclosure[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
    .mobile-disclosure[aria-expanded="false"]:not([hidden]) + .catalog-category-links { display: none; }
    .quick-links {
        height: 32px;
        gap: 17px;
        padding-inline: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        white-space: nowrap;
        color: #fff;
        font-size: 11px;
    }
    .quick-links::-webkit-scrollbar { display: none; }
    .quick-links a { flex: none; }

    .listing-layout { grid-template-columns: minmax(0, 1fr); }
    .listing-heading { flex-wrap: wrap; }
    .filters { display: block; padding: 10px; overflow: visible; }
    .filters .mobile-disclosure { width: 100%; }
    .filters:has(.mobile-disclosure:not([hidden])) h3 { display: none; }
    .catalog-category-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
    .catalog-category-links a {
        min-width: 0;
        min-height: 42px;
        padding: 5px 0;
        border-bottom: 1px solid #f1ebe7;
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: 13px;
    }

    .home-modern .home-category-shortcuts { display: grid; overflow: visible; }
    .home-modern .home-flash-deals .flash-deal-track {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        overflow: visible;
        scroll-snap-type: none;
        cursor: auto;
        user-select: auto;
    }
    .home-flash-deals .flash-deal-arrow { display: none; }

    .variant-picker .variant-options { max-height: none; overflow: visible; }

    .account-layout > * { min-width: 0; }
    .profile-row-value, .profile-row-value .auth-input { min-width: 0; max-width: 100%; }

    .support-inbox .support-inbox-layout { grid-template-columns: minmax(0, 1fr); height: auto; }
    .support-inbox .support-inbox-layout > aside { overflow: visible; border: 0; }
    .support-inbox .support-inbox-layout > section { height: min(540px, max(400px, 72dvh)); }
}

@media (max-width: 620px) {
    .topline { display: block; height: auto; }
    .top-inner > :not(.top-account-actions) { display: none; }
    .top-account-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0 14px;
        width: 100%;
        white-space: normal;
    }
    .top-account-actions a, .top-account-actions form button {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        font-size: 12px;
    }
    .top-account-actions .notification-menu { position: static; }
    .top-account-actions .notification-popover {
        right: 15px;
        width: min(340px, calc(100% - 30px));
    }
    .top-account-actions .notification-popover::before { display: none; }
    .cart-page-header .header-main { height: auto; }
    .auth-input, .profile-row-value .auth-input,
    .checkout-card-fields input, .checkout-card-fields select { font-size: 16px; }
    .header-main .search input::placeholder { font-size: 13px; }
    .mini-cart-list, .notification-preview-list { max-height: none; overflow: visible; }

    .footer-grid { gap: 22px 16px; }
    .footer-grid > div { min-width: 0; overflow-wrap: anywhere; }
    .footer-grid > div:not(:first-child) { gap: 6px; }
    .footer-grid > div > b { margin-bottom: 0; font-size: 12px; }
    .footer-grid p, .footer-grid > div > a:not(.brand), .footer-grid .cookie-preferences-link { font-size: 13px; }
    .footer-grid > div > a:not(.brand), .footer-grid .cookie-preferences-link { padding-block: 5px; }
    .footer-grid .payment-methods { flex-wrap: wrap; }
    .copyright { padding-inline-end: 70px; }

    .home-modern .home-category-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-modern .home-category-shortcuts .category-item > b { font-size: 11px; }
    .home-modern .home-flash-deals .flash-deal-track { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .account-side-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-nav-heading, .notification-subnav { grid-column: 1 / -1; }
    .notification-center-heading { flex-wrap: wrap; }
    .address-modal-backdrop { align-items: start; }
    .address-modal-backdrop .address-modal { max-height: none; overflow: visible; }
}

@media (max-width: 620px) {
    .top-account-actions .notification-popover,
    .header-main .mini-cart,
    .header-main .account-menu .notification-popover { display: none !important; }
    .cart-menu:hover .mini-cart,
    .cart-menu:focus-within .mini-cart,
    .cart-menu.is-open .mini-cart,
    .notification-menu.is-open .notification-popover { visibility: hidden !important; pointer-events: none !important; }
}
