/* Shared spacing and controls for existing content; commerce behavior stays native. */
body:not(.home):not(.page-id-44):not(.page-id-1109) header.top_panel {
    background-image:none!important; background-color:#fff; border-bottom:1px solid #edf0f2; margin-bottom:0!important;min-height:0!important;height:auto!important;
}
body:not(.home):not(.page-id-44):not(.page-id-1109) header.top_panel .vc_empty_space {display:none!important;}
.top_panel .sc_layouts_row {align-items:center;}
.top_panel .sc_layouts_item {margin:0!important;}
.top_panel .sc_layouts_logo {display:inline-flex;align-items:center;line-height:1;}
.top_panel .sc_layouts_row .vc_column-inner {padding-top:0!important;padding-bottom:0!important;}
.content_wrap,.content_container {max-width:1180px;}
.page_content_wrap {padding-top:48px!important;padding-bottom:48px!important;}
.remove_margins .page_content_wrap {padding-top:0!important;padding-bottom:0!important;}
.post_content .vc_empty_space {max-height:48px!important;}
.post_content .vc_empty_space + .vc_empty_space,.footer_wrap .vc_empty_space + .vc_empty_space {display:none!important;}
.footer_wrap .vc_empty_space {max-height:24px!important;}
.wpb_animate_when_almost_visible {opacity:1!important;transform:none!important;animation:none!important;transition:none!important;}
.post_content .wpb_text_column p,.woocommerce-product-details__short-description p {line-height:1.7;}
.sc_icons_item_title:empty,.vc_custom_heading:empty {display:none;}
.sc_googlemap {height:320px!important;min-height:0!important;}
.sc_googlemap iframe {width:100%;height:100%;border:0;}
.elshaddai-map-link {margin:16px 0 24px;text-align:center;}
a.sc_button:not(.sc_button_simple),a.vc_general.vc_btn3,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wpcf7 input[type=submit],#submit {
    box-sizing:border-box;min-height:44px;padding:12px 22px!important;border-radius:24px!important;font-size:14px!important;font-weight:600;line-height:1.4!important;letter-spacing:.01em;white-space:normal;max-width:100%;text-align:center;
}
a.sc_button:not(.sc_button_simple),.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wpcf7 input[type=submit],#submit {background:#356f88!important;color:#fff!important;}
a.vc_btn3-color-danger {background:#cf3023!important;color:#fff!important;}
a.sc_button:not(.sc_button_simple):hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.wpcf7 input[type=submit]:hover {background:#28576c!important;}
.woocommerce .button:disabled,.woocommerce .button.disabled {background:#e3e7ea!important;color:#68717d!important;opacity:1;}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {outline:2px solid #356f88;outline-offset:3px;}
.wpcf7 {max-width:720px;margin:0 auto;}
.wpcf7 form label {display:block;text-align:left;line-height:1.5;}
.wpcf7 form p {margin:0 0 16px;}
.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.wpcf7 textarea,.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.comment-form textarea,.comment-form input:not([type=submit]) {
    box-sizing:border-box;min-height:44px;font-size:16px!important;padding:10px 12px!important;border:1px solid #ccd4dc!important;border-radius:6px!important;background:#f8fafc;color:#273746;
}
.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.wpcf7 textarea {width:100%;}
.wpcf7 input[type=submit] {width:auto;}
.wpcf7 textarea,.woocommerce textarea,.comment-form textarea {min-height:150px;}
.wpcf7-not-valid-tip {font-size:14px;margin-top:6px;}
.woocommerce ul.products li.product .post_featured .icons,.woocommerce ul.products li.product .post_featured .mask {display:none!important;}
.woocommerce .shop_mode_thumbs ul.products,.woocommerce .related ul.products,.woocommerce .up-sells ul.products {display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;}
.woocommerce .shop_mode_thumbs ul.products:before,.woocommerce .shop_mode_thumbs ul.products:after,.woocommerce .related ul.products:before,.woocommerce .related ul.products:after {display:none;}
.woocommerce .shop_mode_thumbs ul.products li.product,.woocommerce .related ul.products li.product,.woocommerce .up-sells ul.products li.product {float:none!important;width:100%!important;margin:0!important;}
.woocommerce .shop_mode_thumbs ul.products .post_item,.woocommerce .related ul.products .post_item {height:100%;display:flex;flex-direction:column;border:1px solid #e4e9ed;border-radius:8px;overflow:hidden;}
.woocommerce .shop_mode_thumbs ul.products .post_data,.woocommerce .related ul.products .post_data {padding:18px!important;display:flex;flex-direction:column;align-items:flex-start;flex:1;gap:8px;text-align:left;}
.woocommerce .shop_mode_thumbs ul.products .post_featured,.woocommerce .related ul.products .post_featured {margin:0!important;}
.woocommerce ul.products li.product .post_data > a.button {display:inline-block!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;margin-top:14px;}
.woocommerce ul.products li.product .post_featured img {width:100%;height:280px;object-fit:contain;background:#f8fafc;}
.woocommerce ul.products li.product .woocommerce-loop-product__title {font-size:18px!important;line-height:1.4!important;min-height:0;}
.woocommerce .price {color:#356f88!important;line-height:1.4;font-weight:700;}
.woocommerce .shop_mode_thumbs ul.products .price,.woocommerce .related ul.products .price {margin:0;}
.woocommerce .quantity input.qty {min-height:44px;width:76px;}
.woocommerce div.product form.cart {display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.woocommerce div.product form.cart .quantity {margin:0!important;}
.woocommerce div.product form.cart .button {margin:0!important;}
.footer_wrap .sc_content_container > .vc_row:has(> .vc_col-sm-4) {display:flex;flex-wrap:wrap;gap:32px;}
.footer_wrap .sc_content_container > .vc_row:has(> .vc_col-sm-4) > .wpb_column {width:calc(50% - 16px);}
.footer_wrap .wpb_column:has(> .vc_column-inner > .wpb_wrapper:empty) {display:none!important;}
.footer_wrap .widget_title,.footer_wrap .widgettitle {font-size:20px!important;line-height:1.4;margin-bottom:18px!important;}
.footer_wrap .contacts_description,.footer_wrap .banneritem,.footer_wrap .contacts_info,.footer_wrap .textwidget {font-size:15px;line-height:1.7;color:#d5d9e1;}
.footer_wrap .copyright .vc_column-inner {padding:14px 0!important;}
.footer_wrap .copyright p {margin:0;font-size:13px;line-height:1.6;color:#d5d9e1;}
.footer_wrap .copyright a {color:#a9c8d8!important;text-decoration:underline;}
@media(min-width:1101px) {
    .top_panel .sc_layouts_row {display:flex;flex-wrap:nowrap;}
    .top_panel .sc_layouts_row > .wpb_column:first-child {width:16%;flex-shrink:0;}
    .top_panel .sc_layouts_row > .wpb_column:nth-child(2) {width:auto;flex:1;min-width:0;}
    .top_panel .sc_layouts_row > .header-actions {width:auto;flex-shrink:0;}
    .top_panel .header-actions > .vc_column-inner > .wpb_wrapper {display:flex;align-items:center;gap:8px;}
    .top_panel .header-actions .vc_icon_element,.top_panel .header-actions .sc_layouts_item {margin:0!important;}
    .top_panel .sc_layouts_menu_nav > li > a {padding:.7em .55em!important;font-size:13px;}
}
@media(max-width:1100px) {
    header.top_panel .header-actions {display:none!important;}
    header.top_panel .sc_layouts_menu {display:none!important;}
    header.top_panel .sc_layouts_menu_mobile_button {display:block!important;}
    header.top_panel .sc_layouts_row {display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:14px 0;}
    header.top_panel .sc_layouts_row > .wpb_column:not(.header-actions) {width:auto!important;float:none;}
    header.top_panel .sc_layouts_row {margin:0!important;padding:12px 16px!important;width:auto!important;gap:16px;}
    header.top_panel .sc_layouts_row:before,header.top_panel .sc_layouts_row:after {display:none!important;}
    header.top_panel .sc_layouts_row > .wpb_column > .vc_column-inner {padding:0!important;}
    header.top_panel .sc_layouts_row > .wpb_column > .vc_column-inner > .wpb_wrapper {display:flex;align-items:center;}
    header.top_panel .sc_layouts_row .sc_layouts_item {display:flex;align-items:center;}
    header.top_panel .sc_layouts_logo {min-height:50px;padding:0!important;}
    header.top_panel .sc_layouts_logo .logo_image {margin:0!important;}
    header.top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_link {display:flex;align-items:center;justify-content:center;min-height:50px;}
    header.top_panel .sc_layouts_logo .logo_image {max-width:150px;max-height:60px;width:auto;height:auto;}
}
@media(max-width:767px) {
    header.top_panel .sc_layouts_logo .logo_image {max-width:120px!important;max-height:50px!important;}
    .content_wrap,.content_container {width:calc(100% - 32px)!important;max-width:none;}
    .page_content_wrap {padding-top:28px!important;padding-bottom:28px!important;}
    .post_content .vc_empty_space {max-height:24px!important;}
    .footer_wrap .vc_empty_space {max-height:16px!important;}
    .post_content h1,.post_content h2,.woocommerce div.product .product_title {font-size:28px!important;line-height:1.25!important;overflow-wrap:anywhere;}
    .post_content h3 {font-size:24px!important;line-height:1.3!important;}
    .post_content h4 {font-size:21px!important;line-height:1.4!important;}
    .post_content h5,.post_content h6 {font-size:17px!important;line-height:1.4!important;}
    .post_content .wpb_text_column,.woocommerce-product-details__short-description {font-size:16px;line-height:1.7;}
    .sc_googlemap {height:240px!important;}
    .woocommerce ul.products li.product .post_featured img {height:250px;}
    .woocommerce ul.products li.product {margin-bottom:28px!important;}
    .woocommerce .shop_mode_thumbs ul.products,.woocommerce .related ul.products {grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;}
    .woocommerce form .form-row-first,.woocommerce form .form-row-last {width:100%!important;float:none!important;}
    .woocommerce table.cart thead {display:none!important;}
    .woocommerce table.cart,.woocommerce table.cart tbody {display:block;width:100%;}
    .woocommerce table.cart tbody tr {display:block;position:relative;padding:12px;margin-bottom:16px;border:1px solid #e1e6eb;border-radius:8px;}
    .woocommerce table.cart tbody td {display:block!important;width:100%!important;text-align:right!important;padding:10px 0!important;box-sizing:border-box;border:0;font-size:15px!important;}
    .woocommerce table.cart td[data-title]:before {content:attr(data-title);display:block!important;float:left;font-weight:600;color:#273746;}
    .woocommerce table.cart td.product-name {text-align:left!important;padding-right:32px!important;font-weight:600;}
    .woocommerce table.cart td.product-name:before {display:none!important;}
    .woocommerce table.cart td.product-thumbnail {display:none!important;}
    .woocommerce table.cart td.product-remove {position:absolute;right:8px;top:8px;width:32px!important;padding:0!important;}
    .woocommerce table.cart td.product-remove a {display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;}
    .woocommerce table.cart td.actions .coupon {display:flex;flex-direction:column;gap:10px;width:100%;}
    .woocommerce table.cart td.actions input.input-text,.woocommerce table.cart td.actions button {width:100%!important;margin:0!important;}
    .woocommerce table.cart td.actions > button {margin-top:12px!important;}
    .woocommerce .checkout #payment {padding:16px;}
    .woocommerce .checkout #payment .form-row {padding:0;}
    .footer_wrap .sc_content_container > .vc_row:has(> .vc_col-sm-4) {gap:24px;}
    .footer_wrap .sc_content_container > .vc_row:has(> .vc_col-sm-4) > .wpb_column {width:100%;}
    .footer_wrap .wpb_column {padding-top:0!important;margin-top:0!important;border:0!important;}
    .footer_wrap .wpb_column:before,.footer_wrap .wpb_column:after {display:none!important;}
    .footer_wrap .widget_title,.footer_wrap .widgettitle {margin-bottom:12px!important;}
    .footer_wrap .contacts_description {margin-bottom:18px;}
}

/* Include the theme's column gutters in the footer grid width. */
.footer_wrap .sc_content_container > .vc_row:has(> .vc_col-sm-4) > .wpb_column {box-sizing:border-box;}

.footer_wrap .sc_content_container > .vc_row:has(> .vc_col-sm-4):before,.footer_wrap .sc_content_container > .vc_row:has(> .vc_col-sm-4):after {display:none!important;}
/* Clip the old theme's full-width row gutters without changing slider sizing. */
.body_wrap {overflow-x:clip;}
.scheme_default .woocommerce ul.products li.product .price {color:#356f88!important;}
.scheme_default .wpcf7 label,.scheme_default .woocommerce form .form-row label {color:#4b5563!important;}
.scheme_default .sc_sermons_item_title a,.scheme_default .sc_item_title a {color:#356f88!important;}
body.scheme_default #submit {background:#356f88!important;color:#fff!important;}
