/* ==========================================================================
   v1.7.0: header + footer (header.php, footer.php, inc/layout.php, assets/js/header.js)
   Geometry kept compatible with the old header: in-flow height 100px on desktop
   (.main still has margin-top:-7rem), 0 on mobile where the bar is fixed.
   ========================================================================== */
:root {
  --wsp-h-ink: #0b1424;
  --wsp-h-text: #3b4656;
  --wsp-h-muted: #6b7a8c;
  --wsp-h-line: #e3e8ef;
  --wsp-h-soft: #f4f7fb;
  --wsp-h-green: var(--theme-color, #2a8f09);
  --wsp-h-navy: #05264e;
  --wsp-admin: 0px;
}
body.admin-bar { --wsp-admin: 32px; }
@media (max-width: 782px) { body.admin-bar { --wsp-admin: 46px; } }

.wsp-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.wsp-skip { position: absolute; left: 12px; top: -60px; z-index: 10001; padding: 10px 16px; border-radius: 10px; background: var(--wsp-h-ink); color: #fff; font-weight: 700; }
.wsp-skip:focus { top: calc(var(--wsp-admin) + 10px); color: #fff; }
#wsp-main { height: 0; outline: none; }

/* ----- Bar ----- */
.wsp-header { position: relative; z-index: 1000; height: 100px; font-family: 'Manrope', 'Roboto', sans-serif; }
.wsp-header-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 100px; z-index: 1002;
  transition: background-color .25s ease, box-shadow .25s ease, height .25s ease;
}
.wsp-header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.wsp-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.wsp-logo img { width: 160px; height: auto; display: block; transition: width .25s ease; }

.wsp-header.is-stuck .wsp-header-bar {
  position: fixed; top: var(--wsp-admin); height: 74px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 var(--wsp-h-line), 0 10px 30px rgba(11, 20, 36, .07);
}
.wsp-header.is-stuck .wsp-logo img { width: 140px; }

/* ----- Desktop menu ----- */
.wsp-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.wsp-nav-head, .wsp-nav-extra, .wsp-nav > .wsp-nav-cta { display: none !important; }
.wsp-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.wsp-menu-item { position: relative; display: flex; align-items: center; margin: 0; }
.wsp-menu-link {
  position: relative; display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 10px;
  font-size: 16px; font-weight: 600; color: var(--wsp-h-ink); white-space: nowrap; text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.wsp-menu-link:hover { color: var(--wsp-h-green); background: rgba(42, 143, 9, .07); }
.wsp-menu-item.is-active > .wsp-menu-link { color: var(--wsp-h-green); }
.wsp-depth-0.is-active > .wsp-menu-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--wsp-h-green);
}
.wsp-menu-link:focus-visible, .wsp-sub-toggle:focus-visible, .wsp-burger:focus-visible, .wsp-icon-btn:focus-visible, .wsp-nav-close:focus-visible {
  outline: 2px solid var(--wsp-h-green); outline-offset: 2px;
}
.wsp-depth-0.has-sub > .wsp-menu-link { padding-right: 34px; }
.wsp-sub-toggle { position: absolute; right: 8px; top: 50%; margin-top: -12px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 0; border-radius: 8px; background: transparent; color: var(--wsp-h-muted); cursor: pointer; }
.wsp-sub-toggle .wsp-ico { width: 15px; height: 15px; transition: transform .2s ease; }
.wsp-submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--wsp-h-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(11, 20, 36, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.wsp-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.wsp-submenu-link { display: block; padding: 10px 12px; border-radius: 10px; color: var(--wsp-h-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.wsp-submenu-link:hover, .wsp-submenu .is-active > .wsp-submenu-link { background: var(--wsp-h-soft); color: var(--wsp-h-green); }
@media (min-width: 1200px) {
  .wsp-menu-item.has-sub:hover > .wsp-submenu, .wsp-menu-item.has-sub:focus-within > .wsp-submenu, .wsp-menu-item.sub-open > .wsp-submenu { opacity: 1; visibility: visible; transform: none; }
  .wsp-menu-item.has-sub:hover > .wsp-sub-toggle .wsp-ico, .wsp-menu-item.sub-open > .wsp-sub-toggle .wsp-ico { transform: rotate(180deg); }
}

/* ----- Right side ----- */
.wsp-header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.wsp-header-phone { display: none; align-items: center; gap: 8px; padding: 8px 6px; color: var(--wsp-h-ink); font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none; }
.wsp-header-phone .wsp-ico { color: var(--wsp-h-green); }
.wsp-header-phone:hover { color: var(--wsp-h-green); }
@media (min-width: 1500px) { .wsp-header-phone { display: inline-flex; } }

.wsp-header .lang-switcher { margin: 0; }
.wsp-header .lang-current {
  height: 44px; padding: 0 12px; gap: 6px; border: 1px solid var(--wsp-h-line); border-radius: 12px; background: #fff;
  font-weight: 700; font-size: 14px; color: var(--wsp-h-ink); transition: border-color .2s ease;
}
.wsp-header .lang-current:hover { border-color: var(--wsp-h-green); }
.wsp-header .lang-caret { font-size: 11px; color: var(--wsp-h-muted); }
.wsp-header .lang-dropdown { min-width: 96px; padding: 6px; border-radius: 12px; border-color: var(--wsp-h-line); margin-top: 8px; box-shadow: 0 18px 40px rgba(11, 20, 36, .12); }
.wsp-header .lang-option { padding: 8px 10px; border-radius: 8px; font-weight: 700; color: var(--wsp-h-ink); }
.wsp-header .lang-option:hover { background: var(--wsp-h-soft); color: var(--wsp-h-green); }

.wsp-header .theme-btn, .wsp-footer .theme-btn { text-transform: none; }
.wsp-header-cta.theme-btn, .wsp-nav-cta.theme-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 700; font-size: 15.5px; white-space: nowrap; box-shadow: 0 10px 24px rgba(42, 143, 9, .25);
}
.wsp-header-cta .wsp-ico, .wsp-nav-cta .wsp-ico { width: 18px; height: 18px; }

.wsp-icon-btn, .wsp-burger {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--wsp-h-line); background: #fff; color: var(--wsp-h-ink); cursor: pointer; padding: 0;
}
.wsp-icon-btn .wsp-ico { color: var(--wsp-h-green); width: 20px; height: 20px; }
.wsp-burger { flex-direction: column; gap: 5px; }
.wsp-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.wsp-burger span:nth-child(2) { width: 14px; margin-left: 6px; }

/* ----- Drawer mode (tablet + phone) ----- */
@media (max-width: 1199.98px) {
  .wsp-burger { display: inline-flex; }
  .wsp-header-actions { margin-left: auto; }
  .wsp-header-lang { display: none; }

  .wsp-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 5; width: min(420px, 100%);
    flex-direction: column; justify-content: flex-start; background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(var(--wsp-admin) + 16px) 20px calc(24px + env(safe-area-inset-bottom));
    box-shadow: -20px 0 50px rgba(11, 20, 36, .18);
    transform: translateX(105%); visibility: hidden; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility .32s;
  }
  .wsp-header.nav-open .wsp-nav { transform: none; visibility: visible; }
  .wsp-nav-head { align-items: center; justify-content: space-between; margin-bottom: 10px; }
  .wsp-nav-head-title { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wsp-h-muted); }
  .wsp-nav-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--wsp-h-line); background: #fff; color: var(--wsp-h-ink); cursor: pointer; }
  .wsp-nav-close .wsp-ico { width: 20px; height: 20px; }

  .wsp-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .wsp-menu-item { flex-wrap: wrap; border-bottom: 1px solid var(--wsp-h-line); }
  .wsp-menu-link { flex: 1 1 auto; min-height: 56px; padding: 12px 4px; font-size: 18px; font-weight: 700; border-radius: 0; background: none !important; }
  .wsp-depth-0.is-active > .wsp-menu-link::after { left: -20px; right: auto; top: 16px; bottom: 16px; width: 3px; height: auto; }
  .wsp-depth-0.has-sub > .wsp-menu-link { padding-right: 4px; }
  .wsp-sub-toggle { position: static; width: 44px; height: 44px; margin: 0; border: 1px solid var(--wsp-h-line); border-radius: 12px; }
  .wsp-submenu .wsp-menu-item { border: 0; }
  .wsp-menu-item.sub-open > .wsp-sub-toggle .wsp-ico { transform: rotate(180deg); }
  .wsp-submenu {
    position: static; flex: 1 0 100%; min-width: 0; padding: 0 0 10px 12px; border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none; transition: none;
  }
  .wsp-menu-item.sub-open > .wsp-submenu { display: block; }
  .wsp-submenu-link { padding: 11px 10px; font-size: 16px; font-weight: 600; color: var(--wsp-h-text); }

  .wsp-nav-extra { display: flex !important; flex-direction: column; gap: 16px; margin: 22px 0 18px; }
  .wsp-nav > .wsp-nav-cta { display: inline-flex !important; }
  .wsp-nav-head { display: flex !important; }
  .wsp-nav-contacts { display: grid; gap: 10px; }
  .wsp-nav-contact { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--wsp-h-soft); color: var(--wsp-h-ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
  .wsp-nav-contact small { display: block; font-size: 12px; font-weight: 700; color: var(--wsp-h-muted); text-transform: uppercase; letter-spacing: .06em; }
  .wsp-nav-contact-ico { flex: 0 0 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--wsp-h-green); }
  .wsp-nav-cta.theme-btn { position: sticky; bottom: 0; justify-content: center; height: 54px; flex: 0 0 54px; font-size: 16.5px; box-shadow: 0 -12px 24px #fff, 0 10px 24px rgba(42, 143, 9, .25); }

  .wsp-nav-backdrop {
    position: fixed; inset: 0; z-index: 1001; background: rgba(5, 15, 35, .45);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .wsp-header.nav-open .wsp-nav-backdrop { opacity: 1; visibility: visible; }
  .wsp-header.nav-open .wsp-header-inner > :not(.wsp-nav) { opacity: .35; }
  body.wsp-nav-lock { overflow: hidden; }
}

/* ----- Phones / small tablets: bar is always fixed, out of the flow ----- */
@media (max-width: 991.98px) {
  .wsp-header { height: 0; }
  .wsp-header-bar, .wsp-header.is-stuck .wsp-header-bar {
    position: fixed; top: var(--wsp-admin); height: 68px;
    background: rgba(255, 255, 255, .98); box-shadow: 0 1px 0 var(--wsp-h-line);
  }
  .wsp-header.is-stuck .wsp-header-bar { box-shadow: 0 1px 0 var(--wsp-h-line), 0 10px 30px rgba(11, 20, 36, .08); }
  .wsp-header-inner { gap: 12px; }
  .wsp-logo img, .wsp-header.is-stuck .wsp-logo img { width: 128px; }
  .wsp-nav { flex: 0 0 auto; }
  .wsp-header-actions { margin-left: auto; gap: 8px; }
  .wsp-header-cta.theme-btn { height: 44px; padding: 0 16px; font-size: 15px; box-shadow: none; }
  .wsp-header-cta .wsp-ico { display: none; }
}
@media (max-width: 600px) {
  /* WP admin bar scrolls away on phones. */
  body.admin-bar .wsp-header.is-stuck .wsp-header-bar { top: 0; }
}
@media (max-width: 575.98px) {
  .wsp-header-cta { display: none !important; }
  .wsp-icon-btn { display: inline-flex; }
  .wsp-logo img, .wsp-header.is-stuck .wsp-logo img { width: 118px; }
  .wsp-nav { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.wsp-footer { position: relative; background: var(--wsp-h-soft); border-top: 1px solid var(--wsp-h-line); padding-top: 64px; font-family: 'Manrope', 'Roboto', sans-serif; color: var(--wsp-h-text); }
.wsp-footer p { margin: 0; }

.wsp-fcta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: 40px 44px; margin-bottom: 56px; border-radius: 24px; color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='240' viewBox='0 0 520 240'%3E%3Cg stroke='%2363c53f' stroke-opacity='.25' fill='none'%3E%3Cpath d='M60 200L150 150L240 185L330 120L420 160L500 90M150 150L190 70L300 50L330 120M300 50L400 30L420 160M400 30L490 20'/%3E%3C/g%3E%3Cg fill='%2363c53f' fill-opacity='.7'%3E%3Ccircle cx='60' cy='200' r='3'/%3E%3Ccircle cx='150' cy='150' r='4'/%3E%3Ccircle cx='240' cy='185' r='3'/%3E%3Ccircle cx='330' cy='120' r='4'/%3E%3Ccircle cx='420' cy='160' r='3'/%3E%3Ccircle cx='500' cy='90' r='4'/%3E%3Ccircle cx='190' cy='70' r='3'/%3E%3Ccircle cx='300' cy='50' r='4'/%3E%3Ccircle cx='400' cy='30' r='3'/%3E%3Ccircle cx='490' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E") right center / auto 100% no-repeat,
    linear-gradient(120deg, #05264e 0%, #0b3b6f 60%, #1a6b2a 140%);
  box-shadow: 0 24px 50px rgba(5, 38, 78, .18);
}
.wsp-fcta-text { max-width: 640px; }
.wsp-fcta-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fe36a; margin-bottom: 8px !important; }
.wsp-fcta-title { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px !important; }
.wsp-fcta-sub { color: rgba(255, 255, 255, .8); font-size: 16px; }
.wsp-fcta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; flex: 0 0 auto; }
.wsp-fcta-actions .theme-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 800; font-size: 16px; }
.wsp-fcta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.wsp-fcta-phone:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); color: #fff; }

.wsp-fgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.wsp-flogo img { width: 170px; height: auto; display: block; margin-bottom: 18px; }
.wsp-fdesc { font-size: 15.5px; line-height: 1.6; max-width: 360px; margin-bottom: 22px !important; }
.wsp-fcontacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wsp-fcontacts li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; color: var(--wsp-h-ink); }
.wsp-fcontacts a { color: var(--wsp-h-ink); text-decoration: none; overflow-wrap: anywhere; }
.wsp-fcontacts a:hover { color: var(--wsp-h-green); }
.wsp-fci { flex: 0 0 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--wsp-h-line); color: var(--wsp-h-green); }
.wsp-ftitle { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wsp-h-ink); margin: 6px 0 18px !important; }
.wsp-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wsp-flist li { margin: 0; }
.wsp-flist a { display: inline-block; padding: 5px 0; color: var(--wsp-h-text); font-size: 15.5px; font-weight: 500; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.wsp-flist a:hover { color: var(--wsp-h-green); transform: translateX(3px); }
.wsp-flist .current-menu-item > a { color: var(--wsp-h-green); font-weight: 700; }

.wsp-fbottom { border-top: 1px solid var(--wsp-h-line); background: #fff; }
.wsp-fbottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-top: 20px; padding-bottom: 20px; }
.wsp-fcopy { font-size: 14px; color: var(--wsp-h-muted); }
.wsp-fcopy a { color: inherit; }
.wsp-fbottom-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wsp-fsocial { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.wsp-fsocial a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--wsp-h-line); color: var(--wsp-h-ink); text-decoration: none; transition: all .2s ease; }
.wsp-fsocial a:hover { background: var(--wsp-h-green); border-color: var(--wsp-h-green); color: #fff; }

.wsp-lang-pills { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--wsp-h-soft); border: 1px solid var(--wsp-h-line); }
.wsp-lang-pill { min-width: 44px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 14px; font-weight: 800; color: var(--wsp-h-muted); text-decoration: none; transition: all .2s ease; }
.wsp-lang-pill:hover { color: var(--wsp-h-ink); }
.wsp-lang-pill.is-current { background: #fff; color: var(--wsp-h-green); box-shadow: 0 2px 8px rgba(11, 20, 36, .08); }
.wsp-nav-lang { align-self: flex-start; }
.wsp-nav-lang .wsp-lang-pill { min-width: 56px; height: 40px; }

/* Back to top (shown/hidden by main.js) */
#scroll-top.wsp-totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 99; width: 48px; height: 48px; padding: 0; border-radius: 14px;
  background: var(--wsp-h-ink); color: #fff; box-shadow: 0 12px 28px rgba(11, 20, 36, .25); font-size: 0; line-height: 0;
  transition: background .2s ease, transform .2s ease;
}
#scroll-top.wsp-totop .wsp-ico { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; stroke-width: 2.4; }
#scroll-top.wsp-totop:hover { background: var(--wsp-h-green); transform: translateY(-2px); }

@media (max-width: 1199.98px) {
  .wsp-fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wsp-fbrand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 40px; align-items: start; }
  .wsp-fbrand .wsp-flogo, .wsp-fbrand .wsp-fdesc { grid-column: 1; }
  .wsp-fbrand .wsp-fcontacts { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; }
}
@media (max-width: 767.98px) {
  .wsp-footer { padding-top: 40px; }
  .wsp-fcta { flex-direction: column; align-items: stretch; padding: 28px 22px; margin-bottom: 40px; border-radius: 20px; background-size: 140% auto, auto; background-position: right bottom, center; }
  .wsp-fcta-title { font-size: 23px; }
  .wsp-fgrid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .wsp-fbrand { grid-column: 1 / -1; }
  .wsp-fbrand { display: block; }
  .wsp-fbrand .wsp-fcontacts { grid-template-columns: 1fr; }
  .wsp-fbottom-inner { flex-direction: column-reverse; align-items: flex-start; padding-bottom: 88px; }
  #scroll-top.wsp-totop { right: 16px; bottom: 16px; }
}
@media (max-width: 340px) {
  .wsp-fgrid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.8.0: share card (template-parts/social-sharing.php)
   ========================================================================== */
.widget.wsp-share { background: #fff; border: 1px solid var(--wsp-h-line); border-radius: 20px; padding: 26px 24px; box-shadow: 0 14px 34px rgba(11, 20, 36, .06); font-family: 'Manrope', 'Roboto', sans-serif; }
.wsp-share-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--wsp-h-ink); margin: 0 0 4px; }
.wsp-share-sub { font-size: 14px; line-height: 1.5; color: var(--wsp-h-muted); margin: 0 0 18px; }
.wsp-share-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wsp-share-grid li { margin: 0; padding: 0; }
.wsp-share-grid li::before { display: none !important; }
.wsp-share-btn {
  --brand: #0b1424; --tint: rgba(11, 20, 36, .06);
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 14px;
  border: 1px solid var(--wsp-h-line); background: #fff; text-decoration: none !important; color: var(--wsp-h-text);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.wsp-share-ico { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-size: 16px; transition: transform .2s ease; }
.wsp-share-label { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.wsp-share-btn:hover, .wsp-share-btn:focus-visible { background: var(--tint); border-color: transparent; color: var(--wsp-h-ink); transform: translateY(-2px); }
.wsp-share-btn:hover .wsp-share-ico { transform: scale(1.06); }
.wsp-share-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wsp-share--telegram { --brand: #229ed9; --tint: rgba(34, 158, 217, .1); }
.wsp-share--viber { --brand: #7360f2; --tint: rgba(115, 96, 242, .1); }
.wsp-share--whatsapp { --brand: #25d366; --tint: rgba(37, 211, 102, .12); }
.wsp-share--facebook { --brand: #1877f2; --tint: rgba(24, 119, 242, .1); }
.wsp-share--linkedin { --brand: #0a66c2; --tint: rgba(10, 102, 194, .1); }
.wsp-share--x { --brand: #0f1419; --tint: rgba(15, 20, 25, .07); }
.wsp-share-actions { display: flex; gap: 8px; margin-top: 12px; }
.wsp-share-copy, .wsp-share-native {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; cursor: pointer;
  border: 1px dashed #cfd8e3; background: var(--wsp-h-soft); color: var(--wsp-h-ink); font: inherit; font-size: 14.5px; font-weight: 700;
  transition: all .2s ease;
}
.wsp-share-copy { flex: 1 1 auto; }
.wsp-share-native { flex: 0 0 46px; }
.wsp-share-copy:hover, .wsp-share-native:hover { border-color: var(--wsp-h-green); color: var(--wsp-h-green); }
.wsp-share-copy.is-done { border-style: solid; border-color: var(--wsp-h-green); background: #edf7e8; color: #1f6b06; }
.wsp-share-native[hidden] { display: none; }

/* ==========================================================================
   v2.0.1: responsive pass (phones 320–430px, tablets)
   ========================================================================== */
/* Drawer: no "Menu" caption, contacts never wrap the e-mail */
.wsp-nav-head-title { display: none; }
@media (max-width: 1199.98px) {
  .wsp-nav-head { justify-content: flex-end; }
  .wsp-nav-contact { white-space: nowrap; overflow-wrap: normal; font-size: clamp(13px, 3.9vw, 16px); }
  .wsp-nav-contact > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
/* Back-to-top on the left, so it never collides with floating carts/chats on the right */
#scroll-top.wsp-totop { right: auto; left: 24px; }
@media (max-width: 767.98px) {
  #scroll-top.wsp-totop { left: 16px; bottom: 16px; width: 44px; height: 44px; }
  .wsp-fbottom-inner { padding-bottom: 24px; }
  .wsp-fcontacts a { overflow-wrap: normal; white-space: nowrap; }
}
/* Share card */
.wsp-share-copy { min-width: 0; padding: 0 12px; white-space: nowrap; font-size: 14px; }
.wsp-share-copy span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) {
  .widget.wsp-share { padding: 22px 16px; }
  .wsp-share-copy { font-size: 13px; gap: 6px; }
  .wsp-share-label { font-size: 12px; }
}
/* Single service: order button */
.theme-btn.wsp-svc-order { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 8px; text-transform: none; white-space: nowrap; border-radius: 12px; font-weight: 700; }
@media (max-width: 575.98px) { .theme-btn.wsp-svc-order { display: flex; width: 100%; } }
/* Related cards inside content are cards, not text links */
.entry-content a.wsp-related-card, .entry-content a.wsp-related-card:hover { text-decoration: none !important; }
.entry-content a.wsp-related-card .wsp-related-card-text { color: var(--wsp-h-text); }

/* v2.3.0 */
.wsp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Mobile drawer: content starts higher and the last contact is never hidden under the sticky CTA. */
@media (max-width: 1199.98px) {
  .wsp-nav { height: 100vh; height: 100dvh; padding-top: calc(var(--wsp-admin) + 8px); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .wsp-nav-head { margin-bottom: 0; }
  .wsp-menu-link { min-height: 50px; padding: 10px 4px; font-size: 17px; }
  .wsp-nav-extra { gap: 12px; margin: 16px 0 14px; padding-bottom: 8px; }
  .wsp-nav-contact { padding: 10px 12px; }
  .wsp-nav-contact-ico { flex-basis: 36px; height: 36px; }
  .wsp-nav-cta.theme-btn { margin-top: auto; }
}
@media (max-width: 575.98px) {
  .wsp-nav-close { width: 40px; height: 40px; }
}

/* v2.3.1: service "Order" button — never clipped; full width on phones (overrides the old width:50% rule). */
.single-service .entry-content .theme-btn.wsp-svc-order {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: fit-content; min-width: 300px; max-width: 100%; min-height: 58px;
  margin: 48px auto 8px; padding: 16px 34px;
  font-size: 17px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-transform: none;
  border-radius: 14px; box-shadow: 0 12px 26px rgba(42, 143, 9, .25);
}
.single-service .entry-content .theme-btn.wsp-svc-order .far { font-size: 18px; }
@media (max-width: 767.98px) {
  .single-service .entry-content .theme-btn.wsp-svc-order { width: 100%; min-width: 0; margin-top: 36px; padding: 15px 20px; }
}
@media (max-width: 359.98px) {
  .single-service .entry-content .theme-btn.wsp-svc-order { white-space: normal; font-size: 16px; }
}

/* v2.4.0: closing "Read also" line in articles; external source links. */
.entry-content .wsp-read-also{margin-top:28px;padding-top:16px;border-top:1px solid #e3e8ef;font-size:.95em;color:#4a5a70}
.entry-content a[target="_blank"][rel~="nofollow"]{text-decoration-style:dotted;text-underline-offset:3px}

/* v2.5.2: inline code inside highlighted blocks. */
.wsp-callout code { padding: 1px 6px; border-radius: 5px; background: rgba(15, 23, 42, .07); color: inherit; font-size: .88em; white-space: normal; word-break: break-word; }
