/* Moumachi UI — home page/component styles extracted from the original output.css. */
@media (max-width: 1023.98px) {
    #heroHomepage {
        min-height: 80vh !important;
        min-height: 80dvh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

#heroHomepage {
    position: relative !important;
    z-index: 40 !important;
    overflow: visible !important;
}

#heroHomepage.is-search-active,
#heroHomepage:has(.hero-search.is-open) {
    z-index: 45 !important;
}

#heroHomepage .banner-wrapper {
    overflow: hidden;
}

#heroHomepage .container {
    position: relative;
    z-index: 20;
}

.hero-search {
    position: relative;
    z-index: 30;
}

.hero-search.is-open {
    z-index: 60;
}

.hero-search-panel {
    text-align: left;
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

@media (min-width: 768px) {
    .hero-search-panel {
        top: calc(100% + 4px);
        border-radius: 24px;
    }
}

.hero-search.is-open .hero-search-panel,
[data-hero-search].is-open .hero-search-panel {
    display: block;
}

.hero-search-clear[hidden] {
    display: none !important;
}

.hero-suggestion-item {
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.hero-suggestion-logo {
    border-radius: 18px !important;
    overflow: hidden !important;
}

@media (min-width: 768px) {
    .hero-suggestion-logo {
        border-radius: 20px !important;
    }
}

.hero-suggestion-logo img {
    border-radius: inherit !important;
    object-fit: cover !important;
}

.hero-suggestion-item.is-active,
.hero-suggestion-item:hover,
.hero-suggestion-row.is-active,
.hero-suggestion-row:hover {
    background-color: #f8fafc;
}


.hero-search-results-list {
    max-height: 480px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hero-search-results-list::-webkit-scrollbar {
    width: 6px;
}
.hero-search-results-list::-webkit-scrollbar-track {
    background: transparent;
}
.hero-search-results-list::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 9999px;
}
.hero-search-results-list::-webkit-scrollbar-thumb:hover {
    background-color: #cbd5e1;
}


[data-swiper] {
    width: 100%;
    overflow: hidden;
    padding: 24px 0px;
}

    [data-swiper] .swiper-wrapper {
        align-items: stretch
    }

    [data-swiper] .swiper-slide {
        box-sizing: border-box;
        height: auto
    }

main:has(+#appDownloadCta) .homepage-help-overlap,
main:has(#appDownloadCta) .homepage-help-overlap {
    padding-bottom: 48.5rem
}

.app-cta-overlap {
    margin-top: -45rem;
    margin-bottom: -10rem
}

@media (min-width:640px) {
    main:has(+#appDownloadCta) .homepage-help-overlap,
    main:has(#appDownloadCta) .homepage-help-overlap {
        padding-bottom: 22rem
    }

    .app-cta-overlap {
        margin-top: -16rem;
        margin-bottom: -16rem
    }
}

@media (min-width:1024px) {
    main:has(+#appDownloadCta) .homepage-help-overlap,
    main:has(#appDownloadCta) .homepage-help-overlap {
        padding-bottom: 35rem
    }

    .app-cta-overlap {
        margin-top: -27rem;
        margin-bottom: -25rem
    }
}

/* ── Custom Location Permission Modal ──────────────────────────────────────── */
.location-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .location-modal-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .location-modal-backdrop[hidden] {
        display: none;
    }

.location-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-modal-backdrop.is-visible .location-modal-card {
    transform: scale(1) translateY(0);
}

.location-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .location-modal-close:hover {
        background: #e5e7eb;
        color: #111827;
    }

.location-modal-icon-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-modal-icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.28);
    animation: locationPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes locationPulse {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.15;
    }
}

.location-modal-icon {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff8e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}

.location-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.location-modal-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.location-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-location-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-location-secondary:hover {
        background: #f9fafb;
        color: #111827;
        border-color: #d1d5db;
    }

/* ── Listing Card Skeleton Loader ─────────────────────────────────────────── */
.listing-card-skeleton {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    height: 100%;
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ── Featured Businesses (Premium / Modern / Slick Showcase) ─────────────── */
.featured-businesses-sec {
    position: relative;
    background: linear-gradient(180deg, #FDFBF7 0%, #FAF6EE 50%, #FFFFFF 100%) !important;
    border-top: 1px solid rgba(245, 158, 11, 0.16);
    border-bottom: 1px solid rgba(245, 158, 11, 0.16);
    padding-top: 4.5rem !important;
    padding-bottom: 5rem !important;
}

    .featured-businesses-sec::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1200px;
        height: 380px;
        background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.10) 0%, rgba(251, 191, 36, 0.04) 50%, transparent 75%);
        pointer-events: none;
        z-index: 0;
    }

@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotateBorderGlow {
    0% {
        --border-angle: 0deg;
    }

    100% {
        --border-angle: 360deg;
    }
}

#featuredBusinesses .swiper-slide.group {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

    /* Thin circling glowing animated border around the card perimeter */
    #featuredBusinesses .swiper-slide.group::after {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: 20px;
        padding: 1.5px;
        background: conic-gradient( from var(--border-angle), transparent 0deg, transparent 220deg, rgba(245, 158, 11, 0.15) 260deg, rgba(245, 158, 11, 0.55) 295deg, #fbbf24 330deg, #f59e0b 355deg, transparent 360deg );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: rotateBorderGlow 3.5s linear infinite;
        pointer-events: none;
        z-index: 25;
    }

    #featuredBusinesses .swiper-slide.group:hover {
        box-shadow: 0 8px 26px -2px rgba(0, 0, 0, 0.09);
    }

/* ── How Moumachi Can Help You (Pixel-Perfect Showcase) ────────────── */
#howMoumachiHelps {
    background: #06090F !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 28px !important;
    padding: 3.5rem 1.5rem !important;
    color: #FFFFFF !important;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    #howMoumachiHelps {
        padding: 4.5rem 2.5rem !important;
        border-radius: 32px !important;
    }
}

.how-helps-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.how-helps-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .how-helps-title {
        font-size: 48px;
    }
}

.how-helps-title .brand-gold {
    color: #FBBF24;
}

.how-helps-subtitle {
    font-size: 16px;
    color: #9CA3AF;
    max-width: 46rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tabs Switcher */
.how-helps-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2.75rem;
}

.how-helps-tabs {
    display: inline-flex;
    align-items: center;
    background: #0E1524;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 5px;
}

.how-helps-tab-btn {
    padding: 10px 28px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    color: #D1D5DB;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.how-helps-tab-btn:hover {
    color: #FFFFFF;
}

.how-helps-tab-btn.active,
.how-helps-tab-btn[aria-selected="true"] {
    background: #FBBF24 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.how-helps-tab-btn[aria-selected="false"] {
    background: transparent !important;
    color: #D1D5DB !important;
    font-weight: 500 !important;
}

/* Grid */
.how-helps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.how-helps-grid[hidden] {
    display: none !important;
}

@media (min-width: 1024px) {
    .how-helps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Card */
.help-card {
    background: #080D18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.help-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.65), 0 0 20px -4px rgba(245, 158, 11, 0.1);
}

/* Card Header (Text + 3D Illustration) */
.help-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.875rem;
}

.help-card-text {
    flex: 1;
    min-width: 0;
}

.help-step-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 9999px;
    border: 1px solid #F59E0B;
    color: #FBBF24;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
    background: transparent;
}

.help-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.help-card-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #94A3B8;
    margin: 0;
}

.help-card-illustration {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1280px) {
    .help-card-illustration {
        width: 104px;
        height: 104px;
    }
}

.help-card-illustration img {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    object-fit: contain !important;
    display: block;
}

@media (min-width: 1280px) {
    .help-card-illustration img {
        width: 104px !important;
        height: 104px !important;
        max-width: 104px !important;
        max-height: 104px !important;
    }
}

/* Bottom Canvas */
.help-card-canvas {
    background: #0B111D;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 165px;
    justify-content: center;
    box-sizing: border-box;
}

/* Search input mockup */
.help-mock-search {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: #121927;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 16px;
    color: #6B7280;
}

.help-mock-search svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #9CA3AF;
}

.help-mock-search span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chips */
.help-chips-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.help-chips-row::-webkit-scrollbar {
    display: none;
}

.help-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    background: #121927;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #D1D5DB;
}

.help-chip svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.help-chip.active {
    background: rgba(245, 158, 11, 0.12);
    border-color: #F59E0B;
    color: #FBBF24;
    font-weight: 600;
}

/* Preview Listing */
.help-preview-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #121927;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 10px;
}

.help-thumb-img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block;
}

.help-preview-info {
    min-width: 0;
    flex: 1;
}

.help-preview-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.help-preview-meta {
    font-size: 15px;
    color: #9CA3AF;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.help-badge-open {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
}

/* Profile snippet in Step 2 */
.help-profile-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #94A3B8;
}

.help-review-box {
    background: #121927;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 16px;
}

.help-review-text {
    color: #D1D5DB;
    font-size: 16px;
    font-style: italic;
    margin: 0 0 4px 0;
    line-height: 1.45;
}

.help-review-author {
    color: #9CA3AF;
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Action Rows in Step 3 */
.help-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #121927;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.help-action-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-action-left svg {
    width: 18px;
    height: 18px;
    color: #E2E8F0;
    flex-shrink: 0;
}

.help-action-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94A3B8;
    font-size: 15px;
    font-family: monospace;
}

.help-action-chevron {
    width: 16px;
    height: 16px;
    color: #64748B;
    flex-shrink: 0;
}

/* Checklist in Business Step 1 */
.help-check-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: #E2E8F0;
    font-size: 16px;
    font-weight: 600;
}

.help-check-badge {
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: #FBBF24;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-check-badge svg {
    width: 14px;
    height: 14px;
    stroke: #000000;
    stroke-width: 3;
}

/* Stats Grids in Business Steps 2 & 3 */
.help-stat-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    text-align: center;
    height: 100%;
}

.help-stat-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    height: 100%;
}

.help-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.help-stat-col.divider-left {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.help-stat-icon {
    width: 26px;
    height: 26px;
    color: #FBBF24;
    margin-bottom: 0.375rem;
}

.help-stat-val {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 3px 0;
}

.help-stat-lbl {
    font-size: 16px;
    font-weight: 500;
    color: #94A3B8;
    margin: 0;
}



