/* KleoClub: loyalty page, popup, member card, checkout coupons, price badge */

.kleoclub-modal .kleoclub-popup__title {
    height: auto;
    padding: 15px 0;
    line-height: normal;
    letter-spacing: 1px;
}
.kleoclub-popup__logo {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.kleoclub-popup {
    padding: 0 30px 25px;
}
.kleoclub-popup__text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px;
    text-align: center;
}
.kleoclub-popup__small {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}
.kleoclub-popup__small a {
    color: #888;
    text-decoration: underline;
}
.kleoclub-popup__error {
    color: #d0021b;
}
.kleoclub-popup__success {
    color: #2e7d32;
    font-weight: 600;
}
.kleoclub-popup__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
.kleoclub-btn {
    display: inline-block;
    min-width: 120px;
    padding: 10px 20px;
    background: #1c1c1c;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 13px;
    text-transform: uppercase;
    border: 1px solid #1c1c1c;
}
.kleoclub-btn--light {
    background: #fff;
    color: #1c1c1c !important;
}
.kleoclub-choice {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e3e3e3;
    margin-bottom: 8px;
    cursor: pointer;
    font-weight: normal;
}
#kleoclub_modal .kleoclub-choice input[type="radio"],
.kleoclub-coupons .kleoclub-choice input[type="radio"] {
    -webkit-appearance: radio;
    appearance: auto;
    width: auto;
    height: auto;
    min-width: 0;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    position: static;
    opacity: 1;
}
.kleoclub-choice span {
    flex: 1;
    word-break: break-all;
}
.kleoclub-choice small {
    color: #888;
}

.kleoclub-card__table {
    width: 100%;
    margin-bottom: 15px;
}
.kleoclub-card__table td {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.kleoclub-card__table td:last-child {
    text-align: right;
}
.kleoclub-card__title {
    font-weight: 600;
    margin: 10px 0 8px;
    font-size: 14px;
}
.kleoclub-card__empty {
    color: #888;
    font-size: 13px;
}
.kleoclub-card__coupons {
    list-style: none;
    padding: 0;
    margin: 0;
}
.kleoclub-card__coupons li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: #faf6ea;
    border-left: 3px solid #c9a227;
    font-size: 13px;
}
.kleoclub-card__coupon-date {
    color: #888;
    white-space: nowrap;
}
.kleoclub-card__bar {
    height: 6px;
    background: #eee;
}
.kleoclub-card__bar span {
    display: block;
    height: 100%;
    background: #c9a227;
}
.kleoclub-card__bar-text {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* account page */
.kleoclub-account {
    max-width: 560px;
}
.kleoclub-account__actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.kleoclub-account__unlink {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
}
.kleoclub-notice {
    padding: 12px 15px;
    background: #f7f7f7;
    border-left: 3px solid #b5b5b5;
    font-size: 13px;
    line-height: 1.5;
}

/* checkout */
.kleoclub-checkout {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e3e3e3;
}
.kleoclub-checkout__title {
    font-weight: 600;
    margin-bottom: 8px;
}
.kleoclub-coupons.is-loading {
    opacity: .5;
    pointer-events: none;
}
.kleoclub-coupons .kleoclub-choice {
    margin-bottom: 6px;
}

/* product price: under the price; on the product page .card-price floats its children */
.kleoclub-price {
    display: table;
    clear: both;
    float: none;
    margin-top: 6px;
    padding: 3px 8px;
    background: #faf6ea;
    border-left: 3px solid #c9a227;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    color: #1c1c1c;
    text-decoration: none;
}
.card-price .kleoclub-price {
    position: relative;
    top: 10px;
}
.kleoclub-price__value {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.kleoclub-price--offline {
    background: #f5f5f5;
    border-left-color: #b5b5b5;
    color: #666;
}

/* "Програма лояльності" page (/mykleo) */
.kleoclub-page__hero {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}
.kleoclub-page__logo {
    display: block;
    width: 200px;
    max-width: 60%;
    height: auto;
    margin: 0 auto 10px;
}
.kleoclub-page__intro {
    font-size: 16px;
    line-height: 1.6;
}
.kleoclub-page__actions {
    margin-top: 25px;
}
.kleoclub-page__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}
.kleoclub-page__login {
    margin-top: 18px;
    font-size: 14px;
    color: #888;
}
.kleoclub-page__login a {
    color: #1c1c1c;
    text-decoration: underline;
}
.kleoclub-page__member {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 25px 25px;
    border: 1px solid #e3e3e3;
    text-align: left;
}
.kleoclub-page__member-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}
.kleoclub-page__member .kleoclub-btn {
    display: block;
    margin-top: 15px;
}
.kleoclub-page__section {
    max-width: 720px;
    margin: 0 auto 35px;
}
.kleoclub-page__section h2 {
    margin-bottom: 15px;
}
.kleoclub-page__steps li {
    margin-bottom: 8px;
}
.kleoclub-page__note {
    padding: 12px 15px;
    background: #faf6ea;
    border-left: 3px solid #c9a227;
    font-size: 14px;
}
.kleoclub-page__faq {
    border-bottom: 1px solid #e3e3e3;
}
.kleoclub-page__faq summary {
    padding: 14px 30px 14px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
}
.kleoclub-page__faq summary::-webkit-details-marker {
    display: none;
}
.kleoclub-page__faq summary:after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 12px;
    font-size: 18px;
    font-weight: normal;
}
.kleoclub-page__faq[open] summary:after {
    content: '\2212';
}
.kleoclub-page__faq p {
    margin: 0 0 15px;
}
.kleoclub-page__steps {
    counter-reset: kleoclub-step;
    padding: 0;
}
.kleoclub-page__steps li {
    counter-increment: kleoclub-step;
    position: relative;
    padding-left: 38px;
    list-style: none;
}
.kleoclub-page__steps li:before {
    content: counter(kleoclub-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    background: #f89b93;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
