/* Second-hand phone request — responsive */
.shr-wrap {
    --shr-accent: var(--primary-color, #33a601);
    --shr-ink: #14181f;
    --shr-muted: #667085;
    --shr-line: #e6e9ef;
    --shr-soft: #f5f7fb;
    --shr-glow: color-mix(in srgb, var(--shr-accent) 14%, #fff);
    color: var(--shr-ink);
    overflow-x: clip;
}

.shr-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1rem 0 2.5rem;
}

@media (min-width: 992px) {
    .shr-shell { padding: 1.4rem 0 3rem; }
}

.shr-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--shr-accent);
    margin-bottom: .5rem;
}

.shr-kicker::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--shr-accent);
    box-shadow: 0 0 0 4px var(--shr-glow);
}

.shr-hero {
    background:
        radial-gradient(700px 240px at 10% -20%, var(--shr-glow), transparent 55%),
        linear-gradient(160deg, #f7fff4 0%, #fff 55%, #f5f8ff 100%);
    border: 1px solid var(--shr-line);
    border-radius: 20px;
    padding: 1.25rem 1.1rem;
    margin-bottom: 1.15rem;
}

@media (min-width: 768px) {
    .shr-hero { padding: 1.75rem 1.7rem; }
}

.shr-hero h1 {
    font-size: clamp(1.45rem, 4vw, 2.3rem);
    margin: 0 0 .5rem;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.shr-hero p {
    color: var(--shr-muted);
    max-width: 40rem;
    margin: 0 0 1rem;
    font-size: clamp(.94rem, 2.4vw, 1.05rem);
}

.shr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.shr-actions .btn {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 700;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}

@media (max-width: 479px) {
    .shr-actions .btn { width: 100%; }
}

.shr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1rem;
}

.shr-chip {
    background: #fff;
    border: 1px solid var(--shr-line);
    border-radius: 999px;
    padding: .28rem .7rem;
    font-size: .78rem;
    color: var(--shr-muted);
    font-weight: 600;
}

.shr-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .shr-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shr-feature {
    background: #fff;
    border: 1px solid var(--shr-line);
    border-radius: 16px;
    padding: 1rem;
}

.shr-feature h3 { font-size: .98rem; margin: 0 0 .3rem; }
.shr-feature p { margin: 0; color: var(--shr-muted); font-size: .88rem; }

.shr-form-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
}

.shr-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .4rem;
    margin-bottom: 1.1rem;
}

.shr-progress .bar {
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    margin-bottom: .35rem;
}

.shr-progress .is-active .bar,
.shr-progress .is-done .bar { background: var(--shr-accent); }

.shr-progress span {
    display: block;
    text-align: center;
    font-size: .7rem;
    font-weight: 650;
    color: var(--shr-muted);
}

@media (max-width: 575px) {
    .shr-progress span { font-size: .62rem; }
}

.shr-progress .is-active span { color: var(--shr-accent); }

.shr-panel {
    background: #fff;
    border: 1px solid var(--shr-line);
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
}

.shr-panel h2 {
    font-size: 1.02rem;
    margin: 0 0 .2rem;
}

.shr-panel-sub {
    color: var(--shr-muted);
    font-size: .86rem;
    margin: 0 0 .9rem;
}

.shr-step { display: none; }
.shr-step.is-active { display: block; animation: shrFade .25s ease; }

@keyframes shrFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.shr-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}

@media (min-width: 768px) {
    .shr-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shr-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shr-span-2 { grid-column: span 2; }
    .shr-span-3 { grid-column: span 3; }
}

.shr-wrap .form-label {
    font-size: .84rem;
    font-weight: 650;
    margin-bottom: .3rem;
}

.shr-wrap .form-control,
.shr-wrap .form-select {
    min-height: 46px;
    border-radius: 12px;
    font-size: 16px;
}

.shr-wrap textarea.form-control { min-height: auto; }

.shr-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

@media (min-width: 768px) {
    .shr-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .shr-choice-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.shr-choice {
    position: relative;
    border: 1px solid var(--shr-line);
    border-radius: 12px;
    padding: .7rem .75rem;
    margin: 0;
    cursor: pointer;
    background: #fff;
    min-width: 0;
}

.shr-choice.is-selected {
    border-color: var(--shr-accent);
    background: var(--shr-glow);
    box-shadow: 0 0 0 1px var(--shr-accent);
}

.shr-choice input { position: absolute; opacity: 0; pointer-events: none; }
.shr-choice strong { display: block; font-size: .86rem; line-height: 1.25; word-break: break-word; }
.shr-choice small { display: block; color: var(--shr-muted); font-size: .72rem; margin-top: .15rem; }

.shr-flag-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.shr-flag {
    border: 1px solid var(--shr-line);
    border-radius: 999px;
    padding: .4rem .8rem;
    font-size: .82rem;
    font-weight: 560;
    background: #fff;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.shr-flag:has(input:checked) {
    border-color: var(--shr-accent);
    background: var(--shr-glow);
}

.shr-exchange { display: none; }
.shr-exchange.is-open { display: block; }

.shr-emi { display: none; }
.shr-emi.is-open { display: block; }

.shr-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .35rem;
}

.shr-nav .btn {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 700;
}

@media (max-width: 575px) {
    .shr-nav .btn { width: 100%; }
}

.shr-alert {
    border-radius: 14px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    font-size: .92rem;
}

.shr-alert-danger { background: #fff1f1; border: 1px solid #fecaca; color: #991b1b; }
.shr-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.shr-alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.shr-alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

.shr-ticket {
    display: inline-block;
    background: var(--shr-soft);
    border: 1.5px dashed color-mix(in srgb, var(--shr-accent) 35%, #d0d5dd);
    border-radius: 12px;
    padding: .6rem 1rem;
    font-weight: 800;
    letter-spacing: .03em;
    margin: .65rem 0;
}

.shr-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shr-timeline li {
    position: relative;
    padding: 0 0 1.1rem 1.25rem;
    border-left: 2px solid #e5e7eb;
}

.shr-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }

.shr-timeline li:before {
    content: '';
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2.5px solid var(--shr-accent);
    background: #fff;
    position: absolute;
    left: -6.5px;
    top: .3rem;
    box-shadow: 0 0 0 4px var(--shr-glow);
}

.shr-timeline li.is-latest:before { background: var(--shr-accent); }

.shr-timeline .time { font-size: .76rem; color: var(--shr-muted); }
.shr-timeline .title { font-weight: 750; margin: .1rem 0; }
.shr-timeline .msg { color: #475467; font-size: .88rem; }

.shr-kpi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .shr-kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.shr-kpi .item {
    background: var(--shr-soft);
    border: 1px solid var(--shr-line);
    border-radius: 12px;
    padding: .75rem;
}

.shr-kpi .l { font-size: .7rem; text-transform: uppercase; color: var(--shr-muted); font-weight: 650; }
.shr-kpi .v { font-weight: 750; margin-top: .15rem; word-break: break-word; }

.shr-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 992px) {
    .shr-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

.shr-offer {
    border: 1px solid var(--shr-line);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: .75rem;
    background: #fff;
}

.shr-offer.is-sent {
    border-color: color-mix(in srgb, var(--shr-accent) 45%, #e6e9ef);
    background: linear-gradient(180deg, var(--shr-glow), #fff 60%);
}

.shr-thanks {
    max-width: 640px;
    margin: 1rem auto 0;
    text-align: center;
    padding: 2rem 1.25rem;
    border: 1px solid var(--shr-line);
    border-radius: 20px;
    background: radial-gradient(500px 180px at 50% -20%, var(--shr-glow), transparent 60%), #fff;
}

.shr-thanks .check {
    width: 56px;
    height: 56px;
    margin: 0 auto .8rem;
    border-radius: 50%;
    background: var(--shr-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .shr-step { animation: none; }
}
