﻿.price-range-holder {
    position: relative;
    width: 92%;
}

.price-range {
    text-align: center;
    position: absolute;
    right: 0;
    width: 37%;
    padding: 10px 0 0 0;
    z-index: 99;
}

.category-how-it-work {
    background-color: var(--grey-2);
    font-size: 16px;
    padding: 10px 0 20px;
}
    .category-how-it-work img {
        height: 70px;
        margin: 0 0 20px 0;
    }
.category-how-it-work-title {
    font-weight: bold;
    margin: 0 0 15px 0;
}

.category-how-it-work-content.category-container {
    margin-top: 15px;
}

    .category-how-it-work-content .row {
    margin-right: 0;
    margin-left: 0;
}


@media screen and (max-width: 768px) {
    .category-how-it-work-title {
         margin: 0 0 0 0;
    }
    .category-how-it-work-item {
        margin: 30px 0 15px 0;
    }
}
@media screen and (max-width: 576px) {
    .price-range-holder {
        width: 100%;
    }
}

/* ================================================================ */
/* Ported from legacy portals Task #2060 — "View Price Range" must   */
/* not resize the category hero. The link keeps its intrinsic height */
/* in flow (sets the holder's height); the toggled min–max + avg     */
/* lines are absolutely positioned underneath so revealing them      */
/* never grows col1 and pushes the coloured hero taller.             */
/* Applies to .rfq-white-container.new-wash (the hero band).         */
/* ================================================================ */
.rfq-white-container.new-wash .price-range {
    position: relative;
}

.rfq-white-container.new-wash .price-range > .jsPriceRangeView {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    /* Explicit so the nth-of-type offsets below stay exact */
    font-size: 13px;
    line-height: 18px;
}

.rfq-white-container.new-wash .price-range > .jsPriceRangeView:nth-of-type(1) {
    top: 100%;
}

.rfq-white-container.new-wash .price-range > .jsPriceRangeView:nth-of-type(2) {
    top: calc(100% + 18px);
}

/* Desktop absorbs the overflowing lines in the hero's bottom padding. Stacked layout has no
   bottom padding and the image sits directly below, so reserve the two lines' height (2 × 18px)
   to avoid overlapping it. */
@media (max-width: 750px) {
    .rfq-white-container.new-wash .price-range-holder {
        padding-bottom: 36px;
    }
}

/* "How X works" numbered steps — the 1/2/3 inside each circle. Brand look: mint-green
   filled circle with a mint-green border, and the digit rendered in charcoal so it stays
   legible against the mint fill (the label underneath is also #434343 for consistency).
   Selector matches category-rfq-cro.min.css's specificity so this override wins. */
.category-how-it-work-item .how-step__number {
    color: #434343;
    background: #83FFC1;
    border-color: #83FFC1;
}
