/* ============================================================
   BestPrice — header dupa macheta Figma (nod 1:3942)
   Culori: albastru #0046BE, galben accent #EAB308 / #FDE047
   Font: Inter
   Scris peste componentele native Ecolife, fara sa le inlocuiasca.
   ============================================================ */

:root {
  --bp-blue: #0046BE;
  --bp-blue-dark: #003392;
  --bp-yellow: #EAB308;
  --bp-yellow-soft: #FDE047;
  --bp-ink: #374151;
  --bp-muted: #6B7280;
  --bp-nav-bg: #F3F4F6;
  --bp-border: #E5E5E5;
}

/* ---------- tipografie ---------- */
.elementor-17170101,
.elementor-17170101 input,
.elementor-17170101 button,
.elementor-17170101 a {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- bara albastra de sus ---------- */
.elementor-17170101 > .elementor-section-wrap > .elementor-section:first-child {
  background-color: var(--bp-blue) !important;
}

.elementor-17170101 .box-contact,
.elementor-17170101 .box-contact a,
.elementor-17170101 .number-contact,
.elementor-17170101 .pos-account .account-login {
  color: #fff !important;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.elementor-17170101 .box-contact svg,
.elementor-17170101 .pos-account svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* mesajele promotionale din dreapta barii */
.elementor-17170101 .bp-topbar-promo {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

.elementor-17170101 .bp-topbar-promo strong {
  color: var(--bp-yellow-soft);
  font-weight: 600;
}

/* ---------- randul principal: logo, cautare, iconite ---------- */
.elementor-17170101 .site-logo img {
  max-width: 230px;
  height: auto;
}

/* casuta de cautare: bordura albastra 2px, buton patrat lipit */
.elementor-17170101 .pos-search.search-classic .pos-search__container {
  display: flex;
  max-width: 672px;
  margin: 0 auto;
}

.elementor-17170101 .pos-search.search-classic .search-input-container {
  flex: 1 0 0;
  min-width: 0;
}

.elementor-17170101 .pos-search.search-classic .pos-search__input {
  height: 44px;
  width: 100%;
  border: 2px solid var(--bp-blue);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  background: #fff;
}

.elementor-17170101 .pos-search.search-classic .pos-search__input::placeholder {
  color: #737373;
}

.elementor-17170101 .pos-search.search-classic .pos-search__submit {
  height: 44px;
  min-width: 64px;
  padding: 8px 24px;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--bp-blue);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  transition: background .15s ease;
}

.elementor-17170101 .pos-search.search-classic .pos-search__submit:hover {
  background: var(--bp-blue-dark);
}

.elementor-17170101 .pos-search.search-classic .pos-search__submit svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* iconitele din dreapta: comparare, favorite, cos */
.elementor-17170101 .compare-top > a,
.elementor-17170101 .wishlist-top > a,
.elementor-17170101 .blockcart > a,
.elementor-17170101 .blockcart .header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 9999px;
  color: var(--bp-ink);
  transition: background .15s ease, color .15s ease;
}

.elementor-17170101 .compare-top > a:hover,
.elementor-17170101 .wishlist-top > a:hover,
.elementor-17170101 .blockcart > a:hover {
  background: #F3F4F6;
  color: var(--bp-blue);
}

.elementor-17170101 .compare-top svg,
.elementor-17170101 .wishlist-top svg,
.elementor-17170101 .blockcart svg {
  width: 24px;
  height: 24px;
}

/* pastilele cu numarul de produse */
.elementor-17170101 .cart-products-count,
.elementor-17170101 .wishlist-top .count,
.elementor-17170101 .compare-top .count {
  background: var(--bp-yellow);
  color: #0E1A3C;
  font-weight: 600;
  font-size: 11px;
}

/* ---------- bara de navigare cu categorii ---------- */
.elementor-17170101 .main-menu {
  background: var(--bp-nav-bg);
  border-top: 1px solid var(--bp-border);
}

.elementor-17170101 .main-menu .pos-menu-horizontal > .menu-content {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 1504px;
  margin: 0 auto;
  padding: 8px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.elementor-17170101 .main-menu .pos-menu-horizontal > .menu-content::-webkit-scrollbar {
  display: none;
}

.elementor-17170101 .main-menu .menu-item > a {
  display: block;
  padding: 2.5px 16px 1.5px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--bp-ink);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.elementor-17170101 .main-menu .menu-item > a:hover,
.elementor-17170101 .main-menu .menu-item.active > a {
  color: var(--bp-blue);
  border-bottom-color: var(--bp-blue);
}

/* ---------- umbra sub header, ca in macheta ---------- */
.elementor-17170101 {
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .elementor-17170101 .bp-topbar-promo {
    display: none;
  }
  .elementor-17170101 .pos-search.search-classic .pos-search__container {
    max-width: 100%;
  }
}

/* ============================================================
   Sectiunea "Categorii de Produse" — Figma nod 1:1987
   ============================================================ */
.bp-cats {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bp-cats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bp-cats__title {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  color: #111827;
  text-transform: none;
}

.bp-cats__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--bp-blue);
  text-decoration: none;
  white-space: nowrap;
}

.bp-cats__all:hover { color: var(--bp-blue-dark); }
.bp-cats__all svg { flex: 0 0 16px; }

.bp-cats__grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.bp-cat-card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 17px;
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.bp-cat-card:hover {
  border-color: var(--bp-blue);
  box-shadow: 0 4px 12px rgba(0, 70, 190, .10);
  transform: translateY(-2px);
}

.bp-cat-ico {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bp-cat-ico i {
  font-size: 28px;
  line-height: 1;
  color: var(--bp-blue);
}

.bp-cat-name {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #1F2937;
  text-align: center;
}

@media (max-width: 1199px) {
  .bp-cats__grid { flex-wrap: wrap; }
  .bp-cat-card { flex: 1 1 calc(25% - 12px); }
}

@media (max-width: 767px) {
  .bp-cats__title { font-size: 22px; line-height: 28px; }
  .bp-cat-card { flex: 1 1 calc(50% - 8px); }
  .bp-cat-ico { width: 52px; height: 52px; }
  .bp-cat-ico i { font-size: 22px; }
}

/* ============================================================
   Hero — Figma nod 1:2062
   ============================================================ */
.bp-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 80px 204px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.bp-hero__inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
}

.bp-hero__text { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.bp-hero__badge {
  display: inline-block;
  background: var(--bp-yellow);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  padding: 4px 16px;
  border-radius: 9999px;
}

.bp-hero__title {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 60px;
  line-height: 60px;
  color: #fff;
  text-transform: none;
}

.bp-hero__sub { margin: 0; font-size: 30px; line-height: 36px; color: #BFDBFE; }
.bp-hero__desc { margin: 0 0 16px; font-size: 18px; line-height: 28px; color: #D1D5DB; }

.bp-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 8px;
  background: var(--bp-yellow);
  color: #000;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
  transition: background .15s ease;
}

.bp-hero__cta:hover { background: #CA9A04; color: #000; }

.bp-hero__media { flex: 1 0 0; min-width: 0; }

.bp-hero__media img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}

.bp-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.bp-hero__dots span { width: 12px; height: 12px; border-radius: 9999px; background: rgba(255,255,255,.5); }
.bp-hero__dots span.is-active { width: 32px; background: var(--bp-yellow); }

@media (max-width: 1199px) { .bp-hero { padding: 56px 40px; } .bp-hero__title { font-size: 40px; line-height: 44px; } }

@media (max-width: 767px) {
  .bp-hero { padding: 40px 20px; min-height: 0; }
  .bp-hero__inner { flex-direction: column; gap: 24px; }
  .bp-hero__title { font-size: 30px; line-height: 36px; }
  .bp-hero__sub { font-size: 20px; line-height: 28px; }
  .bp-hero__media img { height: 220px; }
}

/* Sectiunile construite dupa Figma ocupa toata latimea:
   containerul implicit Elementor le-ar strange la 1140px. */
.elementor-element:has(> .elementor-widget-container > .bp-hero),
.elementor-element:has(> .elementor-widget-container > .bp-cats) { width: 100%; }

.elementor-section:has(.bp-hero) > .elementor-container,
.elementor-section:has(.bp-cats) > .elementor-container {
  max-width: 100% !important;
  width: 100%;
}

.elementor-section:has(.bp-hero) .elementor-column-wrap,
.elementor-section:has(.bp-cats) .elementor-column-wrap { padding: 0 !important; }

.elementor-section:has(.bp-hero) .elementor-widget-container,
.elementor-section:has(.bp-cats) .elementor-widget-container { margin: 0 !important; }
