/* Decorative icons do not depend on label markup. Elementor owns the text,
   link, typography, fill, shape, dimensions and spacing through Atomic styles. */
:is(.lcsg, .lc-nav--preferred, body.error404 .elementor-location-single) :is(.lc-choice-button, .lc-nav-contact)::before {
  content: '';
  display: block;
  position: absolute;
  inset: auto 17px auto auto;
  top: 50%;
  width: 15px;
  height: 15px;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background: currentColor;
  mask: url('shapes/caret.svg') center / contain no-repeat;
  filter: none;
  opacity: .8;
  transform: translate(0, -50%);
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
:is(.lcsg, .lc-nav--preferred, body.error404 .elementor-location-single) :is(.lc-choice-button, .lc-nav-contact):is(:hover, :focus-visible)::before {
  transform: translate(3px, -50%);
  opacity: 1;
}
.lcsg .lc-companion-link::before {
  content: '';
  position: absolute;
  inset: auto 30px 6px 0;
  height: 2px;
  background: var(--lc-link-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
  pointer-events: none;
}
.lcsg .lc-companion-link:is(:hover, :focus-visible)::before {
  transform: scaleX(1);
}
.lcsg .lc-companion-link::after {
  content: '';
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url('shapes/button-caret-circle.svg') center / contain no-repeat;
  opacity: .6;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.lcsg .lc-companion-link:is(:hover, :focus-visible)::after { transform: translateX(3px); opacity: 1; }
.lc-nav-category::before {
  content: '';
  order: 2;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .65;
  transition: transform .2s ease;
}
.lc-nav-category[aria-expanded=true]::before { transform: translateY(2px) rotate(225deg); }
.lc-nav-mobile-toggle::after {
  content: '';
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url('shapes/menu.svg') center / contain no-repeat;
}
.lc-nav-mobile-toggle[aria-expanded=true]::after { mask-image: url('shapes/close.svg'); }
.elementor .lc-feed .lc-feed-profile::before {
  right: 20px;
  width: 18px;
  height: 18px;
  mask-image: url('icons/social-instagram.svg');
}
@media (max-width: 767px) {
  .lc-v2-referral-actions > .lc-choice-button::before {
    position: relative;
    inset: auto;
    order: 2;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    transform: none;
  }
  .lc-v2-referral-actions > .lc-choice-button:is(:hover,:focus-visible)::before { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.lc-choice-button,.lc-companion-link,.lc-nav-contact,.lc-nav-category)::before,
  :is(.lc-choice-button,.lc-companion-link,.lc-nav-contact)::after { transition: none !important; }
}

/* 404 template: use the shared pill gradient and moving caret outside lcsg. */
body.error404 .elementor-location-single .lc-choice-button {
  position:relative; isolation:isolate; padding-inline:24px 42px;
  --lc-button-base:var(--lc-brand-1,#1a305b);
  --lc-button-wash:color-mix(in srgb,var(--lc-button-base) 38%,var(--lc-apricot,#f5a45d));
}
body.error404 .elementor-location-single .lc-choice-button::after {
  content:''; position:absolute; inset:0; border-radius:inherit; z-index:-1;
  background:linear-gradient(105deg,var(--lc-button-base) 0%,var(--lc-button-base) 48%,color-mix(in srgb,var(--lc-button-base) 66%,var(--lc-apricot,#f5a45d)) 76%,var(--lc-button-wash) 100%);
  opacity:0; transition:opacity .3s ease; pointer-events:none;
}
body.error404 .elementor-location-single .lc-choice-button:is(:hover,:focus-visible)::after {opacity:1}
body.error404 .elementor-location-single .lc-choice-button:focus-visible {outline:2px solid var(--lc-brand-1,#1a305b);outline-offset:5px}
