/* Return & Refund Policy (2026-10-31) - same noghotok-style policy layout as the Terms pages
   (application/views/homePage/termsAndCondition.php): centred hero with an eyebrow label, version
   and updated line, one narrow reading column in a bordered card, dot bullets, and a "Questions?"
   contact card. Mobile first; state and emphasis use borders and text colour, never a tinted fill
   (CLAUDE.md "UI Visual Style - Keep It Standard"). Duplicated here rather than shared because this
   page is hand-authored HTML (not the Terms editor's rich-text blob) and needs its own stat callout. */
.terms-page { max-width: 1200px; margin: 0 auto; padding: 0 12px 48px; box-sizing: border-box; }
.terms-page .breadcrumb { padding: 18px 0 0; }

.terms-hero { padding: 28px 0 20px; text-align: center; }
.terms-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--green-dark, #0E7A38); margin-bottom: 12px;
}
.terms-eyebrow::before,
.terms-eyebrow::after { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .4; }
.terms-title {
    margin: 0 0 10px; font-size: 1.75rem; font-weight: 700; line-height: 1.2;
    letter-spacing: -0.5px; color: #1C1C1A; overflow-wrap: anywhere;
}
.terms-title-accent { color: var(--green, #149A49); }
.terms-meta { margin: 0; font-size: 0.8125rem; color: #6B6964; }
.terms-lang-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; margin-top: 14px; padding: 0 18px;
    border: 1.5px solid var(--green, #149A49); border-radius: 999px; background: #fff;
    color: var(--green-dark, #0E7A38); font-size: 0.8125rem; font-weight: 700; text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.terms-lang-btn:hover { background: var(--green, #149A49); color: #fff; }

.terms-column { max-width: 800px; margin: 0 auto; }
.terms-card { background: #fff; border: 1px solid #E8E8E4; border-radius: 12px; padding: 20px 18px; }

.terms-content { font-size: 0.9375rem; line-height: 1.7; color: #44403C; overflow-wrap: anywhere; }
.terms-content > :first-child { margin-top: 0; }
.terms-content h1, .terms-content h2, .terms-content h3 {
    color: #1A1612; font-weight: 700; line-height: 1.35; margin: 22px 0 10px;
    /* Clears the pinned search bar (.search-wrap.pinned) so an anchor jump (#refund-timeline etc.) is not hidden under it. */
    scroll-margin-top: 90px;
}
.terms-content h2 { font-size: 1.0625rem; padding-top: 18px; border-top: 1px solid #F0EDE8; }
.terms-content > .terms-content-section:first-of-type h2,
.terms-content h2:first-child { border-top: none; padding-top: 0; }
.terms-content h3 { font-size: 1rem; }
.terms-content p { margin: 0 0 12px; }
.terms-content ul, .terms-content ol { margin: 12px 0; padding-left: 0; }
.terms-content ul { list-style: none; }
.terms-content ol { padding-left: 22px; }
.terms-content ul > li { position: relative; padding: 4px 0 4px 20px; }
.terms-content ul > li::before {
    content: ''; position: absolute; left: 4px; top: calc(0.85em + 1px);
    width: 6px; height: 6px; border-radius: 50%; background: var(--green, #149A49);
}
.terms-content ol > li { padding: 4px 0; }
.terms-content a { color: var(--green-dark, #0E7A38); text-decoration: underline; }
.terms-content strong { font-weight: 700; color: #1A1612; }
/* A bold link stays the link's green, not the generic bold-text colour above. */
.terms-content a strong { color: inherit; }
.terms-content .callout {
    margin: 14px 0; padding: 12px 14px; border: 1px solid #E8E8E4; border-left: 3px solid var(--green, #149A49);
    border-radius: 0 8px 8px 0; background: #fff; font-size: 0.875rem;
}
.terms-content .callout.is-warning { border-left-color: #B45309; }

/* The 7-10 working day stat, and the cancellation cut-off - the two figures SSLCommerz checks
   for. Border-only, large number, no tinted fill. */
.policy-stat {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px;
    margin: 14px 0; padding: 14px 16px; border: 1.5px solid var(--green, #149A49); border-radius: 10px;
}
.policy-stat-number { font-size: 1.75rem; font-weight: 700; color: var(--green-dark, #0E7A38); line-height: 1; }
.policy-stat-text { font-size: 0.875rem; color: #44403C; }

.terms-help {
    margin-top: 16px; padding: 22px 18px; text-align: center;
    background: #fff; border: 1px solid #E8E8E4; border-radius: 12px;
}
.terms-help-title { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; color: #1C1C1A; }
.terms-help-text { margin: 0 0 14px; font-size: 0.875rem; color: #6B6964; }
.terms-help-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 22px; border-radius: 8px;
    background: var(--green, #149A49); color: #fff; font-size: 0.875rem; font-weight: 700; text-decoration: none;
}
.terms-help-btn:hover { background: var(--green-dark, #0E7A38); color: #fff; }

@media (min-width: 768px) {
    .terms-page { padding-bottom: 64px; }
    .terms-hero { padding: 44px 0 28px; }
    .terms-title { font-size: 2.75rem; letter-spacing: -1px; }
    .terms-card { padding: 28px 32px; }
    .terms-content h2 { font-size: 1.125rem; }
    .policy-stat-number { font-size: 2.25rem; }
    .terms-help { padding: 26px 32px; }
}
