/* ============================================================================
   NOSEAMS — Information pages
   Shipping & Returns, Care Guide and Contact.
   ============================================================================ */

body.page .ns-info-page {
    width: 100%;
    min-height: 70vh;
    margin: 0;
    padding: 158px var(--ns-side-space, 46px) 118px;
    background: var(--ns-white, #ffffff);
    color: var(--ns-black, #231f20);
}

body.page .ns-info-page__inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}

body.page .ns-info-page__header {
    max-width: 880px;
    margin: 0 0 58px;
    padding: 0;
}

body.page .ns-info-page__header--center {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

body.page .ns-info-page__eyebrow {
    margin: 0 0 13px;
    color: inherit;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

body.page .ns-info-page h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(34px, 4vw, 68px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 400;
    text-transform: none;
}

body.page .ns-info-page__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(42px, 7vw, 120px);
    align-items: start;
}

body.page .ns-info-section {
    max-width: 560px;
}

body.page .ns-info-section h2,
body.page .ns-care-guide-card h2{
    margin: 0 0 22px;
    color: inherit;
    font-size: clamp(22px, 2vw, 34px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 400;
    text-transform: none;
}

body.page .ns-info-section p,
body.page .ns-care-guide-card p{
    margin: 0 0 16px;
    color: inherit;
    font-size: 14px;
    line-height: 1.62;
    letter-spacing: 0.01em;
    font-style: normal;
    font-weight: 400;
}

body.page .ns-info-section p {
    text-align: justify;
    text-align-last: auto;
    hyphens: auto;
}

body.page .ns-info-page a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.page .ns-care-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    border-top: 1px solid var(--ns-line, #d7d3d1);
    border-bottom: 1px solid var(--ns-line, #d7d3d1);
    background: var(--ns-line, #d7d3d1);
}

body.page .ns-care-guide-card {
    min-height: 290px;
    padding: 34px 28px;
    background: var(--ns-white, #ffffff);
}

body.page .ns-contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: clamp(52px, 10vw, 160px);
    align-items: start;
}



body.page .ns-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 26px;
    width: 100%;
    max-width: 740px;
    margin: 0;
    padding: 0;
}

body.page .ns-contact-form label {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-transform: uppercase;
}

body.page .ns-contact-form label:nth-of-type(3),
body.page .ns-contact-form label:nth-of-type(4) {
    grid-column: 1 / -1;
}

body.page .ns-contact-form input,
body.page .ns-contact-form textarea {
    width: 100%;
    margin: 0;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--ns-black, #231f20);
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: var(--ns-font-main, inherit);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    outline: 0;
    box-shadow: none;
}

body.page .ns-contact-form textarea {
    min-height: 126px;
    resize: vertical;
}

body.page .ns-contact-form button {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    min-height: 48px;
    margin: 12px 0 0;
    padding: 0 28px;
    border: 0;
    border-radius: 0;
    background: var(--ns-black, #231f20);
    color: var(--ns-white, #fff);
    font-family: var(--ns-font-main, inherit);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

body.page .ns-contact-form__message {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
}

body.page .ns-contact-form__message.is-error {
    color: #9a1f1f;
}

body.page .ns-contact-form__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 960px) {
    body.page .ns-info-page {
        padding: 112px var(--ns-side-space, 22px) 82px;
    }

    body.page .ns-info-page__header,
    body.page .ns-info-page__header--center {
        max-width: none;
        margin-bottom: 42px;
        text-align: left;
    }

    body.page .ns-info-page h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    body.page .ns-info-page__content,
    body.page .ns-contact-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    body.page .ns-info-section {
        max-width: none;
    }

    body.page .ns-care-guide-grid {
        grid-template-columns: 1fr;
    }

    body.page .ns-care-guide-card {
        min-height: 0;
        padding: 28px 0;
    }

    body.page .ns-contact-form {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: none;
    }

    body.page .ns-contact-form label:nth-of-type(3),
    body.page .ns-contact-form label:nth-of-type(4) {
        grid-column: auto;
    }

    body.page .ns-contact-form button {
        width: 100%;
    }
}

/* Contact thank-you state */
body.page .ns-contact-thankyou {
    width: min(100%, 780px);
    margin: 0 auto;
    padding: clamp(54px, 8vw, 112px) 0;
    text-align: center;
}

body.page .ns-contact-thankyou h1 {
    margin: 0 auto 22px;
    max-width: 760px;
}

body.page .ns-contact-thankyou p:not(.ns-info-page__eyebrow) {
    max-width: 560px;
    margin: 0 auto;
    color: inherit;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

body.page .ns-contact-thankyou__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
}

body.page .ns-contact-thankyou__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--ns-black, #231f20);
    color: var(--ns-black, #231f20);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

body.page .ns-contact-thankyou__actions a:last-child {
    background: var(--ns-black, #231f20);
    color: var(--ns-white, #ffffff);
}

@media (max-width: 640px) {
    body.page .ns-contact-thankyou {
        padding: 46px 0 28px;
        text-align: left;
    }

    body.page .ns-contact-thankyou p:not(.ns-info-page__eyebrow) {
        margin-left: 0;
        margin-right: 0;
    }

    body.page .ns-contact-thankyou__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 32px;
    }

    body.page .ns-contact-thankyou__actions a {
        width: 100%;
        min-width: 0;
    }
}

/* WordPress editor content on Shipping & Returns
   The editor outputs normal headings and paragraphs; keep it in a readable
   single-column layout instead of the two-column info-page grid. */
body.page .ns-info-page--shipping .ns-info-page__header {
    margin-bottom: 42px;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor {
    display: block !important;
    width: 100%;
    max-width: 1040px;
    margin: 0;
    padding: 0;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor > *:first-child {
    margin-top: 0 !important;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor > *:last-child {
    margin-bottom: 0 !important;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor :where(h2, h3, h4, .wp-block-heading) {
    max-width: 900px;
    margin: 42px 0 18px;
    padding: 0;
    color: inherit;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: left;
    text-transform: none;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor h2,
body.page .ns-info-page--shipping .ns-info-page__content--editor .wp-block-heading:is(h2) {
    font-size: clamp(18px, 1.55vw, 26px);
    line-height: 1.15;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor h3,
body.page .ns-info-page--shipping .ns-info-page__content--editor .wp-block-heading:is(h3) {
    font-size: clamp(15px, 1.15vw, 20px);
    line-height: 1.2;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor :where(p, li) {
    max-width: 900px;
    margin: 0 0 18px;
    color: inherit;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    font-weight: 400;
    text-align: justify;
    text-align-last: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor :where(ul, ol) {
    max-width: 900px;
    margin: 0 0 24px 18px;
    padding: 0;
}

body.page .ns-info-page--shipping .ns-info-page__content--editor a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 1200px) {
    body.page .ns-info-page--shipping .ns-info-page__content--editor {
        max-width: 960px;
    }
}

@media (max-width: 960px) {
    body.page .ns-info-page--shipping .ns-info-page__header {
        margin-bottom: 30px;
    }

    body.page .ns-info-page--shipping .ns-info-page__content--editor {
        max-width: none;
    }

    body.page .ns-info-page--shipping .ns-info-page__content--editor :where(h2, h3, h4, .wp-block-heading) {
        margin-top: 34px;
        margin-bottom: 14px;
    }

    body.page .ns-info-page--shipping .ns-info-page__content--editor :where(p, li) {
        font-size: 13px;
        line-height: 1.62;
        margin-bottom: 14px;
    }
}

/* Information/legal support pages full site grid width
   Shipping & Returns should follow the same left/right gutters as header/footer. */
@media (min-width: 961px) {
    body.page .ns-info-page {
        padding-left: var(--ns-side-space, clamp(42px, 3.1vw, 60px)) !important;
        padding-right: var(--ns-side-space, clamp(42px, 3.1vw, 60px)) !important;
    }

    body.page .ns-info-page__inner,
    body.page .ns-info-page__header,
    body.page .ns-info-page--shipping .ns-info-page__content--editor,
    body.page .ns-info-page--shipping .ns-info-page__content--editor :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, div, section, article, blockquote, table, .wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-heading) {
        width: 100% !important;
        max-width: none !important;
    }
}

/* 404 page */
body.error404 .ns-info-page {
    width: 100%;
    min-height: 70vh;
    margin: 0;
    padding: clamp(92px, 8vw, 136px) var(--ns-side-space, 46px) clamp(92px, 9vw, 140px);
    background: var(--ns-white, #ffffff);
    color: var(--ns-black, #231f20);
}

body.error404 .ns-info-page__inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}

body.error404 .ns-error-page__inner {
    display: flex;
    min-height: 46vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

body.error404 .ns-info-page__eyebrow {
    margin: 0 0 13px;
    color: inherit;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

body.error404 .ns-error-page h1 {
    max-width: 820px;
    margin: 0;
    color: inherit;
    font-size: clamp(48px, 7vw, 108px);
    line-height: 0.92;
    letter-spacing: -0.045em;
    font-weight: 400;
    text-transform: none;
}

body.error404 .ns-error-page__text {
    width: min(100%, 520px);
    margin: 28px 0 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.62;
    letter-spacing: 0.01em;
}

body.error404 .ns-error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

body.error404 .ns-error-page__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--ns-black, #231f20);
    color: var(--ns-black, #231f20);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

body.error404 .ns-error-page__actions a:last-child {
    background: var(--ns-black, #231f20);
    color: var(--ns-white, #ffffff);
}

@media (max-width: 960px) {
    body.error404 .ns-info-page {
        min-height: 58vh;
        padding: 84px var(--ns-side-space, 22px) 78px;
    }

    body.error404 .ns-error-page__inner {
        min-height: 38vh;
    }

    body.error404 .ns-error-page h1 {
        font-size: clamp(42px, 14vw, 68px);
    }

    body.error404 .ns-error-page__text {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.58;
    }

    body.error404 .ns-error-page__actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 32px;
    }

    body.error404 .ns-error-page__actions a {
        width: 100%;
        min-width: 0;
    }
}

/* Contact page — title and centred form only */
body.page .ns-info-page--contact .ns-info-page__header {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 44px;
    text-align: center;
}

body.page .ns-info-page--contact .ns-contact-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: min(100%, 760px);
    margin: 0 auto 54px;
    border-top: 1px solid var(--ns-line, #d7d3d1);
    border-bottom: 1px solid var(--ns-line, #d7d3d1);
    background: var(--ns-line, #d7d3d1);
}

body.page .ns-info-page--contact .ns-contact-meta__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 28px;
    background: var(--ns-white, #ffffff);
}

body.page .ns-info-page--contact .ns-contact-meta__label {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.06em;
    font-weight: 700;
    text-transform: uppercase;
}

body.page .ns-info-page--contact .ns-contact-meta__value {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

body.page .ns-info-page--contact a.ns-contact-meta__value {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.page .ns-info-page--contact .ns-contact-layout--form-only {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

body.page .ns-info-page--contact .ns-contact-layout--form-only .ns-contact-form {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

body.page .ns-info-page--contact .ns-contact-layout--form-only .ns-contact-form button {
    justify-self: center;
}

@media (max-width: 960px) {
    body.page .ns-info-page--contact .ns-info-page__header {
        margin-bottom: 34px;
        text-align: left;
    }

    body.page .ns-info-page--contact .ns-contact-meta {
        grid-template-columns: 1fr;
        width: 100%;
        margin-bottom: 38px;
    }

    body.page .ns-info-page--contact .ns-contact-meta__item {
        padding: 20px 0;
    }

    body.page .ns-info-page--contact .ns-contact-meta__value {
        font-size: 14px;
    }

    body.page .ns-info-page--contact .ns-contact-layout--form-only,
    body.page .ns-info-page--contact .ns-contact-layout--form-only .ns-contact-form {
        max-width: none;
    }

    body.page .ns-info-page--contact .ns-contact-layout--form-only .ns-contact-form button {
        justify-self: stretch;
    }
}


/* ==========================================================================
   Dedicated contact and newsletter thank-you pages
   ========================================================================== */
body.page .ns-info-page--thankyou {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 54px);
    padding-top: clamp(150px, 14vh, 210px);
    padding-bottom: clamp(92px, 10vh, 150px);
}

body.page .ns-info-page--thankyou .ns-info-page__inner {
    display: flex;
    justify-content: center;
}

body.page .ns-thankyou {
    width: min(100%, 820px);
    margin: 0 auto;
    text-align: center;
}

body.page .ns-thankyou h1 {
    max-width: 800px;
    margin: 0 auto 24px;
}

body.page .ns-thankyou > p:not(.ns-info-page__eyebrow) {
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

body.page .ns-thankyou__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
}

body.page .ns-thankyou__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--ns-black, #231f20);
    color: var(--ns-black, #231f20);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

body.page .ns-thankyou__actions a:last-child {
    background: var(--ns-black, #231f20);
    color: var(--ns-white, #ffffff);
}

@media (max-width: 640px) {
    body.page .ns-info-page--thankyou {
        min-height: calc(100vh - 54px);
        padding-top: 120px;
        padding-bottom: 76px;
    }

    body.page .ns-thankyou {
        text-align: center;
    }

    body.page .ns-thankyou__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        margin-top: 32px;
    }

    body.page .ns-thankyou__actions a {
        width: 100%;
        min-width: 0;
    }
}

/* Newsletter unsubscribe confirmation */
body.page .ns-thankyou__unsubscribe-form {
    display: inline-flex;
    margin: 0;
}

body.page .ns-thankyou__unsubscribe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--ns-black, #231f20);
    border-radius: 0;
    background: var(--ns-black, #231f20);
    color: var(--ns-white, #ffffff);
    font: inherit;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

body.page .ns-thankyou__unsubscribe-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    body.page .ns-thankyou__unsubscribe-form,
    body.page .ns-thankyou__unsubscribe-button {
        width: 100%;
        min-width: 0;
    }
}
