/* Společné ovladače: návaznost na původní tlačítka Elektro Studio. */
body.template-13 .btn:not(.btn-icon):not(.btn--link) {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--es-radius);
  font-size: 13px;
  font-family: 'Rubik', 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  transition: background-color .16s, border-color .16s, box-shadow .16s;
}
body.template-13 :is(.btn.btn-conversion,.btn.btn-cart,.btn.btn-primary,.search-form .search-button),
.es-guide-category {
  background: var(--es-action-gradient);
  border-color: transparent;
  color: #fff;
  border-radius: var(--es-radius);
  text-decoration: none;
  cursor: pointer;
}
body.template-13 :is(.btn.btn-conversion,.btn.btn-cart,.btn.btn-primary,.search-form .search-button):hover:not(:disabled):not(.disabled),
.es-guide-category:hover {
  background: var(--es-action-hover);
  border-color: transparent;
  color: #fff;
  text-decoration: none;
}
body.template-13 :is(.btn.btn-conversion,.btn.btn-cart,.btn.btn-primary,.search-form .search-button):active:not(:disabled):not(.disabled),
.es-guide-category:active {
  background: linear-gradient(#285f9a,#285f9a);
  color: #fff;
  box-shadow: inset 0 2px 3px #183e6b33;
}
body.template-13 :is(.btn.btn-default,.btn.btn-secondary):not(.btn-icon):not(.search-button) {
  background: #fff;
  border: 1px solid #8e9aa4;
  color: var(--es-ink);
}
body.template-13 :is(.btn.btn-default,.btn.btn-secondary):not(.btn-icon):not(.search-button):hover:not(:disabled):not(.disabled) {
  background: #edf4f9;
  border-color: var(--es-action);
  color: var(--es-action);
}
body.template-13 .btn:disabled,
body.template-13 .btn.disabled,
body.template-13 .btn[aria-disabled="true"] {
  background: #e3e6e9;
  border-color: #d4d8dc;
  color: #687078;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}
body.template-13 .btn.btn--link { color: var(--es-action); font-weight: 600; }
body.template-13 .btn.btn--link:hover { color: #174f77; text-decoration: underline; }
body.template-13 :is(a,button,input,select,textarea,summary,[tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid #245b92;
  outline-offset: 3px;
}
body.template-13 .p-to-cart-block .btn.add-to-cart-button { min-height: 52px; padding: 15px 28px; }
body.template-13 .quantity { border-color: #b8bec4; border-radius: var(--es-radius); }
body.template-13 .quantity :is(input,button) { border-radius: 0; }
/* Bílé pozadí hranatých tlačítek překrývalo zaoblené rohy obalu. */
body.template-13 .quantity :is(.increase,.decrease) { background-color: transparent; }
body.template-13 .quantity .decrease { border-radius: calc(var(--es-radius) - 1px) 0 0 calc(var(--es-radius) - 1px); }
body.template-13 .quantity .increase { border-radius: 0 calc(var(--es-radius) - 1px) calc(var(--es-radius) - 1px) 0; }
body.template-13 .quantity :is(.increase,.decrease):hover:not(:disabled) { background: #edf4f9; color: var(--es-action); }

