/* ===== Term Description Box ===== */
.rtn-product-term-descriptions {
    border: 1px solid rgba(0,0,0,.05);
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

/* ===== Title ===== */
.rtn-term-title {
    font-weight: 600;
    margin-bottom: .75rem;
    font-size: 16px; /* desktop */
}

/* ===== Description Text ===== */
.rtn-term-body {
    line-height: 1.7;
    font-size: 14px; /* desktop */
    max-height: none !important;
    overflow: visible !important;
    transition: none !important;
}

.rtn-desc-short[hidden],
.rtn-desc-full[hidden] {
    display: none !important;
}

.rtn-desc-short p:last-child,
.rtn-desc-full p:last-child {
    margin-bottom: 0;
}

/* Keep headings inside the short preview exactly like full description */
.rtn-product-term-descriptions h1,
.rtn-product-term-descriptions h2,
.rtn-product-term-descriptions h3,
.rtn-product-term-descriptions h4,
.rtn-product-term-descriptions h5,
.rtn-product-term-descriptions h6 {
    margin-top: 0;
}

/* ===== Toggle Button (reset + text link style) ===== */
.rtn-collapsible-toggle {
    all: unset !important;
    display: inline-block !important;
    margin-top: 0.75rem !important;
    font-size: 14px !important;
    color: #833D7F !important;
    cursor: pointer !important;
    text-decoration: none !important;
    line-height: 1.6 !important;
    transition: color .2s ease !important;
}

.rtn-collapsible-toggle:hover {
    color: #99427F !important;
}

.rtn-collapsible-toggle:focus {
    outline: none !important;
    text-decoration: none !important;
    color: #99427F !important;
}

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
    .rtn-term-title {
        font-size: 14px;
    }
    .rtn-term-body {
        font-size: 12px;
    }
    .rtn-collapsible-toggle {
        font-size: 14px;
    }
}
