/* Plugin interné tlačidlá (.amplus-btn) */
.amplus-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font: inherit; font-weight: 600; font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
    border: 1px solid transparent;
    line-height: 1;
}
.amplus-btn-primary { background: var(--amplus-color-primary); color: #fff; }
.amplus-btn-primary:hover { background: var(--amplus-color-primary-dark); color: #fff; transform: translateY(-1px); }
.amplus-btn-ghost { background: transparent; color: var(--amplus-color-text); border-color: var(--amplus-color-border); }
.amplus-btn-ghost:hover { border-color: var(--amplus-color-primary); color: var(--amplus-color-primary); }

/* ==========================================================================
   Elementor tlačidlá — outside ring border (okamžitý, bez transition)
   Globálne `a { transition: all }` z UiCore by animovalo outline —
   preto ho prepíšeme !important s explicitným zoznamom vlastností.
   ========================================================================== */
/* Default: outline ring na všetkých Elementor tlačidlách (vrátane standalone
   linkov ako .amplus-vtabs-cta čo nemajú .elementor-widget wrapper). */
.elementor-button.elementor-button {
    --amplus-btn-ring: var(--e-global-color-uicore_secondary, var(--uicore-secondary-color, #00c49a));
    outline: 2px solid transparent;
    outline-offset: 3px;
    transition: background-color 0.2s ease,
                color            0.2s ease,
                fill             0.2s ease,
                border-color     0.2s ease,
                box-shadow       0.2s ease !important;
}
.elementor-button.elementor-button:hover {
    outline: 3px solid var(--amplus-btn-ring);
}

/* Biele tlačidlá na brand kartách */
.znacka-card .elementor-button.elementor-button {
    --amplus-btn-ring: #E9E9E9;
}

/* Exception: tlačidlá vnútri .btn-link wrappera dostanú vypnutý ring.
   _css_classes z Elementoru sa renderuje na .elementor-widget — preto parent selektor. */
.btn-link .elementor-button.elementor-button,
.btn-link .elementor-button.elementor-button:hover {
    outline: none;
}

/* ==========================================================================
   UiCore navbar .uicore-btn — ring na RODIČI (.uicore-cta-wrapper)
   Div nemá žiadnu transition, pseudo-prvok sa zmení okamžite.
   Outline na .uicore-btn samotnom je vypnutý (vyhneme sa transition: all !important).
   Gap: inset -6px = 3px medzera + 3px border (rovnaké ako outline-offset: 3px u iných).
   ========================================================================== */
.uicore-btn,
.uicore-navbar a.uicore-btn {
    outline: none !important;
}

.uicore-cta-wrapper {
    position: relative;
}
.uicore-cta-wrapper::after {
    content: "";
    position: absolute;
    inset: -6px;          /* 3px medzera + 3px border = rovnaký vizuál ako outline-offset:3px */
    border: 3px solid transparent;
    border-radius: 999px;
    pointer-events: none;
    /* Žiadna transition — instant */
}
.uicore-cta-wrapper:hover::after {
    border-color: var(--e-global-color-uicore_secondary, var(--uicore-secondary-color, #00c49a));
}
