/* ===== 상품구매 페이지 ===== */

.product-intro .product-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.product-intro .product-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.product-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #715000;
}

.product-notice ul {
    margin-top: 4px;
    padding-left: 16px;
}

/* 이용 절차 */

.product-steps .section-title,
.product-list .section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    font-size: 13px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-body h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.step-body p {
    font-size: 13px;
    color: #666;
}

/* 상품 카드 */

.product-list-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.product-option {
    cursor: pointer;
}

.product-option input[type="radio"] {
    display: none;
}

.product-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 14px 12px;
    background: #fbfbfc;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color .2s ease, box-shadow .2s ease, transform .1s ease;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.plan-name {
    font-size: 15px;
    font-weight: 600;
}

.plan-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #555;
}

.plan-tag-best {
    background: #ffe4e6;
    color: #e11d48;
}

.plan-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.plan-meta {
    list-style: none;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.plan-meta li + li {
    margin-top: 2px;
}

.plan-price-wrap {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: #e53935;
}

.price-original {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #ffebee;
    color: #c62828;
    font-weight: 600;
}

/* 선택된 카드 강조 */

.product-option input[type="radio"]:checked + .product-card {
    border-color: #e53935;
    box-shadow: 0 0 0 1px rgba(229,57,53,0.1), 0 6px 16px rgba(15,23,42,0.06);
    background: #ffffff;
    transform: translateY(-1px);
}

/* 하단 버튼 */

.product-footer {
    margin-top: 16px;
    text-align: center;
}

.product-submit {
    min-width: 260px;
}

.product-footer-note {
    margin-top: 8px;
    font-size: 12px;
    color: #777;
}

/* 반응형 */

@media (max-width: 960px) {
    .step-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .step-list {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}
