/**
 * =========================================================
 * LIZPLANTS.EC COTIZACIONES
 * =========================================================
 */


/* =========================================================
   VARIABLES DE MARCA
   ========================================================= */

:root {
    --lizplants-green: #007a4d;
    --lizplants-purple: #6f2c91;

    --lizplants-green-soft: #f1f8f5;
    --lizplants-purple-soft: #f8f3fa;

    --lizplants-border: #e6e6e6;
    --lizplants-text: #333333;
    --lizplants-muted: #6b6b6b;
    --lizplants-white: #ffffff;
}


/* =========================================================
   OCULTAR COMPRA DIRECTA EN PRODUCTO INDIVIDUAL
   ========================================================= */

.single-product form.cart {
    display: none !important;
}


/* =========================================================
   BOTÓN GENERAL - AGREGAR A COTIZACIÓN
   ========================================================= */

button.lizplants-add-to-quote,
.woocommerce button.lizplants-add-to-quote,
.woocommerce ul.products li.product button.lizplants-add-to-quote,
.single-product button.lizplants-add-to-quote {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    border: 2px solid var(--lizplants-green) !important;
    border-radius: 6px !important;

    background: var(--lizplants-green) !important;
    background-color: var(--lizplants-green) !important;
    background-image: none !important;

    color: var(--lizplants-white) !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;
    text-shadow: none !important;

    cursor: pointer !important;

    padding: 12px 18px !important;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease !important;
}


button.lizplants-add-to-quote:hover,
button.lizplants-add-to-quote:focus,
.woocommerce button.lizplants-add-to-quote:hover,
.woocommerce button.lizplants-add-to-quote:focus,
.woocommerce ul.products li.product button.lizplants-add-to-quote:hover,
.woocommerce ul.products li.product button.lizplants-add-to-quote:focus,
.single-product button.lizplants-add-to-quote:hover,
.single-product button.lizplants-add-to-quote:focus {

    background: var(--lizplants-white) !important;
    background-color: var(--lizplants-white) !important;
    background-image: none !important;

    color: var(--lizplants-green) !important;

    border-color: var(--lizplants-green) !important;

    box-shadow: none !important;
    text-shadow: none !important;
}


button.lizplants-add-to-quote:active,
.woocommerce button.lizplants-add-to-quote:active,
.single-product button.lizplants-add-to-quote:active {

    transform: translateY(1px) !important;
}


/* =========================================================
   ARCHIVO / CATEGORÍAS
   ========================================================= */

.woocommerce ul.products li.product
.lizplants-add-to-quote--archive {

    width: 100% !important;
    margin-top: 12px !important;
}


/* =========================================================
   PRODUCTO INDIVIDUAL
   ========================================================= */

.lizplants-single-quote {

    display: block;
    width: 100%;

    margin-top: 20px;
}


.lizplants-quote-quantity-label {

    display: block;
    width: 100%;

    margin: 0 0 8px 0;

    font-weight: 600;
}


.lizplants-single-quote-controls {

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;
}


.lizplants-quote-quantity {

    width: 75px !important;
    min-height: 46px;

    margin: 0 !important;
    padding: 8px 10px !important;

    border: 1px solid #cccccc !important;
    border-radius: 5px !important;

    background: var(--lizplants-white) !important;
    color: inherit;

    font-family: inherit;
    font-size: 16px;
    text-align: center;
}


button.lizplants-add-to-quote--single {

    min-height: 46px !important;
}


/* =========================================================
   MI COTIZACIÓN - CONTENEDOR PRINCIPAL
   ========================================================= */

.lizplants-quote-list {

    width: calc(100% - 40px);
    max-width: 950px;

    margin: 35px auto 55px auto;

    padding: 30px 35px;

    background: var(--lizplants-white);

    border: 1px solid var(--lizplants-border);
    border-radius: 12px;

    box-sizing: border-box;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.lizplants-quote-products {

    display: flex;
    flex-direction: column;

    width: 100%;
}


.lizplants-quote-item {

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    gap: 30px;

    padding: 22px 5px;

    border-bottom: 1px solid var(--lizplants-border);

    box-sizing: border-box;
}


.lizplants-quote-item:first-child {
    padding-top: 8px;
}


.lizplants-quote-item:last-child {
    border-bottom: 0;
}


/* =========================================================
   NOMBRE DEL PRODUCTO
   ========================================================= */

.lizplants-quote-item-name {

    flex: 1;

    min-width: 0;

    color: var(--lizplants-purple);

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================================================
   CONTROLES
   ========================================================= */

.lizplants-quote-item-actions {

    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-shrink: 0;

    gap: 8px;
}


/* =========================================================
   BOTONES + Y -
   ========================================================= */

button.lizplants-quote-minus,
button.lizplants-quote-plus {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    border: 1px solid var(--lizplants-green) !important;
    border-radius: 6px !important;

    background: var(--lizplants-white) !important;
    background-image: none !important;

    color: var(--lizplants-green) !important;

    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    box-shadow: none !important;
    text-shadow: none !important;

    cursor: pointer !important;

    transition:
        background-color .2s ease,
        color .2s ease !important;
}


button.lizplants-quote-minus:hover,
button.lizplants-quote-minus:focus,
button.lizplants-quote-plus:hover,
button.lizplants-quote-plus:focus {

    background: var(--lizplants-green) !important;

    color: var(--lizplants-white) !important;

    border-color: var(--lizplants-green) !important;
}


/* =========================================================
   CANTIDAD
   ========================================================= */

.lizplants-quote-item-quantity {

    width: 68px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 5px 8px !important;

    border: 1px solid #d6d6d6 !important;
    border-radius: 6px !important;

    background: var(--lizplants-white) !important;
    color: var(--lizplants-text) !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    text-align: center;

    box-sizing: border-box;
}


.lizplants-quote-item-quantity:focus {

    outline: none;

    border-color: var(--lizplants-purple) !important;

    box-shadow:
        0 0 0 2px rgba(111, 44, 145, 0.10);
}


/* =========================================================
   ELIMINAR
   ========================================================= */

button.lizplants-quote-remove {

    appearance: none !important;
    -webkit-appearance: none !important;

    margin: 0 0 0 8px !important;
    padding: 7px 8px !important;

    border: 0 !important;

    background: transparent !important;
    background-image: none !important;

    color: var(--lizplants-purple) !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    box-shadow: none !important;
    text-shadow: none !important;

    cursor: pointer !important;

    transition:
        color .2s ease,
        background-color .2s ease !important;
}


button.lizplants-quote-remove:hover,
button.lizplants-quote-remove:focus {

    background: var(--lizplants-purple-soft) !important;

    color: var(--lizplants-purple) !important;

    text-decoration: none !important;

    border-radius: 5px;
}


/* =========================================================
   PIE DE LA COTIZACIÓN
   ========================================================= */

.lizplants-quote-footer {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;

    padding-top: 18px;

    border-top: 1px solid var(--lizplants-border);
}


/* =========================================================
   VACIAR COTIZACIÓN
   ========================================================= */

button.lizplants-quote-clear {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    margin: 0 !important;
    padding: 9px 14px !important;

    border: 1px solid var(--lizplants-purple) !important;
    border-radius: 6px !important;

    background: var(--lizplants-white) !important;
    background-image: none !important;

    color: var(--lizplants-purple) !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    box-shadow: none !important;
    text-shadow: none !important;

    cursor: pointer !important;

    transition:
        background-color .2s ease,
        color .2s ease !important;
}


button.lizplants-quote-clear:hover,
button.lizplants-quote-clear:focus {

    background: var(--lizplants-purple) !important;

    color: var(--lizplants-white) !important;

    text-decoration: none !important;
}


/* =========================================================
   ENVIAR COTIZACIÓN POR WHATSAPP
   ========================================================= */

button.lizplants-quote-whatsapp {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    margin: 0 !important;
    padding: 12px 20px !important;

    border: 2px solid var(--lizplants-green) !important;
    border-radius: 6px !important;

    background: var(--lizplants-green) !important;
    background-color: var(--lizplants-green) !important;
    background-image: none !important;

    color: var(--lizplants-white) !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;
    text-shadow: none !important;

    cursor: pointer !important;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease !important;
}


button.lizplants-quote-whatsapp:hover,
button.lizplants-quote-whatsapp:focus {

    background: var(--lizplants-white) !important;
    background-color: var(--lizplants-white) !important;

    color: var(--lizplants-green) !important;

    border-color: var(--lizplants-green) !important;

    box-shadow: none !important;
}


/* =========================================================
   COTIZACIÓN VACÍA
   ========================================================= */

.lizplants-quote-empty {

    padding: 30px 15px;

    color: var(--lizplants-text);

    text-align: center;
}


.lizplants-quote-empty p {

    margin: 0;
}


/* =========================================================
   BOTÓN FLOTANTE MI COTIZACIÓN
   ========================================================= */

.lizplants-floating-quote {

    position: fixed;

    left: 22px;
    bottom: 22px;

    z-index: 9998;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 54px;

    padding: 10px 13px 10px 15px;

    border: 2px solid var(--lizplants-purple);
    border-radius: 30px;

    background: var(--lizplants-white) !important;
    background-color: var(--lizplants-white) !important;

    color: var(--lizplants-purple) !important;
    -webkit-text-fill-color: var(--lizplants-purple) !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none !important;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.16);

    box-sizing: border-box;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.lizplants-floating-quote:hover,
.lizplants-floating-quote:focus {

    background: var(--lizplants-white) !important;
    background-color: var(--lizplants-white) !important;

    color: var(--lizplants-purple) !important;
    -webkit-text-fill-color: var(--lizplants-purple) !important;

    text-decoration: none !important;

    transform: translateY(-2px);

    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.20);
}


.lizplants-floating-quote-icon {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    flex-shrink: 0;
}


.lizplants-floating-quote-icon svg {

    display: block;

    width: 24px;
    height: 24px;
}


.lizplants-floating-quote-count {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 26px;
    height: 26px;

    padding: 0 7px;

    border-radius: 20px;

    background: var(--lizplants-green) !important;
    background-color: var(--lizplants-green) !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    box-sizing: border-box;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .lizplants-quote-list {

        width: calc(100% - 30px);

        margin-top: 30px;
        margin-bottom: 45px;

        padding: 25px;
    }


    .lizplants-quote-item {

        gap: 20px;

        padding-top: 20px;
        padding-bottom: 20px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .lizplants-single-quote-controls {
        width: 100%;
    }


    button.lizplants-add-to-quote--single {
        flex: 1;
    }


    .lizplants-quote-list {

        width: calc(100% - 24px);

        margin: 25px auto 40px auto;

        padding: 22px 18px;

        border-radius: 10px;
    }


    .lizplants-quote-item {

        align-items: stretch;
        flex-direction: column;

        gap: 14px;

        padding: 20px 0;
    }


    .lizplants-quote-item:first-child {
        padding-top: 0;
    }


    .lizplants-quote-item-name {

        width: 100%;

        font-size: 16px;
    }


    .lizplants-quote-item-actions {

        display: flex;
        align-items: center;
        justify-content: flex-start;

        width: 100%;

        flex-wrap: wrap;

        gap: 8px;
    }


    button.lizplants-quote-remove {

        margin-left: 5px !important;
    }


    .lizplants-quote-footer {

        align-items: stretch;
        flex-direction: column-reverse;

        gap: 12px;

        margin-top: 10px;

        padding-top: 20px;
    }


    button.lizplants-quote-whatsapp {

        width: 100% !important;
    }


    button.lizplants-quote-clear {

        align-self: flex-start;
    }


    /*
     * FLOTANTE EN MÓVIL
     */

    .lizplants-floating-quote {

        left: 16px;
        bottom: 18px;

        min-height: 52px;

        padding: 9px 11px 9px 13px;

        font-size: 13px;
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 420px) {

    .lizplants-quote-list {

        width: calc(100% - 20px);

        padding: 20px 15px;
    }


    button.lizplants-quote-minus,
    button.lizplants-quote-plus {

        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }


    .lizplants-quote-item-quantity {

        width: 60px !important;
        height: 38px !important;
    }


    button.lizplants-quote-remove {

        width: auto !important;

        margin-left: 2px !important;
    }


    .lizplants-floating-quote {

        left: 12px;
        bottom: 15px;

        min-height: 50px;

        padding-left: 11px;
        padding-right: 9px;
    }

}