.elementor-widget-hab-category-carousel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  align-self: stretch;
}
.hab-cc-widget {
  --hab-cc-bg: #f7f3ed;
  --hab-cc-text: #17130f;
  --hab-cc-muted: #7d6c5b;
  --hab-cc-accent: #b4864d;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: var(--hab-cc-bg);
  padding: 7px 56px 9px;
  position: relative;
  overflow: hidden;
}
.hab-cc-header { text-align: center; margin: 0 0 5px; }
.hab-cc-eyebrow {
  color: var(--hab-cc-muted);
  font-size: 7px;
  line-height: 1.15;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin: 0 0 3px;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
}
.hab-cc-heading {
  margin: 0;
  color: var(--hab-cc-text);
  font-family: "Bodoni MT", Didot, "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.hab-cc-heading::before,
.hab-cc-heading::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--hab-cc-accent);
  opacity: .8;
}
.hab-cc-swiper {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0 0 1px;
}
/* Fallback geometry keeps cards visible even before/without JS initialization. */
.hab-cc-swiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  box-sizing: content-box;
}
.hab-cc-swiper .swiper-slide {
  flex: 0 0 calc((100% - 72px) / 5);
  min-width: 0;
  box-sizing: border-box;
}
.hab-cc-slide { box-sizing: border-box; }
.hab-cc-card-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}
.hab-cc-arch-frame {
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border: 1px solid #b28a57;
  overflow: hidden;
  background: #2a1d14;
  box-sizing: border-box;
}
.hab-cc-image-wrap {
  aspect-ratio: var(--hab-cc-aspect-ratio, 4 / 3);
  width: 100%;
  background: #241912;
  overflow: hidden;
  border-radius: 0 !important;
}
.hab-cc-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hab-cc-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,#e8dfd3,#cabaa6);
}

.hab-cc-slide.is-reference-image .hab-cc-arch-frame {
  border: 0;
  background: transparent;
}
.hab-cc-slide.is-reference-image .hab-cc-image-wrap {
  background: transparent !important;
}
.hab-cc-slide.is-reference-image .hab-cc-image {
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

/* User-selected exact-reference images get the card structure automatically.
   Bundled reference artwork keeps its baked-in frame unchanged. */
.hab-cc-widget.is-reference-exact .hab-cc-slide.is-custom-reference-image .hab-cc-arch-frame {
  position: relative !important;
  border: 0 !important;
  border-top-left-radius: 999px !important;
  border-top-right-radius: 999px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  padding: 4px !important;
  background: #c49a53 !important;
  box-shadow: 0 0 0 1px rgba(112, 73, 31, 0.22) !important;
  overflow: hidden !important;
  isolation: isolate;
}
.hab-cc-widget.is-reference-exact .hab-cc-slide.is-custom-reference-image .hab-cc-arch-frame::before,
.hab-cc-widget.is-reference-exact .hab-cc-slide.is-custom-reference-image .hab-cc-arch-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  box-sizing: border-box;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.hab-cc-widget.is-reference-exact .hab-cc-slide.is-custom-reference-image .hab-cc-arch-frame::before {
  inset: 0;
  border: 2px solid #c49a53;
  z-index: 3;
}
.hab-cc-widget.is-reference-exact .hab-cc-slide.is-custom-reference-image .hab-cc-arch-frame::after {
  inset: 3px;
  border: 1px solid rgba(246, 225, 190, 0.72);
  z-index: 2;
}
.hab-cc-widget.is-reference-exact .hab-cc-slide.is-custom-reference-image .hab-cc-image-wrap {
  position: relative !important;
  z-index: 1;
  background: #241912 !important;
  border-top-left-radius: 996px !important;
  border-top-right-radius: 996px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  overflow: hidden !important;
}
.hab-cc-widget.is-reference-exact .hab-cc-slide.is-custom-reference-image .hab-cc-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}
.hab-cc-title {
  color: var(--hab-cc-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  margin: 7px 0 0;
  font-weight: 600;
  text-decoration: none;
}
.hab-cc-cta {
  color: var(--hab-cc-accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  margin: 4px 0 0;
  font-weight: 500;
}
.hab-cc-card-link:hover .hab-cc-title,
.hab-cc-card-link:hover .hab-cc-cta { opacity: .82; }
.hab-cc-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 8;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(70,55,38,.08);
  background: rgba(255,255,255,.86);
  color: #b7aea4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hab-cc-nav svg { width: 15px; height: 15px; }
.hab-cc-prev { left: 1px; }
.hab-cc-next { right: 1px; }
.hab-cc-pagination { position: static; margin-top: 9px; text-align: center; }
.hab-cc-pagination .swiper-pagination-bullet { width: 6px; height: 6px; opacity: 1; background: #d3c7b8; }
.hab-cc-pagination .swiper-pagination-bullet-active { background: #b4864d; }
.hab-cc-empty { background: #fff8e1; border: 1px solid #e6cf8b; padding: 12px 14px; color: #5f512a; }

@media (max-width: 1024px) {
  .hab-cc-widget { padding: 12px 34px 10px; }
  .hab-cc-heading { font-size: 23px; }
  .hab-cc-swiper .swiper-slide { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 767px) {
  .hab-cc-widget { padding: 14px 14px 10px; }
  .hab-cc-header { margin-bottom: 10px; }
  .hab-cc-eyebrow { font-size: 7px; }
  .hab-cc-heading { font-size: 21px; gap: 8px; }
  .hab-cc-heading::before, .hab-cc-heading::after { width: 16px; }
  .hab-cc-swiper .swiper-slide { flex-basis: calc((100% - 14px) / 2); }
  .hab-cc-title { font-size: 10px; margin-top: 7px; }
  .hab-cc-cta { font-size: 8px; }
}

/* Exact supplied-reference preset (v1.0.5). */
.hab-cc-widget.is-reference-exact {
  width: 100%;
  max-width: 1237px;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 65px 11px;
  background: #f7f5f0;
  overflow: hidden;
}
.hab-cc-widget.is-reference-exact .hab-cc-header {
  margin: 0 0 2px;
  text-align: center;
}
.hab-cc-widget.is-reference-exact .hab-cc-eyebrow {
  margin: 0 0 3px;
  color: #6f655a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 7px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .28em;
}
.hab-cc-widget.is-reference-exact .hab-cc-heading {
  margin: 0;
  color: #17130f;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}
.hab-cc-widget.is-reference-exact .hab-cc-heading::before,
.hab-cc-widget.is-reference-exact .hab-cc-heading::after {
  width: auto;
  height: auto;
  background: none;
  opacity: 1;
  color: #b4864d;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}
.hab-cc-widget.is-reference-exact .hab-cc-heading::before { content: "— ❧"; }
.hab-cc-widget.is-reference-exact .hab-cc-heading::after  { content: "❧ —"; }
.hab-cc-widget.is-reference-exact .hab-cc-swiper {
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.hab-cc-widget.is-reference-exact .hab-cc-swiper .swiper-wrapper {
  align-items: flex-start;
}
.hab-cc-widget.is-reference-exact .hab-cc-swiper .swiper-slide {
  flex: 0 0 calc((100% - 72px) / 5);
}
.hab-cc-widget.is-reference-exact .hab-cc-arch-frame {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden;
}
.hab-cc-widget.is-reference-exact .hab-cc-image-wrap {
  width: 100%;
  aspect-ratio: 207 / 154;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden;
}
.hab-cc-widget.is-reference-exact .hab-cc-image {
  width: 100%;
  height: 100%;
  object-fit: fill !important;
  object-position: center center !important;
  transform: none !important;
}
.hab-cc-widget.is-reference-exact .hab-cc-title {
  margin: 4px 0 0;
  color: #211d18;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .055em;
  text-align: center;
  text-transform: uppercase;
}
.hab-cc-widget.is-reference-exact .hab-cc-cta {
  margin: 3px 0 0;
  color: #b4864d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.hab-cc-widget.is-reference-exact .hab-cc-nav,
.hab-cc-widget.is-reference-exact .hab-cc-pagination {
  display: none !important;
}

@media (max-width: 1236px) and (min-width: 1025px) {
  .hab-cc-widget.is-reference-exact { padding-left: 52px; padding-right: 52px; }
}
@media (max-width: 1024px) {
  .hab-cc-widget.is-reference-exact { max-width: 100%; padding: 10px 30px 12px; }
  .hab-cc-widget.is-reference-exact .hab-cc-heading { font-size: 24px; }
  .hab-cc-widget.is-reference-exact .hab-cc-heading::before,
  .hab-cc-widget.is-reference-exact .hab-cc-heading::after { font-size: 11px; }
  .hab-cc-widget.is-reference-exact .hab-cc-swiper .swiper-slide { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 767px) {
  .hab-cc-widget.is-reference-exact { padding: 12px 14px 12px; }
  .hab-cc-widget.is-reference-exact .hab-cc-header { margin-bottom: 8px; }
  .hab-cc-widget.is-reference-exact .hab-cc-heading { font-size: 20px; gap: 6px; }
  .hab-cc-widget.is-reference-exact .hab-cc-heading::before,
  .hab-cc-widget.is-reference-exact .hab-cc-heading::after { font-size: 9px; }
  .hab-cc-widget.is-reference-exact .hab-cc-swiper .swiper-slide { flex-basis: calc((100% - 14px) / 2); }
  .hab-cc-widget.is-reference-exact .hab-cc-title { font-size: 9.5px; }
  .hab-cc-widget.is-reference-exact .hab-cc-cta { font-size: 7.5px; }
}

/* Responsive section width controls (v1.0.6). */
@media (min-width: 1025px) {
  .hab-cc-widget.hab-cc-width-desktop-boxed {
    width: 100%;
    max-width: 1237px;
    margin-left: auto;
    margin-right: auto;
  }
  .hab-cc-widget.hab-cc-width-desktop-custom {
    width: 100%;
    max-width: var(--hab-cc-custom-width-desktop, 1237px);
    margin-left: auto;
    margin-right: auto;
  }
  .hab-cc-widget.hab-cc-width-desktop-full {
    width: 100vw;
    width: 100dvw;
    max-width: 100vw;
    max-width: 100dvw;
    margin-left: calc(50% - 50vw);
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50vw);
    margin-right: calc(50% - 50dvw);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hab-cc-widget.hab-cc-width-tablet-boxed {
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
  .hab-cc-widget.hab-cc-width-tablet-custom {
    width: 100%;
    max-width: var(--hab-cc-custom-width-tablet, 960px);
    margin-left: auto;
    margin-right: auto;
  }
  .hab-cc-widget.hab-cc-width-tablet-full {
    width: 100vw;
    width: 100dvw;
    max-width: 100vw;
    max-width: 100dvw;
    margin-left: calc(50% - 50vw);
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50vw);
    margin-right: calc(50% - 50dvw);
  }
}

@media (max-width: 767px) {
  .hab-cc-widget.hab-cc-width-mobile-boxed {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hab-cc-widget.hab-cc-width-mobile-custom {
    width: 100%;
    max-width: var(--hab-cc-custom-width-mobile, 600px);
    margin-left: auto;
    margin-right: auto;
  }
  .hab-cc-widget.hab-cc-width-mobile-full {
    width: 100vw;
    width: 100dvw;
    max-width: 100vw;
    max-width: 100dvw;
    margin-left: calc(50% - 50vw);
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50vw);
    margin-right: calc(50% - 50dvw);
  }
}
