/* Keep the component list independently clickable above the tile's detail link. */
.home-shelf--prebuilts a.pc-config-hint {
    position: relative;
    z-index: 2;
}

.home-shelf--prebuilts .pc-tile {
    container: prebuilt-card / inline-size;
}

@container prebuilt-card (max-width: 360px) {
    .pc-tile__cta-detail { display: none; }
}

@container prebuilt-card (max-width: 278px) {
    .store-home .home-shelf--pcs-compact.home-shelf--prebuilts .pc-tile__foot:has(.pc-tile__warranty) {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .store-home .home-shelf--pcs-compact.home-shelf--prebuilts .pc-tile__foot .pc-tile__price { grid-area: 1 / 1 / 2 / -1; }
    .store-home .home-shelf--pcs-compact.home-shelf--prebuilts .pc-config-actions .pc-tile__warranty { grid-area: 2 / 1; }
    .store-home .home-shelf--pcs-compact.home-shelf--prebuilts .pc-config-actions:has(.pc-tile__warranty) .pc-tile__cta {
        grid-area: 2 / 2;
        justify-self: stretch;
    }
    .store-home .home-shelf--pcs-compact.home-shelf--prebuilts .pc-config-actions .pc-config-hint { grid-area: 3 / 1 / 4 / -1; }
}
