/*
 * ORPONSHOP V22.13D4B
 * Central CMS Page Typography
 *
 * Content: Website Content > Pages / About Us
 * Font: Existing storefront reading typography
 * Alignment: Preserves saved editor alignment
 * Responsive: Desktop, tablet and mobile
 */

html body #content .orpon-cms-page {
    --cms-reading-font: var(
        --orpon-reading-font,
        "Noto Serif Bengali",
        "Orpon Noto Bengali",
        serif
    );

    --cms-title-size: clamp(28px, 2.6vw, 36px);
    --cms-reading-size: clamp(19px, 1.55vw, 23px);
    --cms-reading-height: 1.95;

    box-sizing: border-box;
    width: 100%;
    padding: 42px 0 52px !important;
    color: var(--orpon-text, inherit);
}

html body #content .orpon-cms-page .orpon-cms-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

html body #content .orpon-cms-page .orpon-cms-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0 auto !important;
    padding: clamp(26px, 4vw, 54px) !important;

    background: var(
        --orpon-card,
        var(--royal-surface, transparent)
    ) !important;

    border: 1px solid var(
        --orpon-border,
        var(--royal-border, currentColor)
    );

    border-radius: 14px;
}

html body #content .orpon-cms-page .orpon-cms-heading {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 30px !important;
    padding: 0 !important;
    text-align: center !important;
}

html body #content .orpon-cms-page h1.orpon-cms-title {
    display: block !important;
    float: none !important;
    width: 100% !important;

    margin: 0 auto !important;
    padding: 0 !important;

    font-family: var(--cms-reading-font) !important;
    font-size: var(--cms-title-size) !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;

    text-align: center !important;
    color: var(--orpon-text, inherit) !important;
    overflow-wrap: anywhere;
}

html body #content .orpon-cms-page .orpon-cms-heading::after {
    content: "";
    display: block;
    width: 65px;
    height: 2px;
    margin: 18px auto 0;

    background: var(
        --orpon-gold,
        var(--royal-gold, currentColor)
    );

    border-radius: 2px;
}

html body #content .orpon-cms-page .orpon-cms-body {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 920px;

    margin: 0 auto !important;
    padding: 0 !important;

    font-family: var(--cms-reading-font) !important;
    font-size: var(--cms-reading-size) !important;
    font-weight: 400;
    line-height: var(--cms-reading-height) !important;

    text-align: center;
    color: var(--orpon-text, inherit) !important;

    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
}

/* Override legacy rich-text font declarations. */

html body #content .orpon-cms-page .orpon-cms-body
:is(div, p, span, font, li, a, strong, b, em, i, u, blockquote) {
    font-family: var(--cms-reading-font) !important;
    font-size: var(--cms-reading-size) !important;
    line-height: var(--cms-reading-height) !important;
    overflow-wrap: anywhere;
}

/* Preserve explicit left, right or center alignment. */

html body #content .orpon-cms-page .orpon-cms-body
:is(div, p, blockquote):not([style*="text-align"]):not([align]) {
    text-align: inherit;
}

html body #content .orpon-cms-page .orpon-cms-body p {
    margin: 0 0 16px;
}

html body #content .orpon-cms-page .orpon-cms-body
:is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--cms-reading-font) !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
    margin: 24px 0 16px;
    color: var(--orpon-text, inherit);
}

html body #content .orpon-cms-page .orpon-cms-body h1 {
    font-size: clamp(27px, 2.4vw, 32px) !important;
}

html body #content .orpon-cms-page .orpon-cms-body h2 {
    font-size: clamp(24px, 2vw, 28px) !important;
}

html body #content .orpon-cms-page .orpon-cms-body
:is(h3, h4, h5, h6) {
    font-size: clamp(21px, 1.8vw, 25px) !important;
}

html body #content .orpon-cms-page .orpon-cms-body
:is(h1, h2, h3, h4, h5, h6) span {
    font-size: inherit !important;
}

html body #content .orpon-cms-page .orpon-cms-body
:is(strong, b) {
    font-weight: 600 !important;
}

html body #content .orpon-cms-page .orpon-cms-body
:is(img, video) {
    max-width: 100% !important;
    height: auto !important;
}

html body #content .orpon-cms-page .orpon-cms-body iframe {
    max-width: 100% !important;
}

html body #content .orpon-cms-page .orpon-cms-body
:is(ul, ol) {
    padding-inline-start: 1.4em;
    list-style-position: inside;
}

html body #content .orpon-cms-page .orpon-cms-body
table {
    max-width: 100%;
}

html body #content .orpon-cms-page .orpon-cms-body
> :last-child {
    margin-bottom: 0;
}

/* Tablet and mobile */

@media (max-width: 767.98px) {

    html body #content .orpon-cms-page {
        --cms-title-size: 28px;
        --cms-reading-size: 19px;
        --cms-reading-height: 1.9;

        padding: 24px 0 36px !important;
    }

    html body #content .orpon-cms-page .orpon-cms-container {
        padding: 0 12px !important;
    }

    html body #content .orpon-cms-page .orpon-cms-card {
        padding: 28px 16px !important;
        border-radius: 12px;
    }

    html body #content .orpon-cms-page .orpon-cms-heading {
        margin-bottom: 24px !important;
    }

    html body #content .orpon-cms-page .orpon-cms-heading::after {
        width: 48px;
        margin-top: 14px;
    }

    html body #content .orpon-cms-page .orpon-cms-body table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 359px) {

    html body #content .orpon-cms-page {
        --cms-title-size: 26px;
        --cms-reading-size: 18px;
    }

    html body #content .orpon-cms-page .orpon-cms-container {
        padding: 0 8px !important;
    }

    html body #content .orpon-cms-page .orpon-cms-card {
        padding: 24px 12px !important;
    }
}


/* ORPONSHOP V22.14B CONTACT PAGE */

html body.gotop .orpon-contact-v2214b {
    padding: clamp(28px, 5vw, 72px) 0 !important;
    font-family: var(--orpon-reading-font, "Noto Serif Bengali", serif) !important;
    color: var(--orpon-text, #34432b);
}

html body.gotop .orpon-contact-v2214b .orpon-contact-heading {
    width: 100%;
    text-align: center !important;
    margin: 0 auto 34px !important;
}

html body.gotop .orpon-contact-v2214b .orpon-contact-heading h1 {
    display: block;
    width: 100%;
    text-align: center !important;
    font-family: var(--orpon-reading-font, serif) !important;
    font-size: clamp(27px, 3vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: var(--orpon-text, #34432b) !important;
    margin: 0 auto !important;
}

html body.gotop .orpon-contact-v2214b .orpon-contact-heading::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--royal-gold, #879467);
}

html body.gotop .orpon-contact-v2214b .cont_item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 86px;
    padding: 18px;
    margin-bottom: 20px;
    background: var(--orpon-card, #f8f8ef) !important;
    border: 1px solid var(--royal-border, #a5ad91);
    border-radius: 14px;
    text-align: center;
}

html body.gotop .orpon-contact-v2214b .cont_item a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--orpon-reading-font, serif) !important;
    font-size: 21px !important;
    font-weight: 600;
    line-height: 1.6;
    color: var(--orpon-text, #34432b) !important;
    overflow-wrap: anywhere;
    max-width: 100%;
}

html body.gotop .orpon-contact-v2214b .cont_item svg {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}

html body.gotop .orpon-contact-v2214b .contact-form {
    margin: 12px auto 0 !important;
    padding: clamp(20px, 4vw, 42px) !important;
    border: 1px solid var(--royal-border, #a5ad91);
    border-radius: 18px !important;
    background: var(--orpon-surface, #e8ebd9) !important;
}

html body.gotop .orpon-contact-v2214b .account-title {
    text-align: center !important;
    font-family: var(--orpon-reading-font, serif) !important;
    font-size: 25px !important;
    font-weight: 600;
    line-height: 1.6;
    padding-bottom: 18px;
    margin-bottom: 24px;
    color: var(--orpon-text, #34432b) !important;
}

html body.gotop .orpon-contact-v2214b label {
    display: block;
    font-family: var(--orpon-reading-font, serif) !important;
    font-size: 19px !important;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.6;
}

html body.gotop .orpon-contact-v2214b .form-control {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px !important;
    border: 1px solid var(--royal-border, #a5ad91) !important;
    border-radius: 9px !important;
    background: var(--orpon-input, #fafbf4) !important;
    color: var(--orpon-text, #34432b) !important;
    font-family: var(--orpon-reading-font, serif) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

html body.gotop .orpon-contact-v2214b .form-control:focus {
    outline: 2px solid var(--store-primary, #52633c);
    outline-offset: 2px;
}

html body.gotop .orpon-contact-v2214b textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

html body.gotop .orpon-contact-v2214b .submit-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 10px !important;
    font-family: var(--orpon-reading-font, serif) !important;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 767.98px) {

    html body.gotop .orpon-contact-v2214b {
        padding: 30px 0 !important;
    }

    html body.gotop .orpon-contact-v2214b .orpon-contact-heading {
        margin-bottom: 24px !important;
    }

    html body.gotop .orpon-contact-v2214b .row > .col-sm-6,
    html body.gotop .orpon-contact-v2214b .row > .col-sm-10 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    html body.gotop .orpon-contact-v2214b .cont_item {
        min-height: 66px;
        margin-bottom: 12px;
        padding: 12px;
    }

    html body.gotop .orpon-contact-v2214b .cont_item a {
        font-size: 18px !important;
    }

    html body.gotop .orpon-contact-v2214b .contact-form {
        padding: 18px !important;
        border-radius: 12px !important;
    }

    html body.gotop .orpon-contact-v2214b .account-title {
        font-size: 22px !important;
    }

    html body.gotop .orpon-contact-v2214b label {
        font-size: 17px !important;
    }

    html body.gotop .orpon-contact-v2214b .form-control {
        font-size: 17px !important;
        min-height: 48px;
    }

    html body.gotop .orpon-contact-v2214b .submit-btn {
        font-size: 19px !important;
    }
}

@media (max-width: 359px) {
    html body.gotop .orpon-contact-v2214b .contact-form {
        padding: 13px !important;
    }

    html body.gotop .orpon-contact-v2214b .cont_item a {
        font-size: 16px !important;
    }
}



/* ORPONSHOP V22.14B2 DESKTOP CONTACT COMPACT */

@media (min-width: 992px) {

    html body.gotop .orpon-contact-v2214b
    .row:has(> * > .cont_item) {
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 18px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body.gotop .orpon-contact-v2214b
    .row > *:has(> .cont_item) {
        flex: 0 1 360px !important;
        width: 360px !important;
        max-width: 360px !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body.gotop .orpon-contact-v2214b
    .cont_item {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 360px !important;
        min-height: 68px !important;
        height: auto !important;
        padding: 12px 20px !important;
        margin: 0 auto 20px !important;
        border-radius: 12px !important;
    }

    html body.gotop .orpon-contact-v2214b
    .cont_item a {
        font-size: 20px !important;
        line-height: 1.6 !important;
    }
}



/* ORPONSHOP V22.14B3 CONTACT LABEL */

@media (min-width: 992px) {
    html body label.orpon-contact-mobile-label {
        display: block !important;
        width: 100% !important;
        text-align: right !important;
    }
}
