/* ShopCMS category promotions. All selectors are isolated by scpromo- prefix. */
.scpromo-category-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 12px 0 14px;
    padding: 12px 18px;
    border: 1px solid #e7b26d;
    background: #fff8ed;
    border-radius: 8px;
    font-size: 20px;
    line-height: 28px;
    box-sizing: border-box;
}

.scpromo-category-strip__badge,
.scpromo-product-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 14px;
    background: #f75200;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
}

.scpromo-category-strip__countdown,
.scpromo-product-countdown {
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    font-size: 20px;
    line-height: 26px;
    white-space: nowrap;
}

.scpromo-category-strip__until,
.scpromo-product-until {
    color: #777;
    font-size: 17px;
    white-space: nowrap;
    text-align: center;
}

.scpromo-category-marker {
    display: inline-block;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 7px;
    background: #f75200;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    line-height: 15px;
    vertical-align: 1px;
    white-space: nowrap;
}

.scpromo-product-old-price {
    color: #707070;
    text-decoration: line-through;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    white-space: nowrap;
}

.product-buy-box .product-buy-old-price {
    color: #707070;
    text-decoration: line-through;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
}

.scpromo-product-box {
    display: inline-block;
    white-space: nowrap;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid #f1c38f;
    background: #fff8ed;
    border-radius: 10px;
}

.scpromo-product-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 18px;
    line-height: 24px;
}

.scpromo-product-meta__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.scpromo-product-meta__row--sub {
    gap: 6px;
}

.product-buy-box .scpromo-product-box {
    margin-top: 12px;
    margin-bottom: 12px;
}

.scpromo-product-card-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 10px;
    border-radius: 10px;
    background: #f75200;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 20px;
    white-space: nowrap;
}

.scpromo-product-box .scpromo-product-badge {
    font-size: 17px;
    line-height: 23px;
}

.scpromo-product-box .scpromo-product-countdown {
    font-size: 19px;
    line-height: 25px;
}

.scpromo-price-compact {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin: 0 0 7px;
    white-space: nowrap;
}

.product-buy-box .scpromo-price-compact__label {
    display: inline;
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    line-height: 21px;
}

.product-buy-box .scpromo-price-compact__current {
    display: inline;
    margin: 0;
    font-size: 21px;
    line-height: 21px;
    text-align: left;
}

.scpromo-price-compact__slash {
    color: #777;
    font-size: 17px;
    font-weight: bold;
    line-height: 21px;
}

.product-buy-box .scpromo-price-compact__old {
    display: inline;
    margin: 0;
    color: #707070;
    font-size: 15px;
    font-weight: bold;
    line-height: 18px;
    text-align: left;
}

.scpromo-quick-price__slash {
    color: #777;
    font-size: 15px;
    font-weight: bold;
}

.scpromo-quick-price__old {
    font-size: 15px;
    font-weight: bold;
}


.scpromo-brief-price-line {
    white-space: nowrap;
    text-align: right;
    line-height: 22px;
}

.scpromo-brief-price-current {
    font-size: 21px;
    font-weight: bold;
}

.scpromo-brief-price-slash {
    margin: 0 3px;
    color: #777;
    font-size: 15px;
    font-weight: bold;
}

.scpromo-brief-price-old {
    color: #707070;
    font-size: 15px;
    font-weight: bold;
    text-decoration: line-through;
}

.scpromo-brief-badge-row {
    padding-top: 3px;
    text-align: center;
}

.scpromo-brief-badge-row .scpromo-product-card-badge {
    margin-top: 0;
    padding: 1px 9px;
    font-size: 12px;
    line-height: 18px;
}

@media (max-width: 900px) {
    .scpromo-category-strip {
        gap: 10px;
        padding: 10px 12px;
        font-size: 16px;
        line-height: 22px;
        flex-wrap: wrap;
    }

    .scpromo-category-strip__badge,
    .scpromo-product-badge {
        font-size: 15px;
        line-height: 20px;
    }

    .scpromo-category-strip__countdown,
    .scpromo-product-countdown {
        font-size: 16px;
        line-height: 20px;
    }

    .scpromo-category-strip__until,
    .scpromo-product-until {
        font-size: 14px;
    }

    .scpromo-product-box {
        padding: 8px 10px;
    }

    .product-buy-box .scpromo-price-compact__label {
        font-size: 15px;
        line-height: 19px;
    }

    .product-buy-box .scpromo-price-compact__current {
        font-size: 19px;
        line-height: 19px;
    }

    .scpromo-price-compact__slash {
        font-size: 15px;
        line-height: 19px;
    }

    .product-buy-box .scpromo-price-compact__old {
        font-size: 13px;
        line-height: 15px;
    }

    .scpromo-product-box .scpromo-product-badge {
        font-size: 14px;
        line-height: 19px;
    }

    .scpromo-product-box .scpromo-product-countdown {
        font-size: 15px;
        line-height: 19px;
    }
}

@media (max-width: 640px) {
    .scpromo-category-strip {
        gap: 6px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .scpromo-category-strip__badge,
    .scpromo-product-badge {
        font-size: 13px;
        line-height: 18px;
    }

    .scpromo-category-strip__countdown,
    .scpromo-product-countdown {
        font-size: 14px;
        line-height: 18px;
    }

    .scpromo-category-strip__until,
    .scpromo-product-until,
    .scpromo-product-old-price,
    .product-buy-box .product-buy-old-price {
        font-size: 12px;
    }

    .scpromo-product-box {
        padding: 7px 8px;
    }

    .scpromo-product-box .scpromo-product-badge {
        font-size: 12px;
        line-height: 17px;
    }

    .scpromo-product-box .scpromo-product-countdown {
        font-size: 13px;
        line-height: 17px;
    }
}

.scpromo-action-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.scpromo-action-row .product-buy-form {
    flex: 1 1 auto;
    margin: 0;
}

.scpromo-action-row .product-buy-controls {
    margin: 0;
}

.scpromo-action-row .product-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
}

.scpromo-favorite-wrap {
    flex: 0 0 auto;
    margin: 0;
}

.scpromo-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #cc6000;
    border-radius: 8px;
    background: #fff7ec;
    text-decoration: none;
    box-sizing: border-box;
}

.scpromo-favorite-btn:hover {
    text-decoration: none;
}

.scpromo-favorite-heart {
    display: inline-block;
    font-size: 24px;
    line-height: 24px;
    color: #cc6000;
}

.scpromo-favorite-text {
    display: none;
}

.scpromo-action-row + .product-compare-link {
    display: block;
    margin-top: 6px;
}

@media (max-width: 640px) {
    .scpromo-action-row {
        gap: 6px;
    }

    .scpromo-favorite-btn {
        width: 38px;
        height: 38px;
    }

    .scpromo-favorite-heart {
        font-size: 21px;
        line-height: 21px;
    }
}


/* v2.11: compact horizontal cart + favorite controls */
.scpromo-action-row {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 10px 0 !important;
}

.scpromo-action-row .product-buy-form {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.scpromo-action-row .product-buy-controls {
    width: 100% !important;
    margin: 0 !important;
}

.scpromo-action-row .product-cart-btn {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
}

.scpromo-action-row .scpromo-favorite-wrap {
    flex: 0 0 44px !important;
    width: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center !important;
}

.scpromo-action-row .scpromo-favorite-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #b55300 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, #f18820 0%, #cc6000 100%) !important;
    box-shadow: 0 2px 5px rgba(130, 60, 0, .22) !important;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.scpromo-action-row .scpromo-favorite-btn:hover {
    background: linear-gradient(180deg, #ff9d39 0%, #d96a08 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.scpromo-action-row .scpromo-favorite-heart {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: Arial, Tahoma, sans-serif !important;
    font-size: 26px !important;
    font-weight: normal !important;
    line-height: 1 !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.18) !important;
}

.scpromo-action-row .scpromo-favorite-text {
    display: none !important;
}

@media screen and (max-width: 640px) {
    .scpromo-action-row .scpromo-favorite-wrap,
    .scpromo-action-row .scpromo-favorite-btn {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .scpromo-action-row .scpromo-favorite-heart {
        font-size: 23px !important;
    }
}


/* v2.12: browser-independent SVG favorite icon */
.scpromo-action-row .scpromo-favorite-heart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-shadow: none !important;
}

.scpromo-action-row .scpromo-favorite-heart-svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    overflow: visible !important;
}

.scpromo-action-row .scpromo-favorite-heart-outline {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

.scpromo-action-row .scpromo-favorite-heart-fill {
    display: none;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
}

.scpromo-action-row .scpromo-favorite-btn--active .scpromo-favorite-heart-outline {
    display: none;
}

.scpromo-action-row .scpromo-favorite-btn--active .scpromo-favorite-heart-fill {
    display: block;
}

@media screen and (max-width: 640px) {
    .scpromo-action-row .scpromo-favorite-heart {
        width: 23px !important;
        height: 23px !important;
    }

    .scpromo-action-row .scpromo-favorite-heart-svg {
        width: 21px !important;
        height: 21px !important;
    }
}
