/* HuntBee shared layout primitives.
   Keep page rhythm, containers and breadcrumbs consistent across legacy/fallback
   OpenCart templates without editing each individual Twig file. */

.hb-theme {
  --hb-page-space-top: 22px;
  --hb-page-space-bottom: 60px;
}

/* Override Bootstrap 3's fixed 750/970/1170px container widths with the
   HuntBee design-system container everywhere in the storefront. */
.hb-theme .container {
  width: 100% !important;
  max-width: var(--hb-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Standard OpenCart fallback templates render their page container directly
   after the shared header. Give all of them the same top/bottom breathing room. */
body.hb-theme > .container {
  padding-top: var(--hb-page-space-top);
  padding-bottom: var(--hb-page-space-bottom);
}

/* One breadcrumb treatment for standard OpenCart templates and HuntBee's
   custom catalogue/product templates. */
.hb-theme .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  line-height: 1.4;
  list-style: none;
}

.hb-theme .breadcrumb > li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #7a838c;
  font-weight: 500;
}

.hb-theme .breadcrumb > li + li::before {
  content: "\f105" !important;
  padding: 0 7px 0 1px !important;
  color: #aab0b5 !important;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.hb-theme .breadcrumb > li > a {
  color: #68727c;
  text-decoration: none;
}

.hb-theme .breadcrumb > li > a:hover,
.hb-theme .breadcrumb > li > a:focus {
  color: var(--hb-ink);
}

.hb-theme .breadcrumb > li:last-child,
.hb-theme .breadcrumb > li:last-child > a,
.hb-theme .breadcrumb > li:last-child > span {
  color: var(--hb-ink);
  font-weight: 700;
}

.hb-theme .breadcrumb > li i {
  margin: 0;
}

/* Keep utility bar and primary header on the same shared storefront shell.
   This aligns Currency/Translate with the wordmark and the account/cart links
   with the header actions without making the header full-bleed. */
.hb-theme #top.hb-utility-bar > .container,
.hb-theme .hb-site-header > .container {
  width: 100% !important;
  max-width: var(--hb-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* The utility controls have their own intrinsic text/icon footprint, so a
   15px inset makes Currency and Shopping Cart look visually narrower than the
   logo/cart row below. Let the desktop utility row use the shell's outer edge. */
@media (min-width: 1200px) {
  .hb-theme #top.hb-utility-bar > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .hb-theme {
    --hb-page-space-top: 16px;
    --hb-page-space-bottom: 42px;
  }

  .hb-theme .breadcrumb {
    gap: 4px;
    margin-bottom: 18px !important;
    font-size: 12px;
  }

  .hb-theme .breadcrumb > li + li::before {
    padding-right: 5px !important;
  }
}


/* HuntBee contact page - embedded fallback */
/* HuntBee contact page */

.hb-theme #information-contact.hb-contact-page {
  padding-top: 22px;
  padding-bottom: 64px;
}

.hb-theme #information-contact .hb-contact-main {
  min-width: 0;
}

.hb-theme #information-contact .hb-contact-hero {
  margin-bottom: 20px;
  padding: 30px 32px;
  border: 1px solid #e3ded4;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff 0%, #faf8f2 100%);
  box-shadow: 0 8px 24px rgba(17,24,32,.04);
}

.hb-theme #information-contact .hb-contact-kicker,
.hb-theme #information-contact .hb-contact-section-head > div > span,
.hb-theme #information-contact .hb-contact-form-head > div > span {
  display: block;
  margin-bottom: 6px;
  color: #1594aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hb-theme #information-contact .hb-contact-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.08;
}

.hb-theme #information-contact .hb-contact-hero p {
  max-width: 820px;
  margin: 0;
  color: #65707a;
  font-size: 15px;
  line-height: 1.65;
}

.hb-theme #information-contact .hb-contact-details,
.hb-theme #information-contact .hb-contact-locations,
.hb-theme #information-contact .hb-contact-form-card {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #e3ded4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(17,24,32,.035);
}

.hb-theme #information-contact .hb-contact-section-head,
.hb-theme #information-contact .hb-contact-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ece8df;
}

.hb-theme #information-contact .hb-contact-section-head h2,
.hb-theme #information-contact .hb-contact-form-head h2 {
  margin: 0;
  color: #111820;
  font-size: 22px;
  line-height: 1.25;
}

.hb-theme #information-contact .hb-contact-form-head p {
  margin: 5px 0 0;
  color: #78828b;
  font-size: 13px;
  line-height: 1.5;
}

.hb-theme #information-contact .hb-contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hb-theme #information-contact .hb-contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  min-height: 145px;
  padding: 17px;
  border: 1px solid #ebe7de;
  border-radius: 9px;
  background: #faf9f5;
}

.hb-theme #information-contact .hb-contact-detail-icon,
.hb-theme #information-contact .hb-contact-form-icon {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #edf8f9;
  color: #1594aa;
  font-size: 15px;
}

.hb-theme #information-contact .hb-contact-detail-card > div {
  min-width: 0;
}

.hb-theme #information-contact .hb-contact-detail-label {
  display: block;
  margin-bottom: 5px;
  color: #8a939a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hb-theme #information-contact .hb-contact-detail-card strong {
  display: block;
  margin-bottom: 5px;
  color: #202933;
  font-size: 14px;
  line-height: 1.45;
}

.hb-theme #information-contact .hb-contact-detail-card address,
.hb-theme #information-contact .hb-contact-detail-sub,
.hb-theme #information-contact .hb-contact-open {
  display: block;
  margin: 0;
  color: #66717a;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55;
}

.hb-theme #information-contact .hb-contact-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: #0d7f93;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hb-theme #information-contact .hb-contact-inline-link:hover,
.hb-theme #information-contact .hb-contact-inline-link:focus {
  color: #075f70;
}

.hb-theme #information-contact .hb-contact-accordion {
  margin: 0;
}

.hb-theme #information-contact .hb-contact-accordion .panel {
  overflow: hidden;
  margin: 0 0 8px;
  border: 1px solid #e7e2d8;
  border-radius: 8px;
  box-shadow: none;
}

.hb-theme #information-contact .hb-contact-accordion .panel-heading {
  padding: 0;
  border: 0;
  background: #faf9f5;
}

.hb-theme #information-contact .hb-contact-accordion .panel-title {
  margin: 0;
}

.hb-theme #information-contact .hb-contact-accordion .panel-title > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  color: #26313b;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hb-theme #information-contact .hb-contact-accordion .panel-title > a i {
  color: #aab1b7;
  font-size: 12px;
}

.hb-theme #information-contact .hb-contact-accordion .panel-body {
  padding: 18px;
  border-top: 1px solid #ebe7de !important;
  color: #59646e;
  font-size: 13px;
  line-height: 1.55;
}

.hb-theme #information-contact .hb-contact-accordion .panel-body address,
.hb-theme #information-contact .hb-contact-accordion .panel-body p {
  margin: 4px 0 10px;
  color: #66717a;
  font-size: 13px;
  line-height: 1.55;
}

.hb-theme #information-contact .hb-contact-location-image {
  border-radius: 7px;
}

.hb-theme #information-contact .hb-contact-form-card {
  padding: 26px;
}

.hb-theme #information-contact .hb-contact-form {
  max-width: 980px;
}

.hb-theme #information-contact .hb-contact-form .form-group {
  margin-bottom: 18px;
}

.hb-theme #information-contact .hb-contact-form .control-label {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  color: #34404a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.hb-theme #information-contact .hb-contact-form .required .control-label::before {
  content: "* ";
  color: #b83a32;
}

.hb-theme #information-contact .hb-contact-form .form-control {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8d4cb;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  color: #202933;
  font-size: 14px;
  line-height: 1.45;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.hb-theme #information-contact .hb-contact-form textarea.form-control {
  min-height: 180px;
  height: auto;
  resize: vertical;
}

.hb-theme #information-contact .hb-contact-form .form-control:focus {
  border-color: #5eaeb9;
  box-shadow: 0 0 0 3px rgba(21,148,170,.09);
}

.hb-theme #information-contact .hb-contact-form .text-danger {
  margin-top: 6px;
  color: #a83a34;
  font-size: 12px;
  line-height: 1.45;
}

.hb-theme #information-contact .hb-contact-captcha {
  margin: 8px 0 18px;
  padding: 18px;
  border: 1px solid #ebe7de;
  border-radius: 8px;
  background: #faf9f5;
}

.hb-theme #information-contact .hb-contact-captcha legend {
  margin-bottom: 14px;
  border: 0;
  color: #202933;
  font-size: 16px;
  font-weight: 800;
}

.hb-theme #information-contact .hb-contact-captcha .form-group {
  margin-bottom: 12px;
}

.hb-theme #information-contact .hb-contact-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.hb-theme #information-contact .hb-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 150px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #111820;
  border-radius: 7px;
  background: #111820;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

.hb-theme #information-contact .hb-contact-submit:hover,
.hb-theme #information-contact .hb-contact-submit:focus {
  border-color: #26313b;
  background: #26313b;
}

@media (max-width: 991px) {
  .hb-theme #information-contact .hb-contact-detail-grid {
    grid-template-columns: 1fr;
  }

  .hb-theme #information-contact .hb-contact-detail-card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .hb-theme #information-contact.hb-contact-page {
    padding-top: 16px;
    padding-bottom: 42px;
  }

  .hb-theme #information-contact .hb-contact-hero {
    padding: 24px 20px;
  }

  .hb-theme #information-contact .hb-contact-hero h1 {
    font-size: 30px;
  }

  .hb-theme #information-contact .hb-contact-details,
  .hb-theme #information-contact .hb-contact-locations,
  .hb-theme #information-contact .hb-contact-form-card {
    padding: 20px;
  }

  .hb-theme #information-contact .hb-contact-section-head h2,
  .hb-theme #information-contact .hb-contact-form-head h2 {
    font-size: 20px;
  }

  .hb-theme #information-contact .hb-contact-form .row > [class*="col-"] {
    width: 100%;
  }

  .hb-theme #information-contact .hb-contact-form-actions {
    justify-content: stretch;
  }

  .hb-theme #information-contact .hb-contact-submit {
    width: 100%;
  }
}
