/* Shared Home product card. Extracted without changing its design. */
.kg-catalog-cards .kg-product-item { font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 24px; }
.kg-catalog-cards [data-store-verified-badge] { color: #4f46e5 !important; }
.kg-catalog-cards .kg-product-card:focus-visible,
.kg-catalog-cards .kg-product-wish:focus-visible { outline: 2px solid #9e8aff; outline-offset: 3px; }
:where(.kg-catalog-cards) .kg-product-card{
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--kg-line);
    border-radius: 14px;
    background: var(--kg-bg);
    transition: border-color .15s
}
:where(.kg-catalog-cards) .kg-product-card:hover{
    border-color: #818cf8
}
:where(.kg-catalog-cards) .kg-product-card:focus-visible{
    outline: 3px solid #818cf8;
    outline-offset: 3px
}
:where(.kg-catalog-cards) .kg-product-image{
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 25 / 14;
    background: var(--kg-line);
    overflow: hidden
}
:where(.kg-catalog-cards) .kg-product-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}
:where(.kg-catalog-cards) .kg-product-image>span{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--kg-muted)
}
:where(.kg-catalog-cards) .kg-product-image>span>i{
    font-size: 28px
}
:where(.kg-catalog-cards) .kg-product-image small{
    font-size: 10px
}
:where(.kg-catalog-cards) .kg-product-info{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 4px;
    min-width: 0;
    padding: 10px
}
:where(.kg-catalog-cards) .kg-product-info > *,:where(.kg-catalog-cards) .kg-product-category>span:last-child{
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
:where(.kg-catalog-cards) .kg-product-estimate{
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 12px);
    padding: 3px 6px;
    border-radius: 6px;
    background: #0f172ae6;
    color: #fff;
    font-size: 10px;
    line-height: 1.4;
}
:where(.kg-catalog-cards) .kg-product-estimate span{ min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
:where(.kg-catalog-cards) .kg-product-game{
    font-size: 10px;
    color: #6366f1;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0
}
:where(.kg-catalog-cards) .kg-product-info h3{
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0
}
:where(.kg-catalog-cards) .kg-product-price{
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.3px;
    margin: 0
}
:where(.kg-catalog-cards) .kg-product-meta{
    display: block;
    font-size: 10px;
    color: var(--kg-muted);
    margin: 0
}
:where(.kg-catalog-cards) .kg-product-meta i{
    color: #f59e0b
}
:where(.kg-catalog-cards) .kg-product-seller{
    display: flex;
    width: 100%;
    align-items: center;
    gap: 6px;
    border-top: 1px solid var(--kg-line);
    padding-top: 6px;
    margin-top: 2px;
    font-size: 10px;
    color: var(--kg-muted)
}
:where(.kg-catalog-cards) .kg-product-seller > span:not([data-store-verified-badge]){
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}
:where(.kg-catalog-cards) .kg-product-seller i{
    flex-shrink: 0
}
@media(prefers-reduced-motion:reduce){:where(.kg-catalog-cards) .kg-product-card{
        transition: none
    }
}
@media(max-width:599px){:where(.kg-catalog-cards) .kg-product-info{
        padding: 10px
    }
:where(.kg-catalog-cards) .kg-product-price{
        font-size: 15px
    }
}
.dark .kg-catalog-cards .kg-product-game{
    color: #a5b4fc
}
:where(.kg-catalog-cards) .kg-product-category{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    margin: 0;
    padding: 3px 7px;
    border-radius: 6px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5
}
:where(.kg-catalog-cards) .kg-product-category>i{
    flex-shrink: 0;
    font-size: 9px
}
:where(.kg-catalog-cards) .kg-product-category>span:last-child{
    min-width: 0;
    overflow-wrap: anywhere
}
.dark :where(.kg-catalog-cards) .kg-product-category{
    background: #30315b;
    color: #c7d2fe
}
:where(.kg-catalog-cards) .kg-promotion-track .kg-product-card{ flex:0 0 160px; width:160px; max-width:160px; border:0; box-shadow:inset 0 0 0 1px var(--kg-line); scroll-snap-align:start; }
:where(.kg-catalog-cards) .kg-promotion-track .kg-product-card:hover{ box-shadow:inset 0 0 0 1px #818cf8; }
:where(.kg-catalog-cards) .kg-promotion-track .kg-product-image{ width:160px; height:212px; aspect-ratio:40 / 53; }
:where(.kg-catalog-cards) .kg-promotion-track .kg-product-info h3{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; white-space:normal; line-height:18px; min-height:36px; }
.kg-catalog-cards .kg-product-item{position:relative;min-width:0;display:flex;align-items:stretch}
.kg-catalog-cards .kg-promotion-track .kg-product-item{flex:0 0 calc((100% - 48px)/4);scroll-snap-align:start;min-width:0}
.kg-catalog-cards .kg-product-card{display:flex;flex-direction:column;width:100%;border:1px solid var(--home-line);border-radius:11px;background:linear-gradient(155deg,var(--home-panel),var(--home-panel));overflow:hidden;box-shadow:none;transition:border-color .2s,transform .2s}
.kg-catalog-cards .kg-product-card:hover{border-color:#7465e9;transform:translateY(-2px);box-shadow:0 8px 25px #02071520}
.kg-catalog-cards .kg-promotion-track .kg-product-card{width:100%;max-width:none;flex:1;border:1px solid var(--home-line);box-shadow:none}
.kg-catalog-cards .kg-product-image,.kg-catalog-cards .kg-promotion-track .kg-product-image{position:relative;width:100%;height:auto;aspect-ratio:1.85;flex:none;border-radius:0;background:var(--home-soft)}
.kg-catalog-cards .kg-product-image img{width:100%;height:100%;object-fit:cover;display:block}
.kg-catalog-cards .kg-promotion-track .kg-product-image{aspect-ratio:2.1}
.kg-catalog-cards .kg-product-info{padding:11px 12px 0;display:flex;flex-direction:column;flex:1;gap:0}
.kg-catalog-cards .kg-product-game{color:var(--home-ink);font-weight:550;font-size:11px;line-height:1.5;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0;margin-bottom:7px}
.kg-catalog-cards .kg-product-category{align-self:start;border-radius:5px;font-size:10px;line-height:1.2;padding:4px 6px;background:#e6e2ff;color:#5340b0;max-width:100%}
.dark .kg-catalog-cards .kg-product-category{background:#42357b;color:#e3ddff}
.kg-catalog-cards .kg-product-info h3,.kg-catalog-cards .kg-promotion-track .kg-product-info h3{font-size:12px;font-weight:650;line-height:1.5;margin:8px 0 9px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:18px;color:var(--home-ink)}
.kg-catalog-cards .kg-product-price{font-size:17px;color:var(--home-ink);font-weight:750;letter-spacing:-.3px;line-height:1.4;margin:0 0 7px}
.kg-catalog-cards .kg-product-meta{display:flex;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--home-muted);min-height:16px;margin-bottom:10px;gap:2px}
.kg-catalog-cards .kg-product-meta i{color:#fbbf24}
.kg-catalog-cards .kg-product-seller{border-top:1px solid var(--home-line);display:flex;align-items:center;gap:6px;font-size:10px;color:var(--home-muted);line-height:1.4;margin: auto 0 0;padding:10px 0;min-height:36px}
.kg-catalog-cards .kg-product-seller>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kg-catalog-cards .kg-product-wish{position:absolute;top:8px;right:8px;width:30px;height:30px;display:grid;place-items:center;background:#101a2dcc;border:1px solid #7886a05c;color:#fff;border-radius:8px;z-index:2;font-size:14px}
.kg-catalog-cards .kg-product-wish[aria-pressed=true]{color:#bfadff;background:#33286deb}
.kg-catalog-cards .kg-product-wish:disabled{opacity:.5}
@media(min-width:900px) and (max-width:1100px){.kg-catalog-cards .kg-product-info{padding:9px 9px 0}
.kg-catalog-cards .kg-product-price{font-size:15px}
.kg-catalog-cards .kg-product-game{font-size:10px}
}
@media(max-width:899px){.kg-catalog-cards .kg-promotion-track .kg-product-item{flex-basis:calc((100% - 32px)/3)}
}
@media(max-width:599px){.kg-catalog-cards .kg-promotion-track .kg-product-item{flex-basis:calc((100% - 16px)/2);min-width:155px}
.kg-catalog-cards .kg-product-info{padding:9px 9px 0}
.kg-catalog-cards .kg-product-game{font-size:10px}
.kg-catalog-cards .kg-product-price{font-size:16px}
.kg-catalog-cards .kg-product-info h3{font-size:12px}
.kg-catalog-cards .kg-product-seller{font-size:9px}
}
.kg-catalog-cards .kg-product-card{height:100%}
.kg-catalog-cards .kg-product-category>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.kg-catalog-cards .kg-product-price{white-space:normal;overflow-wrap:anywhere}
