/* ========================================
   자주하는 검사 페이지
   ======================================== */

.tp-section {
    background: #f5f3ef;
    padding: 64px 0 96px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}
.tp-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 60px;
    background: #f5f3ef;
    border-radius: 30px 30px 0 0;
}
.tp-section .container { position: relative; z-index: 1; }

/* ===== 카드 그리드 ===== */
.tp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tp-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px 26px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}
.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.09);
}

.tp-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.tp-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.tp-icon i {
    font-size: 2rem;
    color: var(--color-sub-accent);
}

.tp-name {
    font-size: 1.02rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
    letter-spacing: -0.3px;
    line-height: 1.4;
}
.tp-desc {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.5;
    margin: 0 0 18px;
    min-height: 2.4em;
}
.tp-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-sub-accent);
    margin: 0;
    margin-top: auto;
    letter-spacing: -0.3px;
}

/* 빈 상태 */
.tp-empty {
    text-align: center;
    padding: 80px 0;
    color: #999;
}
.tp-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

/* ===== 전체 보기 버튼 ===== */
.tp-footer {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}
.tp-view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 38px;
    border: 1.5px solid #c8102e;
    color: #c8102e;
    background: #fff;
    border-radius: 100px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.tp-view-all-btn:hover {
    background: #c8102e;
    color: #fff;
}

/* ===== 반응형 ===== */
@media (max-width: 1199px) {
    .tp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .tp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .tp-card { padding: 22px 20px; }
}
@media (max-width: 480px) {
    .tp-grid { grid-template-columns: 1fr; }
}
