/* ==========================================================
   FEDDE & KEES: combinatiekorting
   ----------------------------------------------------------
   Zie inc/korting.php. Vier plekken: de regels onder de prijs op de
   productpagina, het label op een kaartje, het label in de twee deuren
   op de homepage, en de kortingsregels plus het duwtje in het zijpaneel.
   Eigen stylesheet, zodat product.css, home.css, shop.css en cart.css
   ongemoeid blijven.
   ========================================================== */


/* ==========================================================
   ONDER DE PRIJS OP DE PRODUCTPAGINA
   ========================================================== */

.fk-korting {
    margin: -6px 0 18px;
    padding: 12px 14px;
    list-style: none;

    border-radius: 12px;
    background: #C4E3E0;   /* mint, palette-color-10 van feddekees.nl */

    color: #3E3E3E;
    font-size: 15px;
    line-height: 1.35;
}

.fk-korting li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.fk-korting li + li {
    margin-top: 8px;
}

.fk-korting__reken strong {
    font-weight: 800;
    white-space: nowrap;
}

.fk-korting__icoon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;

    fill: none;
    stroke: #01A398;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/*
 * Op een smal scherm staat de samenvatting in een flexkolom met vaste
 * volgorde (product.css). Dezelfde plek als de prijs, dus pal erna.
 */
.fk-product__summary > .fk-korting {
    order: 2;
}


/* ==========================================================
   LABEL OP EEN KAARTJE
   ========================================================== */

.fk-kaart__beeld {
    position: relative;
}

.fk-kaart__korting {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;

    padding: 5px 11px;
    border-radius: 999px;
    background: #01A398;

    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    white-space: nowrap;

    pointer-events: none;
}


/* ==========================================================
   LABEL IN DE DEUREN OP DE HOMEPAGE
   ========================================================== */

.fk-deur__korting {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 10px;
    padding: 4px 11px;

    border-radius: 999px;
    background: #01A398;

    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .02em;
    white-space: nowrap;
}


/* ==========================================================
   ZIJPANEEL
   ========================================================== */

.fk-drawer__korting-tip {
    margin: 12px 0 4px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #C4E3E0;

    color: #3E3E3E;
    font-size: 14.5px;
    line-height: 1.35;
}

.fk-drawer__korting-regel {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;

    margin: -6px 0 10px;
    font-size: 14.5px;
    color: #067E76;
}

.fk-drawer__korting-regel span:last-child {
    font-weight: 600;
    white-space: nowrap;
}

.fk-drawer__totaal--eind {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid #E8E8E8;
}
