/* Customer navigation and purchasing surfaces, shared across public and member pages. */
.sm-store-header .header-main>.account {
    margin-left: auto
}

body.sm-marketplace .mobile-bottom {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.sm-checkout-return {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 10px;
}

.sm-checkout-return h1 {
    margin: 0;
    font-size: clamp(1.15rem, 3vw, 1.6rem);
}

.sm-checkout-return a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #0755c1;
    font-size: .875rem;
    font-weight: 600;
}

.sm-checkout .shop-cart-item-title { flex-wrap: wrap; align-items: center; }
.sm-checkout .shop-cart-item-title strong { flex-basis: 100%; overflow-wrap: anywhere; }
.shop-cart-label { padding: 1px 6px; border-radius: 6px; background: #e8f2ff; color: #174f87; font-size: .7rem; font-weight: 600; }
.shop-cart-label-extra { background: #fff3ce; color: #824808; }
.shop-cart-extra-rounds { padding: 0 10px; border: 1px solid #e2e9f2; border-radius: 8px; font-size: .8rem; }
.shop-cart-extra-rounds summary { min-height: 36px; align-content: center; cursor: pointer; }
.shop-cart-extra-rounds ul { margin: 0 0 8px; padding-inline-start: 1rem; }
html[data-sm-theme=dark] .sm-checkout-return a { color: #a9d1ff; }
html[data-sm-theme=dark] .shop-cart-extra-rounds { border-color: #49617c; }

.sm-footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start
}

.sm-footer-content p {
    margin: 5px 0 0
}

.sm-partner-links {
    font-size: 14px;
    max-width: 100%
}

.sm-partner-links summary {
    cursor: pointer;
    min-height: 44px;
    align-content: center
}

.sm-partner-links>div {
    display: grid;
    gap: 6px;
    padding: 8px 0
}

.sm-partner-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center
}

.sm-secondary-catalog-link {
    font-size: 14px;
    margin: 0 0 12px;
    color: #0755c1
}

.sm-secondary-catalog-link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px
}

body.sm-shops .bo-search-form {
    max-width: none;
    flex-wrap: wrap
}

body.sm-shops .bo-search-form input {
    font-size: 16px;
    min-width: 140px;
    min-height: 44px
}

body.sm-marketplace .sm-header-focused .header-main {
    min-height: 72px
}

.sm-desktop-task {
    display: inline-flex;
    align-items: center;
    gap: 4px
}

body.sm-marketplace .sm-mobile-shortcuts a.active {
    background: #ffffff20;
    border-radius: 10px;
    font-weight: 700
}

body.sm-marketplace .sm-filter select {
    flex: 1 1 180px;
    min-width: min(100%, 180px)
}

@media(max-width:760px) {
    body.sm-marketplace .sm-filter {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto
    }

    body.sm-marketplace .sm-filter :is(input, select) {
        width: 100%;
        min-width: 0
    }

    body.sm-marketplace .sm-filter input[type=search] {
        grid-column: 1/-1
    }

    body.sm-marketplace .sm-filter:has(input[name=area]) select {
        grid-column: 1/-1
    }

    body.sm-marketplace .sm-filter .btn {
        width: 100%
    }
}

@media(max-width:760px) {
    body.sm-marketplace .sm-store-header .account>.sm-desktop-task {
        display: none
    }

    .sm-footer-content {
        flex-direction: column;
        gap: 12px
    }
}

.sm-store-header .sm-cart-link {
    display: grid;
    place-items: center;
    width: 34px;
    height: 38px;
    font-size: 20px
}

.sm-store-header .brand small {
    white-space: nowrap;
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block
}

.sm-store-header .main-nav {
    overflow: visible;
    flex-wrap: wrap;
    gap: 22px
}

.sm-seller-menu {
    position: relative;
    margin-left: auto;
    font-size: 12px;
    color: var(--muted)
}

.sm-seller-menu summary {
    cursor: pointer;
    padding: 10px 0
}

.sm-seller-menu>div {
    position: absolute;
    right: 0;
    top: 100%;
    width: 215px;
    padding: 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 25px #18324b20;
    z-index: 25
}

.sm-seller-menu a {
    display: block;
    padding: 11px !important;
    white-space: normal
}

.sm-seller-menu a:hover {
    background: #edf5ff;
    border-radius: 8px
}

.sm-category-hub {
    margin: 24px 0 32px;
    scroll-margin-top: 170px
}

.sm-category-groups {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 16px
}

.sm-category-group {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    min-width: 0
}

.sm-category-group h2,
.sm-category-group h3 {
    font-size: 17px;
    margin: 0 0 12px
}

.sm-category-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 3px
}

.sm-category-group li a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-radius: 8px;
    padding: 8px 9px;
    font-size: 12px
}

.sm-category-group li a:hover {
    background: #edf5ff;
    color: #0755c1
}

.sm-category-group small {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap
}

.sm-category-group .sm-group-link {
    display: inline-block;
    color: #0755c1;
    font-weight: 600;
    font-size: 12px;
    margin-top: 12px
}

.sm-catalog-heading {
    margin: 27px 0 20px
}

.sm-catalog-heading h1 {
    font-size: 28px;
    margin: 0 0 8px
}

.sm-catalog-heading p,
.sm-help {
    font-size: 12px;
    color: var(--muted)
}

.sm-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0
}

.sm-filter input,
.sm-filter select {
    padding: 10px 12px;
    border: 1px solid #c6d8ed;
    border-radius: 10px;
    background: white;
    min-width: 0;
    max-width: 100%
}

.sm-filter input {
    flex: 1;
    min-width: 140px
}

.sm-product-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px
}

.sm-product-actions .btn {
    padding: 8px 10px;
    min-height: 35px;
    font-size: 11px;
    gap: 5px
}

.sm-product-actions .sm-secondary {
    background: #eaf3ff;
    color: #0755c1
}

.sm-price-label {
    font-size: 10px;
    color: var(--muted);
    display: block
}

.sm-list-price {
    font-size: 11px;
    color: #748398;
    text-decoration: line-through;
    margin-right: 5px
}

.sm-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 25px 0;
    background: white;
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 20px
}

.sm-product-gallery {
    min-width: 0
}

.sm-product-main-image {
    aspect-ratio: 1;
    background: #f6f9fd;
    border-radius: 15px;
    display: grid;
    place-items: center;
    overflow: hidden
}

.sm-product-main-image img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain
}

.sm-product-thumbs {
    display: flex;
    overflow: auto;
    gap: 8px;
    margin-top: 12px
}

.sm-product-thumbs a {
    flex-shrink: 0
}

.sm-product-thumbs img {
    height: 60px;
    width: 60px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: contain
}

.sm-product-detail>div {
    min-width: 0
}

.sm-product-detail h1 {
    font-size: 27px;
    margin: 10px 0
}

.sm-product-detail .price {
    font-size: 31px;
    font-weight: 800;
    color: #0866e8
}

.sm-detail-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 8px
}

.sm-detail-price-row .sm-list-price {
    font-size: 15px;
    margin: 0
}

.sm-detail-price-row .sm-card-saving {
    font-size: 12px;
    padding: 3px 10px;
    margin: 0
}

.sm-description {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.9;
    font-size: 14px
}

.sm-buy-form {
    margin: 20px 0
}

.sm-buy-form label {
    display: block;
    font-size: 12px;
    margin-bottom: 7px
}

.sm-buy-form input[type=number] {
    width: 95px;
    padding: 10px;
    border: 1px solid #c4d6eb;
    border-radius: 9px;
    margin-bottom: 13px
}

.sm-buy-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.sm-buy-buttons .sm-secondary {
    background: #eaf3ff;
    color: #0755c1;
    border: 1px solid #c7def8
}

.sm-buy-buttons .sm-secondary:hover {
    background: #dcecff
}

.sm-buy-status {
    margin-top: 13px;
    font-size: 13px;
    white-space: pre-line
}

.sm-buy-status.error {
    color: #b42318
}

.sm-buy-status.success {
    color: #137451
}

.sm-buy-form button:disabled {
    opacity: .65;
    cursor: wait
}

.sm-breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 11px;
    margin: 22px 0 12px
}

.sm-breadcrumb a {
    color: #0755c1
}

.sm-member-notice {
    padding: 13px 16px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #365776;
    font-size: 12px;
    margin: 18px 0
}

.sm-pagination {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin: 27px 0
}

.sm-pagination a {
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 8px 14px;
    font-size: 12px
}

.sm-checkout main.container {
    width: min(1320px, 100% - 48px);
    max-width: 1320px;
    margin: 25px auto;
    padding: 0;
    min-height: 40vh
}

.sm-checkout .site-header .brand,
.sm-checkout .site-header .account a,
.sm-checkout .site-header .main-nav a {
    color: var(--ink);
    text-decoration: none
}

.sm-checkout .site-header .main-nav .active {
    color: #0866e8
}

.sm-checkout .mobile-bottom a {
    text-decoration: none
}

.sm-checkout .footer-links a {
    color: var(--ink)
}

.sm-checkout .sm-store-header .search input {
    box-shadow: none;
    height: auto
}

.sm-checkout .sm-store-header .search button {
    padding: 0
}

@media(max-width:1000px) {
    .sm-category-groups {
        grid-template-columns: 1fr 1fr
    }

    .sm-category-group:last-child {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {
    .sm-store-header .main-nav {
        gap: 17px;
        flex-wrap: nowrap;
        overflow-x: auto
    }

    .sm-seller-menu {
        display: none
    }

    .sm-store-header .brand {
        min-width: 0
    }

    .sm-store-header .brand small {
        display: none
    }

    .sm-store-header .account {
        gap: 8px
    }

    .sm-store-header .sm-cart-link {
        width: 28px;
        font-size: 18px
    }

    .sm-category-groups {
        grid-template-columns: 1fr;
        gap: 11px
    }

    .sm-category-group:last-child {
        grid-column: auto
    }

    .sm-category-group {
        padding: 16px
    }

    .sm-category-hub {
        scroll-margin-top: 185px
    }

    .sm-product-detail {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 16px;
        margin-top: 14px
    }

    .sm-product-detail h1 {
        font-size: 23px
    }

    .sm-product-main-image {
        max-height: 350px
    }

    .sm-catalog-heading h1 {
        font-size: 24px
    }

    .sm-checkout main.container {
        width: calc(100% - 28px);
        margin: 18px auto
    }

    .sm-store-footer {
        padding-bottom: 85px
    }

    .sm-filter select {
        flex: 1
    }

    .sm-filter .btn {
        flex-shrink: 0
    }
}

@media(max-width:360px) {
    .sm-store-header .brand {
        gap: 5px
    }

    .sm-store-header .brand img {
        width: 26px;
        height: 26px
    }

    .sm-store-header .brand strong {
        font-size: 18px
    }

    .sm-store-header .account {
        gap: 6px
    }

    .sm-store-header .account a {
        font-size: 10px
    }

    .sm-store-header .account .join {
        padding: 6px
    }

    .sm-store-header .sm-cart-link {
        width: 20px;
        font-size: 16px
    }

    .sm-store-header .header-main {
        column-gap: 8px
    }
}

.sm-home-categories>summary {
    cursor: pointer;
    padding: 17px 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    font-weight: 600;
    font-size: 13px
}

.sm-home-categories[open]>summary {
    margin-bottom: 12px
}

.sm-chat-nav-badge {
    background: #0866e8;
    color: white;
    font-size: 9px;
    font-weight: 600;
    min-width: 17px;
    padding: 1px 5px;
    border-radius: 99px;
    margin-left: 4px;
    line-height: 1.5
}

.sm-chat-nav-badge[hidden] {
    display: none !important
}

@media(max-width:760px) {
    .sm-marketplace .mobile-bottom {
        grid-template-columns: repeat(5, 1fr)
    }

    .sm-marketplace .mobile-bottom a {
        position: relative
    }

    .sm-marketplace .mobile-bottom .sm-chat-nav-badge {
        position: absolute;
        top: -3px;
        left: 52%;
        font-size: 8px
    }
}

/* Selected marketplace header: compact, bright blue, with real account actions. */
.sm-mobile-shortcuts {
    display: none
}

body.sm-marketplace .utility {
    background: #0450bb;
    color: #d7e8ff
}

body.sm-marketplace .utility a {
    color: #fff
}

body.sm-marketplace .sm-store-header {
    background: linear-gradient(110deg, #effff9 0%, #c8f8ee 18%, #57cadb 42%, #1675d9 68%, #064bb6 100%);
    border-bottom: 0;
    box-shadow: 0 3px 12px #074bba18
}

body.sm-marketplace .sm-store-header .account a {
    color: #fff
}

body.sm-marketplace .sm-store-header .brand {
    background: transparent;
    color: #124a88;
    padding: 0;
    border-radius: 0;
    width: fit-content;
    justify-self: start;
}

body.sm-marketplace .sm-store-header .brand small {
    color: #496c85
}

body.sm-marketplace .sm-store-header .brand img {
    background: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    object-fit: contain;
    box-shadow: none;
    filter: none;
    transform: none;
}

body.sm-marketplace .sm-store-header .account .join {
    color: #fff;
    border-color: #ffffff66;
    background: #ffffff0d
}

body.sm-marketplace .sm-store-header .account .join:hover {
    background: #ffffff20
}

body.sm-marketplace .sm-store-header .search {
    background: #fff;
    border-color: #fff;
    border-radius: 24px;
    box-shadow: none
}

body.sm-marketplace .sm-store-header .search input {
    color: #18324b
}

body.sm-marketplace .sm-store-header .search input::placeholder {
    color: #62778d;
    opacity: 1
}

body.sm-marketplace .sm-store-header .search select {
    color: #476580
}

body.sm-marketplace .sm-store-header .search button {
    background: #edf4ff;
    color: #0866e8;
    border-radius: 50%
}

body.sm-marketplace .sm-store-header .search button:hover {
    background: #dceaff
}

body.sm-marketplace .sm-nav-band {
    background: #0755c1;
    border-top: 1px solid #ffffff18
}

body.sm-marketplace .sm-store-header .main-nav {
    gap: 20px;
    min-height: 44px
}

body.sm-marketplace .sm-store-header .main-nav>a {
    color: #e3efff;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 5px 3px;
    margin: 5px 0;
    line-height: 21px
}

body.sm-marketplace .sm-store-header .main-nav>a:hover {
    color: #fff;
    border-bottom-color: #ffffff77
}

body.sm-marketplace .sm-store-header .main-nav>a.active {
    background: transparent;
    color: #fff;
    border-bottom-color: #8affd9;
    font-weight: 700
}

body.sm-marketplace .sm-store-header .sm-seller-menu {
    color: #e3efff
}

body.sm-marketplace .sm-store-header .sm-seller-menu summary {
    padding: 8px 3px
}

body.sm-marketplace .sm-store-header .sm-seller-menu>div {
    background: #fff;
    border-color: #dbe6f2;
    box-shadow: 0 10px 25px #07336320
}

body.sm-marketplace .sm-store-header .sm-seller-menu a {
    color: #18324b
}

body.sm-marketplace .sm-store-header .sm-seller-menu a:hover {
    color: #0755c1;
    background: #f2f7fd
}

body.sm-marketplace .sm-store-header a:focus-visible,
body.sm-marketplace .sm-store-header summary:focus-visible {
    outline: 3px solid #a6ffe9;
    outline-offset: 2px
}

body.sm-marketplace .sm-store-header .search input:focus-visible,
body.sm-marketplace .sm-store-header .search select:focus-visible {
    outline: 2px solid #0866e8;
    outline-offset: -2px
}

body.sm-marketplace .sm-store-header .sm-chat-nav-badge {
    background: #8affd9;
    color: #03407e
}

body.sm-marketplace .sm-store-header .sm-cart-link,
body.sm-marketplace .sm-store-header .sm-notifications-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 38px;
    color: #fff;
    flex-shrink: 0
}

.sm-header-count {
    position: absolute;
    right: -2px;
    top: 0;
    background: #63f1ba;
    color: #03457a;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    font-size: 9px;
    line-height: 1
}

.sm-card-price > span {
    display: block;
}

body.sm-marketplace .product-card .sm-card-price > :is(.price, .sm-list-price) {
    line-height: 1.15;
}


.product-grid > .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sm-catalog-card-footer {
    margin-top: auto;
    padding-top: 5px;
}

.sm-card-cart-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
}

.sm-card-cart-form .sm-card-price {
    min-width: 0;
    overflow-wrap: anywhere;
}

.sm-card-cart {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #bcd8ff;
    border-radius: 12px;
    background: #eaf3ff;
    color: #0755c1;
    cursor: pointer;
}

.sm-card-cart svg {
    width: 22px;
    height: 22px;
}

.sm-card-cart:hover {
    background: #dbeaff;
}

.sm-card-cart:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

.sm-card-cart:disabled {
    opacity: .65;
    cursor: wait;
}

.sm-card-cart-check {
    display: none;
}

.sm-card-cart-form:has(.success) .sm-card-cart {
    border-color: #91dabb;
    background: #e5f8ef;
    color: #087450;
}

.sm-card-cart-form:has(.success) .sm-card-cart > svg {
    display: none;
}

.sm-card-cart-form:has(.success) .sm-card-cart-check {
    display: inline-flex;
}

.sm-card-cart-form .sm-buy-status {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.sm-card-cart-form .sm-buy-status:is(:empty, .success) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

html[data-sm-theme=dark] .sm-card-cart {
    border-color: #375c91;
    background: #203b62;
    color: #b9d8ff;
}

html[data-sm-theme=dark] .sm-card-cart:hover {
    background: #294b77;
}

html[data-sm-theme=dark] .sm-card-cart-form:has(.success) .sm-card-cart {
    border-color: #42765f;
    background: #1b4235;
    color: #bcf0d8;
}

html[data-sm-theme=dark] .sm-card-cart-form .sm-buy-status.error {
    color: #ffb9b0;
}

.sm-card-price .sm-list-price {
    font-size: 10px;
    margin: 0
}

.sm-card-saving {
    display: inline-block;
    margin-top: 5px;
    border-radius: 99px;
    background: #d9fae9;
    color: #07694b;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px
}

body.sm-marketplace .sm-member-discount {
    background: #bdffdc;
    color: #075238;
    font-size: 9px;
    font-weight: 700;
    border-radius: 7px
}

@media(max-width:760px) {
    body.sm-marketplace .sm-store-header .header-main {
        padding: 11px 0 7px;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) auto
    }

    body.sm-marketplace .sm-store-header .brand {
        gap: 7px
    }

    body.sm-marketplace .sm-store-header .brand img {
        width: 34px;
        height: 34px
    }

    body.sm-marketplace .sm-store-header .brand strong {
        font-size: 24px;
        letter-spacing: -.6px
    }

    body.sm-marketplace .sm-store-header .account {
        gap: 6px
    }

    body.sm-marketplace .sm-store-header .account>a:not(.sm-cart-link):not(.sm-notifications-link) {
        display: none
    }

    body.sm-marketplace .sm-store-header .sm-cart-link,
    body.sm-marketplace .sm-store-header .sm-notifications-link {
        width: 32px;
        height: 34px
    }

    body.sm-marketplace .sm-store-header .sm-cart-link svg,
    body.sm-marketplace .sm-store-header .sm-notifications-link svg {
        width: 22px;
        height: 22px
    }

    body.sm-marketplace .sm-store-header .search {
        padding: 3px;
        border-radius: 22px;
        min-height: 37px
    }

    body.sm-marketplace .sm-store-header .search select {
        max-width: 77px;
        font-size: 10px;
        padding: 6px
    }

    body.sm-marketplace .sm-store-header .search input {
        font-size: 11px;
        padding: 6px 7px
    }

    body.sm-marketplace .sm-store-header .search button {
        height: 29px;
        width: 31px;
        font-size: 20px;
        background: #fff
    }

    body.sm-marketplace .sm-nav-band {
        border-top: 0;
        background: transparent
    }

    body.sm-marketplace .sm-store-header .main-nav {
        display: none
    }

    body.sm-marketplace .sm-mobile-shortcuts {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 4px 0 9px
    }

    body.sm-marketplace .sm-mobile-shortcuts a {
        display: flex;
        flex-direction: column;
        gap: 3px;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 10px;
        min-height: 42px;
        position: relative;
        text-align: center
    }

    body.sm-marketplace .sm-mobile-shortcuts a+a:before {
        content: '';
        position: absolute;
        left: 0;
        top: 5px;
        width: 1px;
        height: 25px;
        background: #ffffff36
    }

    body.sm-marketplace .sm-mobile-shortcuts svg {
        height: 21px;
        width: 21px
    }

    body.sm-marketplace .mobile-bottom {
        background: #fffffff7;
        border-top: 1px solid #e5edf6;
        box-shadow: 0 -3px 14px #07336308
    }

    body.sm-marketplace .mobile-bottom a {
        color: #132b49;
        border-radius: 0;
        margin: 0 3px;
        background: transparent
    }

    body.sm-marketplace .mobile-bottom a.active {
        color: #0866e8;
        background: transparent;
        font-weight: 700
    }

    body.sm-marketplace .mobile-bottom a.active:before {
        display: none
    }

    body.sm-marketplace .mobile-bottom .sm-chat-nav-badge {
        background: #0866e8;
        color: #fff
    }

    body.sm-marketplace .mobile-bottom a:focus-visible {
        outline: 2px solid #0866e8;
        outline-offset: 0
    }
}

@media(max-width:360px) {
    body.sm-marketplace .sm-store-header .brand strong {
        font-size: 22px
    }

    body.sm-marketplace .sm-store-header .brand img {
        width: 31px;
        height: 31px
    }

    body.sm-marketplace .sm-mobile-shortcuts a {
        font-size: 9px
    }
}

.sm-header-count[hidden] {
    display: none !important
}

body.sm-marketplace .sm-store-header .search button {
    display: grid;
    place-items: center
}

body.sm-marketplace .sm-store-header .search button svg {
    width: 19px;
    height: 19px
}

/* Keep account access visible alongside the four customer destinations. */
@media(max-width:760px) {
    body.sm-marketplace .sm-store-header .account>a:not(.sm-cart-link):not(.sm-notifications-link).sm-account-entry {
        display: block;
        font-size: 10px;
        white-space: nowrap;
        padding: 4px 5px;
        border: 1px solid #ffffff66;
        border-radius: 7px
    }

    body.sm-marketplace .sm-store-header .brand strong {
        font-size: 21px
    }

    .sm-mobile-shortcuts a {
        overflow-wrap: anywhere
    }
}

.sm-card-rating {
    display: block;
    font-size: 12px;
    color: #916200;
    margin: 5px 1px;
}

.sm-rating-empty {
    color: #63788f;
}

.sm-reviews {
    scroll-margin-top: 100px;
}

.sm-review {
    border: 1px solid #deE8f3;
    border-radius: 12px;
    padding: 18px;
    margin: 14px 0;
    background: white;
}

.sm-review header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    font-size: 14px;
}

.sm-review header>span {
    color: #916200;
}

.sm-review time {
    color: #52677e;
    margin-left: auto;
}

.sm-review-comment {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

.sm-review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.sm-review-images img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 8px;
}

.sm-review video {
    width: 100%;
    max-width: 480px;
    max-height: 360px;
    margin: 12px 0;
}

.sm-review blockquote {
    background: #f3f8fd;
    border-left: 3px solid #0866e8;
    margin: 14px 0 0;
    padding: 12px;
}

.sm-review-video-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #0866e8;
}

/* Customer shopping catalog. */
.sm-shopping {
    --shop-panel: #fff;
    --shop-soft: #edf5ff;
    padding: 22px 0;
}

.sm-shopping-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sm-shopping-title h1 {
    font-size: 26px;
    margin: 0;
}

.sm-shopping-title>a {
    font-size: 14px;
    color: #0866e8;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.sm-shopping-search {
    display: flex;
    gap: 10px;
}

.sm-shopping-search input {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid var(--line);
    background: var(--shop-panel);
    color: var(--ink);
    border-radius: 10px;
}

.sm-shopping-search .btn {
    gap: 8px;
}

.sm-shopping-keywords,
.sm-shopping-categories,
.sm-shopping-active {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sm-shopping-keywords {
    margin: 8px 0 14px;
    font-size: 13px;
    color: var(--muted);
}

.sm-shopping-keywords a {
    padding: 8px 12px;
    min-height: 40px;
    border-radius: 99px;
    background: var(--shop-panel);
    border: 1px solid var(--line);
    color: var(--ink);
}

.sm-shopping-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 14px;
}

.sm-shopping-sidebar {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.sm-shopping-filters {
    background: var(--shop-panel);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.sm-shopping-filters summary {
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 13px 14px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sm-summary-selected {
    font-size: 12px;
    font-weight: 600;
    color: #0866e8;
    background: #edf5ff;
    padding: 2px 8px;
    border-radius: 99px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 58%;
}

.sm-shopping-filter-body {
    padding: 0 12px 12px;
}

.sm-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.sm-category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13.5px;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .15s, border-color .15s, color .15s;
}

.sm-category-list li a:hover {
    background: #f0f7ff;
    color: #0755c1;
}

.sm-category-list li a.selected {
    background: linear-gradient(135deg, #e5f9f3 0%, #e5f1ff 100%);
    color: #0652b8;
    border-color: #b4d8f8;
    font-weight: 700;
}

.sm-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 7px;
    border-radius: 99px;
    background: #edf4fc;
    color: #3d638c;
    font-size: 11.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.sm-category-list li a.selected .sm-cat-count {
    background: #0866e8;
    color: #fff;
}

.sm-category-group li a .sm-cat-count {
    margin-left: auto;
}

.sm-shopping-filter-body fieldset {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.sm-shopping-filter-body legend {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 9px;
}

.sm-shopping-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.sm-shopping-price label {
    font-size: 13px;
    min-width: 0;
    color: var(--muted);
}

.sm-shopping-price input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--line);
    background: var(--shop-panel);
    color: var(--ink);
    border-radius: 8px;
    padding: 8px;
    font-size: 16px;
}

.sm-shopping-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    min-height: 44px;
    cursor: pointer;
}

.sm-shopping-check input {
    accent-color: #0866e8;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
}

.sm-shopping-filter-body>.btn {
    width: 100%;
}

.sm-shopping-reset {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    color: var(--muted);
}

.sm-shopping-results {
    min-width: 0;
}

.sm-catalog-enhanced .sm-shopping-sort-button {
    display: none;
}

.sm-shopping-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 14px;
}

.sm-shopping-toolbar p {
    margin: 0;
}

.sm-shopping-toolbar>div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-shopping-toolbar select {
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--shop-panel);
    color: var(--ink);
    padding: 6px 9px;
    font-size: 14px;
}

.sm-shopping .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.sm-shopping-active {
    margin-bottom: 12px;
}

.sm-shopping-active a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    background: var(--shop-soft);
    color: var(--ink);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.sm-shopping-active a>span {
    font-size: 18px;
}

@media(max-width:1100px) and (min-width:761px) {
    .sm-shopping .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sm-shopping-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 15px;
    }
}

@media(max-width:760px) {
 .sm-shopping { padding-top:14px; }
 .sm-shopping-title { margin-bottom:10px; }
 .sm-shopping-title h1 { font-size:22px; }
 .sm-shopping-title>a { font-size:13px; }
 .sm-shopping-keywords { flex-wrap:nowrap; overflow-x:auto; padding-bottom:3px; margin:6px 0 8px; }
 .sm-shopping-keywords :is(span,a) { white-space:nowrap; flex-shrink:0; font-size:12.5px; min-height:34px; padding:5px 11px; }
 .sm-shopping { isolation:isolate; }
 .sm-shopping-layout { grid-template-columns:minmax(0,1fr); gap:10px; margin-top:8px; }
 .sm-shopping-sidebar { position:relative; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:8px; z-index:20; }
 .sm-shopping-filters { border-radius:11px; }
 .sm-shopping-filters[open] { border-color:#0866e8; box-shadow:0 4px 12px rgba(8,102,232,.12); }
 .sm-shopping-filters summary { font-size:13.5px; padding:8px 11px; min-height:42px; list-style:none; }
 .sm-shopping-filters summary::-webkit-details-marker { display:none; }
 .sm-shopping-filters summary:after { content:'▾'; font-size:12px; color:#5080ae; flex-shrink:0; transition:transform .15s; }
 .sm-shopping-filters[open] summary:after { transform:rotate(180deg); color:#0866e8; }
 .sm-summary-selected { font-size:11.5px; padding:2px 7px; max-width:56%; margin-left:auto; }
 .sm-shopping-sidebar .sm-shopping-filter-body { position:absolute; left:0; right:0; top:calc(100% + 6px); background:var(--shop-panel); border:1px solid #b8d4f4; border-radius:14px; padding:12px; box-shadow:0 16px 36px rgba(15,35,60,.18); z-index:30; max-height:68vh; overflow-y:auto; }
 .sm-shopping-sidebar .sm-category-list { grid-template-columns:1fr; gap:4px; }
 .sm-shopping-sidebar .sm-category-list li a { font-size:13.5px; padding:9px 11px; min-height:42px; background:#f8fbff; border-color:#e4eef8; }
 .sm-shopping .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .sm-shopping-toolbar { margin-bottom:8px; font-size:13px; }
 .sm-shopping-toolbar select { min-height:38px; font-size:13px; padding:4px 8px; }
}

@media(max-width:360px) {
 .sm-shopping-filters summary { font-size:12.5px; padding:7px 8px; }
 .sm-summary-selected { max-width:48%; font-size:10.5px; }
}
html[data-sm-theme=dark] .sm-shopping { --shop-panel:#192637; --shop-soft:#233c57; }
html[data-sm-theme=dark] .sm-shopping-sidebar .sm-shopping-filter-body { border-color:#49617c; box-shadow:0 16px 36px rgba(0,0,0,.45); }
html[data-sm-theme=dark] .sm-summary-selected { background:#233c57; color:#a5ceff; }
html[data-sm-theme=dark] .sm-category-list li a { color:#e4edf8; background:transparent; border-color:transparent; }
html[data-sm-theme=dark] .sm-category-list li a:hover { background:#21344b; color:#a5ceff; }
html[data-sm-theme=dark] .sm-category-list li a.selected { background:#233c57; color:#a5ceff; border-color:#537aa6; }
html[data-sm-theme=dark] .sm-cat-count { background:#23364d; color:#b7cbe1; }
html[data-sm-theme=dark] .sm-category-list li a.selected .sm-cat-count { background:#0866e8; color:#fff; }
html[data-sm-theme=dark] .sm-shopping-title>a { color:#7eb6ff; }

html[data-sm-theme=dark] .sm-shopping {
    --shop-panel: #192637;
    --shop-soft: #233c57;
}

html[data-sm-theme=dark] .sm-summary-selected {
    background: #233c57;
    color: #a5ceff;
}

html[data-sm-theme=dark] .sm-category-list li a {
    color: #e4edf8;
    background: transparent;
    border-color: transparent;
}

html[data-sm-theme=dark] .sm-category-list li a:hover {
    background: #21344b;
    color: #a5ceff;
}

html[data-sm-theme=dark] .sm-category-list li a.selected {
    background: #233c57;
    color: #a5ceff;
    border-color: #537aa6;
}

html[data-sm-theme=dark] .sm-cat-count {
    background: #23364d;
    color: #b7cbe1;
}

html[data-sm-theme=dark] .sm-category-list li a.selected .sm-cat-count {
    background: #0866e8;
    color: #fff;
}

html[data-sm-theme=dark] .sm-shopping-title>a {
    color: #7eb6ff;
}

.sm-body-search {
    margin: 14px auto 0;
}

.sm-body-search .search {
    padding: 4px 6px;
    background: #fff;
    border: 1px solid #c8d9eb;
    border-radius: 14px;
}

.sm-body-search .search input {
    font-size: 16px;
    min-height: 44px;
    color: #18324b;
}

.sm-body-search .search button {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    background: #0866e8;
    color: #fff;
    border-radius: 10px;
}

html[data-sm-theme=dark] .sm-body-search .search {
    background: #192637;
    border-color: #49617c;
}

html[data-sm-theme=dark] .sm-body-search .search input {
    color: #e4edf8;
}

@media(max-width:760px) {
    body.mp-home .sm-body-search {
        width: calc(100% - 22px);
        margin-top: 12px;
    }
}

.sm-shop-kind {
    margin: 4px 0 8px;
    color: #087e9b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

html[data-sm-theme=dark] .sm-shop-kind {
    color: #7ddce9;
}

body.sm-shops .bo-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

body.sm-shops .bo-search-form :is(input:not([type=hidden]), select) {
    flex: 1 1 180px;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    border: 1px solid #d7e4f2;
    background: #fff;
    color: #17324b;
    padding: 9px 12px;
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
}

body.sm-shops #bo-offline .bo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.sm-shops .bo-card-compact {
    padding: 14px;
    gap: 8px;
    border-top: 1px solid #dce7f4;
    border-radius: 14px;
    box-shadow: 0 4px 12px -6px rgba(8, 102, 232, .07);
}

.bo-local-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(145deg, #dcfdf4 0%, #e3f4ff 100%);
    color: #0b688a;
    border: 1px solid #cdebf6;
}

body.sm-shops .bo-card-compact .bo-card-top {
    gap: 10px;
    align-items: center;
}

body.sm-shops .bo-card-compact .bo-shop-name {
    font-size: 14px;
    line-height: 1.45;
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.sm-shops .bo-card-compact .sm-shop-kind {
    font-size: 12.5px;
    margin: 0;
    line-height: 1.35;
}

.bo-compact-address {
    color: #60768d;
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media(max-width:1100px) {
    body.sm-shops #bo-offline .bo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media(max-width:820px) {
    body.sm-shops #bo-offline .bo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:520px) {
    body.sm-shops #bo-offline .bo-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.sm-shops .bo-card-compact {
        padding: 12px;
    }
}

html[data-sm-theme=dark] body.sm-shops .bo-search-form :is(input:not([type=hidden]), select) {
    background: #192637;
    color: #e4edf8;
    border-color: #49617c;
}

html[data-sm-theme=dark] .bo-compact-address {
    color: #a9bbcf;
}

html[data-sm-theme=dark] .bo-local-icon {
    background: #21344b;
    color: #7ddce9;
    border-color: #3a5573;
}

.sm-transport-bo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0
}

.sm-transport-bo-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid #dce7f4;
    border-radius: 14px;
    background: var(--panel, #fff);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease
}

.sm-transport-bo-card:hover {
    transform: translateY(-2px);
    border-color: #9ec5f8;
    box-shadow: 0 10px 22px -10px rgba(8, 102, 232, .16)
}

.sm-transport-head {
    display: flex;
    align-items: center;
    gap: 10px
}

.sm-transport-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.sm-transport-meta .sm-shop-kind {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.35
}

.sm-transport-province {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35
}

.sm-transport-bo-card h3 {
    font-size: 14px;
    line-height: 1.45;
    margin: 2px 0 0;
    overflow-wrap: anywhere
}

.sm-transport-bo-card p,
.sm-transport-bo-card small {
    font-size: 12.5px;
    margin: 0
}

.sm-transport-bo-card small {
    color: var(--muted);
    margin-top: auto;
    padding-top: 4px
}

@media(max-width:1100px) {
    .sm-transport-bo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:820px) {
    .sm-transport-bo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:520px) {
    .sm-transport-bo-grid {
        grid-template-columns: 1fr
    }
}

.sm-store-profile .shop-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.sm-store-avatar {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(145deg, #dcfdf4 0%, #e3f4ff 100%);
    color: #0b688a;
    border: 1px solid #cdebf6;
    display: grid;
    place-items: center
}

.sm-store-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.sm-province-badge {
    background: #f0fdf9;
    color: #087e9b;
    border: 1px solid #ccebf5
}

.sm-store-address {
    color: var(--ink);
    font-size: 14px;
    margin: 4px 0 8px
}

html[data-sm-theme=dark] .sm-transport-bo-card {
    background: #192637;
    border-color: #34465b;
    color: #e4edf8
}

html[data-sm-theme=dark] .sm-store-avatar {
    background: #21344b;
    color: #7ddce9;
    border-color: #3a5573
}

html[data-sm-theme=dark] .sm-province-badge {
    background: #21344b;
    color: #7ddce9;
    border-color: #3a5573
}

html[data-sm-theme=dark] .sm-buy-buttons .sm-secondary {
    background: #21344b;
    color: #a5ceff;
    border-color: #49617c
}

/* A subtle white outline helps the wordmark stand out against the gradient. */
body.sm-marketplace .sm-store-header .brand strong {
    paint-order: stroke fill;
    -webkit-text-stroke: 2px #fff;
}

/* Match the shared customer header dimensions across public and auth pages. */
@media(min-width:1024px) {

    body.sm-marketplace .sm-store-header .wrap,
    body.sm-marketplace .utility .wrap {
        width: calc(100% - 64px);
        max-width: 1280px;
        margin-inline: auto;
    }

    body.sm-marketplace .sm-store-header .header-main {
        padding-block: 14px;
        min-height: 80px;
    }
}

@media(max-width:760px) {
    body.sm-auth-page .sm-store-header .header-main {
        min-height: 0;
    }
}

body.sm-marketplace .sm-store-header .brand strong {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 700;
}

/* Customer footer */
body.sm-marketplace .sm-store-footer .sm-footer-content {
    display: grid;
    grid-template-columns: minmax(210px, 1.1fr) minmax(0, 3fr);
    gap: 28px;
    align-items: start;
}

.sm-footer-brand strong {
    font-size: 20px;
    color: #173b61;
}

.sm-footer-brand p {
    color: #60768d;
    font-size: 13px;
    line-height: 1.7;
}

.sm-footer-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 20px;
}

.sm-footer-group h2 {
    margin: 0 0 10px;
    color: #173b61;
    font-size: 14px;
}

.sm-footer-group>div,
.sm-footer-mobile-group>div {
    display: grid;
    gap: 4px;
}

.sm-footer-groups a {
    color: #526e8b;
    font-size: 13px;
    line-height: 1.5;
    min-height: 34px;
    display: flex;
    align-items: center;
}

.sm-footer-groups a:hover {
    color: #0866e8;
}

.sm-footer-mobile-group {
    display: none;
}

html[data-sm-theme=dark] .sm-footer-brand strong,
html[data-sm-theme=dark] .sm-footer-group h2 {
    color: #e4edf8;
}

html[data-sm-theme=dark] .sm-footer-brand p,
html[data-sm-theme=dark] .sm-footer-groups a {
    color: #b7cbe1;
}

@media(max-width:760px) {
    body.sm-marketplace .sm-store-footer .sm-footer-content {
        display: block;
    }

    .sm-footer-brand {
        margin-bottom: 14px;
    }

    .sm-footer-groups {
        display: block;
    }

    .sm-footer-group {
        display: none;
    }

    .sm-footer-mobile-group {
        display: block;
        border-top: 1px solid #dbe7f3;
    }

    .sm-footer-mobile-group summary {
        cursor: pointer;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #173b61;
        font-size: 14px;
        font-weight: 600;
        list-style: none;
    }

    .sm-footer-mobile-group summary::-webkit-details-marker {
        display: none;
    }

    .sm-footer-mobile-group summary:after {
        content: '+';
        font-size: 20px;
        color: #5080ae;
    }

    .sm-footer-mobile-group[open] summary:after {
        content: '−';
    }

    .sm-footer-mobile-group>div {
        padding: 0 0 10px;
    }

    html[data-sm-theme=dark] .sm-footer-mobile-group {
        border-color: #34465b;
    }

    html[data-sm-theme=dark] .sm-footer-mobile-group summary {
        color: #e4edf8;
    }
}
/* The document owns vertical scrolling on member storefront pages. */
html:has(body.sm-checkout) {
    overflow-x: clip;
    overflow-y: auto;
    overscroll-behavior-y: auto;
}

html body.sm-marketplace.sm-checkout {
    overflow-x: clip;
    overflow-y: visible;
    overscroll-behavior-y: auto;
}

/* Keep the checkout dropdown above its fields and beneath the storefront header. */
.sm-checkout .shop-cart-checkout {
    isolation: isolate;
}

@media (max-width: 640px) {
    body.sm-checkout :is(.shop-cart-page, .shop-cart-items-panel, .shop-cart-summary) {
        overflow-x: clip !important;
    }
}

