/* Explain: Styles for site components like headers, buttons, cards, and track progress indicators. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.9), rgba(250, 249, 246, 0.58));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.8), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(70vh, 660px);
    min-height: 460px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 580px;
    max-width: 440px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.quiet-detail {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.4rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.9;
}

.category-card,
.product-card {
    min-height: 100%;
    border-radius: 2.2rem;
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.category-card:hover,
.product-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.4rem 1rem;
    color: var(--sage-dark);
    font-size: 0.78rem;
    font-weight: 600;
}

.contact-card {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.form-status {
    min-height: 1.4rem;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

.field-error {
    color: #9B4A3D;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.6;
}

.field-control-invalid {
    border-color: #9B4A3D !important;
    box-shadow: 0 0 0 2px rgba(155, 74, 61, 0.22) !important;
}

.rating-control-invalid {
    border-radius: 999px;
    background: rgba(155, 74, 61, 0.07);
    box-shadow: 0 0 0 2px rgba(155, 74, 61, 0.3);
    padding: 0.3rem 0.45rem;
}

.auth-tab {
    color: var(--text-muted);
}

.auth-tab.is-active {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: var(--shadow-button);
}

.info-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.1rem 1.2rem;
}

.info-row i {
    margin-top: 0.25rem;
    color: var(--accent-color);
}

.size-option.is-selected,
.color-option.is-selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.size-option.is-selected {
    background: var(--accent-color);
    color: #ffffff;
}

.filter-size-chip.is-selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.filter-color-chip.is-selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.filter-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--accent-color);
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.3rem 0.4rem 0.3rem 0.95rem;
    color: var(--sage-dark);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.6;
}

.filter-summary-dot {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    flex: 0 0 auto;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
}

.filter-summary-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 300ms ease, color 300ms ease;
}

.filter-summary-remove:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.filter-summary-remove:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.wishlist-button i {
    color: var(--text-muted);
    transition: color 300ms ease, transform 300ms ease;
}

.wishlist-button:hover i {
    transform: scale(1.12);
}

.wishlist-button.is-selected {
    border-color: var(--accent-color);
}

.wishlist-button.is-selected i {
    color: var(--accent-color);
}

.compare-button i {
    color: var(--text-muted);
    transition: color 300ms ease, transform 300ms ease;
}

.compare-button:hover i {
    transform: scale(1.12);
}

.compare-button.is-selected {
    border-color: var(--accent-color);
    background: var(--accent-color);
}

.compare-button.is-selected i {
    color: #ffffff;
}

.size-option.is-disabled {
    cursor: not-allowed;
    border-style: dashed;
    opacity: 0.45;
    text-decoration: line-through;
}

.size-option.is-disabled:hover {
    border-color: var(--glass-border);
}

.size-option.is-stock-out {
    border-style: dashed;
    color: var(--text-muted);
    text-decoration: line-through;
}

.size-option.is-stock-out.is-selected {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--accent-color);
    border-style: dashed;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.is-stock-disabled {
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.size-notice {
    min-height: 1.3rem;
    margin-top: 0.7rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.7;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.availability-badge.in {
    background: var(--sage-soft);
    color: var(--sage-dark);
}

.availability-badge.out {
    background: rgba(155, 74, 61, 0.14);
    color: #9B4A3D;
}

.availability-badge.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.offer-flag {
    position: absolute;
    top: 0.9rem;
    inset-inline-start: 0.9rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--accent-color);
    padding: 0.35rem 1rem;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(88, 129, 87, 0.35);
}

.na-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    padding: 0.6rem 1.5rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.na-tab:hover {
    border-color: var(--accent-color);
}

.na-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.na-tab.is-active {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: var(--shadow-button);
}

.na-tab-count {
    display: inline-flex;
    min-width: 1.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.1rem 0.5rem;
    color: var(--sage-dark);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
}

.na-tab.is-active .na-tab-count {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.blog-content p {
    margin-bottom: 1.1rem;
    line-height: 2.1;
}

.blog-content h3 {
    margin-top: 1.9rem;
    margin-bottom: 0.7rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.1rem;
    padding-inline-start: 1.5rem;
    list-style: disc;
}

.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 2;
}

.blog-content strong {
    color: var(--sage-dark);
    font-weight: 700;
}

.blog-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.5rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 440px;
        min-height: 0;
        max-width: 100%;
    }
}

.chat-bubble {
    max-width: 88%;
    border-radius: 1.2rem;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    line-height: 1.9;
    word-break: break-word;
}

.chat-bubble.user {
    align-self: flex-start;
    border-end-start-radius: 0.35rem;
    background: var(--accent-color);
    color: #ffffff;
}

.chat-bubble.bot {
    align-self: flex-end;
    border-end-end-radius: 0.35rem;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    color: var(--text-color);
}

.chat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.3rem 0.15rem 0.1rem;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.35rem 0.9rem;
    color: var(--sage-dark);
    font-size: 0.85rem;
    font-weight: 700;
    transition: background-color 300ms ease, color 300ms ease;
}

.chat-chip:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.chat-suggestion {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    padding: 0.45rem 1rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
    transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.chat-suggestion:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #ffffff;
}

.chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-typing span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--text-muted);
    animation: chatDot 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chatDot {
    0%, 60%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.track-progress {
    position: relative;
}

.track-progress-rail {
    position: absolute;
    top: 1.15rem;
    inset-inline: 12.5%;
    height: 3px;
    border-radius: 999px;
    background: var(--border-color);
}

.track-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--accent-color);
    transition: width 450ms ease;
}

.track-stages {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
}

.track-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.track-stage-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 2px solid var(--border-color);
    border-radius: 999px;
    background: var(--background-color);
    color: var(--text-muted);
    transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.track-stage-label {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
}

.track-stage.is-done .track-stage-dot {
    border-color: var(--accent-color);
    background: var(--sage-soft);
    color: var(--sage-dark);
}

.track-stage.is-done .track-stage-label {
    color: var(--text-color);
}

.track-stage.is-active .track-stage-dot {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 0 0 4px var(--sage-soft);
}

.track-stage.is-active .track-stage-label {
    color: var(--text-color);
}

.track-stage.is-upcoming .track-stage-dot {
    border-style: dashed;
    opacity: 0.6;
}

.track-stage.is-upcoming .track-stage-label {
    opacity: 0.55;
}

.track-live-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--accent-color);
    animation: trackPulse 1.8s ease-in-out infinite;
}

@keyframes trackPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--sage-soft);
    }

    50% {
        opacity: 0.55;
        box-shadow: 0 0 0 4px var(--sage-soft);
    }
}

.offer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.offer-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    padding: 0.35rem 0.95rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 700;
}

.offer-countdown i {
    color: var(--accent-color);
}

.offer-countdown-label {
    color: var(--text-muted);
    font-weight: 600;
}

.offer-countdown [data-offer-timer] {
    font-variant-numeric: tabular-nums;
}

.offer-meta.is-ended .offer-countdown i {
    color: #9B4A3D;
}

.offer-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: rgba(155, 74, 61, 0.14);
    padding: 0.35rem 0.9rem;
    color: #9B4A3D;
    font-size: 0.78rem;
    font-weight: 700;
}

.voice-search-button.is-recording {
    color: #9B4A3D;
}

.voice-search-button.is-recording i {
    animation: voiceSearchPulse 1.1s ease-in-out infinite;
}

@keyframes voiceSearchPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.22);
    }
}

.voice-search-toast {
    position: fixed;
    left: 50%;
    top: 5.5rem;
    z-index: 120;
    display: none;
    max-width: min(92vw, 26rem);
    transform: translateX(-50%);
    border-radius: 1.2rem;
    padding: 0.7rem 1.4rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.7;
    box-shadow: 0 18px 44px rgba(31, 46, 35, 0.3);
}

.voice-search-toast.is-info {
    background: var(--sage-dark);
    color: #ffffff;
}

.voice-search-toast.is-error {
    background: #9B4A3D;
    color: #ffffff;
}

.voice-search-toast.is-success {
    background: var(--accent-color);
    color: #ffffff;
}

.tier-card {
    transition: border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.tier-card.is-achieved {
    border-color: var(--accent-color);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonials-swiper .swiper-pagination {
    position: static;
    display: inline-flex;
    width: auto;
    align-items: center;
    gap: 0.45rem;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 !important;
    background: var(--border-color);
    opacity: 1;
    transition: width 300ms ease, background-color 300ms ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    width: 1.5rem;
    border-radius: 999px;
    background: var(--accent-color);
}

.testimonials-swiper .swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.testimonials-swiper.is-fallback .swiper-wrapper {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
}

.testimonials-swiper.is-fallback .swiper-slide {
    flex: 0 0 auto;
    width: 85%;
    height: auto;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .testimonials-swiper.is-fallback .swiper-slide {
        width: 48%;
    }
}

@media (min-width: 1024px) {
    .testimonials-swiper.is-fallback .swiper-slide {
        width: 32%;
    }
}

.testimonial-quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.cart-total-flash {
    animation: cartTotalFlash 750ms ease;
}

@keyframes cartTotalFlash {
    0% {
        transform: scale(1);
        color: var(--primary-color);
    }

    40% {
        transform: scale(1.1);
        color: var(--sage-dark);
    }

    100% {
        transform: scale(1);
        color: var(--primary-color);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-total-flash {
        animation: none;
    }
}

#navOverlay nav a.nav-link-current {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: var(--shadow-button);
}

#navOverlay nav a.nav-link-current i {
    color: #ffffff;
}

#navOverlay nav a.nav-link-current:hover {
    color: #ffffff;
}

.blog-article {
    width: 100%;
    max-width: 45rem;
}

.blog-content {
    font-size: 1.0625rem;
    line-height: 2.15;
}

.blog-toc {
    margin-bottom: 2.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--surface-color);
    padding: 1.3rem 1.5rem;
}

.blog-toc-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.9rem;
    color: var(--sage-dark);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.blog-toc-title i {
    color: var(--accent-color);
}

.blog-toc-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-inline-start: 1.25rem;
    list-style: disc;
}

.blog-toc-link {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.85;
    transition: color 300ms ease;
}

.blog-toc-link:hover,
.blog-toc-link:focus-visible {
    color: var(--accent-color);
    text-decoration: underline;
}

.checkout-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
}

.checkout-step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: inherit;
    text-decoration: none;
    transition: color 300ms ease;
}

.checkout-step-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 2px solid var(--border-color);
    border-radius: 999px;
    background: var(--background-color);
    color: var(--text-muted);
    transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.checkout-step-label {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
}

.checkout-step.is-done .checkout-step-dot {
    border-color: var(--accent-color);
    background: var(--sage-soft);
    color: var(--sage-dark);
}

.checkout-step.is-done .checkout-step-label {
    color: var(--text-color);
}

.checkout-step-link:hover .checkout-step-dot {
    border-color: var(--accent-color);
}

.checkout-step.is-active .checkout-step-dot {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 0 0 4px var(--sage-soft);
}

.checkout-step.is-active .checkout-step-label {
    color: var(--text-color);
}

/* ============================================================
   Dark theme overrides (lime accent on charcoal)
   ============================================================ */

.site-header {
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.62));
}

.glass-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.arch-frame {
    border-color: rgba(201, 249, 77, 0.32);
}

.arch-frame::after {
    border-color: rgba(255, 255, 255, 0.2);
}

.quiet-detail,
.info-row {
    background: rgba(255, 255, 255, 0.04);
}

.category-card:hover,
.product-card:hover {
    border-color: rgba(201, 249, 77, 0.45);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

.form-status.success {
    color: #c9f94d;
}

.form-status.error,
.field-error {
    color: #ff8a80;
}

.field-control-invalid {
    border-color: #ff8a80 !important;
    box-shadow: 0 0 0 2px rgba(255, 138, 128, 0.25) !important;
}

.rating-control-invalid {
    background: rgba(255, 138, 128, 0.1);
    box-shadow: 0 0 0 2px rgba(255, 138, 128, 0.35);
}

.availability-badge.out,
.offer-soon-badge {
    background: rgba(255, 138, 128, 0.16);
    color: #ff8a80;
}

.offer-meta.is-ended .offer-countdown i,
.voice-search-button.is-recording {
    color: #ff8a80;
}

.offer-flag,
.na-tab.is-active,
.auth-tab.is-active,
.size-option.is-selected,
.filter-size-chip.is-selected,
.chat-bubble.user,
.chat-chip:hover,
.chat-suggestion:hover,
.voice-search-toast.is-success,
.voice-search-toast.is-info,
.filter-summary-remove:hover,
.compare-button.is-selected i,
.track-stage.is-active .track-stage-dot,
.checkout-step.is-active .checkout-step-dot {
    color: #0b0f10;
}

.na-tab.is-active .na-tab-count {
    background: rgba(11, 15, 16, 0.16);
    color: #0b0f10;
}

#navOverlay nav a.nav-link-current,
#navOverlay nav a.nav-link-current:hover,
#navOverlay nav a.nav-link-current i {
    color: #0b0f10;
}

/* Lime-filled utility classes used across the markup (buttons, badges, active tabs) */
[class~="bg-[var(--accent-color)]"],
[class~="bg-[var(--button-color)]"],
[class~="bg-[var(--primary-color)]"] {
    color: var(--on-accent-color) !important;
}

.track-status-flash {
    animation: trackStatusFlash 1.7s ease;
}

@keyframes trackStatusFlash {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--sage-soft);
    }

    35% {
        transform: scale(1.06);
        box-shadow: 0 0 0 7px var(--sage-soft);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 transparent;
    }
}

.track-stage.is-active .track-stage-dot {
    animation: trackStagePulse 2.2s ease-in-out infinite;
}

@keyframes trackStagePulse {
    0%, 100% {
        box-shadow: 0 0 0 4px var(--sage-soft);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(201, 249, 77, 0.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .track-status-flash,
    .track-stage.is-active .track-stage-dot {
        animation: none;
    }
}