:root {
    --momo-deal-green: #25CD66;
    --momo-deal-dark: #082B16;
    --momo-deal-soft: #E8F9EF;
    --momo-deal-border: #E6E7E9;
}

.momo-deals-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px 48px;
}

.momo-deals-page-title h1 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
}

.momo-deals-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--momo-deal-green);
    color: var(--momo-deal-dark);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
}

.momo-deals-clock {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
}

.momo-deals-clock svg {
    width: 100%;
    height: 100%;
}

.momo-deals-countdown-copy {
    min-width: 0;
}

.momo-deals-eyebrow {
    font-size: 13px;
    letter-spacing: .16em;
    font-weight: 700;
}

.momo-deals-countdown {
    margin-top: 3px;
    font-size: clamp(34px, 8vw, 55px);
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
}

.momo-deals-midnight {
    margin-top: 6px;
    font-weight: 600;
}

.momo-deals-summary {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    padding-left: 22px;
    border-left: 1px solid rgba(8, 43, 22, .25);
}

.momo-deals-summary strong {
    font-size: 28px;
    line-height: 1;
}

.momo-deals-summary span {
    margin-top: 3px;
    font-weight: 700;
}

.momo-deals-summary small {
    margin-top: 8px;
}

.momo-deals-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
}

.momo-deals-filter-active {
    background: var(--momo-deal-green);
    color: var(--momo-deal-dark);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.momo-deals-reset-copy {
    color: #62676D;
    font-size: 14px;
}

.momo-deals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.momo-deal-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--momo-deal-border);
    border-radius: 14px;
}

.momo-deal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 10px;
    background: #fff;
}

.momo-deal-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.momo-deal-card-body {
    padding: 11px 12px 14px;
}

.momo-daily-deal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: var(--momo-deal-green);
    color: var(--momo-deal-dark);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.momo-deal-name {
    display: block;
    color: #111;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
}

.momo-deal-pricing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.momo-deal-price-stack {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.momo-deal-regular {
    color: #6B6F74;
    font-size: 13px;
    text-decoration: line-through;
}

.momo-deal-final {
    margin-top: 1px;
    color: #079447;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.momo-deal-saving {
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--momo-deal-soft);
    color: #087A3B;
    font-size: 12px;
    font-weight: 750;
}

.momo-deals-empty {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 32px 20px;
    text-align: center;
    background: #F7F8F8;
    border-radius: 14px;
}

@media (max-width: 599px) {
    .momo-deals-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .momo-deals-page-title h1 {
        font-size: 26px;
    }

    .momo-deals-hero {
        gap: 10px;
        padding: 17px 14px;
        border-radius: 14px;
    }

    .momo-deals-clock {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .momo-deals-summary {
        padding-left: 12px;
    }

    .momo-deals-summary strong {
        font-size: 22px;
    }

    .momo-deals-summary span,
    .momo-deals-summary small {
        font-size: 11px;
    }

    .momo-deal-card-body {
        padding: 9px 9px 12px;
    }

    .momo-deal-final {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .momo-deals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1100px) {
    .momo-deals-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/*
 * Shared mobile navigation Daily Deals styling.
 * We will attach this class to the existing Deals row once its
 * exact current markup is confirmed.
 */
@media (max-width: 767px) {
    .momo-daily-deals-nav {
        display: flex !important;
        align-items: center !important;
        width: 100%;
        gap: 10px;
        padding: 14px 16px !important;
        background: var(--momo-deal-green) !important;
        color: var(--momo-deal-dark) !important;
        text-decoration: none !important;
    }

    .momo-daily-deals-nav-clock {
        display: flex;
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }

    .momo-daily-deals-nav-clock svg {
        width: 100%;
        height: 100%;
    }

    .momo-daily-deals-nav-label {
        font-weight: 800;
    }

    .momo-daily-deals-nav-timer {
        margin-left: auto;
        padding: 4px 8px;
        border: 1px solid rgba(8, 43, 22, .28);
        border-radius: 999px;
        background: rgba(255, 255, 255, .38);
        font-size: 12px;
        line-height: 1;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }
}

/* PHASE 4A PERSISTED DEAL BADGES */

.momo-deal-badges {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 9px;
}

.momo-deal-badges .momo-daily-deal-badge {
    border-radius: 6px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.momo-deal-discount-badge {
    align-items: center;
    background: #1677ff;
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    min-height: 27px;
    padding: 4px 10px;
}


/* PHASE 4A MOBILE HERO REFINEMENT */

@media (max-width: 599px) {

    .momo-deals-page {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 8px;
    }

    .momo-deals-page-title h1 {
        font-size: 25px;
        margin-bottom: 14px;
    }

    .momo-deals-hero {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        column-gap: 12px;
        row-gap: 0;
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 14px;
    }

    .momo-deals-clock {
        width: 44px;
        height: 44px;
        flex-basis: auto;
        grid-column: 1;
        grid-row: 1;
    }

    .momo-deals-countdown-copy {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .momo-deals-eyebrow {
        font-size: 11px;
        line-height: 1.25;
        letter-spacing: .14em;
        white-space: nowrap;
    }

    .momo-deals-countdown {
        margin-top: 3px;
        font-size: 32px;
        line-height: .98;
        letter-spacing: -.035em;
    }

    .momo-deals-midnight {
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.3;
    }

    .momo-deals-summary {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 7px;
        width: 100%;
        margin: 14px 0 0;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(8, 43, 22, .22);
    }

    .momo-deals-summary strong {
        font-size: 24px;
        line-height: 1;
    }

    .momo-deals-summary span {
        margin-top: 0;
        font-size: 12px;
        line-height: 1.2;
    }

    .momo-deals-summary small {
        margin-top: 0;
        font-size: 11px;
        line-height: 1.2;
        text-align: right;
    }

    .momo-deals-empty {
        padding: 26px 18px;
        border-radius: 14px;
        line-height: 1.45;
    }

    .momo-deals-empty strong {
        font-size: 15px;
    }

    .momo-deals-empty span {
        font-size: 14px;
    }
}

@media (max-width: 359px) {

    .momo-deals-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .momo-deals-hero {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 14px;
        column-gap: 10px;
    }

    .momo-deals-clock {
        width: 40px;
        height: 40px;
    }

    .momo-deals-countdown {
        font-size: 29px;
    }

    .momo-deals-eyebrow {
        font-size: 10px;
    }

    .momo-deals-summary {
        grid-template-columns: auto 1fr;
    }

    .momo-deals-summary small {
        grid-column: 1 / -1;
        text-align: left;
    }
}



/* ==========================================================
 * MOMO_DAILY_DEALS_CAMPAIGN_V1
 * ========================================================== */

.momo-dotd-section {
    margin: 22px 0 28px;
}

.momo-dotd-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
}

.momo-dotd-heading-label {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.02em;
    color: #111;
}

.momo-dotd-heading-copy {
    color: #6B6F74;
    font-size: 13px;
}

.momo-deal-card[data-momo-deal-of-day="1"] {
    display: grid;
    grid-template-columns:
        minmax(300px, .92fr)
        minmax(0, 1.08fr);
    min-height: 360px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E1E4E7;
    border-radius: 18px;
}

.momo-dotd-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 30px;
    background: #F3F4F5;
    text-decoration: none;
}

.momo-dotd-image img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.momo-dotd-image-badges,
.momo-deal-image-badges {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.momo-dotd-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 38px;
}

.momo-dotd-kicker {
    margin-bottom: 8px;
    color: #079447;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.momo-dotd-name {
    display: block;
    color: #111;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.03em;
    text-decoration: none;
}

.momo-dotd-copy {
    max-width: 520px;
    margin-top: 12px;
    color: #62676D;
    font-size: 14px;
    line-height: 1.45;
}

.momo-dotd-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 22px;
}

.momo-dotd-regular {
    color: #7A7E83;
    font-size: 15px;
    text-decoration: line-through;
}

.momo-dotd-final {
    color: #079447;
    font-size: 32px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.025em;
}

.momo-dotd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 12px;
    min-height: 46px;
    margin-top: 22px;
    padding: 0 22px;
    background: #111;
    color: #fff !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.momo-dotd-button:hover {
    background: #222;
}

.momo-deals-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
}

.momo-deals-section-head h2 {
    margin: 0;
    color: #111;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.02em;
}

.momo-deals-section-head span {
    display: block;
    margin-top: 3px;
    color: #6B6F74;
    font-size: 13px;
}

.momo-deals-section-head strong {
    flex: 0 0 auto;
    color: #62676D;
    font-size: 13px;
    font-weight: 650;
}

/*
 * Daily Deals cards intentionally retain Mitzuma PLP DNA,
 * but the campaign page remains visually distinct.
 */
.momo-deals-grid .momo-deal-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E1E4E7;
    border-radius: 14px;
}

.momo-deals-grid .momo-deal-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 22px;
    background: #F3F4F5;
}

.momo-deals-grid .momo-deal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.momo-deals-grid .momo-deal-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 14px 14px 16px;
}

.momo-deals-grid .momo-deal-name {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    color: #111;
    font-size: 15px;
    line-height: 1.28;
    font-weight: 700;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.momo-deals-grid .momo-deal-pricing {
    margin-top: auto;
    padding-top: 12px;
}

.momo-deals-grid .momo-deal-regular {
    color: #7A7E83;
    font-size: 13px;
}

.momo-deals-grid .momo-deal-final {
    margin-top: 2px;
    color: #079447;
    font-size: 20px;
    font-weight: 850;
}

.momo-daily-deal-badge,
.momo-deal-discount-badge {
    min-height: 26px;
    margin: 0;
    padding: 6px 9px;
    border-radius: 6px;
    line-height: 1;
    font-size: 12px;
    font-weight: 850;
}

.momo-daily-deal-badge {
    background: #25CD66;
    color: #082B16;
}

.momo-deal-discount-badge {
    display: inline-flex;
    align-items: center;
    background: #1473E6;
    color: #fff;
}


/* Mobile */
@media (max-width: 767px) {

    .momo-dotd-section {
        margin-top: 18px;
        margin-bottom: 22px;
    }

    .momo-dotd-heading {
        display: block;
        margin-bottom: 9px;
    }

    .momo-dotd-heading-label {
        display: block;
        font-size: 18px;
    }

    .momo-dotd-heading-copy {
        display: block;
        margin-top: 3px;
    }

    .momo-deal-card[data-momo-deal-of-day="1"] {
        display: block;
        min-height: 0;
        border-radius: 15px;
    }

    .momo-dotd-image {
        min-height: 0;
        aspect-ratio: 16 / 11;
        padding: 24px;
    }

    .momo-dotd-image img {
        width: 100%;
        height: 100%;
        max-height: 240px;
    }

    .momo-dotd-image-badges,
    .momo-deal-image-badges {
        top: 9px;
        left: 9px;
        gap: 5px;
    }

    .momo-dotd-body {
        padding: 18px 16px 20px;
    }

    .momo-dotd-name {
        font-size: 22px;
    }

    .momo-dotd-copy {
        margin-top: 8px;
        font-size: 13px;
    }

    .momo-dotd-price {
        margin-top: 16px;
    }

    .momo-dotd-final {
        font-size: 27px;
    }

    .momo-dotd-button {
        width: 100%;
        margin-top: 16px;
    }

    .momo-deals-section-head {
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .momo-deals-section-head h2 {
        font-size: 19px;
    }

    .momo-deals-section-head strong {
        font-size: 11px;
        white-space: nowrap;
    }

    .momo-deals-grid {
        gap: 10px;
    }

    .momo-deals-grid .momo-deal-image {
        padding: 14px;
    }

    .momo-deals-grid .momo-deal-card-body {
        padding: 10px 10px 12px;
    }

    .momo-deals-grid .momo-deal-name {
        min-height: 36px;
        font-size: 14px;
    }

    .momo-deals-grid .momo-deal-final {
        font-size: 18px;
    }

    .momo-daily-deal-badge,
    .momo-deal-discount-badge {
        min-height: 24px;
        padding: 5px 7px;
        font-size: 10px;
    }
}


/* ==========================================================
 * MOMO_DAILY_DEALS_AMAZON_V1
 * Denser deal merchandising inspired by large marketplace
 * deal pages while retaining Mitzuma visual identity.
 * ========================================================== */


/* -------------------------------
   Deal of the Day
   ------------------------------- */

.momo-dotd-section {
    margin-top: 20px;
    margin-bottom: 30px;
}

.momo-dotd-heading {
    margin-bottom: 10px;
}

.momo-dotd-heading-label {
    font-size: 17px;
    font-weight: 850;
}

.momo-dotd-heading-copy {
    color: #697077;
    font-size: 13px;
}


/*
 * More compact than Phase 4C.
 */
.momo-deal-card[data-momo-deal-of-day="1"] {
    grid-template-columns:
        minmax(320px, 42%)
        minmax(0, 58%);

    min-height: 300px;

    border-radius: 12px;
    border-color: #DADDE1;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .03);
}


/*
 * Grey outer merchandising panel.
 */
.momo-dotd-image {
    position: relative;

    min-height: 300px;

    padding: 30px;

    background: #F3F4F5;

    overflow: hidden;
}


/*
 * White inner product-image well.
 */
.momo-dotd-image::before {
    content: "";

    position: absolute;

    inset: 24px;

    background: #fff;

    border-radius: 8px;
}

.momo-dotd-image img {
    position: relative;
    z-index: 1;

    width: calc(100% - 18px);
    height: 235px;

    object-fit: contain;
}


/*
 * Badges remain visible above image well.
 */
.momo-dotd-image-badges {
    z-index: 3;

    top: 14px;
    left: 14px;
}


.momo-dotd-body {
    padding: 28px 34px;
}


.momo-dotd-kicker {
    margin-bottom: 7px;

    font-size: 12px;

    letter-spacing: .07em;
}


.momo-dotd-name {
    max-width: 600px;

    font-size: 26px;

    line-height: 1.12;
}


.momo-dotd-copy {
    max-width: 520px;

    margin-top: 9px;

    font-size: 13px;
    line-height: 1.45;
}


.momo-dotd-price {
    gap: 11px;

    margin-top: 20px;
}


.momo-dotd-regular {
    font-size: 14px;
}


.momo-dotd-final {
    font-size: 34px;

    letter-spacing: -.035em;
}


.momo-dotd-save {
    display: inline-flex;

    align-self: flex-start;

    margin-top: 8px;

    padding: 5px 9px;

    border-radius: 5px;

    background: #E8F9EF;

    color: #087A3B;

    font-size: 12px;
    line-height: 1.1;

    font-weight: 800;
}


.momo-dotd-button {
    min-height: 44px;

    margin-top: 17px;

    padding: 0 20px;

    border-radius: 7px;

    transition:
        transform .12s ease,
        background .12s ease;
}


.momo-dotd-button:hover {
    transform: translateY(-1px);
}


/* -------------------------------
   More Daily Deals
   ------------------------------- */

.momo-deals-section-head {
    margin-top: 2px;
    margin-bottom: 13px;
}


.momo-deals-section-head h2 {
    font-size: 21px;
}


.momo-deals-grid {
    gap: 16px;
}


/*
 * Marketplace cards are denser than the
 * first Daily Deals design.
 */
.momo-deals-grid .momo-deal-card {
    border-radius: 10px;

    border-color: #E0E2E5;

    transition:
        transform .12s ease,
        box-shadow .12s ease,
        border-color .12s ease;
}


.momo-deals-grid .momo-deal-card:hover {
    transform: translateY(-2px);

    border-color: #CBD0D5;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, .07);
}


/*
 * Reduce the very tall square image panels.
 */
.momo-deals-grid .momo-deal-image {
    aspect-ratio: 4 / 3;

    min-height: 0;

    padding: 22px;

    background: #F3F4F5;
}


.momo-deals-grid .momo-deal-image::before {
    content: "";

    position: absolute;

    inset: 14px;

    background: #fff;

    border-radius: 6px;
}


.momo-deals-grid .momo-deal-image img {
    position: relative;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.momo-deal-image-badges {
    z-index: 3;

    top: 10px;
    left: 10px;
}


/*
 * Denser offer information.
 */
.momo-deals-grid .momo-deal-card-body {
    min-height: 112px;

    padding: 13px 13px 15px;
}


.momo-deals-grid .momo-deal-name {
    min-height: 38px;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 700;
}


.momo-deals-grid .momo-deal-pricing {
    padding-top: 10px;
}


.momo-deals-grid .momo-deal-regular {
    font-size: 12px;
}


.momo-deals-grid .momo-deal-final {
    font-size: 21px;
    line-height: 1.05;
}


/*
 * More marketplace-like compact badges.
 */
.momo-daily-deal-badge,
.momo-deal-discount-badge {
    min-height: 24px;

    padding: 5px 8px;

    border-radius: 5px;

    font-size: 11px;
}


/* -------------------------------
   Countdown refinement
   ------------------------------- */

@media (min-width: 768px) {

    .momo-deals-hero {
        min-height: 128px;

        padding-top: 20px;
        padding-bottom: 20px;
    }

}


/* -------------------------------
   Mobile
   ------------------------------- */

@media (max-width: 767px) {

    .momo-dotd-section {
        margin-top: 17px;
        margin-bottom: 24px;
    }


    .momo-dotd-heading-label {
        font-size: 17px;
    }


    .momo-dotd-heading-copy {
        margin-top: 3px;

        font-size: 12px;
    }


    .momo-deal-card[data-momo-deal-of-day="1"] {
        border-radius: 11px;
    }


    .momo-dotd-image {
        aspect-ratio: 4 / 3;

        padding: 22px;

        background: #F3F4F5;
    }


    .momo-dotd-image::before {
        inset: 15px;
    }


    .momo-dotd-image img {
        width: 100%;
        height: 100%;

        max-height: 210px;
    }


    .momo-dotd-body {
        padding: 16px 15px 18px;
    }


    .momo-dotd-name {
        font-size: 21px;
    }


    .momo-dotd-copy {
        margin-top: 7px;

        font-size: 12px;
    }


    .momo-dotd-price {
        margin-top: 14px;
    }


    .momo-dotd-final {
        font-size: 28px;
    }


    .momo-dotd-save {
        margin-top: 7px;
    }


    .momo-dotd-button {
        min-height: 43px;

        margin-top: 14px;
    }


    .momo-deals-grid {
        gap: 9px;
    }


    .momo-deals-grid .momo-deal-image {
        aspect-ratio: 1 / 1;

        padding: 11px;
    }


    .momo-deals-grid .momo-deal-image::before {
        inset: 7px;
    }


    .momo-deals-grid .momo-deal-card-body {
        min-height: 105px;

        padding: 9px 9px 11px;
    }


    .momo-deals-grid .momo-deal-name {
        min-height: 35px;

        font-size: 13px;
    }


    .momo-deals-grid .momo-deal-final {
        font-size: 18px;
    }


    .momo-daily-deal-badge,
    .momo-deal-discount-badge {
        min-height: 22px;

        padding: 4px 6px;

        font-size: 9px;
    }

}


/* ==========================================================
 * MOMO_DAILY_DEALS_UI_V4
 * ========================================================== */


/*
 * 1. Badges vertically stacked.
 *
 * DAILY DEAL
 * 14% OFF
 */
.momo-deal-image-badges,
.momo-dotd-image-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
}


/*
 * 2. Remove the artificial white inner image panel.
 * The entire image section becomes one clean PLP-style
 * light-grey merchandising surface.
 */
.momo-deals-grid .momo-deal-image::before,
.momo-dotd-image::before {
    content: none !important;
    display: none !important;
}


/*
 * Consistent background across every product image.
 */
.momo-deals-grid .momo-deal-image,
.momo-dotd-image {
    background: #F3F4F5 !important;
}


/*
 * Product images sit naturally on the grey panel.
 * Multiply removes the harsh white JPEG rectangle on
 * product images that were photographed on white.
 */
.momo-deals-grid .momo-deal-image img {
    position: relative;
    z-index: 1;

    width: 88%;
    height: 88%;

    max-width: 88%;
    max-height: 88%;

    margin: auto;

    object-fit: contain;

    mix-blend-mode: multiply;
}


.momo-dotd-image img {
    position: relative;
    z-index: 1;

    width: 82%;
    height: 82%;

    max-width: 82%;
    max-height: 82%;

    margin: auto;

    object-fit: contain;

    mix-blend-mode: multiply;
}


/*
 * Clean image-area proportions.
 */
.momo-deals-grid .momo-deal-image {
    overflow: hidden;

    padding: 18px;
}


/*
 * Give the grid a natural gap below Deal of the Day
 * now that the intermediate heading has been removed.
 */
.momo-dotd-section {
    margin-bottom: 24px;
}


/*
 * Keep badge sizes compact when stacked.
 */
.momo-deal-image-badges
.momo-daily-deal-badge,
.momo-deal-image-badges
.momo-deal-discount-badge,
.momo-dotd-image-badges
.momo-daily-deal-badge,
.momo-dotd-image-badges
.momo-deal-discount-badge {
    width: auto;
    margin: 0;
}


/* Desktop */
@media (min-width: 768px) {

    .momo-deals-grid
    .momo-deal-image {
        aspect-ratio: 4 / 3;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .momo-dotd-section {
        margin-bottom: 18px;
    }

    .momo-deals-grid
    .momo-deal-image {
        aspect-ratio: 1 / 1;

        padding: 10px;
    }

    .momo-deals-grid
    .momo-deal-image img {
        width: 90%;
        height: 90%;

        max-width: 90%;
        max-height: 90%;
    }

    .momo-dotd-image img {
        width: 88%;
        height: 88%;

        max-width: 88%;
        max-height: 88%;
    }

}

/* DEAL OF THE DAY - cleaner marketplace heading */
.momo-dotd-heading-label {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0;
    color: #111;
}

@media (max-width: 767px) {
    .momo-dotd-heading-label {
        font-size: 15px;
        font-weight: 600;
    }
}


/* ==========================================================
 * MOMO_DAILY_DEALS_UI_V5
 * Wishlist + Pink CTA + Typography
 * ========================================================== */


/*
 * Deal cards become the positioning context
 * for the wishlist control.
 */
.momo-deals-grid .momo-deal-card,
.momo-deal-card[data-momo-deal-of-day="1"] {
    position: relative;
}


/* -------------------------------
   Wishlist
   ------------------------------- */

.momo-deal-wishlist {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 20;

    width: 40px;
    height: 40px;

    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #E5E7EB;
    border-radius: 9999px;

    background: #fff;
    color: #64748B;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, .10);

    cursor: pointer;

    transition:
        color .15s ease,
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.momo-deal-wishlist:hover {
    color: #E6007E;

    border-color: #E6007E;

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(15, 23, 42, .14);
}

.momo-deal-wishlist:focus-visible {
    outline: 2px solid #E6007E;
    outline-offset: 2px;
}


/*
 * Featured layout image occupies the left 42%.
 * Position heart in the top-right of that image area.
 */
.momo-deal-wishlist--featured {
    right: auto;
    left: calc(42% - 52px);
    top: 14px;
}


/* -------------------------------
   Deal of the Day heading
   Match the previous More Deals heading typography.
   ------------------------------- */

.momo-dotd-heading-label {
    font-family: inherit;

    font-size: 21px;
    line-height: 1.15;

    font-weight: 850;

    letter-spacing: -.02em;

    color: #111;
}

.momo-dotd-heading-copy {
    font-family: inherit;

    font-size: 13px;
    line-height: 1.35;

    font-weight: 400;

    letter-spacing: 0;

    color: #697077;
}


/*
 * Normalize the typography inside the
 * featured offer as well.
 */
.momo-dotd-kicker {
    font-family: inherit;

    font-weight: 700;

    letter-spacing: .06em;
}

.momo-dotd-name {
    font-family: inherit;

    font-weight: 700;

    letter-spacing: -.02em;
}

.momo-dotd-copy,
.momo-dotd-regular,
.momo-dotd-final,
.momo-dotd-save,
.momo-dotd-button {
    font-family: inherit;
}


/* -------------------------------
   Pink Shop Deal CTA
   ------------------------------- */

.momo-dotd-button {
    background: #E6007E !important;

    color: #fff !important;

    border: 1px solid #E6007E;

    font-weight: 700;

    box-shadow:
        0 3px 8px rgba(230, 0, 126, .18);
}

.momo-dotd-button:hover {
    background: #C9006E !important;

    border-color: #C9006E;

    color: #fff !important;

    box-shadow:
        0 5px 12px rgba(230, 0, 126, .24);
}


/* -------------------------------
   Mobile
   ------------------------------- */

@media (max-width: 767px) {

    .momo-dotd-heading-label {
        font-size: 18px;
        line-height: 1.2;

        font-weight: 850;
    }

    .momo-deal-wishlist {
        width: 36px;
        height: 36px;

        top: 8px;
        right: 8px;
    }

    /*
     * Featured image becomes full width on mobile.
     */
    .momo-deal-wishlist--featured {
        left: auto;
        right: 10px;
        top: 10px;
    }

}
