/*
 * Marketplace V13.2
 * Clean marketplace layout based on the supplied reference.
 * Scope is isolated under #market13Featured to avoid affecting Hosting/Domain/Header/Footer.
 */

#market13Featured,
#market13Featured * {
    box-sizing: border-box;
}

#market13Featured.market13-section {
    padding: 52px 0 64px;
    background: transparent;
    color: #101828;
}

#market13Featured .market13-container {
    position: relative;
}

#market13Featured .market13-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

#market13Featured .market13-heading {
    min-width: 0;
}

#market13Featured .market13-heading h2 {
    margin: 0;
    color: #0a0a0a;
    font-size: clamp(25px, 1.75vw, 30px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-transform: none;
}

#market13Featured .market13-heading p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
}

#market13Featured .market13-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 0 0 auto;
}

#market13Featured .market13-view-switch,
#market13Featured .market13-sort-group {
    display: flex;
    align-items: center;
    min-height: 41px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

#market13Featured .market13-icon-btn,
#market13Featured .market13-sort-btn,
#market13Featured .market13-category-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    outline: 0;
    cursor: pointer;
    font-family: inherit;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#market13Featured .market13-icon-btn {
    width: 35px;
    height: 33px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    background: transparent;
    border-radius: 8px;
    color: #344054;
    font-size: 12px;
}

#market13Featured .market13-icon-btn:hover,
#market13Featured .market13-icon-btn.active {
    background: #f2f4f7;
    color: #111827;
}

#market13Featured .market13-sort-group {
    gap: 2px;
    overflow: hidden;
}

#market13Featured .market13-sort-btn {
    height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    background: transparent;
    border-radius: 8px;
    color: #111827;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

#market13Featured .market13-sort-btn i {
    width: 14px;
    color: #111827;
    font-size: 11px;
    text-align: center;
}

#market13Featured .market13-sort-btn:hover,
#market13Featured .market13-sort-btn.active {
    background: #f2f4f7;
}

#market13Featured .market13-category-wrap {
    position: relative;
    margin-bottom: 30px;
}

#market13Featured .market13-category-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 1px 3px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#market13Featured .market13-category-scroll::-webkit-scrollbar {
    display: none;
}

#market13Featured .market13-category-btn {
    height: 32px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #111827;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

#market13Featured .market13-category-btn:hover {
    border-color: #b7cdfb;
    color: #156cf7;
}

#market13Featured .market13-category-btn.active {
    background: #1769ff;
    border-color: #1769ff;
    color: #fff;
    box-shadow: none !important;
}

#market13Featured .market13-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

#market13Featured .market13-item[hidden] {
    display: none !important;
}

#market13Featured .market13-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

#market13Featured .market13-card:hover {
    transform: translateY(-3px);
    border-color: #d8e2ef;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.07);
}

#market13Featured .market13-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f6f7f9;
    border-radius: 15px;
}

#market13Featured .market13-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

#market13Featured .market13-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}

#market13Featured .market13-card:hover .market13-media img {
    transform: scale(1.025);
}

#market13Featured .market13-float-price {
    position: absolute;
    left: 9px;
    bottom: 9px;
    z-index: 3;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    background: #2f78ff;
    border-radius: 9px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(47, 120, 255, 0.18);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

#market13Featured .market13-discount {
    position: absolute;
    left: 9px;
    top: 9px;
    z-index: 3;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: #ef4444;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.14);
    font-size: 10px;
    font-weight: 800;
}

#market13Featured .market13-favorite {
    position: absolute;
    right: 9px;
    top: 9px;
    z-index: 4;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .18s ease, transform .18s ease;
}

#market13Featured .market13-card:hover .market13-favorite,
#market13Featured .market13-favorite:focus-within {
    opacity: 1;
    transform: translateY(0);
}

#market13Featured .market13-favorite a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(229,231,235,.95);
    border-radius: 50%;
    color: #344054;
    box-shadow: 0 4px 12px rgba(16,24,40,.12);
    font-size: 12px;
    text-decoration: none;
}

#market13Featured .market13-favorite a:hover,
#market13Featured .market13-favorite a.active,
#market13Featured .market13-favorite a.favourite {
    color: #ef4444;
}

#market13Featured .market13-body {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 13px 4px 4px;
}

#market13Featured .market13-tag {
    align-self: flex-start;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    background: #eff6ff;
    border-radius: 6px;
    color: #1769ff;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

#market13Featured .market13-title {
    margin: 10px 0 12px;
    min-height: 22px;
    color: #101828;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -0.01em;
    text-transform: none;
}

#market13Featured .market13-title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    transition: color .16s ease;
}

#market13Featured .market13-card:hover .market13-title a {
    color: #1769ff;
}

#market13Featured .market13-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

#market13Featured .market13-author {
    min-width: 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#market13Featured .market13-author a {
    color: #475467;
    font-weight: 600;
    text-decoration: none;
}

#market13Featured .market13-price-line {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

#market13Featured .market13-price-line del {
    color: #98a2b3;
    font-size: 9px;
    font-weight: 500;
}

#market13Featured .market13-price-line strong {
    color: #1769ff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

#market13Featured .market13-description,
#market13Featured .market13-list-extra {
    display: none;
}


/* V13.1: smaller typography + flat active controls. */
#market13Featured .market13-icon-btn.active,
#market13Featured .market13-sort-btn.active,
#market13Featured .market13-category-btn.active {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

#market13Featured .market13-icon-btn:focus,
#market13Featured .market13-sort-btn:focus,
#market13Featured .market13-category-btn:focus {
    box-shadow: none !important;
}

/* V13.2 compact list view: two horizontal cards per row on desktop. */
#market13Featured .market13-grid.is-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    align-items: stretch;
}

#market13Featured .market13-grid.is-list .market13-card {
    min-width: 0;
    min-height: 126px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 20px;
}

#market13Featured .market13-grid.is-list .market13-media {
    flex: 0 0 116px;
    width: 116px;
    height: 104px;
    aspect-ratio: auto;
    border-radius: 14px;
}

#market13Featured .market13-grid.is-list .market13-float-price,
#market13Featured .market13-grid.is-list .market13-favorite {
    display: none;
}

#market13Featured .market13-grid.is-list .market13-discount {
    left: 7px;
    top: 7px;
    min-height: 21px;
    padding: 0 7px;
    font-size: 8px;
    border-radius: 7px;
}

#market13Featured .market13-grid.is-list .market13-body {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-content: center;
    padding: 2px 4px 2px 0;
}

#market13Featured .market13-grid.is-list .market13-title {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
}

#market13Featured .market13-grid.is-list .market13-title a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-line-clamp: unset;
}

#market13Featured .market13-grid.is-list .market13-description {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    display: -webkit-box;
    margin: 1px 0 2px;
    overflow: hidden;
    color: #7b8494;
    font-size: 10px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

#market13Featured .market13-grid.is-list .market13-tag {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    padding: 3px 6px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 5px;
    color: #475467;
    font-size: 8px;
    letter-spacing: .035em;
}

#market13Featured .market13-grid.is-list .market13-meta {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
    min-width: 76px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin: 0;
}

#market13Featured .market13-grid.is-list .market13-meta .market13-author {
    display: none;
}

#market13Featured .market13-grid.is-list .market13-price-line {
    gap: 4px;
    flex-direction: column;
    align-items: flex-end;
}

#market13Featured .market13-grid.is-list .market13-price-line del {
    display: none;
}

#market13Featured .market13-grid.is-list .market13-price-line strong {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

#market13Featured .market13-grid.is-list .market13-list-extra {
    grid-column: 1;
    grid-row: 4;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-top: 2px;
    color: #98a2b3;
    font-size: 8.5px;
    line-height: 1.2;
}

#market13Featured .market13-grid.is-list .market13-list-extra span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

#market13Featured .market13-grid.is-list .market13-list-author {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#market13Featured .market13-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: #667085;
}

#market13Featured .market13-empty > i {
    color: #98a2b3;
    font-size: 30px;
}

#market13Featured .market13-empty h3 {
    margin: 12px 0 5px;
    color: #101828;
    font-size: 18px;
    font-weight: 700;
}

#market13Featured .market13-empty p {
    margin: 0;
    font-size: 12px;
}

@media (max-width: 1199.98px) {
    #market13Featured .market13-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    #market13Featured .market13-sort-btn {
        padding: 0 11px;
    }
}

@media (max-width: 991.98px) {
    #market13Featured .market13-grid.is-list {
        grid-template-columns: 1fr;
    }

    #market13Featured.market13-section {
        padding: 42px 0 54px;
    }

    #market13Featured .market13-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    #market13Featured .market13-controls {
        width: 100%;
        justify-content: flex-start;
    }

    #market13Featured .market13-sort-group {
        max-width: calc(100% - 92px);
        overflow-x: auto;
        scrollbar-width: none;
    }

    #market13Featured .market13-sort-group::-webkit-scrollbar {
        display: none;
    }

    #market13Featured .market13-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    #market13Featured.market13-section {
        padding: 34px 0 44px;
    }

    #market13Featured .market13-topbar {
        margin-bottom: 18px;
    }

    #market13Featured .market13-heading h2 {
        font-size: 25px;
        letter-spacing: -0.025em;
    }

    #market13Featured .market13-heading p {
        margin-top: 6px;
        font-size: 13px;
    }

    #market13Featured .market13-controls {
        gap: 10px;
        overflow: hidden;
    }

    #market13Featured .market13-view-switch,
    #market13Featured .market13-sort-group {
        min-height: 41px;
        border-radius: 10px;
    }

    #market13Featured .market13-icon-btn {
        width: 34px;
        height: 31px;
    }

    #market13Featured .market13-sort-group {
        flex: 1 1 auto;
        max-width: none;
    }

    #market13Featured .market13-sort-btn {
        height: 31px;
        padding: 0 10px;
        font-size: 11px;
    }

    #market13Featured .market13-sort-btn i {
        font-size: 10px;
    }

    #market13Featured .market13-category-wrap {
        margin-bottom: 20px;
    }

    #market13Featured .market13-category-btn {
        height: 32px;
        padding: 0 14px;
        font-size: 12px;
    }

    #market13Featured .market13-grid {
        gap: 11px;
    }

    #market13Featured .market13-card {
        padding: 7px;
        border-radius: 14px;
    }

    #market13Featured .market13-media {
        border-radius: 11px;
    }

    #market13Featured .market13-float-price {
        left: 6px;
        bottom: 6px;
        min-height: 24px;
        padding: 0 7px;
        border-radius: 7px;
        font-size: 9px;
    }

    #market13Featured .market13-discount {
        left: 6px;
        top: 6px;
        min-height: 21px;
        padding: 0 6px;
        border-radius: 6px;
        font-size: 8px;
    }

    #market13Featured .market13-favorite {
        right: 6px;
        top: 6px;
        opacity: 1;
        transform: none;
    }

    #market13Featured .market13-favorite a {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    #market13Featured .market13-body {
        padding: 9px 3px 3px;
    }

    #market13Featured .market13-tag {
        padding: 3px 5px;
        border-radius: 5px;
        font-size: 8px;
    }

    #market13Featured .market13-title {
        margin: 7px 0 9px;
        font-size: 12px;
    }

    #market13Featured .market13-author {
        max-width: 48%;
        font-size: 8.5px;
    }

    #market13Featured .market13-price-line del {
        display: none;
    }

    #market13Featured .market13-price-line strong {
        font-size: 10px;
    }

    #market13Featured .market13-grid.is-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #market13Featured .market13-grid.is-list .market13-card {
        min-height: 104px;
        gap: 10px;
        padding: 7px;
        border-radius: 15px;
    }

    #market13Featured .market13-grid.is-list .market13-media {
        flex-basis: 96px;
        width: 96px;
        height: 88px;
        border-radius: 11px;
    }

    #market13Featured .market13-grid.is-list .market13-body {
        column-gap: 8px;
        row-gap: 3px;
        padding: 1px 1px 1px 0;
    }

    #market13Featured .market13-grid.is-list .market13-title {
        font-size: 11px;
    }

    #market13Featured .market13-grid.is-list .market13-description {
        font-size: 8.5px;
    }

    #market13Featured .market13-grid.is-list .market13-tag {
        padding: 2px 5px;
        font-size: 7px;
    }

    #market13Featured .market13-grid.is-list .market13-meta {
        min-width: 58px;
    }

    #market13Featured .market13-grid.is-list .market13-price-line del {
        display: none;
    }

    #market13Featured .market13-grid.is-list .market13-price-line strong {
        font-size: 14px;
        font-weight: 800;
    }

    #market13Featured .market13-grid.is-list .market13-list-extra {
        gap: 4px 7px;
        font-size: 7.5px;
    }

    #market13Featured .market13-grid.is-list .market13-list-author {
        display: none;
    }
}

@media (max-width: 420px) {
    #market13Featured .market13-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    #market13Featured .market13-sort-btn span {
        display: none;
    }

    #market13Featured .market13-sort-btn {
        width: 34px;
        padding: 0;
    }
}

/* ============================================================
   V13.3 - Small phone toolbar fix (Pixel / <=420px)
   Keep sort labels visible instead of icon-only buttons.
   ============================================================ */
@media (max-width: 420px) {
    #market13Featured .market13-controls {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    #market13Featured .market13-view-switch {
        flex: 0 0 auto !important;
    }

    #market13Featured .market13-sort-group {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #market13Featured .market13-sort-group::-webkit-scrollbar {
        display: none !important;
    }

    /* Undo the old icon-only rule. */
    #market13Featured .market13-sort-btn span {
        display: inline !important;
        white-space: nowrap !important;
    }

    #market13Featured .market13-sort-btn {
        width: auto !important;
        min-width: max-content !important;
        flex: 0 0 auto !important;
        height: 31px !important;
        padding: 0 8px !important;
        gap: 5px !important;
        font-size: 9.5px !important;
        line-height: 1 !important;
    }

    #market13Featured .market13-sort-btn i {
        flex: 0 0 auto !important;
        font-size: 9px !important;
    }
}

/* =========================================================
   F12-style floating price/free badge — unified home cards
   ========================================================= */
#market13Featured .market13-float-price {
    left: 8px !important;
    bottom: 8px !important;
    min-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 4px 8px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #2f78ff !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(47, 120, 255, .18) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 575.98px) {
    #market13Featured .market13-float-price {
        left: 6px !important;
        bottom: 6px !important;
        padding: 4px 8px !important;
        border-radius: 12px !important;
        font-size: 10px !important;
    }
}


/* Featured demo cover: card ưu tiên ảnh demo đầu tiên khi sản phẩm có demo. */


/* V114 — giữ badge giá trên ảnh ở dạng lưới; chỉ ẩn khi chuyển sang dạng ngang/list. */
#market13Featured .market13-grid:not(.is-list) .market13-float-price{display:inline-flex!important;}
#market13Featured .market13-grid.is-list .market13-float-price{display:none!important;}

/* V117 — giá Kho sản phẩm: cấp bậc ở trên, giá giảm + giá gốc cùng một hàng. */
#market13Featured .market13-price-stack{
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:flex-end;
    gap:4px;
    min-width:0;
}
#market13Featured .market13-rank-price-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:18px;
    padding:2px 7px;
    border:1px solid #bfdbfe;
    border-radius:999px;
    background:#eff6ff;
    color:#1769ff;
    font-size:9px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
}
#market13Featured .market13-price-stack .market13-price-line{
    display:flex;
    align-items:baseline;
    justify-content:flex-end;
    gap:7px;
    margin:0;
}
#market13Featured .market13-price-stack .market13-price-line strong{
    order:1;
}
#market13Featured .market13-price-stack .market13-price-line del{
    order:2;
}
#market13Featured .market13-grid.is-list .market13-price-stack{
    margin-left:auto;
    align-items:flex-end;
}
#market13Featured .market13-grid.is-list .market13-price-stack .market13-price-line{
    justify-content:flex-end;
}
@media (max-width:767px){
    #market13Featured .market13-price-stack{gap:3px}
    #market13Featured .market13-rank-price-badge{font-size:8px;padding:2px 6px}
    #market13Featured .market13-price-stack .market13-price-line{gap:5px}
}

/* ============================================================
   V119 — Home mobile: cấp bậc ở trên, giá giảm + giá gốc cùng hàng
   Giữ badge giá nổi trên ảnh ở grid; chỉ sửa phần meta dưới card.
   ============================================================ */
@media (max-width:767.98px){
    #market13Featured .market13-meta{
        margin-top:auto!important;
        padding-top:8px!important;
        border-top:1px dashed #d9e4f1!important;
        align-items:flex-end!important;
        gap:8px!important;
    }
    #market13Featured .market13-price-stack{
        display:flex!important;
        flex-direction:column!important;
        align-items:flex-end!important;
        gap:4px!important;
        min-width:0!important;
    }
    #market13Featured .market13-rank-price-badge{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-height:17px!important;
        padding:2px 6px!important;
        font-size:8px!important;
        line-height:1!important;
        font-weight:700!important;
        white-space:nowrap!important;
    }
    #market13Featured .market13-price-stack .market13-price-line{
        display:flex!important;
        flex-direction:row!important;
        align-items:baseline!important;
        justify-content:flex-end!important;
        gap:5px!important;
        margin:0!important;
        white-space:nowrap!important;
    }
    #market13Featured .market13-price-stack .market13-price-line strong{
        display:inline!important;
        order:1!important;
        font-size:10.5px!important;
        line-height:1.05!important;
        font-weight:800!important;
        color:#1769ff!important;
    }
    #market13Featured .market13-price-stack .market13-price-line del{
        display:inline!important;
        order:2!important;
        margin:0!important;
        font-size:8.25px!important;
        line-height:1!important;
        font-weight:500!important;
        color:#93a0b2!important;
        text-decoration-thickness:1px!important;
    }
    #market13Featured .market13-author{
        align-self:flex-end!important;
        padding-bottom:1px!important;
    }
}

@media (max-width:390px){
    #market13Featured .market13-price-stack .market13-price-line{gap:4px!important}
    #market13Featured .market13-price-stack .market13-price-line strong{font-size:10px!important}
    #market13Featured .market13-price-stack .market13-price-line del{font-size:7.8px!important}
}

/* V130 — restore the dashed divider above author/price on Home product cards */
#market13Featured .market13-grid:not(.is-list) .market13-meta{
    padding-top:8px!important;
    border-top:1px dashed #d9e4f1!important;
}


/* V134 — Home product card cleanup: no rank pill, no dashed divider. */
#market13Featured .market13-rank-price-badge{display:none!important}
#market13Featured .market13-meta,
#market13Featured .market13-grid:not(.is-list) .market13-meta{
    border-top:0!important;
    padding-top:4px!important;
}
#market13Featured .market13-price-stack{gap:0!important}
#market13Featured .market13-price-stack .market13-price-line{
    display:flex!important;
    flex-direction:row!important;
    align-items:baseline!important;
    gap:6px!important;
    white-space:nowrap!important;
}
@media(max-width:767.98px){
    #market13Featured .market13-meta{border-top:0!important;padding-top:4px!important}
}
