/* Critical first-viewport rules for the home hero and product tabs.
   Keep this file small: full styling still lives in the normal home CSS files. */

.bvt-home-shell {
  --bvt-field-h: 48px;
  --bvt-field-icon: 34px;
}

.bvt-home-shell .bvt-home-hero {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}

.bvt-home-shell .bvt-home-hero__actions {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.bvt-home-shell .bvt-home-hero__copy {
  position: absolute;
  left: 24px;
  bottom: 74px;
  z-index: 2;
}

.bvt-home-shell .bvTabs-wrapper {
  position: relative;
  z-index: 3;
  margin: -58px 8px 0 !important;
}

.bvt-home-shell #bvTabs {
  min-height: 122px;
  padding: 10px 7px 8px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 12px 28px rgba(15, 55, 60, .15) !important;
}

.bvt-home-shell #bvTabs::before,
.bvt-home-shell #bvTabs::after,
.bvt-home-shell #bvTabs .bv-tabs-bg,
.bvt-home-shell .bvTabs-wrapper > .bvTabs-bg,
.bvt-home-shell #bvTabsUnderline,
.bvt-home-shell .bvTabs-tail {
  display: none !important;
}

.bvt-home-shell #bvTabs .swiper {
  display: block;
  width: 100%;
  overflow: hidden !important;
  padding: 0 4px !important;
}

.bvt-home-shell #bvTabsSwiper .swiper-wrapper {
  display: flex !important;
  width: 100% !important;
  align-items: stretch;
  justify-content: space-between !important;
  gap: 0 !important;
}

.bvt-home-shell #bvTabsSwiper .swiper-slide {
  flex: 0 0 20% !important;
  width: 20% !important;
  min-width: 0 !important;
}

.bvt-home-shell #bvTabs .bv-tab {
  position: relative;
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 96px !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  padding: 7px 1px 5px !important;
  border: 0 !important;
  border-radius: 20px !important;
  color: #062c38;
  background: transparent !important;
  box-shadow: none !important;
}

.bvt-home-shell #bvTabs .bv-tab .bv-ico {
  display: inline-flex;
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px !important;
  border-radius: 17px !important;
  color: #005a68 !important;
  background: #eef8f8 !important;
}

.bvt-home-shell #bvTabs .bv-tab-icon {
  width: 32px !important;
  height: 32px !important;
}

.bvt-home-shell #bvTabs .bv-tab .bv-icon-line,
.bvt-home-shell #bvTabs .bv-tab .bv-icon-detail {
  stroke: #005a68 !important;
  stroke-width: 1.55 !important;
}

.bvt-home-shell #bvTabs .bv-tab .bv-lbl {
  display: block;
  max-width: 62px !important;
  margin-inline: auto !important;
  color: #062c38 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .59rem !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  text-align: center;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.bvt-home-shell #bvTabs .bv-tab.active {
  color: #fff !important;
  background: linear-gradient(155deg, #078d91, #00666d) !important;
  box-shadow: 0 9px 18px rgba(0, 101, 108, .28) !important;
}

.bvt-home-shell #bvTabs .bv-tab.active::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  display: block !important;
  height: 3px;
  border-radius: 99px;
  background: #ff5c4d;
  content: "";
}

.bvt-home-shell #bvTabs .bv-tab.active .bv-ico {
  color: #fff !important;
  background: transparent !important;
}

.bvt-home-shell #bvTabs .bv-tab.active .bv-icon-line,
.bvt-home-shell #bvTabs .bv-tab.active .bv-icon-detail {
  stroke: #fff !important;
}

.bvt-home-shell #bvTabs .bv-tab.active .bv-lbl {
  color: #fff !important;
}

@media (min-width: 768px) {
  .bvt-home-shell #bvTabs {
    overflow: visible !important;
  }

  .bvt-home-shell #bvTabs .swiper {
    overflow: visible !important;
  }
}
