/* v1.9.0 – нова продуктова карта + по-широка мрежа (4 колони) при избрана подкатегория.
   Зарежда се последна и е с висока специфичност, за да не се пипат старите правила. */

/* ---------- Мрежа ---------- */
/* Колоните се нагласят според мястото: на цялата ширина – 4, в тясна колона – 3. */
html body .hf-products-v1 .hf-products-content .hf-product-grid.hf-product-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr)) !important;
  gap:16px !important;
  align-items:stretch !important;
}
@media (max-width:1100px){
  html body .hf-products-v1 .hf-products-content .hf-product-grid.hf-product-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr)) !important;gap:14px !important}
}
@media (max-width:767px){
  html body .hf-products-v1 .hf-products-content .hf-product-grid.hf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
}

/* ---------- Карта ---------- */
html body .hf-products-v1 .hf-product-card-v1.hf-card-v2{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  min-width:0 !important;
  min-height:0 !important;
  width:auto !important;
  max-width:none !important;
  padding:0 !important;
  background:#fff !important;
  border:1px solid #e3eaf1 !important;
  border-radius:12px !important;
  overflow:hidden !important;
  text-align:left !important;
  transition:box-shadow .2s ease, border-color .2s ease, transform .2s ease !important;
}
html body .hf-products-v1 .hf-product-card-v1.hf-card-v2:hover{
  border-color:#ffc9a3 !important;
  transform:translateY(-2px) !important;
}

/* Снимка */
html body .hf-products-v1 .hf-card-v2 .hf-c2-media{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1 / 1 !important;
  margin:0 !important;
  padding:14px !important;
  background:#fff !important;
  border-bottom:1px solid #eef2f6 !important;
  box-sizing:border-box !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-media img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  display:block !important;
  transition:transform .25s ease !important;
}
html body .hf-products-v1 .hf-card-v2:hover .hf-c2-media img{transform:scale(1.04) !important}

/* Етикет -% */
html body .hf-products-v1 .hf-card-v2 .hf-c2-badge{
  position:absolute !important;
  left:0 !important;
  bottom:0 !important;
  padding:5px 10px 5px 12px !important;
  background:#ff6b00 !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.1 !important;
  border-top-right-radius:10px !important;
  letter-spacing:.2px !important;
}

/* Тяло */
html body .hf-products-v1 .hf-card-v2 .hf-c2-body{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  padding:12px 14px 12px !important;
  min-width:0 !important;
}

/* Цени */
html body .hf-products-v1 .hf-card-v2 .hf-c2-prices{
  display:flex !important;
  align-items:baseline !important;
  justify-content:space-between !important;
  gap:8px !important;
  margin:0 0 10px !important;
  padding:0 0 10px !important;
  border-bottom:1px solid #eef2f6 !important;
  text-align:left !important;
  font-size:inherit !important;
  color:inherit !important;
  min-height:0 !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money{
  display:inline-flex !important;
  align-items:flex-start !important;
  white-space:nowrap !important;
  color:#061c33 !important;
  font-weight:800 !important;
  line-height:1 !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-int{font-size:25px !important;letter-spacing:-.3px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-cents{font-size:13px !important;line-height:1 !important;margin:2px 0 0 2px !important;top:0 !important;vertical-align:top !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-cur{font-size:15px !important;align-self:flex-end !important;margin-left:3px !important;font-weight:700 !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money.is-sale{color:#e8590c !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money.is-old{
  color:#64748b !important;
  font-weight:600 !important;
  text-decoration:line-through !important;
  text-decoration-thickness:1px !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money.is-old .hf-c2-int{font-size:15px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money.is-old .hf-c2-cents{font-size:10px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-money.is-old .hf-c2-cur{font-size:12px !important}

/* Име */
html body .hf-products-v1 .hf-card-v2 .hf-c2-name{
  margin:0 0 10px !important;
  min-height:calc(1.35em * 3) !important;
  font-size:14px !important;
  line-height:1.35 !important;
  font-weight:500 !important;
  color:#1e293b !important;
  text-align:left !important;
  overflow:hidden !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-name a{color:inherit !important;text-decoration:none !important}
html body .hf-products-v1 .hf-card-v2:hover .hf-c2-name a{color:#ff6b00 !important}

/* Наличност и доставка */
html body .hf-products-v1 .hf-card-v2 .hf-c2-meta{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  margin:0 0 10px !important;
  font-size:13px !important;
  line-height:1.3 !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-stock{display:inline-flex !important;align-items:center !important;gap:6px !important;font-weight:600 !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-stock svg{width:18px !important;height:18px !important;flex:0 0 18px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-stock.is-in{color:#15803d !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-stock.is-backorder{color:#b45309 !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-stock.is-out{color:#94a3b8 !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-delivery{color:#475569 !important;font-size:12.5px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-delivery b{font-weight:600 !important;color:#1e293b !important}

/* Марка */
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot{
  justify-content:space-between !important;
  gap:8px !important;
  margin-top:auto !important;
  padding-top:8px !important;
  min-height:34px !important;
  display:flex !important;
  align-items:center !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-brand{display:inline-flex !important;align-items:center !important;max-width:110px !important;height:40px !important;min-width:0 !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-brand img{max-height:40px !important;max-width:110px !important;width:auto !important;height:auto !important;object-fit:contain !important;display:block !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-brand span{
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.6px !important;
  text-transform:uppercase !important;
  color:#0b3a6b !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-internal-supplier{margin-top:6px !important;font-size:12px !important;line-height:1.4 !important;color:#64748b !important}

/* Телефон */
@media (max-width:767px){
  html body .hf-products-v1 .hf-card-v2 .hf-c2-media{padding:8px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-body{padding:9px 10px 10px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-prices{flex-wrap:wrap !important;gap:2px 6px !important;margin-bottom:8px !important;padding-bottom:8px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-int{font-size:20px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-cents{font-size:11px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-cur{font-size:13px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money.is-old .hf-c2-int{font-size:13px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-name{font-size:12.5px !important;margin-bottom:8px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-meta{font-size:11.5px !important;margin-bottom:6px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-delivery{font-size:11px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-stock svg{width:15px !important;height:15px !important;flex-basis:15px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-long{display:none !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-delivery{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-delivery::before{content:"Доставка ";color:#64748b}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-badge{font-size:11.5px !important;padding:4px 8px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-foot{min-height:26px !important;padding-top:4px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-brand,
  html body .hf-products-v1 .hf-card-v2 .hf-c2-brand img{max-height:22px !important;max-width:90px !important}
}

/* ---------- Подредба при избрана подкатегория (компютър) ----------
   Голямата карта „Смесители / Назад едно ниво“ вече не заема цяла колона:
   става тънка лента над продуктите, а мрежата се разпъва на цялата ширина. */
@media (min-width:1101px){
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus{
    display:flex !important;
    flex-direction:column !important;
    gap:16px !important;
  }
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > *{width:100% !important;max-width:100% !important;margin-left:0 !important;margin-right:0 !important}
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-subcat-chips{order:1 !important}
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-subcategory-stack{order:2 !important}
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-products-toolbar{order:3 !important;margin-top:0 !important}
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-product-grid{order:4 !important}
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-empty-products{order:4 !important}
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-products-h1{order:5 !important}
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-category-seo-content{order:6 !important}

  /* Тънка лента: малка снимка + име вляво, „Назад едно ниво“ вдясно */
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-subcategory-stack{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
    height:auto !important;
    min-height:0 !important;
    padding:10px 14px !important;
    position:static !important;
    top:auto !important;
  }
  html body .hf-products-v1 .hf-products-content.has-product-stage.has-subcategory-focus > .hf-subcategory-stack > .hf-subcategory-area{display:none !important}
  html body .hf-products-v1 .has-product-stage.has-subcategory-focus .hf-subcategory-focus-current{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:12px !important;
    width:auto !important;
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }
  html body .hf-products-v1 .has-product-stage.has-subcategory-focus .hf-subcategory-focus-current-image{
    width:52px !important;
    height:52px !important;
    min-height:0 !important;
    flex:0 0 52px !important;
    margin:0 !important;
    padding:0 !important;
    border-radius:10px !important;
    overflow:hidden !important;
  }
  html body .hf-products-v1 .has-product-stage.has-subcategory-focus .hf-subcategory-focus-current-image img{width:100% !important;height:100% !important;object-fit:cover !important}
  html body .hf-products-v1 .has-product-stage.has-subcategory-focus .hf-subcategory-focus-current strong{
    font-size:20px !important;
    line-height:1.2 !important;
    margin:0 !important;
    text-align:left !important;
  }
  html body .hf-products-v1 .has-product-stage.has-subcategory-focus .hf-subcategory-focus-back{
    width:auto !important;
    margin:0 !important;
    padding:9px 16px !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }
}

/* ---------- Бутон за количката ---------- */
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart{
  margin-left:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  height:36px !important;
  min-width:0 !important;
  padding:0 14px !important;
  border:0 !important;
  border-radius:9px !important;
  background:#ff6b00 !important;
  color:#fff !important;
  font:inherit !important;
  font-size:13.5px !important;
  font-weight:700 !important;
  line-height:1 !important;
  text-decoration:none !important;
  cursor:pointer !important;
  box-shadow:0 4px 12px rgba(255,107,0,.25) !important;
  transition:background .15s ease, transform .15s ease !important;
  white-space:nowrap !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart:hover{background:#e85f00 !important;transform:translateY(-1px) !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart svg{width:18px !important;height:18px !important;flex:0 0 18px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart.is-choose{background:#fff !important;color:#0b3a6b !important;border:1.5px solid #cdd9e5 !important;box-shadow:none !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart.is-choose:hover{border-color:#ff6b00 !important;color:#ff6b00 !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart.is-loading{opacity:.7 !important;pointer-events:none !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart.is-added{background:#15803d !important;box-shadow:none !important}
@media (max-width:767px){
  html body .hf-products-v1 .hf-card-v2 .hf-c2-cart{height:34px !important;padding:0 10px !important;font-size:12px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-cart span{display:none !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-cart{width:40px !important;padding:0 !important}
}

/* Известие „Добавено в количката“ */
.hf-c2-toast{
  position:fixed;left:50%;bottom:24px;z-index:99999;
  transform:translate(-50%,20px);opacity:0;pointer-events:none;
  display:flex;align-items:center;gap:14px;
  max-width:calc(100vw - 32px);
  padding:12px 14px 12px 16px;border-radius:12px;
  background:#0b1f33;color:#fff;font-size:14px;line-height:1.35;
  box-shadow:0 12px 32px rgba(2,12,27,.35);
  transition:opacity .2s ease, transform .2s ease;
}
.hf-c2-toast.is-on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.hf-c2-toast.is-err{background:#7f1d1d}
.hf-c2-toast b{font-weight:700}
.hf-c2-toast a{flex:0 0 auto;padding:8px 12px;border-radius:8px;background:#ff6b00;color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}
/* Брой артикули върху иконата на количката в хедъра */
.hfg-cart,.hfg-action-cart{position:relative}
.hf-c2-count{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#ff6b00;color:#fff;font-size:11px;font-weight:800;line-height:19px;text-align:center;box-shadow:0 0 0 2px #fff}

/* Докато снимката се зарежда – без голям алтернативен текст и „счупена“ иконка */
html body .hf-products-v1 .hf-card-v2 img{color:transparent !important;font-size:0 !important}
/* WooCommerce добавя „View cart“ до бутоните – при нас има известие, затова го скриваме */
html body .hf-products-v1 .hf-card-v2 a.added_to_cart{display:none !important}
@media (max-width:767px){
  html body .hf-products-v1 .hf-card-v2 .hf-c2-brand{height:30px !important;max-width:80px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-brand img{max-height:30px !important;max-width:80px !important}
  .hf-c2-toast{left:12px;right:12px;bottom:12px;transform:translateY(20px);max-width:none;font-size:13px}
  .hf-c2-toast.is-on{transform:translateY(0)}
  .hf-c2-toast > span{flex:1 1 auto;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}

/* ---------- v1.9.2: таблет – 4 карти на ред (600–1100 px), по-компактни ---------- */
@media (min-width:600px) and (max-width:1100px){
  html body .hf-products-v1 .hf-products-content .hf-product-grid.hf-product-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:10px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-media{padding:8px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-body{padding:9px 10px 10px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-prices{flex-wrap:wrap !important;gap:2px 6px !important;margin-bottom:8px !important;padding-bottom:8px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-int{font-size:19px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-cents{font-size:10.5px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money .hf-c2-cur{font-size:12px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-money.is-old .hf-c2-int{font-size:12px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-name{font-size:12px !important;margin-bottom:7px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-meta{font-size:11px !important;margin-bottom:6px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-long{display:none !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-delivery{font-size:10.5px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-delivery::before{content:"Доставка ";color:#64748b}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-stock svg{width:14px !important;height:14px !important;flex-basis:14px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-badge{font-size:11px !important;padding:3px 7px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-foot{min-height:30px !important;padding-top:4px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-brand{height:26px !important;max-width:70px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-brand img{max-height:26px !important;max-width:70px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-cart{width:36px !important;height:32px !important;padding:0 !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-cart span{display:none !important}
}
/* Телефон и малък таблет (под 600 px) – 2 на ред */
@media (max-width:599px){
  html body .hf-products-v1 .hf-products-content .hf-product-grid.hf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
}

/* v1.9.3: марката отгоре, бутонът под нея на цялата ширина (без застъпване) */
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot{
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-end !important;
  gap:8px !important;
  min-height:0 !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot .hf-c2-brand{align-self:flex-start !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot .hf-c2-cart,
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot .hf-c2-cart.is-choose{
  margin-left:0 !important;
  width:100% !important;
  padding:0 10px !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot .hf-c2-cart span{display:inline !important}
@media (max-width:1100px){
  html body .hf-products-v1 .hf-card-v2 .hf-c2-foot{gap:6px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-foot .hf-c2-cart{height:34px !important;font-size:12.5px !important}
}

/* v1.9.4: опаковка и минимално количество (вижда се преди „Добави“) */
html body .hf-products-v1 .hf-card-v2 .hf-c2-pack{
  display:inline-flex !important;align-items:center !important;gap:6px !important;
  align-self:flex-start !important;max-width:100% !important;
  padding:3px 8px !important;border-radius:6px !important;
  background:#fff4eb !important;color:#9a3f00 !important;
  font-size:12.5px !important;font-weight:600 !important;line-height:1.3 !important;
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-pack svg{width:15px !important;height:15px !important;flex:0 0 15px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-pack.is-min{background:#fff7d6 !important;color:#854d0e !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-pack b{font-weight:800 !important}
@media (max-width:1100px){
  html body .hf-products-v1 .hf-card-v2 .hf-c2-pack{font-size:11px !important;padding:2px 6px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-pack svg{width:13px !important;height:13px !important;flex-basis:13px !important}
}

/* v1.16.1: снимката винаги е в квадрат – високите/широките снимки се смаляват, не разтягат картата */
html body .hf-products-v1 .hf-card-v2 .hf-c2-media{overflow:hidden !important;min-height:0 !important;max-height:none !important;flex:0 0 auto !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-media > img,
html body .hf-products-v1 .hf-card-v2 .hf-c2-media > a > img{
  position:absolute !important;top:14px !important;left:14px !important;
  width:calc(100% - 28px) !important;height:calc(100% - 28px) !important;
  max-width:none !important;max-height:none !important;object-fit:contain !important
}
/* Manrope от Google има „български“ форми на буквите (д, л, в…), които изглеждат като ръкописни – изключваме ги */
.hf-promo-v2,.hf-promo-v2 *{font-feature-settings:"locl" 0 !important}

/* v1.16.3: логото на марката е горе вляво върху снимката (картата е по-къса) */
html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand{
  position:absolute !important;top:8px !important;left:8px !important;z-index:2 !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  height:26px !important;max-width:86px !important;min-width:0 !important;padding:3px 7px !important;box-sizing:border-box !important;
  background:rgba(255,255,255,.94) !important;border:1px solid #edf1f5 !important;border-radius:7px !important;
  box-shadow:0 2px 8px rgba(6,28,51,.08) !important;pointer-events:none !important
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand img{
  position:static !important;width:auto !important;height:auto !important;max-height:18px !important;max-width:72px !important;
  object-fit:contain !important;transform:none !important;display:block !important
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand span{
  font-size:10px !important;font-weight:800 !important;letter-spacing:.03em !important;text-transform:uppercase !important;color:#0b3d66 !important;
  white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-width:72px !important;display:block !important
}
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot{min-height:0 !important}
@media (max-width:767px){
  html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand{top:6px !important;left:6px !important;height:22px !important;max-width:70px !important;padding:2px 5px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand img{max-height:15px !important;max-width:60px !important}
}

/* v1.16.5: бутонът за продукти с варианти изглежда като обикновения „Добави“ */
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart.is-choose,
html body .hf-products-v1 .hf-card-v2 .hf-c2-foot .hf-c2-cart.is-choose{background:#ff6b00 !important;color:#fff !important;border:0 !important;box-shadow:0 4px 12px rgba(255,107,0,.25) !important;text-decoration:none !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-cart.is-choose:hover{background:#e55f00 !important;color:#fff !important}

/* v1.17.4: по-голямо лого на марката върху снимката */
html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand{height:40px !important;max-width:132px !important;padding:4px 9px !important;border-radius:9px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand img{max-height:30px !important;max-width:114px !important}
html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand span{font-size:12.5px !important;max-width:114px !important}
@media (max-width:767px){
  html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand{height:32px !important;max-width:100px !important;padding:3px 7px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand img{max-height:24px !important;max-width:86px !important}
  html body .hf-products-v1 .hf-card-v2 .hf-c2-media .hf-c2-brand span{font-size:11px !important;max-width:86px !important}
}
