.hero-panel {
    display: grid;
    gap: 20px;
    padding: 20px 22px;
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(15, 98, 254, 0.1), transparent 25%),
        radial-gradient(circle at bottom left, rgba(255, 122, 26, 0.1), transparent 22%),
        linear-gradient(145deg, var(--yk-hero-start) 0%, var(--yk-hero-mid) 56%, var(--yk-hero-end) 100%);
    color: var(--yk-text);
    border: 1px solid rgba(15, 98, 254, 0.12);
}

.hero-copy {
    display: grid;
    gap: 10px;
    max-width: 38rem;
}

.hero-panel .hero-kicker {
    color: var(--yk-primary);
}

.hero-copy h2,
.hero-copy h4 {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(1.35rem, 2.1vw, 2.05rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--yk-text);
}

.hero-copy p {
    margin: 0;
    max-width: 52ch;
    color: var(--yk-muted);
}

.hero-side {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 12px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.hero-badges span {
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--yk-surface-strong);
    border: 1px solid rgba(15, 98, 254, 0.1);
    color: var(--yk-text);
    font-size: 0.85rem;
    font-weight: 700;
}

.catalog-section {
    display: grid;
    gap: 16px;
}

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

.product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
    border-radius: 26px;
    background: var(--yk-surface);
    border: 1px solid rgba(15, 30, 71, 0.08);
    box-shadow: var(--yk-shadow);
}

.catalog-heading {
    padding: 22px 24px;
    display:flex;
}

.catalog-heading h3 {
    font-size: clamp(1.3rem, 1.8vw, 1.7rem);
}

.product-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 18px;
    background: linear-gradient(180deg, var(--yk-surface-strong), rgba(15, 98, 254, 0.05));
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-body {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 20px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.08);
    color: var(--yk-primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-title {
    display: -webkit-box;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    min-height: 2.8em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-body p {
    display: -webkit-box;
    margin: 0;
    color: var(--yk-muted);
    line-height: 1.55;
    min-height: 3.1em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-card-footer strong {
    font-size: 1.1rem;
}

@media (min-width: 992px) {
    .hero-panel {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
        align-items: center;
    }
}

@media (max-width: 1199.98px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .hero-side {
        justify-items: start;
    }

    .hero-actions,
    .hero-badges {
        justify-content: flex-start;
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 575.98px) {
    .hero-panel {
        padding: 16px;
    }

    .hero-copy h2,
    .hero-copy h4 {
        max-width: none;
        font-size: clamp(1.2rem, 5vw, 1.7rem);
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .catalog-heading {
        padding: 14px 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card-body {
        padding: 12px;
    }

    .product-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-card-footer .btn {
        width: 100%;
    }
}

