

/* ==========================================================
   MYPOUF CHECKOUT v13.1.0
   BASED ON WORKING v13.0.6
   ========================================================== */


/* ==========================================================
   IMPORTANT
   ========================================================== */

/*
 * ΔΕΝ πειράζουμε:
 *
 * .section-register .section-body
 * .payment-address .section-body
 * .shipping-address .section-body
 *
 * ΔΕΝ αλλάζουμε grid στα native fields.
 * ΔΕΝ μετακινούμε account/address inputs.
 */


/* ==========================================================
   LOGIN + GOOGLE
   RESTORE v13.0.6
   50% + 50% = 100%
   ========================================================== */

html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top {

    display:
        grid
        !important;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr)
        !important;

    grid-template-rows:
        1fr
        !important;

    width:
        100%
        !important;

    min-width:
        0
        !important;

    max-width:
        100%
        !important;

    gap:
        10px
        !important;

    margin:
        0
        !important;

    padding:
        0
        !important;

    box-sizing:
        border-box
        !important;

    align-items:
        stretch
        !important;

    justify-items:
        stretch
        !important;

}


html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top > * {

    float:
        none
        !important;

    position:
        relative
        !important;

    display:
        flex
        !important;

    width:
        100%
        !important;

    min-width:
        0
        !important;

    max-width:
        none
        !important;

    height:
        64px
        !important;

    min-height:
        64px
        !important;

    margin:
        0
        !important;

    box-sizing:
        border-box
        !important;

}


/* Login + Google cards */

html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top
> .mypouf-auth-card {

    position:
        relative
        !important;

    display:
        flex
        !important;

    align-items:
        center
        !important;

    width:
        100%
        !important;

    min-width:
        0
        !important;

    max-width:
        none
        !important;

    height:
        64px
        !important;

    min-height:
        64px
        !important;

    gap:
        12px
        !important;

    margin:
        0
        !important;

    padding:
        10px
        42px
        10px
        14px
        !important;

    border:
        1px solid #d6e4dc
        !important;

    border-radius:
        12px
        !important;

    background:
        #ffffff
        !important;

    box-sizing:
        border-box
        !important;

    color:
        #26382f
        !important;

    text-decoration:
        none
        !important;

    overflow:
        hidden
        !important;

    box-shadow:
        0 3px 10px
        rgba(25,80,50,.035)
        !important;

}


html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top
> .mypouf-auth-card:hover {

    border-color:
        #72af8b
        !important;

    background:
        #f7fbf8
        !important;

    color:
        #26382f
        !important;

    text-decoration:
        none
        !important;

}


/* AUTH ICON */

html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top
.mypouf-auth-card__icon {

    display:
        flex
        !important;

    align-items:
        center
        !important;

    justify-content:
        center
        !important;

    flex:
        0 0 38px
        !important;

    width:
        38px
        !important;

    height:
        38px
        !important;

    border-radius:
        10px
        !important;

    background:
        #edf8f1
        !important;

    color:
        #16864d
        !important;

    font-size:
        17px
        !important;

}


html body
.mm-checkout-page
.section-login
.mypouf-auth-google
.mypouf-auth-card__icon {

    background:
        #f2f5ff
        !important;

    color:
        #4285f4
        !important;

}


html body
.mm-checkout-page
.section-login
.mypouf-auth-google
.mypouf-auth-card__icon
.fa {

    color:
        #4285f4
        !important;

}


/* AUTH TEXT */

html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top
.mypouf-auth-card__copy {

    display:
        flex
        !important;

    flex:
        1 1 auto
        !important;

    flex-direction:
        column
        !important;

    justify-content:
        center
        !important;

    align-items:
        flex-start
        !important;

    min-width:
        0
        !important;

    text-align:
        left
        !important;

}


html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top
.mypouf-auth-card__copy
strong {

    color:
        #26382f
        !important;

    font-size:
        13px
        !important;

    font-weight:
        600
        !important;

    line-height:
        1.2
        !important;

    white-space:
        nowrap
        !important;

}


html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top
.mypouf-auth-card__copy
small {

    margin-top:
        4px
        !important;

    color:
        #87958d
        !important;

    font-size:
        9px
        !important;

    line-height:
        1.2
        !important;

    white-space:
        nowrap
        !important;

}


html body
.mm-checkout-page
.section-login
.mypouf-auth-row--top
.mypouf-auth-card__arrow {

    position:
        absolute
        !important;

    right:
        14px
        !important;

    top:
        50%
        !important;

    transform:
        translateY(-50%)
        !important;

    color:
        #65766d
        !important;

}


/* ==========================================================
   AUTH SELECTED CHECK
   Login / Register / Guest
   ========================================================== */

.mm-checkout-page
.mypouf-auth-card
.mypouf-auth-check-v1310 {

    position:
        absolute
        !important;

    right:
        12px
        !important;

    top:
        50%
        !important;

    transform:
        translateY(-50%)
        !important;

    display:
        flex
        !important;

    align-items:
        center
        !important;

    justify-content:
        center
        !important;

    width:
        22px
        !important;

    height:
        22px
        !important;

    border:
        1px solid #cedbd3
        !important;

    border-radius:
        50%
        !important;

    background:
        #ffffff
        !important;

    color:
        transparent
        !important;

}


.mm-checkout-page
.mypouf-auth-card.mypouf-auth-selected-v1310 {

    border-color:
        #178c50
        !important;

    background:
        linear-gradient(
            135deg,
            #f3fbf6,
            #e7f7ed
        )
        !important;

}


.mm-checkout-page
.mypouf-auth-card.mypouf-auth-selected-v1310
.mypouf-auth-check-v1310 {

    background:
        #178c50
        !important;

    border-color:
        #178c50
        !important;

    color:
        #ffffff
        !important;

}



/* ==========================================================
   RECEIPT / INVOICE
   EXACT 50% + 50%
   ========================================================== */

.mypouf-document-v1310 {

    width:
        100%
        !important;

    max-width:
        100%
        !important;

    margin:
        0 0 16px
        !important;

    padding:
        0
        !important;

    box-sizing:
        border-box
        !important;

}


.mypouf-document-v1310__title {

    display:
        block
        !important;

    width:
        100%
        !important;

    margin:
        0 0 8px
        !important;

    color:
        #35483d
        !important;

    font-size:
        12px
        !important;

    font-weight:
        700
        !important;

}


.mypouf-document-v1310__grid {

    display:
        grid
        !important;

    grid-template-columns:
        repeat(2,minmax(0,1fr))
        !important;

    gap:
        10px
        !important;

    width:
        100%
        !important;

    max-width:
        100%
        !important;

    box-sizing:
        border-box
        !important;

}


.mypouf-document-card-v1310 {

    appearance:
        none
        !important;

    position:
        relative
        !important;

    display:
        flex
        !important;

    align-items:
        center
        !important;

    width:
        100%
        !important;

    min-width:
        0
        !important;

    max-width:
        none
        !important;

    height:
        68px
        !important;

    min-height:
        68px
        !important;

    margin:
        0
        !important;

    padding:
        10px
        44px
        10px
        12px
        !important;

    gap:
        10px
        !important;

    border:
        1px solid #d6e3da
        !important;

    border-radius:
        12px
        !important;

    background:
        #ffffff
        !important;

    box-sizing:
        border-box
        !important;

    text-align:
        left
        !important;

    cursor:
        pointer
        !important;

}


.mypouf-document-card-v1310.is-selected {

    border-color:
        #178c50
        !important;

    background:
        linear-gradient(
            135deg,
            #f3fbf6,
            #e7f7ed
        )
        !important;

}


.mypouf-document-card-v1310__icon {

    display:
        flex
        !important;

    align-items:
        center
        !important;

    justify-content:
        center
        !important;

    flex:
        0 0 36px
        !important;

    width:
        36px
        !important;

    height:
        36px
        !important;

    border-radius:
        10px
        !important;

    background:
        #edf8f1
        !important;

    color:
        #16864d
        !important;

}


.mypouf-document-card-v1310--invoice
.mypouf-document-card-v1310__icon {

    background:
        #fbf3e7
        !important;

    color:
        #b57a40
        !important;

}


.mypouf-document-card-v1310__copy {

    display:
        flex
        !important;

    flex:
        1 1 auto
        !important;

    flex-direction:
        column
        !important;

    min-width:
        0
        !important;

}


.mypouf-document-card-v1310__copy strong {

    color:
        #263a2f
        !important;

    font-size:
        13px
        !important;

    font-weight:
        600
        !important;

}


.mypouf-document-card-v1310__copy small {

    margin-top:
        3px
        !important;

    color:
        #7e8c84
        !important;

    font-size:
        10px
        !important;

}


.mypouf-document-card-v1310__check {

    position:
        absolute
        !important;

    right:
        12px
        !important;

    top:
        50%
        !important;

    transform:
        translateY(-50%)
        !important;

    display:
        flex
        !important;

    align-items:
        center
        !important;

    justify-content:
        center
        !important;

    width:
        22px
        !important;

    height:
        22px
        !important;

    border:
        1px solid #cedbd3
        !important;

    border-radius:
        50%
        !important;

    background:
        #ffffff
        !important;

    color:
        transparent
        !important;

}


.mypouf-document-card-v1310.is-selected
.mypouf-document-card-v1310__check {

    background:
        #178c50
        !important;

    border-color:
        #178c50
        !important;

    color:
        #ffffff
        !important;

}


/* Native customer_group_id remains in DOM */

.mm-checkout-page
.account-customer-group
> .radio {

    position:
        absolute
        !important;

    left:
        -99999px
        !important;

    width:
        1px
        !important;

    height:
        1px
        !important;

    overflow:
        hidden
        !important;

}



/* ==========================================================
   PRODUCT
   IMAGE + TITLE IMMEDIATELY NEXT TO EACH OTHER
   ========================================================== */

.mypouf-product-main-v1310 {

    display:
        flex
        !important;

    align-items:
        center
        !important;

    justify-content:
        flex-start
        !important;

    gap:
        7px
        !important;

    width:
        230px
        !important;

    min-width:
        230px
        !important;

    max-width:
        230px
        !important;

}


.mypouf-product-main-v1310
img {

    flex:
        0 0 46px
        !important;

    width:
        46px
        !important;

    max-width:
        46px
        !important;

    height:
        auto
        !important;

    margin:
        0
        !important;

}


.mypouf-product-main-v1310__copy {

    display:
        flex
        !important;

    flex:
        1 1 auto
        !important;

    flex-direction:
        column
        !important;

    min-width:
        0
        !important;

}


.mypouf-product-main-v1310__copy
a {

    display:
        block
        !important;

    margin:
        0
        !important;

    color:
        #26382f
        !important;

    font-size:
        10px
        !important;

    font-weight:
        600
        !important;

    line-height:
        1.25
        !important;

    white-space:
        normal
        !important;

    overflow-wrap:
        anywhere
        !important;

}


/* Hide only original visual title link */

.mypouf-original-title-v1310 {

    visibility:
        hidden
        !important;

    position:
        absolute
        !important;

    pointer-events:
        none
        !important;

}


/* Product scroll */

.mypouf-product-scroll-v1310 {

    display:
        block
        !important;

    width:
        100%
        !important;

    max-width:
        100%
        !important;

    overflow-x:
        auto
        !important;

    overflow-y:
        hidden
        !important;

    -webkit-overflow-scrolling:
        touch
        !important;

    padding-bottom:
        8px
        !important;

}





.mypouf-product-scroll-v1310::-webkit-scrollbar {

    height:
        9px
        !important;

}


.mypouf-product-scroll-v1310::-webkit-scrollbar-track {

    background:
        #edf4ef
        !important;

    border-radius:
        20px
        !important;

}


.mypouf-product-scroll-v1310::-webkit-scrollbar-thumb {

    background:
        #6e9f82
        !important;

    border-radius:
        20px
        !important;

}


/* ==========================================================
   INVOICE CUSTOM FIELDS
   ========================================================== */

/*
 * Δεν δημιουργούμε δικά μας inputs.
 * Ανοίγουμε τα native custom fields.
 */

.mm-checkout-page
.mypouf-receipt-mode-v1310
.custom-field {

    display:
        none
        !important;

}


.mm-checkout-page
.mypouf-invoice-mode-v1310
.custom-field {

    display:
        block
        !important;

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media
(max-width:767px) {

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top {

        grid-template-columns:
            minmax(0,1fr)
            !important;

        gap:
            7px
            !important;

    }


    .mypouf-document-v1310__grid {

        grid-template-columns:
            minmax(0,1fr)
            !important;

        gap:
            7px
            !important;

    }

}



/* ==========================================================
   v13.2.4 MOBILE: FORCE ONE COLUMN
   Login / Google + Customer Groups
   ========================================================== */

@media (max-width:767px) {

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--bottom {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top > *,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--bottom > *,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-card {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    html body
    .mm-checkout-page
    .mypouf-document-v1310__grid {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    html body
    .mm-checkout-page
    .mypouf-document-v1310__grid
    > .mypouf-document-card-v1310 {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}


/* ==========================================================
   v13.2.5 FINAL RESPONSIVE FIX
   Desktop:
     Login = 2 columns
     Customer Groups = 2 columns, full row
   Mobile <= 767:
     Login = 1 column
     Customer Groups = 1 column
   ========================================================== */

/* CUSTOMER GROUP WRAPPER MUST SPAN THE WHOLE FORM ON DESKTOP */
html body
.mm-checkout-page
.section-register
.section-body
> .mypouf-document-v1310,
html body
.mm-checkout-page
.mypouf-document-v1310 {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

html body
.mm-checkout-page
.mypouf-document-v1310__grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

html body
.mm-checkout-page
.mypouf-document-v1310__grid
> .mypouf-document-card-v1310 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* DESKTOP LOGIN: EXACT 2 COLUMNS */
@media (min-width:768px) {
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
    }

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top > * {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

/* MOBILE: EVERY AUTH CARD + EVERY CUSTOMER GROUP = 100% */
@media (max-width:767px) {

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--bottom {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top > *,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--bottom > *,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-card,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-choice,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-google,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-google,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-facebook,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-facebook {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    html body
    .mm-checkout-page
    .mypouf-document-v1310 {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html body
    .mm-checkout-page
    .mypouf-document-v1310__grid {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    html body
    .mm-checkout-page
    .mypouf-document-v1310__grid
    > .mypouf-document-card-v1310 {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}


/* ==========================================================
   v13.2.6 LOGIN FINAL
   PC: 2 x 50%
   MOBILE: 1 x 100% per row
   ========================================================== */

@media (min-width:768px) {

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
    }

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > .mypouf-auth-card,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > .mypouf-auth-choice,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > .mypouf-auth-google,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > .mypouf-google {
        grid-column: auto !important;
        justify-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

@media (max-width:767px) {

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > * {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        align-self: stretch !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > .mypouf-auth-google,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > .mypouf-google,
    html body
    .mm-checkout-page
    .section-login
    .mypouf-auth-row--top
    > a[href*="mypouf_social_login/google"] {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================
   END CSS
   ========================================================== */


[data-mm-recent] {
  --mm-recent-ink: #191b20;
  --mm-recent-gold: #a78953;
  --mm-recent-border: #e3e5e9;
  --mm-recent-gap: clamp(10px, 1.4vw, 18px);
  width: 100%;
  min-width: 0;
  margin: clamp(16px, 3vw, 36px) 0;
  color: var(--mm-recent-ink);
}
[data-mm-recent][hidden], [data-mm-recent] [hidden] { display: none !important; }
[data-mm-recent] .mm-recent-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
[data-mm-recent] .mm-recent-tab {
  margin: 0;
  padding: 11px clamp(16px, 2.5vw, 28px);
  border: 1px solid #363941;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(125deg, #2d3037, #15171c);
  color: #ffffff;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 750;
  line-height: 1.35;
}
[data-mm-recent] .mm-recent-body {
  padding: clamp(10px, 1.6vw, 20px);
  border: 1px solid var(--mm-recent-border);
  border-top: 2px solid var(--mm-recent-gold);
  border-radius: 0 12px 12px;
  background: #f5f6f8;
}
[data-mm-recent-cards] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--mm-recent-gap); }
[data-mm-recent] .mm-recent-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mm-recent-border);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 6px #151b2510;
  transition: border-color .2s, box-shadow .2s;
}
[data-mm-recent] .mm-recent-card:hover { border-color: var(--mm-recent-gold); box-shadow: 0 3px 12px #141a2520; }
[data-mm-recent] .mm-recent-card:focus-visible, .mm-recent-controls button:focus-visible { outline: 2px solid #825817; outline-offset: -2px; }
[data-mm-recent] .mm-recent-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 8px; background: #fff; }
[data-mm-recent] .mm-recent-details { display: flex; flex: 1; flex-direction: column; justify-content: flex-start; gap: 6px; padding: clamp(8px, .75vw, 14px); border-top: 1px solid #f0f1f3; }
[data-mm-recent] .mm-recent-name { display: -webkit-box; line-height: 1.4; font-weight: 650; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
[data-mm-recent] .mm-recent-category, [data-mm-recent] .mm-recent-model { color: #565c68; font-size: .82em; line-height: 1.3; }
[data-mm-recent] .mm-recent-category { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-mm-recent] .mm-recent-model { overflow-wrap: anywhere; }
[data-mm-recent] .mm-recent-price { margin-top: auto; padding-top: 3px; display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; color: #811b23; font-size: clamp(14px, 1.45vw, 18px); }
[data-mm-recent] .mm-recent-price del { color: #5f636c; font-size: .75em; font-weight: 500; }
[data-mm-recent] .mm-recent-controls { display: none; }
@media (max-width: 767px) {
  [data-mm-recent-cards] {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--mm-recent-gap)) / 2);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 5px;
  }
  [data-mm-recent-cards] > :nth-child(odd) { scroll-snap-align: start; scroll-snap-stop: always; }
  [data-mm-recent-cards].mm-recent-odd::after { content: ''; pointer-events: none; }
  [data-mm-recent] .mm-recent-controls { display: flex; gap: 6px; padding-bottom: 4px; }
  [data-mm-recent] .mm-recent-controls button {
    display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0;
    border: 1px solid var(--mm-recent-border); border-radius: 9px;
    background: #fff; color: var(--mm-recent-ink); font-size: 24px; line-height: 1;
  }
  [data-mm-recent] .mm-recent-controls button:disabled { opacity: .42; }
}
@media (prefers-reduced-motion: reduce) { [data-mm-recent] .mm-recent-card { transition: none; } }

/* Lightning uses an ID selector and !important to hide placeholder text.
   This module supplies its own text after the cards request completes. */
:is(#liaj1, [id^="liaj"]) [data-mm-recent] .mm-recent-tab {
  color: #fff !important;
}
:is(#liaj1, [id^="liaj"]) [data-mm-recent] .mm-recent-name {
  color: var(--mm-recent-ink) !important;
}
:is(#liaj1, [id^="liaj"]) [data-mm-recent] :is(.mm-recent-category, .mm-recent-model) {
  color: #565c68 !important;
}
:is(#liaj1, [id^="liaj"]) [data-mm-recent] .mm-recent-price {
  color: #811b23 !important;
}
:is(#liaj1, [id^="liaj"]) [data-mm-recent] .mm-recent-price del {
  color: #5f636c !important;
}
:is(#liaj1, [id^="liaj"]) [data-mm-recent] .mm-recent-controls button {
  color: var(--mm-recent-ink) !important;
}

.mymega-tbi-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 6px;
  margin: 5px 0;
  color: #663516;
  font-size: 11px;
  line-height: 1.35;
}
.mymega-tbi-grid > span { padding: 2px 5px; border-radius: 4px; background: #fff0db; font-weight: 800; }
.mymega-tbi-grid > strong { color: #573419; }
.mymega-tbi-grid--klarna > span { background: #faeef3; color: #692544; }

