/*
Theme Name: GoStore Child
Theme URI: https://demo.theme-sky.com/gostore/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Template: gostore
Version: 1.0.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: gostore-child
*/

/* =========================================================
   CHECKOUT - DISTRIBUCIÓN DE CAMPOS
*/

/* =========================================================
   MEETCLIC FLOATING ORDER
   Panadería / Pastelería
   ========================================================= */


/* =========================================================
   VARIABLES DE MARCA
   ========================================================= */
/* =========================================================
   VARIABLES DE MARCA
   ========================================================= */
:root {
    --mc-primary: #F5AAA4;
    --mc-accent: #EF7B72;
    --mc-beige: #F4DDBD;
    --mc-brown: #B48967;

    --mc-text: #2A2A2A;
    --mc-muted: #777777;

    --mc-white: #FFFFFF;
    --mc-soft: #FFF8F7;
    --mc-border: #EDE4E1;
}


/* =========================================================
   BOTÓN FLOTANTE
   ========================================================= */

.mc-floating-order {
    position: fixed;
    right: 20px;
    bottom: 7.2%;
    z-index: 9999;

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

    gap: 8px;

    min-height: 52px;

    padding: 0 20px;

    border: 0;
    border-radius: 30px;

    background: var(--mc-accent);
    color: var(--mc-white);

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 18px rgba(239, 123, 114, .28);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.mc-floating-order:hover {
    background: var(--mc-primary);

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(239, 123, 114, .34);
}

.mc-floating-order:active {
    transform: translateY(0);
}

.mc-floating-order__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    line-height: 1;
}

.mc-floating-order__text {
    white-space: nowrap;
}

input[type^="submit"] {
    -webkit-appearance: none;
    background: rgba(239, 123, 114, 1) !important;
}
/* =========================================================
   MOBILE FLOATING BUTTON
   ========================================================= */

@media (max-width: 767px) {

    .mc-floating-order {
        right: 16px;
        bottom: 109px;

        min-height: 48px;

        padding: 0 16px;
    }
}


/* =========================================================
   BODY LOCK
   ========================================================= */

.mc-order-body--locked {
    overflow: hidden;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.mc-order-overlay {
    position: fixed;
    inset: 0;

    z-index: 99990;

    background:
        rgba(42, 42, 42, .38);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.mc-order-overlay--open {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   DRAWER
   ========================================================= */

.mc-order-drawer {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    z-index: 99991;

    width: 440px;
    max-width: 100%;

    display: flex;
    flex-direction: column;

    background: var(--mc-white);

    color: var(--mc-text);

    box-shadow:
        -8px 0 30px rgba(0, 0, 0, .12);

    transform: translateX(100%);

    transition:
        transform .3s ease;
}

.mc-order-drawer--open {
    transform: translateX(0);
}


/* =========================================================
   HEADER
   ========================================================= */

.mc-order-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;

    padding: 22px 24px 18px;

    border-bottom:
        1px solid var(--mc-border);

    background:
        var(--mc-white);
}

.mc-order-drawer__heading {
    min-width: 0;
    flex: 1;
}

.mc-order-drawer__title {
    margin: 0 0 5px;

    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;

    color:
        var(--mc-text);
}

.mc-order-drawer__subtitle {
    margin: 0;

    font-size: 14px;

    color:
        var(--mc-muted);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.mc-order-drawer__header-actions {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    flex-shrink: 0;
}


/* =========================================================
   VACIAR TODO
   ========================================================= */

.mc-order-drawer__clear {
    padding: 5px 0 3px;
display:none;
    border: 0;
    border-bottom:
        1px solid var(--mc-text);

    background: transparent;

    color:
        var(--mc-text);

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease;
}

.mc-order-drawer__clear:hover {
    color:
        var(--mc-accent);

    border-color:
        var(--mc-accent);
}


/* =========================================================
   BOTÓN CERRAR
   ========================================================= */

.mc-order-drawer__close {
    width: 42px;
    height: 42px;

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

    flex-shrink: 0;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background:
        var(--mc-soft);

    color:
        var(--mc-text);

    font-size: 31px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.mc-order-drawer__close:hover {
    background:
        var(--mc-primary);

    color:
        var(--mc-white);

    transform:
        rotate(4deg);
}


/* =========================================================
   DATOS DEL CLIENTE
   ========================================================= */

.mc-order-drawer__customer {
    padding:
        18px 24px 20px;

    background:
        var(--mc-soft);

    border-bottom:
        1px solid var(--mc-border);
}


/* =========================================================
   TÍTULO SECCIÓN
   ========================================================= */

.mc-order-drawer__section-header {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 16px;
}

.mc-order-drawer__section-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    color:
        var(--mc-brown);

    font-size: 20px;
    line-height: 1;
}

.mc-order-drawer__section-title {
    margin: 0;

    color:
        var(--mc-brown);

    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   FORM
   ========================================================= */

.mc-order-form {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.mc-order-form__row {
    display: flex;

    gap: 14px;

    width: 100%;
}

.mc-order-form__field {
    display: flex;
    flex-direction: column;

    gap: 7px;

    min-width: 0;
}

.mc-order-form__field--half {
    flex: 1 1 50%;
}

.mc-order-form__field--full {
    flex: 1 1 100%;
    width: 100%;
}

.mc-order-form__label {
    margin: 0;

    font-size: 14px;
    font-weight: 700;

    color:
        var(--mc-brown);
}


/* =========================================================
   INPUTS
   ========================================================= */

.mc-order-form__input {
    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding:
        0 14px;

    border:
        1px solid #DCCFCB;

    border-radius:
        8px;

    background:
        var(--mc-white);

    color:
        var(--mc-text);

    font-size:
        15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.mc-order-form__input:hover {
    border-color:
        #D4BEB8;
}

.mc-order-form__input:focus {
    border-color:
        var(--mc-primary);

    box-shadow:
        0 0 0 3px rgba(245, 170, 164, .20);
}

.mc-order-form__input::placeholder {
    color:
        #B8B0AD;
}


/* =========================================================
   BODY / CARRITO
   ========================================================= */

.mc-order-drawer__body {
    flex: 1;
    min-height: 0;

    overflow-y: auto;

    padding:
        20px 24px;

    background:
        var(--mc-white);
}


/*
 * No modificamos internamente
 * el diseño existente del carrito.
 */
.mc-order-cart {
    width: 100%;
}


/* =========================================================
   FOOTER
   ========================================================= */

.mc-order-drawer__footer {
    flex-shrink: 0;

    padding:
        0 24px 20px;

    border-top:
        1px solid var(--mc-border);

    background:
        var(--mc-soft);

    box-shadow:
        0 -5px 18px rgba(0, 0, 0, .045);
}


/* =========================================================
   TOTAL DEL PEDIDO
   ========================================================= */

.mc-order-summary {
    margin:
        0 -24px 18px;

    padding:
        0 24px;

    background:
        linear-gradient(
            180deg,
            #FFF8F7 0%,
            #FFFDFC 100%
        );

    border-bottom:
        1px solid var(--mc-border);
}


/* =========================================================
   HEADER DEL TOTAL
   ========================================================= */

.mc-order-summary__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    min-height: 76px;

    padding:
        14px 0;

    border: 0;
    background:
        transparent;
    color:
        var(--mc-text);

    text-align: left;
    cursor: pointer;
}
.mc-order-summary__header:hover{
   background-color: unset !important;
    color: unset !important;
    border-color:unset!important;
}
.mc-order-summary__heading {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;
}


/* =========================================================
   ICON TOTAL
   ========================================================= */

.mc-order-summary__icon {
    width: 38px;
    height: 38px;

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

    flex-shrink: 0;

    border-radius:
        50%;

    background:
        var(--mc-accent);

    color:
        var(--mc-white);

    font-size:
        17px;
}


/* =========================================================
   TEXTOS TOTAL
   ========================================================= */

.mc-order-summary__title-wrapper {
    display: flex;
    flex-direction: column;

    gap: 2px;

    min-width: 0;
}

.mc-order-summary__title {
    color:
        var(--mc-text);

    font-size:
        14px;

    font-weight:
        800;

    text-transform:
        uppercase;

    line-height:
        1.2;
}

.mc-order-summary__count {
    color:
        var(--mc-muted);

    font-size:
        12px;

    line-height:
        1.2;
}


/* =========================================================
   VALOR TOTAL
   ========================================================= */

.mc-order-summary__total-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    flex-shrink: 0;
}

.mc-order-summary__total {
    color:
        var(--mc-accent);

    font-size:
        24px;

    font-weight:
        800;

    white-space:
        nowrap;
}


/* =========================================================
   FLECHA
   ========================================================= */

.mc-order-summary__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color:
        var(--mc-text);

    font-size:
        22px;

    line-height:
        1;

    transition:
        transform .25s ease;
}

.mc-order-summary--open
.mc-order-summary__arrow {
    transform:
        rotate(180deg);
}


/* =========================================================
   DETALLE TOTAL DESPLEGABLE
   ========================================================= */

.mc-order-summary__details {
    margin-bottom:
        16px;

    padding:
        14px;

    border:
        1px solid var(--mc-border);

    border-radius:
        8px;

    background:
        var(--mc-white);
}

.mc-order-summary__details[hidden] {
    display: none;
}

.mc-order-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding:
        7px 0;

    color:
        var(--mc-text);

    font-size:
        13px;
}

.mc-order-summary__row--discount {
    color:
        #34A77B;
}

.mc-order-summary__row--total {
    margin-top:
        7px;

    padding-top:
        13px;

    border-top:
        1px solid var(--mc-border);

    color:
        var(--mc-accent);

    font-size:
        16px;
    font-weight:
        800;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.mc-order-drawer__actions {
    display: flex;
    flex-direction: column;

    gap:
        10px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.mc-order-drawer__button {
    width: 100%;

    min-height:
        50px;

    padding:
        12px 18px;

    border-radius:
        8px;

    font-size:
        14px;

    font-weight:
        800;

    text-transform:
        uppercase;

    cursor:
        pointer;

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


/* =========================================================
   REALIZAR PEDIDO
   ========================================================= */

.mc-order-drawer__button--primary {
    order: 1;

    border:
        1px solid var(--mc-accent);

    background:
        var(--mc-accent);

    color:
        var(--mc-white);

    box-shadow:
        0 4px 12px rgba(239, 123, 114, .20);
}

.mc-order-drawer__button--primary:hover {
    background:
        var(--mc-primary);

    border-color:
        var(--mc-primary);

    color:
        var(--mc-white);

    transform:
        translateY(-1px);

    box-shadow:
        0 6px 16px rgba(245, 170, 164, .28);
}


/* =========================================================
   CANCELAR
   ========================================================= */

.mc-order-drawer__button--secondary {
    order: 2;

    border:
        1px solid var(--mc-accent);

    background:
        var(--mc-white);

    color:
        var(--mc-accent);
}

.mc-order-drawer__button--secondary:hover {
    background:
        var(--mc-soft);

    border-color:
        var(--mc-accent);
}


/* =========================================================
   DISABLED
   ========================================================= */

.mc-order-drawer__button--disabled,
.mc-order-drawer__button:disabled {
    opacity:
        .45;

    cursor:
        not-allowed;

    pointer-events:
        none;

    box-shadow:
        none;

    transform:
        none;
}


/* =========================================================
   LOADING
   ========================================================= */

.mc-order-drawer__button--loading {
    cursor:
        wait;
}


/* =========================================================
   RESPONSIVE DRAWER
   ========================================================= */

@media (max-width: 767px) {

    .mc-order-drawer {
        width:
            100%;
    }


    /* HEADER */

    .mc-order-drawer__header {
        padding:
            13px;
    }

    .mc-order-drawer__title {
        font-size:
            22px;
    }

    .mc-order-drawer__header-actions {
        gap:
            10px;
    }

    .mc-order-drawer__close {
        width:
            40px;

        height:
            40px;
    }


    /* CLIENTE */

    .mc-order-drawer__customer {
                padding: 5px 10px 7px;
    }

    .mc-order-form {
        gap:
            1px;
    }

    .mc-order-form__row {
        gap:
            12px;
    }


    /* BODY */

    .mc-order-drawer__body {
        padding:
            18px 20px;
    }


    /* FOOTER */

    .mc-order-drawer__footer {
        padding:
            0 20px 16px;
    }

    .mc-order-summary {
        margin:
            0 -20px 16px;

        padding:
            0 20px;
    }

    .mc-order-summary__header {
        min-height:
            70px;
    }

    .mc-order-summary__total {
        font-size:
            21px;
    }
}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    /*
     * Seguimos conservando 2 columnas
     * para nombres y apellidos,
     * como en tu diseño.
     */

    .mc-order-form__row {
        gap:
            10px;
    }

    .mc-order-form__input {
        height:
            46px;

        padding:
            0 11px;

        font-size:
            14px;
    }

    .mc-order-form__label {
        font-size:
            13px;
    }

    .mc-order-summary__title {
        font-size:
            13px;
    }

    .mc-order-summary__count {
        font-size:
            11px;
    }

    .mc-order-summary__total {
        font-size:
            20px;
    }
}


/* =========================================================
   CART CUSTOM
   MANTENIDO
   ========================================================= */

.mc-order-cart-item__pricing {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 8px;
}

.mc-order-cart-item__regular-price {
    opacity: .55;

    text-decoration:
        line-through;

    font-size:
        13px;
}

.mc-order-cart-item__price {
    font-weight:
        700;
}

.mc-order-cart-item__subtotal {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap:
        10px;
}

.mc-order-cart-item__subtotal-label {
    font-size:
        12px;

    opacity:
        .7;
}

.mc-order-cart-item__discount-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top:
        6px;

    font-size:
        12px;
}


/* =========================================================
   CARRITO ORIGINAL DEL THEME
   ========================================================= */

.shopping-cart-wrapper {
    display:
        none;
}

/*
HIDE PROCESS
 
*/
#mc-order-cart .dropdown-footer {
    display: none;
} 

#mc-order-cart .cart-icon{
 display: none;	
}


#mc-order-cart .clear-cart-button
 {

    right: 76px !important;
    top: 25px!important

}
#mc-order-cart h2.dropdown-title {
    display: none;
}

.cart-item-wrapper .quantity .minus--custom, .cart-item-wrapper .quantity .plus--custom {
    line-height: 24px;
    height: 26px;
    width: 18px;
}
.quantity .plus--custom {
    right: -1px;
    left: auto !important;
}

.quantity .plus--custom:hover, .quantity .minus--custom:hover {
    color: var(--mc-primary) !important;
}

.quantity .minus--custom, .quantity .plus--custom {
    background: transparent;
    width: 22px;
    height: 40px;
    border-width: 1px;
    border-style: solid;
    margin: 0 !important;
    line-height: 40px;
    text-align: center;
    position: absolute;
    left: -1px;
    top: -1px;
    padding: 0;
    z-index: 2;
    cursor: pointer;
    border-radius: 0;
}


.woocommerce-table--order-details
tfoot tr:last-child {
    display: none;
}