/* Storefront header/account dialog; Bootstrap 4.5.3 and native mobile-menu hooks. */
.airtech-bottom-nav { display: none; }

#header.airtech-header {
    --airtech-header-bg: #191919;
}

.airtech-header-ad {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.airtech-header-ad a,
.airtech-header-ad picture {
    display: block;
    width: 100%;
}

.airtech-header-ad img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.airtech-header-ad-mobile {
    display: none;
}

.airtech-header .nav-top {
    float: none;
    background: var(--airtech-header-bg);
    padding: 10.8px 0;
}

.airtech-header-row > div {
    min-width: 0;
}

.airtech-header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.airtech-header-logo .logo {
    width: 172.8px;
    max-width: 100%;
    height: 57.6px;
}

.airtech-header-logo .logo a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.airtech-header-logo .logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.airtech-header-search .top-search-bar {
    display: block;
    float: none;
    width: 90%;
    /* The theme adds an !important 4px mobile margin through 992px. */
    margin: 0 auto !important;
}

.airtech-header-search .input-search {
    height: 41.4px;
    padding: 7.2px 36px 7.2px 18px;
    font-size: 12.6px;
    line-height: 18.9px;
}

.airtech-header-search .btn-search {
    height: 41.4px;
    padding: 0 18px !important;
    font-size: 16.2px;
    line-height: 23.4px;
}

.airtech-header-search .search-results-ajax {
    top: 100%;
}

.airtech-header .airtech-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10.8px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.airtech-header-actions > .nav-item {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.airtech-header .airtech-header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 39.6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24.3px;
    line-height: 1;
    cursor: pointer;
}

.airtech-header-action:hover {
    opacity: .8;
}

.airtech-header .airtech-header-action:focus-visible,
.airtech-header .nav-mobile-header button:focus-visible,
.airtech-header .nav-mobile-header a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.airtech-header-action > svg {
    display: block;
    width: 27px;
    height: 27px;
}

.airtech-header-action .icon-cart-solid {
    font-size: 27px;
}

.airtech-header-action .icon-heart {
    font-size: 22.5px;
}

.airtech-header-action > .airtech-user-icon {
    width: 28.8px;
    height: 28.8px;
}

.airtech-language-badge {
    position: absolute;
    top: -.9px;
    right: 0;
    min-width: 21.6px;
    padding: 1.8px 2.7px;
    border-radius: 9px;
    background: #fff;
    color: #191919;
    font-size: 10.8px;
    font-weight: 600;
    line-height: 12.6px;
    text-align: center;
}

.airtech-header-avatar {
    display: block;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: cover;
}

.airtech-header-actions .dropdown-menu {
    top: 100%;
    left: auto;
    right: 0;
    min-width: 160px;
}

.airtech-header-actions .dropdown-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
}

.airtech-header-actions .flag {
    width: 18px;
    height: auto !important;
    max-height: 14px;
    align-self: center;
    object-fit: contain;
    flex: 0 0 18px;
}

.airtech-header-actions .notification {
    position: absolute;
    top: 0;
    right: -2px;
}

/* Authenticated account menu: native links/icons in a two-column dialog. */
.airtech-account-modal .modal-dialog {
    width: calc(100% - 24px);
    max-width: 400px;
    margin: 12px auto;
}

.airtech-account-modal .modal-content {
    border: 0;
    border-radius: 0;
}

.airtech-account-modal .modal-body {
    padding: 24px;
}

.airtech-account-close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #777;
    font-size: 20px;
}

.airtech-account-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 12px;
    margin-bottom: 16px;
}

.airtech-account-photo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.airtech-account-details {
    min-width: 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.airtech-account-details p {
    margin: 0;
}

.airtech-account-details .airtech-account-name {
    font-size: 16px;
    margin-bottom: 3px;
}

.airtech-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.airtech-account-grid > li {
    min-width: 0;
    margin: 0;
}

.airtech-account-grid > li > a,
.airtech-account-grid .btn-logout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
    min-height: 76px;
    padding: 8px 6px;
    border: 1px solid #dce0e3;
    border-radius: 4px;
    background: #fff;
    color: #515960;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}

.airtech-account-grid .form-logout {
    height: 100%;
    margin: 0;
    border: 1px solid #dce0e3;
    border-radius: 4px;
}

.airtech-account-grid .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    color: #666;
    font-size: 24px;
}

.airtech-account-grid .icon svg {
    width: 24px;
    height: 24px;
}

.airtech-account-grid > li > a:hover,
.airtech-account-grid .btn-logout:hover {
    background: #f6f7f8;
    border-color: #b7bec4;
}

.airtech-account-grid .airtech-account-logout {
    grid-column: 1 / -1;
}

.airtech-account-grid .airtech-account-logout .form-logout {
    border-color: #efcaca;
    background: #fff1f1;
}

.airtech-account-grid .airtech-account-logout .btn-logout {
    min-height: 44px;
    flex-direction: row;
    /* Override the theme's !important logout color only inside this dialog. */
    color: #a43d3d !important;
}

.airtech-account-grid .airtech-account-logout .btn-logout:hover {
    background: #fde3e3 !important;
}

.airtech-account-logout .icon {
    color: inherit;
}

.airtech-account-logout .icon svg {
    fill: currentColor;
}

.airtech-account-modal a:focus-visible,
.airtech-account-modal button:focus-visible {
    outline: 2px solid #515960;
    outline-offset: 2px;
}

#navMobile button.image-profile-drop {
    width: 100%;
    text-align: start;
}

@media (max-width: 575.98px) {
    .airtech-account-modal .modal-body {
        padding: 18px;
    }

    .airtech-account-summary {
        gap: 14px;
        margin-bottom: 16px;
    }

    .airtech-account-details,
    .airtech-account-grid > li > a,
    .airtech-account-grid .btn-logout {
        font-size: 14px;
    }

    .airtech-account-details .airtech-account-name {
        font-size: 16px;
    }

    .airtech-account-grid {
        gap: 8px;
    }

    .airtech-account-grid > li > a {
        min-height: 76px;
        padding: 8px 6px;
    }

}

/* Align the header with Bootstrap's lg boundary; the theme overlaps at 992px. */
@media (min-width: 992px) {
    .airtech-header .nav-main .mega-menu {
        width: 100%;
    }

    .airtech-header .nav-main .mega-menu > .nav-item:first-child {
        margin-left: auto;
    }

    .airtech-header .nav-main .mega-menu > .nav-item:last-child {
        margin-right: auto;
    }

    #header.airtech-header .main-menu {
        display: block;
    }

    #header.airtech-header .mobile-nav-container {
        display: none;
    }
}

@media (max-width: 991.98px) {
    #header.airtech-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .airtech-header-ad-desktop {
        display: none;
    }

    .airtech-header-ad-mobile {
        display: block;
    }

    .airtech-header .mobile-nav-container {
        min-height: 0;
    }

    .airtech-header .nav-mobile-header {
        position: relative;
        top: auto;
        background: var(--airtech-header-bg);
        padding: 6px 0;
    }

    .airtech-header .nav-mobile-header-container .flex-item-left {
        width: 100px;
        flex: 0 0 100px;
    }

    .airtech-header .nav-mobile-header-container .flex-item-right {
        width: 100px;
        flex: 0 0 100px;
    }

    .airtech-header .nav-mobile-header-container .flex-item-mid {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 8px;
    }

    .airtech-header .mobile-logo {
        width: 160px;
        max-width: 100%;
    }

    .airtech-header .mobile-logo img {
        filter: brightness(0) invert(1);
    }

    .airtech-header .nav-mobile-header-container .item-menu-icon button,
    .airtech-header .nav-mobile-header-container .a-search-icon,
    .airtech-header .nav-mobile-header-container .a-mobile-cart {
        color: #fff !important;
    }

    .airtech-header .mobile-search-form {
        width: 100%;
        margin: 6px 0 0;
        border-radius: 0;
    }

    #navMobile {
        top: var(--airtech-mobile-header-height, 70px);
        height: calc(100vh - var(--airtech-mobile-header-height, 70px));
    }
}

/* Compact mobile navigation; keep native category links and Bootstrap tabs. */
@media (max-width: 991.98px) {
    body.airtech-mobile-menu-open { overflow: hidden; }
    body.airtech-has-bottom-nav { --airtech-bottom-nav-height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--airtech-bottom-nav-height); }
    .airtech-bottom-nav { position: fixed; inset: auto 0 0; z-index: 98; display: flex; height: var(--airtech-bottom-nav-height); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: #fff; border-top: 1px solid #e8e8e8; box-shadow: 0 -3px 14px rgba(0, 0, 0, .07); }
    .airtech-bottom-nav-item { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 63px; padding: 6px 4px; color: #666; background: transparent; border: 0; font-size: 12px; font-weight: 500; line-height: 16px; text-align: center; }
    .airtech-bottom-nav-item.active::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--mds-color-main); }
    .airtech-bottom-nav-item svg, .airtech-bottom-nav-item > i, .airtech-bottom-nav-icon { display: inline-block; flex-shrink: 0; width: 24px; height: 24px; font-size: 24px; line-height: 24px; }
    .airtech-bottom-nav-icon { position: relative; }
    .airtech-bottom-nav-item.active, .airtech-bottom-nav-item[aria-expanded="true"], .airtech-bottom-nav-item:hover { color: var(--mds-color-main); }
    .airtech-bottom-nav-item:focus-visible { outline: 2px solid var(--mds-color-main); outline-offset: -4px; }
    .airtech-bottom-nav-count { position: absolute; top: -6px; right: -9px; display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 10px; background: #ff3344; color: #fff; font-size: 10px; font-weight: 600; line-height: 17px; }
    body.airtech-has-bottom-nav .scrollup, body.airtech-has-bottom-nav .cookies-warning { bottom: calc(var(--airtech-bottom-nav-height) + 20px); }
    #navMobile { height: calc(100dvh - var(--airtech-mobile-header-height, 70px)); }
    #navMobile.nav-mobile-open { width: min(340px, calc(100vw - 44px)); }
    #navMobile .nav-mobile-inner { width: 100%; min-width: 0; padding: 12px 16px 24px; bottom: auto; }
    #navMobile .airtech-mobile-language-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
    #navMobile .airtech-mobile-language-option { display: inline-flex; align-items: center; min-height: 44px; padding: .42rem .8rem; border: 2px solid #efefef; border-radius: 4px; background: #fff; color: #222; font-weight: 500; }
    #navMobile .airtech-mobile-language-option.selected { border-color: var(--mds-color-main); }
    #navMobile .mobile-nav-buttons { width: 100%; margin: 0 0 12px; }
    #navMobile .airtech-mobile-menu-heading { display: flex; align-items: center; gap: 8px; }
    #navMobile .nav-tabs-mobile-menu { flex: 1; min-width: 0; padding: 3px; background: #f3f5f5; border-radius: 7px; }
    #navMobile .nav-tabs-mobile-menu .nav-link { min-height: 42px; padding: 8px 4px; font-size: 14px; background: transparent; border-radius: 5px; }
    #navMobile .nav-tabs-mobile-menu .nav-link:only-child { width: 100%; }
    #navMobile .nav-tabs-mobile-menu .nav-link.active { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
    #navMobile .airtech-mobile-menu-close { display: flex; flex: 0 0 36px; min-height: 44px; justify-content: center; align-items: center; color: #666; font-size: 18px; }
    #navMobile .tab-content-mobile-menu { padding-top: 8px; }
    #navMobile .navbar-nav { width: 100%; padding-bottom: 16px; }
    #navMobile .navbar-nav .nav-item { border-bottom-color: #eef0f2; }
    #navMobile .navbar-nav .nav-item .nav-link { min-height: 44px; font-weight: 500; }
    #navMobile .nav-link:hover { color: #16818c; }
    #navMobile button:focus-visible, #navMobile a:focus-visible { outline: 2px solid #16818c; outline-offset: 2px; }
}

/* Storefront authentication only; native Bootstrap 4 and form contracts stay intact. */
.airtech-auth-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    background: #fff;
    border: 1px solid #e6e7e8;
    border-radius: 12px;
    overflow: hidden;
}

.airtech-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 440px;
    padding: 36px;
    overflow: hidden;
    background: #171919;
    color: #fff;
}

.airtech-auth-logo {
    position: relative;
    z-index: 1;
    width: 164px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    align-self: flex-start;
    filter: brightness(0) invert(1);
}

.airtech-auth-track {
    position: absolute;
    inset: 90px -60px -80px -20px;
    width: calc(100% + 80px);
    height: calc(100% - 10px);
    color: #525959;
}

.airtech-auth-brand {
    position: relative;
    z-index: 1;
    max-width: 210px;
    margin: 150px 0 0;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.6px;
}

.airtech-auth-layout .airtech-auth-form {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 36px;
    margin: 0;
    border: 0;
    border-radius: 0;
    align-self: center;
}

.airtech-auth-form .title {
    margin: 0 0 26px;
    text-align: left;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.airtech-auth-form label:not(.custom-control-label) {
    display: block;
    margin-bottom: 7px;
    color: #373c3f;
    font-size: 14px;
    font-weight: 600;
}

.airtech-auth-form .form-group {
    margin-bottom: 18px;
}

.airtech-auth-form .auth-form-input {
    height: 52px;
    padding: 12px 15px;
    border: 1px solid #dce0e2;
    border-radius: 6px;
    background: #fafbfb;
    color: #242729;
    font-size: 16px;
    line-height: 1.4;
}

.airtech-auth-form .auth-form-input:focus {
    border-color: #555f62;
    outline: 2px solid #dce2e3 !important;
    outline-offset: 1px;
    background: #fff;
}

.airtech-auth-form .btn-custom {
    min-height: 52px;
    padding: 13px 18px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.airtech-auth-form .p-social-media,
.airtech-auth-form .link-forgot-password,
.airtech-auth-form .custom-control-label {
    font-size: 14px;
    line-height: 1.6;
}

.airtech-auth-form .link,
.airtech-auth-form .link-forgot-password {
    color: #252b2d;
}

.airtech-auth-form a:focus-visible,
.airtech-auth-form button:focus-visible {
    outline: 2px solid #6f7c80;
    outline-offset: 3px;
}

.airtech-auth-form .social-login:empty {
    display: none;
}

.airtech-auth-names {
    margin-right: -8px;
    margin-left: -8px;
}

.airtech-auth-names > .form-group {
    padding-right: 8px;
    padding-left: 8px;
}

.airtech-auth-switch {
    margin: 22px 0 0;
}

.airtech-auth-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 720px;
    margin: 16px auto;
}

.airtech-auth-modal .modal-content {
    border: 0;
    border-radius: 12px;
}

.airtech-auth-modal .modal-body {
    padding: 0;
}

.airtech-auth-modal .airtech-auth-layout {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    border: 0;
}

.airtech-auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f3f3;
    color: #565e61;
    font-size: 20px;
    opacity: 1;
    text-shadow: none;
}

#wrapper.airtech-auth-page {
    padding-bottom: 56px;
    background: #fff;
}

.airtech-auth-page .airtech-auth-layout {
    max-width: 980px;
    margin: 12px auto 0;
}

.airtech-auth-page .airtech-auth-form {
    padding: 40px 48px;
}

.airtech-auth-page .airtech-auth-visual {
    min-height: 100%;
}

/* Token password reset uses the same auth surface without the legacy tall spacer. */
#wrapper.airtech-auth-reset-page {
    min-height: 0;
    padding: 28px 0;
    background: #f3f5f5;
}

.airtech-auth-reset-page .airtech-auth-layout {
    margin: 0 auto;
}

.airtech-auth-reset-page .airtech-auth-form {
    padding: 32px 40px;
}

.airtech-auth-reset-page .airtech-auth-form .form-group:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .airtech-auth-layout,
    .airtech-auth-modal .airtech-auth-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .airtech-auth-visual {
        min-height: 148px;
        padding: 24px;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .airtech-auth-track {
        inset: -150px -20px auto auto;
        width: 250px;
        height: 430px;
    }

    .airtech-auth-brand {
        max-width: 170px;
        margin: 0;
        font-size: 24px;
    }

    .airtech-auth-logo {
        width: 124px;
    }

    .airtech-auth-layout .airtech-auth-form {
        padding: 30px 24px;
    }

    .airtech-auth-modal .airtech-auth-visual {
        display: none;
    }

    .airtech-auth-modal .modal-dialog {
        max-width: 480px;
    }

    .airtech-auth-page .airtech-auth-visual {
        min-height: 148px;
    }

    #wrapper.airtech-auth-reset-page {
        padding: 0;
    }

    .airtech-auth-reset-page > .container {
        padding-right: 0;
        padding-left: 0;
    }

    .airtech-auth-reset-page .airtech-auth-layout {
        border-radius: 0;
    }

    .airtech-auth-reset-page .airtech-auth-form {
        padding: 28px 24px;
    }
}

@media (max-width: 359.98px) {
    .airtech-auth-layout .airtech-auth-form {
        padding: 30px 18px;
    }

    .airtech-auth-visual {
        padding: 20px;
        gap: 14px;
    }

    .airtech-auth-brand {
        font-size: 21px;
    }

    .airtech-auth-reset-page .airtech-auth-form {
        padding: 24px 8px;
    }
}

/* Storefront footer spacing and payment row; Bootstrap 4 grid remains native. */
#footer.airtech-footer {
    margin-top: 0;
}

/* Keep the native page control below Bootstrap's backdrop (1040) and modals (1050). */
body > .scrollup {
    z-index: 1030;
}

/* Keep the profile form's last action clear of the footer. */
#wrapper.airtech-profile-settings {
    padding-bottom: 56px;
}

#footer.airtech-footer .footer-bottom .copyright {
    margin: 0;
    text-align: start;
}

#footer.airtech-footer .footer-payment-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

#footer.airtech-footer .footer-payment-icons img {
    flex: 0 0 auto;
    margin: 0;
    object-fit: contain;
}

/* Balance the help-center call to action with its cards and the footer. */
#wrapper .airtech-support-home {
    min-height: 0;
}

#wrapper .airtech-support-home .need-more-help {
    margin-top: 24px;
    padding-bottom: 56px;
}

@media (max-width: 767.98px) {
    #wrapper.airtech-profile-settings {
        padding-bottom: 40px;
    }

    #wrapper .airtech-support-home .need-more-help {
        margin-top: 16px;
        padding-bottom: 40px;
    }

    #footer.airtech-footer .footer-bottom .copyright {
        text-align: center;
    }

    .airtech-footer-payment-column {
        margin-top: 16px;
    }

    #footer.airtech-footer .footer-payment-icons {
        justify-content: center;
    }
}

/* Storefront Bootstrap 4 only: scoped cart page spacing and right-hand modal drawer. */
#wrapper.airtech-cart-page { padding-bottom: 64px; }
#wrapper.airtech-checkout-page { padding-bottom: 64px; }
.airtech-checkout-page .airtech-shipping-methods-heading { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e8e8e8; }
.btn.airtech-checkout-busy { cursor: wait; opacity: .65 !important; filter: none; }
a.airtech-checkout-busy { pointer-events: none; }
.airtech-checkout-busy .spinner-border { margin-right: 8px; vertical-align: middle; }
.airtech-cart-drawer .modal-dialog { position: absolute; top: 0; right: 0; width: 640px; max-width: 100%; height: 100%; margin: 0; }
.airtech-cart-drawer.modal.fade .modal-dialog { transform: translateX(100%); transition: transform .25s ease; }
.airtech-cart-drawer.modal.show .modal-dialog { transform: translateX(0); }
.airtech-cart-drawer .modal-content { height: 100%; max-height: 100vh; max-height: 100dvh; border: 0; border-radius: 0; }
.airtech-cart-drawer-header { display: flex; align-items: center; gap: 16px; padding: 24px; border-bottom: 1px solid #e8e8e8; flex-shrink: 0; }
.airtech-cart-drawer-header h2 { flex: 1; margin: 0; font-size: 23px; font-weight: 600; }
.airtech-cart-page-link { font-size: 13px; }
.airtech-cart-drawer-close { width: 32px; height: 32px; font-size: 20px; }
.airtech-cart-drawer-content { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.airtech-cart-drawer-items { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; }
.airtech-cart-drawer-item { display: flex; gap: 14px; margin: 14px 0; padding: 14px; border: 1px solid #e8e8eb; border-radius: 8px; }
.airtech-cart-drawer-item.is-last-added { border-left: 3px solid rgba(40, 167, 69, .5); }
.airtech-cart-drawer-image { flex: 0 0 88px; align-self: center; }
.airtech-cart-drawer-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid #ededed; border-radius: 6px; }
.airtech-cart-drawer-details { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; overflow-wrap: anywhere; color: #333; }
.airtech-cart-drawer-item-heading { display: flex; align-items: center; gap: 10px; }
.airtech-cart-drawer-item-heading .airtech-cart-drawer-product-title { flex: 1; min-width: 0; }
.airtech-cart-drawer-item-info { display: flex; flex-direction: column; gap: 2px; }
.airtech-cart-drawer-product-title { display: inline-block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.airtech-cart-drawer-options, .airtech-cart-drawer-seller { color: #333; font-size: 13px; line-height: 1.5; }
.airtech-cart-drawer-options .option-item { display: inline-block; margin: 0 10px 0 0; }
.airtech-cart-drawer-item-price, .airtech-cart-drawer-total-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.airtech-cart-drawer-item-price { align-items: center; gap: 10px; margin: 0; }
.airtech-cart-drawer-price-meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.5; }
.airtech-cart-drawer-unit-price { color: #333; font-size: 13px; }
.airtech-cart-drawer-line-total { flex-shrink: 0; color: #333; font-size: 16px; line-height: 1.4; white-space: nowrap; }
.airtech-cart-line-prices { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.airtech-cart-line-prices del { color: #626970; font-weight: 400; }
.airtech-cart-drawer-remove { flex-shrink: 0; white-space: nowrap; border: 1px solid #eadcdc; border-radius: 5px; background: #fff; padding: 6px 10px; color: #a33434; font-size: 12px; cursor: pointer; }
.airtech-cart-drawer-remove:hover { background: #a33434; border-color: #a33434; color: #fff; text-decoration: none; }
.airtech-cart-drawer-remove:disabled { opacity: .5; cursor: wait; }
.airtech-cart-drawer-remove-error { padding: 12px 24px; margin: 0; background: #fff1f1; color: #a33434; }
.airtech-cart-drawer .airtech-campaign-saving, .airtech-cart-page .cart-item-details > .airtech-campaign-saving { padding: 7px 10px; border-radius: 4px; background: #fff2f0; font-size: 13px; }
.airtech-cart-drawer .airtech-campaign-saving { margin: 0 !important; }
.airtech-campaign-saving .airtech-campaign-name { display: block; font-weight: 700; }
.airtech-campaign-saving .airtech-campaign-line-discount { display: block; font-size: max(11px, .85em); font-weight: 400; }
.airtech-cart-page .cart-item-details > .airtech-campaign-saving { font-size: 14px; }
.airtech-cart-page .airtech-cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.airtech-cart-page .airtech-cart-item-remove { min-height: 36px; white-space: nowrap; }
.airtech-cart-drawer-footer { padding: 24px; border-top: 1px solid #e8e8e8; background: #fafafa; flex-shrink: 0; max-height: 50%; overflow-y: auto; }
.airtech-cart-drawer-total-row > :last-child { text-align: right; }
.airtech-campaign-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 16px; clear: both; width: 100%; min-width: 0; margin-bottom: 10px; color: #c93636; font-weight: 600; line-height: 1.5; }
.airtech-campaign-summary-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.airtech-campaign-summary-label small { display: block; font-weight: 400; }
.airtech-campaign-summary-amount { flex-shrink: 0; text-align: right; white-space: nowrap; }
.airtech-cart-drawer .airtech-campaign-summary { margin-bottom: 0; }
.airtech-cart-drawer-grand-total { padding-top: 14px; margin-top: 14px; border-top: 1px solid #ddd; font-size: 18px; }
.airtech-cart-drawer-actions { display: flex; gap: 12px; margin-top: 20px; }
.airtech-cart-drawer-actions > .btn { flex: 1; min-width: 0; white-space: normal; }
.airtech-cart-drawer-state { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 32px; }
.airtech-cart-drawer-state > .icon-cart { font-size: 40px; color: #888; }
.airtech-cart-drawer-state p { margin: 0; }
@media (max-width: 575px) {
    #wrapper.airtech-cart-page { padding-bottom: 40px; }
    #wrapper.airtech-checkout-page { padding-bottom: 40px; }
    .airtech-cart-drawer-header, .airtech-cart-drawer-footer { padding: 18px 16px; }
    .airtech-cart-drawer-items { padding: 0 16px; }
    .airtech-cart-drawer-header { gap: 10px; }
    .airtech-cart-drawer-header h2 { font-size: 20px; }
    .airtech-cart-drawer-item { gap: 10px; padding: 10px; margin: 12px 0; }
    .airtech-cart-drawer-image { flex-basis: 64px; }
    .airtech-cart-drawer-actions { gap: 8px; }
    .airtech-cart-drawer-actions > .btn { padding: 12px 8px; font-size: 13px; }
}
@media (max-width: 767px) {
    .airtech-cart-page .airtech-cart-item-actions { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .airtech-cart-page .airtech-cart-item-remove { min-height: 40px; margin-left: auto; }
    .airtech-cart-drawer-item-price { flex-wrap: wrap; }
    .airtech-cart-drawer-line-total { margin-left: auto; }
}
/* The legacy theme hides modal recommendations on small screens. */
#modalAddToCart .cart-related-products { display: block; }
@media (prefers-reduced-motion: reduce) { .airtech-cart-drawer.modal.fade .modal-dialog { transition: none; } }

/* Quantity feedback reuses the native add-to-cart modal, with an informational hierarchy. */
#modalAddToCart.airtech-cart-information-modal .modal-dialog { width: 560px; }
#modalAddToCart.airtech-cart-information-modal .modal-content { border-radius: 8px; }
#modalAddToCart.airtech-cart-information-modal .modal-header { padding: 24px 28px 0; color: #252b2d; }
#modalAddToCart.airtech-cart-information-modal .modal-body { padding: 22px 28px 28px; }
#modalAddToCart .airtech-cart-information { display: grid; gap: 22px; min-width: 0; }
#modalAddToCart .airtech-cart-information-title { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
#modalAddToCart .airtech-cart-information-options { display: flex; flex-wrap: wrap; gap: 10px 20px; color: #60666b; font-size: 13px; line-height: 1.6; }
#modalAddToCart .airtech-cart-information-options .option-item { margin: 0; min-width: 0; overflow-wrap: anywhere; }
#modalAddToCart .airtech-cart-information-options strong { margin-right: 4px; color: #30363b; font-weight: 600; }
#modalAddToCart .airtech-cart-information-message { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #e5e8eb; border-radius: 6px; background: #f7f8f9; color: #343b40; }
#modalAddToCart .airtech-cart-information-message svg { flex: 0 0 22px; margin-top: 1px; }
#modalAddToCart .airtech-cart-information-message p { margin: 0; min-width: 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 575px) {
    #modalAddToCart.airtech-cart-information-modal .modal-header { padding: 22px 20px 0; }
    #modalAddToCart.airtech-cart-information-modal .modal-body { padding: 20px; }
    #modalAddToCart .airtech-cart-information-title { font-size: 17px; }
}

/* Storefront product details and shared catalog cards. */
.product-content-details { --airtech-detail-block-gap: 19.2px; }
.product-content-details .product-title { margin-bottom: 10px; }
.product-content-details .airtech-product-price-row,
.product-content-details .details { margin-bottom: var(--airtech-detail-block-gap); }
.product-content-details .details .item-details:last-child { margin-bottom: 0; }
.product-content-details .airtech-product-campaign { color: #68736f; font-size: .875rem; line-height: 1.5; margin: 0 0 10px; }
.product-content-details .airtech-product-campaign-badge { display: inline-block; min-width: min(10.125rem, 100%); max-width: 100%; padding: 5px 9px; border-radius: 3px; background: var(--campaign-badge-bg, #188347); color: var(--campaign-badge-text, #fff); font-size: .8125rem; font-weight: 600; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.product-content-details .product-price-container .final-price { font-size: 1.445rem; color: #000; }
.product-content-details .product-price-container .final-price-free { font-size: 1.156rem; }
.product-content-details .product-price-container .original-price { font-size: 1.445rem; }
.product-content-details .product-price-container .discount-rate { font-size: .690625rem; line-height: .690625rem; }
.product-details-container { margin-bottom: 5px; }
.product-details-container:not(.product-details-container-digital) { min-height: 0; }
/* The native first slide is already in HTML; do not hide it while slider JS loads. */
.product-details-container .product-slider-wrapper { opacity: 1; transition: none; }
.product-details-container .thumb-slider:not(.swiper-initialized),
.product-details-container .product-slider:not(.swiper-initialized) .swiper-button-next,
.product-details-container .product-slider:not(.swiper-initialized) .swiper-button-prev { visibility: hidden; }
.product-details-container .slider-for-container { border: 0; }
.product-details-container .thumb-slider .swiper-slide { position: relative; border-radius: 12px; box-shadow: none; --airtech-choice-border: transparent; }
.product-details-container .thumb-slider .swiper-slide img { border-width: 0; border-radius: 12px; box-shadow: none; }
.product-details-container .thumb-slider .swiper-slide-thumb-active { --airtech-choice-border: #d5d8dc; }
.product-content-details .product-options-container .option-base { position: relative; border: 0; border-radius: 12px; box-shadow: none; --airtech-choice-border: #e1e2e6; }
.product-content-details .product-options-container .option-image-swatch img { border-radius: 10px; box-shadow: none; }
.product-content-details .product-options-container .option-radio-label { margin-bottom: 0; }
.product-content-details .product-options-container .option-base.selected,
.product-content-details .product-options-container .option-base:not(.disabled):hover { --airtech-choice-border: #d5d8dc; }
/* Scale a 1px outline to a painted half-pixel; Chromium rounds fractional borders up. */
.product-details-container .thumb-slider .swiper-slide::before,
.product-content-details .product-options-container .option-base::before {
    content: ''; position: absolute; top: 0; left: 0; width: 200%; height: 200%;
    box-sizing: border-box; border: 1px solid var(--airtech-choice-border); border-radius: 24px;
    transform: scale(.5); transform-origin: top left; pointer-events: none; z-index: 1;
}
.product-content-details .product-options-container .option-swatch.rounded-circle::before { border-radius: 50%; }
.product-content-details .product-options-container .option-base.selected { background-color: #f8f8f8; }
.product-content-details .product-options-container .option-base.option-radio-label.selected:not(.disabled) { --airtech-choice-border: #000; background-color: #000; color: #fff; }
.product-content-details .product-options-container .option-base.option-image-swatch.selected:not(.disabled) { --airtech-choice-border: #000; }
.product-content-details .product-options-container .option-base.option-radio-label.selected:not(.disabled)::before,
.product-content-details .product-options-container .option-base.option-image-swatch.selected:not(.disabled)::before { border-width: 2px; }
.product-content-details .product-options-container { margin-bottom: calc(var(--airtech-detail-block-gap) * 1.2); }
/* Override the native group spacing utility without changing the option rows. */
.product-content-details #variant-options-container > * { margin-bottom: var(--airtech-detail-block-gap) !important; }
.product-content-details #variant-options-container > :last-child { margin-bottom: 0 !important; }

.product-card { border-color: #eeeeef; border-radius: 8px; box-shadow: 0 1px 3.5px rgba(0, 0, 0, .025); transition: box-shadow .2s ease; }
@media (hover: hover) {
    .product-card:hover { box-shadow: 0 3px 9px rgba(0, 0, 0, .09); }
}
.product-card:focus-within { box-shadow: 0 3px 9px rgba(0, 0, 0, .09); }
.col-product-5 .product-card, .swiper-col-product-5 .product-card,
.col-product-6 .product-card, .swiper-col-product-6 .product-card { min-height: 0; }
.product-card .card-body { padding: 8px; }
.product-card .product-title { margin-bottom: 0; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .product-footer { margin-top: auto; padding-top: 2.2px; }
.product-card .product-price { flex-direction: row; flex-wrap: nowrap; gap: 6px; }
/* The native dynamic header sets the original-price size with !important. */
.product-card .product-price del { font-size: 1rem !important; }
.product-card .product-price > * { white-space: nowrap; }
/* Keep carousel clipping for offscreen slides, with room for card shadows. */
.section-category-products .swiper-carousel-product { --swiper-navigation-sides-offset: 22px; padding: 20px 12px; margin: -20px -12px; }
.product-card .price { font-size: 1rem; color: #000; }
.product-card .price-free { color: #000; }
@media(max-width:575.98px){.product-card .price{font-size:.9375rem}.product-card .product-price del{font-size:.9375rem!important}.product-card .product-price{gap:4px}}
@media(max-width:359.98px){.product-card .price{font-size:.875rem}.product-card .product-price del{font-size:.875rem!important}}
.product-card .airtech-product-card-color-trigger { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.product-card .airtech-product-card-color-trigger:focus-visible { outline: 2px solid #222; outline-offset: 3px; }
.product-card .airtech-product-card-badges { position: absolute; top: 8px; left: 8px; right: 54px; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.product-card .airtech-product-card-badges .product-card-badge { position: static; border-radius: 3px; height: auto; min-height: 23px; max-width: 100%; padding: 4px 7px; font-size: .6875rem; line-height: 1.25; overflow-wrap: anywhere; }
.product-card .airtech-product-card-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 3px 0 4px; }
.product-card .airtech-product-card-colors > span { display: flex; }
.product-card .airtech-product-card-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 3px 0 4px; }
.product-card .airtech-product-card-size, .product-card .airtech-product-card-color-text { max-width: 100%; padding: 3px 6px; border: 1px solid #dedee2; border-radius: 3px; color: #444; background: #fff; font-size: .6875rem; line-height: 1.35; overflow-wrap: anywhere; }
.product-card .airtech-product-card-color { display: block; width: 15px; height: 15px; border: 1px solid rgba(0, 0, 0, .22); border-radius: 50%; box-shadow: 0 0 0 1px #fff; }
@media (prefers-reduced-motion: reduce) { .product-card { transition: none; } }

/* Product/category filters: preserve native selectors and submission rules. */
.product-sort-by .dropdown .btn { border: none; }
.product-filters .filter-item .filter-list-categories li a,
.product-filters .filter-item .filter-list-subcategories li a { font-size: 12px; line-height: 12px; }
.airtech-products-page .airtech-product-filters { border: 0; padding: 0; }
.airtech-products-page .airtech-product-filters .product-filters { border: 0; border-radius: 8px; padding: 5px; }
.airtech-products-page .product-filters .filter-item { padding-bottom: 10px; margin-bottom: 10px; border-bottom-color: rgba(235, 236, 242, .5); }
.airtech-products-page .product-filters .filter-item-categories { padding-top: 12px; }
.airtech-products-page .product-filters .filter-item .title { margin-bottom: 12px; }
.airtech-products-page .filter-item-categories .filter-list { margin: 0; padding: 0; }
.airtech-products-page .filter-item-categories .filter-list li { margin: 0; border-bottom: 1px solid #f0f0f2; }
.airtech-products-page .filter-item-categories .filter-list li:last-child { border-bottom: 0; }
.airtech-products-page .filter-item-categories .filter-list li a { display: flex; align-items: center; gap: 8px; padding: 10px 0; text-decoration: none; }
.airtech-products-page .filter-item-categories .filter-list li a::after { content: '›'; margin-left: auto; color: #92989c; }
.airtech-products-page .filter-item-categories .filter-list li a:hover { color: #138b98; }
.airtech-products-page .airtech-price-inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.airtech-products-page .airtech-price-inputs input { width: 100%; min-width: 0; height: 44px; padding: 8px; font-size: 14px; }
.airtech-products-page .airtech-price-presets { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 12px; }
.airtech-products-page .airtech-price-preset { background: #fafafa; border: 1px solid #e9e9ed; border-radius: 5px; padding: 7px 9px; color: #555; text-align: left; font-size: 12px; line-height: 1.4; }
.airtech-products-page .airtech-price-preset:hover, .airtech-products-page .airtech-price-preset[aria-pressed=true] { background: #edf6f6; border-color: #9ac8cc; color: #186e77; }
.airtech-products-page .product-filters .airtech-filter-apply { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 44px; background: #171919; color: #fff !important; border: 1px solid #171919; border-radius: 5px; margin-top: 12px; }
.airtech-products-page .product-filters .airtech-filter-apply:hover { background: #353939; border-color: #353939; }
.airtech-products-sidebar-ad { margin-top: 0; width: 100%; max-width: 100%; padding: 5px; margin-left: auto; margin-right: auto; }
.airtech-products-sidebar-ad a { display: block; width: 100%; }
.airtech-products-sidebar-ad img { display: block; width: 100% !important; max-width: 100%; height: auto; }
.airtech-products-sidebar-ad iframe { max-width: 100%; }
.airtech-products-sidebar-ad-mobile { display: none; }
/* Home ads fill the existing content area instead of their stored pixel width. */
.index-wrapper .airtech-home-ad .bn-inner { width: 100%; max-width: 100%; height: auto; }
.index-wrapper .airtech-home-ad a { display: block; width: 100%; }
.index-wrapper .airtech-home-ad img { display: block; width: 100% !important; max-width: 100%; height: auto; }
@media (min-width: 992px) {
    .airtech-products-page .airtech-product-filters { max-height: calc(100vh - 24px); }
}
@media (max-width: 991.98px) {
    .airtech-products-page .col-sidebar-products, .airtech-products-page .col-content-products { flex: 0 0 100%; max-width: 100%; }
    .airtech-products-page .airtech-product-filters { max-height: none; overflow: visible; margin-bottom: 0; }
    .airtech-products-page .container-filter-products-mobile { margin-bottom: 0 !important; }
    .airtech-products-page .airtech-product-filters .product-filters { margin-bottom: 20px; }
    .airtech-products-sidebar-ad-desktop { display: none; }
    .airtech-products-sidebar-ad-mobile { display: block; }
}
.airtech-products-page .airtech-product-filters > .row-custom { float: none; }
.airtech-products-page .airtech-filter-search .form-input { min-width: 0; height: 44px; }
.airtech-products-page .airtech-filter-search-submit { height: 44px; padding: 0 12px; border: 1px solid #171919; background: #171919; color: #fff; }

/* Color image choices use the native swatch/gallery identity. */
.product-card .airtech-product-card-color-image{display:block;width:36px;height:36px;object-fit:cover;border:1px solid #dedee2;border-radius:4px;background:#f5f5f5;padding:2px}
.product-options-container .option-image-swatch img{background:#f5f5f5}

/* Both recommendation surfaces reuse the native card; their grids stay independent. */
.airtech-related-products-page > .title { font-weight: 600; }
.airtech-related-products-page > .row-product { max-width: 1180px; }
.airtech-related-products-modal > .row-product { max-width: none; }
.airtech-related-products-modal .product-card .product-image-container { max-height: 180px; }
.airtech-related-products .product-card { min-height: 0; }
.airtech-related-products .product-card .card-body { padding: 8px; }
.airtech-related-products .product-card .price { font-size: 1rem; }
.airtech-related-products .product-card .product-price del { font-size: 1rem !important; }
.airtech-related-products .product-card .airtech-product-card-colors { gap: 4px; margin: 4px 0; }
.airtech-related-products .product-card .airtech-product-card-color-image { width: 24px; height: 24px; }
.airtech-related-products .product-card .airtech-product-card-badges { top: 6px; left: 6px; right: 40px; }
.airtech-related-products .product-card .product-card-badge { padding: 3px 4px; min-height: 20px; font-size: .625rem; }
.airtech-related-products .product-card .product-actions-overlay { top: 6px; right: 6px; gap: 4px; }
.airtech-related-products .product-card .action-btn { width: 28px; height: 28px; font-size: 14px; }

/* All product photos remain available independently of the selected variant. */
.airtech-option-chips{display:flex;flex-wrap:wrap;gap:6px}
.airtech-option-chip-row{display:contents}
.airtech-option-chip{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 10px;border:1px solid #e1e2e6;border-radius:3px;background:#fff;color:#444;font-size:13px;line-height:20px;max-width:100%;overflow-wrap:anywhere}
.product-description .airtech-option-chip{border:0;background:transparent}
@media(min-width:992px){.airtech-option-chips{flex-direction:column;align-items:flex-start}.airtech-option-chip-row{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}}
.airtech-product-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.airtech-product-photo-grid figure{min-width:0;margin:0}
.airtech-product-photo-grid a{display:block;border:1px solid #e5e5e8;border-radius:4px;overflow:hidden;background:#f6f6f6;aspect-ratio:1}
.airtech-product-photo-grid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
@media(min-width:992px){.airtech-product-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Keep explicit previous/next controls available in the photo viewer on mobile. */
@media(max-width:767.98px){.glightbox-container.airtech-photo-viewer .gnext,.glightbox-container.airtech-photo-viewer .gprev{top:50%;transform:translateY(-50%);display:flex;width:44px;height:44px}.glightbox-container.airtech-photo-viewer .gprev{left:8px}.glightbox-container.airtech-photo-viewer .gnext{right:8px}}

/* Shared campaign and discount badge colors. */
.product-card .product-card-badge-green { background-color: #0e983a; }
.product-card .product-card-badge-campaign { background-color: var(--campaign-badge-bg, #0e983a); color: var(--campaign-badge-text, #fff); }
.product-card .product-card-badge-red { background-color: #f6465d; }

/* Keep the main photo visible while the optional hover photo is downloading. */
.product-card:hover .multi-image-container:not(.has-hover-image) .product-image.default-image {
    opacity: 1;
}
.product-card:hover .multi-image-container:not(.has-hover-image) .product-image.hover-image {
    opacity: 0;
}

/* Match UploadModel's 2560x781 desktop / 768x768 mobile slider outputs. */
.section-main-slider .main-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 2560 / 781;
}

.section-main-slider .main-slider .swiper-wrapper,
.section-main-slider .main-slider .swiper-slide.item {
    width: 100% !important;
    height: 100%;
}

.section-main-slider .main-slider .slide-background {
    object-fit: contain;
    object-position: center;
}

/* Keep this boundary identical to the existing picture source media query. */
@media (max-width: 769px) {
    .section-main-slider .main-slider {
        aspect-ratio: 1 / 1;
    }
}

.section-main-slider .main-slider .slide-content {
    display: block;
    width: 100%;
    height: 100%;
}
