/* =============================================
   Shipping Timeframes – Elementor Widget CSS
   Version: 1.0.0
   ============================================= */

/* Reset */
.stew-wrap *,
.stew-wrap *::before,
.stew-wrap *::after {
    box-sizing: border-box;
}

/* ── Container ──────────────────────────── */
.stew-wrap {
    width: 100%;
    max-width: 560px;
    font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

/* ── Eyebrow header ─────────────────────── */
.stew-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.stew-eyebrow-line {
    flex: 1;
    height: 0.5px;
    background: rgba(0, 0, 0, 0.15);
}

.stew-eyebrow-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888780;
    font-weight: 500;
}

/* ── Rows ───────────────────────────────── */
.stew-rows {
    display: flex;
    flex-direction: column;
}

.stew-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.10);
}

.stew-row:last-child {
    border-bottom: none;
}

/* ── Row Number ─────────────────────────── */
.stew-num {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 36px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.18);
    letter-spacing: 0.02em;
}

.stew-num--hidden {
    visibility: hidden;
}

/* ── Zone body ──────────────────────────── */
.stew-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.stew-zone-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stew-zone-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a18;
}

/* ── Progress track ─────────────────────── */
.stew-track {
    height: 3px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 99px;
    width: 100%;
    overflow: hidden;
}

.stew-fill {
    height: 3px;
    border-radius: 99px;
    width: 0;
}

/* Animated state */
.stew-fill--animate {
    animation: stew-grow var(--stew-bar-duration, 900ms) cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-play-state: paused; /* JS drives this */
}

.stew-fill--animate.stew-fill--running {
    animation-play-state: running;
}

@keyframes stew-grow {
    from { width: 0; }
    to   { width: var(--stew-bar-width, 50%); }
}

/* ── Right column (days) ────────────────── */
.stew-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    white-space: nowrap;
}

.stew-days {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 32px;
    line-height: 1;
    color: #1a1a18;
    letter-spacing: 0.03em;
}

.stew-unit {
    font-size: 11px;
    color: #888780;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
}

/* ── Status tags ────────────────────────── */
.stew-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1.4;
}

.stew-tag--fast    { background: #E1F5EE; color: #085041; }
.stew-tag--std     { background: #E6F1FB; color: #0C447C; }
.stew-tag--ext     { background: #FAECE7; color: #712B13; }
.stew-tag--custom  { /* colors set inline */ }

/* ── Footer note ────────────────────────── */
.stew-note {
    margin-top: 1.25rem;
    font-size: 12px;
    color: #888780;
    line-height: 1.65;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 480px) {
    .stew-row {
        grid-template-columns: 36px 1fr auto;
        gap: 12px;
    }

    .stew-num  { font-size: 28px; }
    .stew-days { font-size: 26px; }

    .stew-zone-name { font-size: 14px; }
}
