/* Compact the cloned two-row header on catalogue pages. */
body.bbe-catalog .elementor-612 .elementor-element-694dd1c {
  display: none !important;
}
body.bbe-catalog .elementor-612 .elementor-element-259b725 {
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 16px !important;
  --padding-right: 16px !important;
}
body.bbe-catalog .elementor-612 .elementor-element-8e37ede {
  --margin-top: 0px !important;
  --padding-top: 4px !important;
  --padding-bottom: 4px !important;
  --padding-left: 12px !important;
  --padding-right: 12px !important;
  --border-radius: 0px !important;
}
body.bbe-catalog .elementor-612 .elementor-element-4ec01b4 {
  padding: 0 !important;
  margin: 0 !important;
}
@media (min-width: 1025px) {
  body.bbe-catalog .elementor-612 .elementor-element-775bc8c {
    --width: 168px !important;
    width: 168px !important;
    max-width: 168px !important;
    flex-grow: 0 !important;
  }
  body.bbe-catalog .elementor-612 .elementor-element-2efedcd .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper {
    height: 48px !important;
  }
}
body.bbe-catalog .elementor-612 .elementor-element-71ee2cf .elementor-button {
  padding: 8px 14px !important;
  min-height: 0 !important;
}

.bbe-cat {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 18px 64px;
  font-family: Outfit, Nunito, "Segoe UI", sans-serif;
  color: #122033;
}
.bbe-cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}
.bbe-cat-head h1 {
  margin: 0 0 4px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}
.bbe-cat-head p {
  margin: 0;
  color: #5b6b7c;
  font-size: 14px;
}
.bbe-cat-search {
  display: flex;
  gap: 8px;
  width: min(420px, 100%);
  flex: 0 1 420px;
}
.bbe-cat-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d5deea;
  border-radius: 10px;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.bbe-cat-search input[type="search"]::-webkit-search-decoration,
.bbe-cat-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.bbe-cat-search button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: #0b3d5c;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bbe-cat-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.bbe-cat-filter-btn,
.bbe-cat-filter-mask,
.bbe-cat-filter-close {
  display: none;
}
.bbe-cat-side {
  position: sticky;
  top: calc(var(--bbe-header-h, 74px) + 16px);
  background: #fff;
  border: 1px solid #e4ebf2;
  border-radius: 14px;
  padding: 16px 14px;
}
.bbe-cat-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 4px 10px;
  border-bottom: 1px solid #eef2f6;
}
.bbe-cat-side-head h2 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.bbe-cat-filters {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bbe-cat-filters a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #122033;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}
.bbe-cat-filters a:hover {
  background: #f4f7fb;
}
.bbe-cat-filters a.is-on {
  background: #0b3d5c;
  color: #fff;
}
.bbe-cat-filters a em {
  font-style: normal;
  font-size: 12px;
  color: #6b7c8d;
  background: #eef3f8;
  border-radius: 999px;
  min-width: 1.7em;
  padding: 1px 7px;
  text-align: center;
}
.bbe-cat-filters a.is-on em {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.bbe-cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bbe-cat-card {
  background: #fff;
  border: 1px solid #e4ebf2;
  border-radius: 14px;
  overflow: hidden;
}
.bbe-cat-photo {
  display: block;
  aspect-ratio: 1;
  background: #eef3f8 center/cover no-repeat;
}
.bbe-cat-card h2 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.bbe-cat-empty {
  color: #5b6b7c;
}
.bbe-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
@media (max-width: 1100px) {
  .bbe-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bbe-cat { padding: 12px 14px 48px; }
  .bbe-cat-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .bbe-cat-head h1 { font-size: 22px; }
  .bbe-cat-search { width: 100%; flex: none; }
  .bbe-cat-layout { grid-template-columns: 1fr; gap: 14px; }
  .bbe-cat-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d5deea;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .bbe-cat-side {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: min(320px, 86vw);
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: 16px 0 40px rgba(18, 32, 51, 0.16);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    overflow: auto;
  }
  .bbe-cat-filter-close {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef3f8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  #bbe-cat-nav:checked ~ .bbe-cat-side { transform: none; }
  #bbe-cat-nav:checked ~ .bbe-cat-filter-mask {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(18, 32, 51, 0.35);
  }
  .bbe-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bbe-cat-card h2 { font-size: 14px; }
}

.bbe-cat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.bbe-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 32, 51, 0.08);
}
.bbe-cat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
  min-height: 0;
}
.bbe-cat-card h2 {
  padding: 0;
}
.bbe-cat-desc {
  margin: 0;
  color: #5b6b7c;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product detail */
.bbe-pd {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 18px 64px;
  font-family: Outfit, Nunito, "Segoe UI", sans-serif;
  color: #122033;
}
.bbe-pd-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 13px;
  color: #5b6b7c;
}
.bbe-pd-crumb a {
  color: #0b3d5c;
  text-decoration: none;
  font-weight: 600;
}
.bbe-pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid #e4ebf2;
  border-radius: 18px;
  overflow: hidden;
}
.bbe-pd-media {
  aspect-ratio: 1;
  background: #eef3f8 center/cover no-repeat;
  min-height: 280px;
}
.bbe-pd-info {
  padding: 28px 28px 32px 0;
}
.bbe-pd-cat {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.bbe-pd-cat a {
  color: #5b6b7c;
  text-decoration: none;
}
.bbe-pd-info h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
}
.bbe-pd-desc {
  margin: 0 0 24px;
  color: #3d4d5c;
  font-size: 16px;
  line-height: 1.55;
}
.bbe-pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.bbe-pd-cta,
.bbe-pd-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  box-sizing: border-box;
}
.bbe-pd-cta {
  background: #12261f;
  color: #fff !important;
  border: 1px solid #12261f;
}
.bbe-pd-cta:hover {
  background: #163329;
  border-color: #163329;
}
.bbe-pd-back {
  background: #fff;
  color: #12261f !important;
  border: 1px solid #12261f;
}
.bbe-pd-back:hover {
  background: #f6f1e6;
}
.bbe-pd-related {
  margin-top: 40px;
}
.bbe-pd-related h2 {
  margin: 0 0 16px;
  font-size: 20px;
}
@media (max-width: 860px) {
  .bbe-pd { padding: 12px 14px 48px; }
  .bbe-pd-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bbe-pd-media {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }
  .bbe-pd-info {
    padding: 18px 16px 22px;
  }
  .bbe-pd-desc { font-size: 15px; }
  .bbe-pd-cta, .bbe-pd-back {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .bbe-cat-desc { font-size: 12px; }
  .bbe-cat-body { padding: 10px; }
}
