/* DEC-278 — the admin's «قوالب المحلات» pages: Dnairo's own cards and tabs, plus the phone frames. */
.stt-empty { margin-block-start: 24px; }
.stt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-block-start: 20px; }
.stt-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; transition: box-shadow .15s ease, transform .15s ease; }
.stt-card:hover, .stt-card:focus-within { box-shadow: var(--shadow-md, 0 6px 18px rgba(16, 24, 40, .12)); transform: translateY(-2px); }
.stt-card__phone { aspect-ratio: 9 / 17; margin-block-end: 8px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.stt-card__phone iframe { display: block; width: 100%; border: 0; pointer-events: none; }
.stt-card__link { color: var(--ink-900); font-weight: 700; }
/* The whole card is the link: an iframe may not sit inside an anchor, so the link is stretched over it. */
.stt-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stt-card__link:focus-visible { outline: none; }
.stt-card:focus-within { outline: 2px solid var(--brand-500); outline-offset: 2px; }

.stt-screens { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-block-start: 20px; padding: 24px 16px; border-radius: 16px; }
.stt-screen { display: grid; gap: 10px; width: min(300px, 100%); margin: 0; text-align: center; }
.stt-screen--wide { width: 100%; }
.stt-screen figcaption { color: var(--ink-900); font-weight: 700; font-size: 14px; }
.stt-device { position: relative; width: 100%; padding: 0; border-radius: 34px; background: #111014; box-shadow: 0 0 0 6px #111014, 0 16px 34px rgba(16, 24, 40, .22); overflow: hidden; }
.stt-device iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 28px; background: #fff; }

/* DEC-289 — the owner's picker: the design in use */
.stt-card.is-picked { outline: 3px solid var(--brand-500, #F2571C); outline-offset: 2px; }
