/* Servis na Dim — service pages only. v0.1.11
   SAFE HOTFIX: does not re-parent or reposition the theme hero DOM. */

/* ===== Article + sticky order card ===== */
.snd-service-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(360px, .95fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.snd-service-article {
  min-width: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 18px;
  padding: 26px 28px 30px;
  box-shadow: 0 10px 30px rgba(8,35,49,.035);
  box-sizing: border-box;
  color: #0b2432;
}
.snd-service-article > :first-child { margin-top: 0 !important; }
.snd-service-article > :last-child { margin-bottom: 0 !important; }
.snd-service-article p,
.snd-service-article li { font-size: 16px; line-height: 1.52; }
.snd-service-article h2 {
  color: #082331;
  font-size: clamp(24px,1.8vw,31px);
  line-height: 1.15;
  margin-top: 28px;
  margin-bottom: 15px;
}
.snd-service-article h3 {
  color: #082331;
  font-size: clamp(19px,1.35vw,23px);
  line-height: 1.2;
  margin-top: 22px;
  margin-bottom: 10px;
}

.snd-service-sidebar { min-width: 0; width: 100%; align-self: stretch; }
.snd-order-card {
  position: sticky;
  top: var(--snd-sticky-top,24px);
  width: 100%;
  border: 1px solid #dfe4e8;
  border-radius: 18px;
  background: #fff;
  padding: 24px 24px 22px;
  box-shadow: 0 12px 34px rgba(8,35,49,.06);
  color: #082331;
  box-sizing: border-box;
}
.admin-bar .snd-order-card { top: calc(var(--snd-sticky-top,24px) + 32px); }
.snd-order-kicker {
  margin: 0 0 9px;
  color: #b2212d;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.snd-order-title {
  margin: 0 0 14px !important;
  color: #082331 !important;
  font-size: clamp(25px,2vw,31px) !important;
  line-height: 1.12 !important;
  font-weight: 750 !important;
}
.snd-order-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: #fde8e6;
  color: #b2212d;
  font-weight: 800;
  box-sizing: border-box;
}
.snd-order-price { margin: 0 0 14px; padding: 8px 15px; font-size: 19px; }
.snd-order-desc {
  margin: 0 0 17px !important;
  color: #66727a !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

.snd-phone-label {
  margin: 2px 0 8px;
  color: #082331;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.snd-phone-list {
  display: grid;
  gap: 8px;
}
.snd-phone-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 47px;
  padding: 10px 14px;
  border: 1px solid #dfe4e8;
  border-radius: 10px;
  background: #fff;
  color: #082331 !important;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  box-sizing: border-box;
}
.snd-phone-link.is-primary {
  min-height: 52px;
  border-color: #b2212d;
  background: #b2212d;
  color: #fff !important;
}
.snd-phone-link:hover,.snd-phone-link:focus {
  border-color: #b2212d;
}
.snd-phone-link.is-primary:hover,.snd-phone-link.is-primary:focus {
  color: #fff !important;
  filter: brightness(.94);
}
.snd-phone-icon {
  font-size: 17px;
  line-height: 1;
}

.snd-phone-dropdown {
  width:100%;
}
.snd-phone-primary-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 52px;
  gap:8px;
  align-items:stretch;
}
.snd-phone-primary-row .snd-phone-link.is-primary {
  min-width:0;
}
.snd-phone-toggle {
  display:grid;
  place-items:center;
  width:52px;
  min-width:52px;
  min-height:52px;
  padding:0;
  border:1px solid #b2212d;
  border-radius:10px;
  background:#fff;
  color:#b2212d;
  cursor:pointer;
  box-sizing:border-box;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.snd-phone-toggle:hover,.snd-phone-toggle:focus {
  background:#fde8e6;
  outline:none;
}
.snd-phone-chevron {
  display:block;
  font-size:25px;
  line-height:1;
  transform:translateY(-2px);
  transition:transform .18s ease;
}
.snd-phone-dropdown.is-open .snd-phone-chevron {
  transform:translateY(2px) rotate(180deg);
}
.snd-phone-secondary {
  display:grid;
  gap:8px;
  margin-top:8px;
}
.snd-phone-secondary[hidden] {
  display:none !important;
}
.snd-messenger-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}
.snd-messenger-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #dfe4e8;
  border-radius: 10px;
  color: #082331 !important;
  background:#fff;
  text-decoration:none !important;
  font-weight:700;
  box-sizing:border-box;
}
.snd-messenger-link:hover { border-color:#b2212d; }
.snd-order-divider { height:1px; margin:15px 0 14px; background:#e7eaed; }
.snd-order-benefits { list-style:none !important; padding:0 !important; margin:0 !important; }
.snd-order-benefits li {
  position:relative;
  margin:0 0 9px !important;
  padding-left:26px !important;
  color:#4c5961;
  font-size:14px;
  line-height:1.4;
}
.snd-order-benefits li:last-child { margin-bottom:0 !important; }
.snd-order-benefits li::before {
  content:'✓';
  position:absolute;
  left:0;
  top:-1px;
  width:19px;
  height:19px;
  border-radius:50%;
  background:#b2212d;
  color:#fff;
  font-size:12px;
  line-height:19px;
  text-align:center;
  font-weight:900;
}

/* ===== Hero additions ONLY; do not alter theme hero geometry ===== */
.snd-hero-benefits {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px 28px;
  margin:20px auto 0;
  padding:0 18px;
  max-width:760px;
  box-sizing:border-box;
}
.snd-hero-benefit {
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
  font-size:14px;
  line-height:1.25;
  font-weight:600;
}
.snd-hero-benefit-icon { width:30px; height:30px; display:grid; place-items:center; flex:0 0 30px; color:#fff; }
.snd-hero-benefit-icon svg { width:28px; height:28px; display:block; }

@media (max-width:1240px) {
  .snd-service-content-layout { grid-template-columns:minmax(0,2fr) minmax(330px,.9fr); gap:24px; }
  .snd-order-card { padding:22px; }
}

/* ===== Mobile/tablet: card immediately before article text ===== */
@media (max-width:980px) {
  body.single-services .snd-service-content-layout,
  .single-services .snd-service-content-layout,
  .snd-service-content-layout {
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:none !important;
    gap:18px !important;
    width:100% !important;
  }
  body.single-services .snd-service-sidebar,
  .single-services .snd-service-sidebar,
  .snd-service-sidebar {
    order:1 !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }
  body.single-services .snd-service-article,
  .single-services .snd-service-article,
  .snd-service-article {
    order:2 !important;
    width:100% !important;
    min-width:0 !important;
    padding:20px !important;
    border-radius:16px !important;
    box-sizing:border-box !important;
    overflow-wrap:anywhere;
  }
  body.single-services .snd-order-card,
  .single-services .snd-order-card,
  .snd-order-card,
  .admin-bar .snd-order-card {
    position:static !important;
    top:auto !important;
    width:100% !important;
    max-width:none !important;
    padding:22px !important;
    border-radius:16px !important;
    box-sizing:border-box !important;
  }
  .snd-hero-benefits { display:none !important; }
}

@media (max-width:560px) {
  body.single-services .snd-service-content-layout,.snd-service-content-layout { gap:14px !important; }
  body.single-services .snd-service-article,.snd-service-article { padding:17px 16px !important; border-radius:15px !important; }
  body.single-services .snd-service-article p,body.single-services .snd-service-article li { font-size:16px !important; line-height:1.5 !important; }
  body.single-services .snd-order-card,.snd-order-card { padding:20px 18px !important; border-radius:15px !important; }
  body.single-services .snd-order-title,.snd-order-title { font-size:25px !important; }
  .snd-order-desc { font-size:14px !important; }
  .snd-phone-link.is-primary { min-height:54px; font-size:16px; }
  .snd-messenger-grid { grid-template-columns:1fr 1fr; }
}

/* v0.1.11: price must never be shown in the hero banner. */
body.single-services .snd-hero-price{display:none!important;}
