.catalog {
    position: relative;
    padding: 96px 24px 120px;
    background:
        radial-gradient(circle at top left, rgba(255, 215, 0, 0.18), transparent 28%),
        linear-gradient(180deg, #0d0f12 0%, #14181d 38%, #1f252c 100%);
}

.catalog__shell {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.catalog__intro {
    margin-bottom: 40px;
}

.catalog__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f5d76e;
}

.catalog__eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #f5d76e;
    border-radius: 2px;
    flex-shrink: 0;
}

.catalog__heading h2 {
    max-width: 720px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── Product card ─────────────────────────────────────── */

.product-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border: 1px solid rgba(245, 215, 110, 0.55);
    cursor: pointer;
    transition: transform 0.35s ease;
}

.product-card:hover {}

/* Full-bleed image */
.product-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.product-card:hover > img {
    transform: scale(1.05);
}

/* Badge — top left */
.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 215, 110, 0.35) 0%, rgba(245, 215, 110, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 215, 110, 0.2);
    color: #fff;
    transition: opacity 0.35s ease;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

.product-card__badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #f5d76e;
}

/* Gradient overlay + content container */
.product-card:hover .product-card__overlay,
.product-card:hover .product-card__badge {
    opacity: 0;
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(0, 0, 0, 0.45) 55%,
        rgba(0, 0, 0, 0.88) 100%
    );
    transition: opacity 0.35s ease;
}

.product-card__club {
    margin-bottom: 4px;
    color: #f5d76e;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}

.product-card__name {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.02em;
}

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

.product-card__scale {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.83rem;
    line-height: 1;
}

.product-card__scale svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Hover actions — expand + cart, visible only on hover */
.product-card__hover-actions {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover .product-card__hover-actions {
    opacity: 1;
}

.product-card__expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    transition: background 0.2s ease;
}

.product-card__expand-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.product-card__expand-btn svg {
    width: 18px;
    height: 18px;
}

/* Circle cart button */
.product-card__cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: #f5d76e;
    color: #111417;
    transition: background 0.2s ease;
}

.product-card__cart-btn svg {
    width: 22px;
    height: 22px;
}

.product-card__cart-btn:hover {
    background: #d4b93c;
}

.product-card__cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Lightbox ─────────────────────────────────────────── */

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.product-lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.product-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s ease;
}

.product-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 960px) {
    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card__hover-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .catalog {
        padding: 72px 18px 88px;
    }
}

@media (max-width: 420px) {
    .catalog__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}
