/*
 * Shalom House 2025 shell port.
 *
 * This file deliberately contains only the shared header/footer rules from the
 * draft redesign.  The draft's global .container-fluid override is excluded so
 * product categories and custom section directories retain their existing
 * content widths.
 */

.free-shipping {
    background: #3c7ece;
    color: #fff;
    font-size: 13px;
    padding: 3px;
}

header,
header.header_index {
    background: none;
    margin: 0;
    padding: 0;
}

header > .container-fluid,
header nav > .container-fluid,
.footer > .container-fluid,
.container_index {
    padding-left: 4%;
    padding-right: 4%;
}

/* Keep legacy category artwork in the banner area while the new shell stays white. */
header > .container-fluid:first-of-type,
header nav {
    background: #fff;
}

.navbar.navbar-light {
    border-bottom: 1px solid #c3c6db;
    border-top: 1px solid #c3c6db;
    box-shadow: 0 1px 4px rgba(140, 146, 190, 0.438);
    padding: 0;
}

.navbar-nav {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
    position: static;
}

.top-menu {
    margin-top: 0;
}

.top-menu .nav-link {
    color: #1e5aa2 !important;
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 18px;
    padding-top: 18px;
}

.top-menu .cur .nav-link {
    color: #e25500 !important;
    font-weight: bold;
}

.nav-item.search-item,
.list-inline-item.search-item {
    background: #f19d4a;
    padding-left: 10px;
    position: relative;
}

.nav-item.search-item i,
.list-inline-item.search-item i {
    color: #fff;
}

.js-searchform {
    background: transparent;
    left: auto;
    padding-left: 15px;
    right: -60px;
    z-index: 1000;
}

.js-searchform.active {
    background: #f99a42;
}

.logo-part {
    margin: 0;
    padding: 15px 0 20px;
    position: relative;
    text-align: initial;
    z-index: 10;
}

.logo {
    background: transparent;
    border-radius: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.navbar-brand {
    display: block;
    height: 144px;
    padding: 0;
    width: auto;
}

.navbar-brand img {
    height: 100%;
    width: auto;
}

.roof {
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 0;
    vertical-align: middle;
}

.roof ul {
    color: #6776a6;
    margin: 0;
    padding: 0;
    text-align: right;
}

.roof ul li {
    padding: 0 5px;
    vertical-align: middle;
}

.roof a {
    color: #6776a6;
    display: inline-block;
    padding: 2px;
    text-decoration: none;
    vertical-align: middle;
}

.roof a i {
    color: #1e5aa2;
    display: block;
    font-size: 28px;
    text-align: center;
}

.roof .phone,
.roof .phone a {
    color: #1e5aa2;
}

.roof .phone a {
    font-size: 25px;
    font-weight: 400;
}

.roof .viewcart {
    position: relative;
}

.roof .viewcart .badge {
    color: #fff;
    margin-left: 2px;
    margin-right: 2px;
    position: absolute;
    top: 12px;
    width: 19px;
    z-index: 10;
}

.roof .blog .nav-link,
.roof .about .nav-link {
    font-size: 15px;
}

.roof a.login-icon {
    display: block;
    margin: 2px 0 -3px;
    padding: 0;
}

.footer .gray {
    background: #3c7ece;
    border-top: 0;
    color: #fff;
}

.footer .gray a,
.footer .gray .social-links a {
    color: #fff;
}

@media (max-width: 767px) {
    header > .container-fluid,
    header nav > .container-fluid,
    .footer > .container-fluid,
    .container_index {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-toggler {
        right: 31px;
        top: -81px;
        z-index: 10;
    }

    .navbar-nav {
        background: #fff;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        position: static;
    }

    .top-menu .nav-link {
        border-bottom: 1px dotted;
        display: block;
        font-size: 18px;
        padding: 10px 5px !important;
        text-align: center;
    }

    .top-menu ul.navbar-nav li.nav-item {
        border-bottom: 0;
        display: block;
        font-size: 18px;
        width: 100%;
    }

    .list-inline-item.search-item {
        border-radius: 5px;
        height: 40px;
        line-height: 0;
        padding: 0 !important;
        width: 38px;
    }

    .list-inline-item.search-item .btn {
        line-height: 38px;
        margin: 0 !important;
        padding: 0 5px;
    }

    .js-searchform {
        border-radius: 10px;
        height: 50px;
        padding: 15px !important;
        right: -60px;
        top: -3px;
        width: 282px;
    }

    .searchform input[type=text] {
        margin-right: 5px;
        width: 221px;
    }

    .logo-part {
        margin: 0;
        padding-top: 15px;
        text-align: initial;
    }

    .logo {
        display: block;
    }

    .navbar-brand {
        height: 83px;
        padding: 0;
        text-align: center;
    }

    .roof {
        font-size: 10px !important;
        margin: 0;
    }

    .roof .align-items-center {
        margin-right: 94px;
    }

    .roof .nav-link {
        font-size: 10px !important;
    }

    .roof i {
        font-size: 25px !important;
    }

    .roof .phone i {
        font-size: 18px !important;
    }

    .roof .phone a {
        font-size: 16px;
    }

    .roof ul li {
        padding: 0;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .roof .align-items-center {
        margin-right: 126px;
    }

    .js-searchform {
        top: -6px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-brand {
        height: 83px;
        padding: 0;
    }

    .top-menu .nav-link {
        font-size: 13px;
        padding: 10px 5px !important;
    }

    .nav-item.search-item {
        border-radius: 10px;
        height: 40px;
        line-height: 0;
        padding: 0 !important;
        position: absolute;
        right: 0;
        top: -83px;
        width: 51px;
    }

    .js-searchform {
        border-radius: 10px;
        height: 50px;
        left: auto;
        padding: 15px !important;
        right: 0;
        top: -6px;
    }

    .searchform input[type=text] {
        margin-right: 5px;
        width: 221px;
    }

    .roof {
        font-size: 10px !important;
    }

    .roof .align-items-center {
        margin-right: 59px;
    }

    .roof .nav-link {
        font-size: 10px !important;
    }

    .roof i {
        font-size: 25px !important;
    }

    .roof .phone i {
        font-size: 18px !important;
    }

    .roof .phone a {
        font-size: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-brand {
        height: 100px;
    }

    .top-menu .nav-link {
        font-size: 14px;
    }

    .nav-item.search-item {
        padding-left: 0;
        width: 51px;
    }

    .roof .phone a {
        font-size: 22px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .navbar-brand {
        height: 118px;
    }

    .top-menu .nav-link {
        font-size: 16px;
    }

    .nav-item.search-item {
        padding-left: 3px;
        width: 52px;
    }

    .roof .phone a {
        font-size: 22px;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .top-menu .nav-link {
        font-size: 17px;
    }
}

@media (min-width: 1600px) and (max-width: 1799px) {
    .top-menu .nav-link {
        font-size: 18px;
    }
}

/*
 * Homepage cache-safe overrides.  The legacy site publishes a fixed CSS query
 * version, so these rules also ensure previously cached index.css copies cannot
 * reintroduce the old hero after deployment.
 */
.index-baner {
    background: url(../img/index25-3.webp) right top / 50% no-repeat #f99a42;
    height: 700px;
    margin-bottom: 0;
    padding-top: 0;
    top: auto;
}

.index-baner .text {
    margin-bottom: 0;
    padding: 0 10% 0 5%;
}

.index-baner h1 {
    font-size: 60px;
    margin-bottom: 30px;
    text-shadow: none;
}

.index-baner h2 {
    font-size: 25px;
    text-align: center;
    text-shadow: none;
}

.Ketubah {
    background: url(../img/index25-ktuba3.webp) 0 0 / 50% no-repeat #f19d4a;
    height: auto;
    padding: 70px 0 20px;
}

.Ketubah a {
    font-size: 18px;
    text-shadow: none;
}

.Ketubah h3 {
    font-size: 40px;
}

.Ketubah .btn {
    background: transparent;
    border-color: #fff;
}

.Ketubah .subscribe-box {
    background: #da7008;
    font-size: inherit;
    margin: 50px;
}

.featured {
    margin: 50px;
}

/* Repair full-width custom/category wrappers without changing their content padding. */
@media (min-width: 1400px) {
    .container-fluid.ps-xxl-5.pe-xxl-5.ms-xxl-5.me-xxl-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 575px) {
    .index-baner {
        height: 164px;
        padding: 0;
    }

    .index-baner h1 {
        font-size: 17px;
        margin-bottom: 9px;
    }

    .index-baner h2 {
        font-size: 11px;
    }

    .index-baner .text {
        margin-bottom: 9px;
        padding: 0;
    }

    .Ketubah {
        background-size: cover;
        height: 599px;
        padding: 29px 0 0;
    }

    .Ketubah a {
        background: rgba(217, 112, 8, 0.592);
        font-size: 13px;
        margin: 0;
        padding: 30px;
    }

    .Ketubah h3 {
        font-size: 25px;
    }

    .Ketubah .subscribe-box {
        font-size: 13px;
        margin: 25px 0 0;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .index-baner {
        height: 237px;
    }

    .index-baner h1 {
        font-size: 21px;
        margin-bottom: 9px;
    }

    .index-baner h2 {
        font-size: 15px;
    }

    .index-baner .text {
        margin-bottom: 9px;
        padding-left: 0;
        padding-right: 7%;
    }

    .Ketubah {
        background-size: cover;
        height: 552px;
        padding: 29px 0 0;
    }

    .Ketubah a {
        background: rgba(217, 112, 8, 0.592);
        font-size: 13px;
        margin: 0 50px;
        padding: 30px;
    }

    .Ketubah h3 {
        font-size: 25px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .index-baner {
        height: 260px;
    }

    .index-baner h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .index-baner h2 {
        font-size: 16px;
    }

    .index-baner .text {
        padding: 0 5% 0 0;
    }

    .Ketubah {
        background-size: cover;
        height: 494px;
        padding: 29px 0 60px;
    }

    .Ketubah a {
        background: rgba(217, 112, 8, 0.592);
        font-size: 13px;
        margin: 0 50px;
        padding: 30px;
    }

    .Ketubah h3 {
        font-size: 25px;
    }

    .featured {
        margin: 50px 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .index-baner {
        height: 351px;
    }

    .index-baner h1 {
        font-size: 35px;
        margin-bottom: 10px;
    }

    .index-baner h2 {
        font-size: 18px;
    }

    .Ketubah {
        height: 403px;
        padding: 29px 0 60px;
    }

    .Ketubah a {
        font-size: 13px;
    }

    .Ketubah h3 {
        font-size: 25px;
    }

    .Ketubah .subscribe-box {
        font-size: 13px;
        margin-top: 15px;
        padding: 10px;
    }

    .featured {
        margin: 50px 0;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .index-baner {
        height: 409px;
    }

    .index-baner h1 {
        font-size: 35px;
        margin-bottom: 10px;
    }

    .index-baner h2 {
        font-size: 18px;
    }

    .Ketubah {
        height: 488px;
        padding-top: 30px;
    }

    .Ketubah a {
        font-size: 14px;
    }

    .Ketubah h3 {
        font-size: 32px;
    }

    .featured {
        margin: 50px 0;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .index-baner {
        height: 590px;
    }

    .index-baner h1 {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .index-baner h2 {
        font-size: 20px;
    }

    .Ketubah a {
        font-size: 15px;
    }

    .Ketubah h3 {
        font-size: 32px;
    }

    .featured {
        margin: 50px 0;
    }
}
