/* ==========================================================
   KREIBICH – DOPRAVA A PLATBA
   ========================================================== */


/* ROZŠÍŘENÍ OBSAHU */

@media (min-width: 1200px) {

    .in-doprava-a-platba .content-inner,
    .in-doprava-a-platba-test .content-inner {
        max-width: unset;
    }

}


/* ==========================================================
   HLAVNÍ H1
   ========================================================== */

.in-doprava-a-platba .content-inner > h1,
.in-doprava-a-platba-test .content-inner > h1 {
    position: relative;

    max-width: 850px;

    margin: 5px 0 27px !important;
    padding: 0 0 18px;

    font-size: 38px;
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.5px;
    text-transform: none;
}

.in-doprava-a-platba .content-inner > h1::after,
.in-doprava-a-platba-test .content-inner > h1::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 48px;
    height: 2px;

    background: #222;
}


/* ==========================================================
   ZÁKLAD
   ========================================================== */

.kd-page {
    --kd-text: #252525;
    --kd-muted: #6e6e6e;
    --kd-border: #dfdfdf;
    --kd-light: #f6f6f5;
    --kd-warm: #f3f0eb;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    color: var(--kd-text);
}

.kd-page * {
    box-sizing: border-box;
}


/* ==========================================================
   ŠTÍTKY / MALÉ NADPISY
   ========================================================== */

.kd-label {
    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 1.15px;
    text-transform: uppercase;
}


/* ==========================================================
   SEKCE
   ========================================================== */

.kd-section {
    margin: 0 0 75px;
}

.kd-section__head {
    max-width: 720px;
    margin-bottom: 30px;
}

.kd-section__head h2,
.kd-help h2 {
    margin: 0 0 11px !important;

    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;

    letter-spacing: -0.25px;
}

.kd-section__head p {
    max-width: 650px;

    margin: 0;

    color: var(--kd-muted);

    font-size: 16px;
    line-height: 1.65;
}


/* ==========================================================
   ÚVOD
   ========================================================== */

.kd-intro {
    max-width: 800px;

    margin: 0 0 33px;
}

.kd-intro__lead {
    margin: 0 !important;

    color: #555;

    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   DOPRAVA ZDARMA
   ========================================================== */

.kd-free {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin: 0 0 66px;
    padding: 27px 30px;

    background: #f5f4f2;

    border-left: 3px solid #292929;
}

.kd-free__text strong {
    display: block;

    margin-bottom: 5px;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.kd-free__text p {
    margin: 0;

    color: var(--kd-muted);

    font-size: 14px;
    line-height: 1.5;
}

.kd-free__value {
    flex: 0 0 auto;

    color: #666;

    font-size: 14px;

    white-space: nowrap;
}

.kd-free__value strong {
    display: inline-block;

    margin-left: 4px;

    color: var(--kd-text);

    font-size: 23px;
    font-weight: 700;
}


/* ==========================================================
   DOPRAVA – GRID
   ========================================================== */

.kd-shipping-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* ==========================================================
   KARTA DOPRAVY
   ========================================================== */

.kd-shipping-card {
    display: flex;
    flex-direction: column;

    min-height: 235px;

    padding: 26px 28px 24px;

    background: #fff;

    border: 1px solid var(--kd-border);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.kd-shipping-card:hover {
    border-color: #c4c4c4;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .045);

    transform: translateY(-1px);
}


/* OSOBNÍ ODBĚR */

.kd-shipping-card--pickup {
    background: var(--kd-warm);

    border-color: #d9d3cb;
}


/* ==========================================================
   HORNÍ ČÁST KARTY
   ========================================================== */

.kd-shipping-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 23px;
}


/* ==========================================================
   DOPRAVCI / ZNAČKY
   ========================================================== */

.kd-carrier-brand {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    min-height: 30px;

    color: #444;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}


/* ZÁSILKOVNA */

.kd-carrier-brand--packeta {
    color: #a71915;
}

.kd-carrier-brand__symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    color: #fff;
    background: #b31c18;

    font-size: 15px;
    font-weight: 800;

    border-radius: 2px;
}


/* PPL */

.kd-carrier-brand--ppl {
    min-width: 60px;
}

.kd-carrier-brand__ppl {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 60px;
    height: 29px;

    padding: 0 10px;

    color: #fff;
    background: #273664;

    font-size: 14px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: .3px;

    border-radius: 2px;
}

.kd-carrier-brand__ppl::after {
    content: "";

    position: absolute;

    right: 8px;
    bottom: 4px;

    width: 18px;
    height: 2px;

    background: #e9c82a;
}


/* PRODEJNA */

.kd-carrier-brand--store {
    color: #333;
}

.kd-carrier-brand--store .kd-carrier-brand__symbol {
    color: #fff;

    background: #292929;
}


/* ==========================================================
   CENA
   ========================================================== */

.kd-price {
    flex: 0 0 auto;

    color: var(--kd-text);

    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;

    white-space: nowrap;
}


/* ==========================================================
   TEXT KARTY
   ========================================================== */

.kd-shipping-card h3 {
    margin: 0 0 10px !important;

    color: var(--kd-text);

    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.kd-shipping-card p {
    margin: 0 0 22px !important;

    color: #626262;

    font-size: 15px;
    line-height: 1.65;
}


/* ==========================================================
   SPODNÍ ŘÁDEK KARTY
   ========================================================== */

.kd-shipping-card__bottom {
    position: static;

    display: flex;
    align-items: center;

    gap: 7px;

    width: 100%;

    margin-top: auto;
    padding-top: 15px;

    color: #555;

    font-size: 13px;
    line-height: 1.4;

    border-top: 1px solid #e7e7e7;
}

.kd-shipping-card__bottom span {
    font-weight: 700;
}


/* ==========================================================
   OSOBNÍ ODBĚR – SPODNÍ ŘÁDEK
   ========================================================== */

.kd-shipping-card__store-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    width: 100%;

    margin-top: auto;
    padding-top: 15px;

    border-top: 1px solid rgba(0, 0, 0, .1);
}

.kd-shipping-card__store-bottom > span {
    max-width: 270px;

    color: #666;

    font-size: 12px;
    line-height: 1.5;
}

.kd-shipping-card__store-bottom .kd-text-link {
    flex: 0 0 auto;
}


/* ==========================================================
   TEXTOVÉ ODKAZY
   ========================================================== */

.kd-text-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--kd-text) !important;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none !important;

    border-bottom: 1px solid #aaa;
}

.kd-text-link span {
    transition: transform .2s ease;
}

.kd-text-link:hover {
    color: #000 !important;

    border-color: #222;
}

.kd-text-link:hover span {
    transform: translateX(3px);
}


/* ==========================================================
   PODROBNOSTI
   ========================================================== */

.kd-section--details {
    padding: 42px 40px;

    background: var(--kd-light);
}

.kd-details {
    background: #fff;

    border-top: 1px solid var(--kd-border);
}

.kd-detail-row {
    display: grid;

    grid-template-columns: 220px minmax(0, 1fr);

    gap: 40px;

    padding: 30px 25px;

    border-bottom: 1px solid var(--kd-border);
}

.kd-detail-row__title > span {
    display: block;

    margin-bottom: 6px;

    color: var(--kd-muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .9px;
    text-transform: uppercase;
}

.kd-detail-row__title h3 {
    margin: 0 !important;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.kd-detail-row__content {
    max-width: 730px;
}

.kd-detail-row__content p {
    margin: 0 0 14px;

    color: #555;

    font-size: 15px;
    line-height: 1.65;
}

.kd-detail-row__content ul {
    margin: 0 0 17px;
    padding: 0;

    list-style: none;
}

.kd-detail-row__content li {
    position: relative;

    margin: 0 0 9px;
    padding-left: 20px;

    color: #555;

    font-size: 15px;
    line-height: 1.6;
}

.kd-detail-row__content li::before {
    content: "✓";

    position: absolute;

    top: 0;
    left: 0;

    color: #333;

    font-size: 13px;
    font-weight: 700;
}


/* INFORMAČNÍ POZNÁMKA */

.kd-detail-row__content .kd-note {
    margin: 18px 0;

    padding: 12px 15px;

    color: #666;

    font-size: 13px;
    line-height: 1.55;

    background: #f7f7f7;
}


/* OSOBNÍ ODBĚR V DETAILU */

.kd-detail-row--pickup {
    background: #faf8f5;
}


/* ==========================================================
   PLATBY
   ========================================================== */

.kd-payments {
    border-top: 1px solid var(--kd-border);
}

.kd-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    min-height: 96px;

    padding: 20px 22px;

    border-bottom: 1px solid var(--kd-border);
}

.kd-payment-row h3 {
    margin: 0 0 4px !important;

    color: var(--kd-text);

    font-size: 17px;
    font-weight: 600;
}

.kd-payment-row p {
    margin: 0;

    color: var(--kd-muted);

    font-size: 14px;
    line-height: 1.5;
}

.kd-payment-row > strong {
    flex: 0 0 auto;

    min-width: 100px;

    text-align: right;

    color: var(--kd-text);

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;
}


/* ==========================================================
   ZAHRANIČÍ
   ========================================================== */

.kd-foreign {
    padding: 38px 40px;

    background: var(--kd-light);
}

.kd-foreign__rows {
    margin-top: 10px;

    background: #fff;
}

.kd-foreign__row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 18px 22px;

    border-bottom: 1px solid var(--kd-border);
}

.kd-foreign__row:first-child {
    border-top: 1px solid var(--kd-border);
}

.kd-foreign__row span {
    font-size: 15px;
}

.kd-foreign__row strong {
    font-size: 18px;
    font-weight: 700;
}


/* DOPRAVA ZDARMA EU */

.kd-foreign__free {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 18px;
    padding: 18px 22px;

    color: #fff;

    background: #292929;
}

.kd-foreign__free span {
    font-size: 15px;
}

.kd-foreign__free strong {
    font-size: 17px;
    font-weight: 600;
}

.kd-foreign__note {
    margin: 12px 0 0;

    color: var(--kd-muted);

    font-size: 13px;
}


/* ==========================================================
   KONTAKT
   ========================================================== */

.kd-help {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 38px 0;

    border-top: 1px solid var(--kd-border);
    border-bottom: 1px solid var(--kd-border);
}

.kd-help__content {
    max-width: 640px;
}

.kd-help__content p {
    margin: 0;

    color: var(--kd-muted);

    font-size: 15px;
    line-height: 1.6;
}

.kd-help__contact {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 7px;
}

.kd-help__contact a {
    color: var(--kd-text) !important;

    font-size: 17px;
    font-weight: 600;

    text-decoration: none !important;
}

.kd-help__contact a:hover {
    text-decoration: underline !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    .kd-detail-row {
        grid-template-columns: 180px minmax(0, 1fr);

        gap: 28px;
    }

    .kd-shipping-card__store-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

}


/* ==========================================================
   MOBIL
   ========================================================== */

@media (max-width: 767px) {

    /* H1 */

    .in-doprava-a-platba .content-inner > h1,
    .in-doprava-a-platba-test .content-inner > h1 {
        margin-bottom: 20px !important;
        padding-bottom: 14px;

        font-size: 30px;
        line-height: 1.2;

        letter-spacing: -.3px;
    }


    /* SEKCE */

    .kd-section {
        margin-bottom: 55px;
    }

    .kd-section__head {
        margin-bottom: 23px;
    }

    .kd-section__head h2,
    .kd-help h2 {
        font-size: 24px;
    }

    .kd-section__head p {
        font-size: 15px;
    }


    /* ÚVOD */

    .kd-intro {
        margin-bottom: 28px;
    }

    .kd-intro__lead {
        font-size: 16px;
        line-height: 1.65;
    }


    /* DOPRAVA ZDARMA */

    .kd-free {
        display: block;

        margin-bottom: 50px;

        padding: 22px 20px;
    }

    .kd-free__text strong {
        font-size: 19px;
    }

    .kd-free__value {
        margin-top: 17px;
    }

    .kd-free__value strong {
        font-size: 22px;
    }


    /* DOPRAVA */

    .kd-shipping-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .kd-shipping-card {
        min-height: 0;

        padding: 22px 20px 20px;
    }

    .kd-shipping-card__top {
        margin-bottom: 20px;
    }

    .kd-shipping-card h3 {
        font-size: 19px;
    }

    .kd-shipping-card p {
        margin-bottom: 22px !important;

        font-size: 14px;
    }

    .kd-price {
        font-size: 19px;
    }

    .kd-shipping-card__bottom {
        margin-top: 4px;

        flex-wrap: wrap;
    }

    .kd-shipping-card__store-bottom {
        display: block;
    }

    .kd-shipping-card__store-bottom > span {
        display: block;

        max-width: none;

        margin-bottom: 13px;
    }


    /* PODROBNOSTI */

    .kd-section--details {
        margin-right: -15px;
        margin-left: -15px;

        padding: 30px 15px;
    }

    .kd-detail-row {
        display: block;

        padding: 25px 18px;
    }

    .kd-detail-row__title {
        margin-bottom: 18px;
    }

    .kd-detail-row__content p,
    .kd-detail-row__content li {
        font-size: 14px;
    }


    /* PLATBY */

    .kd-payment-row {
        align-items: flex-start;

        gap: 20px;

        min-height: 0;

        padding: 18px 5px;
    }

    .kd-payment-row p {
        font-size: 13px;
    }

    .kd-payment-row > strong {
        min-width: auto;

        font-size: 15px;
    }


    /* ZAHRANIČÍ */

    .kd-foreign {
        margin-right: -15px;
        margin-left: -15px;

        padding: 30px 15px;
    }

    .kd-foreign__row {
        padding: 17px;
    }

    .kd-foreign__free {
        display: block;

        padding: 17px;
    }

    .kd-foreign__free strong {
        display: block;

        margin-top: 3px;
    }


    /* KONTAKT */

    .kd-help {
        display: block;

        padding: 30px 0;
    }

    .kd-help__contact {
        align-items: flex-start;

        margin-top: 22px;
    }

}


/* ==========================================================
   MALÉ MOBILY
   ========================================================== */

@media (max-width: 420px) {

    .kd-shipping-card__top {
        gap: 12px;
    }

    .kd-carrier-brand {
        font-size: 12px;
    }

    .kd-price {
        font-size: 18px;
    }

    .kd-payment-row {
        gap: 12px;
    }

}