/* ============================================================
   HEILTROPFEN QUANTITY DISCOUNTS MODULE 1.1.1
   ============================================================ */

#product .product-discounts {
    display: none !important;
}

#product .htqd-root {
    --htqd-primary: #1c2e5b;
    --htqd-accent: #3e7f3d;
    --htqd-selected-bg: #f2f8f0;
    --htqd-radius: 8px;

    width: 100%;
    margin: 10px 0 0;
    box-sizing: border-box;
    font-family: Montserrat, Arial, sans-serif;
}

#product .htqd-hidden {
    display: none !important;
}

#product .htqd-title {
    margin: 0 0 6px;
    color: var(--htqd-primary);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}

#product .htqd-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

#product .htqd-card {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 8px 10px;
    background: #fff;
    border: 1.5px solid var(--htqd-primary);
    border-radius: var(--htqd-radius);
    box-sizing: border-box;
    color: #333;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

#product .htqd-card:hover {
    background: #f8fbf7;
    box-shadow: 0 2px 7px rgba(28, 46, 91, .10);
}

#product .htqd-card.is-selected {
    background: var(--htqd-selected-bg);
    border-color: var(--htqd-accent);
    box-shadow: 0 0 0 1px rgba(62, 127, 61, .12);
}

#product .htqd-radio {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--htqd-primary);
    border-radius: 5px;
    box-sizing: border-box;
    color: transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

#product .htqd-card.is-selected .htqd-radio {
    background: var(--htqd-accent);
    border-color: var(--htqd-accent);
    color: #fff;
}

#product .htqd-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#product .htqd-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1px;
}

#product .htqd-qty-title {
    color: var(--htqd-primary);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 700;
}

#product .htqd-unit-price {
    color: #888;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
}

#product .htqd-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 5px;
    background: var(--htqd-accent);
    border-radius: 4px;
    color: #fff;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

#product .htqd-total-price {
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 4px;
    color: var(--htqd-primary);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    #product .htqd-cards {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    #product .htqd-card {
        min-height: 58px;
        padding: 9px 10px;
    }
}

@media (max-width: 767px) {
    #product .htqd-root {
        margin-top: 8px;
    }

    #product .htqd-title {
        font-size: 12px;
    }

    #product .htqd-qty-title,
    #product .htqd-total-price {
        font-size: 14px;
    }

    #product .htqd-unit-price {
        font-size: 11px;
    }
}
