/* =========================================================
   SHOPTET CUSTOM CARDS
   Velikost balení + způsob přípravy + obecné varianty
   ========================================================= */

.us-original-select-hidden {
    display: none !important;
}

.us-choice-selector {
    margin-top: 22px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid #e5e5e5;
    overflow: visible;
}

.us-choice-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.us-choice-card {
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
}

/* =========================================================
   HLAVIČKA SEKCE: nadpis + claim
   ========================================================= */

.us-choice-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    padding: 0;
    flex-wrap: wrap;
}

.us-choice-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #8b0012;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.us-choice-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    min-width: 23px;
    border-radius: 50%;
    background: #8b0012;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

/* =========================================================
   SPOLEČNÝ WRAP PRO KARTY
   ========================================================= */

.us-choice-options {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0;
}

/* =========================================================
   BALENÍ / POČET KAPSLÍ
   ========================================================= */

.us-pack-card {
    position: relative;
    flex: 0 0 86px;
    width: 86px;
    min-width: 86px;
    min-height: 102px;
    padding: 18px 8px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    overflow: visible;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.us-pack-card.is-long-label {
    flex-basis: 112px;
    width: 112px;
    min-width: 112px;
}

.us-pack-card.is-extra-long-label {
    flex-basis: 128px;
    width: 128px;
    min-width: 128px;
}

.us-pack-card:hover,
.us-pack-card.is-active {
    border-color: #ff9b00;
}

.us-pack-card.is-active {
    box-shadow: 0 0 0 1px #ff9b00 inset;
}

.us-pack-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.us-pack-card .us-choice-name {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 5px;
    color: #111;
    font-size: 16px;
    line-height: 1.08;
    font-weight: 800;
    white-space: normal;
}

.us-pack-card .us-choice-price {
    color: #555;
    font-size: 13px;
    line-height: 1.2;
}

.us-pack-card .us-choice-discount {
    margin-top: 5px;
    color: #b00016;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;
}

/* Tableta Nejoblíbenější */
.us-choice-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 17px;
    padding: 2px 5px 3px;
    border-radius: 5px;
    background: #0b5d20;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================================================
   OBECNÉ TEXTOVÉ VARIANTY
   Např. Espresso / Lungo
   ========================================================= */

.us-text-card {
    position: relative;
    flex: 0 0 118px;
    width: 118px;
    min-width: 118px;
    min-height: 76px;
    padding: 14px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    overflow: visible;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.us-text-card:hover,
.us-text-card.is-active {
    border-color: #ff9b00;
}

.us-text-card.is-active {
    box-shadow: 0 0 0 1px #ff9b00 inset;
}

.us-text-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.us-text-card .us-choice-name {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #111;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    white-space: normal;
}

/* =========================================================
   ZPŮSOB PŘÍPRAVY
   ========================================================= */

.us-prep-card {
    position: relative;
    flex: 0 0 132px;
    width: 132px;
    min-width: 132px;
    min-height: 128px;
    padding: 12px 8px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    overflow: visible;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.us-prep-card:hover,
.us-prep-card.is-active {
    border-color: #ff9b00;
}

.us-prep-card.is-active {
    box-shadow: 0 0 0 1px #ff9b00 inset;
}

.us-prep-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.us-prep-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin: 0 0 8px;
}

.us-prep-icon {
    display: block;
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.us-prep-card .us-choice-name {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #111;
    font-size: 12.5px;
    line-height: 1.18;
    font-weight: 800;
    white-space: normal;
}

.us-prep-card .us-choice-price {
    margin-top: 6px;
    color: #555;
    font-size: 13px;
    line-height: 1.2;
}

.us-prep-card .us-choice-price.is-surcharge {
    color: #8b0012;
    font-weight: 800;
}

/* Required hvězdička */
.us-choice-selector.is-required-missing .us-choice-title::after {
    content: " *";
    color: #8b0012;
}

/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767px) {
    .us-choice-selector {
        margin-top: 18px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .us-choice-header {
        gap: 8px 12px;
        margin-bottom: 14px;
    }

    .us-choice-title {
        font-size: 15px;
    }

    .us-choice-benefit {
        font-size: 13px;
    }

    .us-choice-benefit-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 14px;
    }

    .us-choice-options {
        gap: 8px;
    }

    .us-pack-card {
        flex: 0 0 82px;
        width: 82px;
        min-width: 82px;
        min-height: 98px;
    }

    .us-pack-card.is-long-label {
        flex: 0 0 108px;
        width: 108px;
        min-width: 108px;
    }

    .us-pack-card.is-extra-long-label {
        flex: 0 0 122px;
        width: 122px;
        min-width: 122px;
    }

    .us-text-card {
        flex: 0 0 108px;
        width: 108px;
        min-width: 108px;
        min-height: 72px;
    }

    .us-prep-card {
        flex: 0 0 122px;
        width: 122px;
        min-width: 122px;
        min-height: 124px;
    }

    .us-prep-icon-wrap {
        height: 42px;
    }

    .us-prep-icon {
        max-width: 40px;
        max-height: 40px;
    }
}
.us-text-card {
    min-height: 104px;
    padding: 12px 10px 10px;
}

.us-text-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin: 0 0 8px;
}

.us-text-icon {
    display: block;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}


.us-text-card .us-choice-name {
    min-height: 28px;
}

html:not(.us-variants-ready) .p-variants-block .variant-list,
    html:not(.us-variants-ready) .p-variants-block .surcharge-list {
        display: none !important;
    }