/* BotanicaMed — Editorial Clinical Botanical Navigation & Shell (v20261031-editorial) */
:root {
  --bh-bg: #FAF9F6;            /* Ciepły alabaster / ivory */
  --bh-bg-surface: #FFFFFF;
  --bh-warm: #F4F1EA;          /* Ciepły odcień apteczny */
  --bh-forest: #1A3322;        /* Głęboka czerń leśna / grafit */
  --bh-sage: #2D6A4F;          /* Szałwia medyczna */
  --bh-sage-muted: #8FA89B;    /* Delikatna, stonowana szałwia */
  --bh-gold: #B8975E;          /* Apteczne złoto */
  --bh-gold-muted: #A38A5E;    /* Muted ochre / bronze */
  --bh-ink: #1E293B;           /* Ciemny grafitowy tusz */
  --bh-muted: #64748B;         /* Stonowany łupek */
  --bh-line: #E8E5DF;          /* Subtelne obramowanie */
  --bh-header-height: 100px;   /* Łączna wysokość na desktopie (58px + 42px) */
}

@media (max-width: 1023px) {
  :root {
    --bh-header-height: 64px;  /* Na telefonie i tablecie czysty 64px */
  }
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: auto !important;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: var(--bh-bg);
  color: var(--bh-ink);
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible !important;
  position: relative;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.bh-scroll-locked {
  overflow: hidden !important;
  touch-action: none !important;
}

/* Elegancki apteczny pasek przewijania */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #FAF9F6;
}
::-webkit-scrollbar-thumb {
  background: #DCD8CE;
  border-radius: 5px;
  border: 2px solid #FAF9F6;
}
::-webkit-scrollbar-thumb:hover {
  background: #2D6A4F;
}

/* Offset głównej zawartości pod fixed header */
main,
.bh-main {
  padding-top: var(--bh-header-height) !important;
}

/* ========================================================
   HEADER — DELIKATNY OFF-WHITE/BEIGE (#FAF9F6), ZERO CIEMNEGO TŁA
   ======================================================== */
.bh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 100;
  background: #FAF9F6 !important;
  border-bottom: 1px solid #EAE6DF !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease;
  overflow: hidden;
}

.bh-header__container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

@media (min-width: 768px) {
  .bh-header__container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1280px) {
  .bh-header__container {
    padding: 0 2rem;
  }
}

/* Tier 1: Pasek Główny */
.bh-header__top-bar {
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #EAE6DF;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .bh-header__top-bar {
    height: 58px;
  }
}

.bh-header__top-bar .bh-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .bh-header__top-bar .bh-header__container {
    gap: 0.85rem;
  }
}

/* Logo bez tła */
.bh-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex-shrink: 0;
  min-width: 0;
}

.bh-logo__img {
  height: 2.15rem;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .bh-logo__img {
    height: 2.4rem;
  }
}

@media (min-width: 1024px) {
  .bh-logo__img {
    height: 2.6rem;
  }
}

.bh-logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bh-logo__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  letter-spacing: 0.04em;
  color: var(--bh-forest) !important;
  line-height: 1.1;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .bh-logo__name {
    font-size: 1.35rem;
  }
}

.bh-logo__tag {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bh-gold-muted) !important;
  margin-top: 0.1rem;
}

/* Centralna Wyszukiwarka Kliniczna (Desktop) */
.bh-search-bar {
  display: none;
  align-items: center;
  position: relative;
  flex: 1 1 auto;
  max-width: 380px;
  margin: 0 1rem;
}

@media (min-width: 1024px) {
  .bh-search-bar {
    display: flex;
  }
}

.bh-search-icon {
  position: absolute;
  left: 0.85rem;
  color: #7A7873;
  font-size: 1.15rem;
  pointer-events: none;
}

.bh-search-input {
  width: 100%;
  height: 2.25rem;
  background: #F4F1EA;
  border: 1px solid #DCD8CE;
  border-radius: 9999px;
  padding: 0 4.5rem 0 2.4rem;
  color: var(--bh-forest);
  font-size: 0.775rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.bh-search-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--bh-sage);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.bh-search-input::placeholder {
  color: #7A7873;
}

.bh-search-submit {
  position: absolute;
  right: 3px;
  height: 1.85rem;
  padding: 0 0.85rem;
  background: var(--bh-forest);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bh-search-submit:hover {
  background: var(--bh-sage);
}

/* Prawy klaster akcji */
.bh-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .bh-header__actions {
    gap: 0.75rem;
  }
}

.bh-support-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(26, 51, 34, 0.04);
  border: 1px solid #E2DDD5;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
}

.bh-support-pill:hover {
  background: #EAE6DF;
}

/* Przełącznik języka */
.bh-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2.15rem;
  padding: 0 0.65rem;
  border: 1px solid #E2DDD5;
  border-radius: 6px;
  background: rgba(26, 51, 34, 0.04);
}

.bh-lang__btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font: 600 0.72rem/1 'Inter', sans-serif;
  letter-spacing: 0.08em;
  color: #64748B;
  transition: color 0.15s ease;
}

.bh-lang__btn:hover,
.bh-lang__btn.is-active {
  color: var(--bh-forest);
  font-weight: 800;
}

.bh-lang__sep {
  color: #CBD5E1;
  font-size: 0.7rem;
}

/* Przyciski funkcyjne (Konto, Koszyk) */
.bh-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  color: var(--bh-forest);
  text-decoration: none;
  position: relative;
  border: 1px solid #E2DDD5;
  background: rgba(26, 51, 34, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bh-icon-btn:hover {
  border-color: var(--bh-sage);
  background: #EAE6DF;
}

.bh-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  background: var(--bh-sage);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FAF9F6;
}

/* Burger na telefonie */
.bh-burger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(26, 51, 34, 0.04);
  border: 1px solid #E2DDD5;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .bh-burger-btn {
    display: none !important;
  }
}

.bh-burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bh-forest);
  border-radius: 1px;
  transition: all 0.25s ease-in-out;
}

.bh-burger-btn.is-active .bh-burger-line-1 {
  transform: translateY(6px) rotate(45deg);
}

.bh-burger-btn.is-active .bh-burger-line-2 {
  opacity: 0;
}

.bh-burger-btn.is-active .bh-burger-line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* ========================================================
   TIER 2: PASEK KATEGORII (CIEPŁY ODCIEN #F5F2EB)
   ======================================================== */
.bh-header__nav-bar {
  height: 42px;
  background: #F5F2EB;
  border-bottom: 1px solid #E5E1D8;
  display: none;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bh-header__nav-bar::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .bh-header__nav-bar {
    display: flex;
    align-items: center;
  }
}

.bh-header__nav-bar .bh-header__container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0 0.5rem;
}

@media (min-width: 1366px) {
  .bh-header__nav-bar .bh-header__container {
    justify-content: center;
  }
}

.bh-nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.35rem, 0.75vw, 1.25rem);
  width: max-content;
  min-width: 100%;
  padding: 0 0.25rem;
}

@media (min-width: 1366px) {
  .bh-nav-links {
    justify-content: center;
    width: 100%;
  }
}

.bh-nav-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.785rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: #2C3E32 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.2rem 0.45rem !important;
  border-radius: 4px;
  transition: all 0.15s ease !important;
  flex-shrink: 0;
}

.bh-nav-link:hover {
  color: var(--bh-forest) !important;
  background: rgba(26, 51, 34, 0.06) !important;
}

.bh-nav-link[aria-current="page"],
.bh-nav-link.is-active {
  color: var(--bh-forest) !important;
  font-weight: 600 !important;
  background: rgba(45, 106, 79, 0.1) !important;
  box-shadow: inset 0 -2px 0 var(--bh-sage);
}

.bh-nav-link--catalog {
  color: var(--bh-forest) !important;
  background: rgba(45, 106, 79, 0.08) !important;
  border: 1px solid rgba(45, 106, 79, 0.25) !important;
  font-weight: 600 !important;
}

/* Spójny, jednolity kolor dla wszystkich ikon w menu (Desktop) */
.bh-nav-link .material-symbols-outlined {
  color: var(--bh-sage) !important; /* #2D6A4F - BotanicaMed Signature Clinical Green */
  font-size: 16px !important;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.bh-nav-link:hover .material-symbols-outlined {
  color: var(--bh-forest) !important; /* #1A3322 */
  transform: translateY(-0.5px);
}

.bh-nav-link.is-active .material-symbols-outlined,
.bh-nav-link[aria-current="page"] .material-symbols-outlined {
  color: var(--bh-forest) !important;
}

/* ========================================================
   SZUFLADA MOBILNA (MOBILE DRAWER)
   ======================================================== */
.bh-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 51, 34, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 105;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bh-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.bh-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88vw;
  max-width: 360px;
  background: #FAF9F6;
  z-index: 110;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  overflow: hidden;
}

.bh-mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.bh-mobile-drawer__header {
  height: 64px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #EAE6DF;
  background: #FFFFFF;
  flex-shrink: 0;
}

.bh-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  background: #F4F1EA;
  border: 1px solid #E2DDD5;
  color: var(--bh-forest);
  cursor: pointer;
}

.bh-drawer-close:hover {
  background: #EAE6DF;
}

.bh-mobile-drawer__body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.bh-drawer-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bh-drawer-group__title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-muted);
  padding-left: 0.25rem;
}

.bh-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bh-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #EAE6DF;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bh-drawer-link:hover,
.bh-drawer-link:active {
  background: #F5F2EB;
  border-color: var(--bh-sage-muted);
}

.bh-drawer-link__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  color: var(--bh-sage) !important; /* #2D6A4F - Signature Clinical Green */
  transition: color 0.15s ease, transform 0.15s ease;
}

.bh-drawer-link:hover .bh-drawer-link__icon {
  color: var(--bh-forest) !important;
  transform: scale(1.05);
}

.bh-drawer-link__content {
  display: flex;
  flex-direction: column;
}

.bh-drawer-link__content strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bh-forest);
  line-height: 1.2;
}

.bh-drawer-link__content small {
  font-size: 0.7rem;
  color: var(--bh-muted);
  margin-top: 0.15rem;
}

.bh-drawer-link--all {
  background: #F8F6F0;
  border-style: dashed;
}

.bh-mobile-drawer__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #EAE6DF;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.bh-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.bh-drawer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bh-drawer-btn--account {
  background: #FAF9F6;
  border: 1px solid #EAE6DF;
  color: var(--bh-forest);
}

.bh-drawer-btn--cart {
  background: var(--bh-forest);
  border: 1px solid var(--bh-forest);
  color: #FFFFFF;
}

.bh-drawer-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.bh-drawer-lang-row .bh-lang {
  height: 1.85rem;
  background: #FAF9F6;
  border-color: #E2DDD5;
}

.bh-drawer-lang-row .bh-lang__btn {
  color: var(--bh-muted);
  font-size: 0.7rem;
}

.bh-drawer-lang-row .bh-lang__btn.is-active {
  color: var(--bh-forest);
  font-weight: 700;
}

.bh-drawer-contact {
  text-align: center;
  font-size: 0.7rem;
  color: var(--bh-muted);
}

/* ========================================================
   STOPKA (FOOTER)
   ======================================================== */
.bh-footer {
  width: 100%;
  background: #FAF9F6;
  border-top: 1px solid #EAE6DF;
  padding: 4.5rem 0 2.5rem;
}

.bh-footer__inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3.5rem);
}

.bh-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .bh-footer__grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (min-width: 1024px) {
  .bh-footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.bh-footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bh-footer__logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: transparent !important;
}

.bh-footer__signet-img {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
  background: transparent !important;
}

.bh-footer__brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bh-forest);
  display: block;
  line-height: 1.1;
}

.bh-footer__brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bh-gold-muted);
  display: block;
}

.bh-footer__brand-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--bh-muted);
  margin: 0;
  max-width: 28rem;
}

.bh-footer__cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--bh-forest);
  background: #FFFFFF;
  border: 1px solid #EAE6DF;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  width: fit-content;
}

.bh-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-forest);
  margin: 0 0 1rem;
}

.bh-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bh-footer__links a {
  font-size: 0.85rem;
  color: var(--bh-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.bh-footer__links a:hover {
  color: var(--bh-forest);
}

.bh-footer__legal {
  font-size: 0.72rem;
  line-height: 1.6;
  color: #94A3B8;
  border-top: 1px solid #EAE6DF;
  padding-top: 2rem;
  margin: 0 0 2rem;
}

.bh-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--bh-muted);
  border-top: 1px solid #EAE6DF;
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .bh-footer__bottom {
    flex-direction: row;
  }
}

.bh-footer__copy {
  margin: 0;
}

.bh-footer__legal-links {
  display: flex;
  gap: 1.5rem;
}

.bh-footer__legal-links a {
  color: var(--bh-muted);
  text-decoration: none;
}

.bh-footer__legal-links a:hover {
  color: var(--bh-forest);
}

/* ========================================================
   THEME SWITCHER W STOPCE
   ======================================================== */
.bh-theme-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 51, 34, 0.03);
  border: 1px solid #E2DDD5;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  transition: all 0.25s ease;
}

@media (min-width: 768px) {
  .bh-theme-bar {
    flex-direction: row;
  }
}

.bh-theme-bar__intro {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bh-forest);
}

.bh-theme-bar__desc {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--bh-muted);
  margin-left: 0.25rem;
}

.bh-theme-toggle-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bh-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--bh-forest);
  background: #FFFFFF;
  border: 1px solid #DCD8CE;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bh-theme-btn:hover {
  border-color: var(--bh-sage);
  background: #FAF7F2;
}

.bh-theme-btn.is-active {
  border-color: var(--bh-forest);
  background: var(--bh-forest);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bh-swatch {
  display: inline-flex;
  width: 26px;
  height: 15px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.bh-swatch span {
  flex: 1;
  height: 100%;
}

/* ========================================================
   WARIANT 2: PALETA FORMIARA
   Źródło: Karta kolorów marki FORMIARA
   - #4B2A4F: ŚLIWKA (35% — Główny kolor marki)
   - #6D3B69: FIOLETOWE WINO (20% — Kolor uzupełniający)
   - #0E3F46: PETROL (20% — Drugi kolor główny)
   - #2B6B70: ZIELEŃ MORSKA (15% — Kolor uzupełniający)
   - #E8E1D9: JASNE TŁO (10% — Neutralne tło i przestrzeń)
   ======================================================== */
[data-theme="formiara"],
body.theme-formiara {
  --bh-bg: #E8E1D9;
  --bh-bg-surface: #FAF7F2;
  --bh-warm: #DFD7CC;
  --bh-forest: #4B2A4F;
  --bh-sage: #0E3F46;
  --bh-sage-muted: #2B6B70;
  --bh-gold: #6D3B69;
  --bh-gold-muted: #6D3B69;
  --bh-ink: #261528;
  --bh-muted: #594757;
  --bh-line: #D3C9BD;
}

[data-theme="formiara"] body,
body.theme-formiara {
  background-color: #E8E1D9 !important;
  color: #261528 !important;
}

/* Header & Nawigacja w palecie Formiara */
[data-theme="formiara"] .bh-header--delicate .bh-header__top-bar {
  background: #E8E1D9 !important;
  border-bottom: 1px solid #D3C9BD !important;
}

[data-theme="formiara"] .bh-header__nav-bar {
  background: #DFD7CC !important;
  border-bottom: 1px solid #D3C9BD !important;
}

[data-theme="formiara"] .bh-nav-link {
  color: #261528 !important;
}

[data-theme="formiara"] .bh-nav-link:hover {
  color: #4B2A4F !important;
  background: rgba(75, 42, 79, 0.08) !important;
}

[data-theme="formiara"] .bh-nav-link[aria-current="page"],
[data-theme="formiara"] .bh-nav-link.is-active {
  color: #4B2A4F !important;
  background: rgba(109, 59, 105, 0.12) !important;
  box-shadow: inset 0 -2px 0 #6D3B69 !important;
}

[data-theme="formiara"] .bh-nav-link--catalog {
  color: #4B2A4F !important;
  background: rgba(75, 42, 79, 0.08) !important;
  border-color: rgba(75, 42, 79, 0.25) !important;
}

/* Ikony nawigacyjne: Petrol #0E3F46 z palety */
[data-theme="formiara"] .bh-nav-link .material-symbols-outlined,
[data-theme="formiara"] .bh-drawer-link__icon {
  color: #0E3F46 !important;
}

[data-theme="formiara"] .bh-nav-link:hover .material-symbols-outlined,
[data-theme="formiara"] .bh-drawer-link:hover .bh-drawer-link__icon {
  color: #4B2A4F !important;
}

/* Wyszukiwarka Formiara */
[data-theme="formiara"] .bh-search-input {
  background: #FAF7F2 !important;
  border-color: #D3C9BD !important;
  color: #261528 !important;
}

[data-theme="formiara"] .bh-search-input:focus {
  border-color: #0E3F46 !important;
  box-shadow: 0 0 0 3px rgba(14, 63, 70, 0.15) !important;
}

[data-theme="formiara"] .bh-search-submit {
  background: #4B2A4F !important;
}

[data-theme="formiara"] .bh-search-submit:hover {
  background: #6D3B69 !important;
}

/* Przyciski i akcje */
[data-theme="formiara"] .bh-cart-count {
  background: #6D3B69 !important;
  border-color: #E8E1D9 !important;
}

[data-theme="formiara"] .bh-icon-btn {
  color: #4B2A4F !important;
  background: rgba(75, 42, 79, 0.05) !important;
  border-color: #D3C9BD !important;
}

[data-theme="formiara"] .bh-icon-btn:hover {
  border-color: #6D3B69 !important;
  background: #DFD7CC !important;
}

[data-theme="formiara"] .bh-burger-btn {
  background: rgba(75, 42, 79, 0.05) !important;
  border-color: #D3C9BD !important;
}

[data-theme="formiara"] .bh-burger-line {
  background: #4B2A4F !important;
}

[data-theme="formiara"] .bh-support-pill {
  background: rgba(75, 42, 79, 0.05) !important;
  border-color: #D3C9BD !important;
}

[data-theme="formiara"] .bh-support-pill span:last-child {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-lang {
  border-color: #D3C9BD !important;
  background: rgba(75, 42, 79, 0.04) !important;
}

[data-theme="formiara"] .bh-lang__btn.is-active {
  color: #4B2A4F !important;
}

/* Logo */
[data-theme="formiara"] .bh-logo__name {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-logo__name span {
  color: #0E3F46 !important;
}

[data-theme="formiara"] .bh-logo__tag {
  color: #6D3B69 !important;
}

/* Szuflada Mobilna w motywie Formiara */
[data-theme="formiara"] .bh-mobile-drawer {
  background: #E8E1D9 !important;
}

[data-theme="formiara"] .bh-mobile-drawer__header {
  background: #DFD7CC !important;
  border-bottom-color: #D3C9BD !important;
}

[data-theme="formiara"] .bh-drawer-link {
  background: #FAF7F2 !important;
  border-color: #D3C9BD !important;
}

[data-theme="formiara"] .bh-drawer-link:hover,
[data-theme="formiara"] .bh-drawer-link:active {
  background: #DFD7CC !important;
  border-color: #6D3B69 !important;
}

[data-theme="formiara"] .bh-drawer-link__content strong {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-drawer-link__content small {
  color: #594757 !important;
}

[data-theme="formiara"] .bh-mobile-drawer__footer {
  background: #DFD7CC !important;
  border-top-color: #D3C9BD !important;
}

/* Stopka w motywie Formiara */
[data-theme="formiara"] .bh-footer {
  background: #E8E1D9 !important;
  border-top: 1px solid #D3C9BD !important;
}

[data-theme="formiara"] .bh-footer__brand-name {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-footer__brand-name span {
  color: #0E3F46 !important;
}

[data-theme="formiara"] .bh-footer__brand-sub {
  color: #6D3B69 !important;
}

[data-theme="formiara"] .bh-footer__heading {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-footer__links a {
  color: #594757 !important;
}

[data-theme="formiara"] .bh-footer__links a:hover {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-footer__cert-badge {
  background: #FAF7F2 !important;
  border-color: #D3C9BD !important;
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-footer__cert-badge .material-symbols-outlined {
  color: #0E3F46 !important;
}

[data-theme="formiara"] .bh-footer__legal,
[data-theme="formiara"] .bh-footer__bottom {
  border-top-color: #D3C9BD !important;
  color: #594757 !important;
}

/* Theme Switcher Bar */
[data-theme="formiara"] .bh-theme-bar {
  background: rgba(75, 42, 79, 0.05) !important;
  border-color: #D3C9BD !important;
}

[data-theme="formiara"] .bh-theme-bar__intro {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-theme-btn {
  background: #FAF7F2 !important;
  border-color: #D3C9BD !important;
  color: #4B2A4F !important;
}

[data-theme="formiara"] .bh-theme-btn.is-active {
  background: #4B2A4F !important;
  border-color: #4B2A4F !important;
  color: #FFFFFF !important;
}

/* Dynamiczne mapowanie klas utility Tailwind na motyw Formiara */
[data-theme="formiara"] .bg-\[\#FAF9F6\] {
  background-color: #E8E1D9 !important;
}

[data-theme="formiara"] .bg-\[\#F5F2EB\],
[data-theme="formiara"] .bg-\[\#F4F1EA\] {
  background-color: #DFD7CC !important;
}

[data-theme="formiara"] .text-\[\#1A3322\] {
  color: #4B2A4F !important;
}

[data-theme="formiara"] .text-\[\#2D6A4F\] {
  color: #0E3F46 !important;
}

[data-theme="formiara"] .bg-\[\#1A3322\] {
  background-color: #4B2A4F !important;
}

[data-theme="formiara"] .hover\:bg-\[\#2D6A4F\]:hover,
[data-theme="formiara"] .hover\:bg-\[\#1A3322\]:hover {
  background-color: #0E3F46 !important;
}

[data-theme="formiara"] .bg-\[\#2D6A4F\] {
  background-color: #0E3F46 !important;
}

[data-theme="formiara"] .text-\[\#A38A5E\] {
  color: #6D3B69 !important;
}

[data-theme="formiara"] .border-\[\#EAE6DF\],
[data-theme="formiara"] .border-\[\#E8E5DF\],
[data-theme="formiara"] .border-\[\#DCD8CE\],
[data-theme="formiara"] .border-\[\#E5E1D8\] {
  border-color: #D3C9BD !important;
}

[data-theme="formiara"] .bg-\[\#F0F5F2\],
[data-theme="formiara"] .bg-\[\#F1F5F3\] {
  background-color: rgba(14, 63, 70, 0.08) !important;
}

[data-theme="formiara"] .border-\[\#2D6A4F\]\/25,
[data-theme="formiara"] .border-\[\#D5E2D9\] {
  border-color: rgba(14, 63, 70, 0.25) !important;
}

/* Formiara: Przyciski filtrowania i aktywne taby w katalogu i na stronie głównej */
[data-theme="formiara"] .filter-btn,
[data-theme="formiara"] .bh-filter-btn {
  background-color: #FAF7F2 !important;
  border-color: #D3C9BD !important;
  color: #261528 !important;
}

[data-theme="formiara"] .filter-btn:hover,
[data-theme="formiara"] .bh-filter-btn:hover {
  border-color: #4B2A4F !important;
  color: #4B2A4F !important;
}

[data-theme="formiara"] .filter-btn.active,
[data-theme="formiara"] .bh-filter-btn.active {
  background-color: #4B2A4F !important;
  border-color: #4B2A4F !important;
  color: #FFFFFF !important;
}

[data-theme="formiara"] .bh-filter-btn .material-symbols-outlined {
  color: #0E3F46 !important;
}

[data-theme="formiara"] .bh-filter-btn.active .material-symbols-outlined {
  color: #FFFFFF !important;
}

/* Formiara: Karty produktów */
[data-theme="formiara"] .product-item {
  background-color: #FAF7F2 !important;
  border-color: #D3C9BD !important;
}

[data-theme="formiara"] .product-item:hover {
  border-color: #6D3B69 !important;
  box-shadow: 0 10px 25px -5px rgba(75, 42, 79, 0.1) !important;
}


