/**
 * Please do not edit or add any code in this file without the permission of PIBBLU
 *
 * @author    Saravana Technology Solutions
 * @copyright Saravana Technology Solutions
 * @license   http://www.pibblu.in
 * Prestashop version 1.7+
 * easycart 1.0.0
 * Dec 2017
 */

.multi_cart_disable_span {
	color: #999999;
	background-color: #dddddd;
    height: 26px !important;
    border:  1px solid #cccccc;
    padding: 2px;	
} 
.addtocartconfirmation {
    display:block;
    position:fixed;
    bottom:0px;
    left:0px;
    text-align:center;
    padding:10px 0px;
    width:100%;
    z-index:99999;
}

.addtocartloading {
    display:block;
    position:fixed;
    bottom:0px;
    left:0px;
    text-align:center;
    padding:100px 0px;
    width:100%;
    height:100%;
    z-index:99999;
    align: center;
    background:url(../img/overlay.png);
}

.addtocartconfirmation span {
    color:#fff;
    text-shadow:1px 1px 0px #000;
    font-size:18px;
    font-weight:bold;
}

@media (max-width: 767px) {
    #easycart_combpopup  thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #easycart_combpopup  tbody,  #easycart_combpopup  tr, #easycart_combpopup  td  {
        display: block;
    }

    #easycart_combpopup  tr  {
        border-bottom: 1px solid #cccccc;
        padding-bottom: 7px;
        overflow: hidden;
        position: relative;
    }

    #easycart_combpopup  td  {
        border: none;
        position: relative;
        float: left;
        white-space: normal;
        padding: 7px 20px 7px 20px;
    }

    #easycart_combpopup td:before {
        content: attr(data-title);
        font-weight: bold;
    }

     #easycart_combpopup  td.ectable_image {
        text-align: left;
    }
     #easycart_combpopup  td.ectable_variants {
        text-align: left;
    }
     #easycart_combpopup  td.ectable_variants:before {
        display: block;
    }
     #easycart_combpopup  td.ectable_instock {
        border-right: 1px solid #cccccc;
    }
     #easycart_combpopup  td.ectable_instock:before {
        display: inline;
    }
     #easycart_combpopup  td.ectable_minqty {
        text-align: left;
    }
     #easycart_combpopup  td.ectable_minqty:before {
        display: inline;
    }
     #easycart_combpopup  td.ectable_price {
        clear: both;
        border-right: 1px solid #cccccc;
        width: 39%;
        text-align: right;
        min-height: 70px;
    }
     #easycart_combpopup  td.ectable_price:before {
        display: block;
    }
     #easycart_combpopup  td.ectable_addtocart {
        width: 59%;
        text-align: left;
        min-height: 70px;
    }
     #easycart_combpopup  td.ectable_addtocart:before {
        display: block;
    }
}

@media (max-width: 767px) {
    .easycart_combhookpopup thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .easycart_combhookpopup tbody,  .easycart_combhookpopup tr, .easycart_combhookpopup td  {
        display: block;
    }

    .easycart_combhookpopup tr  {
        border-bottom: 1px solid #cccccc;
        padding-bottom: 7px;
        overflow: hidden;
        position: relative;
    }

    .easycart_combhookpopup td  {
        border: none;
        position: relative;
        float: left;
        white-space: normal;
        padding: 7px 20px 7px 20px;
    }

    .easycart_combhookpopuptd:before {
        content: attr(data-title);
        font-weight: bold;
    }

     .easycart_combhookpopup td.ectable_image {
        text-align: left;
    }
     .easycart_combhookpopup td.ectable_variants {
        text-align: left;
    }
     .easycart_combhookpopup td.ectable_variants:before {
        display: block;
    }
     .easycart_combhookpopup td.ectable_instock {
        border-right: 1px solid #cccccc;
    }
     .easycart_combhookpopup  td.ectable_instock:before {
        display: inline;
    }
     .easycart_combhookpopup  td.ectable_minqty {
        text-align: left;
    }
     .easycart_combhookpopup  td.ectable_minqty:before {
        display: inline;
    }
     .easycart_combhookpopup  td.ectable_price {
        clear: both;
        border-right: 1px solid #cccccc;
        width: 39%;
        text-align: right;
        min-height: 70px;
    }
     .easycart_combhookpopup  td.ectable_price:before {
        display: block;
    }
     .easycart_combhookpopup  td.ectable_addtocart {
        width: 59%;
        text-align: left;
        min-height: 70px;
    }
     .easycart_combhookpopup  td.ectable_addtocart:before {
        display: block;
    }
}


    div.easycart_combhooktop {
        display: inline-block;
        position:relative;
        width:100%;
        font-size: 11px;
    }

/* Estilos para tabla de combinaciones en layout de dos columnas */
.easycart_comb_table_wrapper {
    width: 100%;
    margin-top: 15px;
}

.easycart_combhookpopup {
    width: 100% !important;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.easycart_combhookpopup thead {
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.easycart_combhookpopup thead th {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    border-right: 1px solid #ddd;
    white-space: nowrap;
}

.easycart_combhookpopup thead th:last-child {
    border-right: none;
}

.easycart_combhookpopup tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.easycart_combhookpopup tbody tr:hover {
    background-color: #f9f9f9;
}

.easycart_combhookpopup tbody td {
    padding: 12px 8px;
    border-right: 1px solid #eee;
    text-align: center;
    font-size: 13px;
    vertical-align: middle;
}

.easycart_combhookpopup tbody td:last-child {
    border-right: none;
}

/* Columna de imagen */
.easycart_combhookpopup td:first-child {
    text-align: center;
    width: 80px;
}

.easycart_combhookpopup td:first-child img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

/* Columna de referencia */
.easycart_combhookpopup tbody td:nth-child(2) {
    font-weight: 500;
    width: 80px;
    color: #666;
}

/* Columnas de atributos */
.easycart_combhookpopup tbody td.ectable_variants {
    min-width: 100px;
}

/* Columna de precio */
.easycart_combhookpopup tbody td.ectable_price {
    font-weight: 600;
    color: #333;
    min-width: 80px;
}

.easycart_combhookpopup tbody td.ectable_price span {
    font-size: 14px;
}

/* Columna de cantidad y botones */
.easycart_combhookpopup tbody td.ectable_addtocart {
    min-width: 200px;
}

.easycart_combhookpopup tbody td.ectable_addtocart > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Inputes de cantidad */
.multicart_quantity_input_comb {
    width: 50px !important;
    padding: 6px 4px !important;
    text-align: center;
    border: 1px solid #ddd !important;
    font-size: 13px;
    height: auto !important;
}

/* Botones de cantidad */
.multi_cart_quantity_down,
.multi_cart_quantity_up {
    padding: 6px 10px !important;
    cursor: pointer;
    border: 1px solid #ddd !important;
    background: white !important;
    color: #666 !important;
    font-weight: bold;
    font-size: 16px;
    user-select: none;
    transition: all 0.2s;
}

.multi_cart_quantity_down:hover,
.multi_cart_quantity_up:hover {
    background: #f0f0f0 !important;
    color: #333 !important;
}

/* Botón Agregar al carrito */
.easycart_add_to_cart_btn {
    background: #55c65e !important;
    color: white !important;
    border: none !important;
    padding: 8px 14px !important;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    transition: background 0.3s;
}

.easycart_add_to_cart_btn:hover {
    background: #45b04e !important;
}

/* Span para fuera de stock */
.multi_cart_disable_span {
    background: #ddd !important;
    color: #666 !important;
    padding: 6px 10px !important;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

@media (min-width: 421px) {
    table.easycart_combhookpopup {
        max-width: 150%;
    }
}
@media (max-width: 420px) {
    table.easycart_combhookpopup {
        max-width: 100%;
    }
}

    table.easycart_combhookpopup {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-height: 70px;
        max-height: 300px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        padding: 5px 6px;
        z-index: 4;
        overflow: auto;
        overflow-x: scroll;
        transition: transform 0.4s ease-in-out 0s;
        -webkit-transition: transform 0.4s ease-in-out 0s;
        -moz-transition: transform 0.4s ease-in-out 0s;
        -o-transition: transform 0.4s ease-in-out 0s;
        -ms-transition: transform 0.4s ease-in-out 0s;
    }
    div.easycart_combhooktop:hover > table.easycart_combhookpopup {
        display : block;
    }

.mc_div_qty_outer {
    width:100%;
    margin-bottom: 2px;
    position: relative;
    display: block;
    font-size: 11px;
    line-height: 11px;
    text-align: left;
    box-sizing: border-box;

}

.mc_div_qty_inner {
    width:100%;
    margin: 2px;
    position: relative;
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
}

.mc_div_qty_outer_single {
    width:100%;
    margin-bottom: 2px;
    position: relative;
    display: block;
    font-size: 11px;
    line-height: 11px;
    text-align: left;
    box-sizing: border-box;
    margin-top: 25px;
}

.mc_qty_input_textbox_style {
    height: 26px !important;
    width:40px !important;
    border-left:none;
    border-right:none;
    padding: 2px !important;
}

.mc_comb_total_qty_input {
    height:34px !important;
    width:46px !important;
    text-align:center;
    color:black;
    padding: 2px !important;
}

.multi_cart_quantity_up {
	display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    font-size: 1rem;
    border-radius: 0;
    padding: 0px;
}

.multi_cart_quantity_down {
	display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    font-size: 1rem;
    border-radius: 0;
    padding: 0px;

}

.mc_div_qty_inner a  > span {
    width: 24px !important;
    height: 24px !important;
}

.featured-products .product-miniature .discount-percentage.discount-percentage, .featured-products .product-miniature .on-sale.discount-percentage, .featured-products .product-miniature .online-only.discount-percentage, .featured-products .product-miniature .pack.discount-percentage, .featured-products .product-miniature .product-flags .new.discount-percentage, .product-accessories .product-miniature .discount-percentage.discount-percentage, .product-accessories .product-miniature .on-sale.discount-percentage, .product-accessories .product-miniature .online-only.discount-percentage, .product-accessories .product-miniature .pack.discount-percentage, .product-accessories .product-miniature .product-flags .new.discount-percentage, .product-miniature .product-miniature .discount-percentage.discount-percentage, .product-miniature .product-miniature .on-sale.discount-percentage, .product-miniature .product-miniature .online-only.discount-percentage, .product-miniature .product-miniature .pack.discount-percentage, .product-miniature .product-miniature .product-flags .new.discount-percentage, li.product-flag {
    z-index: auto !important;
}

#products .thumbnail-container, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container {
    margin-bottom: 2.6rem !important;
}

.multi_cart_quantity_span_minus {
    background-image: url(../img/minus/16.png);
    display: block;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
}
.multi_cart_quantity_span_plus {
    background-image: url(../img/plus/16.png);
    display: block;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
}

.multi_cart_icon_span {
    background-image: url(../img/basket/16.png);
    display: block;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
}

.multi_cart_addtocart_checkmark_disable {
    display: none;
    overflow: hidden;
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 50px;
    background-position: center;
    background-repeat: no-repeat;
}

.multi_cart_addtocart_checkmark_enable {
    display: block;
    overflow: hidden;
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 50px;
    background-position: center;
    background-repeat: no-repeat;
}

.tickmarkpink {
    background-image: url(../img/check/48-pink.png);
}
.tickmarkblue {
    background-image: url(../img/check/48-blue.png);
}
.tickmarkbrown {
    background-image: url(../img/check/48-brown.png);
}
.tickmarkamber {
    background-image: url(../img/check/48-amber.png);
}
.tickmarkyellow {
    background-image: url(../img/check/48-yellow.png);
}
.tickmarkgreen {
    background-image: url(../img/check/48-green.png);
}


.mc_add_to_cart_button {
    margin-left: 2px;
	display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    font-size: 1rem;
    border-radius: 0;
    padding: 0px;	
	
}

.multi_cart_addtocart_comb_enable {
    background-color: rgb(228, 228, 228);
}
.multi_cart_addtocart_comb_disable {
    background-color: none;
}
/*table.easycart_combhookpopup thead tr th {
    padding-right: 25px !important;
}*/
/*table#easycart_combpopup thead tr th {
    padding-right: 75px !important;
}*/
