

/* ==========================================================
   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
   ========================================================== */

