/* Blog card styling
.wp-block-post-template .wp-block-post .wp-block-post-date {
	display: none;
}
.columns-3 .wp-block-post {
	border: 3px solid darkgray;
	padding: 1em;
	border-radius: 4px;
	
}*/

/* Universal Styles */
a.wp-element-button:hover {
  color: #fff !important;
}

.dot {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: -8px;
}

.dot.dot-1 {
    background-color: #32312c;
    border: 2px solid #32312c;
}

.dot.dot-2 {
  background-color: #5b5847;
  border: 2px solid #5b5847;
}

.dot.dot-3 {
  background-color: #9c968a;
  border: 2px solid #9c968a;
}

.dot.dot-4 {
  background-color: white;
  border: 2px solid #9c968a;
}

.width-75 .wp-block-cover__inner-container {
  max-width: 75%;
}

.category-description{
  columns: 2;
  column-fill: balance;
  margin-bottom: 30px;
}

/*Text-only overlay*/
.entry-content .slogan-background{
    padding: 1.25em 2.375em;
    background-color: rgba(0,0,0,0.59);
}
.wp-block-genesis-blocks-gb-columns .gb-layout-column-wrap .cta-image{
    margin-bottom: 0px!important;
}
.gb-block-layout-column-inner .cta-link a{
    text-decoration: none;
}

.entry-content .see-more-reviews a{
    text-decoration: none;
}

.entry-content .products-footer a{
    text-decoration: none;
    color: black;
}
.entry-content .navigation-footer a{
    text-decoration: none;
    color: black;
}

#mega-menu-item-272516 {
	color: red;
}

/* Color Options */

.menu-item-724 ul ul{
  position: relative !important;
  margin-left: -1em !important;
}
.top-menu-class #menu-top #menu-item-724.menu-item-724 ul li ul {
  display: none;
}

.wp-block-group.alignfull .wp-block-columns.color-options {
  padding: 2.5px 0;
  border: 2px solid #333;
}

.wp-block-group.alignfull .wp-block-columns.color-options .wp-block-navigation .wp-block-navigation-item__content {
  color: rgba(0,0,0,.6);
  font-size: 16px;
}

/* Product Page Tabs  */
.woocommerce-tabs.wc-tabs-wrapper{
  border: 1px solid #d9d9d9;
  margin-top: 100px;
}
.tabs.wc-tabs{
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  line-height: 2;
}
.tabs.wc-tabs li{
  padding-right: 30px;
  padding-left: 20px;
}
.tabs.wc-tabs li.active{
  color: black;
  font-weight: bold;
  background-color: white;
  border-bottom: none;
}
.woocommerce-tabs.wc-tabs-wrapper div.woocommerce-Tabs-panel{
  padding: 30px;
}

/* Category Landing Page */
.archive.tax-product_cat .site-inner{
  padding-top: 0 !important;
}
.viz-banner-container{
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  margin-bottom: 50px;
}
.viz-banner-overlay{
  background-color: rgba(0,0,0,.3);
  height: 100%;
  width: 100%;
}
.viz-banner-text{
  color: white;
  text-align: center;
  font-size: 60px;
  padding: 210px 0;
  font-weight: bold;
}
.subcat-grid-container{
  margin-bottom: 50px;
}
.subcat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 0 4em;
}
.sub_cat_link{
  background-color: #e2e2e2;
  text-align: center;
  padding: 25px 0;
  margin-bottom: 30px;
}
.sub_cat_link p{
  margin-bottom: 0 !important;
  font-weight: bold;
  color: black;
}
.reuseable-blocks-container{
  margin-bottom: 100px;
}
.reuseable-blocks-container .color-options{
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  margin-bottom: 100px;
}
.reuseable-blocks-container .color-options .wp-container-3{
  width: 79% !important;
}

/* Dynamically added reviews */
.viz-reviews-container{
  width: 80%;
  margin: 50px auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
}
.review-container-viz{
  background-color: #f5f5f5;
  padding: 30px;
  text-align: left;
}
.viz-quotes-container{
  width: 10%;
  margin-left: auto;
  margin-right: auto;
  margin-top: -50px;
  margin-bottom: 20px;
}
.viz-star-rating-container{
  width: 40%;
  margin: 0 auto;
}
.viz-review-content{
  color: black;
}
.viz-review-author{
  color: black;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 15px;
}
.blue-review-link{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.blue-review-link a{
  color: #847e6b;
}
#review{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

li.product a{
  border: 1px solid rgb(0 0 0 / 10%);
  flex: 1 0 auto;
}

.mobile-phone-number{
  display: none;
  background-color: black;
}
.mobile-phone-number p{
  color: white;
  margin-bottom: 0;
}
.mobile-phone-number p a{
  color: white;
}
.mobile-phone-number i{
  margin-right: 10px;
}

.cta_link{
  color: black;
}

.woocommerce-variation-add-to-cart {
  display: flex;
}
.product-type-simple form.cart{
  display: flex;
}
.woocommerce div.product form.cart .button {
  float: none;
  flex: 1;
  font-size: 18px;
}

.woocommerce-Price-amount{
  color: #847e6b;
}
.woocommerce div.product p.price{
  color: #847e6b !important;
}

#menu-top li ul{
  background: #847e6b !important;
}

li.type-product .star-rating{
  display: none !important;
}

.bottom-call-to-action{
  background-image: url(https://amishmercantile.com/wp-content/uploads/2022/10/American-Made-Furniture-Banner.jpg);
  background-position: center center;
}

.site-header .wrap.search_open{
  height: 140px;
}

.mini-cart{
  display: none;
}

.page-id-45635 .wp-container-1 p,
.page-id-45635 .wp-container-1 ul{
  max-width: 950px;
}
.page-id-45635 .wp-container-1 ul{
  margin-right: auto;
  margin-left: auto;
}

.top-header{
  background-color: white !important;
  box-shadow: 0 1px 0 rgb(0 0 0 / 10%);
}
#menu-top a{
  color: black !important;
}
#menu-top .sub-menu a{
  color: white !important;
}

.home-page-slider-button{
  display: flex !important;
  justify-content: center !important;
}
.home-page-slider-button > div{
  margin-right: 0 !important;
}
.eedee-gutenslider-prev{
  left: 30px !important;
}
.eedee-gutenslider-next{
  right: 30px !important;
}
.eedee-gutenslider-pagination{
  bottom: -5px !important;
}

.home-cta-links .gb-is-responsive-column{
  margin: 0 50px;
  max-width: 100% !important;
}

.archive .site-header{
  margin-bottom: 50px;
}
.term-bedroom .site-header,
.term-dining-room .site-header,
.term-living-room .site-header,
.term-office .site-header,
.term-outdoor .site-header,
.term-children .site-header{
  margin-bottom: 0px;
}

.top-header .wrap{
  padding-bottom: 0px !important;
}

.wp-custom-logo .site-container .title-area{
  padding-top: 0 !important;
}

/* Style custom mobile home page slides */
#viz-jquery-slideshow-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}
#viz-jquery-slideshow-container #viz-jquery-slideshow {
  overflow: hidden;
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  height: 100%;
}
#viz-jquery-slideshow-container #viz-jquery-slideshow li {
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
/* Vertically center our buttons */
#viz-jquery-slideshow-container #btn-prev,
#viz-jquery-slideshow-container #btn-next {
    position: absolute;
    top: 150px;
    z-index: 100;
    color: #ffffff;
    font-size: 2em;
    line-height: 1;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
}
 
#viz-jquery-slideshow-container #btn-prev {
    left: 15px;
}
 
#viz-jquery-slideshow-container #btn-next {
    right: 15px;
}
 
/* hide the text links */
#viz-jquery-slideshow-container #btn-prev span,
#viz-jquery-slideshow-container #btn-next span {
   display: none;
}
#viz-jquery-slideshow .viz-slide-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: black;
  text-align: center;
  padding: 30px;
  z-index: 9;
  padding-bottom: 45px;
}
#viz-jquery-slideshow .viz-slide-content h2{
  color: white;
}
#viz-jquery-slideshow .viz-slide-content a{
  padding: 15px 30px;
  background-color: white !important;
  color: black !important;
}


/* See More options button */
.woocommerce a.button.inverse.alt{
  background-color: #837f6d !important;
}

/* Blog Page */
#am-blog-section{
  margin-top: 100px;
  margin-bottom: 100px;
}

/* Berlin Gardens Products Hide Price */
.product_cat-berlin-gardens .woocommerce-variation-price{
  display: none !important;
}

  .pop-up-wrapper .pop-up-content {
    width: 60%;
    max-width: 90%;
    max-height: 95%;
    overflow-y: auto;
}

  .popupCloseButton {
    border-radius: 0;
    top: 0px;
    right: 0;
  }
@media(max-width: 1482px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    padding: 0px 12px 0px 12px;
    font-size: 18px;
  }
}

@media(max-width: 1242px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    font-size: 15px;
  }
}
@media(max-width: 1242px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    padding: 0px 7px;
  }
}


@media ( max-width: 981px ) {

  .pop-up-wrapper .pop-up-content {
    width: 90%;
    max-width: 90%;
    max-height: 95%;

  }


    


    .ws_input_wrap .close {
        display: inline;
        position: absolute;
        right: 15px;
        font-size: 34px;
        margin-top: 7px;
    }
    
      .ws_search_wrap {
        width: 100%;
      }
    
  
      .ws_search_icon:before {
        position: relative;
      }
     
     
      #ws_search_icon:before {
        position: inherit;
      }
    
    
      .flip-mobile .et_pb_row {
        display: flex;
        flex-direction: column-reverse;
      }

    #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item.mobile-menu-item {
        display: block;
    }
      
    #et_mobile_nav_menu {
        display: none;
    }

  .et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
    padding-bottom: 24px;
  }

}

@media(max-width:959px){
  .viz-banner-container{
    max-height: 250px;
    background-size: 156%;
  }
  .viz-banner-overlay{
    max-height: 250px;
  }
  .viz-banner-text{
    padding: 108px 0;
  }
  .subcat-grid{
    grid-template-columns: 1fr 1fr;
  }
  .viz-reviews-container{
    grid-template-columns: 1fr 1fr;
  }
  #am-blog-section ul.wp-block-post-template{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #am-blog-section ul.wp-block-post-template li{
    width: 100%;
  }
  header .title-area{
    width: 80% !important;
  }
  .mobile-phone-number{
    display: flex;
    justify-content: center;
  }
  .mini-cart{
    display: block;
    position: absolute;
    top: 60px;
    right: 110px;
    z-index: 9;
  }
  .mini-cart a{
    color: black;
  }
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner:before,
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner:after{
    background-color: black !important;
  }
  .reuseable-blocks-container .color-options .wp-container-3{
    padding-top: 10%;
    padding-bottom: 10%;
  }
  body.archive.tax-product_cat .site-header{
    margin-bottom: 0;
  }
  body:not(.fullwidth).woocommerce-cart .site-inner,
  body:not(.fullwidth).woocommerce-checkout .site-inner{
    width: 95%;
  }
}

@media(min-width: 860px){
  .woocommerce ul.products{
    justify-content: flex-start !important;
  }
}

@media (max-width: 768px){


    .search article:nth-child(n) {
      width: 48%;
      float: left;
      clear: both;
      margin: 0 0 2.992em;
    }
    .search article:nth-child(2n) {
      float: right;
      clear: none!important;
    }
    .viz-banner-text{
      font-size: 50px;
    }

}

@media(max-width: 600px){
  .subcat-grid{
    grid-template-columns: 1fr;
  }
  .viz-reviews-container{
    grid-template-columns: 1fr;
  }
  #am-blog-section ul.wp-block-post-template{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px){

  .search article:nth-child(n) {
    margin: 0 0 11.5%!important;
    width: 100%!important;
  }
  .viz-banner-text{
    font-size: 36px;
  }
  #viz-jquery-slideshow-container{
    display: block !important;
  }
  .wp-block-buttons.is-content-justification-center{
    display: flex;
  }
  #business-slogan-goes-here{
    padding: 0;
  }
  .viz-slide-content div.wp-block-button{
    margin-right: 0;
  }
  
}

@media(max-width: 410px){
  .entry-content .slogan-background{
    padding: 50px 10px;
  }
}

/* ==========================================================================
   AMISH MERCANTILE CUSTOM HEADER
   Staging child theme — markup and JavaScript: /header.php
   All header styles are scoped to .am-header; shared tokens use --am-header-*.
   ========================================================================== */

:root {
  --am-header-bg: #fff;
  --am-header-text: #626262;
  --am-header-ink: #111;
  --am-header-line: #777;
  --am-header-rule: #b4b4b4;
  --am-header-hover: #f5f4f1;
  --am-header-placeholder-bg: #f1eee9;
  --am-header-placeholder-ink: #8a8173;
  --am-header-image-ratio: 12 / 7;
  --am-header-focus: #655d48;
  --am-header-font: "Open Sans", Arial, sans-serif;
  --am-header-font-size: 18px;
  --am-header-small: 12px;
  --am-header-width: 1024px;
  --am-header-gutter: 28px;
  --am-header-padding-block: 18px;
  --am-header-gap: 18px;
  --am-header-main-height: 152px;
  --am-header-nav-height: 46px;
  --am-header-mobile-height: 170px;
  --am-header-control-height: 38px;
  --am-header-row-height: 35px;
  --am-header-admin-offset: 0px;
  --am-header-layer: 1000;
}

body.admin-bar {
  --am-header-admin-offset: 32px;
}

.am-header,
.am-header *,
.am-header *::before,
.am-header *::after {
  box-sizing: border-box;
}

.am-header {
  position: relative;
  z-index: var(--am-header-layer);
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--am-header-bg);
  color: var(--am-header-text);
  font-family: var(--am-header-font);
  font-size: var(--am-header-font-size);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.am-header [hidden] {
  display: none !important;
}

.am-header a {
  color: inherit;
  text-decoration: none;
}

.am-header a:hover {
  color: var(--am-header-ink);
}

.am-header ul,
.am-header li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.am-header button,
.am-header input,
.am-header summary {
  font: inherit;
}

.am-header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  text-transform: none;
}

.am-header button:hover {
  background: var(--am-header-hover);
  color: var(--am-header-ink);
}

.am-header :where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--am-header-focus);
  outline-offset: 3px;
}

.am-header :where(a, button, input, summary):focus:not(:focus-visible) {
  outline: none;
}

.am-header-spacer {
  display: none;
}

.am-header svg {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.am-header .am-header__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.am-header__main {
  display: grid;
  grid-template-columns: 248px minmax(160px, 1fr) 124px 136px 36px;
  align-items: center;
  gap: var(--am-header-gap);
  max-width: var(--am-header-width);
  min-height: var(--am-header-main-height);
  margin-inline: auto;
  /* Equal top and bottom spacing keeps the header content vertically centered. */
  padding: var(--am-header-padding-block) var(--am-header-gutter);
}

.am-header__brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--am-header-ink);
}

.am-header__brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.am-header__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 34px;
  flex-shrink: 0;
  background: var(--am-header-ink);
  color: var(--am-header-bg);
  font: 32px/1 Georgia, serif;
}

.am-header__brand-name {
  font: small-caps 24px/1 Georgia, serif;
  white-space: nowrap;
}

/* Client View [vuer_search]: shared desktop/mobile field styled to the mockups. */
.am-header__search {
  min-width: 0;
  height: var(--am-header-control-height);
  margin: 0;
}

.am-header .am-header__search .vuer-search-shortcode,
.am-header .am-header__search .vuer-search,
.am-header .am-header__search .vuer-search__form,
.am-header .am-header__search .vuer-search__field {
  width: 100%;
  height: 100%;
  margin: 0;
}

.am-header .am-header__search .vuer-search__field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--am-header-line);
  background: var(--am-header-bg);
}

.am-header .am-header__search .vuer-search__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 6px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--am-header-ink);
  font: inherit;
  line-height: normal;
}

.am-header .am-header__search .vuer-search__input::placeholder {
  color: var(--am-header-text);
  opacity: .75;
}

.am-header .am-header__search .vuer-search__field:focus-within {
  outline: 2px solid var(--am-header-focus);
  outline-offset: 2px;
}

.am-header .am-header__search .vuer-search__input:focus {
  outline: 0;
}

.am-header .am-header__search .vuer-search__submit {
  position: static;
  width: var(--am-header-control-height);
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--am-header-text);
}

.am-header .am-header__search .vuer-search__submit:hover {
  background: var(--am-header-hover);
  color: var(--am-header-ink);
}

.am-header .am-header__search .vuer-search__icon {
  width: 16px;
  height: 16px;
}

.am-header .am-header__search .vuer-search__suggestions {
  max-height: min(60dvh, 420px);
  overflow-y: auto;
  border-color: var(--am-header-line);
  border-radius: 0;
  background: var(--am-header-bg);
}

.am-header .am-header__search .vuer-search__group-title {
  margin: 0;
  background: var(--am-header-hover);
  color: var(--am-header-text);
  font-size: var(--am-header-small);
}

.am-header .am-header__search .vuer-search__suggestion:hover,
.am-header .am-header__search .vuer-search__suggestion:focus {
  background: var(--am-header-hover);
  color: var(--am-header-ink);
}

.am-header .am-header__search .vuer-search__visually-hidden {
  margin: 0;
}

.am-header__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
}

.am-header__phone span {
  font-size: var(--am-header-small);
}

.am-header__phone strong {
  font-size: 17px;
  font-weight: 600;
}

.am-header .am-header__quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--am-header-control-height);
  padding: 5px 12px;
  border: 1px solid var(--am-header-line);
  white-space: nowrap;
}

.am-header__quote:hover {
  background: var(--am-header-hover);
}

.am-header__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding-inline: 3px;
  border-radius: 50%;
  background: var(--am-header-text);
  color: var(--am-header-bg);
  font-size: 10px;
  line-height: 1;
}

.am-header .am-header__toggle {
  width: 36px;
  height: 44px;
}

.am-header__toggle svg {
  stroke-width: 1.7;
}

.am-header .am-header__close,
.am-header .am-header__phone-strip,
.am-header .am-header__utility-quote {
  display: none;
}

.am-header.is-menu-open .am-header__hamburger {
  display: none;
}

.am-header.is-menu-open .am-header__close {
  display: block;
}

.am-header__navigation {
  position: relative;
  border-top: 1px solid var(--am-header-rule);
  border-bottom: 1px solid var(--am-header-rule);
}

.am-header__primary {
  max-width: var(--am-header-width);
  margin-inline: auto;
  padding-inline: var(--am-header-gutter);
}

.am-header .am-header__rooms {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.am-header__row {
  display: flex;
  align-items: stretch;
}

.am-header__row > a {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  min-height: var(--am-header-row-height);
  padding: 5px 8px;
}

.am-header__room > .am-header__row > a {
  min-height: var(--am-header-nav-height);
  padding-inline: 0;
}

.am-header .am-header__disclosure {
  width: 24px;
  min-height: var(--am-header-row-height);
}

.am-header__room > .am-header__row .am-header__chevron {
  opacity: 0;
}

.am-header__chevron {
  width: 14px;
  height: 14px;
}

.am-header__disclosure[aria-expanded="true"] .am-header__chevron,
.am-header__color-group[open] > summary .am-header__chevron {
  transform: rotate(180deg);
}

.am-header__mega {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start; /* Align submenu links with the top of the image. */
  gap: 32px;
  width: min(var(--am-header-width), calc(100% - 32px));
  min-height: 368px;
  max-height: calc(100dvh - var(--am-header-main-height) - var(--am-header-nav-height) - var(--am-header-admin-offset) - 16px);
  padding: 36px 44px 50px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--am-header-bg);
  transform: translateX(-50%);
}

.am-header .am-header__category-links {
  columns: 2;
  column-gap: 28px;
}

.am-header__category-links li {
  break-inside: avoid;
}

.am-header__category-links a {
  display: block;
  padding-block: 7px;
  font-weight: 600;
  line-height: 1.2;
}

.am-header__category-links a:hover,
.am-header__color-group a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.am-header__image-link {
  position: relative;
  display: block;
  aspect-ratio: var(--am-header-image-ratio);
  overflow: hidden;
  background: var(--am-header-placeholder-bg);
}

/* Reserve the mockup's right image column, including absent or failed photos. */
.am-header__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--am-header-gap);
  width: 100%;
  height: 100%;
  padding: var(--am-header-gutter);
  color: var(--am-header-placeholder-ink);
  text-align: center;
}

.am-header .am-header__placeholder-icon {
  width: 64px;
  height: 64px;
}

.am-header__room-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-header__utility {
  position: absolute;
  top: calc((44px - var(--am-header-main-height)) / 2 + 8px);
  right: max(24px, calc((100% - var(--am-header-width)) / 2 + 24px));
  width: 284px;
  max-height: calc(100dvh - var(--am-header-main-height) - var(--am-header-admin-offset) - 16px);
  padding: 12px 26px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--am-header-bg);
}

.am-header.is-enhanced:not(.is-menu-open) .am-header__utility {
  display: none;
}

.am-header__utility-item + .am-header__utility-item {
  border-top: 1px solid var(--am-header-line);
}

.am-header__utility-quote + .am-header__utility-item {
  border-top: 0;
}

.am-header__utility .am-header__row {
  font-weight: 600;
}

.am-header__colors {
  padding: 4px 8px 12px;
}

.am-header__color-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--am-header-row-height);
  padding-block: 7px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.am-header__color-group summary::-webkit-details-marker {
  display: none;
}

.am-header__color-group a {
  display: block;
  padding: 7px 0 7px 12px;
  font-size: 16px;
}

.am-header:not(.is-enhanced) .am-header__toggle,
.am-header:not(.is-enhanced) .am-header__disclosure {
  display: none;
}

.am-header:not(.is-enhanced) .am-header__mega {
  display: none;
}

.am-header:not(.is-enhanced) .am-header__room:hover .am-header__mega,
.am-header:not(.is-enhanced) .am-header__room:focus-within .am-header__mega {
  display: grid;
}

.am-header:not(.is-enhanced) .am-header__utility {
  position: static;
  width: min(100%, var(--am-header-width));
  max-height: none;
  margin-inline: auto;
}

/* Mobile/tablet: phone strip, logo/quote/menu row, search, then menu overlay.
   Keep the 1024px breakpoint in sync with matchMedia() in header.php. */
@media (max-width: 1023px) {
  html.am-header-menu-open {
    overflow: hidden;
  }

  .am-header {
    --am-header-gutter: 24px;
    --am-header-padding-block: 20px;
    --am-header-gap: 10px;
    --am-header-mobile-height: 162px;
    --am-header-search-height: 52px;
  }

  .am-header.is-menu-open {
    position: fixed;
    top: var(--am-header-admin-offset);
    left: 0;
  }

  .am-header.is-menu-open + .am-header-spacer {
    display: block;
    height: var(--am-header-mobile-height);
  }

  .am-header .am-header__phone-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 26px;
    background: var(--am-header-ink);
    color: var(--am-header-bg);
    font-size: 18px;
    line-height: 1;
  }

  .am-header__phone-strip svg {
    fill: currentColor;
    stroke-width: 0;
  }

  .am-header__main {
    grid-template-columns: minmax(0, 1fr) auto 36px;
    grid-template-rows: 44px var(--am-header-search-height);
    /* Match the space above and below the logo/control row. */
    align-content: start;
    gap: var(--am-header-padding-block) var(--am-header-gap);
    min-height: 0;
    padding-bottom: 0;
  }

  /* Keep the open menu close to its toggle instead of below the search row. */
  .am-header.is-menu-open {
    --am-header-mobile-height: 110px;
  }

  .am-header.is-menu-open .am-header__main {
    grid-template-rows: 44px;
    row-gap: 0;
    padding-bottom: var(--am-header-padding-block);
  }

  .am-header.is-menu-open .am-header__search {
    display: none;
  }

  .am-header.is-menu-open + .am-header-spacer {
    height: 162px;
  }

  .am-header__brand {
    grid-column: 1;
    grid-row: 1;
    max-width: 200px;
  }

  .am-header__brand img {
    max-height: 38px;
  }

  .am-header__brand-mark {
    width: 24px;
    height: 27px;
    font-size: 26px;
  }

  .am-header__brand-name {
    font-size: clamp(12px, 4vw, 20px);
  }

  .am-header .am-header__phone {
    display: none;
  }

  .am-header .am-header__quote {
    grid-column: 2;
    grid-row: 1;
    min-width: 112px;
    padding-inline: 9px;
    font-size: 18px;
  }

  .am-header__toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .am-header__search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: var(--am-header-search-height);
    /* Extend the mobile search across the header's side gutters. */
    margin-inline: calc(-1 * var(--am-header-gutter));
  }

  .am-header .am-header__search .vuer-search__field {
    border-inline: 0;
  }

  .am-header .am-header__search .vuer-search__field:focus-within {
    outline-offset: -2px;
  }

  .am-header__navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-height: calc(100dvh - var(--am-header-mobile-height) - var(--am-header-admin-offset));
    max-height: calc(100dvh - var(--am-header-mobile-height) - var(--am-header-admin-offset));
    padding: 0 calc(var(--am-header-gutter) + 2px) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    background: var(--am-header-bg);
    scrollbar-gutter: stable;
  }

  .am-header.is-enhanced:not(.is-menu-open) .am-header__navigation {
    display: none;
  }

  .am-header__primary {
    max-width: none;
    padding: 0;
  }

  .am-header .am-header__rooms {
    display: block;
  }

  .am-header__room,
  .am-header .am-header__utility-item {
    border: 0;
    border-bottom: 1px solid var(--am-header-line);
  }

  .am-header .am-header__row > a {
    min-height: var(--am-header-row-height);
    padding: 5px 10px;
    font-weight: 400;
  }

  .am-header .am-header__disclosure {
    width: 44px;
  }

  .am-header__room > .am-header__row .am-header__chevron {
    opacity: 1;
  }

  .am-header__mega {
    position: static;
    display: block;
    width: 100%;
    min-height: 0;
    max-height: none;
    padding: 4px 10px 14px 22px;
    overflow: visible;
    transform: none;
  }

  .am-header .am-header__category-links {
    columns: 1;
  }

  .am-header__category-links a {
    padding-block: 8px;
    font-size: 16px;
    font-weight: 400;
  }

  .am-header .am-header__image-link {
    display: none;
  }

  .am-header__utility {
    position: static;
    width: 100%;
    max-height: none;
    padding: 0;
    overflow: visible;
  }

  .am-header .am-header__utility-quote {
    display: list-item;
  }

  .am-header__colors {
    padding-left: 22px;
  }

  .am-header:not(.is-enhanced) .am-header__navigation {
    position: static;
    min-height: 0;
    max-height: none;
  }

  .am-header:not(.is-enhanced) .am-header__mega {
    display: block;
  }
}

@media (max-width: 782px) {
  body.admin-bar {
    --am-header-admin-offset: 46px;
  }
}

@media (max-width: 359px) {
  .am-header {
    --am-header-gutter: 14px;
    --am-header-gap: 6px;
  }

  .am-header .am-header__quote {
    padding-inline: 6px;
    min-width: 112px;
    font-size: 16px;
  }
}

@media print {
  .am-header {
    position: static;
  }

  .am-header.is-menu-open + .am-header-spacer {
    display: none;
  }

  .am-header .am-header__navigation,
  .am-header .am-header__search,
  .am-header .am-header__toggle,
  .am-header .am-header__quote,
  .am-header .am-header__phone-strip {
    display: none;
  }

  .am-header__main {
    display: flex;
    justify-content: space-between;
    min-height: 80px;
    padding: 16px 0;
  }
}

/* END AMISH MERCANTILE CUSTOM HEADER
   ========================================================================== */

/* Black Carriage: shared text typography, matching bcfgj.com. */
:root {
  --bc-font-family: "Open Sans", Arial, sans-serif;
  --font-sans: "Open Sans", Arial, sans-serif;
}
body, h1, h2, h3, h4, h5, h6, p, a, li, dt, dd,
blockquote, figcaption, table, caption, th, td,
button, input, select, textarea, optgroup, option, label, legend, summary {
  font-family: var(--bc-font-family) !important;
}
.gform_wrapper {
  --gf-font-family-base: "Open Sans", Arial, sans-serif;
  --gf-ctrl-font-family: "Open Sans", Arial, sans-serif;
}
