/* BASIC css start */
/* ============================================================
   반품·교환 정책 페이지  (모든 클래스는 tmrp- 접두어: 메이크샵 공통 CSS와 충돌 방지)
   ============================================================ */
.tmrp {
    --blue: #1a5cff;
    --text: #1a1a2e;
    --sub: #6b7280;
    --line: #e5e7eb;
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px 56px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}
.tmrp *, .tmrp *::before, .tmrp *::after { box-sizing: border-box; }
/* 초기화 규칙은 :where() 로 우선순위 0 → 아래 개별 스타일이 항상 이김 */
.tmrp :where(ul, ol, li, dl, dd, dt, p, h2, h3) { margin: 0; padding: 0; list-style: none; }
.tmrp :where(a) { color: var(--blue); text-decoration: none; }
.tmrp a:hover { text-decoration: underline; }
.tmrp-blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- 상단 히어로 --- */
.tmrp-hero {
    padding: 40px 28px 36px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1a5cff 0%, #0a3fc0 100%);
    border-radius: 20px;
}
.tmrp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; opacity: .75; }
.tmrp-title { margin-top: 6px; font-size: 32px; font-weight: 800; line-height: 1.3; color: #fff; }
.tmrp-lead { margin-top: 14px; font-size: 15px; line-height: 1.8; opacity: .92; }

/* --- 한눈에 보기 --- */
.tmrp-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.tmrp-sum li { padding: 20px 20px 22px; background: var(--bg); border: 1px solid var(--bd); border-top: 4px solid var(--c); border-radius: 14px; }
.tmrp-sum-ok  { --c: #0f766e; --bg: #f0fdfa; --bd: #b7ece5; }
.tmrp-sum-no  { --c: #dc2626; --bg: #fef2f2; --bd: #fbcaca; }
.tmrp-sum-fix { --c: #1a5cff; --bg: #eff4ff; --bd: #c7d7ff; }
.tmrp-sum b { display: block; font-size: 13px; font-weight: 800; color: var(--c); }
.tmrp-sum strong { display: block; margin-top: 8px; font-size: 19px; font-weight: 800; line-height: 1.45; color: var(--text); }
.tmrp-sum p { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--sub); }

/* --- 섹션 공통 --- */
.tmrp-sec { margin-top: 40px; }
.tmrp-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; font-size: 21px; font-weight: 800; line-height: 1.4; color: var(--text); border-bottom: 2px solid var(--text); }
.tmrp-h b {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto; min-width: 30px; height: 30px; padding: 0 8px;
    font-size: 14px; font-weight: 800; color: #fff;
    background: var(--blue); border-radius: 10px;
}
.tmrp-note { margin-top: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.7; color: var(--sub); background: #f5f6fa; border-radius: 10px; }

/* --- 표 (공통 CSS의 table 규칙: 글자 중간 줄바꿈 등을 덮어씀) --- */
.tmrp .tmrp-table { width: 100%; max-width: 100%; border-collapse: collapse; table-layout: auto; word-break: keep-all !important; }
.tmrp .tmrp-table th, .tmrp .tmrp-table td {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid var(--line);
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}
.tmrp .tmrp-table th { font-weight: 800; background: #f5f6fa; }
.tmrp .tmrp-table td strong { font-weight: 800; }
.tmrp .tmrp-table td:first-child { width: 36%; }
.tmrp .tmrp-table td:last-child { width: 22%; }

/* --- 목록 --- */
.tmrp-list { margin-top: 16px; }
.tmrp-list li { position: relative; padding: 5px 0 5px 18px; font-size: 15px; line-height: 1.75; word-break: keep-all; }
.tmrp-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.tmrp-list-no li::before { background: #dc2626; }

/* --- 인쇄(주문제작) 상품 안내 강조 박스 --- */
.tmrp-print { padding: 26px 26px 28px; background: #fff8e1; border: 1px solid #ffe082; border-radius: 18px; }
.tmrp-print .tmrp-h { border-bottom-color: #e0a800; }
.tmrp-print .tmrp-h b { background: #d97706; }
.tmrp-print-lead { margin-top: 16px; font-size: 18px; font-weight: 600; line-height: 1.65; color: var(--text); word-break: keep-all; }
.tmrp-print-lead strong { font-weight: 800; color: #b91c1c; background: linear-gradient(transparent 62%, #fde68a 62%); }
.tmrp-print .tmrp-list li::before { background: #d97706; }
.tmrp-check { margin-top: 18px; padding: 18px 20px; background: #fff; border: 1px dashed #e0a800; border-radius: 14px; }
.tmrp-check-t { font-size: 15px; font-weight: 800; color: #b45309; }
.tmrp-check ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.tmrp-check li { padding: 4px 14px; font-size: 13px; font-weight: 700; color: #92400e; background: #fef3c7; border-radius: 999px; }
.tmrp-check p:last-child { font-size: 13px; line-height: 1.75; color: #4b5563; word-break: keep-all; }

/* --- 신청 방법 단계 --- */
.tmrp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.tmrp-steps li { padding: 16px 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tmrp-steps b {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; font-size: 13px; font-weight: 800; color: #fff;
    background: var(--blue); border-radius: 50%;
}
.tmrp-steps strong { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; }
.tmrp-steps p { margin-top: 6px; font-size: 13px; line-height: 1.65; color: var(--sub); word-break: keep-all; }

/* --- 고객센터 · 판매자 정보 --- */
.tmrp-info { margin-top: 16px; border-top: 1px solid var(--line); }
.tmrp-info div { display: flex; gap: 16px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.tmrp-info dt { flex: 0 0 150px; font-size: 14px; font-weight: 800; color: var(--sub); }
.tmrp-info dd { flex: 1; font-size: 14px; word-break: keep-all; }

.tmrp-foot { margin-top: 36px; padding-top: 20px; font-size: 13px; line-height: 1.8; color: var(--sub); text-align: center; border-top: 1px solid var(--line); word-break: keep-all; }

/* --- 반응형 --- */
@media (max-width: 960px) {
    .tmrp-sum { grid-template-columns: 1fr; }
    .tmrp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .tmrp { padding: 12px 10px 40px; font-size: 14px; }
    .tmrp-hero { padding: 28px 16px 24px; border-radius: 16px; }
    .tmrp-title { font-size: 25px; }
    .tmrp-lead { font-size: 13px; }
    .tmrp-lead br { display: none; }
    .tmrp-h { font-size: 18px; }
    .tmrp-print { padding: 18px 14px 20px; }
    .tmrp-print-lead { font-size: 16px; }
    .tmrp-steps { grid-template-columns: 1fr; }
    .tmrp-info div { flex-direction: column; gap: 2px; }
    .tmrp-info dt { flex: none; }
    /* 표 → 카드형 */
    .tmrp .tmrp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .tmrp .tmrp-table, .tmrp .tmrp-table tbody, .tmrp .tmrp-table tr, .tmrp .tmrp-table td { display: block; width: 100%; }
    .tmrp .tmrp-table tr { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
    .tmrp .tmrp-table td, .tmrp .tmrp-table td:first-child, .tmrp .tmrp-table td:last-child { width: 100%; padding: 10px 14px; }
    .tmrp .tmrp-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 800; color: var(--sub); }
    .tmrp .tmrp-table td:first-child { background: #f5f6fa; }
}

/* BASIC css end */

