/* ---------- Filter pills ---------- */
.sample-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.sample-filter {
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
    color: #495057;
    border-radius: 50rem;
    padding: .5rem 1.1rem;
    font-size: .9rem;
    font-weight: 500;
    transition: background-color .15s, color .15s, border-color .15s;
}

.sample-filter:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.sample-filter.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.sample-filter:focus-visible {
    outline: 3px solid rgba(var(--bs-primary-rgb), .4);
    outline-offset: 2px;
}

/* ---------- Sample tile ---------- */
.sample-tile {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 1.25rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}

.sample-tile:hover {
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .09);
    transform: translateY(-3px);
}

.sample-stage {
    background: color-mix(in srgb, var(--accent) 9%, #f6f7fb);
    padding: 1.75rem 1rem 0;
    display: flex;
    justify-content: center;
    height: 340px;
    overflow: hidden;
}

/* ---------- Phone mockup ---------- */
.phone {
    width: 210px;
    background: #fff;
    border: 7px solid #1d2230;
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .15);
}

.phone-cover {
    height: 82px;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000));
}

.phone-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 .25rem .6rem rgba(0, 0, 0, .15);
    margin: -31px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.6rem;
    position: relative;
}

.phone-body {
    padding: .6rem .9rem 1rem;
    text-align: center;
}

.phone-name {
    font-weight: 700;
    font-size: .95rem;
    margin: 0;
    color: #1d2230;
}

.phone-role {
    font-size: .72rem;
    color: #6c757d;
    margin-bottom: .75rem;
}

.phone-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .4rem;
    margin-bottom: .75rem;
}

.phone-action {
    aspect-ratio: 1;
    border-radius: .75rem;
    background: color-mix(in srgb, var(--accent) 12%, #fff);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.phone-line {
    height: 9px;
    border-radius: 5px;
    background: #eceef3;
    margin: .4rem auto 0;
}

.phone-line:nth-child(1) {
    width: 92%;
}

.phone-line:nth-child(2) {
    width: 78%;
}

.phone-line:nth-child(3) {
    width: 85%;
}

.phone-shot {
    width: 210px;
    border-radius: 28px 28px 0 0;
    border: 7px solid #1d2230;
    border-bottom: 0;
    object-fit: cover;
    object-position: top;
}

/* ---------- Tile text ---------- */
.sample-type {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent);
}

.sample-chip {
    font-size: .75rem;
    padding: .25rem .6rem;
    border-radius: 50rem;
    background: #f1f3f7;
    color: #495057;
}

.sample-count {
    min-height: 1.5rem;
}
