/* ARMANIPLAST-PASS-078 — sticky width animation, listing toolbar, qty, gallery */

@media (min-width: 992px) {
    header.header nav.nav,
    header.header.inner nav.nav {
        width: 100%;
        max-width: min(1140px, calc(100vw - 2.5rem));
        margin-inline: auto;
        left: 0;
        right: 0;
        transition: max-width 0.38s ease, margin 0.38s ease;
        will-change: max-width;
    }
    header.header nav.nav > .nav-container.bottom,
    header.header.inner nav.nav > .nav-container.bottom {
        border-radius: 8px;
        transition: border-radius 0.38s ease, box-shadow 0.38s ease;
    }
    header.header nav.nav.scrolled,
    header.header.inner nav.nav.scrolled {
        max-width: 100% !important;
        width: 100% !important;
        margin-inline: 0 !important;
    }
    header.header nav.nav.scrolled > .nav-container.bottom,
    header.header.inner nav.nav.scrolled > .nav-container.bottom {
        border-radius: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    header.header nav.nav,
    header.header.inner nav.nav,
    header.header nav.nav > .nav-container.bottom {
        transition: none !important;
    }
}

header.header,
header.header.inner,
body > .container-fluid,
body > .container-fluid > .row,
body > .container-fluid > .row > .col-12.p-0 {
    overflow: visible !important;
    transform: none;
}

.ap-nav-sentinel {
    position: absolute;
    width: 1px;
    height: 1px;
    pointer-events: none;
    visibility: hidden;
}

.ap-listing-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    align-items: center;
    margin: 0.75rem 0 1rem;
}
.ap-listing-toolbar label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}
.ap-listing-toolbar select,
.ap-listing-toolbar input[type="search"] {
    min-width: 10rem;
    padding: 0.35rem 0.5rem;
}
.armani-qty-minus:disabled,
.armani-qty-plus:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.armani-qty-input.is-invalid {
    outline: 2px solid #c45c26;
}
.ap-pdp-unavailable {
    color: #8a1f11;
    font-weight: 600;
}
.product-detail .imgShow img {
    max-width: 100%;
    height: auto;
}
.ap-qty-admin-help {
    color: #555;
    font-size: 0.85rem;
}
