/* Device catalogue: scoped to the home section, shared service pickers keep their layout. */
#rs.ad-device-showcase {
    --device-ground: #f4f5f6;
    --device-ink: #202126;
    --device-secondary: #53555d;
    --device-accent: #5732a8;
    padding: 72px 0;
    background: #fff;
    color: var(--device-ink);
}
#rs.ad-device-showcase::before,
#rs.ad-device-showcase .ad-device-card::before,
#rs.ad-device-showcase .ad-device-card::after { display: none; }
#rs.ad-device-showcase .ad-device-picker-shell { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
#rs.ad-device-showcase .ad-device-picker-head { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
#rs.ad-device-showcase .ad-device-picker-copy h2 { max-width: 650px; margin-bottom: 16px; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -.03em; color: var(--device-ink); font-weight: 750; }
#rs.ad-device-showcase .ad-device-picker-copy p { max-width: 490px; font-size: 17px; line-height: 1.5; color: var(--device-secondary); }
#rs.ad-device-showcase .ad-device-search { margin: 0; }
#rs.ad-device-showcase .ad-device-search input { min-height: 56px; padding-left: 48px; border: 1px solid #d6d7dd; border-radius: 12px; background: #fff; color: var(--device-ink); font-size: 16px; font-weight: 400; box-shadow: none; }
#rs.ad-device-showcase .ad-device-search input::placeholder { color: var(--device-secondary); opacity: 1; }
#rs.ad-device-showcase .ad-device-search .fa { left: 18px; color: var(--device-secondary); }
#rs.ad-device-showcase :is(a,input):focus-visible { outline: 3px solid var(--device-accent); outline-offset: 4px; }
#rs.ad-device-showcase .ad-device-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-top: 36px; }
#rs.ad-device-showcase .ad-device-card { min-width: 0; min-height: 350px; padding: 24px; border: 0; border-radius: 16px; background: var(--device-ground); box-shadow: none; color: var(--device-ink); transform: none; transition: background-color 180ms ease; }
#rs.ad-device-showcase .ad-device-card-main { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin: 0 0 10px; }
#rs.ad-device-showcase .ad-device-card-media { display: flex; align-items: center; justify-content: center; height: 170px; }
#rs.ad-device-showcase .ad-device-photo { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 220ms ease; }
#rs.ad-device-showcase .ad-device-card-headline strong { font-size: 26px; line-height: 1.12; font-weight: 750; letter-spacing: -.025em; color: var(--device-ink); text-wrap: initial; }
#rs.ad-device-showcase .ad-device-card-content span { font-size: 14px; line-height: 1.5; color: var(--device-secondary); }
#rs.ad-device-showcase .ad-device-card-action { gap: 8px; margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 650; color: var(--device-accent); }
#rs.ad-device-showcase .ad-device-card-action .ad-device-arrow { width: 28px; height: 28px; color: var(--device-ink); background: transparent; box-shadow: none; }
#rs.ad-device-showcase .ad-device-model-results,
#rs.ad-device-showcase .ad-device-no-results { border: 0; border-radius: 16px; background: var(--device-ground); box-shadow: none; color: var(--device-ink); }
#rs.ad-device-showcase .ad-device-model-result { background: #fff; border: 0; box-shadow: none; }
#rs.ad-device-showcase .ad-device-model-result :is(strong,small,em) { color: var(--device-ink); }
#rs.ad-device-showcase .ad-device-no-results a { color: var(--device-accent); }
#rs.ad-device-showcase ::selection { background: #dfd5f3; color: #202126; }
@media (hover:hover) and (pointer:fine) {
    #rs.ad-device-showcase .ad-device-card:hover { background: #eaecef; }
    #rs.ad-device-showcase .ad-device-card:hover .ad-device-photo { transform: translateY(-5px) scale(1.025); }
}
@media (max-width: 991px) {
    #rs.ad-device-showcase .ad-device-picker-head { grid-template-columns: 1fr; gap: 24px; }
    #rs.ad-device-showcase .ad-device-search { max-width: 560px; width: 100%; }
    #rs.ad-device-showcase .ad-device-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575px) {
    #rs.ad-device-showcase { padding: 40px 0; }
    #rs.ad-device-showcase .container { padding-right: 16px; padding-left: 16px; }
    #rs.ad-device-showcase .ad-device-picker-copy h2 { max-width: 340px; font-size: 34px; margin-bottom: 12px; }
    #rs.ad-device-showcase .ad-device-picker-copy p { font-size: 16px; }
    #rs.ad-device-showcase .ad-device-grid { gap: 10px; margin-top: 24px; }
    #rs.ad-device-showcase .ad-device-card { min-height: 280px; padding: 16px 14px; border-radius: 14px; }
    #rs.ad-device-showcase .ad-device-card-media { height: 118px; }
    #rs.ad-device-showcase .ad-device-card-main { gap: 16px; }
    #rs.ad-device-showcase .ad-device-card-headline strong { font-size: 21px; }
    #rs.ad-device-showcase .ad-device-card-content span { font-size: 13px; line-height: 1.4; }
    #rs.ad-device-showcase .ad-device-card-action { font-size: 12px; padding-top: 14px; gap: 4px; }
    #rs.ad-device-showcase .ad-device-card-action .ad-device-arrow { width: 24px; height: 24px; flex-shrink: 0; }
    #rs.ad-device-showcase .ad-device-no-results { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    #rs.ad-device-showcase :is(.ad-device-photo,.ad-device-card,.ad-device-card-action .ad-device-arrow) { transition: none; transform: none; }
}

#rs.ad-device-showcase .ad-device-search-symbol { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--device-secondary); pointer-events: none; }
#rs.ad-device-showcase [hidden] { display: none !important; }
#rs.ad-device-showcase .ad-device-no-results a { background: var(--device-accent); color: #fff; box-shadow: none; }
@media (max-width: 575px) {
    #rs.ad-device-showcase .ad-device-card-action { font-size: 13px; }
}
