
/* Behandlingsnett Shortcodes – premium, responsive */
.bnsc-empty{padding:14px 16px;border:1px solid rgba(0,0,0,.08);border-radius:16px;background:#fff}

.bnsc-cats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
@media (max-width: 820px){
  .bnsc-cats{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    padding-bottom:6px;
    margin:0 -8px;
    padding-left:8px;
    padding-right:8px;
  }
  .bnsc-cats::-webkit-scrollbar{height:8px}
}

.bnsc-card{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
  max-width: 360px;
  flex: 1 1 260px;
  padding:14px 14px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(250,250,252,1));
  text-decoration:none;
  color:inherit;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  scroll-snap-align:start;
}
.bnsc-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.12);
}
.bnsc-card__icon{
  width:46px;height:46px;
  border-radius:14px;
  display:grid;place-items:center;
  background: rgba(0,0,0,.04);
}
.bnsc-ico svg{width:22px;height:22px}
.bnsc-card__body{min-width:0}
.bnsc-card__title{
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.1;
}
.bnsc-card__meta{
  margin-top:4px;
  font-size:13px;
  opacity:.72;
}
.bnsc-card__chev{
  margin-left:auto;
  font-size:26px;
  opacity:.30;
}

/* Search */
.bnsc-search{max-width:680px}
.bnsc-search__field{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  background:#fff;
  padding:10px 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.bnsc-search__glass{
  width:32px;height:32px;
  display:grid;place-items:center;
  border-radius:12px;
  background: rgba(0,0,0,.04);
  opacity:.8;
}
.bnsc-search__input{
  border:none;
  outline:none;
  width:100%;
  font-size:16px;
  padding:6px 4px;
  background:transparent;
}
.bnsc-search__clear{
  border:none;
  background: rgba(0,0,0,.04);
  width:34px;height:34px;
  border-radius:12px;
  font-size:22px;
  line-height:0;
  cursor:pointer;
  opacity:.8;
}
.bnsc-search__panel{
  position:relative;
  margin-top:10px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
}
.bnsc-search__group{
  padding:10px 10px 6px;
}
.bnsc-search__groupTitle{
  font-size:12px;
  font-weight:800;
  opacity:.55;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:6px 8px;
}
.bnsc-search__item{
  display:flex;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  text-decoration:none;
  color:inherit;
  transition: background .12s ease;
}
.bnsc-search__item:hover{background: rgba(0,0,0,.04)}
.bnsc-search__itemTitle{font-weight:700;line-height:1.1}
.bnsc-search__itemSub{font-size:13px;opacity:.68;margin-top:2px}
.bnsc-search__itemIcon{
  width:36px;height:36px;border-radius:14px;
  background: rgba(0,0,0,.04);
  display:grid;place-items:center;
  flex:0 0 36px;
}
.bnsc-search__itemIcon span{opacity:.8}

/* Contact button */
.bnsc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background: #111;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.bnsc-btn:hover{transform: translateY(-1px);box-shadow: 0 16px 34px rgba(0,0,0,.22)}
.bnsc-btn:active{transform: translateY(0)}

/* Modal */
.bnsc-modal__backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:18px;
}
@media (min-width: 700px){
  .bnsc-modal__backdrop{align-items:center}
}
.bnsc-modal{
  width:min(620px, 100%);
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  overflow:hidden;
}
.bnsc-modal__head{
  padding:16px 16px 12px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.bnsc-modal__title{font-size:18px;font-weight:900;letter-spacing:-0.02em}
.bnsc-modal__sub{font-size:13px;opacity:.70;margin-top:4px}
.bnsc-modal__close{
  margin-left:auto;
  width:40px;height:40px;
  border:none;
  border-radius:14px;
  background: rgba(0,0,0,.04);
  font-size:22px;
  cursor:pointer;
}
.bnsc-modal__body{padding:0 16px 16px}
.bnsc-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 560px){
  .bnsc-form{grid-template-columns:1fr}
}
.bnsc-form input, .bnsc-form textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:12px 12px;
  font-size:15px;
  outline:none;
  background:#fff;
}
.bnsc-form textarea{min-height:120px;grid-column:1/-1;resize:vertical}
.bnsc-form__actions{grid-column:1/-1;display:flex;gap:10px;align-items:center;margin-top:2px}
.bnsc-form__note{font-size:13px;opacity:.70}
.bnsc-form__submit{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background:#111;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.bnsc-toast{
  margin-top:10px;
  padding:10px 12px;
  border-radius:16px;
  background: rgba(0,0,0,.05);
  font-size:14px;
  display:none;
}
.bnsc-toast--ok{background: rgba(0,0,0,.06)}
.bnsc-toast--err{background: rgba(255,0,0,.08)}


/* ===== Search (bn_search) – premium ===== */
.bnsc-search{width:100%}
.bnsc-search__shell{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(0,0,0,.08);
  border-radius:22px;
  padding:18px 18px 14px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.bnsc-search__title{font-size:18px;font-weight:750;letter-spacing:-.01em}
.bnsc-search__subtitle{margin-top:4px;color:rgba(0,0,0,.55);font-size:13px}
.bnsc-search__field{
  margin-top:12px;
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
}
.bnsc-search__icon{
  width:22px;height:22px;display:inline-block;opacity:.7;
  background:radial-gradient(circle at 35% 35%, rgba(0,0,0,.25), rgba(0,0,0,.05));
  border-radius:999px;
  position:relative;
}
.bnsc-search__icon:after{
  content:'';
  position:absolute;inset:5px;
  border:2px solid rgba(255,255,255,.85);
  border-radius:999px;
}
.bnsc-search__input{
  width:100%;
  border:0;
  outline:none;
  font-size:16px;
  background:transparent;
}
.bnsc-search__clear{
  width:34px;height:34px;border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  cursor:pointer;
  position:relative;
}
.bnsc-search__clear:before{
  content:'×';
  font-size:20px;
  line-height:1;
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  opacity:.7;
}
.bnsc-search__panel{
  margin-top:10px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  overflow:hidden;
}
.bnsc-search__group{padding:10px 10px 6px}
.bnsc-search__groupLabel{
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:rgba(0,0,0,.45);
  padding:6px 8px;
}
.bnsc-search__groupItems{display:flex;flex-direction:column;gap:6px;padding:0 6px 10px}
.bnsc-search__item{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  text-decoration:none;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.06);
  background:rgba(0,0,0,.015);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.bnsc-search__item:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  background:#fff;
}
.bnsc-search__itemTitle{font-weight:750;letter-spacing:-.01em}
.bnsc-search__itemSub{font-size:12px;color:rgba(0,0,0,.55);margin-top:2px}
.bnsc-search__chev{opacity:.5;font-size:18px}
.bnsc-search__loading{
  display:flex;gap:6px;align-items:center;justify-content:center;
  padding:18px;
}
.bnsc-dot{
  width:8px;height:8px;border-radius:99px;background:rgba(0,0,0,.25);
  animation:bnsc-bounce 1s infinite ease-in-out;
}
.bnsc-dot:nth-child(2){animation-delay:.12s}
.bnsc-dot:nth-child(3){animation-delay:.24s}
@keyframes bnsc-bounce{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-6px);opacity:.85}}
.bnsc-search__empty{padding:16px 16px;color:rgba(0,0,0,.6)}

/* ===== Contact modal (bn_contact_me) – premium ===== */
.bnsc-modal-open{overflow:hidden}
.bnsc-modal__backdrop{
  position:fixed;inset:0;z-index:999999;
  background:rgba(0,0,0,.55);
  display:flex;align-items:flex-end;justify-content:center;
  padding:18px;
}
.bnsc-modal__backdrop--open{animation:bnsc-fadein .14s ease-out}
@keyframes bnsc-fadein{from{opacity:0}to{opacity:1}}
.bnsc-modal{
  width:min(720px, 100%);
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  overflow:hidden;
  position:relative;
}
@media (min-width: 780px){
  .bnsc-modal__backdrop{align-items:center}
}
.bnsc-modal__close{
  position:absolute;top:12px;right:12px;
  width:38px;height:38px;border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.bnsc-modal__head{padding:18px 18px 8px}
.bnsc-modal__title{font-size:18px;font-weight:800;letter-spacing:-.01em}
.bnsc-modal__sub{margin-top:4px;color:rgba(0,0,0,.55);font-size:13px}
.bnsc-form{padding:0 18px 18px}
.bnsc-form__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:12px;
}
@media (min-width: 780px){
  .bnsc-form__grid{grid-template-columns:1fr 1fr}
  .bnsc-field--full{grid-column:1 / -1}
}
.bnsc-field label{display:block;font-size:12px;font-weight:700;color:rgba(0,0,0,.55);margin:0 0 6px 2px}
.bnsc-field input,
.bnsc-field textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  padding:12px 12px;
  font-size:15px;
  outline:none;
  background:#fff;
}
.bnsc-field textarea{resize:vertical;min-height:120px}
.bnsc-field input:focus,
.bnsc-field textarea:focus{border-color:rgba(0,0,0,.25);box-shadow:0 0 0 4px rgba(0,0,0,.06)}
.bnsc-form__actions{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.bnsc-form__submit{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.12);
  background:linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.82));
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.bnsc-form__submit:disabled{opacity:.7;cursor:not-allowed}
.bnsc-form__note{font-size:12px;color:rgba(0,0,0,.55)}
.bnsc-spinner{
  width:16px;height:16px;border-radius:99px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:rgba(255,255,255,.95);
  display:none;
  animation:bnsc-spin .8s linear infinite;
}
.bnsc-spinner--on{display:inline-block}
@keyframes bnsc-spin{to{transform:rotate(360deg)}}
.bnsc-toast{
  margin-top:12px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(0,0,0,.03);
}
.bnsc-toast--ok{border-color:rgba(0,140,60,.25);background:rgba(0,140,60,.08)}
.bnsc-toast--err{border-color:rgba(190,0,0,.20);background:rgba(190,0,0,.06)}
.bnsc-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;opacity:0}
