/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: old-hickory
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* GLOBAL HELPERS */
.mb-0 {
    margin-bottom:  0!important;
}
.mt-30 {
    margin-top: 30px!important;
}

/*CUSTOM HOMEPAGE TEMPLATE*/
.page-template-template-custom-homepage {
    background-color: #344b5d;
    background-image: url(../../uploads/2022/07/2.png);
    background-position: center center;
    background-size: cover;
}

.page-template-template-custom-homepage .site-main {
    max-width: 100vw !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
}

.four-col-wrap, .details-wrap, .interactive-building, .above-badge-bar, .flip-box-wrap, .social-media-wrap, .badge-bar, .feat-config-wrap .flip-box-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

div.slider:before {
    display: none;
}

#mobile-zip-code-selection {
    display: none;
}

#english-hero .blue-bg-wrap, #french-hero .blue-bg-wrap, #canada-hero .blue-bg-wrap {
    background-color: #305979;
    max-height: 440px;
}

#english-hero .ohb-slider-wrap, #french-hero .ohb-slider-wrap, #canada-hero .ohb-slider-wrap {
    position: relative;
    max-height: 440px;
    width: 100%;
    overflow: hidden;
}

#english-hero .ohb-slider, #french-hero .ohb-slider, #canada-hero .ohb-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#english-hero .ohb-slide, #french-hero .ohb-slide, #canada-hero .ohb-slide {
    min-width: 100%;
    max-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#english-hero .ohb-slide img, #french-hero .ohb-slide img, #canada-hero .ohb-slide img {
    width: 100%;
    max-width: 1440px;
    max-height: 450px;
    object-fit: cover;
}

.english-pagination, .french-pagination, .canada-pagination{
    text-align: center;
    display: flex;
    justify-content: center;
}

.dot {
    display: inline-block;
    width: 150px;
    height: 3px;
    margin: 20px;
    background-color: #ccc;
    cursor: pointer;
}

.dot.active {
    background-color: #DBBC60;
}

.four-col {
    max-width: 1140px;
    margin: 40px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 20px;
}


.four-col-img-wrap {
    width: 25%;
}

.four-col-text-wrap {
    text-align: center;
    margin-top: 10px;
}

.yellow-text {
    font-size: 16px;
    color: #DBBC60;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.details-wrap {
    margin: 80px auto 0;
    text-align: center;
}

.details-heading, .social-media-wrap h3 {
    color: #DBBC60;
    font-size: 35px;
    font-weight: 600;
    margin: 0 0 20px;
    text-align: center;
}

.details-wrap p, .interactive-building .info-wrapper > div p, .flip-box-back a, .flip-box-back p {
    color: #fff;
    font-size: 13px;
    font-weight: 300;
}

.interactive-building {
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
}

.interactive-building .img-wrapper {
    position: relative;
}

.interactive-building .img-wrapper .red-dot {
    background: #c93232;
    color: #FFF;
    text-align: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.interactive-building .img-wrapper > div {
    position: absolute;
}

.interactive-building .img-wrapper > div:hover {
    cursor: pointer;
}

.interactive-building .star-1 {
    top: 1%;
    right: 32%;
}

.interactive-building .star-2 {
    top: 25%;
    right: 10%;
}

.interactive-building .star-3 {
    top: 50%;
    left: 25%;
}

.interactive-building .star-4 {
    top: 55%;
    right: 15%;
}

.interactive-building .star-5 {
    bottom: 25%;
    left: 25%;
}

.interactive-building .star-6 {
    bottom: 10%;
    left: 35%;
}

.interactive-building .star-7 {
    top: 30%;
    left: 15%;
}

.interactive-building .info-wrapper {
    max-width: 35%;
    margin-top: 5em;
}

.interactive-building .info-wrapper > div {
    display: none;
}

.interactive-building .info-wrapper > div img {
    margin-bottom: 20px;
    display: block;
}

.interactive-building .info-wrapper > div h3 {
    font-size: 18px;
    font-weight: bold;
    color: #DBBC60;
}

.above-badge-bar p {
    color: #fff;
}

.badge-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
}

.badge-bar img {
    max-width: 200px;
}

.flip-box-wrap, .feat-config-wrap .flip-box-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.flip-box, .feat-config-wrap .flip-box {
    position: relative;
    max-width: 354px;
    width: 100%;
    height: 225px;
    border: 3px solid #dbbc60;
}

.flip-box-inner, .feat-config-wrap .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.flip-box-front, .flip-box-back, .feat-config-wrap .flip-box-front, .feat-config-wrap .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-box-front, .feat-config-wrap .flip-box-front {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s;
}

.image-container {
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.image-container img, .feat-config-wrap .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    background-color: #00587A;
    font-weight: 600;
    font-size: 16px;
    color: #dbbc60;
    padding: 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.flip-box-back-title {
    font-size: 18px;
    font-weight: 600;
    color: #dbbc60;
    width: 100%;
    margin-bottom: 5px;
}

.flip-box-back, .feat-config-wrap .flip-box-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #00587A;
    padding: 0 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.6s;
}

.flip-box-back p {
    margin-bottom: 0;
}

.feat-config-wrap .flip-box-back p {
    font-size: 16px;
    margin-bottom: 20px;
}

.flip-box:hover .flip-box-back, .feat-config-wrap .flip-box:hover .flip-box-back {
    transform: translateY(0);
}

.flip-box:hover .flip-box-front, .feat-config-wrap .flip-box:hover .flip-box-front {
    transform: translateY(-100%);
}

.feat-config-heading {
    color: #dbbc60;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 20px;
}

.feat-config-wrap {
    margin: 80px auto;
}

.feat-config-wrap .flip-box {
    max-width: 550px;
    height: 280px;
}

.feat-config-wrap .image-container {
    height: 240px;
}

.feat-config-wrap .image-container img {
    height: 230px !important;
}

.feat-config-wrap .text-overlay {
    color: white;
    font-size: 21px;
}

.feat-config-btn {
    font-size: 18px;
    font-weight: 700;
    color: #305979;
    background-color: #DBBC60;
    border-color: #DBBC60;
}

.feat-config-btn:hover {
    background-color: #DBBC60;
    color: #305979;
}

.social-media-wrap {
    margin-bottom: 60px;
}


@media screen and (max-width: 1105px) {
    .feat-config-wrap .flip-box-wrap .flip-box-front .text-overlay {
        font-size: 18px;
    }
}

@media screen and (max-width: 1032px) {
    .interactive-building {
        flex-direction: column;
        align-items: center;
    }
    .interactive-building .img-wrapper {
        max-width: 400px;
    }
    .interactive-building .info-wrapper {
        max-width: 100%;
    }
    .info-wrapper {
        text-align: center;
    }
    .interactive-building .info-wrapper > div p {
        font-size: 1rem;
    }
    .info-wrapper > div > img {
        margin: 0 auto 20px;
    }
    .flip-box-back p {
        font-size: 11px;
    }
    .text-overlay {
        font-size: 14px;
    }
    .above-badge-bar p {
        text-align: center;
    }
    .badge-bar img {
        max-width: 150px;
    }
    .badge-bar {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 965px) {
    .feat-config-wrap .flip-box-wrap .flip-box {
        width: 100%;
        max-width: 100%;
    }
    .feat-config-wrap .flip-box-wrap {
        flex-direction: column;
    }
}

@media screen and (max-width: 834px) {
    .flip-box-wrap, .four-col {
        display: flex;
        flex-direction: column;
    }
    .flip-box-wrap .flip-box, .four-col-img-wrap {
        max-width: 100%;
        width: 100%;
    }
    .four-col-img-wrap {
        margin-bottom: 20px;
    }
    .four-col-img-wrap:last-child {
        margin-bottom: 0;
    }
    .four-col-img-wrap img {
        width: 100%;
    }
    .flip-box-back p {
        font-size: 13px;
    }
    .feat-config-wrap .flip-box .flip-box-front .text-overlay {
        font-size: 16px;
    }
    .feat-config-wrap .flip-box-back p {
        font-size: 14px;
    }
    .feat-config-wrap > .flip-box-wrap:first-of-type {
        margin-bottom: 20px;
    }
    .image-container img {
        background-color: #00587A;
    }
}

@media screen and (max-width: 767px) {
    .grid-item-facebook-page-posts {
        width: 100% !important;
    }
    .no-dealer #mobile-zip-code-selection {
        display: block;
    }
    .mobile-zipcode-wrap {
        padding: 20px 20px 0;
    }
}

/*NEW CUSTOM HOMEPAGE FRENCH VERSION*/

#french-hero {
    display: none;
}

.translated-ltr #french-hero {
    display: block !important;
}

.translated-ltr #english-hero {
    display: none;
}

.translated-ltr .flip-box-wrap .flip-box .flip-box-inner .flip-box-back .back-content p {
    font-size: 11px;
}

.translated-ltr .flip-box-wrap .flip-box .flip-box-inner .flip-box-back .back-content .flip-box-back-title {
    font-size: 14px;
}

.translated-ltr .feat-config-wrap .flip-box-wrap .flip-box .flip-box-inner .flip-box-back .back-content p {
    font-size: 14px;
}

.translated-ltr .feat-config-wrap .text-overlay {
    font-size: 18px;
}

#french-badges {
    display: none;
}

.translated-ltr #english-badges {
    display: none;
}

.translated-ltr #french-badges {
    display: flex;
}

/* WordPress Store Locator */
#wpsl-wrap .wpsl-gmap-canvas, #wpsl-wrap #wpsl-result-list #wpsl-stores {
    height: 550px !important;
}

/*CONTACT STYLE*/

.confirm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    box-sizing: border-box;

    opacity: 0;
    animation-name: confirm---open;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;

    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm--close {
    animation-name: confirm---close;
}

.confirm__window {
    width: 100%;
    max-width: 600px;
    background: white;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

    opacity: 0;
    transform: scale(0.75);
    animation-name: confirm__window---open;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}

.confirm__titlebar,
.confirm__content,
.confirm__buttons {
    padding: 1.25em;
}

.confirm__titlebar {
    background: #15577A;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.confirm__title {
    font-weight: bold;
    font-size: 1.1em;
}

.confirm__close {
    display:none;
    background: none;
    outline: none;
    border: none;
    transform: scale(2.5);
    color: #ffffff;
    transition: color 0.15s;
}

.confirm__close:hover {
    color: #15577A;
    cursor: pointer;
}

.confirm__content {
    line-height: 1.8em;
	font-size: 18px;
	text-align: center;
}

.confirm__buttons {
    background: white;
    display: flex;
    justify-content: flex-end;
}

.confirm__button {
    padding: 0.4em 0.8em;
    border: 2px solid #DBBC60;
    border-radius: 5px;
    background: #ffffff;
    color: #15577A;
    font-weight: bold;
    font-size: 1.1em;
    font-family: 'Noto Sans', sans-serif;
    margin-left: 0.6em;
    cursor: pointer;
    outline: none;
}
.confirm__button:hover {
	background-color: white;
	color:#15577A;
}
.confirm__button--fill {
    background: #DBBC60;
    color: #ffffff;
}

.confirm__button:focus {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

@keyframes confirm---open {
    from { opacity: 0 }
    to { opacity: 1 }
}

@keyframes confirm---close {
    from { opacity: 1 }
    to { opacity: 0 }
}

@keyframes confirm__window---open {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*CONTACT STYLE END */


@media screen and (max-width:767px) {
    .hide-desktop {
        display: none;
    }
}

@media screen and (max-width:767px) {
    #gform_2 .gf_simple_horizontal {
        width: 100%;
    }
    #gform_2 .gform_body {
        max-width: 100%;
        width: 100%!important;
        display: block;
    }
    #gform_2 #gform_fields_2 {
        width: 100%!important;
        display: block;
        text-align: center;
    }
    #gform_2 #field_2_3 {
        display: block;
        padding-right: 0;
    }
    #gform_2 #input_2_3 {
        width: 100%!important;
        display: block;
    }
    #gform_2 #input_2_3_5 {
        width: 100%;
        max-width: 100%;
        display: block;
        font-size: 18px;
    }
    #gform_2 .gform_footer {
        display: block;
        width: 100%!important;
        text-align: center;
        max-width: 100%;
    }
    #gform_2 #gform_submit_button_2 {
        width: 100%;
        display: block;
        font-size: 20px;
    }
}




/* Nav Menu */
/* Hide product megamenu if no dealer is selected - can't be dynamic b/c that would mean crawlers couldn't find the links */
.no-dealer #parent-product-mega-nav {
    display: none;
}

.has-dealer #parent-location-mega {
    display: none;
}

#barn-builder .credits,
#barn-builder .configurator .settings > .name,
#barn-builder .configurator .settings .categories ul li .price,
#barn-builder .configurator .settings .categories .main-category li .enter,
#barn-builder .configurator .settings .summary {
    display: none !important;
}

#barn-builder .configurator {
    display: flex;
    background-color: transparent;
}

#barn-builder .configurator > .preview .preview-image {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: grid;
    max-width: 100%;
    max-height: 100%;
    transition: .4s ease;
    width: 700px;
    margin: 0 auto;
}

#barn-builder .configurator .settings {
    height: auto;
    box-shadow: none;
    transform: none !important;
    position: relative !important;
    right: auto !important;
    background: transparent;
}

#barn-builder .configurator .settings .categories {
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    background: #fff;
    border: solid 4px #E9BB52;
    padding: 30px 0px;
    padding-top: 0px;
}

#barn-builder .configurator .settings .categories ul.main-category {
    display: flex;
    position: relative;
    left: auto !important;
    order: 1;
    justify-content: center;
    background: #15577a;
}

#barn-builder .configurator .settings .categories ul li {
    width: auto;
    min-height: auto;
    height: auto;
    display: block;
    margin-top: 0!important;
}

#barn-builder .configurator .settings .categories ul.main-category li {
    padding: 10px 20px;
    margin: 20px 10px;
    background: #15577a;
    border-radius: 4px;
    color: #ffffff; /* DBBC60 */
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Roboto';
    margin-bottom: 5px;
    padding-bottom: 4px;
}

#barn-builder .configurator .settings .categories ul.main-category li .thumbnail,
#barn-builder .configurator .settings .categories ul.main-category li .name div:last-child {
    display: none;
}

#barn-builder .configurator .settings .categories .sub-category {
    position: relative;
    display: none;
    left: auto !important;
    top: auto;
    order: 2;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#barn-builder .configurator .settings .categories .sub-category:first-child {
    display: flex;
}

#barn-builder .configurator .settings .categories ul.sub-category > li {
    background: transparent;
    text-align: center;
    padding: 0px 4px;
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}

#barn-builder .configurator .settings .categories ul.sub-category li .name {
    font-size: 12px;
    margin-top: 0px;
    font-weight: bold;
    color: #969696;
    text-transform: uppercase;
    position: absolute;
    z-index: 9;
    width: calc(100% - 20px);
    height: 100%;
    top: 0px;
    justify-content: center;
    align-items: center;
    display: flex;
}

#barn-builder .configurator .settings .categories ul.sub-category li .thumbnail {
    width: 100%;
    border: solid 0px rgba(0,0,0,0.1);
    border-radius: 0px;
    padding: 0px;
    margin: 0 auto;
}

#barn-builder .configurator .mobile-config-button {
    display: none;
}

@media screen and (max-width:767px) {
    #barn-builder .configurator .settings .categories ul.sub-category > li {
        width: 100%;
    }
}

.configurator .settings .categories ul li .thumbnail img {
    width: 100% !important;
}

#barn-builder .settings-title {
    text-align: center;
    text-transform: uppercase;
    color: #DBBC60;
    font-weight: 600;
    font-size: 24px;
}

#barn-builder .configurator .settings .categories ul.sub-category li.de-actived-color {
    opacity: 0.5;
    cursor: not-allowed;
}

#barn-builder .ohb-info {
    position: absolute !important;
    top: -23px;
    right: 10px;
    width: 50% !important;
    height: 23px !important;
    background: #DBBC60 !important;
    border-radius: 100px;
    padding: 0px 10px !important;
}

/*#barn-builder .ohb-info:before {
    position: absolute;
    content: "";
    width: 2px;
    height: 8px;
    background: #ffffff;
    top: 4px;
    left: 50%;
    margin-left: -1px;
}*/

/*#barn-builder .ohb-info:after {
    position: absolute;
    content: "";
    width: 2px;
    height: 2px;
    background: #ffffff;
    top: 14px;
    left: 50%;
    margin-left: -1px;
}*/

/** 3D Builder Link via Shortcode Styling */
.btn-3d-builder-link {
    font-family: var( --e-global-typography-accent-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-accent-font-weight );
    fill: var( --e-global-color-0f54b4b );
    color: var( --e-global-color-0f54b4b );
    background-color: var( --e-global-color-c6d74b5 );
    padding: 10px 5px 10px 5px;
    width: 202px;
    text-decoration: none;
    text-transform: uppercase;
}
.btn-3d-builder-link:hover, .btn-3d-builder-link:focus, .btn-3d-builder-link:hover, .btn-3d-builder-link:visited{
    color: var( --e-global-color-0f54b4b );
}

.configurator .settings .categories ul.sub-category-cnt {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.configurator .settings .categories ul.sub-category-cnt > li {
    width: 50% !important;
    padding: 4px 4px !important;
    background: transparent !important;
    position: relative;
}

.configurator .settings .categories .sub-category-cnt-li h4 {
    color: #15577a;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Roboto';
}

.configurator .settings .categories .sub-category-cnt-li h4 span {
    text-align: center;
    display: block;
    text-transform: initial;
    font-weight: 400;
    font-size: 14px;
}

/** Customize Product Mega Menu to Hide/Show Products Based on Territory (Group ID) */
/** Group 117 */
body.group-117 #ohbbs-metal-buildings {
    display: none;
}
body.group-117 #ohb-sub-tabs-6 {
    display: none;
}
body.group-117 #jet-toggle-control-2646 {
    display: none;
}
body.group-117 #ohbbs-cabanas {
    display: none;
}
body.group-117 #ohbbs-chicken-coops {
    display: none;
}
body.group-117 #ohbbs-side-gable {
    display: none;
}
body.group-117 #ohb-sub-tabs-cabanas {
    display: none;
}
body.group-117 #ohb-sub-tabs-chicken-coops {
    display: none;
}
body.group-117 #ohb-sub-tabs-side-gable {
    display: none;
}
body.group-117 #ohb-mobile-tab-cabanas {
    display: none;
}
body.group-117 #ohb-mobile-tab-chicken-coops {
    display: none;
}
body.group-117 #ohb-mobile-tab-side-gable {
    display: none;
}
/** Group 112 */
body.group-112 #ohbbs-metal-buildings {
    display: none;
}
body.group-112 #ohb-sub-tabs-6 {
    display: none;
}
body.group-112 #jet-toggle-control-2646 {
    display: none;
}
/** Group 33 */
body.group-33 #ohbbs-metal-buildings {
    display: none;
}
body.group-33 #ohb-sub-tabs-6 {
    display: none;
}
body.group-33 #jet-toggle-control-2646 {
    display: none;
}

/** Group 8 */
body.group-8 #ohbbs-metal-buildings {
    display: none;
}
body.group-8 #ohb-sub-tabs-6 {
    display: none;
}
body.group-8 #jet-toggle-control-2646 {
    display: none;
}

/** Group 29 */
body.group-29 #ohbbs-metal-buildings {
    display: none;
}
body.group-29 #ohb-sub-tabs-6 {
    display: none;
}
body.group-29 #jet-toggle-control-2646 {
    display: none;
}

/** Group 35 */
body.group-35 #ohbbs-metal-buildings {
    display: none;
}
body.group-35 #ohb-sub-tabs-6 {
    display: none;
}
body.group-35 #jet-toggle-control-2646 {
    display: none;
}

/** Group 16 */
body.group-16 #ohbbs-metal-buildings {
    display: none;
}
body.group-16 #ohb-sub-tabs-6 {
    display: none;
}
body.group-16 #jet-toggle-control-2646 {
    display: none;
}
/*body.group-16 #ohbaop-gable-dormer {
    display: none;
}*/
body.group-16 #ohb-sub-tabs-12 {
    display: none;
}
body.group-16 #jet-toggle-control-5786 {
    display: none;
}

/** Group 15 */
body.group-15 #ohbbs-metal-buildings {
    display: none;
}
body.group-15 #ohb-sub-tabs-6 {
    display: none;
}
body.group-15 #jet-toggle-control-2646 {
    display: none;
}
/*body.group-15 #ohbaop-gable-dormer {
    display: none;
}*/
body.group-15 #ohb-sub-tabs-12 {
    display: none;
}
body.group-15 #jet-toggle-control-5786 {
    display: none;
}

/** Group 17 */
body.group-17 #ohbbs-metal-buildings {
    display: none;
}
body.group-17 #ohb-sub-tabs-6 {
    display: none;
}
body.group-17 #jet-toggle-control-2646 {
    display: none;
}
/*body.group-17 #ohbaop-gable-dormer {
    display: none;
}*/
body.group-17 #ohb-sub-tabs-12 {
    display: none;
}
body.group-17 #jet-toggle-control-5786 {
    display: none;
}

/** Group 106 */
body.group-106 #ohbbs-metal-buildings {
    display: none;
}
body.group-106 #ohb-sub-tabs-6 {
    display: none;
}
body.group-106 #jet-toggle-control-2646 {
    display: none;
}

/** Group 103 */
body.group-103 #ohbbs-cabanas {
    display: none;
}
body.group-103 #ohbbs-chicken-coops {
    display: none;
}
body.group-103 #ohbbs-side-gable {
    display: none;
}
body.group-103 #ohbbs-metal-buildings {
    display: none;
}
body.group-103 #ohb-sub-tabs-6 {
    display: none;
}
body.group-103 #ohb-sub-tabs-cabanas {
    display: none;
}
body.group-103 #ohb-sub-tabs-chicken-coops {
    display: none;
}
body.group-103 #ohb-sub-tabs-side-gable {
    display: none;
}
body.group-103 #ohb-mobile-tab-cabanas {
    display: none;
}
body.group-103 #ohb-mobile-tab-chicken-coops {
    display: none;
}
body.group-103 #ohb-mobile-tab-side-gable {
    display: none;
}
body.group-103 #jet-toggle-control-2646 {
    display: none;
}

/** Group 32 */
body.group-32 #ohbbs-metal-buildings {
    display: none;
}
body.group-32 #ohbbs-cabanas {
    display: none;
}
body.group-32 #ohbbs-chicken-coops {
    display: none;
}
body.group-32 #ohbbs-side-gable {
    display: none;
}
body.group-32 #ohb-sub-tabs-6 {
    display: none;
}
body.group-32 #ohb-sub-tabs-cabanas {
    display: none;
}
body.group-32 #ohb-sub-tabs-chicken-coops {
    display: none;
}
body.group-32 #ohb-sub-tabs-side-gable {
    display: none;
}
body.group-32 #jet-toggle-control-2646 {
    display: none;
}
body.group-32 #ohb-mobile-tab-cabanas {
    display: none;
}
body.group-32 #ohb-mobile-tab-chicken-coops {
    display: none;
}
body.group-32 #ohb-mobile-tab-side-gable {
    display: none;
}

/** Group 31 */
body.group-31 #ohbbs-metal-buildings {
    display: none;
}
body.group-31 #ohbbs-cabanas {
    display: none;
}
body.group-31 #ohbbs-chicken-coops {
    display: none;
}
body.group-31 #ohbbs-side-gable {
    display: none;
}
body.group-31 #ohb-sub-tabs-6 {
    display: none;
}
body.group-31 #ohb-sub-tabs-cabanas {
    display: none;
}
body.group-31 #ohb-sub-tabs-chicken-coops {
    display: none;
}
body.group-31 #ohb-sub-tabs-side-gable {
    display: none;
}
body.group-31 #jet-toggle-control-2646 {
    display: none;
}
body.group-31 #ohb-mobile-tab-cabanas {
    display: none;
}
body.group-31 #ohb-mobile-tab-chicken-coops {
    display: none;
}
body.group-31 #ohb-mobile-tab-side-gable {
    display: none;
}
/** Group 14 */
body.group-14 #ohbbs-metal-buildings {
    display: none;
}
body.group-14 #ohbbs-cabanas {
    display: none;
}
body.group-14 #ohbbs-chicken-coops {
    display: none;
}
body.group-14 #ohbbs-side-gable {
    display: none;
}
body.group-14 #ohb-sub-tabs-6 {
    display: none;
}
body.group-14 #ohb-sub-tabs-cabanas {
    display: none;
}
body.group-14 #ohb-sub-tabs-chicken-coops {
    display: none;
}
body.group-14 #ohb-sub-tabs-side-gable {
    display: none;
}
body.group-14 #jet-toggle-control-2646 {
    display: none;
}
body.group-14 #ohb-mobile-tab-cabanas {
    display: none;
}
body.group-14 #ohb-mobile-tab-chicken-coops {
    display: none;
}
body.group-14 #ohb-mobile-tab-side-gable {
    display: none;
}

/* New Product Additions - Summer 2025 */
#ohbc-wood-drying, #ohbbs-metro, #ohbc-single-slope {
    display: none;
}

body.group-103 #ohbc-single-slope, body.group-32 #ohbc-single-slope, body.group-31 #ohbc-single-slope, body.group-14 #ohbc-single-slope, body.group-117 #ohbc-single-slope, body.group-205 #ohbc-single-slope {
    display: block !important;
}

body.group-103 #ohbc-wood-drying, body.group-32 #ohbc-wood-drying, body.group-31 #ohbc-wood-drying, body.group-14 #ohbc-wood-drying, body.group-117 #ohbc-wood-drying, body.group-205 #ohbc-wood-drying {
    display: block !important;
}

body.group-103 #ohbbs-animal-shelters, body.group-32 #ohbbs-animal-shelters, body.group-31 #ohbbs-animal-shelters, body.group-14 #ohbbs-animal-shelters, body.group-117 #ohbbs-animal-shelters, body.group-205 #ohbbs-animal-shelters {
    display: none;
}

body.group-16 #ohbbs-metro, body.group-15 #ohbbs-metro, body.group-17 #ohbbs-metro, body.group-112 #ohbbs-metro, body.group-130 #ohbbs-metro, body.group-106 #ohbbs-metro {
    display: block !important;
}

body.group-103 #ohbbs-dw-utility, body.group-32 #ohbbs-dw-utility, body.group-31 #ohbbs-dw-utility, body.group-14 #ohbbs-dw-utility, body.group-117 #ohbbs-dw-utility, body.group-205 #ohbbs-dw-utility {
    display: none;
}

body.group-103 #ohbbs-greenhouses, body.group-32 #ohbbs-greenhouses, body.group-31 #ohbbs-greenhouses, body.group-14 #ohbbs-greenhouses, body.group-117 #ohbbs-greenhouses, body.group-205 #ohbbs-greenhouses {
    display: none;
}


/** Customize Home Page based on if user has store selected or not */
body.no-dealer #homepage-middle-building-selector {
    display: none;
}

body.has-dealer #homepage-middle-building-selector {
    display: block;
}

body.no-dealer #product-top-building-selector {
    display: none;
}

body.has-dealer #product-top-building-selector {
    display: block;
}

/*Woocommerce Styling*/

.woocommerce-page {
    background-color: #344b5d;
    background-image: url(../../uploads/2022/07/2.png);
    background-position: center center;
    background-size: cover;
}

.onsale {
    display: none;
}

.custom-product-card p {
    color: white ;
    font-size: 15px;
}

.custom-product-card h2 {
    color: #dbbc60 !important;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 0;
}

.pricing {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 2px solid #dbbc60;
    margin: 10px 0;
}

.price-type {
    min-width: 50%;
    text-align: center;
    padding: 5px 10px;
    color: #dbbc60;
    border-right: 2px solid #dbbc60;
}

.price-value {
    min-width: 50%;
    text-align: center;
    background-color: white;
    padding: 5.6px 10px;
    color: black;
    font-size: 15px;
    font-weight: bold;
}

.product-size {
    display: flex;
    gap: 20px;
}

.shop-page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.intro-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
}

.intro-section h2 {
    color: #e1be5d; 
    font-weight: bold;
}

.intro-section p {
    max-width: 75%;
    color: #ffffff; 
    text-align: center;
    margin: 20px auto;
}

.main-section {
    display: flex;
    gap: 20px;
}

.shop-sidebar {
    width: 20%;
    background-color: transparent;
    padding: 20px;
    box-shadow: none;
}

.shop-main {
    width: 80%;
}

.intro-section form#intro-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center !important;
}

.intro-section .filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 200px;
}

.intro-section .filter-item label {
    font-weight: bold;
    color: #e1be5d;
    white-space: nowrap;
}

.intro-section .filter-item input,
.intro-section .filter-item select,
.intro-section .filter-item button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
    color: black;
}

/* Center the button and set styles */
.filter-button {
    text-align: center;
    margin-top: 20px;
    width: 100%; 
}

/* Specific styling for the Search This Area button */
.filter-button .button {
    background-color: #e1be5d !important;
    color: #305979 !important;
    border: none !important;
    padding: 10px 20px !important;
    width: 200px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    text-align: center;
    font-weight: bold !important;
    border-radius: 0 !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

/* Hover effect for the button */
.filter-button .button:hover {
    background-color: #d1a94d !important; 
    color: #fff !important;
}


.filter-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1; 
    max-width: 100%; 
}

.main-section h2.section-title {
    color: white;
    font-family: Roboto;
    font-size: 23px;
    text-align: center;
}

.main-section .shop-sidebar span {
    color: white !important;
}

.main-section .shop-sidebar h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #e1be5d;
    font-weight: bold;
}

/* Wrapper for the single product page */
.single-product-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px;
}

.product-info {
    text-align: left;
}

/* Product title styling */
.single-product-wrapper .product-title {
    color: #e1be5d;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    margin-top: 0;
}

/* Content container for image and details */
.single-product-wrapper .product-content {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* Product image styling */
.single-product-wrapper .product-image {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.single-product-wrapper .product-image img {
    max-width: 100%;
    height: auto;
}

/* Product details styling */
.single-product-wrapper .product-details {
    width: 40%; 
    display: flex;
    flex-direction: column;
}

/* Details list styling */
.single-product-wrapper .product-details ul {
    list-style: none;
    padding: 0;
}

.single-product-wrapper .product-details ul li {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
}

.single-product-wrapper .product-details ul li strong {
    color: #e1be5d;
}

/* Pricing section */
.single-product-wrapper .product-pricing {
    display: flex;
    flex-direction: column;
}

.single-product-wrapper .pricing {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 2px solid #dbbc60;
    margin: 10px 0;
}

.single-product-wrapper .pricing .price-type {
    min-width: 50%;
    text-align: center;
    padding: 5px 10px;
    color: #dbbc60;
    border-right: 2px solid #dbbc60;
}

.single-product-wrapper .pricing .price-value {
    min-width: 50%;
    text-align: center;
    background-color: white;
    padding: 5.7px 10px;
    color: black;
    font-size: 15px;
    font-weight: bold;
}

/* Add to Cart button */
.single-product-wrapper .single_add_to_cart_button {
    background-color: #dbbc60;
    color: #fff;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    margin-top: 20px;
}

.single-product-wrapper .single_add_to_cart_button:hover {
    background-color: #dbbc60;
}

.custom-add-to-cart {
    background-color: #dbbc60;
    color: #305979;
    font-size: 1rem;
    font-weight: bold;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: block;
    margin-top: 20px;
}

.custom-add-to-cart:hover {
    color: #305979;
    background-color: #dbbc60;
}

.custom-add-to-cart:focus {
    color: #305979;
    background-color: #dbbc60;
}

/* Section Titles */
.single-product-wrapper h2 {
    color: #e1be5d; 
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    font-family: roboto;
    font-weight: bold;
}

.single-product-wrapper h3 {
    color: #e1be5d;
    font-size: 18px;
    font-family: roboto;
    font-weight: bold;
    text-transform: uppercase;
}

/* Subsection Titles */
.single-product-wrapper .subsection-title {
    color: #e1be5d;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Paragraph Text */
.single-product-wrapper p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.woocommerce-product-gallery__trigger {
    display: none;
}

.woocommerce-product-gallery {
    text-align: center;
    margin-bottom: 20px;
}

.main-product-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    overflow:scroll;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-thumbnail:hover {
    border-color: #e1be5d;
}

.product-buttons {
    text-align: left;
}

.product-buttons a {
    text-align: center;
    background-color: #dbbc60 !important;
    color: #305979 !important;
    width: 49%;
    padding: 10px 0;
    text-transform: uppercase;
    font-family: roboto;
    font-weight: bold;
    border-radius: 0 !important;
}

.product-buttons a:hover {
    color: #305979 !important;
}

.directions-button a {
    text-align: center;
    background-color: #dbbc60 !important;
    color: #305979 !important;
    width: 100%;
    padding: 8px 0;
    text-transform: uppercase;
    font-family: roboto;
    font-weight: bold;
    border-radius: 0 !important;
    display: block;
    margin-top: 10px;
}

#gform_submit_button_17,
#gform_submit_button_18,
#gform_submit_button_19 {
    color: #305979;
    border: none;
    font-weight: 700;
    background-color: #e1be5d;
    text-transform: uppercase;
    border-radius: 0;
}

#gform_confirmation_message_17,
#gform_confirmation_message_18,
#gform_confirmation_message_19 {
    color: #fff;
}

/* Hide original labels */
label[for="bapf_3_416"],
label[for="bapf_3_417"], label[for="bapf_4_542"] {
    font-size: 0;
}

/* Show custom labels */
label[for="bapf_3_416"]:after {
    content: "New Buildings & Sheds";
    font-size: 16px; /* adjust to match your site */
}

label[for="bapf_3_417"]:after {
    content: "Used Buildings & Sheds";
    font-size: 16px;
}

/* Show custom labels */
label[for="bapf_4_542"]:after {
    content: "Clearance Buildings";
    font-size: 16px; /* adjust to match your site */
    color: white !important;
}

.berocket_single_filter_widget_2712986 .bapf_sfilter {
    margin-bottom: 0 !important;
}

.berocket_single_filter_widget.berocket_single_filter_widget_86483 ul li:not(:has(
    label[aria-label="Barn White"] .bapf_img_span[style*="url("],
    label[aria-label="Chestnut Brown"] .bapf_img_span[style*="url("],
    label[aria-label="Crewel Tan"] .bapf_img_span[style*="url("],
    label[aria-label="Dark Clove"] .bapf_img_span[style*="url("],
    label[aria-label="Driftwood"] .bapf_img_span[style*="url("],
    label[aria-label="Eaglet Beige"] .bapf_img_span[style*="url("],
    label[aria-label="Hardware"] .bapf_img_span[style*="url("],
    label[aria-label="Mohagany"] .bapf_img_span[style*="url("],
    label[aria-label="Peppercorn"] .bapf_img_span[style*="url("],
    label[aria-label="Pewter Cast"] .bapf_img_span[style*="url("],
    label[aria-label="Rosemary Green"] .bapf_img_span[style*="url("],
    label[aria-label="Rustic Red"] .bapf_img_span[style*="url("],
    label[aria-label="Smoky Blue"] .bapf_img_span[style*="url("],
    label[aria-label="Steely Gray"] .bapf_img_span[style*="url("],
    label[aria-label="Thatch Brown"] .bapf_img_span[style*="url("],
    label[aria-label="Tricorn Black"] .bapf_img_span[style*="url("],
    label[aria-label="Breezy"] .bapf_img_span[style*="url("],
    label[aria-label="Gauntlet Gray"] .bapf_img_span[style*="url("],
    label[aria-label="Mahogany"] .bapf_img_span[style*="url("],
    label[aria-label="Honey Gold"] .bapf_img_span[style*="url("],
    label[aria-label="Dark Ebony"] .bapf_img_span[style*="url("]
)) {
    display: none !important;
}

div#bapf_7 ul li.checked label span {
    border-color: #DBBC60;
}

/* Ensure the label is positioned relatively so the tooltip can position itself */
#bapf_7 label {
  position: relative;
  cursor: pointer;
}

/* Create the tooltip using a pseudo-element */
#bapf_7 label::after {
  content: attr(aria-label); /* Uses the aria-label for the tooltip text */
  position: absolute;
  bottom: 100%; /* Position above the label */
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

/* Show the tooltip on hover */
#bapf_7 label:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.custom-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-popup-content {
    background: url(../../uploads/2024/10/2.jpg);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.close-custom-popup {
    position: absolute;
    padding: 2px 10px;
    top: 20px;
    right: 20px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    color: #305979;
    cursor: pointer;
    background: #DBBC60;
    border: none;
}

.close-custom-popup:hover, .close-custom-popup:focus {
    color: #305979;
    background: #DBBC60;
}

.sai-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0;
}

.inv-btn a {
    text-align: center;
    background-color: #DBBC60 !important;
    color: #305979 !important;
    width: 100%;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: roboto;
    font-weight: bold;
    border-radius: 0 !important;
    display: block;
}

/*Single Location Rebuild*/
/* location-style.css */
.location-container {
    padding: 40px;
    max-width: 1140px;
    margin: 0 auto;
}

.location-container .location-title {
    color: #dbbc60;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2em;
    text-align: center;
}

.location-container .location-description {
    text-align: left;
    color: #FFFFFF;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.locations_3Dbuilder_link a {
    color: #dbbc60;
    text-decoration: underline;
}

.location-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.location-column {
    flex: 1;
    min-width: 250px;
}

.location-details .location-column .location-section-title {
    color: #dbbc60;
    font-size: 1.2em;
    font-weight: bold;
}

.location-details .location-column p,
.location-details .location-column .location-phone {
    color: #fff;
    margin: 0;
}

.location-details .location-column div {
    color: #dbbc60;
}

.location-details .location-column ul {
    padding-left: 0;
}

.location-details .location-column ul li {
    list-style: none;
}

.location-directions-button, 
.location-details .location-column .location-website-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 25px;
    background: #dbbc60;
    color: #305979;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 0;
    text-transform: uppercase;
}

.location-directions-button:hover, 
.location-details .location-column .location-website-btn:hover {
    color: #305979;
}

.location-hours {
    margin: 0;
    font-family: inherit;
    font-size: 1em;
}

body.elementor-page-8572:not(.elementor-motion-effects-element-type-background), body.elementor-page-8572 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-size: cover;
}

/* Inventory Section */
.current-inventory {
    margin-top: 40px;
    text-align: center;
}

.current-inventory h2 {
    font-size: 24px;
    color: #dbbc60;
    font-weight: bold;
    margin-bottom: 10px;
}

.current-inventory p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #fff;
}

.current-inventory .products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.current-inventory .products li .woocommerce-LoopProduct-link {
    text-decoration: none;
}

/* Container for the filters form */
#product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    gap: 20px;
}

/* Style each dropdown container */
.filter-item {
    display: flex;
    flex-direction: column;
    min-width: 150px; /* Adjust as needed */
}

/* Make sure labels and selects are styled consistently */
.filter-item label {
    margin-bottom: 5px;
    text-align: center;
}

.filter-item select {
    padding: 5px;
}

/* Style the filter button container to span full width and center the button */
.filter-button {
    flex-basis: 100%;
    text-align: center;
    margin-top: 20px;
}

form#product-filters label {
    display: none;
}

/* Product Listing */
.current-inventory .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.current-inventory .products li.product.empty-placeholder {
    visibility: hidden; 
    border: none;
    background: transparent;
    box-shadow: none;
}

/*.product-image img {
    width: 100%;
    height: auto;
}*/

.woocommerce ul.products li.product .woocommerce-placeholder {
    border: 0;
}

.woocommerce-pagination .page-numbers {
    color: #dbbc60;
}

.woocommerce-pagination {
    margin-top: 60px;
}

/*Filters Styling*/
.berocket_single_filter_widget_86480 input, .berocket_single_filter_widget_86481 input {
    display: none !important;
}

.berocket_single_filter_widget_86480 .bapf_sfilter.bapf_ckbox label, .berocket_single_filter_widget_86481 .bapf_sfilter.bapf_ckbox label {
    color: #0071a1 !important;
    vertical-align: baseline !important;
}

.berocket_single_filter_widget_86480 .bapf_sfilter.bapf_ckbox label::after, .berocket_single_filter_widget_86481 .bapf_sfilter.bapf_ckbox label::after {
    content: " ft";
}

.berocket_single_filter_widget_86484 label, .berocket_single_filter_widget_86485 label, .berocket_single_filter_widget_2712986 label {
    color: white;
}


.berocket_single_filter_widget_86480 ul li, .berocket_single_filter_widget_86481 ul li {
    background-color: white;
    width: calc(33.3333% - 10px);
    display: flex;
    justify-content: center;
    padding: 5px !important;
}

.berocket_single_filter_widget_86480 ul li.checked, .berocket_single_filter_widget_86481 ul li.checked {
    background-color: #e1be5d;
}

.berocket_single_filter_widget_86480 ul, .berocket_single_filter_widget_86481 ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
}

.bapf_slidr_main.ui-widget-content .ui-slider-range, .berocket_filter_price_slider.ui-widget-content .ui-slider-range, .bapf_slidr_main.ui-widget-content .ui-slider-handle {
    background: #e1be5d;
}

div#bapf_7 ul li label span {
    border-radius: 50%;
}

.woocommerce-LoopProduct-link.woocommerce-loop-product__link:empty {
  display: none !important;
} 

.product-size p {
    margin-bottom: 0 !important;
}

.custom-product-card p.dealer-address {
    color: #e1be5d !important;
}

.product-thumbnails img.product-thumbnail {
    width: 100px;
}

.single-product-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.custom-product-card .product-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.custom-product-card .product-image img {
    max-height: 300px;
    width: 100%;
    object-fit: cover !important;
    height: 100% !important;
}

.used-condition::before {
    content: "USED";
    position: absolute;
    top: 10px;
    right: -35px;
    width: 120px;
    padding: 5px 0;
    text-align: center;
    color: #305979;
    background: #DBBC60;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 2;
}

.clearance-condition::after {
    content: "CLEARANCE";
    position: absolute;
    top: 22px;
    right: -61px;
    width: 200px;
    padding: 5px 0;
    text-align: center;
    color: #fff;
    background: #ca2c2c;
    font-weight: bold;
    font-size: 12px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 1;
}

.used-condition.clearance-condition::after {
    top: 36px;
    right: -58px;
    width: 220px;
}

/* Design or Search Section */
.dos-wrapper {
    margin-top: 60px;
}

.current-inventory .dos-wrapper p {
    font-size: 1em;
}

.dos-wrapper .two-col-inner {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.dos-buttons a {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #dbbc60 !important;
    color: #305979 !important;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: roboto;
    font-weight: bold;
    border-radius: 0 !important;
}

.bapf_sfilter.bapf_button_berocket .bapf_button {
    background-color: #dbbc60 !important;
    color: #305979 !important;
    padding: 5px;
    text-transform: uppercase;
    font-family: roboto;
    font-weight: bold;
    border-radius: 0 !important;
    width: 100% !important;
    font-size: 18px !important;
}

.product-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-info-button {
    line-height: unset !important;
}

.woocommerce ul.products li.product .button {
    margin-top: 0 !important;
}

.open-custom-popup {
    cursor: pointer;
}

.custom-popup-content h2 {
    color: #e1be5d;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    font-family: roboto;
    font-weight: bold;
}

/*Woocommerce Mobile*/
/* Force the <ul> to use Flexbox and override WooCommerce defaults */
ul.products.columns-3 {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Reset individual product item styles */
ul.products.columns-3 li.product {
    float: none !important;         /* Remove any float */
    box-sizing: border-box;
    margin: 0 !important;
    padding: 10px !important;        /* Adjust as needed for spacing */
}

.locations-post-content img {
    vertical-align: middle;
    padding: 5px;
}

.locations-post-content img:nth-child(1) {
    padding-left: 0;
}

.location-container .location-details {
    padding-bottom: 25px !important;
}



/* 
   For screens above 1200px, show 3 products per row 
   (each product gets roughly 33.33% of the width)
*/
@media (min-width: 1201px) {
    ul.products.columns-3 li.product {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
    }
}

/* 
   For screens between 769px and 1200px, show 2 products per row 
   (each product gets 50% of the width)
*/
@media (max-width: 1200px) and (min-width: 769px) {
    ul.products.columns-3 li.product {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* 
   For screens 768px and below, show 1 product per row 
   (each product takes up the full width)
*/
@media (max-width: 768px) {
    ul.products.columns-3 li.product {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .current-inventory .products {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .filter-row {
        flex-direction: column;
    }

    .intro-section .filter-item {
        flex: none;
    }
}

/* Optional: Remove any clear properties that may force unwanted gaps */
.woocommerce ul.products li.first,
.woocommerce-page ul.products li.first {
    clear: none !important;
}

@media screen and (max-width: 960px){
    .main-section {
        flex-direction: column;
    }

    .shop-sidebar, .shop-main, .main-section #main {
        width: 100%;
        max-width: 100% !important;
    }

    .berocket_single_filter_widget_86484, .berocket_single_filter_widget_86485, .berocket_single_filter_widget_2712986 {
        width: 50%;
        display: inline-block;
        vertical-align: top;
    }

    .single-product-container {
        flex-direction: column;
    }

    .single-product-container .product-image, .product-details {
        width: 100% !important;
    }

    .current-inventory .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-drp {
        display: none;
    }

    .shop-sidebar h2 {
        cursor: pointer;
        position: relative;
        padding-right: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        background-color: #dbbc60;
        color: #305979 !important;
        padding: 7px 10px;
    }

    .shop-sidebar h2::after {
        content: '\25BC'; /* Downward arrow */
        margin-left: 20px; /* Space between text and arrow */
        font-size: 20px;
        height: 21px;
    }

}

@media (min-width: 960px) {
    .mobile-drp {
        display: block !important;
    }
}

@media screen and (max-width: 750px) {
    .locations-post-content img {
        padding-left: 0 !important;
        padding-right: 0!important;
    }
}