/* Desktop card typography/spacing matched to the user's supplied reference site.
   Preserve the existing wide catalogue/purchase pages and mobile/tablet rules. */
@media (min-width: 992px) {
    main.container:has(.item-list),
    main.container:has(.item-buy),
    body:has(main.container .item-list) .uc-topbar__inner,
    body:has(main.container .item-buy) .uc-topbar__inner {
        max-width: 1320px;
    }

    .item-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 13px 20px;
        font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial, sans-serif;
        font-size: 14px;
        line-height: normal;
        letter-spacing: normal;
    }

    .item-list .acg-card {
        border: 0;
        border-radius: 14px;
        box-shadow: 0 7px 29px rgba(100, 100, 111, .2);
    }

    :root:not([data-theme="dark"]) .item-list .acg-card {
        background: #fff;
    }

    .item-list .acg-thumb {
        height: 160px;
        min-height: 0;
        aspect-ratio: auto;
        flex: 0 0 auto;
    }

    .item-list .acg-card > .acg-body {
        padding: 13px;
        gap: 0;
    }

    .item-list .goods-title {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        min-height: 2.7em;
    }

    :root:not([data-theme="dark"]) .item-list .goods-title {
        color: #1f1f1f;
    }

    .item-list .price {
        font-size: 20px;
        font-weight: 800;
        line-height: normal;
    }

    .item-list .price .unit {
        font-size: 16px;
        font-weight: 600;
        margin-right: 0;
    }

    .item-list .stat-bottom {
        align-items: normal;
        font-size: 14px;
        line-height: normal;
    }

    .item-list .badge-soft {
        display: inline-block;
        padding: 1.95px 5.85px;
        font-size: 12px;
        font-weight: 400;
        line-height: normal;
    }

    .item-list .tags {
        gap: 4.55px;
        margin-bottom: 5.2px;
    }

    .item-list .stat-row {
        align-items: center;
        gap: 6.5px;
        margin-top: auto;
        margin-bottom: 3.25px !important;
    }

    :root:not([data-theme="dark"]) .item-list {
        color: #1f2937;
    }

    :root:not([data-theme="dark"]) .item-list .price {
        color: #ff6b88;
    }

    :root:not([data-theme="dark"]) .item-list .price .unit {
        color: #ef7d93;
    }

    :root:not([data-theme="dark"]) .item-list .stat-bottom {
        color: #6b7280;
    }

    :root:not([data-theme="dark"]) .item-list .badge-soft-success {
        color: #3aa76d;
        background: rgba(80, 200, 120, .12);
        border: 1px solid rgba(80, 200, 120, .25);
    }

    :root:not([data-theme="dark"]) .item-list .badge-soft-primary {
        color: #5b6ce6;
        background: rgba(122, 140, 255, .12);
        border: 1px solid rgba(122, 140, 255, .25);
    }

    main.container:has(.item-list) .chip {
        font-size: 16px;
    }
}
