.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 26px;
    background: linear-gradient(135deg, #2874f0 0%, #3b69d4 55%, #5ea3ff 100%);
    border-radius: 28px;
    padding: 40px;
    color: #fff;
    overflow: hidden;
}

.hero-copy {
    display: grid;
    gap: 18px;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.highlight-card {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 22px;
    padding: 22px;
    min-height: 120px;
    display: grid;
    gap: 10px;
}

.highlight-card p {
    color: rgba(255,255,255,0.88);
}

.highlight-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.eyebrow {
    color: #dbe9ff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.86rem;
}

.hero-title {
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    line-height: 1.05;
}

.hero-description {
    max-width: 660px;
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-highlights {
    display: grid;
    gap: 14px;
}

.highlight-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 24px;
    min-height: 120px;
    display: grid;
    gap: 10px;
}

.highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.highlight-card p {
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
}

.market-features {
    max-width: 1180px;
    margin: 28px auto 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.advertised-deals {
    max-width: 1180px;
    margin: 0 auto 30px;
}

.deal-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.deal-card {
    border: 1px solid #dbe4f8;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    background: #fff;
}

.deal-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.deal-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    margin-bottom: 10px;
}

.deal-label {
    display: inline-flex;
    margin-top: 4px;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.deal-note {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .deal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .deal-cards { grid-template-columns: 1fr; }
}

.market-pill {
    background: #fff;
    border: 1px solid #dbe4f8;
    border-radius: 16px;
    padding: 18px 16px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.market-link {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.market-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.trending {
    max-width: 1180px;
    margin: 0 auto;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-heading .section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    margin: 0;
}

.section-heading p {
    color: var(--muted);
    max-width: 540px;
    line-height: 1.6;
}

.cards {
    max-width: 1180px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: var(--shadow-soft);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 18px;
    display: grid;
    gap: 10px;
}

.card h3 {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text);
    min-height: 3.2em;
}

.price {
    color: #2874f0;
    font-weight: 800;
    font-size: 1.05rem;
}

.stock {
    color: var(--muted);
    font-size: 0.95rem;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .market-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; padding: 28px; }
    .hero-highlights { grid-template-columns: 1fr; }
    .market-features, .cards { grid-template-columns: 1fr; }
    .top-category-bar { padding: 10px 16px; }
    .top-navbar { padding: 12px 16px; }
}
