/* ==========================================================================
   THE QUESTIONS UNDER A PRODUCT, A CATEGORY, A BRAND OR A TAG (_PublicInfo_Product.cshtml)
   and inside a topic (_PublicInfo_Topic.cshtml).
   Each question is a soft card on a light grey; an open one turns white and lifts with a quiet
   shadow - no coloured frame around it (owner, 2026-11-29: the line around the open question and
   the chevron in a disc read cheap). The marker is a thin plus that turns into a minus. The one
   accent is the store's own --ryan-primary (theme _Root.Head): the title's rule and the open
   question's marker. Sizes and weights from the theme's type ladder (base.less --tc-fs-* /
   --tc-fw-*), with fallbacks for a page without it.
   ========================================================================== */
.tc-faq {
    --tc-faq-accent: var(--ryan-primary, #007ad0);
    --tc-faq-accent-rgb: var(--ryan-primary-rgb, 0, 122, 208);
    --tc-faq-ink: #1b2130;
    --tc-faq-text: #4a5163;
    --tc-faq-muted: #7a8190;
    --tc-faq-card: #f6f7f9;
    --tc-faq-card-hover: #f0f2f5;
    --tc-faq-edge: #e8eaee;
    margin: 24px 0;
    color: var(--tc-faq-ink);
}

.tc-faq__box {
    background: #fff;
    border: 1px solid var(--tc-faq-edge);
    border-radius: 20px;
    padding: 30px 32px 32px;
}

/* the title: the section's name with the store's rule under it, the page's subject on a quiet line below */
.tc-faq__title {
    margin: 0 0 22px;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.4;
}

.tc-faq__label {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tc-faq-accent);
    font-size: var(--tc-fs-section, 19px);
    font-weight: var(--tc-fw-title, 700);
    color: #0c0c0c;
}

.tc-faq__about {
    display: block;
    margin-top: 10px;
    font-size: var(--tc-fs-small, 14px);
    font-weight: var(--tc-fw-text, 400);
    line-height: 1.8;
    color: var(--tc-faq-muted);
}

/* two columns on a wide screen, each its own stack: opening a question never stretches the other column */
.tc-faq__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    align-items: start;
}

.tc-faq--topic .tc-faq__cols,
.tc-faq__cols:has(> .tc-faq__col:only-child) {
    grid-template-columns: 1fr;
}

.tc-faq__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* a question: a card */
.tc-faq__item {
    background: var(--tc-faq-card);
    border: 1px solid transparent;
    border-radius: 14px;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tc-faq__item:not([open]):hover {
    background: var(--tc-faq-card-hover);
}

.tc-faq__item[open] {
    background: #fff;
    border-color: var(--tc-faq-edge);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px -12px rgba(16, 24, 40, .14);
}

/* the keyboard's focus: a soft glow round the card, never on a mouse click */
.tc-faq__item:has(> .tc-faq__q:focus-visible) {
    box-shadow: 0 0 0 3px rgba(var(--tc-faq-accent-rgb), .18);
}

/* the question: the whole row is the control */
.tc-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    list-style: none;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.tc-faq__q::-webkit-details-marker {
    display: none;
}

.tc-faq .tc-faq__q-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: var(--tc-fs-body, 15px);
    font-weight: var(--tc-fw-label, 600);
    line-height: 1.8;
    color: var(--tc-faq-ink);
}

/* the marker: a thin plus; open, its upright stroke folds away into a minus */
.tc-faq__icon {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--tc-faq-muted);
    transition: color .2s ease, transform .3s ease;
}

.tc-faq__icon::before,
.tc-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.75px;
    margin: -.875px 0 0 -7px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s ease;
}

.tc-faq__icon::after {
    transform: rotate(90deg);
}

.tc-faq__q:hover .tc-faq__icon {
    color: var(--tc-faq-ink);
}

.tc-faq__item[open] > .tc-faq__q .tc-faq__icon {
    color: var(--tc-faq-accent);
    transform: rotate(180deg);
}

.tc-faq__item[open] > .tc-faq__q .tc-faq__icon::after {
    transform: rotate(90deg) scaleX(0);
}

/* the answer: running text inside the card, set to the start edge (justified Persian opens rivers) */
.tc-faq__a {
    padding: 0 20px 18px;
    font-size: var(--tc-fs-body, 15px);
    font-weight: var(--tc-fw-text, 400);
    line-height: 2;
    color: var(--tc-faq-text);
    text-align: start;
}

.tc-faq__a > :first-child {
    margin-top: 0;
}

.tc-faq__a > :last-child {
    margin-bottom: 0;
}

.tc-faq__a p {
    margin: 0 0 10px;
    line-height: 2;
}

.tc-faq__a a {
    color: var(--tc-faq-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tc-faq__a ul,
.tc-faq__a ol {
    margin: 0 0 10px;
    padding-inline-start: 20px;
}

.tc-faq__a ul {
    list-style: disc;
}

.tc-faq__a ol {
    list-style: decimal;
}

/* the answer slides open where the browser can size to auto; elsewhere it simply appears */
@supports (interpolate-size: allow-keywords) {
    .tc-faq {
        interpolate-size: allow-keywords;
    }

    .tc-faq__item::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size .28s ease, content-visibility .28s allow-discrete;
    }

    .tc-faq__item[open]::details-content {
        block-size: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-faq__item,
    .tc-faq__icon,
    .tc-faq__icon::before,
    .tc-faq__icon::after,
    .tc-faq__item::details-content {
        transition: none;
    }
}

/* a topic's list sits inside the topic's own text: no box of its own */
.tc-faq--topic {
    margin: 16px 0;
}

@media only screen and (max-width: 959px) {
    .tc-faq__box {
        padding: 22px 14px 16px;
        border-radius: 16px;
    }

    .tc-faq__title {
        margin-bottom: 18px;
    }

    .tc-faq__cols {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .tc-faq__col {
        gap: 8px;
    }

    .tc-faq__item {
        border-radius: 12px;
    }

    .tc-faq__q {
        padding: 14px 16px;
        gap: 12px;
    }

    .tc-faq__a {
        padding: 0 16px 16px;
    }
}

.faq-page .faq-container .faq-singular {
    border: 1px solid #e6e6e6;
    padding: 16px;
    border-radius: 16px;
}

    .faq-page .faq-container .faq-singular + .faq-singular {
        margin-top: 8px;
    }

    .faq-page .faq-container .faq-singular.active {
        border-color: #eb3a3a;
    }

    .faq-page .faq-container .faq-singular .faq-question {
        margin-bottom: 0;
        padding: 0;
        border-bottom: 0;
    }

    .faq-page .faq-container .faq-singular .faq-answer {
        padding-top: 24px;
    }

.faq-page .faq-singular {
    cursor: pointer;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page .faq-singular {
        padding: 12px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 400px) {
    .faq-page .faq-singular {
        padding: 10px;
    }
}

.faq-page .faq-singular.active .faq-question {
    color: #eb3a3a;
}

    .faq-page .faq-singular.active .faq-question i {
        transform: rotate(180deg);
    }

.faq-page .faq-singular .faq-question {
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.1s ease-in-out;
}

    .faq-page .faq-singular .faq-question span {
        font-weight: 700;
        font-size: 16px;
    }

@media only screen and (min-width: 0px) and (max-width: 400px) {
    .faq-page .faq-singular .faq-question span {
        font-size: 14px;
    }
}

.faq-page .faq-singular .faq-question i {
    font-size: 22px;
    transition: all 0.3s ease-in-out;
}

@media only screen and (min-width: 0px) and (max-width: 400px) {
    .faq-page .faq-singular .faq-question i {
        font-size: 20px;
    }
}

.faq-page .faq-singular .faq-answer {
    display: none;
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
}

@media only screen and (min-width: 0px) and (max-width: 400px) {
    .faq-page .faq-singular .faq-answer {
        font-size: 12px;
    }
}

.faq-page .faq-singular .faq-answer p {
    line-height: 30px;
}

.faq-page .faq-singular.v2 {
    padding: unset;
}

    .faq-page .faq-singular.v2 .faq-question {
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

        .faq-page .faq-singular.v2 .faq-question .title-tab {
            padding-bottom: 0 !important;
            margin-bottom: 0 !important;
        }

    .faq-page .faq-singular.v2 .faq-answer {
        padding-top: 20px;
    }

        .faq-page .faq-singular.v2 .faq-answer .content ul li {
            width: 100% !important;
        }

.faq-page-v2 {
    display: flex;
    color: #2F2F2F;
    letter-spacing: -0.03em;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 {
        padding: 0 16px;
    }
}

.faq-page-v2 hr {
    height: 0;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
    border-top: thin solid #E6E6E6;
}

.faq-page-v2 .sidebar {
    flex: 0 1 272px;
    margin-left: 32px;
    position: relative;
}

    .faq-page-v2 .sidebar .faq-nav {
        border: 1px solid #E6E6E6;
        position: sticky;
        top: 184px;
    }

        .faq-page-v2 .sidebar .faq-nav li {
            width: 100%;
        }

            .faq-page-v2 .sidebar .faq-nav li a {
                width: 100%;
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 14px;
                font-weight: 500;
                padding: 16px;
            }

                .faq-page-v2 .sidebar .faq-nav li a svg {
                    width: 24px;
                    height: 24px;
                }

            .faq-page-v2 .sidebar .faq-nav li.active {
                background-color: rgba(241, 96, 106, 0.08);
            }

                .faq-page-v2 .sidebar .faq-nav li.active a {
                    color: #ED303D;
                    font-weight: 800;
                }

                    .faq-page-v2 .sidebar .faq-nav li.active a svg path {
                        fill: #ED303D;
                    }

        .faq-page-v2 .sidebar .faq-nav hr {
            width: calc(100% - 32px);
        }

.faq-page-v2 .faq-container .card-box {
    border: 1px solid #E6E6E6;
    padding: 0;
    overflow: hidden;
}

    .faq-page-v2 .faq-container .card-box hr {
        width: 100%;
    }

.faq-page-v2 .faq-container .faq-singular {
    padding: 0;
}

    .faq-page-v2 .faq-container .faq-singular .faq-question {
        border: none;
        margin: 0;
        padding: 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

        .faq-page-v2 .faq-container .faq-singular .faq-question span {
            font-size: 18px;
            font-weight: 700;
            line-height: 36px;
        }

        .faq-page-v2 .faq-container .faq-singular .faq-question i {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 28px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            transition: all 0.3s ease-in-out;
        }

    .faq-page-v2 .faq-container .faq-singular .faq-answer {
        display: none;
        padding: 0 24px 24px;
    }

        .faq-page-v2 .faq-container .faq-singular .faq-answer p {
            font-size: 16px;
            line-height: 1.6;
            font-weight: 400;
            text-align: justify;
            margin: 10px 0;
            color: #5E5E5E;
        }

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .faq-singular .faq-answer p {
        word-spacing: -0.04em;
    }
}

.faq-page-v2 .faq-container .faq-singular .faq-answer .img-container {
    width: 100%;
    margin: 16px 0;
}

    .faq-page-v2 .faq-container .faq-singular .faq-answer .img-container img {
        border-radius: 8px;
        width: 100%;
        height: auto;
    }

.faq-page-v2 .faq-container .faq-singular .faq-answer .video-container {
    width: 100%;
    margin: 16px 0;
}

    .faq-page-v2 .faq-container .faq-singular .faq-answer .video-container video {
        border-radius: 8px;
        width: 100%;
        height: auto;
    }

.faq-page-v2 .faq-container .faq-singular .faq-answer .answer-footer .useful {
    gap: 8px;
}

.faq-page-v2 .faq-container .faq-singular .faq-answer .answer-footer .icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

    .faq-page-v2 .faq-container .faq-singular .faq-answer .answer-footer .icon svg {
        width: 100%;
        height: 100%;
        fill: black;
    }

        .faq-page-v2 .faq-container .faq-singular .faq-answer .answer-footer .icon svg path {
            fill: #2F2F2F;
        }

.faq-page-v2 .faq-container .faq-singular.active .faq-question i {
    transform: rotate(180deg);
}

.faq-page-v2 .faq-container .faq-pagination {
    margin-top: 16px;
}

    .faq-page-v2 .faq-container .faq-pagination ul {
        gap: 4px;
    }

        .faq-page-v2 .faq-container .faq-pagination ul li a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            font-size: 16px;
            border: 1px solid #E6E6E6;
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
            background-color: #fff;
            transition: all 0.1s ease-in-out;
        }

            .faq-page-v2 .faq-container .faq-pagination ul li a svg {
                width: 20px;
                height: 20px;
                padding-right: 2px;
            }

                .faq-page-v2 .faq-container .faq-pagination ul li a svg path {
                    fill: #2F2F2F;
                }

            .faq-page-v2 .faq-container .faq-pagination ul li a:hover {
                box-shadow: 0 0 4px rgba(0, 0, 0, 0.24);
            }

        .faq-page-v2 .faq-container .faq-pagination ul li.active a {
            background-color: rgba(237, 48, 61, 0.12);
            color: #ED303D;
            font-weight: 700;
        }

            .faq-page-v2 .faq-container .faq-pagination ul li.active a:hover {
                box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
            }

.faq-page-v2 .faq-container .support-container {
    margin-top: 48px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 200px;
    background-color: #fff;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .support-container {
        display: flex;
        flex-direction: column;
    }
}

.faq-page-v2 .faq-container .support-container > div {
    padding: 24px 32px;
}

.faq-page-v2 .faq-container .support-container .detail-container {
    position: relative;
}

    .faq-page-v2 .faq-container .support-container .detail-container .title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }

        .faq-page-v2 .faq-container .support-container .detail-container .title i {
            margin-left: 16px;
            margin-bottom: -4px;
        }

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .support-container .detail-container .title i {
        margin-left: 4px;
    }
}

.faq-page-v2 .faq-container .support-container .detail-container .title::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% - 48px);
    border-right: thin solid #E6E6E6;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .support-container .detail-container .title::after {
        height: 0;
        width: calc(100% - 64px);
        top: unset;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        border-right: unset;
        border-bottom: thin solid #E6E6E6;
    }
}

.faq-page-v2 .faq-container .support-container .detail-container .body {
    font-size: 14px;
    max-width: 72ch;
    color: #5E5E5E;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .support-container .detail-container .body {
        text-align: justify;
    }
}

.faq-page-v2 .faq-container .support-container .phone-number-container .phone-number {
    width: fit-content;
    height: fit-content;
    border-radius: 50px;
    padding: 0 12px;
    padding-top: 2px;
    background-color: #ED303D;
    color: #fff;
    cursor: pointer;
    line-height: 36px;
    font-size: 16px;
    white-space: nowrap;
}

.faq-page-v2 .faq-container .faq-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .faq-categories {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #E6E6E6;
        background-color: #fff;
    }
}

.faq-page-v2 .faq-container .faq-categories .category-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background-color: #fff;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .faq-categories .category-item {
        flex-direction: row;
        font-weight: 700;
        padding: 16px;
        border-radius: 0;
        border: none;
    }
}

.faq-page-v2 .faq-container .faq-categories .category-item .icon {
    width: 24px;
    height: 24px;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .faq-categories .category-item .icon {
        width: 20px;
        height: 20px;
    }
}

.faq-page-v2 .faq-container .faq-categories .category-item .icon > svg {
    width: 100%;
    height: 100%;
}

.faq-page-v2 .faq-container .faq-categories .category-item .icon--gray svg path {
    fill: #979797;
}

.faq-page-v2 .faq-container .faq-categories .category-item .title {
    font-size: 16px;
}

.faq-page-v2 .faq-container .faq-categories .category-item:hover {
    border-color: #ED303D;
}

.faq-page-v2 .faq-container .faq-categories hr {
    display: none;
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .faq-page-v2 .faq-container .faq-categories hr {
        display: block;
        width: calc(100% - 32px);
    }
}
