/* ======================================================
   breadcrumbs.css — 02.01.2026 — CST (America/Chicago)
   Breadcrumb Bar + Desktop Search + Cart — GLOBAL
   TBP 3.0 / 3.5
   ====================================================== */

/* ======================================================
   OUTER BAR (full-width background)
   ====================================================== */
.tbp-breadcrumb-bar {
  background-color: #000000 !important;
  width: 100% !important;
}

/* ======================================================
   INNER WRAPPER (width + centering control)
   ====================================================== */
.tbp-breadcrumb-inner {
  max-width: 1250px;
  margin: 0 auto;

  min-height: 60px;
  padding: 8px 15px;

  display: flex;
  align-items: center;      /* vertical centering */
  gap: 20px;
}

/* ======================================================
   LEFT / CENTER / RIGHT ZONES
   ====================================================== */
.tbp-breadcrumb-left,
.tbp-breadcrumb-center,
.tbp-breadcrumb-right {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 0;
  min-width: 0;
}

.tbp-breadcrumb-left {
  justify-content: flex-start !important;
}

.tbp-breadcrumb-center {
  justify-content: center !important;
}

.tbp-breadcrumb-right {
  justify-content: flex-end !important;
}

/* ======================================================
   BREADCRUMB TEXT
   ====================================================== */
#tbp-breadcrumbs {
  min-width: 0;
}

#tbp-breadcrumbs .breadcrumb-nav {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

#tbp-breadcrumbs .breadcrumb-nav a {
  color: #FFD700 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

#tbp-breadcrumbs .breadcrumb-nav a:hover {
  color: #FFED8B !important;
  text-decoration: underline !important;
}

#tbp-breadcrumbs .breadcrumb-nav span {
  color: #CCCCCC !important;
}

/* ======================================================
   DESKTOP SEARCH (JS controlled)
   ====================================================== */
#tbp-desktop-search-wrap {
  display: none !important;
}

#tbp-desktop-search-wrap.is-open {
  display: flex !important;
}

/* SEARCH FORM */
.tbp-search-form {
  display: flex !important;
  align-items: center !important;
  height: 38px !important;

  border: 1px solid #000 !important;
  border-radius: 6px !important;
  overflow: hidden !important;

  background-color: #F7F2D0 !important;
}

/* INPUT */
.tbp-search-input {
  border: none !important;
  height: 38px !important;
  line-height: 38px !important;

  font-size: 16px !important;
  padding: 0 10px !important;

  background-color: transparent !important;
  color: #000 !important;

  width: 420px !important;
  max-width: 420px !important;
  outline: none;
}

/* BUTTON */
.tbp-search-button {
  width: 42px !important;
  height: 38px !important;

  border: none !important;
  background: transparent !important;

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

/* ======================================================
   CART ICON
   ====================================================== */
.tbp-cart-image {
  width: 84px !important;
  height: 38px !important;
  object-fit: contain !important;
  display: block;
}

/* ======================================================
   MOBILE BEHAVIOR
   ====================================================== */
@media (max-width: 640px) {

  .tbp-breadcrumb-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 6px 12px;
    row-gap: 6px;
  }

  /* Row 1 */
  .tbp-breadcrumb-left {
    order: 1;
    flex: 1 1 auto !important;
  }

  .tbp-breadcrumb-right {
    order: 2;
    flex: 0 0 auto !important;
  }

  /* Row 2 */
  .tbp-breadcrumb-center {
    order: 3;
    width: 100%;
    flex: 1 1 100% !important;
    justify-content: flex-start !important;
  }

  .tbp-search-form {
    width: 100% !important;
  }

  .tbp-search-input {
    width: 100% !important;
    max-width: none !important;
  }

  .tbp-cart-image {
    height: 32px !important;
    width: auto !important;
  }
}

/* ======================================================
   MOBILE FIX: remove desktop search bar
   ====================================================== */
@media (max-width: 640px) {
  .tbp-breadcrumb-center {
    display: none !important;
  }
}

/* ======================================================
   END OF FILE
   ====================================================== */
