.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    background:
        radial-gradient(
            circle at 78% 25%,
            rgba(76, 181, 232, 0.18),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #0d1928 0%,
            #152a40 55%,
            #123b58 100%
        );
}

.legal-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.legal-hero-shape-one {
    width: 500px;
    height: 500px;
    top: -330px;
    right: -120px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-hero-shape-two {
    width: 270px;
    height: 270px;
    left: 8%;
    bottom: -200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.legal-breadcrumb a,
.legal-breadcrumb span {
    color: #aebdcc;
    font-size: 13px;
    line-height: 18px;
    text-decoration: none;
}

.legal-breadcrumb a {
    transition: color 0.2s ease;
}

.legal-breadcrumb a:hover {
    color: #ffffff;
}

.legal-breadcrumb span {
    color: #ffffff;
}

.legal-breadcrumb svg {
    width: 16px;
    height: 16px;
    color: #718397;
}

.legal-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    color: #d7edf8;
    font-size: 12px;
    line-height: 17px;
    font-weight: 500;
}

.legal-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--trx-primary, #4cb5e8);
    box-shadow: 0 0 0 5px rgba(76, 181, 232, 0.12);
}

.legal-hero h1 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(45px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -2.2px;
    font-weight: 700;
}

.legal-hero-content > p {
    max-width: 680px;
    margin-bottom: 34px;
    color: #becbd8;
    font-size: 17px;
    line-height: 29px;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.legal-meta-item {
    min-width: 245px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.05);
}

.legal-meta-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #65c4ee;
}

.legal-meta-item span,
.legal-meta-item strong {
    display: block;
}

.legal-meta-item span {
    margin-bottom: 2px;
    color: #8fa0b2;
    font-size: 10px;
    line-height: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-meta-item strong {
    color: #ffffff;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
}

.legal-page {
    padding: 90px 0 110px;
    background: #f6f9fc;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}

.legal-sidebar {
    position: sticky;
    top: 105px;
}

.legal-toc {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e3eaf0;
    border-radius: 17px;
    background: #ffffff;
}

.legal-toc-heading {
    padding: 18px 20px;
    border-bottom: 1px solid #e9eef2;
}

.legal-toc-heading span {
    color: #172536;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.legal-toc-links {
    padding: 10px;
}

.legal-toc-links a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: #667487;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.legal-toc-links a:hover {
    color: var(--trx-primary-dark, #2b7ec0);
    background: #eff8fc;
}

.legal-help-card {
    padding: 23px;
    border: 1px solid #dbe8ef;
    border-radius: 17px;
    background: #edf8fd;
}

.legal-help-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    color: var(--trx-primary-dark, #2b7ec0);
    background: #ffffff;
}

.legal-help-icon svg {
    width: 22px;
    height: 22px;
}

.legal-help-card h3 {
    margin-bottom: 8px;
    color: #172536;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.legal-help-card p {
    margin-bottom: 17px;
    color: #6c798a;
    font-size: 12px;
    line-height: 20px;
}

.legal-help-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--trx-primary-dark, #2b7ec0);
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    text-decoration: none;
}

.legal-help-card a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.legal-help-card a:hover svg {
    transform: translateX(3px);
}

.legal-main {
    min-width: 0;
}

.legal-mobile-toc {
    display: none;
    margin-bottom: 22px;
    border: 1px solid #e3eaf0;
    border-radius: 14px;
    background: #ffffff;
}

.legal-mobile-toc summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 18px;
    color: #172536;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.legal-mobile-toc summary::-webkit-details-marker {
    display: none;
}

.legal-mobile-toc summary svg {
    width: 19px;
    height: 19px;
    transition: transform 0.2s ease;
}

.legal-mobile-toc[open] summary svg {
    transform: rotate(180deg);
}

.legal-mobile-toc-links {
    padding: 4px 12px 14px;
    border-top: 1px solid #edf0f3;
}

.legal-mobile-toc-links a {
    display: block;
    padding: 9px 6px;
    color: #657386;
    font-size: 13px;
    line-height: 19px;
    text-decoration: none;
}

.legal-content {
    overflow: hidden;
    border: 1px solid #e3eaf0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgba(24, 47, 70, 0.05);
}

.legal-section {
    position: relative;
    padding: 46px 50px;
    border-bottom: 1px solid #ebeff3;
    scroll-margin-top: 110px;
}

.legal-section:last-child {
    border-bottom: 0;
}

.legal-section-number {
    margin-bottom: 13px;
    color: var(--trx-primary, #4cb5e8);
    font-size: 12px;
    line-height: 17px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.legal-section h2 {
    margin-bottom: 21px;
    color: #172536;
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.legal-section h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: #26394c;
    font-size: 17px;
    line-height: 25px;
    font-weight: 600;
}

.legal-section h2 + h3 {
    margin-top: 0;
}

.legal-section p {
    margin-bottom: 17px;
    color: #667487;
    font-size: 15px;
    line-height: 27px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: #27394b;
    font-weight: 600;
}

.legal-section ul {
    margin: 15px 0 24px;
    padding: 0;
}

.legal-section ul:last-child {
    margin-bottom: 0;
}

.legal-section li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 25px;
    color: #667487;
    font-size: 15px;
    line-height: 26px;
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.legal-section li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--trx-primary, #4cb5e8);
    box-shadow: 0 0 0 4px rgba(76, 181, 232, 0.09);
}

.legal-intro {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
    padding: 38px 50px;
    background:
        linear-gradient(
            135deg,
            rgba(76, 181, 232, 0.07),
            rgba(76, 181, 232, 0.02)
        );
}

.legal-intro-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--trx-primary-dark, #2b7ec0);
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(28, 80, 115, 0.08);
}

.legal-intro-icon svg {
    width: 26px;
    height: 26px;
}

.legal-intro h2 {
    margin-bottom: 13px;
    font-size: 22px;
    line-height: 30px;
}

.legal-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.legal-contact-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #e3eaf0;
    border-radius: 13px;
    background: #fafcfd;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.legal-contact-card:hover {
    transform: translateY(-2px);
    border-color: #cce4f0;
    background: #f1f9fd;
}

.legal-contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    color: var(--trx-primary-dark, #2b7ec0);
    background: #e8f6fc;
}

.legal-contact-icon svg {
    width: 22px;
    height: 22px;
}

.legal-contact-card span,
.legal-contact-card strong {
    display: block;
}

.legal-contact-card span {
    margin-bottom: 2px;
    color: #8390a0;
    font-size: 10px;
    line-height: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.legal-contact-card strong {
    color: #26384a;
    font-size: 13px;
    line-height: 19px;
    font-weight: 600;
}

.legal-footer-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid #e3eaf0;
    border-radius: 13px;
    background: #ffffff;
}

.legal-footer-note svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #778698;
}

.legal-footer-note p {
    color: #758295;
    font-size: 12px;
    line-height: 18px;
}

.legal-footer-note strong {
    color: #425266;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .legal-layout {
        grid-template-columns: 245px minmax(0, 1fr);
        gap: 28px;
    }

    .legal-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .legal-intro {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 940px) {
    .legal-hero {
        padding: 75px 0 82px;
    }

    .legal-layout {
        display: block;
    }

    .legal-sidebar {
        display: none;
    }

    .legal-mobile-toc {
        display: block;
    }

    .legal-page {
        padding: 60px 0 80px;
    }
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 60px 0 68px;
    }

    .legal-breadcrumb {
        margin-bottom: 24px;
    }

    .legal-hero h1 {
        font-size: 43px;
        line-height: 49px;
        letter-spacing: -1.5px;
    }

    .legal-hero-content > p {
        font-size: 15px;
        line-height: 26px;
    }

    .legal-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .legal-meta-item {
        min-width: 0;
    }

    .legal-page {
        padding: 48px 0 65px;
    }

    .legal-content {
        border-radius: 16px;
    }

    .legal-section {
        padding: 35px 28px;
    }

    .legal-section h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .legal-section h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 14px;
        line-height: 25px;
    }

    .legal-intro {
        grid-template-columns: 1fr;
        padding: 32px 28px;
    }

    .legal-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .legal-hero h1 {
        font-size: 38px;
        line-height: 44px;
    }

    .legal-meta {
        grid-template-columns: 1fr;
    }

    .legal-meta-item {
        width: 100%;
    }

    .legal-section {
        padding: 30px 22px;
    }

    .legal-intro {
        padding: 28px 22px;
    }

    .legal-footer-note {
        align-items: flex-start;
    }
}
.legal-policy-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 18px 20px;
    border: 1px solid #dbe8ef;
    border-radius: 14px;
    background: #f1f9fd;
}

.legal-policy-link strong,
.legal-policy-link span {
    display: block;
}

.legal-policy-link strong {
    margin-bottom: 3px;
    color: #26394b;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.legal-policy-link span {
    color: #758295;
    font-size: 12px;
    line-height: 18px;
}

.legal-policy-link a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--trx-primary-dark, #2b7ec0);
    font-size: 13px;
    line-height: 19px;
    font-weight: 600;
    text-decoration: none;
}

.legal-policy-link a svg {
    width: 17px;
    height: 17px;
    transition: transform 0.2s ease;
}

.legal-policy-link a:hover svg {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .legal-policy-link {
        flex-direction: column;
        align-items: flex-start;
    }
}
.return-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 26px;
}

.return-summary-card {
    padding: 24px;
    border: 1px solid #e3eaf0;
    border-radius: 16px;
    background: #fafcfd;
}

.return-summary-card-cod {
    border-color: #cfe9dd;
    background: #f6fcf9;
}

.return-summary-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.return-summary-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--trx-primary-dark, #2b7ec0);
    background: #e9f6fc;
}

.return-summary-card-cod .return-summary-icon {
    color: #198754;
    background: #e7f6ee;
}

.return-summary-icon svg {
    width: 23px;
    height: 23px;
}

.return-summary-label {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 20px;
    color: #4e6072;
    background: #eef2f5;
    font-size: 10px;
    line-height: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.return-summary-card-cod .return-summary-label {
    color: #21754d;
    background: #e5f4ec;
}

.return-summary-card h3 {
    margin: 0 0 10px;
    color: #26394b;
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
}

.return-summary-card > p {
    min-height: 52px;
    margin-bottom: 22px;
    color: #708093;
    font-size: 13px;
    line-height: 22px;
}

.return-summary-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-top: 1px solid #e8edf1;
}

.return-summary-detail span {
    color: #8490a0;
    font-size: 11px;
    line-height: 16px;
}

.return-summary-detail strong {
    color: #384b5e;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-align: right;
}

.return-summary-detail .return-status-no {
    color: #b54747;
}

.return-summary-detail .return-status-yes {
    color: #198754;
}

.return-deadline-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid #f0dfbd;
    border-radius: 14px;
    background: #fffaf0;
}

.return-deadline-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    color: #aa7921;
    background: #fff2d5;
}

.return-deadline-icon svg {
    width: 22px;
    height: 22px;
}

.return-deadline-box strong {
    display: block;
    margin-bottom: 4px;
    color: #6f5524;
    font-size: 13px;
    line-height: 19px;
}

.return-deadline-box p {
    margin: 0;
    color: #826f4c;
    font-size: 12px;
    line-height: 20px;
}

.return-refund-box {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 26px;
    padding: 18px 20px;
    border: 1px solid #cfe7da;
    border-radius: 14px;
    background: #f3fbf7;
}

.return-refund-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    color: #198754;
    background: #e2f4ea;
}

.return-refund-icon svg {
    width: 23px;
    height: 23px;
}

.return-refund-box span,
.return-refund-box strong {
    display: block;
}

.return-refund-box span {
    margin-bottom: 3px;
    color: #6e8178;
    font-size: 11px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.return-refund-box strong {
    color: #276647;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .return-summary-grid {
        grid-template-columns: 1fr;
    }

    .return-summary-card > p {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .return-summary-card {
        padding: 20px;
    }

    .return-summary-detail {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .return-summary-detail strong {
        text-align: left;
    }

    .return-deadline-box,
    .return-refund-box {
        padding: 16px;
    }
}
