.section.section--sm {
    padding-block: 0
}

@media (max-width:1023.98px) {
    .site-header {
        display: none !important
    }

    .mobile-bottom-nav {
        display: none !important
    }

    .ps-product-bar {
        display: flex !important
    }

    .section.section--sm {
        padding-block: 22px
    }

    body {
        padding-bottom: 0 !important
    }

    .site-header~.ps-product-bar~.section {
        margin-top: 52px
    }

    .footer-bottom {
        padding-block: 18px 70px !important
    }

    .ps-product-bar__back {
        transition: max-width .35s ease, opacity .3s ease;
    }

    .ps-product-bar__title {
        display: none
    }

    .breadcrumb .current {
        display: none
    }
}

.ps-product-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 910;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 0 16px;
    gap: 0;
    flex-wrap: wrap;
    height: auto;
    min-height: 52px
}

.ps-product-bar__row {
    display: flex;
    align-items: center;
    width: 100%;
    height: 52px;
    gap: 12px
}

.ps-product-bar__back {
    width: 38px;
    height: 38px;
    border: none;
    background: linear-gradient(135deg, var(--brand), var(--brand-3));
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #fff
}

.ps-product-bar__back svg {
    width: 20px;
    height: 20px
}

.ps-product-bar__title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center
}

.ps-product-bar__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto
}

.ps-product-bar__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--brand), var(--brand-3));
    color: #fff;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    position: relative
}

.ps-product-bar__icon .hact__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center
}

.ps-product-bar__icon .hact__icon svg {
    width: 20px;
    height: 20px
}

.ps-product-bar__icon svg {
    stroke: #fff !important
}

.ps-product-bar__badge {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.ps-product-bar__tabs {
    display: none;
    width: 100%;
    overflow: hidden;
}

.ps-product-bar__title {}

.ps-product-bar__actions {}

.ps-product-bar.is-tabs .ps-product-bar__tabs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: space-between;
}

.ps-product-bar.is-tabs .ps-product-bar__tabs::-webkit-scrollbar {
    display: none;
}

.ps-product-bar.is-tabs {
    justify-content: center;
}

.ps-tab {
    flex: 0 0 auto;
    padding: 12px 10px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    white-space: nowrap;
}

.ps-tab.is-active {
    color: var(--brand);
    border-bottom-color: var(--brand)
}

.ps-notif-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--surface);
    flex-direction: column;
}

.ps-notif-overlay.is-open {
    display: flex;
}

.ps-notif-overlay__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}

.ps-notif-overlay__close {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.ps-notif-overlay__close svg {
    width: 20px;
    height: 20px;
}

.ps-notif-overlay__title {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
}

.ps-notif-overlay__markall {
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand);
    cursor: pointer;
    font-family: inherit;
}

.ps-notif-overlay__list {
    flex: 1;
    overflow-y: auto;
}

.ps-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
}

.ps-notif-item.is-unread {
    background: var(--brand-soft);
}

.ps-notif-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
    margin-top: 6px;
}

.ps-notif-item:not(.is-unread) .ps-notif-item__dot {
    background: transparent;
}

.ps-notif-item__body {
    flex: 1;
    min-width: 0;
}

.ps-notif-item__body strong {
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.ps-notif-item__body p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 4px;
}

.ps-notif-item__body small {
    font-size: 11px;
    color: var(--muted);
}

.ps-notif-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.ps-notif-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

/* ---- In-cart button ---- */
.ps-in-cart-btn {
    cursor: default;
    pointer-events: none;
    opacity: .9;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
