/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Software License Agreement
 * that is bundled with this package in the file LICENSE.txt.
 *
 * @author    Peter Sliacky (Zelarg)
 * @copyright Peter Sliacky (Zelarg)
 * @license   http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

div#default_offers_hook {
    width: 100%;
}

.content-buffer.hidden {
    display: none;
}

.z_offers-container {
    background: #fbf1e8 !important;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
}

.z_offers-info-header {
    padding: 15px 15px;
    border-bottom: 1px solid #c3c3c3;
    font-weight: bold;
}

.z_offers-body {
    padding: 0px;
}

label {
    pointer-events: none;
}

.z_offers-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px 15px 15px;
}

.z_offers-item > div {
    padding: 5px
}

.z_offers-item > .z_offers-checkbox {
    flex-grow: 0;
    display: flex;
    align-self: center;
    border-radius: 100%;
}

.z_offers-body > label {
    display: block;
    margin: 0;
}

.z_offers-item > .z_offers-image {
    text-align: left;
    flex-grow: 0;
}

.z_offers-item > .z_offers-image > a {
    height: 100%;
    display: flex;
    align-items: center;
}

.z_offers-item > .z_offers-image > a img {
    max-width: 100px;
}

.z_offers-item > .z_offers-name {
    min-width: 120px;
    text-align: left;
    flex-grow: 1;
}

.z_offers-item > .z_offers-name b {
    font-weight: 700;
}

.z_offers-item > .z_offers-name a {
    line-height: 1;
}

.z_offers-item > .z_offers-price {
    width: 120px;
    text-align: center;
    flex-grow: 0;
    text-align: right;
    padding-right: 10px;
    font-weight: bold;
}

.z_offers-item > .z_offers-price > .tax-label {
    display: none;
}

.z_offers-item.ticked {
    opacity: 1;
}

.z_offers-cart-item {
    display: none;
}

.z_offers-checkbox input[type='checkbox'] {
    height: 20px;
    width: 20px;
    display: none;
}

.z_offers-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4 !important;
}

#thecheckout-cart-summary .z_offers-container {
    display: none;
}

.z_offers-item .btn.btn-primary {
    pointer-events: fill;
    background: #228c60;
    border-color: #228c60;
    border-radius: 5px;
}

.z_offers-item.ticked .btn.btn-primary {
    background: #333;
    border-color: #333;
}

.z_offers-item .btn.btn-primary::before {
    content: 'Tilføj - 100 kr.';
}

.z_offers-item.ticked .btn.btn-primary::before {
    content: 'Fjern';
}

#cart .content-buffer {
    display: none;
}

@media(max-width: 992px) {
    .z_offers-container {
        margin-inline: 10px;
        width: fit-content;
    }

    .z_offers-item {
        flex-wrap: wrap !important;
    }

    .z_offers-item > .z_offers-name {
        min-width: 100%;
        order: -1;

    }

    .z_offers-item > .z_offers-price {
        flex-grow: 1;
    }
}