.cur-market {
    position: relative;
}

/* —— Hero editorial (más grande y legible) —— */
.cur-hero {
    padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 80px) clamp(28px, 4vw, 48px) !important;
    max-width: 1280px;
}

.cur-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

.cur-hero__copy {
    min-width: 0;
}

.cur-hero__spot.is-hidden {
    display: none;
}

/* —— Hero: curso destacado (limpio, editorial) —— */
.cur-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 12, 14, 0.92);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s,
        box-shadow 0.32s;
}

.cur-hero-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.28);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(52, 211, 153, 0.08);
}

.cur-hero-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0a0a0c;
}

.cur-hero-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.cur-hero-card__media--banner {
    background: #08080a;
}

.cur-hero-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cur-hero-card__media--banner img {
    object-fit: contain;
    padding: 16px;
}

.cur-hero-card__pick {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    color: #6ee7b7;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cur-hero-card__media .cur-card-stamp {
    left: 14px;
    bottom: 14px;
    z-index: 2;
}

.cur-hero-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.cur-hero-card__cat {
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.cur-hero-card__body h2 {
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 600;
    line-height: 1.28;
    color: var(--head);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cur-hero-card__tag {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cur-hero-card__desc {
    margin-bottom: 16px;
}

.cur-feat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cur-feat-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
}

.cur-bullet {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    margin-top: 1px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    user-select: none;
}

.cur-bullet__br {
    color: rgba(255, 255, 255, 0.28);
}

.cur-bullet__mid {
    color: var(--accent);
    padding: 0 1px;
    font-weight: 700;
}

.cur-bullet__txt {
    flex: 1;
    min-width: 0;
}

.cur-bullet__txt strong {
    color: var(--head);
    font-weight: 600;
}

.cur-hero-card__foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.cur-hero-card__price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--head);
    letter-spacing: -0.02em;
}

.cur-hero-card__price s {
    display: inline;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: line-through;
}

.cur-hero-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 700;
    transition: filter 0.2s;
}

.cur-hero-card:hover .cur-hero-card__cta {
    filter: brightness(1.05);
}

.cur-hero-card:focus-visible {
    outline: 2px solid rgba(52, 211, 153, 0.5);
    outline-offset: 3px;
}

html.has-cur-hero-featured .cur-hero h1 {
    max-width: 11ch;
}

.cur-hero h1 {
    font-size: clamp(2.75rem, 8vw, 4.75rem) !important;
    line-height: 1.02 !important;
    max-width: 13ch;
    margin-bottom: 24px !important;
}

.cur-hero-sub {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem) !important;
    line-height: 1.65 !important;
    max-width: 38rem !important;
    color: rgba(255, 255, 255, 0.78) !important;
    margin-bottom: 28px !important;
}

.cur-hero-sub strong {
    color: var(--head);
    font-weight: 600;
}

.cur-hero-actions {
    margin-bottom: 32px !important;
}

.cur-hero-actions .btn {
    padding: 14px 24px;
    font-size: 15px;
}

.cur-stats {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    max-width: 520px;
    margin-top: 4px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cur-stat {
    flex: 1 1 0;
    min-width: 88px;
    padding: 0 18px 0 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: none;
}

.cur-stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 18px;
}

.cur-stat strong {
    display: block;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
    font-weight: 700;
    color: var(--head);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 5px;
}

.cur-stat span {
    display: block;
    font-size: 11px !important;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.48);
    font-family: var(--font-head);
    letter-spacing: 0.01em;
}

.cur-section {
    padding-top: clamp(24px, 4vw, 40px) !important;
}

.cur-section-head {
    margin-bottom: 28px;
}

.cur-section-head h2 {
    font-size: clamp(2rem, 5.5vw, 3.25rem) !important;
}

.cur-section-head p {
    font-size: clamp(15px, 2.2vw, 18px) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 36rem;
    line-height: 1.6;
}

/* —— Tarjetas destacadas en el grid —— */
.cur-card--featured {
    border-color: rgba(52, 211, 153, 0.28);
    background: linear-gradient(165deg, rgba(52, 211, 153, 0.06) 0%, rgba(12, 12, 14, 0.95) 42%);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.06), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.cur-card--featured:hover {
    border-color: rgba(52, 211, 153, 0.45);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 0 24px rgba(52, 211, 153, 0.1);
}

.cur-card--featured .cur-card-badge {
    background: rgba(52, 211, 153, 0.2);
    border-color: rgba(52, 211, 153, 0.45);
}

.cur-market__toolbar {
    position: sticky;
    top: calc(var(--hub-status-offset, 28px) + var(--hub-bar-min-h, 84px) + 4px);
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 10, 0.82);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cur-market__search {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.cur-market__search:focus-within {
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(52, 211, 153, 0.06);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

.cur-market__search svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--muted);
}

.cur-market__search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--head);
    font-family: var(--font-head);
    font-size: 14px;
}

.cur-market__search input::placeholder {
    color: var(--muted);
}

.cur-market__meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.cur-market__chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    margin-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cur-market__chips::-webkit-scrollbar {
    display: none;
}

.cur-chip {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.22s var(--hub-ease, ease), background 0.22s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
}

.cur-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--head);
}

.cur-chip.is-on {
    background: rgba(52, 211, 153, 0.14);
    border-color: rgba(52, 211, 153, 0.45);
    color: #6ee7b7;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.15);
}

.cur-market__empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 13px;
}

.cur-market__empty.is-hidden {
    display: none;
}

.cur-catalog {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}

.cur-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(12, 12, 14, 0.9);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s, box-shadow 0.28s;
}

.cur-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(52, 211, 153, 0.08);
}

.cur-card-thumb {
    aspect-ratio: 16 / 10;
}

.cur-card-thumb .cur-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: auto;
    z-index: 2;
}

.cur-card-stamp {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 20px);
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    color: #f5f5f7;
}

.cur-card-thumb .cur-card-stamp,
.cur-hero-card__media .cur-card-stamp {
    color: #f5f5f7;
}

.cur-card-stamp__avatar {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(145deg, #229ed9, #1a7fb8);
    display: grid;
    place-items: center;
}

.cur-card-stamp__avatar img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cur-card-stamp__initial {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}

.cur-card-stamp__name {
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    color: #f5f5f7 !important;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Variante clara si hace falta: .cur-card-stamp--light { background: rgba(255,255,255,.96); color: #0a0a0a; } */

.cur-card-stamp__verified {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    line-height: 0;
}

.cur-card-stamp__verified-icon {
    display: block;
}

.cur-card-cat {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cur-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.cur-card-price strong {
    font-size: 18px;
    color: var(--head);
    letter-spacing: -0.02em;
}

.cur-card-price s {
    font-size: 13px;
    color: var(--muted);
}

.cur-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 14px;
}

.cur-card-body h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.cur-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.cur-card-body .cur-feat-list {
    margin-bottom: 14px;
}

.cur-card-body .cur-feat-list__item {
    font-size: 12px;
    line-height: 1.42;
}

.cur-card-desc--empty {
    font-style: italic;
    color: var(--muted);
    font-size: 13px;
}

.cur-buy {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    justify-content: center;
}

@media (max-width: 960px) {
    .cur-hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cur-hero__spot {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .cur-stats {
        max-width: 100%;
    }

    .cur-stat {
        flex: 1 1 calc(33.333% - 12px);
        min-width: 0;
        padding-right: 12px;
        margin-right: 12px;
    }

    .cur-stat span {
        font-size: 10px !important;
    }
}

@media (max-width: 520px) {
    .cur-stats {
        flex-direction: column;
        gap: 14px;
        padding: 14px 0;
    }

    .cur-stat {
        flex: none;
        padding: 0;
        margin: 0;
        border-right: none !important;
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .cur-stat strong {
        margin-bottom: 0;
        min-width: 3.5ch;
    }

    .cur-stat span {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .cur-market__toolbar {
        padding: 12px;
    }

    .cur-market__meta {
        width: 100%;
        text-align: center;
    }
}
