/* Made-to-order flow: the five steps, shown on the product page and on the
   confirmation page.  Same component both times, so the promise reads
   identically before and after ordering. */

.cflow {
    --cf-ink: #221e19;
    --cf-muted: #8b8377;
    --cf-hair: #ece4d7;
    --cf-field: #faf7f1;
    --cf-ok: #1f9d6b;
    --cf-ok-soft: #eef7f1;
    --cf-ok-line: #d7e9df;
    border: 1px solid var(--cf-hair);
    border-radius: 18px;
    background: var(--cf-field);
    padding: 20px 22px;
}

.cflow-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cflow-badge {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--cf-ink);
    padding: 4px 10px;
    border-radius: 999px;
}

.cflow-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cf-ink);
}

/* The reassurance sits above the steps: it is the question in the shopper's
   head, and answering it late means they never read the rest. */
.cflow-assure {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 14px 0 18px;
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--cf-ok-soft);
    border: 1px solid var(--cf-ok-line);
    color: #1a6b4c;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
}

.cflow-assure-mark {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cf-ok);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    margin-top: 1px;
}

.cflow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.cflow-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 16px;
    position: relative;
}

.cflow-steps li:last-child {
    padding-bottom: 0;
}

/* A hairline joining the numbers, so it reads as a sequence rather than a list.
   Drawn on the item instead of the container so the last one has no tail. */
.cflow-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 26px;
    bottom: 2px;
    width: 1px;
    background: var(--cf-hair);
}

.cflow-num {
    flex: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--cf-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cflow-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--cf-ink);
    padding-top: 3px;
}

.cflow-text strong {
    font-weight: 700;
}

.cflow-foot {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--cf-hair);
    font-size: 12px;
    line-height: 1.6;
    color: var(--cf-muted);
}

/* Roomier on its own page. */
.cflow-page {
    padding: 28px 30px;
    border-radius: 22px;
}

.cflow-page .cflow-title { font-size: 20px; }
.cflow-page .cflow-text { font-size: 14.5px; }
.cflow-page .cflow-assure { font-size: 14.5px; padding: 13px 16px; }

@media (max-width: 575.98px) {
    .cflow { padding: 17px 18px; }
    .cflow-page { padding: 20px; }
}
