/* Greater Jackson Habitat for Humanity: headless runtime styles */
@font-face {
  font-family: "wf_4d20e4503b26420b889bc25f4";
  src: url("https://static.wixstatic.com/ufonts/6b881a_4d20e4503b26420b889bc25f48be33ee/woff2/file.woff2") format("woff2"),
    url("https://static.wixstatic.com/ufonts/6b881a_4d20e4503b26420b889bc25f48be33ee/woff/file.woff") format("woff"),
    url("https://static.wixstatic.com/ufonts/6b881a_4d20e4503b26420b889bc25f48be33ee/ttf/file.ttf") format("truetype");
  font-display: swap;
}

/* Home announcement bar (matches the live lightbox) */
.hab-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  min-height: 118px;
  background: rgb(0, 175, 215);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 56px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.hab-bar.on { transform: translateY(0); }
.hab-bar a {
  color: #fff;
  text-decoration: underline;
  font-family: "wf_4d20e4503b26420b889bc25f4", "avenir-lt-w01_85-heavy1475544", sans-serif;
  font-size: 25px;
  line-height: 35px;
  text-align: center;
  text-wrap: balance;
}
.hab-bar-x {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
@media (max-width: 767px) {
  .hab-bar { min-height: 96px; padding: 14px 44px; }
  .hab-bar a { font-size: 20px; line-height: 28px; }
}

/* Dropdown menu: keep it above page content */
[id$="dropWrapper"][data-dropdown-shown="true"] { visibility: visible !important; z-index: 60; }
[id$="dropWrapper"][data-dropdown-shown="false"] { visibility: hidden; }

/* Phone menu: stop the page scrolling behind it */
body.hab-menu-open { overflow: hidden; }

/* Native select laid over Wix dropdown buttons */
.hab-native-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 16px;
  pointer-events: auto;
}

/* Wix containers block clicks by default; make our controls clickable */
.hab-cart, .hab-cart *, .hab-lightbox, .hab-lightbox *, .hab-bar, .hab-bar *, .hab-native-select,
.hab-form-note, .hab-sign-type, [data-hook="faq-root"] * { pointer-events: auto; }

/* Shop */
.hab-empty {
  list-style: none;
  grid-column: 1 / -1;
  padding: 40px 0;
  font-family: avenir-lt-w01_35-light1475496, sans-serif;
  font-size: 16px;
  color: rgb(51, 49, 48);
}
.hab-msg {
  margin-top: 8px;
  color: #df3131;
  font-family: avenir-lt-w01_35-light1475496, sans-serif;
  font-size: 14px;
}
.hab-compare {
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 8px;
}

/* Product lightbox */
.hab-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hab-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.hab-lightbox button {
  position: absolute;
  background: none;
  border: 0;
  font-size: 44px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  padding: 10px 16px;
}
.hab-lb-x { top: 10px; right: 10px; }
.hab-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.hab-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Cart */
.hab-cart {
  font-family: avenir-lt-w01_35-light1475496, sans-serif;
  color: rgb(51, 49, 48);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}
.hab-cart:empty { display: none; }
.hab-cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(51, 49, 48, 0.2); }
.hab-cart-line {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto auto 28px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(51, 49, 48, 0.2);
}
.hab-cart-img img { width: 100px; height: 100px; object-fit: cover; display: block; }
.hab-cart-name { color: inherit; text-decoration: none; font-size: 16px; line-height: 1.4; }
.hab-cart-name:hover { text-decoration: underline; }
.hab-cart-price, .hab-cart-opt { font-size: 14px; margin-top: 4px; }
.hab-cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(51, 49, 48, 0.4);
  height: 36px;
}
.hab-cart-qty button {
  width: 32px;
  height: 34px;
  background: none;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
}
.hab-cart-qty button:disabled { opacity: 0.35; cursor: default; }
.hab-cart-qty span { min-width: 28px; text-align: center; font-size: 15px; }
.hab-cart-total { font-size: 16px; min-width: 80px; text-align: right; }
.hab-cart-rm { background: none; border: 0; font-size: 24px; cursor: pointer; color: rgba(51, 49, 48, 0.6); }
.hab-cart-rm:hover { color: rgb(51, 49, 48); }
.hab-cart-sum { border-top: 1px solid rgba(51, 49, 48, 0.2); padding-top: 20px; }
.hab-cart-row { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 10px; }
.hab-cart-note { font-size: 14px; margin: 8px 0 20px; }
.hab-cart-err { color: #df3131; font-size: 14px; }
.hab-cart-checkout {
  width: 100%;
  height: 48px;
  border: 0;
  background: rgb(0, 175, 215);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}
.hab-cart-checkout:hover { opacity: 0.88; }
.hab-cart-checkout:disabled { opacity: 0.6; cursor: default; }
.hab-cart-continue { display: block; text-align: center; margin-top: 16px; color: inherit; font-size: 15px; }
@media (max-width: 900px) {
  .hab-cart { grid-template-columns: 1fr; gap: 24px; }
  .hab-cart-line { grid-template-columns: 76px minmax(0, 1fr) 28px; gap: 12px 14px; }
  .hab-cart-img img { width: 76px; height: 76px; }
  .hab-cart-img { grid-row: span 2; }
  .hab-cart-rm { grid-column: 3; grid-row: 1; }
  .hab-cart-qty { grid-column: 2; }
  .hab-cart-total { grid-column: 3; text-align: right; min-width: 0; }
}

/* Blog feed: Wix positions cards absolutely; switch to a grid so any number of posts fits */
.hab-feed {
  position: relative !important;
  height: auto !important;
  display: grid !important;
  justify-content: start;
}
.hab-feed > [data-hook="item-link-wrapper"] > [data-hook="item-container"] {
  position: relative !important;
  top: auto !important;
  left: auto !important;
}

/* Post body extras */
.hab-post-fig { margin: 24px 0; }
.hab-post-fig img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.hab-post-block { margin: 16px 0; }
.hab-post-block img { max-width: 100%; height: auto; }

/* FAQ answers (same look as live) */
.hab-faq-a {
  font-family: avenir-lt-w01_35-light1475496, sans-serif;
  font-size: 16px;
  color: rgb(51, 49, 48);
  line-height: 22.08px;
  padding-bottom: 24px;
}
.hab-faq-a p { margin: 0 0 10px; }
.hab-faq-a ul, .hab-faq-a ol { margin: 0 0 10px; padding-left: 22px; }
.hab-faq-a a { color: inherit; text-decoration: underline; }
[data-hook="accordion-item-header"] { cursor: pointer; }

/* Forms */
.hab-invalid { border-color: #df3131 !important; }
.hab-form-note {
  margin-top: 12px;
  font-family: avenir-lt-w01_35-light1475496, sans-serif;
  font-size: 15px;
  color: rgb(0, 128, 0);
}
.hab-form-note.err { color: #df3131; }
.hab-file-note { font-size: 13px; margin-top: 4px; font-family: avenir-lt-w01_35-light1475496, sans-serif; }
.hab-sign-type {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 120px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 0 16px;
  font: italic 40px "Brush Script MT", "Segoe Script", cursive;
  background: #fff;
}
.hab-thanks { padding: 40px 0; text-align: center; }