/* =========================================================
   RYNA WOMAN - TERMS & CONDITIONS
========================================================= */

* {
    box-sizing: border-box;
}

.terms-body {
    margin: 0;
    padding: 0;
    background: #fff8fa;
    color: #302329;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   PAGE
========================================================= */

.terms-page {
    width: 100%;
    min-height: 100vh;
    padding: 58px 20px 85px;
}

.terms-container {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.terms-header {
    text-align: center;
    margin-bottom: 48px;
}

.terms-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #ab6078;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-transform: uppercase;
}

.terms-header h1 {
    margin: 0;
    color: #33252b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 500;
}

.terms-header p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #716269;
    font-size: 15px;
    line-height: 1.85;
}

.terms-updated {
    margin-top: 15px;
    color: #9a7c87;
    font-size: 12px;
}

/* =========================================================
   SECTIONS
========================================================= */

.terms-section {
    position: relative;
    padding: 34px 44px;
    background: #ffffff;
    border-left: 1px solid #f0dfe5;
    border-right: 1px solid #f0dfe5;
    border-bottom: 1px solid #f0dfe5;
}

.terms-section:first-of-type {
    border-top: 1px solid #f0dfe5;
    border-radius: 17px 17px 0 0;
}

.terms-section:last-of-type {
    border-radius: 0 0 17px 17px;
}

.terms-section + .terms-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 44px;
    right: 44px;
    height: 1px;
    background: #f2e5e9;
}

/* =========================================================
   TEXT
========================================================= */

.terms-section h2 {
    margin: 0 0 14px;
    color: #35262c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 500;
}

.terms-section p {
    margin: 0 0 14px;
    color: #665960;
    font-size: 15px;
    line-height: 1.85;
}

.terms-section p:last-of-type {
    margin-bottom: 0;
}

/* =========================================================
   LIST
========================================================= */

.terms-section ul {
    margin: 14px 0;
    padding: 0;
    list-style: none;
}

.terms-section li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 24px;
    color: #665960;
    font-size: 15px;
    line-height: 1.75;
}

.terms-section li:last-child {
    margin-bottom: 0;
}

.terms-section li::before {
    content: "—";
    position: absolute;
    top: 0;
    left: 0;
    color: #ae6680;
    font-weight: 700;
}

/* =========================================================
   INLINE LINK
========================================================= */

.terms-inline-link {
    display: inline-block;
    margin-top: 18px;
    color: #a85c76;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #d9aabd;
    padding-bottom: 3px;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.terms-inline-link:hover {
    color: #8f4d65;
    border-color: #8f4d65;
}

/* =========================================================
   CONTACT SECTION
========================================================= */

.terms-contact-section {
    padding: 44px;
    background: #fff2f6;
}

.terms-contact-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.terms-contact-inner > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #a95d76;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.terms-contact-inner h2 {
    margin-bottom: 11px;
}

.terms-contact-inner p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.terms-contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.terms-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.terms-contact-button.primary {
    background: #a85c76;
    color: #ffffff;
}

.terms-contact-button.primary:hover {
    background: #934f67;
    transform: translateY(-1px);
}

.terms-contact-button.secondary {
    background: #ffffff;
    color: #a85c76;
    border: 1px solid #c58499;
}

.terms-contact-button.secondary:hover {
    background: #a85c76;
    color: #ffffff;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .terms-page {
        padding: 42px 15px 65px;
    }

    .terms-header {
        margin-bottom: 35px;
    }

    .terms-header h1 {
        font-size: 39px;
    }

    .terms-header p {
        font-size: 14px;
        line-height: 1.75;
    }

    .terms-section {
        padding: 29px 27px;
    }

    .terms-section + .terms-section::before {
        left: 27px;
        right: 27px;
    }

    .terms-section h2 {
        font-size: 22px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 14px;
    }

    .terms-contact-section {
        padding: 34px 27px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .terms-page {
        padding: 30px 11px 50px;
    }

    .terms-header {
        margin-bottom: 28px;
    }

    .terms-label {
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    .terms-header h1 {
        font-size: 33px;
    }

    .terms-header p {
        margin-top: 14px;
        font-size: 13px;
    }

    .terms-updated {
        font-size: 11px;
    }

    .terms-section {
        padding: 24px 18px;
    }

    .terms-section:first-of-type {
        border-radius: 13px 13px 0 0;
    }

    .terms-section:last-of-type {
        border-radius: 0 0 13px 13px;
    }

    .terms-section + .terms-section::before {
        left: 18px;
        right: 18px;
    }

    .terms-section h2 {
        font-size: 21px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 13px;
        line-height: 1.75;
    }

    .terms-section li {
        padding-left: 20px;
    }

    .terms-contact-section {
        padding: 28px 18px;
    }

    .terms-contact-buttons {
        flex-direction: column;
    }

    .terms-contact-button {
        width: 100%;
    }
}