/**
 * PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
 *
 * @author    VEKIA https://www.prestashop.com/forums/user/132608-vekia/
 * @copyright 2010-2023 VEKIA
 * @license   This program is not free software and you can't resell and redistribute it
 *
 * CONTACT WITH DEVELOPER
 * support@mypresta.eu
 */

.minqc_message {
    display: block;
    padding: 10px;
    text-align: center;
    color: #000;
    border: 1px solid;
    margin: 10px;
    background-repeat: no-repeat;
    background-position: 10px center;
    color: #9F6000;
    background-color: #FEEFB3;
}

.minqc_message_single {
    display: block;
    padding: 10px;
    text-align: center;
    color: #000;
    border: 1px solid;
    margin: 10px;
    margin-top: 0px;
    background-repeat: no-repeat;
    background-position: 10px center;
    color: #9F6000;
    background-color: #FEEFB3;
}

.minqc_message_single_colors {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bcdff1;
}

.minqc_table {
    width: 100%;
    margin-top: 10px;
}

.minqc_table tr {
    border-bottom: 1px dotted #a48c00;
}

.minqc_fancy {
    text-align: center;
}

.minqc_error_line {
    display: block;
    clear: both;
}

.minqc_table {
    width: 100%;
    margin-top: 10px;
    text-align: left;
}

.minqc_table tr {
    border-bottom: 1px dotted #a48c00;
}

.minqc_table tr td {
    padding: 6px;
}


.minqc_fancy {
    text-align: center;
}

.minqc_error_line {
    display: block;
    clear: both;
}

.minqc_fancy {
    text-align: center;
}

.fancybox-inner {
    height: auto !important;
}

.minqc_fancy.alert {
    margin-bottom: 0px !important;
}
/* AJIT: kompaktowy pasek personalizacji (projekt etykiety) */
.product-customization.minqc-compact{margin:10px 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.product-customization.minqc-compact .card,
.product-customization.minqc-compact .card-block,
.product-customization.minqc-compact .card-body{border:1px solid #e2d9c3!important;border-radius:6px!important;background:#fdfaf2!important;padding:8px 10px!important;box-shadow:none!important;margin:0!important}
.product-customization.minqc-compact .card-title,
.product-customization.minqc-compact h3,
.product-customization.minqc-compact .h4{display:none!important}
.product-customization.minqc-compact .card-block > p,
.product-customization.minqc-compact .card-body > p,
.product-customization.minqc-compact .customization-message{display:none!important}
.product-customization.minqc-compact form{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.product-customization.minqc-compact .product-customization-item{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0!important;flex:1 1 100%}
.product-customization.minqc-compact label{font-size:13px;font-weight:600;margin:0!important;white-space:nowrap}
.product-customization.minqc-compact .custom-file,
.product-customization.minqc-compact input[type=file]{flex:1 1 200px;min-width:160px;margin:0!important}
.product-customization.minqc-compact button,
.product-customization.minqc-compact .btn{padding:6px 12px!important;font-size:13px!important;line-height:1.2!important;margin:0!important;white-space:nowrap}
.product-customization.minqc-compact small,
.product-customization.minqc-compact .form-control-comment{font-size:11px;opacity:.7;flex:1 1 100%;margin:0!important}
@media (max-width:575px){.product-customization.minqc-compact form{gap:6px}.product-customization.minqc-compact .custom-file{flex:1 1 100%}}
.minqc_table .minqc-cartons{opacity:.75;font-size:.92em;white-space:nowrap}

/* ===== AJIT: ujednolicenie wygladu z blokiem "Zamowienie pelnopaletowe" ===== */
.minqc_message{
    display:block!important;
    border:1px solid #e2d9c3!important;
    background:#fdfaf2!important;
    color:#5b4b2a!important;
    border-radius:6px!important;
    padding:12px 14px!important;
    margin:14px 0!important;
    text-align:left!important;
    font-size:14px!important;
    line-height:1.4!important;
}
.minqc_message > br{display:none}
.minqc_message .minqc_table{
    width:100%!important;
    margin:8px 0 0!important;
    text-align:left!important;
    border-collapse:collapse;
    font-size:13px;
}
.minqc_message .minqc_table tr{border-bottom:1px solid #efe7d5!important}
.minqc_message .minqc_table tr:last-child{border-bottom:0!important}
.minqc_message .minqc_table td{padding:5px 0!important;vertical-align:top;color:#5b4b2a}
.minqc_message .minqc_table td:last-child{text-align:right;white-space:nowrap;font-weight:600;padding-left:12px!important}
.minqc_table .minqc-cartons{opacity:.7;font-weight:400;font-size:.92em;white-space:nowrap}
.minqc_message_single{
    border:1px solid #e2d9c3!important;
    background:#fdfaf2!important;
    color:#5b4b2a!important;
    border-radius:6px!important;
    padding:12px 14px!important;
    margin:14px 0!important;
    text-align:left!important;
}
.minqc_message .minqc_msg_title{display:block;font-weight:600;margin-bottom:2px}
.minqc_message .minqc_msg_sub{display:block;opacity:.8;font-size:13px}
.minqc-price-suffix{font-size:.62em;font-weight:600;opacity:0;margin-left:4px;white-space:nowrap;vertical-align:baseline;transition:opacity .18s ease-in-out}
.minqc-price-suffix.is-visible{opacity:.75}
/* AJIT: cena za kg dla konfekcji chowana przez CSS, zeby nie mrugala przy przerysowaniu bloku ceny przez motyw */
body.minqc-hide-unitprice .product-unit-price{display:none !important}
/* AJIT: pole personalizacji (upload pliku) chowane DOMYSLNIE - inaczej motyw przy przerysowaniu
   karty pokazuje je na chwile, zanim JS je schowa (mrugniecie). Pokazujemy tylko dla wlasciwej
   kombinacji: Private label + Z wlasna etykieta (klasa minqc-show-custom na body z JS). */
.product-customization,.product-customization-item{display:none !important}
body.minqc-show-custom .product-customization{display:block !important}
body.minqc-show-custom .product-customization-item{display:flex !important}
