/* Desktop presentation only. The wrapper/mobile stylesheet remains the baseline. */
@media (min-width: 1024px) {
    :root {
        --ub-header-height: 64px;
        --ub-desktop-gutter: max(24px, calc((100vw - 1200px) / 2));
    }

    .page-content {
        width: calc(100% - 48px);
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 88px;
        padding-bottom: 40px !important;
        overflow-x: visible;
    }

    .page-content > .content {
        margin-left: 0;
        margin-right: 0;
    }

    .page-content .card-style {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 24px;
    }

    .card-style > .content {
        margin: 24px;
    }

    .header,
    .header-auto-show {
        opacity: 1;
        pointer-events: auto;
    }

    .header .header-title {
        left: var(--ub-desktop-gutter);
        margin-left: 0;
        transform: none;
        width: auto;
    }

    .header:has([data-back-button]) .header-title {
        left: calc(var(--ub-desktop-gutter) + 48px);
    }

    .header .header-icon-1 {
        left: var(--ub-desktop-gutter);
    }

    .header-logo-img {
        height: 28px;
    }

    :is(.ub-page-profile, .ub-page-edit-profile) #page::before {
        content: "";
        position: fixed;
        inset: 0 0 auto;
        height: 64px;
        background: #fff url("../images/brand/Ubivendo_logo.svg") no-repeat var(--ub-desktop-gutter) center / auto 28px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
        z-index: 99;
        pointer-events: none;
    }

    #footer-bar {
        top: 0;
        bottom: auto;
        left: auto;
        right: var(--ub-desktop-gutter);
        width: 380px;
        height: 64px;
        min-height: 64px;
        padding: 10px 0;
        gap: 8px;
        background: transparent;
        box-shadow: none;
        z-index: 100;
    }

    #footer-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 16px;
        border-radius: 10px;
        background: transparent !important;
        color: #6c6c6c !important;
        flex: 1 1 0;
    }

    #footer-bar a span {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
        opacity: 1;
    }

    #footer-bar a i {
        font-size: 17px;
    }

    #footer-bar a.active-nav {
        background: #FA9123 !important;
        color: #fff !important;
    }

    #footer-bar a:not(.active-nav):hover {
        background: rgba(250, 145, 35, .10) !important;
        color: #f05505 !important;
    }

    #footer-bar .active-nav strong {
        display: none;
    }

    #footer-bar a:focus-visible,
    .page-content a:focus-visible,
    .page-content button:focus-visible {
        outline: 2px solid #FA9123;
        outline-offset: 3px;
    }

    .footer {
        padding: 24px;
    }

    .footer .footer-links {
        line-height: 26px;
    }

    /* Catalog grids, including tiles generated by the existing page scripts. */
    :is(#listing-grid, #new-section, #home-featured .row, #favorites-container .row) > .col-6 {
        width: 33.333333%;
    }

    :is(#listing-grid, #new-section, #home-featured .row, #favorites-container .row) .ub-listing img,
    #shop-products > .col-6 > a:first-child img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .ub-page-index #single-slider-1 .card {
        margin-left: 0;
        margin-right: 0;
        height: 320px !important;
    }

    .page-content .splide__track {
        overflow: hidden;
    }

    .ub-page-index #single-slider-1 .splide__slide {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ub-page-index #double-slider-1 .card {
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .ub-page-index #double-slider-1 {
        margin-left: -12px;
        margin-right: -12px;
    }

    /* These are the same product sections, placed in a desktop grid. */
    .ub-page-product-details .page-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .product-hero-card {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: 500px !important;
        grid-column: 1;
        grid-row: 1;
        border-radius: 15px;
        margin-bottom: 0;
    }

    .ub-product-spacer,
    .ub-product-handle,
    .ub-product-content > .divider {
        display: none;
    }

    .ub-product-content {
        display: contents;
    }

    .ub-product-information,
    .ub-product-photos,
    .ub-product-shipping {
        margin: 0 !important;
        padding: 24px;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
        min-width: 0;
    }

    .ub-product-information {
        grid-column: 2;
        grid-row: 1;
        padding-top: 76px;
    }

    .ub-product-photos {
        grid-column: 1;
        grid-row: 2;
    }

    #photo-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        margin: 0;
    }

    #photo-grid > .col {
        width: auto;
        padding: 0;
        margin-bottom: 0 !important;
    }

    #photo-grid img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .ub-product-shipping {
        grid-column: 2;
        grid-row: 2;
    }

    .ub-page-product-details #moderation-actions {
        grid-column: 2;
        margin: 0;
    }

    .ub-product-content > .footer {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .product-action-bar {
        position: absolute;
        top: 104px;
        right: calc(var(--ub-desktop-gutter) + 24px);
        z-index: 95 !important;
    }

    /* Keep the avatar/summary together; the remaining panels use the other column. */
    :is(.ub-page-profile, .ub-page-shop) .page-content {
        display: grid;
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .ub-account-summary {
        min-width: 0;
    }

    .ub-account-panels {
        min-width: 0;
    }

    .ub-account-toolbar,
    :is(.ub-page-profile, .ub-page-shop) .page-content > .footer,
    .ub-profile-account-actions {
        grid-column: 1 / -1;
    }

    .ub-account-toolbar {
        margin: 0 !important;
    }

    .ub-account-summary .ub-profile-avatar-wrap,
    .ub-account-summary #shop-avatar {
        width: 160px;
        height: 160px;
        margin-bottom: -80px !important;
    }

    .ub-account-summary #profile-avatar {
        width: 160px;
        height: 160px;
        object-fit: cover;
    }

    .ub-account-summary > .card {
        padding-top: 88px !important;
    }

    .ub-account-summary .font-36 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 0;
        font-size: var(--ub-account-title-size, 28px) !important;
        line-height: 1.25 !important;
    }

    .ub-account-summary .font-36 > i {
        flex: 0 0 auto;
        margin-right: 0 !important;
        font-size: min(22px, var(--ub-account-title-size, 28px)) !important;
    }

    :is(#profile-title-text, #shop-title) {
        min-width: 0;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    /* Match the summary card to the full height of the visible profile panels. */
    .ub-page-profile .ub-account-summary {
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }

    .ub-page-profile .ub-account-summary .ub-profile-avatar-wrap {
        flex: 0 0 auto;
    }

    .ub-page-profile .ub-account-summary > .card {
        flex: 1 0 auto;
        margin-bottom: 0;
    }

    .ub-page-profile .ub-account-summary > .card > .content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1 0 auto;
        gap: 12px;
    }

    .ub-page-profile .ub-account-panels {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        gap: 12px;
    }

    .ub-page-profile .ub-account-panels > .card {
        margin-bottom: 0 !important;
    }

    .ub-page-profile #profile-badges {
        flex: 1 0 auto;
        justify-content: center;
    }

    .ub-page-profile .ub-account-panels > a:not(#profile-badges) {
        flex: 0 0 auto;
        justify-content: center;
    }

    .ub-page-profile .ub-account-panels > a:not(#profile-badges) .content {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        margin: 16px 28px;
    }

    .ub-page-profile .ub-account-panels > a:not(#profile-badges) h4 {
        margin: 0;
        font-size: 22px;
        line-height: 1.3;
    }

    .ub-page-profile .ub-account-panels > a:not(#profile-badges) i {
        font-size: 36px !important;
    }

    #shop-products > .col-6 {
        width: 50%;
    }

    .ub-profile-account-actions {
        max-width: 440px;
        width: 100%;
        justify-self: center;
    }

    .ub-my-products-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    #favorites-container:has(.favorite-card) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    #favorites-container > .divider {
        display: none;
    }

    .ub-listing-page .ub-listing-image-item {
        width: 33.333333%;
    }

    /* Cart keeps every seller group and its existing summary. */
    #cart-container:has(.cart-summary) {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
        gap: 16px 24px;
        align-items: start;
    }

    .cart-items-card {
        overflow: visible;
    }

    #cart-container > .cart-overview-meta {
        grid-column: 1 / -1;
    }

    #cart-container > .cart-seller-block {
        grid-column: 1;
        margin-bottom: 0;
    }

    #cart-container > .cart-summary {
        grid-column: 2;
        grid-row: 2;
        position: sticky;
        top: 88px;
        margin: 0;
        padding: 24px;
    }

    .ub-page-checkout .page-content {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
        gap: 24px;
        align-items: start;
    }

    .ub-checkout-intro,
    .ub-page-checkout .footer {
        grid-column: 1 / -1;
    }

    .ub-checkout-address {
        grid-column: 1;
        margin-bottom: 0 !important;
    }

    .ub-checkout-summary {
        grid-column: 2;
        position: sticky;
        top: 88px;
        margin-bottom: 0 !important;
    }

    /* Forms and text pages retain their own existing content and controls. */
    :is(.ub-page-create-listing, .ub-page-edit-listing, .ub-page-my-products,
        .ub-page-orders, .ub-page-order, .ub-page-sales, .ub-page-sale,
        .ub-page-seller-review, .ub-page-badges) .page-content {
        max-width: 960px;
    }

    /* Give transaction overviews readable type and roomier controls. */
    :is(.ub-page-sales, .ub-page-orders) .page-content > .card:first-child {
        font-size: 16px;
        line-height: 1.6;
    }

    :is(.ub-page-sales, .ub-page-orders) .page-content > .card:first-child h2 {
        font-size: 28px;
    }

    :is(.ub-page-sales, .ub-page-orders) .orders-filter-btn {
        padding: 11px 18px;
        font-size: 15px;
        line-height: 1.25;
    }

    :is(#sales-list, #orders-list) {
        font-size: 16px;
        line-height: 1.6;
    }

    :is(#sales-list, #orders-list) .order-card-stack {
        margin: 0 0 16px;
    }

    :is(#sales-list, #orders-list) .order-card-trigger .content {
        margin: 24px;
        padding-right: 40px;
        gap: 20px;
        align-items: center;
    }

    :is(#sales-list, #orders-list) h3 {
        font-size: 24px;
        line-height: 1.3;
    }

    :is(#sales-list, #orders-list) h4 {
        font-size: 21px;
    }

    :is(#sales-list, #orders-list) h5 {
        font-size: 18px;
        line-height: 1.4;
    }

    :is(#sales-list, #orders-list) :is(.font-10, .font-11, .order-card-meta),
    .ub-page-sales :is(.ub-level-meta, .ub-seller-performance small, #servicekosten-level-message) {
        font-size: 15px !important;
        line-height: 1.5;
    }

    .ub-page-sales .ub-level-eyebrow {
        font-size: 13px;
    }

    .ub-page-sales .ub-seller-performance-level h4 {
        font-size: 21px;
    }

    .ub-page-sales .ub-seller-performance-total strong {
        font-size: 28px;
    }

    :is(#sales-list, #orders-list) .order-card-trigger::before {
        right: 24px;
        font-size: 16px;
    }

    :is(#sales-list, #orders-list) .order-card-content {
        margin: 24px;
    }

    :is(#sales-list, #orders-list) .order-item-line {
        gap: 16px;
        padding: 12px 0;
    }

    :is(#sales-list, #orders-list) .btn {
        padding: 16px 24px;
        font-size: 15px;
    }

    :is(.ub-page-edit-profile, .ub-page-seller-register, .ub-page-seller-business-upgrade,
        .ub-page-seller-status, .ub-page-seller-opp, .ub-page-return,
        .ub-page-return-bank-verification, .ub-page-contact, .ub-page-faq,
        .ub-page-news, .ub-page-privacy-policy, .ub-page-terms,
        .ub-page-legalnotice, .ub-page-seller_information) .page-content {
        max-width: 800px;
    }

    .ub-page-verify .page-content,
    .ub-page-reset-password .page-content {
        max-width: 600px;
        padding-top: 48px;
    }

    .ub-page-register .menu[data-menu-width="cover"] {
        left: calc((100vw - 680px) / 2);
        right: auto;
        width: 680px !important;
        border-radius: 16px;
        transform: none !important;
        transition: opacity 180ms ease, visibility 0s linear 180ms;
    }

    .ub-page-register .menu[data-menu-width="cover"]:not(.menu-active) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .ub-page-register .menu[data-menu-width="cover"].menu-active {
        visibility: visible;
        transition-delay: 0s;
    }

    .ub-page-register .wizard-scroll {
        padding-left: 48px !important;
        padding-right: 48px !important;
    }

    /* Both walkthroughs share a compact desktop stage and navigation footer. */
    :is(.ub-page-walkthrough, .ub-page-seller-walkthrough) .page-content {
        --ub-walkthrough-height: min(620px, calc(100svh - 64px));
        --ub-walkthrough-footer: 88px;
        max-width: 1100px;
        padding-top: max(32px, calc((100svh - 620px) / 2));
        padding-bottom: 32px !important;
    }

    #walkthrough-slider:is(.walkthrough-standard, .walkthrough-seller) {
        height: var(--ub-walkthrough-height) !important;
        overflow: hidden;
        isolation: isolate;
        border-radius: 24px;
        background: #fff;
        box-shadow: 0 16px 56px rgba(24, 35, 52, 0.06);
    }

    #walkthrough-slider .splide__track {
        height: calc(var(--ub-walkthrough-height) - var(--ub-walkthrough-footer));
        overflow: hidden;
        border-radius: 0;
    }

    #walkthrough-slider .splide__list {
        width: 100%;
        height: 100%;
    }

    #walkthrough-slider .splide__slide,
    #walkthrough-slider .walkthrough-card {
        height: calc(var(--ub-walkthrough-height) - var(--ub-walkthrough-footer)) !important;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    #walkthrough-slider .splide__slide {
        /* Keep every slide exactly one track wide, including during remeasurement. */
        flex: 0 0 100%;
        width: 100% !important;
    }

    #walkthrough-slider:is(.walkthrough-standard, .walkthrough-seller) .walkthrough-card {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
        grid-template-rows: minmax(0, 1fr);
        margin: 0;
        border-radius: 0;
        padding-bottom: 0 !important;
        background: #fff;
        box-shadow: none;
    }

    #walkthrough-slider.walkthrough-seller .seller-walkthrough-visual,
    #walkthrough-slider.walkthrough-standard .walkthrough-hero {
        position: relative;
        inset: auto;
        grid-column: 1;
        grid-row: 1;
        order: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
        background-color: #fff;
    }

    #walkthrough-slider.walkthrough-seller .seller-walkthrough-visual::after {
        display: none;
    }

    #walkthrough-slider.walkthrough-seller .seller-walkthrough-visual img,
    #walkthrough-slider.walkthrough-seller .seller-walkthrough-asset,
    #walkthrough-slider.walkthrough-standard .walkthrough-hero {
        /* The lower half of the portrait SVG is blank: crop that space only. */
        width: min(100%, calc((var(--ub-walkthrough-height) - var(--ub-walkthrough-footer)) * 1.05));
        justify-self: center;
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
    }

    #walkthrough-slider.walkthrough-seller .seller-walkthrough-visual img,
    #walkthrough-slider.walkthrough-seller .seller-walkthrough-asset {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    #walkthrough-slider.walkthrough-standard .walkthrough-hero-img {
        object-fit: cover;
        object-position: center top;
    }

    #walkthrough-slider.walkthrough-seller .seller-walkthrough-asset-card {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 76px;
        height: 76px;
        border-radius: 22px;
        transform: none;
        font-size: 32px;
    }

    #walkthrough-slider.walkthrough-standard .walkthrough-card .card-bottom,
    #walkthrough-slider.walkthrough-seller .walkthrough-card .seller-walkthrough-content {
        position: relative !important;
        inset: auto !important;
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 0;
        margin-top: 0;
        padding: 36px 44px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        justify-content: safe center;
        text-align: left;
    }

    #walkthrough-slider .card-bottom > * {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #walkthrough-slider:is(.walkthrough-standard, .walkthrough-seller) .card-bottom h1 {
        max-width: none;
        margin: 0 0 12px !important;
        color: #f95c00 !important;
        font-size: 32px !important;
        font-weight: 700 !important;
        line-height: 1.15;
    }

    #walkthrough-slider:is(.walkthrough-standard, .walkthrough-seller) .card-bottom > p:not(.seller-terms-countdown) {
        width: 100%;
        max-width: 100%;
        margin: 0 0 18px !important;
        padding: 0 !important;
        color: #596273 !important;
        opacity: 1 !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        line-height: 1.5;
        text-align: left;
    }

    #walkthrough-slider.walkthrough-seller .seller-terms-panel {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #walkthrough-slider.walkthrough-seller .seller-walkthrough-points span {
        min-height: 44px;
        padding: 11px 14px;
    }

    #walkthrough-slider::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--ub-walkthrough-footer);
        border-top: 1px solid #eef0f4;
        background: #fff;
        z-index: 1;
        pointer-events: none;
    }

    #walkthrough-slider:is(.walkthrough-standard, .walkthrough-seller) :is(.cover-next, .cover-prev, .seller-profile-back-first) {
        bottom: 20px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        font-weight: 800;
    }

    #walkthrough-slider :is(.cover-prev, .seller-profile-back-first) {
        left: 24px;
    }

    #walkthrough-slider .cover-next {
        right: 24px;
    }

    #walkthrough-slider:is(.walkthrough-standard, .walkthrough-seller) .splide__pagination {
        bottom: 0;
        width: auto;
        height: var(--ub-walkthrough-footer);
        max-width: calc(100% - 560px);
        padding: 0;
        z-index: 2;
    }

    #walkthrough-slider .splide__pagination li {
        display: flex;
    }

    #walkthrough-slider:is(.walkthrough-standard, .walkthrough-seller) .cover-button-bottom {
        left: auto;
        right: 24px;
        bottom: 18px;
        width: 236px;
        margin-left: 0;
    }

    #walkthrough-slider .cover-button-bottom :is(a, button) {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 52px;
        min-height: 52px;
        margin: 0;
        padding: 0 20px !important;
        border: 0 !important;
        font-size: 16px !important;
        font-weight: 700;
        line-height: 1.25 !important;
        text-align: center;
        text-transform: none !important;
        animation: none;
        box-shadow: none !important;
    }

    #walkthrough-slider :is(a, button, input):focus-visible {
        outline: 3px solid #984100;
        outline-offset: 4px;
    }

    /* Original login artwork/logo on the left, original form on the right. */
    :is(.ub-page-login, .ub-page-reset-request) .page-content {
        max-width: 1100px;
        padding-top: 40px;
        padding-bottom: 40px !important;
    }

    body:is(.ub-page-login, .ub-page-reset-request) #page .card[data-card-height="cover"] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        height: auto !important;
        min-height: calc(100svh - 80px);
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
    }

    body:is(.ub-page-login, .ub-page-reset-request) .card-top {
        position: relative;
        top: auto !important;
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 100px 0 0;
        z-index: 2;
    }

    body:is(.ub-page-login, .ub-page-reset-request) .card-bottom {
        position: relative;
        bottom: auto !important;
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        padding: 32px 0;
        border-radius: 0;
        background: #fff;
    }

    body:is(.ub-page-login, .ub-page-reset-request) .card-overlay {
        width: 50%;
        height: 100% !important;
        border-radius: 0;
    }

    body.ub-page-login .card-overlay {
        background: #f95c00 url("../images/visuals/login.svg") center / cover no-repeat;
    }

    body.ub-page-login .card-top {
        align-items: center;
        padding: 48px 24px;
    }

    body.ub-page-login .card-top h1 {
        margin: 0 !important;
        line-height: 1;
    }

    body.ub-page-login .card-top img {
        width: min(280px, 100%);
        height: auto !important;
        filter: drop-shadow(0 8px 24px rgba(145, 47, 0, .16));
    }

    /* The map has its own viewport layout, rather than the content container. */
    .map-screen .page-content {
        width: 100%;
        max-width: none;
        height: 100svh;
        padding: 64px 0 0 !important;
    }

    .map-screen .map-page {
        height: calc(100svh - 64px);
    }

    .map-filters {
        top: 88px;
        left: 24px;
        width: max-content;
        max-width: calc(100vw - 48px);
    }

    .map-filters-toggle {
        width: auto;
        gap: 10px;
        padding: 10px 16px;
        font-size: 16px;
        line-height: 1.25;
    }

    .map-filters:not(.is-active) .map-filters-count {
        display: none;
    }

    .map-filters-panel {
        width: 380px;
        max-width: calc(100vw - 48px);
        padding: 18px;
    }

    .map-filters.is-open .map-filters-panel {
        max-height: calc(100svh - 220px);
        overflow-y: auto;
    }

    .map-filters-header {
        font-size: 16px;
    }

    .map-filters #map-filters-list {
        gap: 8px;
    }

    .map-filters #map-filters-list .orders-filter-btn {
        width: auto;
        margin: 0 !important;
        padding: 9px 13px;
        font-size: 14px;
        line-height: 1.25;
    }

    .map-filters .map-filters-clear-pill {
        width: auto;
        padding: 10px 16px;
        font-size: 14px;
        line-height: 1.25;
    }

    .map-shop-banner {
        top: auto;
        left: 50%;
        right: auto;
        bottom: 24px;
        width: 560px;
        max-width: calc(100vw - 48px);
        max-height: calc(100svh - 112px);
        overflow-y: auto;
        border: 1px solid #F05505;
        border-radius: 18px;
        transform: translate(-50%, 16px);
        visibility: hidden;
    }

    .map-shop-banner.is-active {
        transform: translate(-50%, 0);
        visibility: visible;
    }

    .map-banner-content {
        padding: 32px 28px 24px;
    }

    .map-banner-card {
        gap: 18px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .map-banner-avatar {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }

    .map-banner-card--founder::before {
        left: 48px;
        top: 44px;
    }

    .map-banner-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .map-banner-badge {
        padding: 6px 10px;
        font-size: 13px;
    }

    .map-banner-cta,
    .map-banner-cta--compact {
        padding: 10px 18px;
        font-size: 15px;
    }

    .map-banner-cluster-title {
        margin-bottom: 16px;
        font-size: 18px;
    }

    .map-banner-scroll {
        gap: 16px;
        max-height: min(480px, calc(100svh - 260px));
    }

    .map-banner-close {
        width: 36px;
        height: 36px;
        z-index: 4;
    }

    .ub-fab-create {
        right: var(--ub-desktop-gutter);
        bottom: 24px;
    }

    .snackbar-toast {
        left: var(--ub-desktop-gutter) !important;
        right: var(--ub-desktop-gutter) !important;
        bottom: 24px !important;
        visibility: hidden;
    }

    .snackbar-toast.show {
        visibility: visible;
    }

    .toast-bottom {
        bottom: 24px !important;
        margin-bottom: 0;
    }

    .menu-box-bottom:not([data-menu-width="cover"]) {
        left: calc((100vw - 480px) / 2);
        right: auto;
        width: 480px !important;
    }

    :is(.ub-action-card, .ub-delete-modal-card, .ub-account-dialog, .ub-business-dialog-card) {
        max-height: calc(100svh - 64px);
        overflow-y: auto;
    }

    .theme-dark :is(.ub-product-information, .ub-product-photos, .ub-product-shipping) {
        background: #1b1d21;
    }

    .theme-dark #footer-bar a:not(.active-nav) {
        color: #fff !important;
    }

    .theme-dark:is(.ub-page-profile, .ub-page-edit-profile) #page::before {
        background-color: #1b1d21;
    }
}

@media (min-width: 1280px) {
    :is(#listing-grid, #new-section, #home-featured .row, #favorites-container .row) > .col-6 {
        width: 25%;
    }

    #shop-products > .col-6 {
        width: 33.333333%;
    }

    .ub-listing-page .ub-listing-image-item {
        width: 25%;
    }
}
