/* Home page: clickable OSRS Wiki product tiles. */
.home-products .home-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}
.home-product {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(214, 170, 69, .28);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(36, 31, 22, .96), rgba(18, 19, 23, .96));
    color: inherit;
    text-decoration: none;
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.home-product:hover, .home-product:focus-visible {
    transform: translateY(-3px);
    border-color: #D6AA45;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 0 0 2px rgba(214, 170, 69, .12);
    text-decoration: none;
}
.home-product-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 132px;
    padding: 8px;
    border-radius: 9px;
    background: radial-gradient(circle at 50% 35%, rgba(214, 170, 69, .2), rgba(10, 11, 14, .85));
}
.home-product-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.home-product-tag {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(214, 170, 69, .14);
    color: #D6AA45;
    font-size: 9.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.home-product h3 {
    margin: 0;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.2;
}
.home-product p {
    margin: 0;
    color: #A3AAB5;
    font-size: 12px;
    line-height: 1.55;
    flex: 1;
}
.home-product-price {
    display: inline-block;
    color: #f0d98a;
    font-size: .82rem;
    font-weight: 700;
}
.home-product-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(214, 170, 69, .16);
    color: #f0d98a;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .03em;
}
.home-product:hover .home-product-cta, .home-product:focus-visible .home-product-cta {
    background: #D6AA45;
    color: #17130c;
}
.home-product-credit {
    margin: 14px 0 0;
    color: #8b929d;
    font-size: 11px;
}
.home-product-credit a { color: #D6AA45; }
@media (max-width: 600px) {
    .home-product-media { height: 112px; }
}
