.checkout-header .header-actions {
        flex-wrap: nowrap;
        gap: 18px;
    }
    .menu-dropdown {
        position: relative;
        display: flex;
        align-items: center;
        padding-bottom: 10px;
        margin-bottom: -10px;
    }
    .menu-trigger {
        background: transparent;
        border: 0;
        padding: 0;
        color: inherit;
        font: inherit;
        line-height: 1.2;
        cursor: pointer;
    }
    .menu-trigger:focus {
        outline: none;
    }
    .menu-caret {
        font-size: 12px;
        margin-left: 2px;
    }
    .menu-panel {
        position: absolute;
        top: calc(90% + 2px);
        left: 0;
        min-width: 260px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
        display: none;
        z-index: 1000;
        white-space: nowrap;
    }
    .menu-sub-panel {
        position: absolute;
        top: 0;
        left: calc(100% - 4px);
        min-width: 240px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
        display: none;
        z-index: 1001;
    }
    .menu-link {
        display: block;
        padding: 10px 16px;
        color: #2d2d2d;
        text-decoration: none;
        font-size: 14px;
    }
    .menu-link:hover {
        background: #e9ecef;
        color: #111;
    }
    .menu-shop-link {
        padding-left: 26px;
        font-size: 13px;
        color: #4b5563;
    }
    .menu-link-with-caret {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }
    .menu-link-with-caret > span:first-of-type,
    .menu-link-with-caret > span {
        flex: 1;
        min-width: 0;
        text-align: left;
    }
    .menu-link-with-caret .menu-sub-caret {
        margin-left: auto;
        flex-shrink: 0;
    }
    .menu-category-thumb {
        flex-shrink: 0;
        border-radius: 4px;
        object-fit: cover;
        vertical-align: middle;
        background: #f0f0f0;
    }
    .menu-category-thumb--inline {
        margin-right: 4px;
    }
    .menu-category-thumb--root,
    .menu-category-thumb--sidebar-root {
        border-radius: 5px;
    }
    .menu-sub-caret {
        font-size: 12px;
        opacity: 0.8;
    }
    .menu-sub-dropdown {
        position: relative;
    }
    .menu-sub-dropdown:hover > .menu-sub-panel,
    .menu-sub-dropdown:focus-within > .menu-sub-panel {
        display: block;
    }
    .menu-dropdown:hover .menu-panel,
    .menu-dropdown:focus-within .menu-panel {
        display: block;
    }
    /* 搜尋抽屜 - 全寬覆蓋 */
    .checkout-offcanvas {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* 搜尋頭部列 */
    .sidebar-search-header {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 10px 12px;
        border-bottom: 1px solid #f0f0f0;
        background: #fff;
    }
    .sidebar-search-back-btn {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        color: #333;
        font-size: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
    }
    .sidebar-search-field {
        flex: 1;
        position: relative;
    }
    .sidebar-search-input {
        width: 100%;
        height: 40px;
        border: 1.5px solid #e5e7eb;
        border-radius: 8px;
        padding: 0 14px;
        font-size: 15px;
        outline: none;
        background: #f9fafb;
        color: #111;
    }
    .sidebar-search-input:focus {
        border-color: #bbb;
        background: #fff;
    }
    .sidebar-search-submit-btn {
        flex-shrink: 0;
        padding: 0 6px;
        height: 40px;
        border: none;
        background: transparent;
        font-size: 15px;
        font-weight: 600;
        color: #222;
        cursor: pointer;
        white-space: nowrap;
    }

    /* 行動搜尋抽屜內的浮動下拉不顯示（熱門標籤已在 sidebar-hot-section 呈現） */
    .checkout-offcanvas #tkSearchDropdownMobile {
        display: none !important;
    }

    /* 熱門搜尋區塊 */
    .sidebar-hot-section {
        padding: 20px 16px;
    }
    .sidebar-hot-heading {
        font-size: 16px;
        font-weight: 700;
        color: #111;
        margin: 0 0 14px;
    }
    .sidebar-hot-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .sidebar-hot-tag {
        display: inline-block;
        padding: 6px 16px;
        border-radius: 20px;
        background: #f3f4f6;
        color: #374151;
        font-size: 14px;
        text-decoration: none;
        transition: background 0.12s;
    }
    .sidebar-hot-tag:hover {
        background: #e5e7eb;
        color: #111;
    }
    .sidebar-hot-tag--fire {
        color: #c85000;
    }
    /* 熱門搜尋：搜尋輸入框 */
    .sidebar-hot-search-wrap {
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: 18px;
    }
    .sidebar-hot-search-input {
        flex: 1;
        height: 44px;
        border: 1.5px solid #e5e7eb;
        border-radius: 22px;
        padding: 0 82px 0 18px;
        font-size: 15px;
        outline: none;
        background: #f9fafb;
        color: #111;
        box-sizing: border-box;
        min-width: 0;
    }
    .sidebar-hot-search-input:focus {
        border-color: rgba(124, 92, 255, 0.4);
        background: #fff;
    }
    .sidebar-hot-search-clear {
        position: absolute;
        right: 42px;
        top: 50%;
        transform: translateY(-50%);
        width: 26px;
        height: 26px;
        border: none;
        background: #e5e7eb;
        border-radius: 50%;
        color: #555;
        font-size: 11px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .sidebar-hot-search-clear:hover { background: #d1d5db; }
    .sidebar-hot-search-icon {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
        font-size: 16px;
        pointer-events: none;
    }
    /* 熱門搜尋：搜尋結果（inline） */
    .sidebar-search-results { margin-bottom: 4px; }
    .sidebar-search-result-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 4px;
        text-decoration: none;
        color: #111827;
        border-bottom: 1px solid #f3f4f6;
        font-size: 14px;
    }
    .sidebar-search-result-item:last-of-type { border-bottom: none; }
    .sidebar-search-result-item:hover { background: #f9fafb; border-radius: 6px; }
    .sidebar-search-result-img {
        width: 48px; height: 48px;
        object-fit: cover;
        border-radius: 6px;
        flex-shrink: 0;
        background: #f3f4f6;
    }
    .sidebar-search-result-info {
        display: flex; flex-direction: column; gap: 2px; min-width: 0;
    }
    .sidebar-search-result-title {
        font-size: 14px; font-weight: 500;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .sidebar-search-result-shop {
        font-size: 11px; color: #9ca3af;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .sidebar-search-view-all {
        display: flex; align-items: center; justify-content: center;
        padding: 12px 4px; font-size: 13px; font-weight: 600;
        color: #374151; text-decoration: none;
        border-top: 1px solid #f3f4f6; margin-top: 4px;
    }
    .sidebar-search-view-all:hover { color: #111827; }
    .sidebar-search-empty, .sidebar-search-loading {
        padding: 20px 4px; text-align: center; color: #9ca3af; font-size: 14px;
    }
    .checkout-sidebar-nav {
        border-top: 1px solid #f0f0f0;
    }
    .checkout-sidebar-link,
    .checkout-sidebar-toggle {
        color: #2d2d2d;
        text-decoration: none;
        font-size: 15px;
    }
    .checkout-sidebar-link:hover {
        background: #f5f5f5;
    }
    .checkout-sidebar-toggle:hover {
        background: #f5f5f5;
    }
    .checkout-sidebar-toggle:focus {
        box-shadow: none;
    }
    .checkout-sidebar-group .sidebar-caret {
        transition: transform 0.2s;
    }
    .checkout-sidebar-group .collapsed .sidebar-caret {
        transform: rotate(-90deg);
    }
    .checkout-sidebar-sub {
        background: #f8f9fa;
        padding: 8px 0 8px 20px;
    }
    .checkout-sidebar-sub-depth-1,
    .checkout-sidebar-sub-depth-2,
    .checkout-sidebar-sub-depth-3 {
        padding-left: 18px;
    }
    .checkout-sidebar-sublink {
        display: block;
        padding: 8px 16px;
        color: #555;
        text-decoration: none;
        font-size: 14px;
    }
    .checkout-sidebar-parent-link {
        font-weight: 600;
    }
    .checkout-sidebar-shoplink {
        padding-left: 28px;
        font-size: 13px;
        color: #4b5563;
    }
    .checkout-sidebar-sublink:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #2d2d2d;
    }
    .checkout-menu-trigger {
        width: 36px !important;
        height: 36px !important;
        background: #fff !important;
        border-radius: 50% !important;
        color: #555 !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
        flex-shrink: 0;
        padding: 0 !important;
    }
    @media (max-width: 767.98px) {
        .checkout-menu-trigger {
            display: inline-flex !important;
        }
    }
    .checkout-menu-trigger:focus {
        box-shadow: none;
        outline: none;
    }

    /* 手機首頁賣場頂欄（與 App 風格一致）
       桌機（≥768px）顯示與首頁相同的標準列，故 padding/border/box-shadow
       的清除只在手機（<768px，msf-topbar 接手）時套用，桌機沿用 .checkout-header 基準值，
       確保桌機高度與首頁一致。 */
    @media (max-width: 767.98px) {
        .checkout-header.checkout-header--mobile-storefront {
            padding: 0;
            border-bottom: none;
            box-shadow: none;
            background: #fff;
        }
    }
    .msf-topbar {
        background: #fff;
        border-bottom: 1px solid #ebebeb;
    }
    .checkout-container.msf-topbar-inner {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-left: 0;
        padding-right: 0;
    }
    .msf-brand-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 10px 16px 8px;
        min-height: 40px;
    }
    .msf-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        /* 與 .header-brand（一般版 logo）統一字型大小：20px、weight 700、無 letter-spacing */
        font-weight: 700;
        font-size: 20px;
        color: #111;
        text-decoration: none;
    }
    .msf-icon-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #1a1a1a;
        font-size: 1.35rem;
        line-height: 1;
        padding: 4px;
        text-decoration: none;
    }
    .msf-icon-btn--badge {
        position: relative;
        margin-left: 2px;
    }
    .msf-trailing {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .msf-badge {
        position: absolute;
        top: -4px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
        background: #e53935;
        color: #fff;
        border-radius: 999px;
        box-sizing: border-box;
    }
    /* 手機首頁頂欄圖示鈕（與賣場行動版 shop-pl-mobile 樣式一致） */
    .shop-pl-mobile-iconbtn {
        position: relative;
        color: #222;
        text-decoration: none;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }
    .shop-pl-mobile-iconbtn:active {
        background: rgba(0, 0, 0, 0.05);
    }
    .shop-pl-mobile-cartwrap .badge {
        position: absolute;
        top: 2px;
        right: 0;
        font-size: 0.65rem;
        min-width: 1.1rem;
        padding: 0.2em 0.45em;
    }

    /* 手機版賣場分類橫向捲動列 */
    .msf-category-scroll {
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
        padding: 10px 0 8px;
        overflow: hidden;
    }
    .msf-category-scroll-inner {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 8px;
    }
    .msf-category-scroll-inner::-webkit-scrollbar {
        display: none;
    }
    .msf-cat-scroll-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        width: 72px;
        padding: 4px 4px 2px;
        text-decoration: none;
        color: #222;
        -webkit-tap-highlight-color: transparent;
    }
    .msf-cat-scroll-item:active .msf-cat-scroll-img-wrap {
        opacity: 0.8;
    }
    .msf-cat-scroll-img-wrap {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        overflow: hidden;
        background: #f3f4f6;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .msf-cat-scroll-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .msf-cat-scroll-label {
        font-size: 11px;
        line-height: 1.3;
        text-align: center;
        color: #333;
        max-width: 68px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-all;
    }
