/* Žirafa – cena pro registrované podle značky + tlačítko Do košíku */
/* ===== Hlavní tlačítko „Do košíku“ v barvě značky (bílá na #074D43 = kontrast 9,8 : 1) ===== */
.btn.btn-cart,
.btn.btn-conversion,
.add-to-cart-button {
  background: #074D43 !important;
  border-color: #074D43 !important;
  color: #ffffff !important;
}
.btn.btn-cart:hover,
.btn.btn-cart:focus-visible,
.btn.btn-conversion:hover,
.btn.btn-conversion:focus-visible,
.add-to-cart-button:hover,
.add-to-cart-button:focus-visible {
  background: #0B5F52 !important;
  border-color: #0B5F52 !important;
  color: #ffffff !important;
}
.btn.btn-cart *,
.btn.btn-conversion *,
.add-to-cart-button * {
  color: #ffffff !important;
}

/* ===== Starý štítek z příznaku „S registrací sleva 10%“ a filtr podle něj – nahrazuje je logika podle značky ===== */
.flag.flag-s-registraci-sleva-10 {
  display: none !important;
}
.filter-section div:has(> input[data-filter-code="dd"][value="1134"]) {
  display: none !important;
}

/* ===== Detail produktu: box, celý je odkaz na registraci ===== */
.zir-reg-box {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 460px;
  margin: 12px 0 6px !important;
  padding: 14px 16px !important;
  background: #d7f1aa !important;
  border-radius: 12px !important;
  color: #074D43 !important;
  font-family: 'Raleway', sans-serif !important;
  text-align: left !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
}
.zir-reg-box:hover,
.zir-reg-box:focus-visible {
  background: #c8e98f !important;
  color: #074D43 !important;
}
.zir-reg-box:focus-visible {
  outline: 2px solid #074D43;
  outline-offset: 2px;
}
.zir-reg-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zir-reg-title {
  font-size: 16px;
  font-weight: 700;
}
.zir-reg-sub {
  font-size: 14px;
  font-weight: 500;
}
.zir-reg-cta {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
}
.zir-reg-login {
  margin: 0 0 12px !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  color: #5b6664 !important;
}
.zir-reg-login a {
  display: inline-block;
  padding: 4px 0;
  color: #074D43 !important;
  font-weight: 600;
  text-decoration: underline !important;
}

/* ===== Ikona ===== */
.zir-reg-icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Karta ve výpisu: štítek, celý je odkaz na registraci ===== */
.zir-reg-pill-wrap {
  display: block;
  width: 100%;
  margin-top: 6px;
  text-align: left !important;
}
.zir-reg-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 32px;
  padding: 6px 12px 6px 10px !important;
  background: #d7f1aa !important;
  border-radius: 999px !important;
  color: #074D43 !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
}
.zir-reg-pill:hover,
.zir-reg-pill:focus-visible {
  background: #c8e98f !important;
  color: #074D43 !important;
}
.zir-reg-pill .zir-reg-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* ===== Mobil ===== */
@media (max-width: 767px) {
  .zir-reg-box {
    max-width: none;
    padding: 14px !important;
  }
  .zir-reg-pill {
    padding: 6px 10px !important;
  }
  .zir-reg-pill .zir-reg-icon {
    display: none;
  }
}
/* Úzké telefony: karty jsou ve dvou sloupcích */
@media (max-width: 480px) {
  .products.products-block .product .p-bottom .p-tools .btn {
    min-height: 44px !important;
    padding: 10px 7px !important;
  }
}
@media (max-width: 400px) {
  .zir-reg-pill {
    font-size: 12px !important;
  }
}
