/* Stage 2 — internal pages REFRESH, Concept 02 v2, batch 02. */

/* Returns and complaints: long legal copy with calmer hierarchy. */
.th-inner-page--returns .th-inner-content-card {
    padding-top: 34px;
}

.th-inner-page--returns .th-inner-rich {
    max-width: 1120px;
}

.th-inner-page--returns .th-inner-rich > div:first-child:empty,
.th-inner-page--returns .th-inner-rich > div:first-child {
    min-height: 0;
}

.th-inner-page--returns .th-inner-rich > div:nth-child(2) > p,
.th-inner-page--returns .th-inner-rich > div:nth-child(2) > div {
    margin: 0 0 16px;
}

.th-inner-page--returns .th-inner-rich > div:nth-child(2) > p:nth-child(2) {
    margin: 0 0 10px;
    padding: 22px 24px;
    color: var(--th-ink);
    background: linear-gradient(118deg, #FFF8EF, #FFF0DF);
    border-left: 3px solid var(--th-orange);
    border-radius: 0 14px 14px 0;
}

.th-inner-page--returns .th-inner-rich > div:nth-child(2) > p:nth-child(2) span {
    font-size: 20px !important;
    line-height: 1.45;
}

.th-inner-page--returns .th-inner-rich h2,
.th-inner-page--returns .th-inner-rich > div:nth-child(2) > strong,
.th-inner-page--returns .th-inner-rich > div:nth-child(2) > p > strong:only-child {
    display: block;
    margin: 34px 0 14px;
    color: var(--th-ink);
    font-size: 21px !important;
    font-weight: 500;
    line-height: 1.35;
}

.th-inner-page--returns .th-inner-rich h2 {
    padding-top: 28px;
    border-top: 1px solid var(--th-line);
}

.th-inner-page--returns .th-inner-rich ul,
.th-inner-page--returns .th-inner-rich ol {
    margin: 12px 0 28px;
    padding: 20px 24px 20px 44px;
    background: var(--th-surface-soft);
    border: 1px solid var(--th-line);
    border-radius: 15px;
}

.th-inner-page--returns .th-inner-rich li {
    margin-bottom: 12px;
    padding-left: 4px;
}

.th-inner-page--returns .th-inner-rich li:last-child {
    margin-bottom: 0;
}

.th-inner-page--returns .th-inner-rich hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid var(--th-line);
    opacity: 1;
}

.th-inner-page--returns .th-inner-rich img {
    display: block;
    width: auto !important;
    max-width: min(100%, 760px) !important;
    height: auto !important;
    margin: 24px auto;
    border-radius: 14px;
    box-shadow: var(--th-shadow-sm);
}

.th-inner-page--returns .th-inner-rich span[style*="color:#ff0000"],
.th-inner-page--returns .th-inner-rich span[style*="color: #ff0000"] {
    color: #C83A2E !important;
}

/* Contacts: information and form are equal, clearly separated tasks. */
.th-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    align-items: start;
    gap: 22px;
}

.th-contact-grid .th-inner-content-card {
    padding: 32px;
}

.th-contact-details {
    color: #3D4653;
    font-size: 16px;
    line-height: 1.7;
}

.th-contact-details,
.th-contact-details * {
    font-family: "Segoe UI", Arial, sans-serif !important;
}

.th-contact-details .map-left {
    float: none;
    width: 100%;
    max-width: none;
    padding: 24px;
    color: var(--th-ink);
    background: var(--th-surface-soft);
    border: 1px solid var(--th-line);
    border-radius: 14px;
}

.th-contact-details .map-left > div:first-child {
    margin-bottom: 18px;
}

.th-contact-details .contact-box {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 8px 0 0;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--th-line);
    border-radius: 10px;
}

.th-contact-details a {
    color: var(--th-orange-hover);
    text-decoration: none;
}

.th-contact-map {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 14px;
    box-shadow: var(--th-shadow-sm);
}

.th-contact-map iframe {
    display: block;
    width: 100% !important;
    height: 390px !important;
    border: 0 !important;
}

.th-contact-form h2 {
    margin: 0 0 24px;
    color: var(--th-ink);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
}

.th-contact-form .form-group {
    margin-bottom: 16px;
}

.th-contact-form .control-label {
    display: block;
    margin: 0 0 7px;
    color: #394250;
    font-size: 14px;
    font-weight: 400;
}

.th-contact-form .form-control {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--th-ink);
    background: #FBFCFD;
    border: 1px solid #DDE1E7;
    border-radius: 10px;
    box-shadow: none;
}

.th-contact-form textarea.form-control {
    min-height: 128px;
    resize: vertical;
}

.th-contact-form .form-control:focus {
    background: #fff;
    border-color: var(--th-orange);
    box-shadow: 0 0 0 3px rgba(243, 148, 48, .14);
}

.th-contact-form #div-privacy {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 9px;
}

.th-contact-form #div-privacy input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0 !important;
    accent-color: var(--th-orange);
}

.th-contact-form #div-privacy label {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.th-contact-form #div-privacy a {
    color: var(--th-orange-hover);
}

.th-contact-form table {
    width: auto;
    margin: 8px 0 18px;
}

.th-contact-form table td {
    padding-right: 8px;
}

.th-contact-form #security_code {
    width: 132px !important;
}

.th-contact-submit {
    margin-top: 22px;
}

.th-contact-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    color: #fff;
    background: var(--th-orange);
    border: 1px solid var(--th-orange);
    border-radius: 11px;
    font-size: 15px;
    font-weight: 400;
    box-shadow: 0 10px 22px rgba(227, 106, 0, .18);
}

.th-contact-submit button:hover {
    color: #fff;
    background: var(--th-orange-hover);
    border-color: var(--th-orange-hover);
}

/* FAQ: retain the existing accordion behavior with a clearer touch target. */
.th-faq-card {
    max-width: 1040px;
    margin: 0 auto;
}

.th-faq-list.ui-accordion {
    font-family: "Segoe UI", Arial, sans-serif;
}

.th-faq-list.ui-accordion .ui-accordion-header {
    display: flex;
    align-items: center;
    min-height: 64px;
    margin: 0 0 12px;
    padding: 16px 54px 16px 20px;
    color: var(--th-ink);
    background: var(--th-surface-soft);
    border: 1px solid var(--th-line);
    border-radius: 13px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.th-faq-list.ui-accordion .ui-accordion-header:hover,
.th-faq-list.ui-accordion .ui-accordion-header.ui-state-active {
    color: var(--th-ink);
    background: #FFF9F2;
    border-color: rgba(243, 148, 48, .55);
    box-shadow: 0 8px 18px rgba(31, 38, 49, .06);
}

#accordion.th-faq-list.ui-accordion .ui-accordion-header,
#accordion.th-faq-list.ui-accordion .ui-accordion-header.ui-state-active {
    color: var(--th-ink) !important;
    background: var(--th-surface-soft) !important;
    border-color: var(--th-line) !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 400 !important;
}

#accordion.th-faq-list.ui-accordion .ui-accordion-header:hover,
#accordion.th-faq-list.ui-accordion .ui-accordion-header.ui-state-active {
    background: #FFF9F2 !important;
    border-color: rgba(243, 148, 48, .55) !important;
}

.th-faq-list.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    right: 19px;
    left: auto;
}

.th-faq-list.ui-accordion .ui-accordion-content {
    margin: -4px 0 14px;
    padding: 20px 22px 24px;
    color: #46505D;
    background: #fff;
    border: 1px solid var(--th-line);
    border-top: 0;
    border-radius: 0 0 13px 13px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

.th-faq-list.ui-accordion .ui-accordion-content p:last-child,
.th-faq-list.ui-accordion .ui-accordion-content div:last-child {
    margin-bottom: 0;
}

.th-faq-visuals:empty {
    display: none;
}

.th-faq-visual {
    margin-top: 16px;
    padding: 18px;
    text-align: center;
    background: var(--th-surface-soft);
    border: 1px solid var(--th-line);
    border-radius: 13px;
}

.th-faq-visual img {
    display: block;
    width: min(100%, 250px) !important;
    height: auto !important;
    margin: 0 auto;
    border-radius: 12px;
}

/* Accessible FAQ accordion (native button + controlled region). */
.th-faq-list:not(.ui-accordion) {
    display: grid;
    gap: 12px;
}

.th-faq-item {
    overflow: hidden;
    background: var(--th-surface-soft);
    border: 1px solid var(--th-line);
    border-radius: 13px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.th-faq-item:has(.th-faq-trigger[aria-expanded="true"]) {
    background: #FFF9F2;
    border-color: rgba(243, 148, 48, .55);
    box-shadow: 0 8px 18px rgba(31, 38, 49, .06);
}

.th-faq-item h2 {
    margin: 0;
}

.th-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 64px;
    padding: 18px 22px;
    color: var(--th-ink);
    background: transparent;
    border: 0;
    font: 400 18px/1.35 "Segoe UI", Arial, sans-serif;
    text-align: left;
    cursor: pointer;
}

.th-faq-trigger i {
    flex: 0 0 auto;
    color: var(--th-orange-hover);
    transition: transform .2s ease;
}

.th-faq-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.th-faq-answer {
    padding: 0 22px 24px;
    color: #46505D;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

.th-faq-answer[hidden] {
    display: none;
}

@media (max-width: 900px) {
    .th-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .th-inner-page--returns .th-inner-content-card {
        padding-top: 22px;
    }

    .th-inner-page--returns .th-inner-rich > div:nth-child(2) > p:nth-child(2) {
        padding: 18px;
    }

    .th-inner-page--returns .th-inner-rich > div:nth-child(2) > p:nth-child(2) span {
        font-size: 18px !important;
    }

    .th-inner-page--returns .th-inner-rich h2,
    .th-inner-page--returns .th-inner-rich > div:nth-child(2) > strong,
    .th-inner-page--returns .th-inner-rich > div:nth-child(2) > p > strong:only-child {
        margin-top: 28px;
        font-size: 19px !important;
    }

    .th-inner-page--returns .th-inner-rich ul,
    .th-inner-page--returns .th-inner-rich ol {
        padding: 17px 17px 17px 34px;
    }

    .th-contact-grid {
        gap: 14px;
    }

    .th-contact-grid .th-inner-content-card {
        padding: 22px 18px;
    }

    .th-contact-details {
        font-size: 15px;
    }

    .th-contact-details .map-left {
        padding: 18px;
    }

    .th-contact-details .contact-box {
        align-items: flex-start;
        overflow-wrap: anywhere;
    }

    .th-contact-map iframe {
        height: 300px !important;
    }

    .th-contact-form h2 {
        font-size: 21px;
    }

    .th-faq-list.ui-accordion .ui-accordion-header {
        min-height: 58px;
        padding: 14px 48px 14px 16px;
        font-size: 16px;
    }

    .th-faq-list.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
        right: 15px;
    }

    .th-faq-list.ui-accordion .ui-accordion-content {
        padding: 17px 16px 20px;
        font-size: 14px;
    }

    .th-faq-trigger {
        min-height: 58px;
        padding: 14px 16px;
        font-size: 16px;
    }

    .th-faq-answer {
        padding: 0 16px 20px;
        font-size: 14px;
    }
}
