/* CMS / policy pages — section-main-page layout */

body.store-theme-active .section-main-page .section-main-page-container {
    padding-top: 24px;
    padding-bottom: 72px;
}

body.store-theme-active .section-main-page-title {
    margin: 0 0 24px;
}

body.store-theme-active .cms-demo-form {
    max-width: 420px;
    margin-top: 24px;
}

body.store-theme-active .cms-demo-form .field {
    margin-bottom: 16px;
}

body.store-theme-active .cms-demo-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

body.store-theme-active .cms-demo-form input[type="email"],
body.store-theme-active .cms-demo-form input[type="password"],
body.store-theme-active .cms-demo-form input[type="text"],
body.store-theme-active .cms-demo-form input[type="tel"],
body.store-theme-active .cms-demo-form input[type="url"],
body.store-theme-active .cms-demo-form input[type="number"] {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
    border: 1px solid var(--theme-lines-color-secondary, #ccc);
    box-sizing: border-box;
}

body.store-theme-active .cms-demo-form .btn-fill {
    margin-top: 8px;
}

body.store-theme-active .cms-demo-form-links {
    margin-top: 12px;
    font-size: 14px;
}

body.store-theme-active .cms-demo-form-links a {
    text-decoration: underline;
}

body.store-theme-active .cms-contact-form-wrap {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--theme-lines-color-secondary, rgba(0, 0, 0, 0.12));
}

body.store-theme-active .cms-contact-form-title {
    margin: 0 0 16px;
    font-size: 1.25rem;
}

body.store-theme-active .cms-demo-form textarea {
    width: 100%;
    max-width: 560px;
    padding: 10px 12px;
    border: 1px solid var(--theme-lines-color-secondary, #ccc);
    box-sizing: border-box;
    font: inherit;
    resize: vertical;
}

.cms-form-message {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.cms-form-message--ok {
    color: var(--theme-body-color, inherit);
}

.cms-form-message--err {
    color: #b00020;
}

/* Our Story custom sections from synced HTML */
body.store-theme-active .section-main-page-content .section.brown-section,
body.store-theme-active .section-main-page-content .section.light-green-section,
body.store-theme-active .section-main-page-content .section.light-brown-section {
    margin: 0 calc(-1 * var(--theme-side-margin, 24px));
    padding: 40px var(--theme-side-margin, 24px);
}

body.store-theme-active .section-main-page-content .section.brown-section {
    background: #e8dfd3;
}

body.store-theme-active .section-main-page-content .section.light-green-section {
    background: #e9efe6;
}

body.store-theme-active .section-main-page-content .section.light-brown-section {
    background: #f3ece4;
}

body.store-theme-active .section-main-page-content .section.light-brown-section:has(.content-section:empty) {
    display: none;
}

body.store-theme-active .section-main-page-content .section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 48px;
    max-width: 1080px;
    margin: 0 auto;
}

body.store-theme-active .section-main-page-content .section .image-section {
    flex: 0 0 320px;
    max-width: 100%;
}

body.store-theme-active .section-main-page-content .section .image-section.hide-image {
    display: none;
}

body.store-theme-active .section-main-page-content .section .image-section img,
body.store-theme-active .section-main-page-content .section .image-section .img1 {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    border-radius: 4px;
}

body.store-theme-active .section-main-page-content .section .content-section {
    flex: 1 1 280px;
    min-width: 0;
}

body.store-theme-active .section-main-page-content .section .content-section h3 {
    margin: 0 0 16px;
}

body.store-theme-active .section-main-page-content .section .content-section p {
    margin: 0 0 14px;
    line-height: 1.65;
}

body.store-theme-active .section-main-page-content .section .content-section p:last-child {
    margin-bottom: 0;
}

@media (max-width: 749px) {
    body.store-theme-active .section-main-page-content .section.brown-section,
    body.store-theme-active .section-main-page-content .section.light-green-section,
    body.store-theme-active .section-main-page-content .section.light-brown-section {
        margin-left: 0;
        margin-right: 0;
        padding: 28px 16px;
    }

    body.store-theme-active .section-main-page-content .section .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    body.store-theme-active .section-main-page-content .section .image-section {
        flex-basis: auto;
        width: 100%;
    }
}

body.store-theme-active .section-main-page-content iframe {
    max-width: 100%;
}
