/* Shared display polish for every Chinese storefront template. */
.unified-shortcuts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
}

/* Shared independent-site advertising carousel. JavaScript adds the opt-in class. */
.independent-ad-carousel {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 14px;
    background: color-mix(in srgb, currentColor 5%, Canvas);
}
.independent-ad-carousel > a {
    display: none !important;
    width: 100% !important;
}
.independent-ad-carousel > a.is-active { display: block !important; }
.independent-ad-carousel > a > img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 8 / 3;
    object-fit: cover !important;
}
.independent-ad-carousel__button {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: 50%;
    background: rgb(20 20 20 / 42%);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}
.independent-ad-carousel__button--prev { left: 12px; }
.independent-ad-carousel__button--next { right: 12px; }
.independent-ad-carousel__dots {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 10px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}
.independent-ad-carousel__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 50%;
    background: rgb(20 20 20 / 38%);
    pointer-events: auto;
}
.independent-ad-carousel__dot.is-active { background: #fff; }

/* The independent storefronts keep their own type, color and logo treatment.
   These hooks only align the compact home/region opening requested for phones. */
.unified-compact-actions { display: none; }

/* Shared Chinese category directory: desktop index plus mobile split navigation. */
.cn-category-directory {
    --category-accent: #a33b45;
    --category-border: #e9e4e1;
    --category-muted: #716b68;
    color: #2f2a28;
    background: #f7f6f5;
}
.cn-category-directory *,
.cn-category-directory *::before,
.cn-category-directory *::after { box-sizing: border-box; }
.cn-category-directory a { color: inherit; text-decoration: none; }
.cn-category-directory__container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.cn-category-directory__hero { padding: 38px 0 30px; color: white; background: var(--category-accent); }
.cn-category-directory__hero h1 { margin: 0; color: inherit; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.cn-category-directory__content { padding-bottom: 64px; }
.cn-category-directory__breadcrumb { padding: 18px 0; font-size: 13px; }
.cn-category-directory__breadcrumb ol { display: flex; gap: 8px; margin: 0; padding: 0; color: var(--category-muted); list-style: none; }
.cn-category-directory__breadcrumb li + li::before { margin-right: 8px; content: "/"; }
.cn-category-directory__layout { display: grid; gap: 22px; }
.cn-category-directory__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    overflow: hidden;
    border: 1px solid var(--category-border);
    border-radius: 10px;
    background: white;
}
.cn-category-directory__nav a {
    position: relative;
    display: grid;
    min-height: 54px;
    place-items: center;
    padding: 10px 14px;
    border-right: 1px solid var(--category-border);
    color: var(--category-accent);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}
.cn-category-directory__nav a:last-child { border-right: 0; }
.cn-category-directory__nav a::after {
    position: absolute;
    right: 25%;
    bottom: 0;
    left: 25%;
    height: 3px;
    background: var(--category-accent);
    content: "";
    opacity: 0;
    transform: scaleX(.55);
    transition: opacity .2s, transform .2s;
}
.cn-category-directory__nav a:hover::after,
.cn-category-directory__nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.cn-category-directory__sections { display: grid; gap: 22px; }
.cn-category-directory__section {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 26px;
    padding: 28px;
    scroll-margin-top: 90px;
    border: 1px solid var(--category-border);
    border-radius: 10px;
    background: white;
}
.cn-category-directory__heading { align-self: start; padding: 4px 24px 4px 0; border-right: 1px solid var(--category-border); }
.cn-category-directory__heading h2 { margin: 0 0 10px; color: var(--category-accent); font-size: 26px; line-height: 1.25; }
.cn-category-directory__all { color: var(--category-muted); font-size: 12px; }
.cn-category-directory__children { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.cn-category-directory__child {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 15px;
    border: 1px solid var(--category-border);
    border-radius: 7px;
    background: #faf9f8;
    color: #403a37;
    font-size: 13px;
    transition: border-color .2s, color .2s, transform .2s;
}
.cn-category-directory__child:hover { border-color: var(--category-accent); color: var(--category-accent); transform: translateY(-1px); }
.cn-category-directory__child img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

@media (max-width: 720px) {
    .cn-category-directory__hero,
    .cn-category-directory__breadcrumb { display: none; }
    .cn-category-directory__container { width: 100%; }
    .cn-category-directory__content { padding-bottom: 0; }
    .cn-category-directory__layout {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 0;
        height: calc(100vh - 118px - env(safe-area-inset-bottom));
        height: calc(100dvh - 118px - env(safe-area-inset-bottom));
        min-height: 420px;
        overflow: hidden;
        border-top: 1px solid var(--category-border);
        background: white;
    }
    .cn-category-directory__nav {
        display: block;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        border: 0;
        border-right: 1px solid var(--category-border);
        border-radius: 0;
        background: #f2f1f0;
        overscroll-behavior-y: contain;
        scrollbar-width: none;
    }
    .cn-category-directory__nav::-webkit-scrollbar,
    .cn-category-directory__sections::-webkit-scrollbar { display: none; }
    .cn-category-directory__nav a {
        min-height: 52px;
        padding: 8px 5px;
        border: 0;
        border-bottom: 1px solid var(--category-border);
        color: #504a47;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.3;
    }
    .cn-category-directory__nav a::before {
        position: absolute;
        top: 25%;
        bottom: 25%;
        left: 0;
        width: 3px;
        background: var(--category-accent);
        content: "";
        opacity: 0;
    }
    .cn-category-directory__nav a::after { display: none; }
    .cn-category-directory__nav a.is-active { color: var(--category-accent); background: white; font-weight: 700; }
    .cn-category-directory__nav a.is-active::before { opacity: 1; }
    .cn-category-directory__sections {
        display: block;
        height: 100%;
        padding: 12px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #f7f6f5;
        overscroll-behavior-y: contain;
        scrollbar-width: none;
    }
    .cn-category-directory__section {
        display: none;
        min-height: 100%;
        padding: 14px 10px 22px;
        border: 0;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 12px rgb(0 0 0 / 5%);
        scroll-margin-top: 0;
    }
    .cn-category-directory__section.is-active,
    .cn-category-directory__section:target { display: block; }
    .cn-category-directory__sections:has(.cn-category-directory__section:target) .cn-category-directory__section.is-active:not(:target) { display: none; }
    .cn-category-directory__heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
        padding: 0 4px 10px;
        border-right: 0;
        border-bottom: 1px solid var(--category-border);
    }
    .cn-category-directory__heading h2 { margin: 0; font-size: 20px; }
    .cn-category-directory__all { flex: none; font-size: 11px; }
    .cn-category-directory__children { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; }
    .cn-category-directory__child {
        min-height: 54px;
        flex-direction: column;
        gap: 5px;
        padding: 8px 3px;
        background: #faf9f8;
        font-size: 12px;
        line-height: 1.3;
        text-align: center;
    }
    .cn-category-directory__child img { width: 48px; height: 48px; }
}

.has-unified-category-thumb {
    display: flex !important;
    min-width: 0;
    min-height: 62px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border: 1px solid color-mix(in srgb, currentColor 16%, transparent) !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    box-shadow: 0 5px 16px rgb(0 0 0 / 5%);
    color: #242424 !important;
    text-align: left !important;
}

.unified-category-thumb {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 8px;
    background-color: color-mix(in srgb, currentColor 9%, Canvas);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.unified-category-thumb::after {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: grid;
    width: 16px;
    height: 16px;
    border: 1px solid rgb(255 255 255 / 88%);
    border-radius: 50%;
    background: rgb(42 39 38 / 76%);
    color: #fff;
    content: '\82b1';
    font-size: 9px;
    line-height: 1;
    place-items: center;
}

.unified-category-thumb--love::after { content: '\7231'; }
.unified-category-thumb--red-rose::after { content: '\7ea2'; background-color: #a9192f; }
.unified-category-thumb--pink-rose::after { content: '\7c89'; background-color: #dc668a; }
.unified-category-thumb--champagne-rose::after { content: '\9999'; background-color: #b68952; }
.unified-category-thumb--lily::after { content: '\5408'; background-color: #9071ad; }
.unified-category-thumb--carnation::after,
.unified-category-thumb--elder::after { content: '\5eb7'; background-color: #be6075; }
.unified-category-thumb--birthday::after { content: '\751f'; background-color: #cc8247; }
.unified-category-thumb--blessing::after { content: '\798f'; background-color: #bb3c39; }
.unified-category-thumb--opening::after { content: '\4e1a'; background-color: #bd3030; }
.unified-category-thumb--cake::after,
.unified-category-thumb--fruit-cake::after,
.unified-category-thumb--chocolate-cake::after,
.unified-category-thumb--european-cake::after,
.unified-category-thumb--cream-cake::after,
.unified-category-thumb--children::after,
.unified-category-thumb--elder-cake::after { content: '\7cd5'; background-color: #9d6847; }
.unified-category-thumb--combo::after { content: '+'; background-color: #8d5b8c; }

.has-unified-category-thumb > strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.has-unified-category-thumb > span:not(.unified-category-thumb) { display: none !important; }

#product-grid,
.cn-product-search .product-results,
.unified-home-region :is(.f-product-grid, .c6-product-grid, .eduoduo-product-grid, .f18-product-grid, .h9-product-grid, .sy-product-grid) {
    column-gap: 12px !important;
    row-gap: 20px !important;
}

#product-grid :is([class$="-product-card__image"], .sy-product-card__media, .product-result-image),
.cn-product-search .product-result-image,
.unified-home-region :is([class$="-product-card__image"], .sy-product-card__media) {
    display: block !important;
    width: 100%;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden;
    border-radius: 8px !important;
}

#product-grid :is([class$="-product-card__image"], .sy-product-card__media, .product-result-image) > img,
.cn-product-search .product-result-image > img,
.unified-home-region :is([class$="-product-card__image"], .sy-product-card__media) > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unified-home-region [class$="-product-card__body"] {
    display: flex !important;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.unified-home-region :is(
    [class$="-product-card__summary"],
    [class$="-product-card__type"],
    [class$="-product-card__selling"]
) {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.unified-mobile-dock__icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
}

.unified-mobile-dock__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.unified-detail-dock__icon {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
}

.unified-detail-dock__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Short scene copy shared by independent home and region product sections. */
.unified-home-region .f-independent-product .f-product-section-title {
    min-width: 0;
    margin-bottom: 0 !important;
}
.unified-home-region .f-independent-product .f-product-section-copy {
    max-width: 38em;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    opacity: .7;
}
.unified-home-region .f-independent-product p.f-product-section-copy {
    margin: 6px 0 26px;
}
.unified-home-region .f-independent-product :is(
    .eduoduo-section__head,
    .f18-section__head,
    .h9-section__head,
    .sy-section-head,
    .f-section-head
) .f-product-section-copy {
    margin: 5px 0 0;
}
.unified-home-region .f-independent-product :is(
    .c6-en,
    .c6-lead,
    .f-band__sub,
    .f-sec__sub,
    .f-section-subtitle,
    .sy-section-head__sub
).f-product-section-copy {
    max-width: 38em;
}

@media (max-width: 720px) {
    .unified-home-region {
        --unified-mobile-section-padding: 24px;
        --unified-mobile-heading-gap: 18px;
        --unified-mobile-product-row-gap: 18px;
        row-gap: 0 !important;
    }
    .unified-home-region > section:not(:is(
        .f-front-carousel,
        .f-home-banners,
        .f-region-banner,
        .c6-banners,
        .eduoduo-legacy-banner,
        .f18-legacy-banner,
        .h9-hero,
        .h9-legacy-banner,
        .sy-banner,
        .f-home-category-shortcuts-section,
        .f-shortcuts,
        .c6-shortcuts,
        .eduoduo-quick,
        .f18-quick,
        .h9-quick,
        .sy-section--category
    )) {
        margin-block: 0 !important;
        padding-block: var(--unified-mobile-section-padding) !important;
    }
    .unified-home-region > :is(
        .f-hero--products,
        .f-original-product-section,
        .f-independent-product,
        .h9-product-section
    ) :is(
        .f-section-title,
        .f-section-head,
        .f-sec,
        .sy-section-head,
        .h9-section__head,
        .eduoduo-section__head,
        .f18-section__head,
        .c6-section-head
    ) {
        margin-bottom: var(--unified-mobile-heading-gap) !important;
    }
    .unified-home-region .f-independent-product .f-product-section-title {
        display: block;
        max-width: 100%;
        overflow: hidden;
        line-height: 1.25 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .unified-home-region .f-independent-product .f-product-section-copy {
        display: -webkit-box;
        max-width: 100%;
        max-height: 2.8em;
        overflow: hidden;
        font-size: 12px !important;
        line-height: 1.4 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .unified-home-region .f-independent-product p.f-product-section-copy {
        margin: 4px 0 14px;
    }
    .unified-home-region .f-independent-product :is(
        .eduoduo-section__head,
        .f18-section__head,
        .h9-section__head,
        .sy-section-head,
        .f-section-head
    ) .f-product-section-copy {
        margin: 3px 0 0;
    }
    body:has(.unified-independent-header) {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    body:has(.unified-independent-header) > :is(
        .eduoduo-service-strip,
        .f18-service-strip,
        .h9-service-strip,
        .f-utility
    ) { display: none !important; }
    .unified-independent-header {
        position: relative !important;
        inset: auto !important;
        z-index: 30;
        width: 100%;
        margin: 0 !important;
        border-top: 0 !important;
    }
    .unified-independent-header > :is(
        .f-header__inner,
        .eduoduo-header__main,
        .f18-header__main,
        .h9-header__main,
        .sy-header__inner
    ) {
        display: flex !important;
        width: min(100%, 720px) !important;
        min-height: 60px !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin: 0 auto !important;
        padding: 0 12px !important;
    }
    .unified-independent-header :is(
        .f-logo,
        .eduoduo-logo,
        .f18-logo,
        .h9-logo,
        .sy-logo
    ) {
        min-width: 0;
        max-width: calc(100% - 154px);
        margin: 0 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .unified-independent-header :is(
        .eduoduo-logo small,
        .f18-logo small,
        .h9-logo small,
        .eduoduo-header__promise,
        .f18-header__actions,
        .h9-header__promise,
        .eduoduo-search,
        .f18-search,
        .h9-search,
        .f-nav,
        .eduoduo-main-nav,
        .f18-main-nav,
        .h9-main-nav,
        .sy-nav
    ) { display: none !important; }
    .unified-independent-header :is(.f-header__actions, .sy-header__actions),
    .unified-independent-header .unified-compact-actions {
        display: flex !important;
        min-width: 0;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 2px !important;
        margin: 0 !important;
    }
    .unified-independent-header :is(.f-icon, .sy-icon, .f-menu, .sy-menu, .unified-compact-action) {
        position: relative;
        display: grid !important;
        width: 34px !important;
        height: 40px !important;
        min-width: 34px !important;
        padding: 0 !important;
        place-items: center;
        border: 0 !important;
        background: transparent !important;
        color: inherit !important;
        font-size: 18px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }
    .unified-independent-header :is(.f-member-label, .sy-member-label) { display: none !important; }
    .unified-compact-menu { align-content: center; gap: 4px; }
    .unified-compact-menu > span {
        display: block;
        width: 19px;
        height: 1px;
        background: currentColor;
    }
    .unified-compact-cart-count {
        position: absolute;
        top: 3px;
        right: 1px;
        display: grid;
        width: 16px;
        height: 16px;
        place-items: center;
        border-radius: 50%;
        background: currentColor;
        color: Canvas;
        font-size: 9px;
    }

    .unified-home-region > :is(.f-breadcrumb, .sy-breadcrumb, .c6-breadcrumb) { display: none !important; }
    .unified-home-region > :is(.f-home-hero, .f-marquee) { display: none !important; }
    .unified-home-region [class$="-opening"] > :is(.f-hero, .f-region-hero),
    .unified-home-region > :is(.f-region-hero, .c6-hero, .f18-hero, .f18-region-hero, .sy-hero, .sy-region-hero, .eduoduo-region-hero, .h9-region-hero) {
        display: none !important;
    }
    .unified-home-region :is(.eduoduo-hero__content, .h9-hero__content) { display: none !important; }
    .unified-home-region :is(.eduoduo-hero, .h9-hero) { min-height: 0 !important; padding: 0 !important; }
    .unified-home-region > .h9-hero { display: block !important; }
    .unified-home-region > .h9-hero::after { display: none !important; }
    .unified-home-region > .h9-hero > .h9-hero__media--desktop {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 8px !important;
    }
    .unified-home-region > .h9-hero > .h9-hero__media--mobile { display: none !important; }
    .unified-home-region > .h9-hero > .h9-hero__media--desktop > .h9-banner-list,
    .unified-home-region > .h9-hero > .h9-hero__media--desktop > .h9-banner-list > a {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
    }
    .unified-home-region .f-hero--products { padding-top: 0 !important; }
    .unified-home-region .f-hero--products > .f-container > :is(.f-eyebrow, h1, .f-hero-note) { display: none !important; }

    .unified-home-region :is(
        .f-hero-banners,
        .c6-banner-row,
        .eduoduo-banner-list,
        .f18-banner-list,
        .h9-banner-list,
        .sy-hero-banners
    ) {
        width: 100% !important;
        margin: 0 !important;
    }
    .unified-home-region :is(
        .f-hero-banners,
        .c6-banner-row,
        .eduoduo-banner-list,
        .f18-banner-list,
        .h9-banner-list,
        .sy-hero-banners
    ) img { aspect-ratio: 12 / 5 !important; object-fit: cover !important; }
    .unified-home-region > :is(
        .f-home-banners,
        .f-region-banner,
        .c6-banners,
        .eduoduo-legacy-banner,
        .f18-legacy-banner,
        .h9-legacy-banner,
        .sy-banner
    ) {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 8px 8px !important;
    }
    .unified-home-region > :is(.eduoduo-hero, .h9-hero) > :is(.container, .h9-hero__media) {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 8px !important;
    }
    .unified-home-region > :is(
        .f-home-category-shortcuts-section,
        .c6-shortcuts,
        .eduoduo-quick,
        .f18-quick,
        .h9-quick,
        .sy-section--category
    ) {
        width: 100% !important;
        margin: 0 !important;
        padding: 8px 8px 12px !important;
    }
    .unified-home-region :is(
        .f-home-category-shortcuts__content,
        .c6-shortcuts__content,
        .sy-home-category-shortcuts__content
    ) { margin: 0 !important; padding: 0 !important; }
    .unified-home-region > :is(
        .f-home-banners,
        .f-region-banner,
        .c6-banners,
        .eduoduo-legacy-banner,
        .f18-legacy-banner,
        .h9-legacy-banner,
        .sy-banner,
        .f-home-category-shortcuts-section,
        .c6-shortcuts,
        .eduoduo-quick,
        .f18-quick,
        .h9-quick,
        .sy-section--category
    ) > :is(.f-container, .container, .c6-wrap, .sy-container) {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .unified-shortcuts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .has-unified-category-thumb {
        min-height: 58px !important;
        gap: 5px !important;
        padding: 7px !important;
    }
    .has-unified-category-thumb > strong { font-size: 12px !important; }
    .unified-shortcuts--many { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .unified-shortcuts--many > :nth-child(n + 9) { display: none !important; }
    .unified-shortcuts--many .has-unified-category-thumb {
        min-height: 78px !important;
        flex-direction: column;
        justify-content: center !important;
        gap: 4px !important;
        padding: 6px 3px !important;
        text-align: center !important;
    }
    .unified-shortcuts--many .unified-category-thumb {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .independent-ad-carousel { border-radius: 10px; }
    .independent-ad-carousel__button { width: 30px; height: 30px; }
    .independent-ad-carousel__button--prev { left: 6px; }
    .independent-ad-carousel__button--next { right: 6px; }

    #product-grid,
    .cn-product-search .product-results,
    .unified-home-region :is(.f-product-grid, .c6-product-grid, .eduoduo-product-grid, .f18-product-grid, .h9-product-grid, .sy-product-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 8px !important;
        row-gap: var(--unified-mobile-product-row-gap) !important;
    }
    :is(.detail-tabs, .f-detail-tabs, [class$="-detail-tabs"]) { top: 0 !important; }

    .unified-mobile-dock {
        position: fixed !important;
        z-index: 1000 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        min-height: 60px !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
        background: Canvas !important;
        box-shadow: 0 -5px 18px rgb(0 0 0 / 8%);
    }
    .unified-mobile-dock > a {
        display: flex !important;
        min-width: 0;
        min-height: 54px;
        flex: 1 1 20% !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        padding: 4px 2px !important;
        font-size: 11px !important;
        line-height: 1.15 !important;
    }
    .unified-detail-dock > :is(a, button) {
        display: flex !important;
        min-width: 0;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
    }
    .unified-detail-dock__label {
        min-width: 0;
        font-size: 11px;
        white-space: nowrap;
    }
}
