/* CHECKOUT COUPON STYLES FIX */

/* Приховуємо другий notices wrapper якщо є два поруч */
.woocommerce-notices-wrapper + .woocommerce-notices-wrapper {
    display: none !important;
}

/* Ціна товару без знижки має бути чорна */
.checkout-summary__item-price-current {
    color: #000 !important;
}

.checkout-summary__total-wrapper.has-coupons {
    border-top: 2px solid #F2F2F2;
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.checkout-summary__total-wrapper.no-coupons {
    margin-bottom: 20px;
}

.checkout-summary__coupons {
    margin-bottom: 12px;
}

.checkout-summary__coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.checkout-summary__coupon-applied span {
    font-size: 14px;
    font-weight: 300;
    color: #333;
}

.checkout-summary__coupon-applied strong {
    font-weight: 700;
    color: #000;
}

.checkout-summary__coupon-text {
    font-size: 14px;
    font-weight: 300;
    color: #333;
    line-height: 1.4;
}

.checkout-summary__coupon-text strong {
    font-weight: 700;
    color: #000;
}

.checkout-summary__coupon-remove {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #EB2F06;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.checkout-summary__coupon-remove:hover {
    opacity: 0.7;
}

.checkout-summary__coupon-remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkout-summary__totals {
    margin-bottom: 16px;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 300;
}

.checkout-summary__row:last-child {
    margin-bottom: 0;
}

.checkout-summary__row span:first-child {
    color: #666;
}

.checkout-summary__row span:last-child {
    color: #000;
    text-align: right;
}

.checkout-summary__row--discount span:first-child {
    color: #EB2F06;
}

.checkout-summary__row--discount span:last-child {
    color: #EB2F06;
    font-weight: 700;
}

.checkout-summary__row--discount span:last-child strong {
    font-weight: 700;
}

.checkout-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}
