/* sari3 home — marketplace layout (iqcars-inspired, sari3 identity) */

.home--market {
    padding-bottom: 2rem;
    background: transparent;
}

/* ── Medium banner + floating search ── */
.banner {
    position: relative;
    height: clamp(280px, 34vw, 360px);
    margin: 0.75rem clamp(0.75rem, 3vw, 1.5rem) 0;
    border-radius: 0 0 10px 10px;
    overflow: visible;
    color: #fff;
}

.banner-media {
    position: absolute;
    inset: 0;
    border-radius: 0 0 10px 10px;
    /* Fallback; actual file is language-specific via inline style in marketplace.html */
    background: #0c0d12 center center / cover no-repeat;
    overflow: hidden;
}

.banner-shade {
    position: absolute;
    inset: 0;
    border-radius: 0 0 10px 10px;
    /* Soft bottom fade only — art already has branding / map */
    background:
        linear-gradient(180deg, rgba(8, 10, 18, 0.12) 0%, rgba(8, 10, 18, 0.08) 48%, rgba(8, 10, 18, 0.55) 100%);
    pointer-events: none;
}

html[dir="ltr"] .banner-shade {
    background:
        linear-gradient(180deg, rgba(8, 10, 18, 0.12) 0%, rgba(8, 10, 18, 0.08) 48%, rgba(8, 10, 18, 0.55) 100%);
}

.banner-copy {
    /* Cover artwork includes logo + map — avoid overlapping text */
    display: none;
}

.banner-kicker {
    font-family: 'Syne', 'Noto Kufi Arabic', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffb4b6;
    margin-bottom: 0.35rem;
}

.banner-title {
    font-size: clamp(1.35rem, 3.2vw, 2.15rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.4rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.banner-sub {
    font-size: clamp(0.88rem, 1.5vw, 1rem);
    opacity: 0.9;
    max-width: 36ch;
    line-height: 1.55;
    margin: 0 0 0.85rem;
}

.banner-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.banner-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1;
}

.banner-chip .ico {
    color: #ffc9cb;
    opacity: 0.95;
}

.banner-search {
    position: absolute;
    z-index: 4;
    left: clamp(0.85rem, 4vw, 3.5rem);
    right: clamp(0.85rem, 4vw, 3.5rem);
    bottom: -52px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
    gap: 0.65rem;
    align-items: end;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(20, 20, 30, 0.12);
}

.bs-field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}

.bs-field span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8a8a8a;
}

.bs-field select,
.bs-field .ss-trigger {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    min-height: 44px;
}

.bs-field select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.bs-field .ss-mount,
.bs-field .ss-wrap {
    width: 100%;
}

.banner-search .ss-panel {
    z-index: 40;
}

.bs-filter,
.bs-go {
    height: 42px;
    border-radius: 8px;
    white-space: nowrap;
    padding-inline: 1.15rem;
}

.home-body {
    padding-top: 4.25rem;
}

/* ── Compact sell strip ── */
.sell-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.75rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
}

.sell-strip-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.sell-strip-copy strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
}

.sell-strip-copy span {
    font-size: 0.88rem;
    color: #616161;
}

/* ── Brands tiles ── */
.brands-strip {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x mandatory;
}

.brands-strip::-webkit-scrollbar { height: 0; }

.brand-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 104px;
    height: 104px;
    padding: 0.55rem;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    color: #222;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}

.brand-chip-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
}

.brand-chip-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-chip-name {
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-chip-more-ico {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #666;
    font-size: 1.4rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.brand-chip:hover,
.brand-chip.active {
    border-color: rgba(227, 30, 36, 0.55);
    transform: translateY(-1px);
}

.brand-chip.active {
    background: #fff7f7;
}

/* ── Featured carousel (app-like) — mobile only ── */
.section-featured {
    display: none;
    margin: 0 0 1.25rem;
}

.section-featured.hidden { display: none; }

.featured-carousel {
    position: relative;
}

.home--market .featured-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0;
    margin: 0;
}

.home--market .featured-track::-webkit-scrollbar { height: 0; display: none; }

.home--market .featured-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: none;
}

.home--market .featured-card:hover {
    transform: none;
    box-shadow: none;
}

.home--market .featured-frame {
    height: 197px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
}

.home--market .featured-img {
    position: relative;
    margin: 2px;
    height: calc(100% - 4px);
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.home--market .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home--market .featured-badge {
    position: absolute;
    top: 5px;
    inset-inline-end: 5px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.75), rgba(3, 169, 244, 0.55));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home--market .featured-price {
    position: absolute;
    bottom: 5px;
    inset-inline-start: 6px;
    z-index: 2;
    padding: 5px 11px;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.72), rgba(156, 39, 176, 0.5));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home--market .featured-card .body,
.home--market .featured-card .seller-ribbon,
.home--market .featured-card .price-chip {
    display: none !important;
}

.featured-dots {
    position: absolute;
    z-index: 3;
    left: auto;
    right: 14px;
    bottom: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    padding: 0;
    pointer-events: none;
}
html[dir="rtl"] .featured-dots {
    right: auto;
    left: 14px;
}

.featured-dot {
    pointer-events: auto;
    width: 4px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: #c8c8c8;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.featured-dot.is-active {
    width: 16px;
    background: linear-gradient(90deg, #222, #555);
}

.cars-count {
    font-size: 0.88rem;
    color: #8a8a8a;
    font-weight: 600;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.featured-card .seller-ribbon,
.car-card .seller-ribbon {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 0;
    z-index: 2;
    background: #1A964C;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem 0.28rem 0.55rem;
    border-radius: 0 6px 6px 0;
}

.featured-card .seller-ribbon.is-dealer,
.car-card .seller-ribbon.is-dealer {
    background: #006d8f;
}

.featured-card .price-chip,
.car-card .price-chip {
    position: absolute;
    bottom: 10px;
    inset-inline-end: 10px;
    z-index: 2;
    background: rgba(227, 30, 36, 0.92);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
}

/* ── Dealerships ── */
.dealers-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.dealer-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dealer-card:hover {
    border-color: rgba(227, 30, 36, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.dealer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: #f4f4f4;
    flex-shrink: 0;
}

.dealer-avatar.placeholder {
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--primary);
    background: rgba(227, 30, 36, 0.1);
}

.dealer-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.dealer-card p {
    font-size: 0.8rem;
    color: #8a8a8a;
}

.dealer-card-rich {
    display: block;
    padding: 0;
    overflow: hidden;
}

.dealer-cover {
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f4f4f4;
}

.dealer-logo {
    position: absolute;
    inset-inline-start: 0.75rem;
    bottom: -18px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.dealer-logo.hidden { display: none; }

.dealer-logo-fallback {
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--primary);
    background: rgba(227, 30, 36, 0.1);
}

.dealer-body { padding: 1.35rem 1rem 1.05rem; }

.dealer-meta { margin-bottom: 0.2rem; }

.dealer-address,
.dealer-phone {
    font-size: 0.75rem;
    color: #8a8a8a;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.dealer-phone {
    direction: ltr;
    text-align: start;
    font-weight: 600;
    color: #4a4a4a;
}

.dealer-verified {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(227, 30, 36, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.dealers-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* ── Popular brands accordion ── */
.popular-brands {
    display: grid;
    gap: 0.65rem;
}

.popular-brand {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.popular-brand-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: start;
}

.popular-brand-head img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.popular-brand-head strong {
    flex: 1;
    font-size: 1rem;
    color: #1a1a1a;
}

.popular-brand-head .chev {
    color: #8a8a8a;
    transition: transform 0.2s;
}

.popular-brand.open .chev {
    transform: rotate(180deg);
}

.popular-brand-models {
    display: none;
    padding: 0 1.1rem 1rem;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.popular-brand.open .popular-brand-models {
    display: flex;
}

.model-chip {
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #f7f7f7;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    color: #4a4a4a;
}

.model-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ── Tools ── */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.tool-tile {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.2rem 1.1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    min-height: 140px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.tool-tile:hover {
    border-color: rgba(227, 30, 36, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.tool-tile-guide {
    background: linear-gradient(155deg, #121420 0%, #2a0c0e 100%);
    color: #fff;
    border-color: transparent;
}

.tool-tile-guide .tool-label { color: rgba(255, 255, 255, 0.65); }
.tool-tile-guide p { color: rgba(255, 255, 255, 0.75); }

.tool-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.tool-tile strong {
    font-size: 1.02rem;
    font-weight: 800;
}

.tool-tile p {
    font-size: 0.84rem;
    color: #8a8a8a;
    margin-top: auto;
}

/* ── EV teaser ── */
.ev-teaser {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    margin: 0 0 1.75rem;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
}

.ev-teaser-media {
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.ev-teaser-copy {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
}

.ev-teaser-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.ev-teaser-copy h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

.ev-teaser-copy p {
    color: #616161;
    font-size: 0.92rem;
}

/* ── App download band ── */
.app-download-band {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: center;
    margin: 0 0 1.5rem;
    padding: 1.75rem;
    border-radius: 10px;
    background: linear-gradient(125deg, #121420 0%, #1c1c28 55%, #3a0c10 100%);
    color: #fff;
}

.app-download-visual img {
    width: min(280px, 100%);
    margin-inline: auto;
}

.app-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.trust-brand {
    font-family: 'Syne', 'Noto Kufi Arabic', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.car-card .seller-line {
    font-size: 0.75rem;
    color: #8a8a8a;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.car-card .vip-pill,
.car-card .premium-pill,
.car-card .warranty-pill {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    color: #fff;
    background: #111;
    z-index: 2;
}

.car-card .premium-pill {
    background: var(--primary);
}

.featured-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    color: #fff;
    background: #006d8f;
}

.featured-badge.premium {
    background: #111;
}

@media (max-width: 900px) {
    .banner-search {
        grid-template-columns: 1fr 1fr;
        bottom: -88px;
    }
    .bs-filter, .bs-go { width: 100%; }
    .home-body { padding-top: 6.5rem; }
    .tools-grid { grid-template-columns: 1fr 1fr; }
    .ev-teaser, .app-download-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    /* Hero cover + search: desktop only */
    .banner {
        display: none !important;
    }
    .home-body { padding-top: 1rem; }

    /* Home mobile: brands + featured + cars only */
    .home--market #sell,
    .home--market #dealers,
    .home--market #popular,
    .home--market #ev,
    .home--market #tools,
    .home--market #app,
    .home--market .app-download-band {
        display: none !important;
    }

    /* Brands — circular like app */
    .home--market .brands-strip {
        gap: 0.5rem;
        padding-inline: 0.15rem;
        min-height: 76px;
        align-items: flex-start;
    }
    .home--market .brand-chip {
        width: 54px;
        height: auto;
        min-height: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        gap: 0.35rem;
    }
    .home--market .brand-chip:hover,
    .home--market .brand-chip.active {
        transform: none;
        border: none;
        background: transparent;
    }
    .home--market .brand-chip-logo {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #eee;
        overflow: hidden;
    }
    .home--market .brand-chip.active .brand-chip-logo {
        border-color: rgba(227, 30, 36, 0.65);
        box-shadow: 0 0 0 2px rgba(227, 30, 36, 0.18);
    }
    .home--market .brand-chip-logo img {
        width: 32px;
        height: 32px;
    }
    .home--market .brand-chip-name {
        width: 54px;
        font-size: 0.62rem;
        font-weight: 500;
    }
    .home--market .brand-chip-more-ico {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border: 1px solid #eee;
        background: #f7f7f7;
    }

    /* Featured inset like app — show only on mobile */
    .home--market .section-featured:not(.hidden) {
        display: block;
        padding-inline: 0;
        margin-bottom: 0.85rem;
    }

    /* Cars — 2-col grid like app */
    .home--market .cars-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem !important;
        background: transparent !important;
    }
    .home--market .car-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        border: 1px solid #eee !important;
        border-radius: 15px !important;
        border-bottom: 1px solid #eee !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    .home--market .car-card .img-box {
        width: 100% !important;
        min-width: 0 !important;
        height: 128px !important;
        border-radius: 0 !important;
    }
    .home--market .car-card .img-box img {
        border-radius: 0 !important;
    }
    .home--market .car-card .price-chip {
        display: none !important;
    }
    .home--market .car-card .seller-ribbon {
        font-size: 0.58rem !important;
        padding: 0.2rem 0.4rem !important;
        bottom: auto !important;
        top: 6px !important;
        inset-inline-start: 0 !important;
        border-radius: 0 6px 6px 0 !important;
    }
    .home--market .car-card .warranty-pill {
        top: 6px !important;
        inset-inline-end: 6px !important;
        font-size: 0.6rem !important;
        padding: 0.18rem 0.4rem !important;
        border-radius: 7px !important;
    }
    .home--market .car-card .info {
        padding: 0.55rem 0.6rem 0.7rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.28rem !important;
    }
    .home--market .car-card h3 {
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home--market .car-card .car-specs {
        font-size: 0.68rem !important;
        color: #888 !important;
        margin: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .home--market .car-card .car-meta {
        display: none !important;
    }
    .home--market .car-card .car-card-foot {
        margin-top: 0.15rem !important;
        align-items: center !important;
    }
    .home--market .car-card .car-price {
        display: inline-block !important;
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        color: #1a1a1a !important;
    }
    .home--market .car-card .car-loc {
        font-size: 0.65rem !important;
        max-width: 55%;
    }
    .home--market .cars-grid > .car-card:first-child {
        grid-column: auto !important;
    }
    .home--market .cars-grid > .car-card:first-child .img-box {
        height: 128px !important;
    }
    .home--market .cars-grid > .car-card:first-child .info {
        display: flex !important;
    }
    .home--market .cars-grid > .car-card:first-child .price-chip {
        display: none !important;
    }
    .home--market .cars-grid > .car-card:first-child .car-price {
        display: inline-block !important;
    }

    .sell-strip {
        flex-direction: column;
        align-items: stretch;
    }
    .tools-grid { grid-template-columns: 1fr; }
    .dealers-track { grid-template-columns: 1fr; }
}

/* Home — show more CTA */
.show-more-wrap {
    display: flex;
    justify-content: center;
    margin: 1.75rem 0 0.5rem;
    padding: 0 0.5rem;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: min(100%, 340px);
    padding: 0.7rem 0.85rem 0.7rem 0.7rem;
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    font-family: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.show-more-btn:hover {
    border-color: rgba(227, 30, 36, 0.35);
    box-shadow: 0 12px 28px rgba(227, 30, 36, 0.12);
    transform: translateY(-2px);
    color: #1a1a1a;
}

.show-more-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4rem;
    height: 3.15rem;
    padding: 0 0.65rem;
    border-radius: 12px;
    background: var(--primary, #E31E24);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.show-more-text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    flex: 1;
    min-width: 0;
    text-align: start;
}

.show-more-label {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.show-more-hint {
    font-size: 0.78rem;
    font-weight: 500;
    color: #8a8a8a;
}

.show-more-arrow {
    display: none;
}

.show-more-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: #f5f5f5;
    color: var(--primary, #E31E24);
    flex-shrink: 0;
}

.show-more-btn:hover .show-more-go {
    background: rgba(227, 30, 36, 0.1);
}

.show-more-btn[hidden] {
    display: none !important;
}
