/* Google reviews block */
.ns-google-reviews {
  display: grid;
  gap: 22px;
  margin-top: 8px;
}

.ns-google-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #e4e2dc;
  border-radius: 16px;
  background: #fff;
}

.ns-google-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ns-google-brand svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.ns-google-brand strong {
  display: block;
  color: #111712;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.ns-google-brand small {
  display: block;
  margin-top: 2px;
  color: #6d776f;
  font-size: 12px;
}

.ns-google-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ns-google-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.ns-google-actions .is-primary {
  background: #111712;
  color: #fff;
}

.ns-google-actions .is-ghost {
  border: 1px solid #d9ddd8;
  background: #fff;
  color: #111712;
}

.ns-google-map {
  position: relative;
  overflow: hidden;
  border: 1px solid #e4e2dc;
  border-radius: 18px;
  background: #f4f4ef;
  min-height: 280px;
}

.ns-google-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Slider */
.ns-google-slider {
  position: relative;
  display: grid;
  gap: 14px;
}

.ns-google-track-wrap {
  overflow: hidden;
  touch-action: pan-y;
  border-radius: 4px;
}

.ns-google-track {
  display: flex;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ns-google-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
  min-height: 210px;
  padding: 22px;
  border: 1px solid #e4e2dc;
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
}

.ns-google-card .ns-voice-stars {
  color: #fbbc04;
}

.ns-google-card > p {
  margin: 0;
  flex: 1;
  color: #2a312c;
  font-size: 14.5px;
  line-height: 1.55;
}

.ns-google-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ns-google-card footer b {
  display: block;
  color: #111712;
  font-size: 13px;
}

.ns-google-card footer small {
  display: block;
  color: #6d776f;
  font-size: 11px;
}

.ns-google-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 2px;
}

.ns-google-nav > button {
  display: inline-grid;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border: 1px solid #d9ddd8 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #111712 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-google-nav > button:hover:not(:disabled) {
  border-color: #111712 !important;
  background: #111712 !important;
  color: #fff !important;
}

.ns-google-nav > button:disabled {
  opacity: 0.3;
  cursor: default;
}

.ns-google-nav > button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ns-google-pager {
  min-width: 52px;
  text-align: center;
  color: #6d776f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  user-select: none;
}

.ns-google-pager b {
  color: #111712;
  font-weight: 700;
}

.ns-google-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 36px 24px;
  border: 1px dashed #d9ddd8;
  border-radius: 16px;
  background: #fafaf7;
  text-align: center;
}

.ns-google-empty code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eee;
  font-size: 12px;
}

.ns-google-empty-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ns-google-empty a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111712;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ns-google-empty a.is-ghost {
  background: #fff;
  border: 1px solid #d9ddd8;
  color: #111712;
}

@media (max-width: 900px) {
  .ns-google-map iframe {
    height: 260px;
  }

  .ns-google-track {
    gap: 12px;
  }

  .ns-google-card {
    flex: 0 0 100%;
    min-height: 190px;
    padding: 20px;
  }

  .ns-google-nav > button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
}
