/**
 * Kadence Advanced Button — Posy's presets (Olive + Transparent).
 */

:root {
  --posys-btn-olive-bg: #5c6758;
  --posys-btn-olive-bg-hover: #4d5649;
  --posys-btn-olive-text: #ffffff;
  --posys-btn-transparent-text: #1d1d1d;
  --posys-btn-transparent-border: #d8d8d4;
  --posys-btn-transparent-border-hover: #1d1d1d;
  --posys-btn-radius: 999px;
  --posys-btn-padding-y: 0.85rem;
  --posys-btn-padding-x: 1.55rem;
  --posys-btn-font-size: 0.95rem;
}

/* Shared Kadence button chrome */
.wp-block-kadence-singlebtn.is-style-olive .kb-button,
.wp-block-kadence-singlebtn.is-style-olive .kt-button,
.wp-block-kadence-singlebtn.is-style-olive a.kb-button,
.wp-block-kadence-singlebtn.is-style-transparent .kb-button,
.wp-block-kadence-singlebtn.is-style-transparent .kt-button,
.wp-block-kadence-singlebtn.is-style-transparent a.kb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--posys-btn-radius) !important;
  padding: var(--posys-btn-padding-y) var(--posys-btn-padding-x) !important;
  font-family: var(--font-body);
  font-size: var(--posys-btn-font-size) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-shadow: none !important;
}

/* Olive — solid (reference: “Shop the collection”) */
.wp-block-kadence-singlebtn.is-style-olive .kb-button,
.wp-block-kadence-singlebtn.is-style-olive .kt-button,
.wp-block-kadence-singlebtn.is-style-olive a.kb-button {
  background-color: var(--posys-btn-olive-bg) !important;
  color: var(--posys-btn-olive-text) !important;
  border: 1px solid transparent !important;
}

.wp-block-kadence-singlebtn.is-style-olive .kb-button:hover,
.wp-block-kadence-singlebtn.is-style-olive .kt-button:hover,
.wp-block-kadence-singlebtn.is-style-olive a.kb-button:hover {
  background-color: var(--posys-btn-olive-bg-hover) !important;
  color: var(--posys-btn-olive-text) !important;
}

/* Transparent — outline (reference: “Wedding flowers”) */
.wp-block-kadence-singlebtn.is-style-transparent .kb-button,
.wp-block-kadence-singlebtn.is-style-transparent .kt-button,
.wp-block-kadence-singlebtn.is-style-transparent a.kb-button {
  background-color: transparent !important;
  color: var(--posys-btn-transparent-text) !important;
  border: 1px solid var(--posys-btn-transparent-border) !important;
}

.wp-block-kadence-singlebtn.is-style-transparent .kb-button:hover,
.wp-block-kadence-singlebtn.is-style-transparent .kt-button:hover,
.wp-block-kadence-singlebtn.is-style-transparent a.kb-button:hover {
  background-color: transparent !important;
  color: var(--posys-btn-transparent-text) !important;
  border-color: var(--posys-btn-transparent-border-hover) !important;
}

/* Editor canvas */
.editor-styles-wrapper .wp-block-kadence-singlebtn.is-style-olive .kb-button,
.editor-styles-wrapper .wp-block-kadence-singlebtn.is-style-transparent .kb-button {
  min-height: auto;
}